SuccoDiFrutta Posted October 13, 2022 Share Posted October 13, 2022 Basically when a player kill the same player 5 times he cannot kill him again for 5 minutes Link to comment Share on other sites More sharing options...
rosabel Posted November 8, 2022 Share Posted November 8, 2022 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. RosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRi code, animate, develop, UI design, learn, and adapt, as well as make servers, of courseJoined Minehut sometime in 2014VIP sometime in 2018Legend in January 2021Helper on 4/11/2021♥ (Retired) on 5/17/2021 Moderator on 8/18/2023 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now