I was trying todo something
- Code: Select all
OnKilled = function(self, instigator, overkillRatio)
local bp = self:GetBlueprint()
local pos = self:GetPosition()
ForkThread(function()
WaitSeconds(2.5)
CreateUnitHPR(
buildUnit,
XSB1301,
pos[1], pos[2], pos[3],
0, 0, 0
)
self:Destroy()
end)
end
end
end,
But it don't work
it goos wrong but i dont see it , can sombody help me?