Hello devforun, I’m having some trouble with a parachute I’m making.
When the player lands, the parachute should fold, but for some reason, the event detecting the landing is not working well:
https://gyazo.com/12e80e550cc7b217d295e12fca12ddd3
This is the script I’m using:
Hello devforun, I’m having some trouble with a parachute I’m making.
When the player lands, the parachute should fold, but for some reason, the event detecting the landing is not working well:
https://gyazo.com/12e80e550cc7b217d295e12fca12ddd3
This is the script I’m using:
humanoid.StateChanged:Connect(function(old, new)
if new == Enum.HumanoidStateType.Landed and old == Enum.HumanoidStateType.Freefall or new == Enum.HumanoidStateType.RunningNoPhysics or new == Enum.HumanoidStateType.Swimming then
print("DisableParachute")
enabledValue.Value = false
end
end)