Run it
Copy the script and paste it into your executor.
local clickDetector = script.Parent
local destination = game.Workspace:WaitForChild("TeleportDestination") -- Name of your target part
clickDetector.MouseClick:Connect(function(player)
local character = player.Character
if character and character:FindFirstChild("HumanoidRootPart") then
-- Move the player to the destination's position
character.HumanoidRootPart.CFrame = destination.CFrame + Vector3.new(0, 3, 0)
end
end)
click to teleport

Universal