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

Click detector not leting me tp?

So I'm made a part with a click detector in it and it should tp you to a room, in the click detector I put this local script in it:

script.Parent.MouseClick:Connect(function()
	game.Players.LocalPlayer.Character.HumanoidRootPart.Cframe = CFrame.new(5483.5, 73.33, -17121.66)
end)

its not working did I do something wrong?

1 answer

✓ Accepted answer

Use a normal Script and not a LocalScript. LocalScripts won’t fire in the Workspace.

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