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:
1 | script.Parent.MouseClick:Connect( function () |
2 | game.Players.LocalPlayer.Character.HumanoidRootPart.Cframe = CFrame.new( 5483.5 , 73.33 , - 17121.66 ) |
3 | end ) |
its not working did I do something wrong?
Use a normal Script and not a LocalScript. LocalScripts won’t fire in the Workspace.