I have a stun function that utilizes the ‘falling down’ humanoidStateType to simulate the stun. Unfortunately, it only lasts for a relatively short period of time. Is there any way to extend this state for a longer period of time?
Check out PlatformStand within the player’s Humanoid. Quote from the devhub: “When true, the Humanoid is in a state where it is free-falling and cannot move.”
The player won’t be able to jump either to get out of it, which is ideal for your stun feature.
Alright, I’ll try that out, but if it is in freefall, it’s not on the ground technically so would that make the humanoid float?
Figured it out. The Physics HumanoidStateType does the same thing, but it doesn’t end unless you tell it to.
1 Like