How can i teleport a specific player after an event?

How can i teleport a specific player after an event, for example, after a clickdetector is clicked or a part is touched?

1 Like

By using WhoeverTheCharacterIs.HumanoidRootPart.CFrame = WhereEverYouWantToGo.CFrame or WhoeverTheCharacterIs.HumanoidRootPart.CFrame = Vector3.new(PosX, PosY, PosZ)

1 Like

Use CFrame, you can get the player who sent the remote event, then do Player.Character.HumanoidRootPart.CFrame = ThePartYouWant.CFrame

1 Like

if you do FireServer(player) then OnServerEvent:Connect(function(player)
end)