The value doesn't clear?

I’m trying to make a 1v1 sword fighting system where there are 2 variables, one for each player. There is a function that detects whether a player dies and clears the value which means the p1spot is empty. But if you were to be player 1 the first round things would work fine but if you are player 2 the second round, the function still thinks you are player 1 for some reason even though in a different function i cleared it. sorry if the way i explained it is confusing.

thanks!

Are you able to show the code?

oh I figured a out workaround! I should’ve took down the post when I did :sweat_smile:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.