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

How Can I Make Player Teleport? [SLOVED]

Hello!

How can I make player teleport to my torso when I type teleport/NAME And using :Moveto(). Try to make it on tool and local script.

1 answer

Lol whole script:

script.Parent.Parent.Equipped:connect(function(mouse)
	mouse.Button1Down:connect(function()
		if mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
			mouse.Target.Parent:MoveTo(script.Parent.Position)
		end
	end)
end)

I just placed placed part in tool then added local script in that part.

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