I am trying to make a knockback system but it is not working what did I do wrong
Heres the image
“It is not working” isn’t a great description of any issue.
That being said, simulating a key press during a single frame won’t move the player much, it will probably not be noticeable. Either use a timer to make it last longer, or switch to a force action.