Increase Jump Boost Every Minute

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

Rebel100

Member
Sep 17, 2020
12
0
1
24
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
 
Last edited:
on load:
set {number} to 1

every 1 minute:
add 1 to {number}
loop all entities:
if loop-entity is player:
if {uwu_%loop-entity%} is 1:
apply jump boost {number}
 
Status
Not open for further replies.