Jump to content
  • 0

Fortune Skript


Stuff455

Question

There is this script file I downloaded it is good except, I want it to give the item not drop the item

The script is:

on mine:
    if player's gamemode is survival:
        cancel the drops
        set {_f} to level of fortune of player's tool
        set {_l} to {_f} + 1
        set {_drops} to random integer between 1 and {_l}
        loop {_drops} times:
            drop drops of event-block using player's tool

Edited by Stuff455
t5r
  • Like 1
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
on mine:
    if player's gamemode is survival:
        cancel the drops
        set {_f} to level of fortune of player's tool
        set {_l} to {_f} + 1
        set {_drops} to random integer between 1 and {_l}
        give {_drops} of event-block to player

This should go in #skript, but here, using the give syntax. I recommend looking at skripthub.net next time and reading documentation.

Edited by rosabel

rose city STICKER

RosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaR

i code, animate, develop, UI design, learn, and adapt, as well as make servers, of course

💐Joined Minehut sometime in 2014
💐VIP sometime in 2018
💐Legend in January 2021
💐Helper on 4/11/2021
💐♥ (Retired) on 5/17/2021
💐 Moderator on 8/18/2023

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...