function clikk()
game.Player.LocalPlayer.Character.Torso.CFrame = CFrame.new(1, 10, 10)
end
script.Parent.ClickDetector.MouseClick:connect(clikk)
It won't teleport the player who clicked the part or brick. I only WANT to teleport the player who clicked it, NOT all the players in the server

6 comments
Why not
hit.Characterinstead to replace line 2?either way works i guess. i just like to do it this way
Thanks! You really helped, i have learned more things.
But i have another problem, what if the brick is constantly moving? It wont teleport me to the part.
what do you mean by constantly moving?
nevermind.