Button.MouseButton1Click:Connect(function()if CurrentAnimation.AnimationId~="\114\098\120\097\115\115\101\116\105\100\058\047\047"..ID.Value then CurrentAnimation.AnimationId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..ID.Value Action=Humanoid:LoadAnimation(CurrentAnimation)Action:Play()elseif CurrentAnimation.AnimationId=="\114\098\120\097\115\115\101\116\105\100\058\047\047"..ID.Value then if Action then Action:Stop()CurrentAnimation.AnimationId=""end end end)

Button.MouseButton1Click:Connect(function()
	if CurrentAnimation.AnimationId ~= "rbxassetid://"..ID.Value then
		CurrentAnimation.AnimationId = "rbxassetid://"..ID.Value
				
		Action = Humanoid:LoadAnimation(CurrentAnimation)
		Action:Play()
	elseif CurrentAnimation.AnimationId == "rbxassetid://"..ID.Value then
		if Action then
			Action:Stop()
			
			CurrentAnimation.AnimationId = ""
			
		end
	end
end)
