Hi. I am making a game that is similar to sea of thieves. I have already made my tool models in blender.
But how do I make my tool play a Sound when a player is holding it?
I've already figured out how to make the tool play an animation while a player is holding it, but I am having trouble making my tool play a sound when a player is holding it. Thanks
with the Tool.Equipped and Tool.Unequipped Event.
local sound = Instance.new("Sound",Tool) sound.SoundId = "(insert sound id here)" sound.Looped = true Tool.Equipped:Connect(function() sound:Play() end) Tool.Unequipped:Connect(function() sound:Stop() end)