--[[ KM STUDIO - ULTIMATE (CLEAN ACCEPT + KM STUDIO TEXT IN BOTTOM-LEFT) Creator: Kami_ytt ]] local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local SoundService = game:GetService("SoundService") local Stats = game:GetService("Stats") local player = Players.LocalPlayer or Players:GetPlayers()[1] local playerGui = player.PlayerGui if playerGui:FindFirstChild("KMBombGui") then playerGui.KMBombGui:Destroy() end if playerGui:FindFirstChild("KMStartWarningGui") then playerGui.KMStartWarningGui:Destroy() end if playerGui:FindFirstChild("KMStatusFxGui") then playerGui.KMStatusFxGui:Destroy() end -- ========================================== -- 1. EKRAN STARTOWY / OSTRZEŻENIE I WERYFIKACJA ID GRY -- ========================================== local startGui = Instance.new("ScreenGui") startGui.Name = "KMStartWarningGui" startGui.ResetOnSpawn = false startGui.Parent = playerGui local warningFrame = Instance.new("Frame") warningFrame.Size = UDim2.new(0, 330, 0, 200) warningFrame.Position = UDim2.new(0.5, -165, 1.2, 0) warningFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) warningFrame.BorderSizePixel = 0 warningFrame.Parent = startGui local wCorner = Instance.new("UICorner") wCorner.CornerRadius = UDim.new(0, 8) wCorner.Parent = warningFrame local wStroke = Instance.new("UIStroke") wStroke.Color = Color3.fromRGB(255, 255, 255) wStroke.Thickness = 2.5 wStroke.Parent = warningFrame local warningText = Instance.new("TextLabel") warningText.Size = UDim2.new(1, -20, 0, 90) warningText.Position = UDim2.new(0, 10, 0, 10) warningText.BackgroundTransparency = 1 warningText.Text = "WARNING: This script was created ONLY for Time Bomb (Ankle Breaker). In any other game, this script is UNAVAILABLE and you will be kicked!" warningText.TextColor3 = Color3.fromRGB(255, 255, 255) warningText.Font = Enum.Font.SourceSansBold warningText.TextSize = 13 warningText.TextWrapped = true warningText.Parent = warningFrame local timerOrStatusText = Instance.new("TextLabel") timerOrStatusText.Size = UDim2.new(1, -20, 0, 25) timerOrStatusText.Position = UDim2.new(0, 10, 0, 105) timerOrStatusText.BackgroundTransparency = 1 timerOrStatusText.Text = "Verifying game ID in: 5" timerOrStatusText.TextColor3 = Color3.fromRGB(220, 220, 220) timerOrStatusText.Font = Enum.Font.SourceSansBold timerOrStatusText.TextSize = 13 timerOrStatusText.Parent = warningFrame -- Zwykły, wyraźny przycisk ACCEPT! bez zbędnych ozdobników local acceptBtn = Instance.new("TextButton") acceptBtn.Size = UDim2.new(0, 150, 0, 38) acceptBtn.Position = UDim2.new(0.5, -75, 0, 145) acceptBtn.BackgroundColor3 = Color3.fromRGB(20, 20, 20) acceptBtn.BackgroundTransparency = 0 acceptBtn.BorderSizePixel = 0 acceptBtn.TextColor3 = Color3.fromRGB(255, 255, 255) acceptBtn.Font = Enum.Font.SourceSansBold acceptBtn.TextSize = 15 acceptBtn.Text = "ACCEPT!" acceptBtn.Visible = false acceptBtn.Parent = warningFrame local aCorner = Instance.new("UICorner") aCorner.CornerRadius = UDim.new(0, 6) aCorner.Parent = acceptBtn local aStroke = Instance.new("UIStroke") aStroke.Color = Color3.fromRGB(0, 255, 100) aStroke.Thickness = 2 aStroke.Parent = acceptBtn -- Animacja wysuwania ramki z dołu na środek local introTween = TweenService:Create(warningFrame, TweenInfo.new(0.5, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {Position = UDim2.new(0.5, -165, 0.5, -100)}) introTween:Play() local isGameVerified = false -- Funkcja wywołująca efekt mgły na cały ekran (zielona = sukces, czerwona = błąd/kick) local function showScreenEffect(isSuccess) pcall(function() local fxGui = Instance.new("ScreenGui") fxGui.Name = "KMStatusFxGui" fxGui.ResetOnSpawn = false fxGui.Parent = playerGui local fxFrame = Instance.new("Frame") fxFrame.Size = UDim2.new(1, 0, 1, 0) fxFrame.BackgroundColor3 = isSuccess and Color3.fromRGB(0, 255, 100) or Color3.fromRGB(255, 0, 0) fxFrame.BackgroundTransparency = 0.4 fxFrame.BorderSizePixel = 0 fxFrame.Parent = fxGui local tweenInfo = TweenInfo.new(0.8, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) local tw = TweenService:Create(fxFrame, tweenInfo, {BackgroundTransparency = 1}) tw:Play() tw.Completed:Connect(function() fxGui:Destroy() end) end) end -- Odliczanie timera i weryfikacja ID gry task.spawn(function() for i = 5, 1, -1 do timerOrStatusText.Text = "Verifying game ID in: " .. i task.wait(1) end local TARGET_PLACE_ID = 104596355418196 -- Zmień na właściwe ID gry local currentId = game.PlaceId if currentId == TARGET_PLACE_ID or currentId > 0 then isGameVerified = true timerOrStatusText.Text = "Game Verified Successfully!" timerOrStatusText.TextColor3 = Color3.fromRGB(0, 255, 100) showScreenEffect(true) acceptBtn.Visible = true else showScreenEffect(false) timerOrStatusText.Text = "ACCESS DENIED: Wrong Game!" timerOrStatusText.TextColor3 = Color3.fromRGB(255, 50, 50) task.wait(1.5) player:Kick("[KM STUDIO] Security Error: This script only works in Time Bomb (Ankle Breaker)!") end end) local launchMainGui = nil acceptBtn.MouseButton1Click:Connect(function() if not isGameVerified then return end pcall(function() local sound = Instance.new("Sound") sound.SoundId = "rbxassetid://6895070853" sound.Volume = 0.5 sound.Parent = SoundService sound:Play() game.Debris:AddItem(sound, 1) end) local outTween = TweenService:Create(warningFrame, TweenInfo.new(0.4, Enum.EasingStyle.Back, Enum.EasingDirection.In), {Position = UDim2.new(0.5, -165, -0.7, 0)}) outTween:Play() outTween.Completed:Connect(function() startGui:Destroy() if launchMainGui then launchMainGui() end end) end) -- ========================================== -- 2. GŁÓWNE MENU SKRYPTU (KM STUDIO) - NA ŚRODKU -- ========================================== launchMainGui = function() local currentLanguage = "PL" local translations = { PL = { speedOn = "Bomb Speed: WŁ", speedOff = "Bomb Speed: WYŁ", jumpOn = "Infinite Jump: WŁ", jumpOff = "Infinite Jump: WYŁ", noclipOn = "NoClip: WŁ", noclipOff = "NoClip: WYŁ", espOn = "ESP (Przez ściany): WŁ", espOff = "ESP (Przez ściany): WYŁ", afkOn = "Anti-AFK: WŁ", afkOff = "Anti-AFK: WYŁ", langBtn = "Wybierz język 🌐", toolsBtn = "Strona 2 (Narzędzia & Muzyka) ⚙️", playerBtn = "Strona 3 (Lista Graczy & Pompuj) 👥", savePos = "Zapisz Pozycję 📌", tpPos = "Teleport 🚀", play = "Play 🎵", pause = "Pause ⏸", stop = "Stop ⏹", volText = "Głośność Muzyki (Volume): ", back = "<- Wróć do menu głównego", refresh = "Odśwież", header = "Kliknij nick, aby dać bombę i pompować:" }, EN = { speedOn = "Bomb Speed: ON", speedOff = "Bomb Speed: OFF", jumpOn = "Infinite Jump: ON", jumpOff = "Infinite Jump: OFF", noclipOn = "NoClip: ON", noclipOff = "NoClip: OFF", espOn = "ESP (Wallhack): ON", espOff = "ESP (Wallhack): OFF", afkOn = "Anti-AFK: ON", afkOff = "Anti-AFK: OFF", langBtn = "Select Language 🌐", toolsBtn = "Page 2 (Tools & Music) ⚙️", playerBtn = "Page 3 (Player List & Pump) 👥", savePos = "Save Position 📌", tpPos = "Teleport 🚀", play = "Play 🎵", pause = "Pause ⏸", stop = "Stop ⏹", volText = "Music Volume: ", back = "<- Back to Main Menu", refresh = "Refresh", header = "Click nickname to give bomb & pump:" } } local function getTxt(key) return translations[currentLanguage][key] or key end local function playClickSound() pcall(function() local sound = Instance.new("Sound") sound.SoundId = "rbxassetid://6895070853" sound.Volume = 0.5 sound.Parent = SoundService sound:Play() game.Debris:AddItem(sound, 1) end) end local function showSuccessNotification(text) pcall(function() local old = playerGui:FindFirstChild("KMToastNotification") if old then old:Destroy() end local toastGui = Instance.new("ScreenGui") toastGui.Name = "KMToastNotification" toastGui.ResetOnSpawn = false toastGui.Parent = playerGui local toastFrame = Instance.new("Frame") toastFrame.Size = UDim2.new(0, 180, 0, 40) toastFrame.Position = UDim2.new(1, 10, 1, -70) toastFrame.BackgroundColor3 = Color3.fromRGB(12, 25, 45) toastFrame.BackgroundTransparency = 0.1 toastFrame.BorderSizePixel = 0 toastFrame.Parent = toastGui local tCorner = Instance.new("UICorner") tCorner.CornerRadius = UDim.new(0, 8) tCorner.Parent = toastFrame local tStroke = Instance.new("UIStroke") tStroke.Color = Color3.fromRGB(0, 220, 120) tStroke.Thickness = 1.5 tStroke.Parent = toastFrame local tText = Instance.new("TextLabel") tText.Size = UDim2.new(1, 0, 1, 0) tText.BackgroundTransparency = 1 tText.Text = "✔ " .. text tText.TextColor3 = Color3.fromRGB(255, 255, 255) tText.Font = Enum.Font.SourceSansBold tText.TextSize = 13 tText.Parent = toastFrame TweenService:Create(toastFrame, TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {Position = UDim2.new(1, -195, 1, -70)}):Play() task.delay(1.5, function() if toastFrame and toastFrame.Parent then local tw = TweenService:Create(toastFrame, TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.In), {Position = UDim2.new(1, 10, 1, -70)}) tw:Play() tw.Completed:Connect(function() toastGui:Destroy() end) end end) end) end local states = { Speed = false, InfJump = false, NoClip = false, ESP = false, AntiAFK = false } local speedEnabled = false local boostSpeed = 28 local savedCFrame = nil local customMusicVolume = 0.5 local customSoundInstance = nil local mainGui = Instance.new("ScreenGui") mainGui.Name = "KMBombGui" mainGui.ResetOnSpawn = false mainGui.Parent = playerGui -- Ulepszone kółko KM local toggleCircle = Instance.new("TextButton") toggleCircle.Size = UDim2.new(0, 46, 0, 46) toggleCircle.Position = UDim2.new(0, 15, 0.5, -23) toggleCircle.BackgroundColor3 = Color3.fromRGB(12, 18, 32) toggleCircle.BackgroundTransparency = 0.1 toggleCircle.BorderSizePixel = 0 toggleCircle.Text = "km" toggleCircle.TextColor3 = Color3.fromRGB(255, 255, 255) toggleCircle.Font = Enum.Font.SourceSansBold toggleCircle.TextSize = 16 toggleCircle.Active = true toggleCircle.Visible = false toggleCircle.Parent = mainGui local circleCorner = Instance.new("UICorner") circleCorner.CornerRadius = UDim.new(1, 0) circleCorner.Parent = toggleCircle local circleStroke = Instance.new("UIStroke") circleStroke.Color = Color3.fromRGB(255, 255, 255) circleStroke.Thickness = 2 circleStroke.Parent = toggleCircle local circleDragging, circleDragStart, circleStartPos = false, nil, nil toggleCircle.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then circleDragging = true circleDragStart = input.Position circleStartPos = toggleCircle.Position end end) UserInputService.InputChanged:Connect(function(input) if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) and circleDragging then local delta = input.Position - circleDragStart toggleCircle.Position = UDim2.new(circleStartPos.X.Scale, circleStartPos.X.Offset + delta.X, circleStartPos.Y.Scale, circleStartPos.Y.Offset + delta.Y) local targetCircleRot = math.clamp(delta.X * 0.15, -10, 10) toggleCircle.Rotation = toggleCircle.Rotation + (targetCircleRot - toggleCircle.Rotation) * 0.2 end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then circleDragging = false end end) RunService.RenderStepped:Connect(function() if toggleCircle.Visible and not circleDragging then toggleCircle.Rotation = toggleCircle.Rotation + (0 - toggleCircle.Rotation) * 0.15 end end) -- Główne okno menu umieszczone na ŚRODKU ekranu local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 230, 0, 310) mainFrame.Position = UDim2.new(0.5, -115, 0.5, -155) mainFrame.BackgroundColor3 = Color3.fromRGB(8, 12, 22) mainFrame.BackgroundTransparency = 0.15 mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.ClipsDescendants = true mainFrame.Parent = mainGui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 10) corner.Parent = mainFrame local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(255, 255, 255) stroke.Thickness = 1.5 stroke.Parent = mainFrame -- Zwykły napis KM studio w lewym dolnym rogu (bez obramowania) local bottomLeftStudioLabel = Instance.new("TextLabel") bottomLeftStudioLabel.Size = UDim2.new(0, 110, 0, 20) bottomLeftStudioLabel.Position = UDim2.new(0, 10, 1, -22) bottomLeftStudioLabel.BackgroundTransparency = 1 bottomLeftStudioLabel.Text = "KM studio" bottomLeftStudioLabel.TextColor3 = Color3.fromRGB(160, 180, 200) bottomLeftStudioLabel.Font = Enum.Font.SourceSansBold bottomLeftStudioLabel.TextSize = 11 bottomLeftStudioLabel.TextXAlignment = Enum.TextXAlignment.Left bottomLeftStudioLabel.ZIndex = 3 bottomLeftStudioLabel.Parent = mainFrame -- Przeciąganie tylko za górny pasek z płynną rotacją local topBarDrag = Instance.new("TextButton") topBarDrag.Size = UDim2.new(1, -30, 0, 28) topBarDrag.Position = UDim2.new(0, 0, 0, 0) topBarDrag.BackgroundTransparency = 1 topBarDrag.Text = "" topBarDrag.Active = true topBarDrag.ZIndex = 3 topBarDrag.Parent = mainFrame local windowDragging, windowDragStart, windowStartPos = false, nil, nil topBarDrag.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then windowDragging = true windowDragStart = input.Position windowStartPos = mainFrame.Position end end) UserInputService.InputChanged:Connect(function(input) if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) and windowDragging then local delta = input.Position - windowDragStart mainFrame.Position = UDim2.new(windowStartPos.X.Scale, windowStartPos.X.Offset + delta.X, windowStartPos.Y.Scale, windowStartPos.Y.Offset + delta.Y) local targetRotation = math.clamp(delta.X * 0.1, -6, 6) mainFrame.Rotation = mainFrame.Rotation + (targetRotation - mainFrame.Rotation) * 0.2 end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then windowDragging = false end end) RunService.RenderStepped:Connect(function() if mainFrame.Visible and not windowDragging then mainFrame.Rotation = mainFrame.Rotation + (0 - mainFrame.Rotation) * 0.15 end end) -- Wizualizer fal dźwiękowych local audioVisualizerHolder = Instance.new("Frame") audioVisualizerHolder.Size = UDim2.new(1, 0, 1, 0) audioVisualizerHolder.BackgroundTransparency = 1 audioVisualizerHolder.ZIndex = 0 audioVisualizerHolder.Parent = mainFrame local audioBars = {} for i = 1, 6 do local bar = Instance.new("Frame") bar.Size = UDim2.new(0, 28, 0, 6) bar.Position = UDim2.new(0, (i - 1) * 36 + 8, 1, 0) bar.AnchorPoint = Vector2.new(0, 1) bar.BackgroundColor3 = Color3.fromRGB(255, 255, 255) bar.BackgroundTransparency = 0.45 bar.BorderSizePixel = 0 bar.ZIndex = 0 bar.Parent = audioVisualizerHolder table.insert(audioBars, { frame = bar, speed = math.random(10, 25) / 10, offset = math.random() * 10 }) end -- FPS i PING local fpsLabel = Instance.new("TextLabel") fpsLabel.Size = UDim2.new(0, 110, 0, 20) fpsLabel.Position = UDim2.new(1, -115, 1, -20) fpsLabel.BackgroundTransparency = 1 fpsLabel.Text = "FPS: -- | Ping: --ms" fpsLabel.TextColor3 = Color3.fromRGB(180, 200, 220) fpsLabel.Font = Enum.Font.SourceSansBold fpsLabel.TextSize = 11 fpsLabel.TextXAlignment = Enum.TextXAlignment.Right fpsLabel.ZIndex = 3 fpsLabel.Parent = mainFrame local lastTick = tick() local frameCount = 0 RunService.RenderStepped:Connect(function() frameCount = frameCount + 1 local current = tick() if current - lastTick >= 1 then local fps = math.floor(frameCount / (current - lastTick)) local ping = 0 pcall(function() ping = math.floor(Stats.Network.ServerStatsItem["Data Ping"]:GetValue()) end) fpsLabel.Text = "FPS: " .. fps .. " | Ping: " .. ping .. "ms" frameCount = 0 lastTick = current end end) local title = Instance.new("TextLabel") title.Size = UDim2.new(1, -40, 0, 28) title.Position = UDim2.new(0, 10, 0, 0) title.BackgroundTransparency = 1 title.Text = "km studio (Kami_ytt)" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.Font = Enum.Font.SourceSansBold title.TextSize = 13 title.TextXAlignment = Enum.TextXAlignment.Left title.ZIndex = 4 title.Parent = mainFrame local closeBtn = Instance.new("TextButton") closeBtn.Size = UDim2.new(0, 22, 0, 22) closeBtn.Position = UDim2.new(1, -26, 0, 3) closeBtn.BackgroundColor3 = Color3.fromRGB(220, 45, 45) closeBtn.BackgroundTransparency = 0.2 closeBtn.Text = "X" closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) closeBtn.Font = Enum.Font.SourceSansBold closeBtn.TextSize = 13 closeBtn.ZIndex = 4 closeBtn.Parent = mainFrame local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(0, 5) closeCorner.Parent = closeBtn -- Kontenery Stron local mainMenuContainer = Instance.new("Frame") mainMenuContainer.Size = UDim2.new(1, 0, 1, -30) mainMenuContainer.Position = UDim2.new(0, 0, 0, 30) mainMenuContainer.BackgroundTransparency = 1 mainMenuContainer.ZIndex = 2 mainMenuContainer.Parent = mainFrame local toolsMenuContainer = Instance.new("Frame") toolsMenuContainer.Size = UDim2.new(1, 0, 1, -30) toolsMenuContainer.Position = UDim2.new(1, 0, 0, 30) toolsMenuContainer.BackgroundTransparency = 1 toolsMenuContainer.Visible = false toolsMenuContainer.ZIndex = 2 toolsMenuContainer.Parent = mainFrame local playerListPageContainer = Instance.new("Frame") playerListPageContainer.Size = UDim2.new(1, 0, 1, -30) playerListPageContainer.Position = UDim2.new(1, 0, 0, 30) playerListPageContainer.BackgroundTransparency = 1 playerListPageContainer.Visible = false playerListPageContainer.ZIndex = 2 playerListPageContainer.Parent = mainFrame local langMenuContainer = Instance.new("Frame") langMenuContainer.Size = UDim2.new(1, 0, 1, -30) langMenuContainer.Position = UDim2.new(1, 0, 0, 30) langMenuContainer.BackgroundTransparency = 1 langMenuContainer.Visible = false langMenuContainer.ZIndex = 2 langMenuContainer.Parent = mainFrame -- Elementy Strony 1 local speedBtn = Instance.new("TextButton") speedBtn.Size = UDim2.new(1, -20, 0, 25) speedBtn.Position = UDim2.new(0, 10, 0, 5) speedBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 220) speedBtn.BackgroundTransparency = 0.3 speedBtn.TextColor3 = Color3.fromRGB(255, 255, 255) speedBtn.Font = Enum.Font.SourceSansBold speedBtn.TextSize = 12 speedBtn.Text = getTxt("speedOff") speedBtn.ZIndex = 2 speedBtn.Parent = mainMenuContainer local sCorner = Instance.new("UICorner") sCorner.CornerRadius = UDim.new(0, 6) sCorner.Parent = speedBtn local infJumpBtn = Instance.new("TextButton") infJumpBtn.Size = UDim2.new(1, -20, 0, 25) infJumpBtn.Position = UDim2.new(0, 10, 0, 33) infJumpBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 220) infJumpBtn.BackgroundTransparency = 0.3 infJumpBtn.TextColor3 = Color3.fromRGB(255, 255, 255) infJumpBtn.Font = Enum.Font.SourceSansBold infJumpBtn.TextSize = 12 infJumpBtn.Text = getTxt("jumpOff") infJumpBtn.ZIndex = 2 infJumpBtn.Parent = mainMenuContainer local iCorner = Instance.new("UICorner") iCorner.CornerRadius = UDim.new(0, 6) iCorner.Parent = infJumpBtn local noclipBtn = Instance.new("TextButton") noclipBtn.Size = UDim2.new(1, -20, 0, 25) noclipBtn.Position = UDim2.new(0, 10, 0, 61) noclipBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 220) noclipBtn.BackgroundTransparency = 0.3 noclipBtn.TextColor3 = Color3.fromRGB(255, 255, 255) noclipBtn.Font = Enum.Font.SourceSansBold noclipBtn.TextSize = 12 noclipBtn.Text = getTxt("noclipOff") noclipBtn.ZIndex = 2 noclipBtn.Parent = mainMenuContainer local nCorner = Instance.new("UICorner") nCorner.CornerRadius = UDim.new(0, 6) nCorner.Parent = noclipBtn local espBtn = Instance.new("TextButton") espBtn.Size = UDim2.new(1, -20, 0, 25) espBtn.Position = UDim2.new(0, 10, 0, 89) espBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 220) espBtn.BackgroundTransparency = 0.3 espBtn.TextColor3 = Color3.fromRGB(255, 255, 255) espBtn.Font = Enum.Font.SourceSansBold espBtn.TextSize = 12 espBtn.Text = getTxt("espOff") espBtn.ZIndex = 2 espBtn.Parent = mainMenuContainer local eCorner = Instance.new("UICorner") eCorner.CornerRadius = UDim.new(0, 6) eCorner.Parent = espBtn local afkBtn = Instance.new("TextButton") afkBtn.Size = UDim2.new(1, -20, 0, 25) afkBtn.Position = UDim2.new(0, 10, 0, 117) afkBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 220) afkBtn.BackgroundTransparency = 0.3 afkBtn.TextColor3 = Color3.fromRGB(255, 255, 255) afkBtn.Font = Enum.Font.SourceSansBold afkBtn.TextSize = 12 afkBtn.Text = getTxt("afkOff") afkBtn.ZIndex = 2 afkBtn.Parent = mainMenuContainer local afkCorner = Instance.new("UICorner") afkCorner.CornerRadius = UDim.new(0, 6) afkCorner.Parent = afkBtn local toolsMenuBtn = Instance.new("TextButton") toolsMenuBtn.Size = UDim2.new(1, -20, 0, 28) toolsMenuBtn.Position = UDim2.new(0, 10, 0, 146) toolsMenuBtn.BackgroundColor3 = Color3.fromRGB(120, 40, 200) toolsMenuBtn.BackgroundTransparency = 0.3 toolsMenuBtn.TextColor3 = Color3.fromRGB(255, 255, 255) toolsMenuBtn.Font = Enum.Font.SourceSansBold toolsMenuBtn.TextSize = 11 toolsMenuBtn.Text = getTxt("toolsBtn") toolsMenuBtn.ZIndex = 2 toolsMenuBtn.Parent = mainMenuContainer local tmCorner = Instance.new("UICorner") tmCorner.CornerRadius = UDim.new(0, 6) tmCorner.Parent = toolsMenuBtn local playerListPageBtn = Instance.new("TextButton") playerListPageBtn.Size = UDim2.new(1, -20, 0, 28) playerListPageBtn.Position = UDim2.new(0, 10, 0, 177) playerListPageBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 100) playerListPageBtn.BackgroundTransparency = 0.3 playerListPageBtn.TextColor3 = Color3.fromRGB(255, 255, 255) playerListPageBtn.Font = Enum.Font.SourceSansBold playerListPageBtn.TextSize = 11 playerListPageBtn.Text = getTxt("playerBtn") playerListPageBtn.ZIndex = 2 playerListPageBtn.Parent = mainMenuContainer local plpCorner = Instance.new("UICorner") plpCorner.CornerRadius = UDim.new(0, 6) plpCorner.Parent = playerListPageBtn local langSelectBtn = Instance.new("TextButton") langSelectBtn.Size = UDim2.new(1, -20, 0, 28) langSelectBtn.Position = UDim2.new(0, 10, 0, 208) langSelectBtn.BackgroundColor3 = Color3.fromRGB(40, 50, 80) langSelectBtn.BackgroundTransparency = 0.3 langSelectBtn.TextColor3 = Color3.fromRGB(255, 255, 255) langSelectBtn.Font = Enum.Font.SourceSansBold langSelectBtn.TextSize = 11 langSelectBtn.Text = getTxt("langBtn") langSelectBtn.ZIndex = 2 langSelectBtn.Parent = mainMenuContainer local langBtnCorner = Instance.new("UICorner") langBtnCorner.CornerRadius = UDim.new(0, 6) langBtnCorner.Parent = langSelectBtn -- Elementy Strony 2 local toolsTitleLabel = Instance.new("TextLabel") toolsTitleLabel.Size = UDim2.new(1, -20, 0, 20) toolsTitleLabel.Position = UDim2.new(0, 10, 0, 5) toolsTitleLabel.BackgroundTransparency = 1 toolsTitleLabel.Text = "⚙️ Narzędzia i Muzyka" toolsTitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) toolsTitleLabel.Font = Enum.Font.SourceSansBold toolsTitleLabel.TextSize = 12 toolsTitleLabel.TextXAlignment = Enum.TextXAlignment.Center toolsTitleLabel.ZIndex = 2 toolsTitleLabel.Parent = toolsMenuContainer local savePosBtn = Instance.new("TextButton") savePosBtn.Size = UDim2.new(0.48, 0, 0, 26) savePosBtn.Position = UDim2.new(0, 10, 0, 28) savePosBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 220) savePosBtn.BackgroundTransparency = 0.3 savePosBtn.TextColor3 = Color3.fromRGB(255, 255, 255) savePosBtn.Font = Enum.Font.SourceSansBold savePosBtn.TextSize = 11 savePosBtn.Text = getTxt("savePos") savePosBtn.ZIndex = 2 savePosBtn.Parent = toolsMenuContainer local spCorner = Instance.new("UICorner") spCorner.CornerRadius = UDim.new(0, 5) spCorner.Parent = savePosBtn local tpPosBtn = Instance.new("TextButton") tpPosBtn.Size = UDim2.new(0.48, 0, 0, 26) tpPosBtn.Position = UDim2.new(0.52, 2, 0, 28) tpPosBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 100) tpPosBtn.BackgroundTransparency = 0.3 tpPosBtn.TextColor3 = Color3.fromRGB(255, 255, 255) tpPosBtn.Font = Enum.Font.SourceSansBold tpPosBtn.TextSize = 11 tpPosBtn.Text = getTxt("tpPos") tpPosBtn.ZIndex = 2 tpPosBtn.Parent = toolsMenuContainer local tpCorner = Instance.new("UICorner") tpCorner.CornerRadius = UDim.new(0, 5) tpCorner.Parent = tpPosBtn local musicBox = Instance.new("TextBox") musicBox.Size = UDim2.new(1, -20, 0, 26) musicBox.Position = UDim2.new(0, 10, 0, 60) musicBox.BackgroundColor3 = Color3.fromRGB(20, 28, 45) musicBox.TextColor3 = Color3.fromRGB(255, 255, 255) musicBox.PlaceholderText = "Wpisz Music ID (np. 1839281)..." musicBox.Font = Enum.Font.SourceSansBold musicBox.TextSize = 11 musicBox.ClearTextOnFocus = false musicBox.ZIndex = 2 musicBox.Parent = toolsMenuContainer local mbCorner = Instance.new("UICorner") mbCorner.CornerRadius = UDim.new(0, 5) mbCorner.Parent = musicBox local playMusicBtn = Instance.new("TextButton") playMusicBtn.Size = UDim2.new(0.32, 0, 0, 26) playMusicBtn.Position = UDim2.new(0, 10, 0, 92) playMusicBtn.BackgroundColor3 = Color3.fromRGB(0, 140, 255) playMusicBtn.BackgroundTransparency = 0.3 playMusicBtn.TextColor3 = Color3.fromRGB(255, 255, 255) playMusicBtn.Font = Enum.Font.SourceSansBold playMusicBtn.TextSize = 11 playMusicBtn.Text = getTxt("play") playMusicBtn.ZIndex = 2 playMusicBtn.Parent = toolsMenuContainer local pmCorner = Instance.new("UICorner") pmCorner.CornerRadius = UDim.new(0, 5) pmCorner.Parent = playMusicBtn local pauseMusicBtn = Instance.new("TextButton") pauseMusicBtn.Size = UDim2.new(0.32, 0, 0, 26) pauseMusicBtn.Position = UDim2.new(0.34, 4, 0, 92) pauseMusicBtn.BackgroundColor3 = Color3.fromRGB(200, 140, 0) pauseMusicBtn.BackgroundTransparency = 0.3 pauseMusicBtn.TextColor3 = Color3.fromRGB(255, 255, 255) pauseMusicBtn.Font = Enum.Font.SourceSansBold pauseMusicBtn.TextSize = 11 pauseMusicBtn.Text = getTxt("pause") pauseMusicBtn.ZIndex = 2 pauseMusicBtn.Parent = toolsMenuContainer local pamCorner = Instance.new("UICorner") pamCorner.CornerRadius = UDim.new(0, 5) pamCorner.Parent = pauseMusicBtn local stopMusicBtn = Instance.new("TextButton") stopMusicBtn.Size = UDim2.new(0.32, 0, 0, 26) stopMusicBtn.Position = UDim2.new(0.68, 2, 0, 92) stopMusicBtn.BackgroundColor3 = Color3.fromRGB(200, 40, 40) stopMusicBtn.BackgroundTransparency = 0.3 stopMusicBtn.TextColor3 = Color3.fromRGB(255, 255, 255) stopMusicBtn.Font = Enum.Font.SourceSansBold stopMusicBtn.TextSize = 11 stopMusicBtn.Text = getTxt("stop") stopMusicBtn.ZIndex = 2 stopMusicBtn.Parent = toolsMenuContainer local smCorner = Instance.new("UICorner") smCorner.CornerRadius = UDim.new(0, 5) smCorner.Parent = stopMusicBtn local volLabel = Instance.new("TextLabel") volLabel.Size = UDim2.new(1, -20, 0, 16) volLabel.Position = UDim2.new(0, 10, 0, 126) volLabel.BackgroundTransparency = 1 volLabel.Text = getTxt("volText") .. "50%" volLabel.TextColor3 = Color3.fromRGB(200, 200, 200) volLabel.Font = Enum.Font.SourceSansBold volLabel.TextSize = 11 volLabel.TextXAlignment = Enum.TextXAlignment.Left volLabel.ZIndex = 2 volLabel.Parent = toolsMenuContainer local volSliderBg = Instance.new("Frame") volSliderBg.Size = UDim2.new(1, -20, 0, 16) volSliderBg.Position = UDim2.new(0, 10, 0, 144) volSliderBg.BackgroundColor3 = Color3.fromRGB(20, 28, 45) volSliderBg.BorderSizePixel = 0 volSliderBg.ZIndex = 2 volSliderBg.Parent = toolsMenuContainer local vBgCorner = Instance.new("UICorner") vBgCorner.CornerRadius = UDim.new(0, 4) vBgCorner.Parent = volSliderBg local volSliderFill = Instance.new("Frame") volSliderFill.Size = UDim2.new(0.5, 0, 1, 0) volSliderFill.BackgroundColor3 = Color3.fromRGB(150, 0, 255) volSliderFill.BorderSizePixel = 0 volSliderFill.ZIndex = 2 volSliderFill.Parent = volSliderBg local vFillCorner = Instance.new("UICorner") vFillCorner.CornerRadius = UDim.new(0, 4) vFillCorner.Parent = volSliderFill local backToMainBtn = Instance.new("TextButton") backToMainBtn.Size = UDim2.new(1, -20, 0, 28) backToMainBtn.Position = UDim2.new(0, 10, 0, 175) backToMainBtn.BackgroundColor3 = Color3.fromRGB(180, 40, 40) backToMainBtn.BackgroundTransparency = 0.3 backToMainBtn.TextColor3 = Color3.fromRGB(255, 255, 255) backToMainBtn.Font = Enum.Font.SourceSansBold backToMainBtn.TextSize = 11 backToMainBtn.Text = getTxt("back") backToMainBtn.ZIndex = 2 backToMainBtn.Parent = toolsMenuContainer local btmCorner = Instance.new("UICorner") btmCorner.CornerRadius = UDim.new(0, 6) btmCorner.Parent = backToMainBtn -- Elementy Strony 3 local playerListTitleLabel = Instance.new("TextLabel") playerListTitleLabel.Size = UDim2.new(1, -20, 0, 20) playerListTitleLabel.Position = UDim2.new(0, 10, 0, 5) playerListTitleLabel.BackgroundTransparency = 1 playerListTitleLabel.Text = "👥 Lista Graczy & Pompuj" playerListTitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) playerListTitleLabel.Font = Enum.Font.SourceSansBold playerListTitleLabel.TextSize = 12 playerListTitleLabel.TextXAlignment = Enum.TextXAlignment.Center playerListTitleLabel.ZIndex = 2 playerListTitleLabel.Parent = playerListPageContainer local listHeader = Instance.new("TextLabel") listHeader.Size = UDim2.new(1, -65, 0, 18) listHeader.Position = UDim2.new(0, 10, 0, 28) listHeader.BackgroundTransparency = 1 listHeader.Text = getTxt("header") listHeader.TextColor3 = Color3.fromRGB(200, 200, 200) listHeader.Font = Enum.Font.SourceSansBold listHeader.TextSize = 10 listHeader.TextXAlignment = Enum.TextXAlignment.Left listHeader.ZIndex = 2 listHeader.Parent = playerListPageContainer local refreshBtn = Instance.new("TextButton") refreshBtn.Size = UDim2.new(0, 50, 0, 18) refreshBtn.Position = UDim2.new(1, -60, 0, 28) refreshBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 220) refreshBtn.BackgroundTransparency = 0.3 refreshBtn.Text = getTxt("refresh") refreshBtn.TextColor3 = Color3.fromRGB(255, 255, 255) refreshBtn.Font = Enum.Font.SourceSansBold refreshBtn.TextSize = 10 refreshBtn.ZIndex = 2 refreshBtn.Parent = playerListPageContainer local refCorner = Instance.new("UICorner") refCorner.CornerRadius = UDim.new(0, 4) refCorner.Parent = refreshBtn local playerListFrame = Instance.new("ScrollingFrame") playerListFrame.Size = UDim2.new(1, -20, 0, 130) playerListFrame.Position = UDim2.new(0, 10, 0, 50) playerListFrame.BackgroundColor3 = Color3.fromRGB(12, 16, 25) playerListFrame.BackgroundTransparency = 0.4 playerListFrame.BorderSizePixel = 0 playerListFrame.ScrollBarThickness = 4 playerListFrame.CanvasSize = UDim2.new(0, 0, 0, 0) playerListFrame.ZIndex = 2 playerListFrame.Parent = playerListPageContainer local listCorner = Instance.new("UICorner") listCorner.CornerRadius = UDim.new(0, 6) listCorner.Parent = playerListFrame local uiListLayout = Instance.new("UIListLayout") uiListLayout.Padding = UDim.new(0, 4) uiListLayout.SortOrder = Enum.SortOrder.Name uiListLayout.Parent = playerListFrame local backFromListBtn = Instance.new("TextButton") backFromListBtn.Size = UDim2.new(1, -20, 0, 28) backFromListBtn.Position = UDim2.new(0, 10, 0, 185) backFromListBtn.BackgroundColor3 = Color3.fromRGB(180, 40, 40) backFromListBtn.BackgroundTransparency = 0.3 backFromListBtn.TextColor3 = Color3.fromRGB(255, 255, 255) backFromListBtn.Font = Enum.Font.SourceSansBold backFromListBtn.TextSize = 11 backFromListBtn.Text = getTxt("back") backFromListBtn.ZIndex = 2 backFromListBtn.Parent = playerListPageContainer local bflCorner = Instance.new("UICorner") bflCorner.CornerRadius = UDim.new(0, 6) bflCorner.Parent = backFromListBtn -- Menu Języka local langTitle = Instance.new("TextLabel") langTitle.Size = UDim2.new(1, -20, 0, 30) langTitle.Position = UDim2.new(0, 10, 0, 20) langTitle.BackgroundTransparency = 1 langTitle.Text = "Wybierz język / Select Language:" langTitle.TextColor3 = Color3.fromRGB(255, 255, 255) langTitle.Font = Enum.Font.SourceSansBold langTitle.TextSize = 12 langTitle.TextXAlignment = Enum.TextXAlignment.Center langTitle.ZIndex = 2 langTitle.Parent = langMenuContainer local plBtn = Instance.new("TextButton") plBtn.Size = UDim2.new(1, -20, 0, 36) plBtn.Position = UDim2.new(0, 10, 0, 65) plBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 220) plBtn.BackgroundTransparency = 0.3 plBtn.TextColor3 = Color3.fromRGB(255, 255, 255) plBtn.Font = Enum.Font.SourceSansBold plBtn.TextSize = 14 plBtn.Text = "🇵🇱 Polski (PL)" plBtn.ZIndex = 2 plBtn.Parent = langMenuContainer local plCorner = Instance.new("UICorner") plCorner.CornerRadius = UDim.new(0, 6) plCorner.Parent = plBtn local enBtn = Instance.new("TextButton") enBtn.Size = UDim2.new(1, -20, 0, 36) enBtn.Position = UDim2.new(0, 10, 0, 115) enBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 220) enBtn.BackgroundTransparency = 0.3 enBtn.TextColor3 = Color3.fromRGB(255, 255, 255) enBtn.Font = Enum.Font.SourceSansBold enBtn.TextSize = 14 enBtn.Text = "🇬🇧 English (EN)" enBtn.ZIndex = 2 enBtn.Parent = langMenuContainer local enCorner = Instance.new("UICorner") enCorner.CornerRadius = UDim.new(0, 6) enCorner.Parent = enBtn local backLangBtn = Instance.new("TextButton") backLangBtn.Size = UDim2.new(1, -20, 0, 32) backLangBtn.Position = UDim2.new(0, 10, 0, 170) backLangBtn.BackgroundColor3 = Color3.fromRGB(180, 40, 40) backLangBtn.BackgroundTransparency = 0.3 backLangBtn.TextColor3 = Color3.fromRGB(255, 255, 255) backLangBtn.Font = Enum.Font.SourceSansBold backLangBtn.TextSize = 13 backLangBtn.Text = getTxt("back") backLangBtn.ZIndex = 2 backLangBtn.Parent = langMenuContainer local blCorner = Instance.new("UICorner") blCorner.CornerRadius = UDim.new(0, 6) blCorner.Parent = backLangBtn -- Suwak głośności local draggingVol = false volSliderBg.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then draggingVol = true end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then draggingVol = false end end) UserInputService.InputChanged:Connect(function(input) if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) and draggingVol then local pos = input.Position.X local absPos = volSliderBg.AbsolutePosition.X local absSize = volSliderBg.AbsoluteSize.X local relX = math.clamp((pos - absPos) / absSize, 0, 1) volSliderFill.Size = UDim2.new(relX, 0, 1, 0) customMusicVolume = relX volLabel.Text = getTxt("volText") .. math.floor(relX * 100) .. "%" if customSoundInstance then customSoundInstance.Volume = customMusicVolume end end end) local function updateTexts() speedBtn.Text = speedEnabled and getTxt("speedOn") or getTxt("speedOff") infJumpBtn.Text = states.InfJump and getTxt("jumpOn") or getTxt("jumpOff") noclipBtn.Text = states.NoClip and getTxt("noclipOn") or getTxt("noclipOff") espBtn.Text = states.ESP and getTxt("espOn") or getTxt("espOff") afkBtn.Text = states.AntiAFK and getTxt("afkOn") or getTxt("afkOff") toolsMenuBtn.Text = getTxt("toolsBtn") playerListPageBtn.Text = getTxt("playerBtn") langSelectBtn.Text = getTxt("langBtn") savePosBtn.Text = getTxt("savePos") tpPosBtn.Text = getTxt("tpPos") playMusicBtn.Text = getTxt("play") pauseMusicBtn.Text = getTxt("pause") stopMusicBtn.Text = getTxt("stop") volLabel.Text = getTxt("volText") .. math.floor(customMusicVolume * 100) .. "%" backToMainBtn.Text = getTxt("back") listHeader.Text = getTxt("header") refreshBtn.Text = getTxt("refresh") backFromListBtn.Text = getTxt("back") backLangBtn.Text = getTxt("back") end local function switchPage(fromContainer, toContainer) playClickSound() toContainer.Visible = true toContainer.Position = UDim2.new(1, 0, 0, 30) TweenService:Create(fromContainer, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = UDim2.new(-1, 0, 0, 30)}):Play() TweenService:Create(toContainer, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Position = UDim2.new(0, 0, 0, 30)}):Play() task.wait(0.3) fromContainer.Visible = false end toolsMenuBtn.MouseButton1Click:Connect(function() switchPage(mainMenuContainer, toolsMenuContainer) end) playerListPageBtn.MouseButton1Click:Connect(function() switchPage(mainMenuContainer, playerListPageContainer) end) langSelectBtn.MouseButton1Click:Connect(function() switchPage(mainMenuContainer, langMenuContainer) end) backToMainBtn.MouseButton1Click:Connect(function() switchPage(toolsMenuContainer, mainMenuContainer) end) backFromListBtn.MouseButton1Click:Connect(function() switchPage(playerListPageContainer, mainMenuContainer) end) backLangBtn.MouseButton1Click:Connect(function() switchPage(langMenuContainer, mainMenuContainer) end) plBtn.MouseButton1Click:Connect(function() currentLanguage = "PL" updateTexts() showSuccessNotification("Zmieniono język na PL") switchPage(langMenuContainer, mainMenuContainer) end) enBtn.MouseButton1Click:Connect(function() currentLanguage = "EN" updateTexts() showSuccessNotification("Language changed to EN") switchPage(langMenuContainer, mainMenuContainer) end) local function animateClose() playClickSound() local tweenInfo = TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.In) TweenService:Create(mainFrame, tweenInfo, {Size = UDim2.new(0, 0, 0, 0), BackgroundTransparency = 1}):Play() task.wait(0.3) mainFrame.Visible = false mainFrame.Size = UDim2.new(0, 230, 0, 310) mainFrame.BackgroundTransparency = 0.15 toggleCircle.Size = UDim2.new(0, 0, 0, 0) toggleCircle.Visible = true TweenService:Create(toggleCircle, TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {Size = UDim2.new(0, 46, 0, 46), Rotation = 360}):Play() end local function animateOpen() playClickSound() toggleCircle.Visible = false toggleCircle.Size = UDim2.new(0, 46, 0, 46) toggleCircle.Rotation = 0 mainFrame.Visible = true mainFrame.Size = UDim2.new(0, 0, 0, 0) mainFrame.Rotation = -15 local tweenInfo = TweenInfo.new(0.35, Enum.EasingStyle.Back, Enum.EasingDirection.Out) TweenService:Create(mainFrame, tweenInfo, {Size = UDim2.new(0, 230, 0, 310), Rotation = 0}):Play() end closeBtn.MouseButton1Click:Connect(animateClose) toggleCircle.MouseButton1Click:Connect(animateOpen) speedBtn.MouseButton1Click:Connect(function() playClickSound() speedEnabled = not speedEnabled speedBtn.Text = speedEnabled and getTxt("speedOn") or getTxt("speedOff") speedBtn.BackgroundColor3 = speedEnabled and Color3.fromRGB(0, 160, 255) or Color3.fromRGB(0, 100, 220) showSuccessNotification(speedEnabled and "Speed ON" or "Speed OFF") end) infJumpBtn.MouseButton1Click:Connect(function() playClickSound() states.InfJump = not states.InfJump infJumpBtn.Text = states.InfJump and getTxt("jumpOn") or getTxt("jumpOff") infJumpBtn.BackgroundColor3 = states.InfJump and Color3.fromRGB(0, 160, 255) or Color3.fromRGB(0, 100, 220) showSuccessNotification(states.InfJump and "InfJump ON" or "InfJump OFF") end) UserInputService.JumpRequest:Connect(function() if states.InfJump and player.Character then local hum = player.Character:FindFirstChildOfClass("Humanoid") if hum then hum:ChangeState(Enum.HumanoidStateType.Jumping) end end end) noclipBtn.MouseButton1Click:Connect(function() playClickSound() states.NoClip = not states.NoClip noclipBtn.Text = states.NoClip and getTxt("noclipOn") or getTxt("noclipOff") noclipBtn.BackgroundColor3 = states.NoClip and Color3.fromRGB(0, 160, 255) or Color3.fromRGB(0, 100, 220) showSuccessNotification(states.NoClip and "NoClip ON" or "NoClip OFF") end) espBtn.MouseButton1Click:Connect(function() playClickSound() states.ESP = not states.ESP espBtn.Text = states.ESP and getTxt("espOn") or getTxt("espOff") espBtn.BackgroundColor3 = states.ESP and Color3.fromRGB(0, 160, 255) or Color3.fromRGB(0, 100, 220) showSuccessNotification(states.ESP and "ESP ON" or "ESP OFF") if not states.ESP then for _, p in ipairs(Players:GetPlayers()) do if p.Character then local hl = p.Character:FindFirstChild("KM_ESP") if hl then hl:Destroy() end end end end end) afkBtn.MouseButton1Click:Connect(function() playClickSound() states.AntiAFK = not states.AntiAFK afkBtn.Text = states.AntiAFK and getTxt("afkOn") or getTxt("afkOff") afkBtn.BackgroundColor3 = states.AntiAFK and Color3.fromRGB(0, 160, 255) or Color3.fromRGB(0, 100, 220) showSuccessNotification(states.AntiAFK and "Anti-AFK ON" or "Anti-AFK OFF") end) player.Idled:Connect(function() if states.AntiAFK then local vim = game:GetService("VirtualInputManager") vim:SendKeyEvent(true, Enum.KeyButton.W, false, game) task.wait(0.1) vim:SendKeyEvent(false, Enum.KeyButton.W, false, game) end end) savePosBtn.MouseButton1Click:Connect(function() playClickSound() if player.Character and player.Character:FindFirstChild("HumanoidRootPart") then savedCFrame = player.Character.HumanoidRootPart.CFrame showSuccessNotification("Zapisano pozycję!") end end) tpPosBtn.MouseButton1Click:Connect(function() playClickSound() if savedCFrame and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then player.Character.HumanoidRootPart.CFrame = savedCFrame showSuccessNotification("Teleportowano!") else showSuccessNotification("Brak zapisu!") end end) playMusicBtn.MouseButton1Click:Connect(function() playClickSound() local soundId = tonumber(musicBox.Text) if not soundId then showSuccessNotification("Błędne ID Muzyki!") return end if not customSoundInstance then customSoundInstance = Instance.new("Sound") customSoundInstance.Looped = true customSoundInstance.Parent = SoundService end customSoundInstance.SoundId = "rbxassetid://" .. soundId customSoundInstance.Volume = customMusicVolume customSoundInstance:Play() showSuccessNotification("Odtwarzanie muzyki!") end) pauseMusicBtn.MouseButton1Click:Connect(function() playClickSound() if customSoundInstance then if customSoundInstance.IsPlaying then customSoundInstance:Pause() showSuccessNotification("Wstrzymano muzykę") else customSoundInstance:Resume() showSuccessNotification("Wznowiono muzykę") end end end) stopMusicBtn.MouseButton1Click:Connect(function() playClickSound() if customSoundInstance then customSoundInstance:Stop() showSuccessNotification("Zatrzymano muzykę") end end) RunService.Heartbeat:Connect(function() if player.Character then local hum = player.Character:FindFirstChildOfClass("Humanoid") if hum then if speedEnabled then hum.WalkSpeed = boostSpeed else hum.WalkSpeed = 16 end end if states.NoClip then for _, part in ipairs(player.Character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end end if states.ESP then for _, p in ipairs(Players:GetPlayers()) do if p ~= player and p.Character then local char = p.Character if not char:FindFirstChild("KM_ESP") then local hl = Instance.new("Highlight") hl.Name = "KM_ESP" hl.Adornee = char hl.FillColor = Color3.fromRGB(0, 255, 100) hl.OutlineColor = Color3.fromRGB(255, 255, 255) hl.FillTransparency = 0.5 hl.Parent = char end end end end local isPlaying = customSoundInstance and customSoundInstance.IsPlaying for i, barData in ipairs(audioBars) do local width = 28 local height = 6 if isPlaying then width = math.clamp(math.floor(22 + (customMusicVolume * 10)), 15, 32) local wave = math.sin((tick() * barData.speed) + barData.offset) local scaleMultiplier = 50 + (customMusicVolume * 220) height = math.clamp(math.floor(math.abs(wave) * scaleMultiplier), 8, 290) end barData.frame.Size = UDim2.new(0, width, 0, height) end end) local function giveBombAndPump(targetPlayer) local myChar = player.Character local myRoot = myChar and myChar:FindFirstChild("HumanoidRootPart") local targetChar = targetPlayer.Character local targetRoot = targetChar and targetChar:FindFirstChild("HumanoidRootPart") if not myRoot or not targetRoot then return end local savedCFrameRef = myRoot.CFrame myRoot.CFrame = targetRoot.CFrame * CFrame.new(0, 0, 1.5) task.wait(0.08) pcall(function() local bombTool = myChar:FindFirstChildWhichIsA("Tool") or player.Backpack:FindFirstChildWhichIsA("Tool") if bombTool then bombTool.Parent = targetPlayer.Backpack end end) for i = 1, 3 do myRoot.CFrame = targetRoot.CFrame * CFrame.new(0, i * 2, 0) task.wait(0.04) end task.wait(0.08) if myRoot and myRoot.Parent then myRoot.CFrame = savedCFrameRef end end local function populatePlayerList() for _, child in ipairs(playerListFrame:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end local count = 0 for _, p in ipairs(Players:GetPlayers()) do if p ~= player then count = count + 1 local pBtn = Instance.new("TextButton") pBtn.Size = UDim2.new(1, -6, 0, 26) pBtn.BackgroundColor3 = Color3.fromRGB(18, 24, 38) pBtn.BackgroundTransparency = 0.3 pBtn.TextColor3 = Color3.fromRGB(255, 255, 255) pBtn.Font = Enum.Font.SourceSansBold pBtn.TextSize = 11 pBtn.Text = " " .. p.DisplayName .. " (@" .. p.Name .. ")" pBtn.TextXAlignment = Enum.TextXAlignment.Left pBtn.ZIndex = 2 pBtn.Parent = playerListFrame local pCorner = Instance.new("UICorner") pCorner.CornerRadius = UDim.new(0, 4) pCorner.Parent = pBtn local pStroke = Instance.new("UIStroke") pStroke.Color = Color3.fromRGB(0, 200, 100) pStroke.Thickness = 1.2 pStroke.Parent = pBtn pBtn.MouseButton1Click:Connect(function() playClickSound() local origText = pBtn.Text pBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 80) pBtn.Text = " Dano & Pompujesz: " .. p.Name .. "!" showSuccessNotification("Bombę dano graczowi " .. p.Name) giveBombAndPump(p) task.delay(0.9, function() if pBtn and pBtn.Parent then pBtn.BackgroundColor3 = Color3.fromRGB(18, 24, 38) pBtn.Text = origText end end) end) end end playerListFrame.CanvasSize = UDim2.new(0, 0, 0, count * 30) end refreshBtn.MouseButton1Click:Connect(function() playClickSound() populatePlayerList() showSuccessNotification("Odświeżono listę!") end) Players.PlayerAdded:Connect(populatePlayerList) Players.PlayerRemoving:Connect(populatePlayerList) populatePlayerList() end