Hello! I'm making a Minecraft server, and I'm fairly new at scripting, and I'm trying to get some help, the script i made for now that doesnt work is
command /ulahla:
trigger:
if player's money is more than or equal to 20000:
subtract 20000 from player's money
execute console command "manuaddp %player% warp havenwarp"
else:
send "&cYou can't afford this!!"
wait 3 ticks
open chest with 3 rows named "&8&l| &6&lSecret&e&lPrison &8&l| " to player
format slot 13 of player with book named "&8(&cAdgang til haven&8)" with lore "&cPress here to buy access to haven " to close then run [execute console command "eco take %player% 20000" ]
All help is very much apriciated!
command /ulahla:
trigger:
if player's money is more than or equal to 20000:
subtract 20000 from player's money
execute console command "manuaddp %player% warp havenwarp"
else:
send "&cYou can't afford this!!"
wait 3 ticks
open chest with 3 rows named "&8&l| &6&lSecret&e&lPrison &8&l| " to player
format slot 13 of player with book named "&8(&cAdgang til haven&8)" with lore "&cPress here to buy access to haven " to close then run [execute console command "eco take %player% 20000" ]
All help is very much apriciated!