local Players = game:GetService("Players") local TweenService = game:GetService("TweenService") local GuiService = game:GetService("GuiService") local player = Players.LocalPlayer -- Positions local POS1 = CFrame.new(-262, 2267, -37430) local POS2 = CFrame.new(-193, 2289, -39388) -- Settings local WAIT_MIN = 3 local WAIT_MAX = 5 local enabled = false local function getRoot() local character = player.Character or player.CharacterAdded:Wait() return character:WaitForChild("HumanoidRootPart") end -- UI local gui = Instance.new("ScreenGui") gui.Name = "security" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 200, 0, 135) frame.Position = UDim2.new(0.5, -100, 0.1, 0) frame.BackgroundColor3 = Color3.fromRGB(30, 30, 35) frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = true frame.Parent = gui Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 10) local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 30) title.BackgroundTransparency = 0.5 title.Text = "Teleporter" title.TextColor3 = Color3.new(1, 1, 1) title.Font = Enum.Font.GothamBold title.TextSize = 16 title.Parent = frame local toggleBg = Instance.new("TextButton") toggleBg.Size = UDim2.new(0, 60, 0, 28) toggleBg.Position = UDim2.new(0.5, -30, 0, 45) toggleBg.BackgroundColor3 = Color3.fromRGB(90, 90, 95) toggleBg.Text = "" toggleBg.AutoButtonColor = false toggleBg.Parent = frame Instance.new("UICorner", toggleBg).CornerRadius = UDim.new(1, 0) local knob = Instance.new("Frame") knob.Size = UDim2.new(0, 22, 0, 22) knob.Position = UDim2.new(0, 3, 0.5, -11) knob.BackgroundColor3 = Color3.new(1, 1, 1) knob.BorderSizePixel = 0 knob.Parent = toggleBg Instance.new("UICorner", knob).CornerRadius = UDim.new(1, 0) local function setVisual(on) local info = TweenInfo.new(0.2) TweenService:Create(knob, info, { Position = on and UDim2.new(1, -25, 0.5, -11) or UDim2.new(0, 3, 0.5, -11) }):Play() TweenService:Create(toggleBg, info, { BackgroundColor3 = on and Color3.fromRGB(60, 190, 90) or Color3.fromRGB(90, 90, 95) }):Play() end -- Discord button local discordButton = Instance.new("TextButton") discordButton.Size = UDim2.new(0, 150, 0, 30) discordButton.Position = UDim2.new(0.5, -75, 0, 90) discordButton.BackgroundColor3 = Color3.fromRGB(88, 101, 242) discordButton.Text = "Join Discord" discordButton.TextColor3 = Color3.new(1, 1, 1) discordButton.Font = Enum.Font.GothamBold discordButton.TextSize = 13 discordButton.AutoButtonColor = false discordButton.Parent = frame Instance.new("UICorner", discordButton).CornerRadius = UDim.new(0, 8) discordButton.MouseButton1Click:Connect(function() GuiService:OpenBrowserWindow("https://discord.gg/fkwGy4X9a") end) -- Teleport loop local function run() while enabled do local root = getRoot() root.CFrame = POS1 task.wait(math.random(WAIT_MIN * 100, WAIT_MAX * 100) / 100) if not enabled then break end root = getRoot() root.CFrame = POS2 task.wait(math.random(WAIT_MIN * 100, WAIT_MAX * 100) / 100) end end toggleBg.MouseButton1Click:Connect(function() enabled = not enabled setVisual(enabled) if enabled then task.spawn(run) end end)