im making a piggy based game but i dont know how to teleport a player
Workspace.Player.Xposition = Workspace.Gamespawn.Xposition Workspace.Player.Yposition = Workspace.Gamespawn.Xposition
please make it simple as i am fairly new to coding and this is my first game