-- When tool is selected

function onSelected(mouse)
	myMouse = mouse;
	mouse.Icon = "rbxassetid://412054506"; -- Change The ID - Eng
	mouse.Button1Down:connect(function() onButton1Down(mouse) end);
	mouse.Button1Up:connect(function() onButton1Up(mouse) end);
	mouse.KeyDown:connect(onKeyDown);
	mouse.KeyUp:connect(onKeyUp);

	updateAmmo();
	print("Tank Tool Equipped")
	
	wait()
	
	
	parts.Parent.Driver.Value = script.Parent.Parent.Parent.Name
	
	if Active == true then
		while Active do
		updateAmmo()
		
		wait()		
		end
	end
end
