local i=script.Parent.Parent local F=script.Parent:WaitForChild("\080\101\112\112\101\114\083\112\114\097\121\069\118\101\110\116")F.OnServerEvent:connect(function(F,r,G,h,A)if r=="\066\117\116\116\111\110\049\068\111\119\110"then i.Spray.Transparency=1 i.Spray.Script.Disabled=false i.Nossle.Spray.Enabled=true i.Nossle.Sound:Play()elseif r=="\066\117\116\116\111\110\049\085\112"then i.Spray.Transparency=1 i.Spray.Script.Disabled=true i.Nossle.Spray.Enabled=false i.Nossle.Sound:Stop()end end)
--HeroThPianist
local tool = script.Parent.Parent
local event = script.Parent:WaitForChild("PepperSprayEvent")

event.OnServerEvent:connect(function(plr, event, arg1, arg2, arg3)
	if event == "Button1Down" then
		tool.Spray.Transparency = 1
		tool.Spray.Script.Disabled = false
		tool.Nossle.Spray.Enabled = true
		tool.Nossle.Sound:Play()
	elseif event == "Button1Up" then
		tool.Spray.Transparency = 1
		tool.Spray.Script.Disabled = true
		tool.Nossle.Spray.Enabled = false
		tool.Nossle.Sound:Stop()
	end
end)
