#I keep getting this issue when I'm scripting and I don't know how to fix it.

2 messages · Page 1 of 1 (latest)

frosty haven
#

Whenever I try to make a collectible item, you can collect it multiple times before it disappears; how do I fix this? (The stuff right after box:Destroy is an attempted solution, but it still registers 1-3 "touches.")

I've had this issue multiple times while trying to make small games for fun, and I always end up having to basically rewrite the whole script.

granite coyote
#

put the local f outside of the touched function