freeslot("S_CHARGE1", "S_CHARGE2", "SPR_CHAG", "SPR_CHAG2","S_AURA1","S_AURA1","SPR_AURA1","SPR_AURA1","MT_OVERLAY")
addHook("ThinkFrame", function(player)
local kicharge
local kitimer
for player in players.iterate do
if player.mo.skin ~= "noway" then
continue
end
if not player.cmd.buttons == player.cmd.buttons | BT_CUSTOM1 and P_IsObjectOnGround(player.mo) and P_GetPlayerControlDirection(player) >= 1
kicharge = false
kitimer = 0
elseif player.cmd.buttons == player.cmd.buttons | BT_CUSTOM1 and player.kimeter < 118 and P_IsObjectOnGround(player.mo) and P_GetPlayerControlDirection(player) == 0 then
kicharge = true
kitimer = 2
player.mo.state = S_CHARGE1
player.kimeter = $ + 1
player.aura = P_SpawnMobj(player.mo.x, player.mo.y,player.mo.z,MT_OVERLAY)
player.aura.target = player.mo
player.aura.state = S_AURA1
elseif player.kimeter == 118 then
kicharge = false
kitimer = 0
end
end
end)