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.