Drop items

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

HackerOTVW

Active Member
Sep 10, 2017
91
2
8
My code:
code_language.skript:
on break white glass block:
    player's gamemode is survival:
        set {glassblock} to event-block
        drop 1 %{glassblock}%

There is something wrong there that I don't know. Im noob :emoji_stuck_out_tongue:
Help me pls : )
 
One thing, is it really necessary to set the event-block as a variable? You can just drop it by using event-block rather than using variable.
Thanks, i also want to make when breaking any glass block with color it will drop that glass, im so lazy to have to copy the code, can you help me?
When you broadcast the event-block, it should say the specific type of block. Even when you drop the event-block, it will drop the specific type.
 
I think it would be like this
code_language.skript:
on break any glass block:
    player's gamemode is survival:
        drop 1 of event-block

Is that right?
 
Status
Not open for further replies.