Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db = 1
- math.randomseed(tick())
- Instance.new("Model",workspace).Name = "Parts"
- Instance.new("Model",game.Lighting).Name = "Parts"
- for i = 1,50 do
- a = Instance.new("Part")
- a.Anchored = true
- a.CanCollide = false
- a.CFrame = CFrame.new(math.random(0,500),math.random(200,300),math.random(0,500))
- a.Shape = math.random(0,2)
- a.BrickColor = BrickColor.Random()
- a.Size = Vector3.new(math.random(10,100),math.random(10,100),math.random(10,100))
- a.Name = "asdfghjkl"
- a.Parent = game.Lighting.Parts
- end
- while wait(.3) do
- blah = 0
- for _, v in pairs(game.Lighting.Parts:GetChildren()) do
- v.Parent = workspace.Parts
- end
- wait()
- for i = 1,50 do
- a = Instance.new("Part")
- a.Anchored = true
- a.CanCollide = false
- a.CFrame = CFrame.new(math.random(0,500),math.random(0,500),math.random(0,500))
- a.Shape = math.random(0,2)
- a.BrickColor = BrickColor.Random()
- a.Size = Vector3.new(math.random(10,100),math.random(10,100),math.random(10,100))
- a.Name = "asdfghjkl"
- a.Parent = game.Lighting.Parts
- blah = blah+1
- end
- repeat wait() until blah == 50
- workspace.Parts:ClearAllChildren()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement