Crates plus problem Skript to

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Sejnado

Member
Sep 11, 2022
2
0
1
20
Hey so Im using this thing called Cratesplus so i recently got a Skript for /daily to get a daily key from it but I cant use it on Cratesplus this is the Skript im using.
  1. options:
  2. prefix: &6&lLight&3&lMines &7»
  3. cooldown: 24 hours
  4. command daily:
  5. trigger:
  6. set {_waited} to difference between {dailyReward::%uuid of player%} and now
  7. if {_waited} is less than {@cooldown}:
  8. send "{@prefix} You must wait %difference between {@cooldown} and {_waited}% before claiming your daily reward again"
  9. else:
  10. set {dailyReward::%uuid of player%} to now
  11. give player 1 tripwire hook named "&3&lRare&f&l Crate Key" with lore "&7Click on the crate to receive", "&7a random item from the crate."
  12. send "{@prefix} Here is your daily reward."
 
Status
Not open for further replies.