tell me would this example (if i used real functions) would work
im mainly talking about the local if and local x
Code:local if = pUnit:Math.Random(1,x) function test_OnEnterCombat(pUnit, Event) local x = 5 pUnit:EXAMPLE pUnit:EXAMPLE pUnit:EXAMPLE end