local Players = game:GetService("Players") local GroupId = 36059399 local StarterGui = game:GetService("StarterGui") local UIS = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "GroupNotifier" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = game.CoreGui local Frame = Instance.new("Frame") Frame.Size = UDim2.new(0, 250, 0, 400) Frame.Position = UDim2.new(0, 0, 0, 100) Frame.BackgroundTransparency = 0.3 Frame.BackgroundColor3 = Color3.fromRGB(45, 45, 45) Frame.BorderSizePixel = 0 Frame.Visible = true Frame.Parent = ScreenGui local TitleLabel = Instance.new("TextLabel") TitleLabel.Size = UDim2.new(0, 250, 0, 50) TitleLabel.Position = UDim2.new(0, 0, 0, 0) TitleLabel.Text = "MODS IN THE SERVER" TitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) TitleLabel.BackgroundTransparency = 1 TitleLabel.Font = Enum.Font.SourceSansBold TitleLabel.TextSize = 24 TitleLabel.Parent = Frame local PlayerList = Instance.new("Frame") PlayerList.Size = UDim2.new(0, 250, 0, 300) PlayerList.Position = UDim2.new(0, 0, 0, 50) PlayerList.BackgroundTransparency = 1 PlayerList.Parent = Frame local ToggleButton = Instance.new("TextButton") ToggleButton.Size = UDim2.new(0, 250, 0, 50) ToggleButton.Position = UDim2.new(0, 0, 0, 350) ToggleButton.Text = "Kick Off" ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleButton.BackgroundColor3 = Color3.fromRGB(30, 30, 30) ToggleButton.Font = Enum.Font.SourceSansBold ToggleButton.TextSize = 18 ToggleButton.Parent = Frame local ToggleGuiButton = Instance.new("TextButton") ToggleGuiButton.Size = UDim2.new(0, 50, 0, 50) ToggleGuiButton.Position = UDim2.new(0, 0, 0, 0) ToggleGuiButton.Text = "Toggle" ToggleGuiButton.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleGuiButton.BackgroundColor3 = Color3.fromRGB(30, 30, 30) ToggleGuiButton.Font = Enum.Font.SourceSansBold ToggleGuiButton.TextSize = 14 ToggleGuiButton.Parent = ScreenGui local function makeDraggable(frame) local dragging, dragInput, dragStart, startPos frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) frame.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then dragInput = input end end) UIS.InputChanged:Connect(function(input) if input == dragInput and dragging then local delta = input.Position - dragStart frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) end makeDraggable(Frame) local kickToggle = false local function updatePlayerList() PlayerList:ClearAllChildren() local yPos = 0 for _, player in ipairs(Players:GetPlayers()) do if player:IsInGroup(GroupId) then local imageLabel = Instance.new("ImageLabel") imageLabel.Size = UDim2.new(0, 50, 0, 50) imageLabel.Position = UDim2.new(0, 5, 0, yPos + 5) imageLabel.Image = "https://www.roblox.com/headshot-thumbnail/image?userId=" .. player.UserId .. "&width=150&height=150&format=png" imageLabel.BackgroundTransparency = 1 imageLabel.Parent = PlayerList local nameLabel = Instance.new("TextLabel") nameLabel.Size = UDim2.new(0, 185, 0, 50) nameLabel.Position = UDim2.new(0, 60, 0, yPos + 5) nameLabel.Text = player.Name nameLabel.TextColor3 = Color3.fromRGB(255, 255, 255) nameLabel.BackgroundTransparency = 1 nameLabel.Font = Enum.Font.SourceSans nameLabel.TextSize = 18 nameLabel.Parent = PlayerList yPos = yPos + 60 if kickToggle then LocalPlayer:Kick("nigger mod joined") end end end end local function onPlayerAdded(player) if player:IsInGroup(GroupId) then StarterGui:SetCore("SendNotification", { Title = "MOD ALERT", Text = player.Name .. " Just joined, leave the game for your safety.", Duration = 5, }) updatePlayerList() end end Players.PlayerAdded:Connect(onPlayerAdded) Players.PlayerRemoving:Connect(updatePlayerList) ToggleGuiButton.MouseButton1Click:Connect(function() Frame.Visible = not Frame.Visible end) ToggleButton.MouseButton1Click:Connect(function() kickToggle = not kickToggle ToggleButton.Text = kickToggle and "Kick On" or "Kick Off" if kickToggle then updatePlayerList() end end) updatePlayerList() for _, player in ipairs(Players:GetPlayers()) do onPlayerAdded(player) end