Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Help Teleporting Players?

How would I teleport a player without killing them? The below script is a non working example :P

local player = script.Parent.Parent.Parent.Parent

button.MouseButton1Down:connect(function()
player.character.Torso.Position = game.Workspace.Block.Position
end

1 answer

button = script.Parent
local player = script.Parent.Parent.Parent.Parent
button.MouseButton1Down:connect(function()
player.Character.Torso.CFrame = CFrame.new(game.Workspace.Block.Position)
end)

Change Position to CFrame and set the new CFrame using CFrame.new() and put inside the part you want the player to teleport to

This discussion is preserved as it was. New answers, comments, and votes are closed.