Cannot understand "on respawn" when its not the first condition listed?

  • 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 community!

    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!

GrenFlem

Member
Feb 24, 2025
19
1
3
Code:
on join:
    if player is "PLAYERNAME":
        while player is online:
            on respawn:
                if player is "PLAYERNAME":
                    wait 3 ticks
                    execute console command "/attribute PLAYERNAME minecraft:fall_damage_multiplier base set 9"

Im trying to set a player's attributes on respawn, but im trying to make it NOT check every player while the targeted player isn't online.

i feel like there should be a better way to loop a single player while they are online after they join.