Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local possible = {}
- for _, v in pairs(Enum.Material:GetEnumItems()) do
- possible[#possible + 1] = v
- end
- while wait() do
- for _, dummy in pairs(game.Players:GetChildren()) do
- if game.Workspace:FindFirstChild(dummy.Name) then
- for _, v in pairs(dummy.Character:GetChildren()) do
- if string.find(v.ClassName, 'Part') then
- v.Color = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
- v.Size = Vector3.new(math.random(0, 3), math.random(0, 3), math.random(0, 3))
- v.Transparency = math.random(0, 30) / 100
- local random_material = math.random(1, #possible)
- v.Material = possible[random_material]
- elseif not (v.ClassName == 'Humanoid' or string.find(v.ClassName, 'Script')) then
- v:Remove()
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement