Why is this not working

i have a problem with removing a certain amount from a value this is the script im currently using

the issue is on line 7 please help

You have the capitalize the V in value.

gold.Value instead of gold.value

i think it’s also β€˜-=’ not β€˜=-’

1 Like