Attempt to index number with number

When I used this part of the code it gave me an error that said a table was returned instead of a number

But I removed the code and put it back to its original. I’ve put the code back into the script to see if it would give me the same error but now it’s saying Argument 1 missing or nil on my he part of the script that drops the amount of loot

I fixed a mistake I made and edited my post accordingly. Want to give it another try?

1 Like

It worked!!! thank you so much for your help!!! I really appreciate it!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.