I've got a script here I'm using to make a radio play music when equipped and to make the music pause when it is not equipped.
local Sound = script.parent.radio function Equip() Sound:play() end function Unequip() Sound:pause() end
it does not seem to work. tips?
Capitalization is important.
To bind your functions, use
Tool.Equipped:Connect(Equip)
and Tool.Unequipped:Connect(Unequip)