so i got a character with Platform Behavior (with Customized Controls)
when he gets hit by this Sprit, lets call it Frostbite
The player freezes, this disables all Controls, as i set it to "Ignore Imput" in which the only thing that would work will be the Players "Fall Speed"
The Freeze debuff is started by a Boolean added to the Character Called "FreezeDebuff"
and has a Instance Variable Called "FreezeDebuffDuration" that Subtracts 0.1 every 0.1 seconds from Duration, 3 is added to "FreezeDebuffDuration" on Collission with Frostbite.
after the Duration has reached 0, the character Unfreezes and is able to Walk, Run, Hit, jump and Croutch.
Now heres where the Problem is:
if i where to hold down "Down Arrow" to Croucth and get hit by Frostbite, it would do as it normally would with other actions, be suspended in animation (i also set it to "Stop Animation") when Frozen, But when im in Croutch Animation while Frozen, and then being Unfrozen again When Duration expires, the animation of the player goes to Idle (The default Animation when not moving) even when im Still holding down "Down Arrow"
Also Conditians For Croutching:
Keyboard: Akeys.AT(Key_Croutch,K_code) is Down
Character is Not moving
Character is Not: FreezeDebuff
Keyboard:Akeys.AT(Key_Croutch,K_code) on Released
Character is Not: FreezeDebuff
i really hope this didnt make anyones heads explode and that there someone out here who can help me out.