Hello I tried to make a ground pound system, but It fires at the wrong time, and fires on a “Long Jump” “Event”
Code
h.StateChanged:Connect(function(state)
if state == Enum.HumanoidStateType.Freefall then
if game.ReplicatedStorage.PlayerValues.CanCrouch.Value == true then
repeat wait()
until game.ReplicatedStorage.PlayerValues.Crouching.Value == true
print("Ground Pound")
end
end
end)
Thanks!
pls helpp