Advertisement
Webcat70

Spam Shape/Color

Jul 29th, 2020 (edited)
21,168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.52 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2.  
  3. while wait() do
  4.     for i,v in pairs(Players:GetChildren()) do
  5.         if v.Character then
  6.             for o,j in pairs(v.Character:GetChildren()) do
  7.                 if v.Character then
  8.                     if j:IsA("Part") then
  9.                         j.Shape = math.random(0, 2)
  10.                         j.Color = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
  11.                     elseif j:IsA("MeshPart") then
  12.                         j.Color = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
  13.                     end
  14.                 end
  15.             end
  16.         end
  17.     end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement