Hello Everyone,
I’m having some issues with a plug-in I want to make so basically what I’m trying to do is when I run command /jump it gives all players jump boost 1, waits 1 min then clears the effect, gives jump 2, and then sends a message letting us know that jump boost has increased. I want this to loop all the way to jump boost 96 because above that it bugs out. Right now I can do this but I don’t really know how to use a while loop so if someone could help me that would be great! Also I want you to keep the potion effect even after you die.
Code Version: Skript 2.5.1
Full Code:
Command /jump:
Trigger:
Apply jump boost 1 for 999 days to all players
Wait 1 minute
Remove jump boost from all players
Apply jump boost 2 for 999 days to all players
Send “&3Jump Has Increased!” To all players
I’m having some issues with a plug-in I want to make so basically what I’m trying to do is when I run command /jump it gives all players jump boost 1, waits 1 min then clears the effect, gives jump 2, and then sends a message letting us know that jump boost has increased. I want this to loop all the way to jump boost 96 because above that it bugs out. Right now I can do this but I don’t really know how to use a while loop so if someone could help me that would be great! Also I want you to keep the potion effect even after you die.
Code Version: Skript 2.5.1
Full Code:
Command /jump:
Trigger:
Apply jump boost 1 for 999 days to all players
Wait 1 minute
Remove jump boost from all players
Apply jump boost 2 for 999 days to all players
Send “&3Jump Has Increased!” To all players
Last edited: