1234local Players = game:GetService("Players")5local Workspace = game:GetService("Workspace")67local player = Players.LocalPlayer89local gui = Instance.new("ScreenGui")10gui.Name = "NoobKiller"11gui.ResetOnSpawn = false12gui.Parent = player:WaitForChild("PlayerGui")1314local frame = Instance.new("Frame")15frame.Size = UDim2.new(0, 190, 0, 70)16frame.Position = UDim2.new(0.5, -95, 0.5, -35)17frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)18frame.BorderSizePixel = 019frame.Active = true20frame.Draggable = true21frame.Parent = gui2223local corner = Instance.new("UICorner")24corner.CornerRadius = UDim.new(0, 10)25corner.Parent = frame2627local title = Instance.new("TextLabel")28title.Size = UDim2.new(1, 0, 0, 28)29title.BackgroundTransparency = 130title.Text = "NOOB KILLER"31title.TextColor3 = Color3.fromRGB(255, 255, 255)32title.TextSize = 1633title.Font = Enum.Font.GothamBold34title.Parent = frame3536local toggle = Instance.new("TextButton")37toggle.Size = UDim2.new(1, -20, 0, 30)38toggle.Position = UDim2.new(0, 10, 0, 32)39toggle.BackgroundColor3 = Color3.fromRGB(170, 45, 45)40toggle.BorderSizePixel = 041toggle.Text = "OFF"42toggle.TextColor3 = Color3.fromRGB(255, 255, 255)43toggle.TextSize = 1444toggle.Font = Enum.Font.GothamBold45toggle.Parent = frame4647local toggleCorner = Instance.new("UICorner")48toggleCorner.CornerRadius = UDim.new(0, 7)49toggleCorner.Parent = toggle5051local enabled = false5253local function isNoobFolder(instance)54 if not instance:IsA("Folder") then55 return false56 end5758 local name = instance.Name:lower()5960 return name == "allnoobs" or name:find("noob", 1, true) ~= nil61end6263local function killNoobs()64 for _, object in ipairs(Workspace:GetDescendants()) do65 if isNoobFolder(object) then66 for _, descendant in ipairs(object:GetDescendants()) do67 if descendant:IsA("Humanoid") then68 descendant.Health = 069 end70 end71 end72 end73end7475toggle.MouseButton1Click:Connect(function()76 enabled = not enabled7778 if enabled then79 toggle.Text = "ON"80 toggle.BackgroundColor3 = Color3.fromRGB(45, 170, 75)81 killNoobs()82 else83 toggle.Text = "OFF"84 toggle.BackgroundColor3 = Color3.fromRGB(170, 45, 45)85 end86end)8788task.spawn(function()89 while gui.Parent do90 if enabled then91 killNoobs()92 end9394 task.wait(0.15)95 end96end)
Comments
Loading comments…