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

Fe Quest

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)
46 views4 pages

Fe Quest

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
You are on page 1/ 4

-- 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 = Players.LocalPlayer

-- Create ScreenGui
local StealthTPGui = Instance.new("ScreenGui")
StealthTPGui.Name = "StealthTPGui"
StealthTPGui.ResetOnSpawn = false
StealthTPGui.Parent = LocalPlayer:WaitForChild("PlayerGui")

-- Create main frame


local Frame = Instance.new("Frame")
Frame.Size = UDim2.new(0, 230, 0, 300)
Frame.Position = UDim2.new(0, 220, 0, 0)
Frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
Frame.BorderColor3 = Color3.fromRGB(0, 0, 255)
Frame.BorderSizePixel = 3
Frame.Active = true
Frame.Draggable = true
Frame.Parent = StealthTPGui

-- Add UICorner to frame


local FrameCorner = Instance.new("UICorner")
FrameCorner.CornerRadius = UDim.new(0, 6)
FrameCorner.Parent = Frame

-- Create "Use Current Pos" button


local UsePosButton = Instance.new("TextButton")
UsePosButton.Size = UDim2.new(0, 100, 0, 30)
UsePosButton.Position = UDim2.new(0, 80, 0, 30)
UsePosButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
UsePosButton.TextColor3 = Color3.fromRGB(255, 255, 255)
UsePosButton.Text = "Use Current Pos"
UsePosButton.Font = Enum.Font.GothamBold
UsePosButton.TextScaled = true
UsePosButton.Parent = Frame

-- Add UICorner to UsePosButton


local UsePosCorner = Instance.new("UICorner")
UsePosCorner.CornerRadius = UDim.new(0, 6)
UsePosCorner.Parent = UsePosButton

-- Create "Teleport" button


local TeleportButton = Instance.new("TextButton")
TeleportButton.Size = UDim2.new(0, 100, 0, 30)
TeleportButton.Position = UDim2.new(0, 80, 0, 100)
TeleportButton.BackgroundColor3 = Color3.fromRGB(0, 150, 255)
TeleportButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TeleportButton.Text = "Teleport"
TeleportButton.Font = Enum.Font.GothamBold
TeleportButton.TextScaled = true
TeleportButton.Parent = Frame

-- Add UICorner to TeleportButton


local TeleportCorner = Instance.new("UICorner")
TeleportCorner.CornerRadius = UDim.new(0, 6)
TeleportCorner.Parent = TeleportButton

-- Create coordinate input TextBox


local CoordInput = Instance.new("TextBox")
CoordInput.Size = UDim2.new(0, 100, 0, 30)
CoordInput.Position = UDim2.new(0, 80, 0, 70)
CoordInput.BackgroundColor3 = Color3.fromRGB(1, 1, 1)
CoordInput.TextColor3 = Color3.fromRGB(255, 255, 255)
CoordInput.PlaceholderText = ""
CoordInput.Text = ""
CoordInput.ClearTextOnFocus = false
CoordInput.Font = Enum.Font.Gotham
CoordInput.TextScaled = true
CoordInput.Parent = Frame

-- Add UICorner to CoordInput


local CoordInputCorner = Instance.new("UICorner")
CoordInputCorner.CornerRadius = UDim.new(0, 6)
CoordInputCorner.Parent = CoordInput

-- Create status label


local StatusLabel = Instance.new("TextLabel")
StatusLabel.Size = UDim2.new(0.5, -150, 0, 100)
StatusLabel.Position = UDim2.new(0, 80, 0, 130)
StatusLabel.BackgroundTransparency = 1
StatusLabel.TextTransparency = 1
StatusLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
StatusLabel.Text = ""
StatusLabel.Font = Enum.Font.Gotham
StatusLabel.TextScaled = true
StatusLabel.Parent = Frame

-- Function to display status message with tween animation


local function ShowStatus(message, color)
StatusLabel.Text = message
StatusLabel.TextColor3 = color
StatusLabel.TextTransparency = 0

local tweenInfo = TweenInfo.new(0.3)


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

task.wait(2)

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


= 1})
fadeTween:Play()
end

-- Function to update position display


local function UpdatePositionDisplay()
if LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
local rootPart = LocalPlayer.Character.HumanoidRootPart
local pos = rootPart.Position
StatusLabel.Text = string.format("X: %.0f, Y: %.0f, Z: %.0f",
math.floor(pos.X), math.floor(pos.Y), math.floor(pos.Z))
end
end

-- Use Current Pos button functionality


UsePosButton.MouseButton1Click:Connect(function()
pcall(function()
if LocalPlayer.Character and
LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
local rootPart = LocalPlayer.Character.HumanoidRootPart
local pos = rootPart.Position
CoordInput.Text = string.format("%.0f, %.0f, %.0f", math.floor(pos.X),
math.floor(pos.Y), math.floor(pos.Z))
ShowStatus("Position set!", Color3.fromRGB(0, 255, 100))
else
ShowStatus("No character found.", Color3.fromRGB(255, 50, 50))
end
end)
end)

-- Teleport button functionality


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

if x and y and z then


x = math.clamp(math.floor(x), -4000, 4000)
y = math.clamp(math.floor(y), -4000, 4000)
z = math.clamp(math.floor(z), -4000, 4000)

local targetPos = Vector3.new(x, y, z)


rootPart.CFrame = CFrame.new(targetPos)
task.wait(0.1)
rootPart.Velocity = Vector3.new(0, 0, 0)
ShowStatus("Teleport successful!", Color3.fromRGB(0, 255, 100))
else
ShowStatus("Invalid coordinates.", Color3.fromRGB(255, 150, 0))
end
else
ShowStatus("Teleport failed.", Color3.fromRGB(255, 50, 50))
end
end)
end)

-- Monitor character changes


LocalPlayer.CharacterAdded:Connect(function(character)
pcall(function()
local humanoid = character:WaitForChild("Humanoid")
local rootPart = character:WaitForChild("HumanoidRootPart")
-- Update position display on heartbeat
local connection
connection = RunService.Heartbeat:Connect(function()
UpdatePositionDisplay()
end)

-- Reset on death
humanoid.Died:Connect(function()
connection:Disconnect()
LocalPlayer:LoadCharacter()
end)

-- Reset on health change to zero


humanoid.HealthChanged:Connect(function(health)
if health <= 0 then
connection:Disconnect()
LocalPlayer:LoadCharacter()
end
end)
end)
end)

-- Initial position update


if LocalPlayer.Character then
UpdatePositionDisplay()
end

-- Cleanup on script end


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

You might also like