So I am working on a teleport script and this is the best I can come up with
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:wait()
function onTouched(hit)
character.Head.Position = Vector3.new(80,2533.999,204.5)
game.Players.LocalPlayer.Character["Left Arm"].Position = Vector3.new(-78.5,2532.499,204.5)
game.Players.LocalPlayer.Character["Left Leg"].Position = Vector3.new(-79.5,2530.499,204.6)
game.Players.LocalPlayer.Character["Right Arm"].Position = Vector3.new(-81,2532.499,204.5)
game.Players.LocalPlayer.Character["Right Leg"].Position = Vector3.new(-80.5,2530.499,204.5)
game.Players.LocalPlayer.Character["Torso"].Position = Vector3.new(-80,2532.499,204.5)
end
connection = script.Parent.Touched:connect(onTouched)
But sadly all it does is freeze my player -.- Somebody help :(
