Problems with Variables.
My Code for spawning a unit
local guy = CreateUnitByName("npc_dota_nature_1", origin, true, hero, hero, hero:GetTeam())
is used in this code
local TreantAbility = guy:FindAbilityByName("nature_damage")
When it's run however the variable guy is said to be a table value. Is there a way to get this code to work?