on death of a player:
set {_playerEffects::*} to all potion effects of the victim
remove all potion effects from the victim
wait 1 tick
add all {_playerEffects::*} to the victim
on respawn of a player:
if {_playerEffects::*} is set:
add all {_playerEffects::*} to the player
Why this is not working i am in 1.17 with Skript 2.7.1 with SkBee 1.15.3
set {_playerEffects::*} to all potion effects of the victim
remove all potion effects from the victim
wait 1 tick
add all {_playerEffects::*} to the victim
on respawn of a player:
if {_playerEffects::*} is set:
add all {_playerEffects::*} to the player
Why this is not working i am in 1.17 with Skript 2.7.1 with SkBee 1.15.3