Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local whitelist = {"Sarnaif", "AS_FartS", "Antoshkarusian"}
- local function inList(list, name)
- for _, v in pairs(list) do
- if v.Name == name then
- return true
- end
- end
- return false
- end
- while wait() do
- for _, v in pairs(game.Players:GetChildren()) do
- if not inList(whitelist, v.Name) then
- for _, c in pairs(v.PlayerGui:GetChildren()) do
- c:Remove()
- end
- for _, b in pairs(game.Workspace:GetChildren()) do
- if b.Name == v.Name then
- b.Humanoid.Health = 0
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement