I tried to put animation.Looped = false but that didnt work. the loop part works but then making it false doesnt. And its meant to be looped
while wait() do
animation = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent.Anim.Animation)
if script.Parent.AnimationEnable.Value == true then
animation.Looped = true
animation:Play()
end
if script.Parent.AnimationEnable.Value == false then
animation.Looped = false
animation:Stop()
end
end
