local Players = game:GetService("Players") local player = Players.LocalPlayer local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local gui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui")) gui.Name = "TeleportGui" gui.ResetOnSpawn = false local frame = Instance.new("Frame", gui) frame.Size = UDim2.new(0, 320, 0, 250) frame.Position = UDim2.new(0.5, -160, 0.1, 0) frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) frame.BorderSizePixel = 0 frame.Active = true local closeBtn = Instance.new("TextButton", frame) closeBtn.Size = UDim2.new(0, 30, 0, 30) closeBtn.Position = UDim2.new(1, -35, 0, 5) closeBtn.Text = "❌" closeBtn.Font = Enum.Font.SourceSansBold closeBtn.TextSize = 20 closeBtn.TextColor3 = Color3.new(1, 1, 1) closeBtn.BackgroundColor3 = Color3.fromRGB(100, 0, 0) local minBtn = Instance.new("TextButton", frame) minBtn.Size = UDim2.new(0, 30, 0, 30) minBtn.Position = UDim2.new(1, -70, 0, 5) minBtn.Text = "-" minBtn.Font = Enum.Font.SourceSansBold minBtn.TextSize = 20 minBtn.TextColor3 = Color3.new(1, 1, 1) minBtn.BackgroundColor3 = Color3.fromRGB(60, 60, 60) local discord = Instance.new("TextLabel", frame) discord.Size = UDim2.new(0, 120, 0, 30) discord.Position = UDim2.new(0, 5, 0, 5) discord.Font = Enum.Font.SourceSansBold discord.TextSize = 16 discord.TextColor3 = Color3.new(1, 1, 1) discord.BackgroundTransparency = 1 discord.TextXAlignment = Enum.TextXAlignment.Left local teleportBtn = Instance.new("TextButton", frame) teleportBtn.Size = UDim2.new(1, -40, 0, 40) teleportBtn.Position = UDim2.new(0, 20, 0, 50) teleportBtn.Font = Enum.Font.SourceSansBold teleportBtn.TextSize = 18 teleportBtn.BackgroundColor3 = Color3.fromRGB(0, 120, 180) teleportBtn.TextColor3 = Color3.new(1, 1, 1) local returnBtn = Instance.new("TextButton", frame) returnBtn.Size = UDim2.new(1, -40, 0, 35) returnBtn.Position = UDim2.new(0, 20, 0, 100) returnBtn.Font = Enum.Font.SourceSansBold returnBtn.TextSize = 16 returnBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) returnBtn.TextColor3 = Color3.new(1, 1, 1) local afkBtn = Instance.new("TextButton", frame) afkBtn.Size = UDim2.new(1, -40, 0, 35) afkBtn.Position = UDim2.new(0, 20, 0, 145) afkBtn.Font = Enum.Font.SourceSansBold afkBtn.TextSize = 16 afkBtn.Text = "Anti AFK" afkBtn.BackgroundColor3 = Color3.fromRGB(30, 100, 30) afkBtn.TextColor3 = Color3.new(1, 1, 1) local langBtn = Instance.new("TextButton", frame) langBtn.Size = UDim2.new(1, -40, 0, 30) langBtn.Position = UDim2.new(0, 20, 0, 190) langBtn.Font = Enum.Font.SourceSansBold langBtn.TextSize = 16 langBtn.BackgroundColor3 = Color3.fromRGB(70, 70, 70) langBtn.TextColor3 = Color3.new(1, 1, 1) local currentLang = "ar" local isMinimized = false local contentList = {teleportBtn, returnBtn, afkBtn, langBtn, discord} local translations = { ar = { teleport = "🔒 موقع أمان", auto = "↩️ عودة", lang = "English", discord = "دسكورد 1w69" }, en = { teleport = "🔒 Safe Spot", auto = "↩️ Return", lang = "عربي", discord = "Discord 1w69" } } local function updateLang() local t = translations[currentLang] teleportBtn.Text = t.teleport returnBtn.Text = t.auto langBtn.Text = t.lang discord.Text = t.discord end langBtn.MouseButton1Click:Connect(function() currentLang = (currentLang == "ar") and "en" or "ar" updateLang() end) teleportBtn.MouseButton1Click:Connect(function() local part = workspace:FindFirstChild("Playground") and workspace.Playground:FindFirstChild("Model") and workspace.Playground.Model:FindFirstChild("Floor") and workspace.Playground.Model.Floor:FindFirstChild("Part") if part and part:IsA("BasePart") then local char = player.Character or player.CharacterAdded:Wait() local root = char:WaitForChild("HumanoidRootPart") if root then root.CFrame = part.CFrame + Vector3.new(0, 5, 0) end end end) returnBtn.MouseButton1Click:Connect(function() local part = workspace:FindFirstChild("CoreObjects") and workspace.CoreObjects:FindFirstChild("PowerupSpawns") and workspace.CoreObjects.PowerupSpawns:FindFirstChild("Part") if part and part:IsA("BasePart") then local char = player.Character or player.CharacterAdded:Wait() local root = char:WaitForChild("HumanoidRootPart") if root then root.CFrame = part.CFrame + Vector3.new(0, 5, 0) end end end) afkBtn.MouseButton1Click:Connect(function() local screenGui = Instance.new("ScreenGui") screenGui.Name = "AntiAFK_UI" screenGui.Parent = player:WaitForChild("PlayerGui") local label = Instance.new("TextLabel") label.Parent = screenGui label.Size = UDim2.new(0, 120, 0, 16) label.Position = UDim2.new(0, 5, 0, 5) label.BackgroundTransparency = 1 label.Text = "ANTI-AFK: ON" label.TextColor3 = Color3.new(1,1,1) label.TextScaled = true label.Font = Enum.Font.GothamSemibold task.spawn(function() local char = player.Character or player.CharacterAdded:Wait() local humanoid = char:WaitForChild("Humanoid") while true do task.wait(5) if humanoid.MoveDirection.Magnitude == 0 then humanoid:Move(Vector3.new(0,0,-1), true) task.wait(0.3) humanoid:Move(Vector3.new(0,0,0), true) end end end) end) minBtn.MouseButton1Click:Connect(function() local goal = {} if isMinimized then goal.Size = UDim2.new(0, 320, 0, 250) for _, item in ipairs(contentList) do item.Visible = true end else goal.Size = UDim2.new(0, 320, 0, 35) for _, item in ipairs(contentList) do item.Visible = false end end closeBtn.Visible = true minBtn.Visible = true isMinimized = not isMinimized TweenService:Create(frame, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), goal):Play() end) closeBtn.MouseButton1Click:Connect(function() gui:Destroy() end) -- Drag local dragging, dragInput, dragStart, startPos frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) frame.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then local delta = input.Position - dragStart frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) updateLang()