1 | Amount = script.parent.Amount |
2 |
3 | if amount < = 5 then |
4 | -- stuff |
5 |
6 | end |
It is not working
Asuming that amount if a number value the answer is simple
1 | Amount = script.parent.Amount |
2 |
3 | if Amount.Value < = 5 then |
4 |
5 | -- stuff |
6 |
7 |
8 |
9 | end |
If amount was a value set in the script then you would do what you did