hey, so basically this skript places the player in a group if they've reached 2000 points
not sure why, but it doesn't seem to be executing the if statement. no console output or anything
code_language.skript:
on join:
set {_score} to placeholder "playerpoints_points"
message "&eYOU HAVE %{_score}% POINTS"
if {_score} is more than 2000:
execute console command "pex user %player% group set pro"
message "&5&l(&fI&5&l) &aCongratulations! You've entered Pro League"
wait 10 seconds
not sure why, but it doesn't seem to be executing the if statement. no console output or anything