function oc() game.Players.LocalPlayer.Character.CFrame = CFrame.new(-4.2, 36.1, 10.4) game.Players.LocalPlayer.Character.Position = Vector3.new(-4.2, 36.1, 10.4) end script.Parent.ClickDetector.MouseClick:connect(oc)
This is supposed to teleport the player when the click on a block, but it does nothing. Some help? And by the way, yes, it's in a localscript.