-- Mobile Teleport GUI Script -- iOS Dark Theme with Draggable, Minimizable, and Escapable features local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- Create ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Name = "TeleportGUI" screenGui.ResetOnSpawn = false screenGui.Parent = playerGui -- Main Frame (iOS Dark Style) local mainFrame = Instance.new("Frame") mainFrame.Name = "MainFrame" mainFrame.Size = UDim2.new(0, 320, 0, 180) mainFrame.Position = UDim2.new(0.5, -160, 0.5, -90) mainFrame.BackgroundColor3 = Color3.fromRGB(28, 28, 30) mainFrame.BorderSizePixel = 0 mainFrame.Parent = screenGui -- Rounded corners for iOS style local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 12) corner.Parent = mainFrame -- Drop shadow effect local shadow = Instance.new("Frame") shadow.Name = "Shadow" shadow.Size = UDim2.new(1, 6, 1, 6) shadow.Position = UDim2.new(0, -3, 0, -3) shadow.BackgroundColor3 = Color3.fromRGB(0, 0, 0) shadow.BackgroundTransparency = 0.8 shadow.ZIndex = mainFrame.ZIndex - 1 shadow.Parent = mainFrame local shadowCorner = Instance.new("UICorner") shadowCorner.CornerRadius = UDim.new(0, 15) shadowCorner.Parent = shadow -- Title Bar local titleBar = Instance.new("Frame") titleBar.Name = "TitleBar" titleBar.Size = UDim2.new(1, 0, 0, 44) titleBar.Position = UDim2.new(0, 0, 0, 0) titleBar.BackgroundColor3 = Color3.fromRGB(44, 44, 46) titleBar.BorderSizePixel = 0 titleBar.Parent = mainFrame local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 12) titleCorner.Parent = titleBar -- Fix title bar corners (only top) local titleFix = Instance.new("Frame") titleFix.Size = UDim2.new(1, 0, 0, 12) titleFix.Position = UDim2.new(0, 0, 1, -12) titleFix.BackgroundColor3 = Color3.fromRGB(44, 44, 46) titleFix.BorderSizePixel = 0 titleFix.Parent = titleBar -- Title Text local titleText = Instance.new("TextLabel") titleText.Name = "TitleText" titleText.Size = UDim2.new(1, -80, 1, 0) titleText.Position = UDim2.new(0, 15, 0, 0) titleText.BackgroundTransparency = 1 titleText.Text = "Teleport Hub" titleText.TextColor3 = Color3.fromRGB(255, 255, 255) titleText.TextScaled = true titleText.Font = Enum.Font.GothamBold titleText.TextXAlignment = Enum.TextXAlignment.Left titleText.Parent = titleBar -- Minimize Button local minimizeBtn = Instance.new("TextButton") minimizeBtn.Name = "MinimizeBtn" minimizeBtn.Size = UDim2.new(0, 30, 0, 30) minimizeBtn.Position = UDim2.new(1, -70, 0, 7) minimizeBtn.BackgroundColor3 = Color3.fromRGB(255, 204, 0) minimizeBtn.Text = "−" minimizeBtn.TextColor3 = Color3.fromRGB(0, 0, 0) minimizeBtn.TextScaled = true minimizeBtn.Font = Enum.Font.GothamBold minimizeBtn.BorderSizePixel = 0 minimizeBtn.Parent = titleBar local minimizeCorner = Instance.new("UICorner") minimizeCorner.CornerRadius = UDim.new(1, 0) minimizeCorner.Parent = minimizeBtn -- Close Button local closeBtn = Instance.new("TextButton") closeBtn.Name = "CloseBtn" closeBtn.Size = UDim2.new(0, 30, 0, 30) closeBtn.Position = UDim2.new(1, -35, 0, 7) closeBtn.BackgroundColor3 = Color3.fromRGB(255, 95, 86) closeBtn.Text = "×" closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) closeBtn.TextScaled = true closeBtn.Font = Enum.Font.GothamBold closeBtn.BorderSizePixel = 0 closeBtn.Parent = titleBar local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(1, 0) closeCorner.Parent = closeBtn -- Content Frame local contentFrame = Instance.new("Frame") contentFrame.Name = "ContentFrame" contentFrame.Size = UDim2.new(1, 0, 1, -44) contentFrame.Position = UDim2.new(0, 0, 0, 44) contentFrame.BackgroundTransparency = 1 contentFrame.Parent = mainFrame -- Teleport Button local teleportBtn = Instance.new("TextButton") teleportBtn.Name = "TeleportBtn" teleportBtn.Size = UDim2.new(0, 280, 0, 45) teleportBtn.Position = UDim2.new(0.5, -140, 0, 20) teleportBtn.BackgroundColor3 = Color3.fromRGB(0, 122, 255) teleportBtn.Text = "🚀 Teleport to End" teleportBtn.TextColor3 = Color3.fromRGB(255, 255, 255) teleportBtn.TextScaled = true teleportBtn.Font = Enum.Font.GothamBold teleportBtn.BorderSizePixel = 0 teleportBtn.Parent = contentFrame local teleportCorner = Instance.new("UICorner") teleportCorner.CornerRadius = UDim.new(0, 8) teleportCorner.Parent = teleportBtn -- Noclip Status Label local statusLabel = Instance.new("TextLabel") statusLabel.Name = "StatusLabel" statusLabel.Size = UDim2.new(1, -20, 0, 30) statusLabel.Position = UDim2.new(0, 10, 0, 80) statusLabel.BackgroundTransparency = 1 statusLabel.Text = "Noclip: OFF" statusLabel.TextColor3 = Color3.fromRGB(142, 142, 147) statusLabel.TextScaled = true statusLabel.Font = Enum.Font.Gotham statusLabel.Parent = contentFrame -- Toggle Noclip Button local noclipBtn = Instance.new("TextButton") noclipBtn.Name = "NoclipBtn" noclipBtn.Size = UDim2.new(0, 120, 0, 30) noclipBtn.Position = UDim2.new(1, -130, 0, 80) noclipBtn.BackgroundColor3 = Color3.fromRGB(72, 72, 74) noclipBtn.Text = "Toggle" noclipBtn.TextColor3 = Color3.fromRGB(255, 255, 255) noclipBtn.TextScaled = true noclipBtn.Font = Enum.Font.Gotham noclipBtn.BorderSizePixel = 0 noclipBtn.Parent = contentFrame local noclipCorner = Instance.new("UICorner") noclipCorner.CornerRadius = UDim.new(0, 6) noclipCorner.Parent = noclipBtn -- Variables local dragging = false local dragStart = nil local startPos = nil local isMinimized = false local noclipEnabled = false -- Teleport coordinates local TELEPORT_COORDS = Vector3.new(-20.8, 12.4, 37072) -- Functions local function enableNoclip() if player.Character then for _, part in pairs(player.Character:GetChildren()) do if part:IsA("BasePart") and part.CanCollide then part.CanCollide = false end end end end local function disableNoclip() if player.Character then for _, part in pairs(player.Character:GetChildren()) do if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then part.CanCollide = true end end end end local function toggleNoclip() noclipEnabled = not noclipEnabled if noclipEnabled then statusLabel.Text = "Noclip: ON" statusLabel.TextColor3 = Color3.fromRGB(52, 199, 89) noclipBtn.BackgroundColor3 = Color3.fromRGB(52, 199, 89) else statusLabel.Text = "Noclip: OFF" statusLabel.TextColor3 = Color3.fromRGB(142, 142, 147) noclipBtn.BackgroundColor3 = Color3.fromRGB(72, 72, 74) disableNoclip() end end local function teleportToEnd() if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then -- Enable noclip automatically if not noclipEnabled then toggleNoclip() end -- Teleport player.Character.HumanoidRootPart.CFrame = CFrame.new(TELEPORT_COORDS) -- Visual feedback local originalColor = teleportBtn.BackgroundColor3 teleportBtn.BackgroundColor3 = Color3.fromRGB(52, 199, 89) teleportBtn.Text = "✅ Teleported!" wait(1) teleportBtn.BackgroundColor3 = originalColor teleportBtn.Text = "🚀 Teleport to End" end end local function minimizeWindow() isMinimized = not isMinimized local targetSize, targetPos if isMinimized then targetSize = UDim2.new(0, 320, 0, 44) targetPos = mainFrame.Position minimizeBtn.Text = "+" contentFrame.Visible = false else targetSize = UDim2.new(0, 320, 0, 180) targetPos = mainFrame.Position minimizeBtn.Text = "−" contentFrame.Visible = true end local tween = TweenService:Create(mainFrame, TweenInfo.new(0.3, Enum.EasingStyle.Quart), {Size = targetSize}) tween:Play() end -- Event Connections teleportBtn.MouseButton1Click:Connect(teleportToEnd) noclipBtn.MouseButton1Click:Connect(toggleNoclip) minimizeBtn.MouseButton1Click:Connect(minimizeWindow) closeBtn.MouseButton1Click:Connect(function() screenGui:Destroy() end) -- Dragging functionality titleBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = mainFrame.Position end end) UserInputService.InputChanged:Connect(function(input) if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then local delta = input.Position - dragStart mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end end) -- Noclip loop RunService.Heartbeat:Connect(function() if noclipEnabled then enableNoclip() end end) -- Button hover effects local function addHoverEffect(button, hoverColor, normalColor) button.MouseEnter:Connect(function() button.BackgroundColor3 = hoverColor end) button.MouseLeave:Connect(function() button.BackgroundColor3 = normalColor end) end addHoverEffect(teleportBtn, Color3.fromRGB(0, 100, 210), Color3.fromRGB(0, 122, 255)) addHoverEffect(closeBtn, Color3.fromRGB(220, 75, 66), Color3.fromRGB(255, 95, 86)) addHoverEffect(minimizeBtn, Color3.fromRGB(235, 184, 0), Color3.fromRGB(255, 204, 0)) -- Mobile-friendly touch improvements if UserInputService.TouchEnabled then -- Increase button sizes slightly for mobile teleportBtn.Size = UDim2.new(0, 280, 0, 50) noclipBtn.Size = UDim2.new(0, 120, 0, 35) minimizeBtn.Size = UDim2.new(0, 35, 0, 35) closeBtn.Size = UDim2.new(0, 35, 0, 35) end print("Teleport GUI loaded successfully!")