ULX Command

So I created a ULX command and I set the default access to ALL. Whenever I try to use it ingame it just says you don’t have access to this command… How Can I fix this?



function ulx.apply ( calling_ply )
	
	calling_ply:SendLua([[gui.OpenURL("http://p21gaming.site.nfoservers.com/forums/viewforum.php?f=17&sid=564e8434860d76560d29bd2047707094"]] ..GetConVarString("applying_url"))

end
local apply = ulx.command( "Menus", "ulx apply", ulx.apply, "!apply" )
donate:defaultAccess( ULib.ACCESS_ALL )
donate:help( "Apply for Staff." )

Why use ulx for this? just make the command without ulx.


hook.Add( "PlayerSay", "apply", function( Player, Text )
	if ( string.find( string.lower( string.Explode( " ", Text )[1] ), "!apply" ) ) then
            Player:SendLua([[gui.OpenURL("http://p21gaming.site.nfoservers.com/forums/viewforum.php?f=17&sid=564e8434860d76560d29bd2047707094"]] ..GetConVarString("applying_url"))
		return ( "" );
    end
end )