I tried:
game.Workspace.Player.Torso.Position = Vector3.new(-165.91, 1331.55, 302.289)
but it doesn't teleport the player there.
Second Question,
I have a Gui that gives the player the ability to choose their team (This would compare with my first question) that he/she choose. So say the player choose Team Red from a Gui, and it would teleport the player to the Red Team Spawn Location so I did this for something:
if game.StarterGui.GunPicker.NameOfGuns.For_PrimaryFrame.Gun_Name_Of_Pick.Text == '---' then
DeployButton.Visible = false
end
Don't worry about the stuff inside the if then statement.
So in the Outlook it said that NameOfGuns is not a valid member of ScreenGui One, the name of the Gui in it (NameOfGuns Parent) is not ScreenGui
So if anyone can help me with this problem I would be happy, thanks!

5 comments
You can also use the :MoveTo() function on the Character
If you teleport it right next to a block using MoveTo, it could be teleported all the way on top.
Ok let me test it so i can accept the answer. But thank you!
@RubenKan It didnt seem to work...And it didnt seem to work with if then statements...
Oh i got it! thank you!