Jump to content

I need help with skript


SuccoDiFrutta

Recommended Posts

  • 4 weeks later...

Create a variable named counter, unique to a player's uuid. For convenience, I highly suggest using a RAM variable for these things. If you don't know what a RAM variable is, check this out: https://forums.skunity.com/threads/skript-variables-ram.5865/

With that out of the way, increase the counter by 1 each time they kill a player. Once it has reached 5, set the player to a variable named 'Cooldown' set 'Cooldown' to 'now'. When the player kills, check for if the difference between your 'Cooldown' variable and now is more than 5 minutes. If it is, reset the 'Counter' variable. If it's not, cancel event.

And... there you go! With enough effort, you can bring this to life.

rose city STICKER

RosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaR

i code, animate, develop, UI design, learn, and adapt, as well as make servers, of course

💐Joined Minehut sometime in 2014
💐VIP sometime in 2018
💐Legend in January 2021
💐Helper on 4/11/2021
💐♥ (Retired) on 5/17/2021
💐 Moderator on 8/18/2023

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
×
×
  • Create New...