Solved Is this a bug?

  • 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!

coolblue

Supporter
Jul 25, 2023
23
0
1
So I have this code, and it broadcasts but doesnt set the block, but when I run the command it does set the block/
Code:
on break:
    if event-block is block at location({skyblockid::%player's uuid%}, 63, 0, world "skyblock"):
        {phase::%player's uuid%} is 1:
            set {_integer} to random integer from 1 to 10
            {_integer} is 1:
                broadcast "e"
                set block at location({skyblockid::%player's uuid%}, 63, 0, world "skyblock") to grass block
command /command:
    trigger:
        set block at location({skyblockid::%player's uuid%}, 63, 0, world "skyblock") to grass block