--//Handler//--

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)
