Rato hub
Key RequiredUniversal

Rato hub

Universal ScriptCleituCleitu 566 views 1.7K executesUpdated Nov 26, 2025
Unrated
00
Lua Script•42 lines (1262 chars)
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local savedPosition = nil

-- Criar ScreenGui
local gui = Instance.new("ScreenGui")
gui.Name = "TPGui"
gui.Parent = player:WaitForChild("PlayerGui")

-- Botão salvar posição
local saveBtn = Instance.new("TextButton")
saveBtn.Size = UDim2.new(0, 150, 0, 40)
saveBtn.Position = UDim2.new(0, 20, 0, 20)
saveBtn.Text = "Salvar Posição"
saveBtn.Parent = gui

-- Botão teleportar
local tpBtn = Instance.new("TextButton")
tpBtn.Size = UDim2.new(0, 150, 0, 40)
tpBtn.Position = UDim2.new(0, 20, 0, 70)
tpBtn.Text = "Teleportar"
tpBtn.Parent = gui

-- Salva posição do jogador
saveBtn.MouseButton1Click:Connect(function()
    local char = player.Character or player.CharacterAdded:Wait()
    local root = char:WaitForChild("HumanoidRootPart")
    savedPosition = root.Position
    print("Posição salva:", savedPosition)
end)

-- Teleporta o jogador
tpBtn.MouseButton1Click:Connect(function()
    if savedPosition then
        local char = player.Character or player.CharacterAdded:Wait()
        local root = char:WaitForChild("HumanoidRootPart")
        root.CFrame = CFrame.new(savedPosition)
        print("Teleporte realizado!")
    else
        warn("Nenhuma posição salva!")
    end
end)

Features & Information

Esse script e um script de teleporte, com um botão de salvar teleporte e teleportar

Community Comments (1)

SalamAlaiy*SalamAlaiy*Nov 26, 2025

all chatgpt wtf lol

More Scripts for Universal Scripts