Advertisement
kanewutt

efewfef

May 15th, 2016
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. local user=game.Players.localPlayer;
  2. local color=script.Parent.BrickColor = BrickColor.new(21)
  3. wait(0.1)
  4. script.Parent.BrickColor = BrickColor.new(106)
  5. wait(0.1)
  6. script.Parent.BrickColor = BrickColor.new(24)
  7. wait(0.1)
  8. script.Parent.BrickColor = BrickColor.new(119)
  9. wait(0.1)
  10. script.Parent.BrickColor = BrickColor.new(102)
  11. wait(0.1)
  12. script.Parent.BrickColor = BrickColor.new(23)
  13. wait(0.1)
  14. script.Parent.BrickColor = BrickColor.new(104)
  15. wait(0.1)
  16. local generate=function()
  17. local particle=Instance.new'Part';
  18. particle.Anchored=true;
  19. particle.CFrame=CFrame.new(user.Character.Torso.CFrame.p);
  20. particle.FormFactor='Custom';
  21. particle.Size=Vector3.new(.5,.5,.5);
  22. particle.TopSurface='Smooth';
  23. particle.BrickColor=BrickColor.new(color);
  24. local random=math.random;
  25. local randSet1={random(1,2),random(1,2),random(1,2)};
  26. local randSet2={random(1,5),random(1,5),random(1,5)};
  27. local cf={0,0,0};
  28. for _,v in next,randSet1 do
  29. cf[_]=((v==1 and 1)or -1)*randSet2[_];
  30. end;
  31. particle.Parent=user.Character;
  32. particle.CFrame=particle.CFrame*CFrame.new(cf[1],cf[2],cf[3]);
  33. for i=0,1,0.1 do
  34. particle.Transparency=i;
  35. particle.CFrame=particle.CFrame*CFrame.new(0,0.1,0);
  36. wait'';
  37. end;
  38. particle:remove'';
  39. end;
  40. repeat
  41. coroutine.wrap(generate)();
  42. wait'';
  43. until false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement