Mouse_Icon="\114\098\120\097\115\115\101\116\058\047\047\116\101\120\116\117\114\101\115\047\071\117\110\067\117\114\115\111\114\046\112\110\103"Reloading_Icon="\114\098\120\097\115\115\101\116\058\047\047\116\101\120\116\117\114\101\115\047\071\117\110\087\097\105\116\067\117\114\115\111\114\046\112\110\103"Tool=script.Parent Mouse=nil function UpdateIcon()if Mouse then Mouse.Icon=Tool.Enabled and Mouse_Icon or Reloading_Icon end end function OnEquipped(B)Mouse=B UpdateIcon()end function OnChanged(B)if B=="\069\110\097\098\108\101\100"then UpdateIcon()end end Tool.Equipped:Connect(OnEquipped)Tool.Changed:connect(OnChanged)


Mouse_Icon = "rbxasset://textures/GunCursor.png"
Reloading_Icon = "rbxasset://textures/GunWaitCursor.png"

Tool = script.Parent

Mouse = nil

function UpdateIcon()
	if Mouse then
		Mouse.Icon = Tool.Enabled and Mouse_Icon or Reloading_Icon
	end
end

function OnEquipped(ToolMouse)
	Mouse = ToolMouse
	UpdateIcon()
end

function OnChanged(Property)
	if Property == "Enabled" then
		UpdateIcon()
	end
end

Tool.Equipped:Connect(OnEquipped)
Tool.Changed:connect(OnChanged)
 																																																																																																																																																																																																																																																				
 																																																																																																																																																																																																																																																				
 																																																																																																																																																																																																																																																				
