after the teleportation is done and the script is finished and player can now move again, whenever i move it moves either in the opposite direction or sideways. What may be the issue?
I wouldn’t recommend using a local script to change the player’s position unless you want it to be on the client side. I’m unsure why changing the Cframe wouldn’t work though.
i fixed it. Turns out that the problem was another script that intefered with the camera at the same time as the current script so all i had to do was stop the camera script after everything was finished