Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local user=game.Players.localPlayer;
- local color={1,5,9,11,18,21,23,24,26,28,29,37,38,45,101,102,104,105,106,107,125,135,1013.1015,1018,1017,1016,1010,1012,1011,1004,232,226,1030,1027,1024}
- local generate=function()
- local particle=Instance.new'Part';
- particle.Anchored=true;
- particle.CFrame=CFrame.new(user.Character.Torso.CFrame.p);
- particle.FormFactor='Custom';
- particle.Size=Vector3.new(.5,.5,.5);
- particle.TopSurface='Smooth';
- particle.BrickColor=BrickColor.new(color);
- local random=math.random;
- local randSet1={random(1,2),random(1,2),random(1,2)};
- local randSet2={random(1,5),random(1,5),random(1,5)};
- local cf={0,0,0};
- for _,v in next,randSet1 do
- cf[_]=((v==1 and 1)or -1)*randSet2[_];
- end;
- particle.Parent=user.Character;
- particle.CFrame=particle.CFrame*CFrame.new(cf[1],cf[2],cf[3]);
- for i=0,1,0.1 do
- particle.Transparency=i;
- particle.CFrame=particle.CFrame*CFrame.new(0,0.1,0);
- wait'';
- end;
- particle:remove'';
- end;
- repeat
- coroutine.wrap(generate)();
- wait'';
- until false;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement