variable switches every frame with multiplayer.

fixed it. for whatever reason I had multiple instances of my players code running. the remote procedure calls were setting one of the instances variables but not the other, so when I added code to replicate the variable between both instances it fixed the problem.