When I run when I first join the game my swimming would work until I respawned. I printed the Y Position of the root’s position for when I respawn and after I die the Position will always print the same number that it was before I died.
Position doesn’t work for character. Do CFrame.Position
instead.
I’m talking about the Root’s Position which it does work for… We’re talking about a LocalScript inside of StarterPack, with basic variables everyone uses. It works up until I die, then it just stops working because apparently the position is the same.
This isn’t the only problem too, this also happens whenever I try to animate. When I die the humanoid updates, I expect the starterpack to clone another script into the player’s backpack but instead for some reason it doesn’t do that. It instead continues with the script it first cloned and doesn’t do what it’s supposed to.
maybe try using the script inside startercharacter instead of starterpack for this?
I’ll give that a try, hopefully it works.