LUA Klik Detektor TP

script.Parent.ClickDetector.MouseClick:Connect(function(player)
    local char = player.Character -- get character from player
    char.HumanoidRootPart.CFrame = CFrame.new(x,y,z) -- enter your own coordinates

end)