
1.6k Views
1.7k Executions
Teleport gui
Universal Script 📌
Gojo00003110K executions
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Tp gui u set where u eant to go when u click tp u go where u seted simple
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local hrp = char:WaitForChild("HumanoidRootPart")
local frame = script.Parent
frame.Active = true
frame.Draggable = true
local setBtn = frame:WaitForChild("Set")
local tpBtn = frame:WaitForChild("TP")
local savedCFrame = nil
-- Set butonu
setBtn.MouseButton1Click:Connect(function()
savedCFrame = hrp.CFrame
setBtn.Text = "Set ✔"
task.wait(1)
setBtn.Text = "Set"
end)
tpBtn.MouseButton1Click:Connect(function()
if savedCFrame then
hrp.CFrame = savedCFrame
end
end)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







