set block dosent work

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

Stefqnutz

Active Member
Sep 23, 2019
67
1
8
so basically this is my script:
command beginevent:
permission: admin.commands.beginevent
trigger:
broadcast "&c&lAN EVENT IS ABOUT TO HAPPEN AT THE HUB! DO /HUB TO GET TO THE EVENT!"
wait 4.5 tick
set block at location {134, 187, 19} to glass


and so everything works except that the line set block at location {134, 187, 19} to glass dosent do anything
any help? thanks
 
Use the code format when sending code. If you don't do that, most people won't bother helping you.

here's what you need (i think), I made sure there was no errors, but I havent actually tested it out
Code:
command /beginevent:
    permission: admin.commands.beginevent
    trigger:
        broadcast "&c&lAN EVENT IS ABOUT TO HAPPEN AT THE HUB! DO /HUB TO GET TO THE EVENT!"
        wait 4.5 tick
        set {_location} to location(134, 187, 19, world "myworld")
        set block at {_location} to grass
[doublepost=1588883737,1588882739][/doublepost]now when I think, you can maybe inprove it by simple doing
Code:
command /hejsa:
    permission: admin.commands.beginevent
    trigger:
        broadcast "&c&lAN EVENT IS ABOUT TO HAPPEN AT THE HUB! DO /HUB TO GET TO THE EVENT!"
        set block at location(134, 187, 19) to grass

how stupid of me xD
 
Status
Not open for further replies.