Hello, I'm fairly new to scripting and I'm having troubles figuring out how to change values (Gold, Lvl, XP, STR, DEX, ect..) when the character dies. I've tried to write it different ways, and even used a few scripts I found online with no luck. Could some please help me? Thank You!
I'm guessing I should create a Function that resets all stats to the default, and have it trigger on death?

1 comment
Provide us the script what u were trying to do because im 99% sure you didn't do anything nor try.