View difference between Paste ID: yhaBcqgs and d56eg7r9
SHOW: | | - or go back to the newest paste.
1
for i,v in next,workspace:children''do
2
  if(v:IsA'BasePart')then
3
    me=v;
4
    bbg=Instance.new('BillboardGui',me);
5
    bbg.Name='stuf';
6
    bbg.Adornee=me;
7
    bbg.Size=UDim2.new(2.5,0,2.5,0)
8
    --bbg.StudsOffset=Vector3.new(0,2,0)
9
    tlb=Instance.new'TextLabel';
10
    tlb.Text='666 666 666 666 666 666';
11
    tlb.Font='SourceSansBold';
12
    tlb.FontSize='Size48';
13
    tlb.TextColor3=Color3.new(1,0,0);
14
    tlb.Size=UDim2.new(1.25,0,1.25,0);
15
    tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
16
    tlb.BackgroundTransparency=1;
17
    tlb.Parent=bbg;
18
    end;end;
19
      function xds(dd)
20
        for i,v in next,dd:children''do
21
          if(v:IsA'BasePart')then
22
            v.BrickColor=BrickColor.new'Really black';
23
            v.TopSurface='Smooth';
24
            v.BottomSurface='Smooth';
25
            s=Instance.new('SelectionBox',v);
26
            s.Adornee=v;
27
            s.Color=BrickColor.new'Really red';
28
            a=Instance.new('PointLight',v);
29
            a.Color=Color3.new(1,0,0);
30
            a.Range=15;
31
            a.Brightness=5;
32
            f=Instance.new('Fire',v);
33
            f.Size=19;
34
            f.Heat=22;
35
            end;
36
            game.Lighting.TimeOfDay=0;
37
            game.Lighting.Brightness=0;
38
            game.Lighting.ShadowColor=Color3.new(0,0,0);
39
            game.Lighting.Ambient=Color3.new(1,0,0);
40
            game.Lighting.FogEnd=200;
41
            game.Lighting.FogColor=Color3.new(0,0,0);
42
        local dec = 'http://www.roblox.com/asset/?id=19399245';
43
            local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
44
            --coroutine.wrap(function()
45
            --for ,_ in pairs(fac) do
46
            --local ddec = Instance.new("Decal", v)
47
            --ddec.Face = 
48
            --ddec.Texture = dec
49
        --end end)()
50
            if #(v:GetChildren())>0 then
51
                   xds(v) 
52
              end
53
         end
54
    end
55
xds(game.Workspace)