Help needed to add some stuff to a /keyall command

  • 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.

3dpixelartman

Member
Jun 23, 2021
23
0
1
24
Hi! My friend gave me a /keyall skript but it was missing some stuff like a cooldown, permission and a brodcast. Can anyone help add them to this code?

command /coalkeyall:
trigger:
make player execute command "crates give all coal 1"

btw can you make the permission keyall.coal and a 23 hour cooldown please? Im new to coding skript so thanks for the help!
 
Code:
command /coalkeyall:
  cooldown: 5 minate
  cooldown message: &cYou have to wait 5 minute before using that again!
  cooldown bypass: keyall.coal
  permission: keyall.coal
  permission message: &cYou don't have permission to use that
  trigger:
    execute console command "/crates give all coal 1"
    broadcast "&bEveryone has been given a coal key by &6%player%"
 
Last edited:
Code:
command /coalkeyall:
  cooldown: 5 minate
  cooldown message: &cYou have to wait 5 minute before using that again!
  cooldown bypass: keyall.coal
  permission: keyall.coal
  permission message: &cYou don't have permission to use that
  trigger:
    execute console command "/crates give all coal 1"
    broadcast "&bEveryone has been given a coal key by &6%player%"
thanks!
 
Status
Not open for further replies.