From Garry's Mod
Makes a player spray their decal.
The location to spray from
The location to spray to
Makes the player spray their decal 5000 units away.
ply:SprayDecal(ply:EyePos(),ply:EyePos() + ply:GetAimVector()*5000)