local Players = game:GetService("Players") ‎local ReplicatedStorage = game:GetService("ReplicatedStorage") ‎local UserInputService = game:GetService("UserInputService") ‎local TweenService = game:GetService("TweenService") ‎ ‎-- Variables ‎local player = Players.LocalPlayer ‎local character = player.Character or player.CharacterAdded:Wait() ‎local humanoid = character:WaitForChild("Humanoid") ‎local boostTime = 2 -- seconds ‎local speedBoostMultiplier = 2 ‎ ‎-- GUI Creation ‎local ScreenGui = Instance.new("ScreenGui") ‎ScreenGui.Parent = player.PlayerGui ‎local TextLabel = Instance.new("TextLabel") ‎TextLabel.Parent = ScreenGui ‎TextLabel.Size = UDim2.new(0, 200, 0, 50) ‎TextLabel.Position = UDim2.new(0.5, -100, 0.5, -25) ‎TextLabel.BackgroundTransparency = 1 ‎TextLabel.Text = "Auto Leave & Speed Boost: OFF" ‎TextLabel.FontSize = Enum.FontSize.Size24 ‎ ‎-- Functions ‎local function applySpeedBoost() ‎ humanoid.WalkSpeed = humanoid.WalkSpeed * speedBoostMultiplier ‎ TextLabel.Text = "Speed Boost: ON" ‎ wait(boostTime) ‎ humanoid.WalkSpeed = humanoid.WalkSpeed / speedBoostMultiplier ‎ TextLabel.Text = "Speed Boost: OFF" ‎end ‎ ‎local function autoLeave() ‎ wait(boostTime) ‎ game:Leave() ‎end ‎ ‎-- Event Handlers ‎local function onInputBegan(input) ‎ if input.KeyCode == Enum.KeyCode.B then ‎ if TextLabel.Text == "Auto Leave & Speed Boost: OFF" then ‎ applySpeedBoost() ‎ autoLeave() ‎ TextLabel.Text = "Auto Leave & Speed Boost: ON" ‎ else ‎ TextLabel.Text = "Auto Leave & Speed Boost: OFF"