Spidi Teleport XYZ
Key RequiredUniversal

Spidi Teleport XYZ

Universal ScriptReta28366Reta28366 404 views 176 executesUpdated Apr 14, 2026
5.0/ 5(1 votes)
10100% Positive
Lua Script•194 lines (6365 chars)
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "TeleportGUI"
screenGui.Parent = player:WaitForChild("PlayerGui")

local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 250, 0, 200)
mainFrame.Position = UDim2.new(0.5, -125, 0.5, -100)
mainFrame.BackgroundColor3 = Color3.fromRGB(34, 139, 34)
mainFrame.BorderSizePixel = 2
mainFrame.BorderColor3 = Color3.fromRGB(0, 255, 0)
mainFrame.BackgroundTransparency = 0.1
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.Parent = screenGui

local titleBar = Instance.new("TextLabel")
titleBar.Size = UDim2.new(1, 0, 0, 30)
titleBar.Position = UDim2.new(0, 0, 0, 0)
titleBar.BackgroundColor3 = Color3.fromRGB(0, 100, 0)
titleBar.Text = "Spidi Teleport XYZ"
titleBar.TextColor3 = Color3.fromRGB(255, 255, 255)
titleBar.TextScaled = true
titleBar.Font = Enum.Font.GothamBold
titleBar.Parent = mainFrame

local xLabel = Instance.new("TextLabel")
xLabel.Size = UDim2.new(0, 30, 0, 30)
xLabel.Position = UDim2.new(0, 10, 0, 40)
xLabel.BackgroundTransparency = 1
xLabel.Text = "X:"
xLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
xLabel.TextScaled = true
xLabel.Font = Enum.Font.GothamBold
xLabel.Parent = mainFrame

local xBox = Instance.new("TextBox")
xBox.Size = UDim2.new(0, 80, 0, 30)
xBox.Position = UDim2.new(0, 40, 0, 40)
xBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
xBox.TextColor3 = Color3.fromRGB(0, 255, 0)
xBox.Text = "0"
xBox.PlaceholderText = "X"
xBox.TextScaled = true
xBox.Font = Enum.Font.Gotham
xBox.ClearTextOnFocus = false
xBox.Parent = mainFrame

local yLabel = Instance.new("TextLabel")
yLabel.Size = UDim2.new(0, 30, 0, 30)
yLabel.Position = UDim2.new(0, 10, 0, 80)
yLabel.BackgroundTransparency = 1
yLabel.Text = "Y:"
yLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
yLabel.TextScaled = true
yLabel.Font = Enum.Font.GothamBold
yLabel.Parent = mainFrame

local yBox = Instance.new("TextBox")
yBox.Size = UDim2.new(0, 80, 0, 30)
yBox.Position = UDim2.new(0, 40, 0, 80)
yBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
yBox.TextColor3 = Color3.fromRGB(0, 255, 0)
yBox.Text = "0"
yBox.PlaceholderText = "Y"
yBox.TextScaled = true
yBox.Font = Enum.Font.Gotham
yBox.ClearTextOnFocus = false
yBox.Parent = mainFrame

local zLabel = Instance.new("TextLabel")
zLabel.Size = UDim2.new(0, 30, 0, 30)
zLabel.Position = UDim2.new(0, 10, 0, 120)
zLabel.BackgroundTransparency = 1
zLabel.Text = "Z:"
zLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
zLabel.TextScaled = true
zLabel.Font = Enum.Font.GothamBold
zLabel.Parent = mainFrame

local zBox = Instance.new("TextBox")
zBox.Size = UDim2.new(0, 80, 0, 30)
zBox.Position = UDim2.new(0, 40, 0, 120)
zBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
zBox.TextColor3 = Color3.fromRGB(0, 255, 0)
zBox.Text = "0"
zBox.PlaceholderText = "Z"
zBox.TextScaled = true
zBox.Font = Enum.Font.Gotham
zBox.ClearTextOnFocus = false
zBox.Parent = mainFrame

local teleportButton = Instance.new("TextButton")
teleportButton.Size = UDim2.new(0, 100, 0, 35)
teleportButton.Position = UDim2.new(0, 140, 0, 150)
teleportButton.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
teleportButton.Text = "TELEPORT"
teleportButton.TextColor3 = Color3.fromRGB(255, 255, 255)
teleportButton.TextScaled = true
teleportButton.Font = Enum.Font.GothamBold
teleportButton.BorderSizePixel = 2
teleportButton.BorderColor3 = Color3.fromRGB(0, 255, 0)
teleportButton.Parent = mainFrame

local closeButton = Instance.new("TextButton")
closeButton.Size = UDim2.new(0, 30, 0, 30)
closeButton.Position = UDim2.new(1, -35, 0, 0)
closeButton.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
closeButton.Text = "X"
closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
closeButton.TextScaled = true
closeButton.Font = Enum.Font.GothamBold
closeButton.Parent = mainFrame

local function teleportToPosition(x, y, z)
    local character = player.Character
    if character then
        local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
        if humanoidRootPart then
            humanoidRootPart.CFrame = CFrame.new(x, y, z)

            local effect = Instance.new("Part")
            effect.Shape = Enum.PartType.Ball
            effect.Size = Vector3.new(2, 2, 2)
            effect.Position = Vector3.new(x, y, z)
            effect.Anchored = true
            effect.CanCollide = false
            effect.BrickColor = BrickColor.new("Bright green")
            effect.Material = Enum.Material.Neon
            effect.Parent = workspace
            
            game:GetService("Debris"):AddItem(effect, 0.5)
        else
            warn("HumanoidRootPart not found")
        end
    else
        warn("Character not found")
    end
end

teleportButton.MouseButton1Click:Connect(function()
    local x = tonumber(xBox.Text)
    local y = tonumber(yBox.Text)
    local z = tonumber(zBox.Text)
    
    if x and y and z then
        teleportToPosition(x, y, z)
    else
        teleportButton.BackgroundColor3 = Color3.fromRGB(150, 0, 0)
        wait(0.2)
        teleportButton.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
    end
end)

closeButton.MouseButton1Click:Connect(function()
    screenGui.Enabled = false
end)

local userInputService = game:GetService("UserInputService")
userInputService.InputBegan:Connect(function(input, gameProcessed)
    if not gameProcessed and input.KeyCode == Enum.KeyCode.T then
        screenGui.Enabled = not screenGui.Enabled
    end
end)

if userInputService.TouchEnabled then
    local openButton = Instance.new("ImageButton")
    openButton.Size = UDim2.new(0, 50, 0, 50)
    openButton.Position = UDim2.new(0, 10, 1, -60)
    openButton.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
    openButton.Image = "rbxasset://textures/ui/Controls/Frame.png"
    openButton.BackgroundTransparency = 0.5
    openButton.Parent = screenGui
    
    openButton.MouseButton1Click:Connect(function()
        screenGui.Enabled = true
        openButton.Visible = false
    end)
    
    closeButton.MouseButton1Click:Connect(function()
        screenGui.Enabled = false
        openButton.Visible = true
    end)
end

teleportButton.MouseEnter:Connect(function()
    teleportButton.BackgroundColor3 = Color3.fromRGB(0, 200, 0)
end)

teleportButton.MouseLeave:Connect(function()
    teleportButton.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
end)

Features & Information

Teleport XYZ

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts