Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

hello what is a good Butten teleport ?

Asked by 4 years ago

local debounce = true local player = script.Parent.Parent.Parent.Parent local target = game.Workspace:WaitForChild("-25, 4.182, -57")

script.Parent.MouseButton1Click:connect(function() if debounce == true then debounce = false player.Character.HumaniodRootPart.CFrame = target.CFrame * CFrame.new(0,3,0) -- Want Cooldown? for i = 5,1,-1 do wait(1) script.Parent.Text = i end wait(1) script.Parent.Text = "-25, 4.182, -57" debounce = true end end)

i have tried doing it but it just does not work there are my cords but i do not know how to make a better teleportayion

Answer this question