@kaos2100 Are you trying to make a command that makes admins run stopsounds on everyone, or are you trying to make a command that makes it run stopsounds on whoever called it?
If you want the second option, then use this.
function ulx.stopsounds( calling_ply )
calling_ply:ConCommand("stopsounds")
ULib.tsayColor( calling_ply, false, Color( 255, 0, 0 ), "Stopped all sounds." )
end
local stopsounds = ulx.command( CATEGORY_NAME, "ulx stopsounds", ulx.stopsounds, "!stopsounds", true )
stopsounds:defaultAccess( ULib.ACCESS_ALL )
stopsounds:help( "Stops all sounds." )