LOL SEE WHAT I DID THERE ^^^^^^^^^
Anyways, I'm having a problem. My function isn't functioning properly.. LOL^^
Basically, the purpose was to teleport a player, lock their torso, and force FPS view when the player clicks the gui button.
function Click() script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(-0,0,0) game.Players.PlayerAdded:connect(function(plr) repeat wait() until plr.Character plr.Character.Torso.Anchored=true end) end wait() script.Parent.Parent.CameraMode="LockFirstPerson" game.StarterGui.FNMain.Frame.Visible = false script.Parent.MouseButton1Down:connect(Click)