tsup2

Untitled

Mar 6th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. Player = game:getService("Players").LocalPlayer
  2. Character = Player.Character
  3.  
  4. Model = Instance.new("Model",Character)
  5.  
  6. P = Instance.new("Part")
  7. P.Anchored = true
  8. P.Locked = true
  9. P.CanCollide = true
  10. P.Reflectance = 0.1
  11. P.formFactor = "Custom"
  12. P.Size = Vector3.new(10,0.5,10)
  13. P.TopSurface = 0
  14. P.BottomSurface = 0
  15. M = Instance.new("CylinderMesh",P)
  16. M.Bevel = 0.1
  17.  
  18. C1 = true
  19. while true do wait()
  20. P2 = P:Clone()
  21.  
  22. if C1 then
  23. P2.BrickColor = BrickColor.new("White")
  24. C1 = false
  25. elseif not C1 then
  26. P2.BrickColor = BrickColor.new("Really black")
  27. C1 = true
  28. end
  29. P2.Color = Color3.new(math.random(),math.random(),math.random())
  30. P2.Parent = Model
  31. P2.CFrame = Character.Torso.CFrame - Vector3.new(0,3.2,0)
  32. for i,v in pairs(Model:GetChildren()) do
  33. if v:IsA("Part") then
  34. if v.Mesh.Scale.x > 0.1 then
  35. v.Mesh.Scale = v.Mesh.Scale + Vector3.new(-0.05,0.05,-0.05)
  36. v.Mesh.Offset = v.Mesh.Offset - Vector3.new(0,0,0)
  37. else
  38. v:Remove()
  39. end
  40. end
  41. end
  42. end
Add Comment
Please, Sign In to add comment