I want to print the final result of riven q, so see exact endtime when it finished casting Q. So I can see if I improved on doing her Animation cancelling or not...
I tried many ways I just can't get it to work how I want.
- I want the timer to start when: myHero:GetSpellData(Q).toggleState == 1
- and end when i can't cast Q anymore, so : not Ready(_Q)
and print the final result like: print(r1-r2)
My approach was like:
r1 = Game.Timer() r2 = Game.Timer() if myHero:GetSpellData(Q).toggleState == 1 and Game.Timer() then r1 = Game.Timer() if not Ready(_Q) and Game.Timer() then r2 = Game.Timer() print("Start Time: "..r1) print("") print("End time: "..r1-r2)
Game.Timer is nothing hard but I am waaaay to confuse, any help I would really appreciate!