im making a game where theres rising lava and i try to have it so that the lava resets whenever a player dies. i successfully did that, but just for a split second and then it teleports back to the spot it was before i died. why does this happen and is there a way to fix it?
the script i used to do this is a local script and is in StarterPLayer and then StarterCharacterScripts. this is the code:
game.Workspace.Lava.Position = Vector3.new(10.72,0.5,-50.93)