Universal Script 📌
435 Views
536 Executions

ai made this click to teleport script if not just say

Universal Script 📌
7 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

click to teleport

View Raw
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)



Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!