Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i,v in pairs (game.Workspace:GetChildren()) do
- gh=math.random(0,255)
- dh=math.random(0,255)
- mh=math.random(0,255)
- if v.ClassName == "Part" then
- v.Material = "Concrete"
- if math.random(1,2) ==1 then
- v.Color = Color3.fromRGB(gh,mh,dh)
- v.Material = "Concrete"
- else
- v.Color = Color3.fromRGB(gh,mh,dh)
- end
- end
- if v.ClassName == "Model" then
- for i,u in pairs (v:GetChildren()) do
- gh=math.random(0,255)
- dh=math.random(0,255)
- mh=math.random(0,255)
- if u.ClassName == "Part" then
- if math.random(1,2) ==1 then
- u.Color = Color3.fromRGB(gh,mh,dh)
- u.Material = "Concrete"
- else
- u.Color = Color3.fromRGB(gh,mh,dh)
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement