--[[ KM STUDIO - HIDE AND SEEK EXTREME (ULTIMATE V16 - CLEAN) 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 ReplicatedStorage = game:GetService("ReplicatedStorage") local TextChatService = game:GetService("TextChatService") local Lighting = game:GetService("Lighting") local Camera = workspace.CurrentCamera local LocalizationService = game:GetService("LocalizationService") local player = Players.LocalPlayer or Players:GetPlayers()[1] local playerGui = player.PlayerGui local currentLang = "pl" local translations = { pl = { title = "KM STUDIOS hide and seek Extreme", tab1 = "1 Menu", tab2 = "2 Menu", tab3 = "Ustawienia", killAllOff = "Kill All Hider: OFF", killAllOn = "Kill All Hider: ON", speedPlaceholder = "Wpisz prędkość (np. 32)...", infJumpOff = "Infinite Jump: OFF", infJumpOn = "Infinite Jump: ON", musicPlaceholder = "Wpisz Music ID...", play = "Play", pause = "Pause", stop = "Stop", roleEspOff = "Role ESP: OFF", roleEspOn = "Role ESP: ON", noclipOff = "NoClip: OFF", noclipOn = "NoClip: ON", fovPlaceholder = "Wpisz FOV (np. 90, 120)...", fullbrightOff = "Fullbright: OFF", fullbrightOn = "Fullbright: ON", safeSpot = "TP do Kryjówki w Niebie", godmodeOff = "Godmode (Anti-Death): OFF", godmodeOn = "Godmode (Anti-Death): ON", bhopOff = "Bhop (Auto-Jump): OFF", bhopOn = "Bhop (Auto-Jump): ON", invisOff = "Invisibility: OFF", invisOn = "Invisibility: ON", spinOff = "SpinBot: OFF", spinOn = "SpinBot: ON", hitboxOff = "Hitbox Extender: OFF", hitboxOn = "Hitbox Extender: ON", setDay = "Ustaw na Dzień", setNight = "Ustaw na Noc", resetChar = "Zresetuj Postać", destroyGui = "Usuń Skrypt", copyDiscord = "Skopiuj Info / Discord", langLabel = "Wybierz język / Select Language:", enabled = "Włączono pomyślnie", disabled = "Wyłączono" }, en = { title = "KM STUDIOS hide and seek Extreme", tab1 = "1 Menu", tab2 = "2 Menu", tab3 = "Settings", killAllOff = "Kill All Hider: OFF", killAllOn = "Kill All Hider: ON", speedPlaceholder = "Enter speed (e.g. 32)...", infJumpOff = "Infinite Jump: OFF", infJumpOn = "Infinite Jump: ON", musicPlaceholder = "Enter Music ID...", play = "Play", pause = "Pause", stop = "Stop", roleEspOff = "Role ESP: OFF", roleEspOn = "Role ESP: ON", noclipOff = "NoClip: OFF", noclipOn = "NoClip: ON", fovPlaceholder = "Enter FOV (e.g. 90, 120)...", fullbrightOff = "Fullbright: OFF", fullbrightOn = "Fullbright: ON", safeSpot = "TP to Sky SafeSpot", godmodeOff = "Godmode (Anti-Death): OFF", godmodeOn = "Godmode (Anti-Death): ON", bhopOff = "Bhop (Auto-Jump): OFF", bhopOn = "Bhop (Auto-Jump): ON", invisOff = "Invisibility: OFF", invisOn = "Invisibility: ON", spinOff = "SpinBot: OFF", spinOn = "SpinBot: ON", hitboxOff = "Hitbox Extender: OFF", hitboxOn = "Hitbox Extender: ON", setDay = "Set Day Time", setNight = "Set Night Time", resetChar = "Reset Character", destroyGui = "Destroy GUI", copyDiscord = "Copy Author Info", langLabel = "Select Language / Wybierz język:", enabled = "Successfully Enabled", disabled = "Successfully Disabled" } } pcall(function() local old old = hookmetamethod(game, "__namecall", function(self, ...) local method = getnamecallmethod() if method == "Kick" and self == player then return end return old(self, ...) end) end) if playerGui:FindFirstChild("KMHideSeekGui") then playerGui.KMHideSeekGui:Destroy() end if playerGui:FindFirstChild("KMHideSeekCircle") then playerGui.KMHideSeekCircle:Destroy() end local mainGui = Instance.new("ScreenGui") mainGui.Name = "KMHideSeekGui" mainGui.ResetOnSpawn = false mainGui.Parent = playerGui -- POWIADOMIENIE local function notify(text) local oldPopup = mainGui:FindFirstChild("KMPopup") if oldPopup then oldPopup:Destroy() end local popup = Instance.new("Frame") popup.Name = "KMPopup" popup.Size = UDim2.new(0, 180, 0, 30) popup.Position = UDim2.new(1, -190, 1, -40) popup.BackgroundColor3 = Color3.fromRGB(35, 35, 35) popup.BackgroundTransparency = 0.2 popup.BorderSizePixel = 1 popup.BorderColor3 = Color3.fromRGB(0, 200, 80) popup.ZIndex = 20 popup.Parent = mainGui local pText = Instance.new("TextLabel") pText.Size = UDim2.new(1, 0, 1, 0) pText.BackgroundTransparency = 1 pText.Text = text pText.TextColor3 = Color3.fromRGB(0, 255, 100) pText.Font = Enum.Font.SourceSansBold pText.TextSize = 12 pText.ZIndex = 21 pText.Parent = popup task.spawn(function() task.wait(3) if popup and popup.Parent then TweenService:Create(popup, TweenInfo.new(0.4), {BackgroundTransparency = 1}):Play() TweenService:Create(pText, TweenInfo.new(0.4), {TextTransparency = 1}):Play() task.wait(0.4) popup:Destroy() end end) end -- KÓŁKO KM local circleBtn = Instance.new("TextButton") circleBtn.Name = "KMHideSeekCircle" circleBtn.Size = UDim2.new(0, 50, 0, 50) circleBtn.Position = UDim2.new(0, 20, 0.5, -25) circleBtn.BackgroundColor3 = Color3.fromRGB(35, 35, 35) circleBtn.BackgroundTransparency = 0.2 circleBtn.BorderSizePixel = 0 circleBtn.Text = "KM" circleBtn.TextColor3 = Color3.fromRGB(255, 255, 255) circleBtn.Font = Enum.Font.SourceSansBold circleBtn.TextSize = 16 circleBtn.Active = true circleBtn.Visible = false circleBtn.Parent = mainGui local cCorner = Instance.new("UICorner") cCorner.CornerRadius = UDim.new(1, 0) cCorner.Parent = circleBtn local cStroke = Instance.new("UIStroke") cStroke.Color = Color3.fromRGB(255, 0, 0) cStroke.Thickness = 3 cStroke.Parent = circleBtn task.spawn(function() local hue = 0 while true do hue = (hue + 0.01) % 1 cStroke.Color = Color3.fromHSV(hue, 1, 1) task.wait(0.03) end end) local cDragging, cDragStart, cMoved, cStartPos = false, nil, false, nil circleBtn.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then cDragging = true cMoved = false cDragStart = input.Position cStartPos = circleBtn.Position end end) UserInputService.InputChanged:Connect(function(input) if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) and cDragging then local delta = input.Position - cDragStart if delta.Magnitude > 3 then cMoved = true end circleBtn.Position = UDim2.new(cStartPos.X.Scale, cStartPos.X.Offset + delta.X, cStartPos.Y.Scale, cStartPos.Y.Offset + delta.Y) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then cDragging = false end end) -- GŁÓWNE OKNO local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 320, 0, 280) mainFrame.Position = UDim2.new(0.5, -160, 0.5, -140) mainFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 35) mainFrame.BackgroundTransparency = 0.2 mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.ClipsDescendants = true mainFrame.Parent = mainGui mainFrame.Size = UDim2.new(0, 0, 0, 0) mainFrame.Rotation = -15 TweenService:Create(mainFrame, TweenInfo.new(0.35, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {Size = UDim2.new(0, 320, 0, 280), Rotation = 0}):Play() local mCorner = Instance.new("UICorner") mCorner.CornerRadius = UDim.new(0, 10) mCorner.Parent = mainFrame local mStroke = Instance.new("UIStroke") mStroke.Color = Color3.fromRGB(255, 255, 255) mStroke.Thickness = 2 mStroke.Parent = mainFrame -- PRZECIĄGANIE OKNA Z PRZECHYLEM local topBarDrag = Instance.new("TextButton") topBarDrag.Size = UDim2.new(1, -30, 0, 35) topBarDrag.BackgroundTransparency = 1 topBarDrag.Text = "" topBarDrag.Active = true topBarDrag.ZIndex = 5 topBarDrag.Parent = mainFrame local winDragging, winDragStart, winStartPos = false, nil, nil topBarDrag.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then winDragging = true winDragStart = input.Position winStartPos = mainFrame.Position end end) UserInputService.InputChanged:Connect(function(input) if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) and winDragging then local delta = input.Position - winDragStart mainFrame.Position = UDim2.new(winStartPos.X.Scale, winStartPos.X.Offset + delta.X, winStartPos.Y.Scale, winStartPos.Y.Offset + delta.Y) local targetRotation = math.clamp(delta.X * 0.12, -8, 8) 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 winDragging = false end end) RunService.RenderStepped:Connect(function() if mainFrame.Visible and not winDragging then mainFrame.Rotation = mainFrame.Rotation + (0 - mainFrame.Rotation) * 0.15 end end) -- NAGŁÓWEK local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, -40, 0, 35) titleLabel.Position = UDim2.new(0, 12, 0, 0) titleLabel.BackgroundTransparency = 1 titleLabel.Text = translations[currentLang].title titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.Font = Enum.Font.SourceSansBold titleLabel.TextSize = 13 titleLabel.TextXAlignment = Enum.TextXAlignment.Left titleLabel.ZIndex = 6 titleLabel.Parent = mainFrame local closeBtn = Instance.new("TextButton") closeBtn.Size = UDim2.new(0, 24, 0, 24) closeBtn.Position = UDim2.new(1, -28, 0, 6) 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 = 14 closeBtn.ZIndex = 6 closeBtn.Parent = mainFrame Instance.new("UICorner", closeBtn).CornerRadius = UDim.new(0, 5) -- ZAKŁADKI local tabHolder = Instance.new("Frame") tabHolder.Size = UDim2.new(1, -20, 0, 28) tabHolder.Position = UDim2.new(0, 10, 0, 40) tabHolder.BackgroundTransparency = 1 tabHolder.ZIndex = 4 tabHolder.Parent = mainFrame local tListLayout = Instance.new("UIListLayout") tListLayout.FillDirection = Enum.FillDirection.Horizontal tListLayout.Padding = UDim.new(0, 6) tListLayout.Parent = tabHolder local function createTabButton(name) local btn = Instance.new("TextButton") btn.Size = UDim2.new(0.32, 0, 1, 0) btn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) btn.BackgroundTransparency = 0.3 btn.Text = name btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.Font = Enum.Font.SourceSansBold btn.TextSize = 12 btn.ZIndex = 4 btn.Parent = tabHolder Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6) return btn end local tab1Btn = createTabButton(translations[currentLang].tab1) local tab2Btn = createTabButton(translations[currentLang].tab2) local tab3Btn = createTabButton(translations[currentLang].tab3) local function createContentContainer() local f = Instance.new("ScrollingFrame") f.Size = UDim2.new(1, -20, 1, -85) f.Position = UDim2.new(0, 10, 0, 75) f.BackgroundTransparency = 1 f.BorderSizePixel = 0 f.ClipsDescendants = true f.ScrollBarThickness = 4 f.AutomaticCanvasSize = Enum.AutomaticSize.Y f.CanvasSize = UDim2.new(0, 0, 0, 0) f.Visible = false f.ZIndex = 3 f.Parent = mainFrame local layout = Instance.new("UIListLayout") layout.SortOrder = Enum.SortOrder.LayoutOrder layout.Padding = UDim.new(0, 6) layout.Parent = f return f end local content1 = createContentContainer() content1.Visible = true local content2 = createContentContainer() local content3 = createContentContainer() tab1Btn.MouseButton1Click:Connect(function() content1.Visible = true content2.Visible = false content3.Visible = false end) tab2Btn.MouseButton1Click:Connect(function() content1.Visible = false content2.Visible = true content3.Visible = false end) tab3Btn.MouseButton1Click:Connect(function() content1.Visible = false content2.Visible = false content3.Visible = true end) -- ========================================== -- ZAWARTOŚĆ 1 MENU -- ========================================== local killAllBtn = Instance.new("TextButton") killAllBtn.Size = UDim2.new(1, 0, 0, 36) killAllBtn.LayoutOrder = 1 killAllBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 220) killAllBtn.BackgroundTransparency = 0.2 killAllBtn.Text = translations[currentLang].killAllOff killAllBtn.TextColor3 = Color3.fromRGB(255, 255, 255) killAllBtn.Font = Enum.Font.SourceSansBold killAllBtn.TextSize = 13 killAllBtn.ZIndex = 3 killAllBtn.Parent = content1 Instance.new("UICorner", killAllBtn).CornerRadius = UDim.new(0, 6) local killAllActive = false killAllBtn.MouseButton1Click:Connect(function() killAllActive = not killAllActive if killAllActive then TweenService:Create(killAllBtn, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 200, 80)}):Play() killAllBtn.Text = translations[currentLang].killAllOn notify(translations[currentLang].enabled) task.spawn(function() local char = player.Character local root = char and char:FindFirstChild("HumanoidRootPart") if not root then return end local originalCFrame = root.CFrame while killAllActive do for _, p in ipairs(Players:GetPlayers()) do if not killAllActive then break end if p ~= player and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then local targetRoot = p.Character.HumanoidRootPart local isTargetIt = false pcall(function() if p.Character:FindFirstChild("Knife") or (p.Team and p.Team.Name == "It") then isTargetIt = true end end) if not isTargetIt then root.CFrame = targetRoot.CFrame * CFrame.new(0, 0, 1.5) task.wait(0.2) end end end task.wait(0.5) end if root and root.Parent then root.CFrame = originalCFrame end end) else TweenService:Create(killAllBtn, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 100, 220)}):Play() killAllBtn.Text = translations[currentLang].killAllOff notify(translations[currentLang].disabled) end end) local speedBox = Instance.new("TextBox") speedBox.Size = UDim2.new(1, 0, 0, 36) speedBox.LayoutOrder = 2 speedBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50) speedBox.BackgroundTransparency = 0.3 speedBox.PlaceholderText = translations[currentLang].speedPlaceholder speedBox.Text = "" speedBox.TextColor3 = Color3.fromRGB(255, 255, 255) speedBox.Font = Enum.Font.SourceSansBold speedBox.TextSize = 13 speedBox.ZIndex = 3 speedBox.Parent = content1 Instance.new("UICorner", speedBox).CornerRadius = UDim.new(0, 6) local customSpeed = 16 speedBox.FocusLost:Connect(function() local val = tonumber(speedBox.Text) if val then customSpeed = val notify("Speed set to: " .. val) end end) RunService.Heartbeat:Connect(function() if player.Character and player.Character:FindFirstChildOfClass("Humanoid") then if speedBox.Text ~= "" and tonumber(speedBox.Text) then player.Character:FindFirstChildOfClass("Humanoid").WalkSpeed = customSpeed end end end) local infJumpBtn = Instance.new("TextButton") infJumpBtn.Size = UDim2.new(1, 0, 0, 36) infJumpBtn.LayoutOrder = 3 infJumpBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 220) infJumpBtn.BackgroundTransparency = 0.2 infJumpBtn.Text = translations[currentLang].infJumpOff infJumpBtn.TextColor3 = Color3.fromRGB(255, 255, 255) infJumpBtn.Font = Enum.Font.SourceSansBold infJumpBtn.TextSize = 13 infJumpBtn.ZIndex = 3 infJumpBtn.Parent = content1 Instance.new("UICorner", infJumpBtn).CornerRadius = UDim.new(0, 6) local infJumpActive = false infJumpBtn.MouseButton1Click:Connect(function() infJumpActive = not infJumpActive if infJumpActive then TweenService:Create(infJumpBtn, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 200, 80)}):Play() infJumpBtn.Text = translations[currentLang].infJumpOn notify(translations[currentLang].enabled) else TweenService:Create(infJumpBtn, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 100, 220)}):Play() infJumpBtn.Text = translations[currentLang].infJumpOff notify(translations[currentLang].disabled) end end) UserInputService.JumpRequest:Connect(function() if infJumpActive and player.Character then local hum = player.Character:FindFirstChildOfClass("Humanoid") if hum then hum:ChangeState(Enum.HumanoidStateType.Jumping) end end end) local musicBox = Instance.new("TextBox") musicBox.Size = UDim2.new(1, 0, 0, 32) musicBox.LayoutOrder = 4 musicBox.BackgroundColor3 = Color3.fromRGB(40, 40, 40) musicBox.BackgroundTransparency = 0.3 musicBox.PlaceholderText = translations[currentLang].musicPlaceholder musicBox.Text = "" musicBox.TextColor3 = Color3.fromRGB(255, 255, 255) musicBox.Font = Enum.Font.SourceSansBold musicBox.TextSize = 12 musicBox.ZIndex = 3 musicBox.Parent = content1 Instance.new("UICorner", musicBox).CornerRadius = UDim.new(0, 6) local musicHolder = Instance.new("Frame") musicHolder.Size = UDim2.new(1, 0, 0, 28) musicHolder.LayoutOrder = 5 musicHolder.BackgroundTransparency = 1 musicHolder.ZIndex = 3 musicHolder.Parent = content1 local playMusicBtn = Instance.new("TextButton") playMusicBtn.Size = UDim2.new(0.32, 0, 1, 0) playMusicBtn.BackgroundColor3 = Color3.fromRGB(0, 140, 255) playMusicBtn.BackgroundTransparency = 0.2 playMusicBtn.Text = translations[currentLang].play playMusicBtn.TextColor3 = Color3.fromRGB(255, 255, 255) playMusicBtn.Font = Enum.Font.SourceSansBold playMusicBtn.TextSize = 11 playMusicBtn.ZIndex = 3 playMusicBtn.Parent = musicHolder Instance.new("UICorner", playMusicBtn).CornerRadius = UDim.new(0, 5) local pauseMusicBtn = Instance.new("TextButton") pauseMusicBtn.Size = UDim2.new(0.32, 0, 1, 0) pauseMusicBtn.Position = UDim2.new(0.34, 0, 0, 0) pauseMusicBtn.BackgroundColor3 = Color3.fromRGB(200, 140, 0) pauseMusicBtn.BackgroundTransparency = 0.2 pauseMusicBtn.Text = translations[currentLang].pause pauseMusicBtn.TextColor3 = Color3.fromRGB(255, 255, 255) pauseMusicBtn.Font = Enum.Font.SourceSansBold pauseMusicBtn.TextSize = 11 pauseMusicBtn.ZIndex = 3 pauseMusicBtn.Parent = musicHolder Instance.new("UICorner", pauseMusicBtn).CornerRadius = UDim.new(0, 5) local stopMusicBtn = Instance.new("TextButton") stopMusicBtn.Size = UDim2.new(0.32, 0, 1, 0) stopMusicBtn.Position = UDim2.new(0.68, 0, 0, 0) stopMusicBtn.BackgroundColor3 = Color3.fromRGB(200, 40, 40) stopMusicBtn.BackgroundTransparency = 0.2 stopMusicBtn.Text = translations[currentLang].stop stopMusicBtn.TextColor3 = Color3.fromRGB(255, 255, 255) stopMusicBtn.Font = Enum.Font.SourceSansBold stopMusicBtn.TextSize = 11 stopMusicBtn.ZIndex = 3 stopMusicBtn.Parent = musicHolder Instance.new("UICorner", stopMusicBtn).CornerRadius = UDim.new(0, 5) local customSoundInstance = nil playMusicBtn.MouseButton1Click:Connect(function() local soundId = tonumber(musicBox.Text) if not soundId then return end if not customSoundInstance then customSoundInstance = Instance.new("Sound") customSoundInstance.Looped = true customSoundInstance.Parent = SoundService end customSoundInstance.SoundId = "rbxassetid://" .. soundId customSoundInstance.Volume = 1 customSoundInstance:Play() notify("Music Playing!") end) pauseMusicBtn.MouseButton1Click:Connect(function() if customSoundInstance then if customSoundInstance.IsPlaying then customSoundInstance:Pause() notify("Music Paused") else customSoundInstance:Resume() notify("Music Resumed") end end end) stopMusicBtn.MouseButton1Click:Connect(function() if customSoundInstance then customSoundInstance:Stop() notify("Music Stopped") end end) -- ROLE ESP local roleEspBtn = Instance.new("TextButton") roleEspBtn.Size = UDim2.new(1, 0, 0, 36) roleEspBtn.LayoutOrder = 6 roleEspBtn.BackgroundColor3 = Color3.fromRGB(0, 100, 220) roleEspBtn.BackgroundTransparency = 0.2 roleEspBtn.Text = translations[currentLang].roleEspOff roleEspBtn.TextColor3 = Color3.fromRGB(255, 255, 255) roleEspBtn.Font = Enum.Font.SourceSansBold roleEspBtn.TextSize = 13 roleEspBtn.ZIndex = 3 roleEspBtn.Parent = content1 Instance.new("UICorner", roleEspBtn).CornerRadius = UDim.new(0, 6) local roleEspActive = false roleEspBtn.MouseButton1Click:Connect(function() roleEspActive = not roleEspActive if roleEspActive then TweenService:Create(roleEspBtn, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 200, 80)}):Play() roleEspBtn.Text = translations[currentLang].roleEspOn notify(translations[currentLang].enabled) else TweenService:Create(roleEspBtn, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 100, 220)}):Play() roleEspBtn.Text = translations[currentLang].roleEspOff notify(translations[currentLang].disabled) for _, p in ipairs(Players:GetPlayers()) do if p.Character and p.Character:FindFirstChild("KM_RoleESP") then p.Character.KM_RoleESP:Destroy() end end end end) RunService.Heartbeat:Connect(function() if roleEspActive then for _, p in ipairs(Players:GetPlayers()) do if p ~= player and p.Character then local char = p.Character local hl = char:FindFirstChild("KM_RoleESP") if not hl then hl = Instance.new("Highlight") hl.Name = "KM_RoleESP" hl.Adornee = char hl.FillTransparency = 0.5 hl.OutlineTransparency = 0 hl.Parent = char end local isIt = false pcall(function() if char:FindFirstChild("Knife") or (p.Team and p.Team.Name == "It") then isIt = true end end) if isIt then hl.FillColor = Color3.fromRGB(255, 0, 0) hl.OutlineColor = Color3.fromRGB(255, 255, 255) else hl.FillColor = Color3.fromRGB(0, 255, 0) hl.OutlineColor = Color3.fromRGB(255, 255, 255) end end end end end) -- ========================================== -- ZAWARTOŚĆ 2 MENU -- ========================================== local function createMenu2Button(order, textOff, textOn, callback) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, 0, 0, 36) btn.LayoutOrder = order btn.BackgroundColor3 = Color3.fromRGB(0, 100, 220) btn.BackgroundTransparency = 0.2 btn.Text = textOff btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.Font = Enum.Font.SourceSansBold btn.TextSize = 13 btn.ZIndex = 3 btn.Parent = content2 Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6) local active = false btn.MouseButton1Click:Connect(function() active = not active if active then TweenService:Create(btn, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 200, 80)}):Play() btn.Text = textOn notify(translations[currentLang].enabled) else TweenService:Create(btn, TweenInfo.new(0.2), {BackgroundColor3 = Color3.fromRGB(0, 100, 220)}):Play() btn.Text = textOff notify(translations[currentLang].disabled) end callback(active, btn) end) return btn end local noclipActive = false createMenu2Button(1, "NoClip: OFF", "NoClip: ON", function(state) noclipActive = state end) RunService.Stepped:Connect(function() if noclipActive and player.Character then for _, part in ipairs(player.Character:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end end) local fovBox = Instance.new("TextBox") fovBox.Size = UDim2.new(1, 0, 0, 36) fovBox.LayoutOrder = 2 fovBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50) fovBox.BackgroundTransparency = 0.3 fovBox.PlaceholderText = translations[currentLang].fovPlaceholder fovBox.Text = "" fovBox.TextColor3 = Color3.fromRGB(255, 255, 255) fovBox.Font = Enum.Font.SourceSansBold fovBox.TextSize = 13 fovBox.ZIndex = 3 fovBox.Parent = content2 Instance.new("UICorner", fovBox).CornerRadius = UDim.new(0, 6) fovBox.FocusLost:Connect(function() local val = tonumber(fovBox.Text) if val and Camera then Camera.FieldOfView = val notify("FOV set to: " .. val) end end) local fbActive = false createMenu2Button(3, "Fullbright: OFF", "Fullbright: ON", function(state) fbActive = state if fbActive then Lighting.Brightness = 2 Lighting.ClockTime = 14 Lighting.GlobalShadows = false else Lighting.Brightness = 1 Lighting.GlobalShadows = true end end) local tpSafeBtn = Instance.new("TextButton") tpSafeBtn.Size = UDim2.new(1, 0, 0, 36) tpSafeBtn.LayoutOrder = 4 tpSafeBtn.BackgroundColor3 = Color3.fromRGB(0, 140, 255) tpSafeBtn.BackgroundTransparency = 0.2 tpSafeBtn.Text = translations[currentLang].safeSpot tpSafeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) tpSafeBtn.Font = Enum.Font.SourceSansBold tpSafeBtn.TextSize = 13 tpSafeBtn.ZIndex = 3 tpSafeBtn.Parent = content2 Instance.new("UICorner", tpSafeBtn).CornerRadius = UDim.new(0, 6) tpSafeBtn.MouseButton1Click:Connect(function() local char = player.Character local root = char and char:FindFirstChild("HumanoidRootPart") if root then root.CFrame = CFrame.new(0, 300, 0) notify("Teleported to Sky SafeSpot!") end end) createMenu2Button(5, "Godmode (Anti-Death): OFF", "Godmode (Anti-Death): ON", function(state) if player.Character and player.Character:FindFirstChildOfClass("Humanoid") then player.Character:FindFirstChildOfClass("Humanoid").MaxHealth = state and math.huge or 100 player.Character:FindFirstChildOfClass("Humanoid").Health = state and math.huge or 100 end end) local bhopActive = false createMenu2Button(6, "Bhop (Auto-Jump): OFF", "Bhop (Auto-Jump): ON", function(state) bhopActive = state end) RunService.Heartbeat:Connect(function() if bhopActive and player.Character then local hum = player.Character:FindFirstChildOfClass("Humanoid") if hum and hum.FloorMaterial ~= Enum.Material.Air then hum:ChangeState(Enum.HumanoidStateType.Jumping) end end end) createMenu2Button(7, "Invisibility: OFF", "Invisibility: ON", function(state) if player.Character then for _, part in ipairs(player.Character:GetDescendants()) do if part:IsA("BasePart") or part:IsA("Decal") then part.Transparency = state and 1 or 0 end end end end) local spinActive = false createMenu2Button(8, "SpinBot: OFF", "SpinBot: ON", function(state) spinActive = state end) RunService.RenderStepped:Connect(function() if spinActive and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then player.Character.HumanoidRootPart.CFrame = player.Character.HumanoidRootPart.CFrame * CFrame.Angles(0, math.rad(35), 0) end end) local hitboxActive = false createMenu2Button(9, "Hitbox Extender: OFF", "Hitbox Extender: ON", function(state) hitboxActive = state end) RunService.Heartbeat:Connect(function() if hitboxActive then for _, p in ipairs(Players:GetPlayers()) do if p ~= player and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then p.Character.HumanoidRootPart.Size = Vector3.new(5, 5, 5) p.Character.HumanoidRootPart.Transparency = 0.7 p.Character.HumanoidRootPart.CanCollide = false end end end end) -- ========================================== -- ZAWARTOŚĆ 3 MENU (Ustawienia + Statystyki + Flaga + Ikony) -- ========================================== local statsFrame = Instance.new("Frame") statsFrame.Size = UDim2.new(1, 0, 0, 75) statsFrame.LayoutOrder = 1 statsFrame.BackgroundColor3 = Color3.fromRGB(45, 45, 45) statsFrame.BackgroundTransparency = 0.3 statsFrame.BorderSizePixel = 0 statsFrame.ZIndex = 3 statsFrame.Parent = content3 Instance.new("UICorner", statsFrame).CornerRadius = UDim.new(0, 6) -- IKONA FPS W KWADRACIE local fpsIconBox = Instance.new("Frame") fpsIconBox.Size = UDim2.new(0, 20, 0, 20) fpsIconBox.Position = UDim2.new(0, 8, 0, 7) fpsIconBox.BackgroundColor3 = Color3.fromRGB(0, 200, 100) fpsIconBox.BorderSizePixel = 0 fpsIconBox.ZIndex = 4 fpsIconBox.Parent = statsFrame Instance.new("UICorner", fpsIconBox).CornerRadius = UDim.new(0, 4) local fpsIconSymbol = Instance.new("TextLabel") fpsIconSymbol.Size = UDim2.new(1, 0, 1, 0) fpsIconSymbol.BackgroundTransparency = 1 fpsIconSymbol.Text = "⚡" fpsIconSymbol.TextColor3 = Color3.fromRGB(255, 255, 255) fpsIconSymbol.TextSize = 10 fpsIconSymbol.ZIndex = 5 fpsIconSymbol.Parent = fpsIconBox local fpsLabel = Instance.new("TextLabel") fpsLabel.Size = UDim2.new(0.5, -30, 0.5, 0) fpsLabel.Position = UDim2.new(0, 32, 0, 5) fpsLabel.BackgroundTransparency = 1 fpsLabel.Text = "FPS: 60" fpsLabel.TextColor3 = Color3.fromRGB(0, 255, 100) fpsLabel.Font = Enum.Font.SourceSansBold fpsLabel.TextSize = 12 fpsLabel.TextXAlignment = Enum.TextXAlignment.Left fpsLabel.ZIndex = 4 fpsLabel.Parent = statsFrame local pingLabel = Instance.new("TextLabel") pingLabel.Size = UDim2.new(0.5, -5, 0.5, 0) pingLabel.Position = UDim2.new(0.5, 0, 0, 5) pingLabel.BackgroundTransparency = 1 pingLabel.Text = "Ping: 0 ms" pingLabel.TextColor3 = Color3.fromRGB(255, 200, 0) pingLabel.Font = Enum.Font.SourceSansBold pingLabel.TextSize = 12 pingLabel.TextXAlignment = Enum.TextXAlignment.Left pingLabel.ZIndex = 4 pingLabel.Parent = statsFrame -- IKONA LUDZIKA OBOK GRACZY local playerIconBox = Instance.new("Frame") playerIconBox.Size = UDim2.new(0, 20, 0, 20) playerIconBox.Position = UDim2.new(0, 8, 0.5, 10) playerIconBox.BackgroundColor3 = Color3.fromRGB(230, 205, 110) playerIconBox.BorderSizePixel = 0 playerIconBox.ZIndex = 4 playerIconBox.Parent = statsFrame Instance.new("UICorner", playerIconBox).CornerRadius = UDim.new(0, 4) local eye1 = Instance.new("Frame") eye1.Size = UDim2.new(0, 2, 0, 4) eye1.Position = UDim2.new(0, 4, 0, 5) eye1.BackgroundColor3 = Color3.fromRGB(40, 40, 40) eye1.BorderSizePixel = 0 eye1.ZIndex = 5 eye1.Parent = playerIconBox local eye2 = Instance.new("Frame") eye2.Size = UDim2.new(0, 2, 0, 4) eye2.Position = UDim2.new(0, 14, 0, 5) eye2.BackgroundColor3 = Color3.fromRGB(40, 40, 40) eye2.BorderSizePixel = 0 eye2.ZIndex = 5 eye2.Parent = playerIconBox local smile = Instance.new("Frame") smile.Size = UDim2.new(0, 10, 0, 3) smile.Position = UDim2.new(0, 5, 0, 12) smile.BackgroundColor3 = Color3.fromRGB(40, 40, 40) smile.BorderSizePixel = 0 smile.ZIndex = 5 smile.Parent = playerIconBox Instance.new("UICorner", smile).CornerRadius = UDim.new(1, 0) local playersLabel = Instance.new("TextLabel") playersLabel.Size = UDim2.new(0.5, -30, 0.5, 0) playersLabel.Position = UDim2.new(0, 32, 0.5, 0) playersLabel.BackgroundTransparency = 1 playersLabel.Text = "Players: 0/0" playersLabel.TextColor3 = Color3.fromRGB(255, 255, 255) playersLabel.Font = Enum.Font.SourceSansBold playersLabel.TextSize = 12 playersLabel.TextXAlignment = Enum.TextXAlignment.Left playersLabel.ZIndex = 4 playersLabel.Parent = statsFrame -- REGION Z FLAGĄ KRAJU local regionLabel = Instance.new("TextLabel") regionLabel.Size = UDim2.new(0.5, -5, 0.5, 0) regionLabel.Position = UDim2.new(0.5, 0, 0.5, 0) regionLabel.BackgroundTransparency = 1 local locale = "" pcall(function() locale = LocalizationService.RobloxLocaleId end) local countryText = (locale:find("pl") or locale:find("PL")) and "[PL] Polska" or "[EU] Europa" regionLabel.Text = "Region: " .. countryText regionLabel.TextColor3 = Color3.fromRGB(0, 170, 255) regionLabel.Font = Enum.Font.SourceSansBold regionLabel.TextSize = 11 regionLabel.TextXAlignment = Enum.TextXAlignment.Left regionLabel.ZIndex = 4 regionLabel.Parent = statsFrame local lastTick = tick() local frameCount = 0 RunService.RenderStepped:Connect(function() frameCount = frameCount + 1 if tick() - lastTick >= 1 then local fps = math.floor(frameCount / (tick() - lastTick)) fpsLabel.Text = "FPS: " .. fps frameCount = 0 lastTick = tick() local ping = 0 pcall(function() ping = math.floor(player:GetNetworkPing() * 1000) end) pingLabel.Text = "Ping: " .. ping .. " ms" playersLabel.Text = "Players: " .. #Players:GetPlayers() .. "/" .. Players.MaxPlayers end end) local langLabel = Instance.new("TextLabel") langLabel.Size = UDim2.new(1, 0, 0, 25) langLabel.LayoutOrder = 2 langLabel.BackgroundTransparency = 1 langLabel.Text = translations[currentLang].langLabel langLabel.TextColor3 = Color3.fromRGB(255, 255, 255) langLabel.Font = Enum.Font.SourceSansBold langLabel.TextSize = 12 langLabel.TextXAlignment = Enum.TextXAlignment.Left langLabel.ZIndex = 3 langLabel.Parent = content3 local langHolder = Instance.new("Frame") langHolder.Size = UDim2.new(1, 0, 0, 36) langHolder.LayoutOrder = 3 langHolder.BackgroundTransparency = 1 langHolder.ZIndex = 3 langHolder.Parent = content3 local plBtn = Instance.new("TextButton") plBtn.Size = UDim2.new(0.48, 0, 1, 0) plBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 80) plBtn.BackgroundTransparency = 0.2 plBtn.Text = "Polski (PL)" plBtn.TextColor3 = Color3.fromRGB(255, 255, 255) plBtn.Font = Enum.Font.SourceSansBold plBtn.TextSize = 13 plBtn.ZIndex = 3 plBtn.Parent = langHolder Instance.new("UICorner", plBtn).CornerRadius = UDim.new(0, 6) local enBtn = Instance.new("TextButton") enBtn.Size = UDim2.new(0.48, 0, 1, 0) enBtn.Position = UDim2.new(0.52, 0, 0, 0) enBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) enBtn.BackgroundTransparency = 0.3 enBtn.Text = "English (EN)" enBtn.TextColor3 = Color3.fromRGB(255, 255, 255) enBtn.Font = Enum.Font.SourceSansBold enBtn.TextSize = 13 enBtn.ZIndex = 3 enBtn.Parent = langHolder Instance.new("UICorner", enBtn).CornerRadius = UDim.new(0, 6) local function createSettingsButton(order, text, callback) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, 0, 0, 36) btn.LayoutOrder = order btn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) btn.BackgroundTransparency = 0.3 btn.Text = text btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.Font = Enum.Font.SourceSansBold btn.TextSize = 13 btn.ZIndex = 3 btn.Parent = content3 Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6) btn.MouseButton1Click:Connect(function() callback() end) return btn end local dayBtn = createSettingsButton(4, translations[currentLang].setDay, function() Lighting.ClockTime = 14 notify("Time set to Day") end) local nightBtn = createSettingsButton(5, translations[currentLang].setNight, function() Lighting.ClockTime = 0 notify("Time set to Night") end) local resetBtn = createSettingsButton(6, translations[currentLang].resetChar, function() if player.Character and player.Character:FindFirstChildOfClass("Humanoid") then player.Character:FindFirstChildOfClass("Humanoid").Health = 0 notify("Character Reset") end end) local copyBtn = createSettingsButton(7, translations[currentLang].copyDiscord, function() pcall(function() setclipboard("KM STUDIO - Created by Kami_ytt") end) notify("Copied Creator Info to clipboard!") end) local destroyBtn = createSettingsButton(8, translations[currentLang].destroyGui, function() mainGui:Destroy() circleBtn:Destroy() notify("KM Studio Destroyed") end) local function changeLanguage(lang) currentLang = lang if lang == "pl" then plBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 80) enBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) notify("Zmieniono język na Polski") else enBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 80) plBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50) notify("Language changed to English") end titleLabel.Text = translations[currentLang].title tab1Btn.Text = translations[currentLang].tab1 tab2Btn.Text = translations[currentLang].tab2 tab3Btn.Text = translations[currentLang].tab3 killAllBtn.Text = killAllActive and translations[currentLang].killAllOn or translations[currentLang].killAllOff speedBox.PlaceholderText = translations[currentLang].speedPlaceholder infJumpBtn.Text = infJumpActive and translations[currentLang].infJumpOn or translations[currentLang].infJumpOff musicBox.PlaceholderText = translations[currentLang].musicPlaceholder playMusicBtn.Text = translations[currentLang].play pauseMusicBtn.Text = translations[currentLang].pause stopMusicBtn.Text = translations[currentLang].stop roleEspBtn.Text = roleEspActive and translations[currentLang].roleEspOn or translations[currentLang].roleEspOff dayBtn.Text = translations[currentLang].setDay nightBtn.Text = translations[currentLang].setNight resetBtn.Text = translations[currentLang].resetChar copyBtn.Text = translations[currentLang].copyDiscord destroyBtn.Text = translations[currentLang].destroyGui langLabel.Text = translations[currentLang].langLabel end plBtn.MouseButton1Click:Connect(function() changeLanguage("pl") end) enBtn.MouseButton1Click:Connect(function() changeLanguage("en") end) -- CHAT ANNOUNCER task.spawn(function() for _, p in ipairs(Players:GetPlayers()) do p.Chatted:Connect(function(msg) if p ~= player then pcall(function() if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then local generalChannel = TextChatService.TextChannels:FindFirstChild("RBXGeneral") if generalChannel then generalChannel:SendAsync("[KM Studio] script is active!") end else ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("[KM Studio] Best Hide & Seek Script!", "All") end end) end end) end end) -- ZAMYKANIE I OTWIERANIE MENU local function animateClose() local tw = TweenService:Create(mainFrame, TweenInfo.new(0.3, Enum.EasingStyle.Back, Enum.EasingDirection.In), {Size = UDim2.new(0, 0, 0, 0), BackgroundTransparency = 1, Position = UDim2.new(0.5, 0, 0.5, 0)}) tw:Play() tw.Completed:Connect(function() mainFrame.Visible = false mainFrame.Size = UDim2.new(0, 320, 0, 280) mainFrame.Position = UDim2.new(0.5, -160, 0.5, -140) mainFrame.BackgroundTransparency = 0.2 circleBtn.Visible = true notify("Menu zamknięte") end) end local function animateOpen() if cMoved then return end circleBtn.Visible = false mainFrame.Visible = true mainFrame.Size = UDim2.new(0, 0, 0, 0) mainFrame.Position = UDim2.new(0.5, 0, 0.5, 0) mainFrame.Rotation = -15 local tw = TweenService:Create(mainFrame, TweenInfo.new(0.35, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {Size = UDim2.new(0, 320, 0, 280), Position = UDim2.new(0.5, -160, 0.5, -140), Rotation = 0}) tw:Play() notify("Menu otwarte") end closeBtn.MouseButton1Click:Connect(animateClose) circleBtn.MouseButton1Click:Connect(animateOpen) notify("KM Studio załadowane pomyślnie!")