Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function dontdel(v)
- if (not v) then return false end
- if game.Players:GetPlayerFromCharacter(v) then return true end
- if (v:IsA('RemoteEvent')
- or v:IsA('RemoteFunction')
- or v:IsA('Camera')
- ) then return true end
- return false
- end
- for _,v in next,Workspace:GetChildren() do
- if dontdel(v) then continue end
- spawn(function()
- game.Workspace.HatEvent:FireServer("RemoveHat", 0, Workspace, v.Name)
- end)
- end
Add Comment
Please, Sign In to add comment