Advertisement
Guest User

wtf??2

a guest
Jul 23rd, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.17 KB | None | 0 0
  1. function getAll(obj)
  2.     for i, v in pairs(obj:getChildren()) do
  3.         if v:IsA("BasePart") then
  4.             v.Anchored = false
  5.             v.BrickColor = BrickColor.new(0)
  6.             bv = Instance.new("BodyVelocity")
  7.             bv.Parent = v
  8.             bv.maxForce = Vector3.new(100000000,100000000,100000000)
  9.             local s = Instance.new("SelectionBox")
  10.             s.Color = BrickColor.random()
  11.             s.Adornee = v
  12.             s.Parent = v
  13.             s.Transparency = (0.4)
  14.             local pe = Instance.new("ParticleEmitter", v)
  15.             pe.Texture = "rbxassetid://429755525"
  16.             pe.Size = NumberSequence.new(5, 5)
  17.             pe.Lifetime = NumberSequence.new(100000000, 100000000)
  18.             pe.Rate = 5000
  19.             pe.VelocitySpread = 100000000
  20.             pe.Speed = 50
  21.         end
  22.         getAll(v)
  23.     end
  24. end
  25. getAll(workspace)
  26. local snd = Instance.new("Sound", workspace)
  27. snd.SoundId = "rbxassetid://185993653"
  28. snd:Play()
  29. game.Lighting.TimeOfDay = "07:00:00"
  30. game.Lighting.Ambient = Color3.new(0,0,0)
  31. sky = Instance.new("Sky")
  32. sky.Parent = game.Lighting
  33. sky.SkyboxBk = "rbxassetid://429755525"
  34. sky.SkyboxDn = "rbxassetid://429755525"
  35. sky.SkyboxFt = "rbxassetid://429755525"
  36. sky.SkyboxLf = "rbxassetid://429755525"
  37. sky.SkyboxRt = "rbxassetid://429755525"
  38. sky.SkyboxUp = "rbxassetid://429755525"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement