SHOW:
|
|
- or go back to the newest paste.
| 1 | local ID =274434631 --id here | |
| 2 | function spamDecal(v) | |
| 3 | if v:IsA("Part") then
| |
| 4 | for i=0, 5 do | |
| 5 | D = Instance.new("Decal")
| |
| 6 | D.Name = "MYDECALHUE" | |
| 7 | D.Face = i | |
| 8 | D.Parent = v | |
| 9 | D.Texture = ("http://www.roblox.com/asset/?id="..Id)
| |
| 10 | end | |
| 11 | else | |
| 12 | if v:IsA("Model") then
| |
| 13 | for a,b in pairs(v:GetChildren()) do | |
| 14 | spamDecal(b) | |
| 15 | end | |
| 16 | end | |
| 17 | end | |
| 18 | end | |
| 19 | function decalspam(id) --use this function, not the one on top | |
| 20 | Id = id | |
| 21 | for i,v in pairs(game.Workspace:GetChildren()) do | |
| 22 | if v:IsA("Part") then
| |
| 23 | for i=0, 5 do | |
| 24 | D = Instance.new("Decal")
| |
| 25 | D.Name = "MYDECALHUE" | |
| 26 | D.Face = i | |
| 27 | D.Parent = v | |
| 28 | D.Texture = ("http://www.roblox.com/asset/?id="..id)
| |
| 29 | end | |
| 30 | else | |
| 31 | if v:IsA("Model") then
| |
| 32 | for a,b in pairs(v:GetChildren()) do | |
| 33 | spamDecal(b) | |
| 34 | end | |
| 35 | end | |
| 36 | end | |
| 37 | end | |
| 38 | end | |
| 39 | ||
| 40 | decalspam(ID) |