SHARE
TWEET

ebobo2

a guest Jun 17th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local possible = {}
  2.  
  3. for _, v in pairs(Enum.Material:GetEnumItems()) do
  4.     possible[#possible + 1] = v
  5. end
  6.  
  7. while wait() do
  8. for _, dummy in pairs(game.Players:GetChildren()) do
  9. if game.Workspace:FindFirstChild(dummy.Name) then
  10.         for _, v in pairs(dummy.Character:GetChildren()) do
  11.             if string.find(v.ClassName, 'Part') then
  12.                 v.Color = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
  13.                 v.Size = Vector3.new(math.random(0, 3), math.random(0, 3), math.random(0, 3))
  14.                 v.Transparency = math.random(0, 30) / 100
  15.                 local random_material = math.random(1, #possible)
  16.                 v.Material = possible[random_material]
  17.             elseif not (v.ClassName == 'Humanoid' or string.find(v.ClassName, 'Script')) then
  18.                 v:Remove()
  19.             end
  20.         end
  21. end
  22. end
  23. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top