Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mymodel = Instance.new("Model")
- mymodel.Parent = workspace
- function makeblocks()
- local block = Instance.new("Part")
- block.Parent = mymodel
- local myparticle = Instance.new("ParticleEmitter")
- myparticle.Parent = block
- end
- for i =1, 300 do
- makeblocks()
- end
- i = 0
- for k,v in next,workspace.Model:GetDescendants() do
- if v:IsA"BasePart" then
- i = i+1
- v.Name = i
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement