Hey everyone!
I am bussy with a script that give people things from opening crates.
I want that if someone won the /launch permission command, he can't get it anymore.
Can you guy's help me with this?
Thanks!
I am bussy with a script that give people things from opening crates.
I want that if someone won the /launch permission command, he can't get it anymore.
Can you guy's help me with this?
Thanks!
Code:
command /trollcrategui:
trigger:
set {_waited} to difference between {trollcrate.%player%.lastused} and now
if {_waited} is less than 5 hours:
message "&cJe moet %difference between 5 hours and {_waited}% wachten voor je dit weer kan proberen!"
stop
chance of 10%:
send "&cJe hebt gewonnen"
wait 5 ticks
make server execute command "/launcher permission command"
send "&cJe kan nu het command: /launcher gebruiken"
else:
send "&cJe hebt niks gewonnen"
set {trollcrate.%player%.lastused} to now
Last edited: