Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function particle(p, b)
- local a = Instance.new("ParticleEmitter", p)
- a.Rate = 750
- a.Lifetime = NumberRange.new(20, 30)
- a.VelocitySpread = 200
- a.Texture = b
- end
- function decal(p, b)
- local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
- for i, v in pairs(sides) do
- local a = Instance.new("Decal", p)
- a.Texture = b
- a.Face = v
- end
- end
- local function skybox(x)
- local sky = Instance.new("Sky",game.Lighting)
- local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
- for i,v in pairs(fcs) do
- sky["Skybox"..v]=x
- end
- end
- function recurse(x)
- for i, v in pairs(x:GetChildren()) do
- if v:IsA("BasePart") then
- particle(v, "rbxassetid://67202156")
- decal(v, "rbxassetid://67202156")
- end
- if #(v:GetChildren())>0 then
- recurse(v)
- end
- end
- end
- skybox("rbxassetid://67202156")
- recurse(game)
- local mu = Instance.new("Sound", game.Workspace)
- mu.Volume = 1
- mu.Looped = true
- mu.Pitch = 1
- mu.SoundId = "rbxassetid://154664102"
- mu:Play()
- end)},
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement