0% found this document useful (0 votes)
282 views4 pages

Roblox Teleport Script GUI

Uploaded by

ekisd3v
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
282 views4 pages

Roblox Teleport Script GUI

Uploaded by

ekisd3v
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

-- StealthTPGui | Cleaned-Up Roblox Teleport Script

-- Reconstructed from obfuscated MoonSec V3 bytecode


-- Deobfuscated By Render.

-- Services
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")

-- Local player
local LocalPlayer = [Link]

-- Create ScreenGui
local StealthTPGui = [Link]("ScreenGui")
[Link] = "StealthTPGui"
[Link] = false
[Link] = LocalPlayer:WaitForChild("PlayerGui")

-- Create main frame


local Frame = [Link]("Frame")
[Link] = [Link](0, 230, 0, 300)
[Link] = [Link](0, 220, 0, 0)
Frame.BackgroundColor3 = [Link](40, 40, 40)
Frame.BorderColor3 = [Link](0, 0, 255)
[Link] = 3
[Link] = true
[Link] = true
[Link] = StealthTPGui

-- Add UICorner to frame


local FrameCorner = [Link]("UICorner")
[Link] = [Link](0, 6)
[Link] = Frame

-- Create "Use Current Pos" button


local UsePosButton = [Link]("TextButton")
[Link] = [Link](0, 100, 0, 30)
[Link] = [Link](0, 80, 0, 30)
UsePosButton.BackgroundColor3 = [Link](40, 40, 40)
UsePosButton.TextColor3 = [Link](255, 255, 255)
[Link] = "Use Current Pos"
[Link] = [Link]
[Link] = true
[Link] = Frame

-- Add UICorner to UsePosButton


local UsePosCorner = [Link]("UICorner")
[Link] = [Link](0, 6)
[Link] = UsePosButton

-- Create "Teleport" button


local TeleportButton = [Link]("TextButton")
[Link] = [Link](0, 100, 0, 30)
[Link] = [Link](0, 80, 0, 100)
TeleportButton.BackgroundColor3 = [Link](0, 150, 255)
TeleportButton.TextColor3 = [Link](255, 255, 255)
[Link] = "Teleport"
[Link] = [Link]
[Link] = true
[Link] = Frame

-- Add UICorner to TeleportButton


local TeleportCorner = [Link]("UICorner")
[Link] = [Link](0, 6)
[Link] = TeleportButton

-- Create coordinate input TextBox


local CoordInput = [Link]("TextBox")
[Link] = [Link](0, 100, 0, 30)
[Link] = [Link](0, 80, 0, 70)
CoordInput.BackgroundColor3 = [Link](1, 1, 1)
CoordInput.TextColor3 = [Link](255, 255, 255)
[Link] = ""
[Link] = ""
[Link] = false
[Link] = [Link]
[Link] = true
[Link] = Frame

-- Add UICorner to CoordInput


local CoordInputCorner = [Link]("UICorner")
[Link] = [Link](0, 6)
[Link] = CoordInput

-- Create status label


local StatusLabel = [Link]("TextLabel")
[Link] = [Link](0.5, -150, 0, 100)
[Link] = [Link](0, 80, 0, 130)
[Link] = 1
[Link] = 1
StatusLabel.TextColor3 = [Link](255, 255, 255)
[Link] = ""
[Link] = [Link]
[Link] = true
[Link] = Frame

-- Function to display status message with tween animation


local function ShowStatus(message, color)
[Link] = message
StatusLabel.TextColor3 = color
[Link] = 0

local tweenInfo = [Link](0.3)


local tween = TweenService:Create(StatusLabel, tweenInfo, {TextTransparency =
0})
tween:Play()

[Link](2)

local fadeTween = TweenService:Create(StatusLabel, tweenInfo, {TextTransparency


= 1})
fadeTween:Play()
end

-- Function to update position display


local function UpdatePositionDisplay()
if [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
local rootPart = [Link]
local pos = [Link]
[Link] = [Link]("X: %.0f, Y: %.0f, Z: %.0f",
[Link](pos.X), [Link](pos.Y), [Link](pos.Z))
end
end

-- Use Current Pos button functionality


UsePosButton.MouseButton1Click:Connect(function()
pcall(function()
if [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
local rootPart = [Link]
local pos = [Link]
[Link] = [Link]("%.0f, %.0f, %.0f", [Link](pos.X),
[Link](pos.Y), [Link](pos.Z))
ShowStatus("Position set!", [Link](0, 255, 100))
else
ShowStatus("No character found.", [Link](255, 50, 50))
end
end)
end)

-- Teleport button functionality


TeleportButton.MouseButton1Click:Connect(function()
pcall(function()
if [Link] and
[Link]:FindFirstChild("HumanoidRootPart") then
local rootPart = [Link]
local coords = [Link]:split(",")
local x = tonumber(coords[1])
local y = tonumber(coords[2])
local z = tonumber(coords[3])

if x and y and z then


x = [Link]([Link](x), -4000, 4000)
y = [Link]([Link](y), -4000, 4000)
z = [Link]([Link](z), -4000, 4000)

local targetPos = [Link](x, y, z)


[Link] = [Link](targetPos)
[Link](0.1)
[Link] = [Link](0, 0, 0)
ShowStatus("Teleport successful!", [Link](0, 255, 100))
else
ShowStatus("Invalid coordinates.", [Link](255, 150, 0))
end
else
ShowStatus("Teleport failed.", [Link](255, 50, 50))
end
end)
end)

-- Monitor character changes


[Link]:Connect(function(character)
pcall(function()
local humanoid = character:WaitForChild("Humanoid")
local rootPart = character:WaitForChild("HumanoidRootPart")
-- Update position display on heartbeat
local connection
connection = [Link]:Connect(function()
UpdatePositionDisplay()
end)

-- Reset on death
[Link]:Connect(function()
connection:Disconnect()
LocalPlayer:LoadCharacter()
end)

-- Reset on health change to zero


[Link]:Connect(function(health)
if health <= 0 then
connection:Disconnect()
LocalPlayer:LoadCharacter()
end
end)
end)
end)

-- Initial position update


if [Link] then
UpdatePositionDisplay()
end

-- Cleanup on script end


game:BindToClose(function()
StealthTPGui:Destroy()
end)

You might also like