Amount = script.parent.Amount
if amount <= 5 then
-- stuff
end
It is not working
Amount = script.parent.Amount
if amount <= 5 then
-- stuff
end
It is not working
Asuming that amount if a number value the answer is simple
Amount = script.parent.Amount
if Amount.Value <= 5 then
-- stuff
end
If amount was a value set in the script then you would do what you did
This discussion is preserved as it was. New answers, comments, and votes are closed.