local Players = game:GetService("Players") local RunService = game:GetService("RunService") local player = Players.LocalPlayer local spinning = false local frozen = false local oldSettings = {} local spinConnection local gui = Instance.new("ScreenGui") gui.Name = "STRAVEX_GUI" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") -- Main dark box local main = Instance.new("Frame") main.Size = UDim2.fromOffset(230, 190) main.Position = UDim2.new(0.5, -115, 0.5, -95) main.BackgroundColor3 = Color3.fromRGB(25, 25, 30) main.BorderSizePixel = 0 main.Active = true main.Draggable = true main.Parent = gui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 12) corner.Parent = main -- Title local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -45, 0, 35) title.BackgroundTransparency = 1 title.Text = "STRAVEX" title.TextColor3 = Color3.new(1,1,1) title.TextSize = 20 title.Parent = main -- Close button local close = Instance.new("TextButton") close.Size = UDim2.fromOffset(35, 30) close.Position = UDim2.new(1, -40, 0, 3) close.Text = "X" close.BackgroundColor3 = Color3.fromRGB(190, 45, 45) close.TextColor3 = Color3.new(1,1,1) close.Parent = main -- Open toggle local open = Instance.new("TextButton") open.Size = UDim2.fromOffset(90, 35) open.Position = UDim2.new(0.5, -45, 0, 10) open.Text = "OPEN" open.Visible = false open.Parent = gui close.Activated:Connect(function() main.Visible = false open.Visible = true end) open.Activated:Connect(function() main.Visible = true open.Visible = false end) -- Freeze button local freezeButton = Instance.new("TextButton") freezeButton.Size = UDim2.new(1, -30, 0, 45) freezeButton.Position = UDim2.fromOffset(15, 48) freezeButton.BackgroundColor3 = Color3.fromRGB(30, 110, 230) freezeButton.TextColor3 = Color3.new(1,1,1) freezeButton.Text = "FREEZE" freezeButton.TextSize = 18 freezeButton.Parent = main -- Spin button local spinButton = Instance.new("TextButton") spinButton.Size = UDim2.new(1, -30, 0, 45) spinButton.Position = UDim2.fromOffset(15, 112) spinButton.BackgroundColor3 = Color3.fromRGB(25, 180, 70) spinButton.TextColor3 = Color3.new(1,1,1) spinButton.Text = "SPIN 200" spinButton.TextSize = 18 spinButton.Parent = main local function stopSpin() spinning = false if spinConnection then spinConnection:Disconnect() spinConnection = nil end local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") if root and not frozen then root.AssemblyAngularVelocity = Vector3.zero end spinButton.Text = "SPIN 200" end local function startSpin() if frozen then return end local character = player.Character local root = character and character:FindFirstChild("HumanoidRootPart") if not root then return end spinning = true spinButton.Text = "STOP SPIN" spinConnection = RunService.Heartbeat:Connect(function() if not spinning or frozen or not root.Parent then stopSpin() return end root.AssemblyAngularVelocity = Vector3.new(0, 200, 0) end) end freezeButton.Activated:Connect(function() local character = player.Character local humanoid = character and character:FindFirstChildOfClass("Humanoid") local root = character and character:FindFirstChild("HumanoidRootPart") if not humanoid or not root then return end if not frozen then stopSpin() oldSettings = { WalkSpeed = humanoid.WalkSpeed, JumpPower = humanoid.JumpPower, JumpHeight = humanoid.JumpHeight } root.AssemblyLinearVelocity = Vector3.zero root.AssemblyAngularVelocity = Vector3.zero root.Anchored = true humanoid.WalkSpeed = 0 humanoid.JumpPower = 0 humanoid.JumpHeight = 0 frozen = true freezeButton.Text = "UNFREEZE" else root.Anchored = false humanoid.WalkSpeed = oldSettings.WalkSpeed or 16 humanoid.JumpPower = oldSettings.JumpPower or 50 humanoid.JumpHeight = oldSettings.JumpHeight or 7.2 frozen = false freezeButton.Text = "FREEZE" end end) spinButton.Activated:Connect(function() if spinning then stopSpin() else startSpin() end end) player.CharacterAdded:Connect(function() stopSpin() frozen = false freezeButton.Text = "FREEZE" end)