#Effect on Boots

1 messages · Page 1 of 1 (latest)

crisp turret
#

So how would i for example make leather boots named "Astral" give a player when wearing it Jump Boost 2 and Speed 2

idle yew
#

really simple

#

go to skript docs

#

go to either conditions I think idk I forgot then find on wearing or Som then put if player is wearing leather boots named "astral"
Apply speed 2 for 1 second to player

crisp turret
idle yew
#

that's ehat that is

#

it keeps looping it

crisp turret
#

Ohh right

lean birch
#

I dont think it would be very optimized, But loop the player
And then check if hes wearing the boots
player is wearing leather boots named "Astral":

#

apply speed 2 to the player

#

apply jump boost 2 to the player

crisp turret
lean birch
crisp turret
#

Idk, I just don’t want it to lag the serve r

#

and let’s say a player had speed 2 already then he takes the boots on and off does he lose the original speed 2?

lean birch
#

Do you want him to lose the effects?

crisp turret
#

No not the original speed, because I have a custom enchants that gives the player speed 2, and I don’t want it to remove that speed 2 when I take the boots ogf

lean birch
#

Ah im not sure if i know how

crisp turret
#

I think it’s good if it just applies speed for 1 second when wearing it

lean birch
#

Yeah, I just did

#
    loop all players:
        if loop-player is wearing leather boots named "Astral":
            apply speed 2 to loop-player for 1 second
            apply jump boost 2 to loop-player for 1 second```
crisp turret
lean birch
#

If there are many players so yeah, It will

#

"I dont think it would be very optimized"

crisp turret
#

Hmm, there must be a better way

lean birch
crisp turret