Here! my code! Looks cool
---Edited!----
---Edited!----
PHP Code:
ScoreHUD( points )
{
self endon("disconnect");
hud_score = NewClientHudElem(self);
hud_score.alpha = 0;
hud_score.font = "objective";
hud_score.fontscale = 1.5;
hud_score.x = 600;
hud_score.y = 360;
hud_score.archived = true;
hud_score.color = (1,1,0);
hud_score.alignX = "right";
hud_score.alignY = "middle";
hud_score.horzAlign = "fullscreen";
hud_score.vertAlign = "fullscreen";
hud_score settext("+"+points);
direction = randomint(340);
hud_score FadeOverTime(.5);
hud_score.alpha = 1;
hud_score MoveOverTime(10);
hud_score.x = cos(direction) * randomint(250);
hud_score.y = sin(direction) * randomint(250);
wait 1.3;
hud_score FadeOverTime(.3);
hud_score.alpha = 0;
wait .3;
hud_score destroy();
}