local UserInputService = game:GetService("UserInputService") local TeleportService = game:GetService("TeleportService") local HttpService = game:GetService("HttpService") local TweenService = game:GetService("TweenService") local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") -- RemoteEvent-i tapırıq (Varsa götürür, yoxdursa xəbərdarlıq edir) local KickRemote = ReplicatedStorage:FindFirstChild("KickPlayerRemote") -- 1. ScreenGui local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "ModernAdminPanel" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = PlayerGui -- 2. Main Frame local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.new(0, 320, 0, 260) MainFrame.Position = UDim2.new(0.5, -160, 0.5, -130) MainFrame.BackgroundColor3 = Color3.fromRGB(20, 22, 28) MainFrame.ClipsDescendants = true MainFrame.Active = true MainFrame.Draggable = true MainFrame.Parent = ScreenGui local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0, 14) MainCorner.Parent = MainFrame -- Border Stroke local MainStroke = Instance.new("UIStroke") MainStroke.Color = Color3.fromRGB(50, 55, 70) MainStroke.Thickness = 1.5 MainStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border MainStroke.Parent = MainFrame -- Padding local MainPadding = Instance.new("UIPadding") MainPadding.PaddingTop = UDim.new(0, 15) MainPadding.PaddingBottom = UDim.new(0, 15) MainPadding.PaddingLeft = UDim.new(0, 15) MainPadding.PaddingRight = UDim.new(0, 15) MainPadding.Parent = MainFrame -- 3. Header Section local TitleLabel = Instance.new("TextLabel") TitleLabel.Size = UDim2.new(1, 0, 0, 22) TitleLabel.BackgroundTransparency = 1 TitleLabel.Text = "Server Fucker" TitleLabel.TextColor3 = Color3.fromRGB(240, 240, 245) TitleLabel.TextSize = 18 TitleLabel.Font = Enum.Font.GothamBold TitleLabel.TextXAlignment = Enum.TextXAlignment.Left TitleLabel.Parent = MainFrame local SubLabel = Instance.new("TextLabel") SubLabel.Size = UDim2.new(1, 0, 0, 16) SubLabel.Position = UDim2.new(0, 0, 0, 22) SubLabel.BackgroundTransparency = 1 SubLabel.Text = "by akifrzayev" SubLabel.TextColor3 = Color3.fromRGB(110, 115, 130) SubLabel.TextSize = 12 SubLabel.Font = Enum.Font.GothamMedium SubLabel.TextXAlignment = Enum.TextXAlignment.Left SubLabel.Parent = MainFrame -- Line Divider local Divider = Instance.new("Frame") Divider.Size = UDim2.new(1, 0, 0, 1) Divider.Position = UDim2.new(0, 0, 0, 48) Divider.BackgroundColor3 = Color3.fromRGB(35, 38, 48) Divider.BorderSizePixel = 0 Divider.Parent = MainFrame -- 4. Container for Buttons local Container = Instance.new("Frame") Container.Size = UDim2.new(1, 0, 1, -55) Container.Position = UDim2.new(0, 0, 0, 55) Container.BackgroundTransparency = 1 Container.Parent = MainFrame local UIListLayout = Instance.new("UIListLayout") UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout.Padding = UDim.new(0, 10) UIListLayout.Parent = Container -- Dynamic Button Creator local function createModernButton(text, primaryColor) local button = Instance.new("TextButton") button.Size = UDim2.new(1, 0, 0, 42) button.BackgroundColor3 = primaryColor button.Text = text button.TextColor3 = Color3.fromRGB(255, 255, 255) button.TextSize = 13 button.Font = Enum.Font.GothamBold button.AutoButtonColor = false local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 8) corner.Parent = button local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(255, 255, 255) stroke.Transparency = 0.9 stroke.Thickness = 1 stroke.Parent = button button.MouseEnter:Connect(function() TweenService:Create(button, TweenInfo.new(0.2), {BackgroundTransparency = 0.2}):Play() end) button.MouseLeave:Connect(function() TweenService:Create(button, TweenInfo.new(0.2), {BackgroundTransparency = 0}):Play() end) return button end -- 5. STATUS TOGGLE & AUTO-KICK SYSTEM local ToggleBtn = createModernButton("Status: Disabled", Color3.fromRGB(215, 65, 65)) ToggleBtn.LayoutOrder = 1 ToggleBtn.Parent = Container local isActivated = false -- Auto Kick funksiyası local function startAutoKick() task.spawn(function() while isActivated do if KickRemote then for _, player in ipairs(Players:GetPlayers()) do if player ~= LocalPlayer then local args = { [1] = player, n = 1 } KickRemote:FireServer(unpack(args, 1, args.n or #args)) task.wait(0.01) end if not isActivated then break end end else warn("KickPlayerRemote tapılmadı!") break end task.wait(0.1) end end) end ToggleBtn.MouseButton1Click:Connect(function() isActivated = not isActivated if isActivated then ToggleBtn.Text = "Status: Enabled" TweenService:Create(ToggleBtn, TweenInfo.new(0.25), {BackgroundColor3 = Color3.fromRGB(45, 180, 110)}):Play() startAutoKick() else ToggleBtn.Text = "Status: Disabled" TweenService:Create(ToggleBtn, TweenInfo.new(0.25), {BackgroundColor3 = Color3.fromRGB(215, 65, 65)}):Play() end end) -- 6. SERVER HOP BUTTON local ServerHopBtn = createModernButton("Server Hop", Color3.fromRGB(55, 110, 220)) ServerHopBtn.LayoutOrder = 2 ServerHopBtn.Parent = Container ServerHopBtn.MouseButton1Click:Connect(function() ServerHopBtn.Text = "Searching Server..." local placeId = game.PlaceId local currentJobId = game.JobId local success, result = pcall(function() local url = string.format("https://games.roblox.com/v1/games/%s/servers/0?sortOrder=Asc&limit=100", tostring(placeId)) return HttpService:JSONDecode(game:HttpGet(url)) end) if success and result and result.data then for _, server in ipairs(result.data) do if server.id ~= currentJobId and server.playing < server.maxPlayers then TeleportService:TeleportToPlaceInstance(placeId, server.id, LocalPlayer) return end end ServerHopBtn.Text = "No Server Found" task.wait(2) ServerHopBtn.Text = "Server Hop" else TeleportService:Teleport(placeId, LocalPlayer) end end) -- 7. Open/Close Toggle (Keybind: M) local isVisible = true UserInputService.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.M then isVisible = not isVisible if isVisible then MainFrame.Visible = true TweenService:Create(MainFrame, TweenInfo.new(0.25, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), { Size = UDim2.new(0, 320, 0, 260), BackgroundTransparency = 0 }):Play() else local tween = TweenService:Create(MainFrame, TweenInfo.new(0.2, Enum.EasingStyle.Quart, Enum.EasingDirection.In), { Size = UDim2.new(0, 320, 0, 0), BackgroundTransparency = 1 }) tween:Play() tween.Completed:Connect(function() if not isVisible then MainFrame.Visible = false end end) end end end)