#Struggling With Hitstun

1 messages · Page 1 of 1 (latest)

mossy mason
#

I am working on a fighting game and I need to put hitstun into my game. So far I have made a hitbox script that spawns a hitbox and takes away health from humanoids, the code is in the image. I don't understand why the "Stunned" attribute doesn't trigger in the humanoid. Any advice is appreciated, thanks in advance

#

Also here's a video of some gameplay

shy sequoia
#

its cause Humanoid:GetAttribute("Stunned") is equal to nil which means that you are not entering the if then end

#

I would remove the if statement tbf