I am making a script and I need to increase the value of a variable by 1 each time the event hits. I tried a few different thing, but nothing is working.
this is a very small sample code to show you what im trying to do.
Code:local ranint = 0 function test(pUnit, event, pMisc) ranint + 1 end