I made a part where if you touch it an animation plays but when the animation plays the camera stays in place while the whole body moves
I also tried searching on youtube but all i saw was camera movement for cinematic roblox animations
local Anim = script.Parent.Animation
local debounce = false
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild(“Humanoid”) and debounce == false then
debounce = true
hit.Parent.Humanoid.WalkSpeed = 0
local AnimTrack = hit.Parent.Humanoid:LoadAnimation(Anim)
AnimTrack:Play()
script.Parent.mommy:Play()
wait(2.38)
hit.Parent.Humanoid.WalkSpeed = 16
wait(6)
debounce = false
script.Parent.mommy:Stop()
end
end)