Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Script Not Working?

Asked by 8 years ago
Amount = script.parent.Amount

if amount <= 5 then
-- stuff

end

It is not working

1 answer

Log in to vote
0
Answered by 8 years ago

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

Ad

Answer this question