options:
Cooldown: 24
Reward: console command "give " and " give %{_p}% Sunflower 64"
UseGUI: true
NotifyOnJoin: true
# MESSAGES
Claimed: "&6&l[!] &8You have succesfully claimed your daily reward."
OnCooldown: "&c&l[!] &cYou must wait to use this command again..."
RewardResetAdmin: "&6&l[!] &8You have reset %arg-1% cooldown."
RewadResetPlayer: "&6&l[!] &8Your Daily reward cooldown has been reset."
OnJoinAvailable: "&6&l[!] &8Hey, &6%player%&8 your daily rewards are ready to claim. &7(/rewards)"
# GUI
GUIName: "&6Daily Rewards"
GUIRows: 5
GUISlots: 45
# FILLMODE
FillMode: true
FillModeItem: BLACK STAINED GLASS PANE
FillModeItemName: "&8" ```
#why isnt my skript working?
1 messages · Page 1 of 1 (latest)
loop {@GUISlots} times:
make gui slot -1 + loop-value with {@FillModeItem} named {@FillModeItemName}
if {_waited} is less than {@Cooldown} hours:
make gui slot {@OnCoolDownItemSlot} with {@OnCooldownItem} named {@OnCooldownItemName} with lore {@OnCoolDownItemLore}:
close {_p}'s inventory
send {@OnCooldown} to {_p}
else:
make gui slot {@ReadyToClaimItemSlot} with {@ReadyToClaimItem} named {@ReadyToClaimItemName} with lore {@ReadyToClaimItemLore}:
close {_p}'s inventory
set {daily.reward.%{_p}%.lastused} to now
send {@Claimed} to {_p}
{@Reward}
open the created gui to {_p}
else:
if {_waited} is less than {@Cooldown} hours: ```
any1 know hwy this isnt working?
ill show u what it says in mc
send /sk info screenshot
