Hello there!
I've been struggling to make a 24 hour cooldown on a Skript that gives you a crate key daily, everything I saw online didn't work in my Skript (Probably because I don't know what I'md doing.) Could someone help out?
Here is a Pastebin link https://pastebin.com/tb7H0Qz6 (I don't know if this is how to do it so I will also add the skript itself underneath here.)
command /daily:
trigger:
if player does not have permission "daily.wood":
send "&cYou Do Not Have Any Rank, Use /Coinshop To Get One"
stop
else:
player has permission "daily.wood"
execute console command "give %player% oak_log 1"
player has permission "daily.Stone"
execute console command "give %player% stone 1"
player has permission "daily.Copper"
execute console command "give %player% copper_block 1"
player has permission "daily.Amethyst"
execute console command "give %player% amethyst_block 1"
player has permission "daily.Obsidian"
execute console command "give %player% obsidian 1"
I've been struggling to make a 24 hour cooldown on a Skript that gives you a crate key daily, everything I saw online didn't work in my Skript (Probably because I don't know what I'md doing.) Could someone help out?
Here is a Pastebin link https://pastebin.com/tb7H0Qz6 (I don't know if this is how to do it so I will also add the skript itself underneath here.)
command /daily:
trigger:
if player does not have permission "daily.wood":
send "&cYou Do Not Have Any Rank, Use /Coinshop To Get One"
stop
else:
player has permission "daily.wood"
execute console command "give %player% oak_log 1"
player has permission "daily.Stone"
execute console command "give %player% stone 1"
player has permission "daily.Copper"
execute console command "give %player% copper_block 1"
player has permission "daily.Amethyst"
execute console command "give %player% amethyst_block 1"
player has permission "daily.Obsidian"
execute console command "give %player% obsidian 1"