Last Attacked And Last Ability

i have questions about those last functions
Last Attacked last ability. blah blah blah.
my question is…
Is last attacked and ability only for if / else / then? please answer this question.

Keker no the last attacked is like for saying the unit death thing like RagDev Has Killed KekerJoestar KekerJoestar Is the last attacked and RagDev is the last attacking basically for things like that or scripts that want to do something to the last attacked or attacking

sooo you can do it with out if else then?

yes u can also use it to give points to someone who killed someone

last attacked unit = the last attacked unit was the unit as atacked,you can use for if else then with hp as 0,for example:

  • The MasterOuch65 killed Maskoul99

  • Maskoul99 picked resource atacking tree

The last ability casting unit = was the last “press” button or others.