Frydex Posted July 8, 2022 Share Posted July 8, 2022 on right-click: if location of event-block is location at -127.5, 118.5, -46.5 of the world "test": if {doorcooldown} = true: stop else: set {doorcooldown} to true loop all blocks in radius 10 around event-block: if loop-block is red stained glass pane: set loop-block to {_door} set {_door} to air wait 5 seconds set {_door} to red stained glass pane set {doorcooldown} to false The cooldown works fine but when I click the block it deletes the block then doesn't put it back after five seconds. Since the cooldown works it's not the timer bugging out. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now