Hello. I don't know why, but this simple script is having trouble.
plrAmount = #game.Players:GetChildren() if not plrAmount >= 8 then -- yada yada yada end
Workspace.Boards.Screen.Leaderboard.Holder.Script:2: attempt to compare number and boolean
plrAmount = #game.Players:GetChildren() if not (plrAmount >= 8) then -- yada yada yada end
You not need the not in the if statement.
Here are some examples:
x >= y
-> x is greater or equal to y.
x <= y
-> x is less or equal to y.
x == y
-> x is equal to y.
x < y
-> x is less than y.
x > y
-> x is greater than y.