function onSelected(d)myMouse=d d.Icon="\114\098\120\097\115\115\101\116\105\100\058\047\047\052\049\050\048\053\052\053\048\054"d.Button1Down:connect(function()onButton1Down(d)end)d.Button1Up:connect(function()onButton1Up(d)end)d.KeyDown:connect(onKeyDown)d.KeyUp:connect(onKeyUp)updateAmmo()print("\084\097\110\107 \084\111\111\108 \069\113\117\105\112\112\101\100")wait()parts.Parent.Driver.Value=script.Parent.Parent.Parent.Name if Active==true then while Active do updateAmmo()wait()end end end
-- 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
