My animation seems to break if I write anything after it, even a wait function, only print didn’t cause it
local function onStateChanged(_oldState, newState)
if newState == Enum.HumanoidStateType.Landed and _G.isPounding then
canPound = false
Lv:Destroy()
PTrack:Play(0)
end
local function onStateChanged(_oldState, newState)
if newState == Enum.HumanoidStateType.Landed and _G.isPounding then
canPound = false
Lv:Destroy()
PTrack:Play(0)
Humanoid.WalkSpeed = 0
PTrack.Stopped:Wait()
Humanoid.WalkSpeed = 16
end