Jump to content

help with skript plugin/addon


Downed
 Share

Recommended Posts

I want to make a checkzombies command to check if there is the correct amount of zombies in an area around the {zombiespawn} and then if there isnt making it the correct amount of zombies.

(Im to this)This is the entire script:

 

on death of zombie:
    wait 5 second
    set {_x} to random number between -4 and 4
    set {_y} to 9
    set {_z} to random number between -4 and 4
    set {_loc} to the location at {_x}, {_y}, {_z}
    spawn zombie at {_loc}
    
command /checkzombies:
    cooldown: 5 minutes
    cooldown bypass: op
    cooldown message: You have to wait %remaining time% before using this command again
    trigger:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share



×
×
  • Create New...