NNickey

Untitled

Apr 14th, 2016
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. me = Workspace["Nickoplier"]
  2. while true do
  3. all = me:getChildren()
  4. for a=1,#all do
  5. if all[a].className == "Part" and all[a].Name ~= "Stuff" then
  6. hat = all[a]:clone()
  7. hat.Name = "Stuff"
  8. hat.Transparency = 0
  9. hat.CanCollide = false
  10. hat.Anchored = true
  11. hat.FormFactor = "Custom"
  12. hat.Size = all[a].Size
  13. hat.Position = all[a].Position
  14. hat.Position = hat.Position
  15. --hat.Velocity = Vector3.new(math.random(-100,100),math.random(20,200),math.random(-100,100))
  16. --bm = Instance.new("BlockMesh")
  17. --bm.Parent = hat
  18. --bm.Scale = hat.Size --+ --Vector3.new(0,0,0)
  19. --bm.Name = "bm"
  20. hat.Parent = me
  21. end
  22. end
  23. wait()
  24. all = me:getChildren()
  25. for a=1,#all do
  26. if all[a].className == "Part" and all[a].Name == "Stuff" then
  27. --all[a].bm.Scale = all[a].bm.Scale + Vector3.new(5,5,5)
  28. all[a].Transparency = all[a].Transparency + 0.1
  29. if all[a].Transparency >= 1 then
  30. all[a]:Remove()
  31. end
  32. end
  33. end
  34. end
Advertisement
Add Comment
Please, Sign In to add comment