hasPermission
if ps.hasPermission(source, "commands") then
print("Player has permission to run admin commands.")
else
print("Access denied.")
endLast updated
if ps.hasPermission(source, "commands") then
print("Player has permission to run admin commands.")
else
print("Access denied.")
endLast updated