Hi, I'm very new to modding, and only have a little bit of experience coding in general, so maybe a stupid question:
when creating an interaction event for a custom item, do you create the event in the startup script for the item creation, or do you create the interaction in a server script and reference it in item creation?
I'm trying to set up an event where player uses item, it causes player instant damage, and is replaced with a new item. I have this in the startup script. The item loads, and the use animation works, but at the end of the use duration, the game crashes, so I must have it wrong somewhere.
