All I'm doing is setting the hip height and playing an animation so I'm not sure what is going wrong here, the crouching also uses a similar method as the prone and it works fine.
uis.InputBegan:Connect(function(input, gpe)
if input.KeyCode == Enum.KeyCode.C then
if stance == 0 then
stance = 1
idleAnimTrack:Stop()
tweenService:Create(hum,TweenInfo.new(.5),{HipHeight = 3.8}):Play()
elseif stance == 1 then -- PRONE ANIMATION CODE <<<<
crouchIdleAnimTrack:Stop()
proneIdleAnimTrack:Play(0.1)
stance = 2
tweenService:Create(hum,TweenInfo.new(.5),{HipHeight = .1}):Play()
hum.WalkSpeed = 2
end
elseif input.KeyCode == Enum.KeyCode.X then
if stance == 1 then
stance = 0
crouchIdleAnimTrack:Stop()
tweenService:Create(hum,TweenInfo.new(.5),{HipHeight = 4}):Play()
elseif stance == 2 then
proneIdleAnimTrack:Stop()
stance = 1
tweenService:Create(hum,TweenInfo.new(.5),{HipHeight = 3.8}):Play()
hum.WalkSpeed = 6
end
end
end)
** You are now Level 4! **