Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Script Not Working?

Amount = script.parent.Amount

if amount <= 5 then
-- stuff

end

It is not working

1 answer

✓ Accepted answer

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.