Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Trying to make an unequip sound for my lightsaber, won't work?


-- Equip


local BlueSaber = script.Parent
local Sound = game.SoundService.lightsaber_powerdown

BlueSaber.Equipped:Connect(function()
	BlueSaber.Handle.lightsaber_powerup:Play()
end)

-- Unequip


BlueSaber.Unequipped:Connect(function()
	Sound:Play()
	
end)

That is the code, the equip sound works perfectly fine but the unequip sound work. It is put in SoundService because when you unequip a tool and you put it in handle, it won't play.

Any help?

1 answer

✓ Accepted answer

First, try keeping your Sound in workspace [If you want to play on Server]. Else, try keeping it in StarterGui [If you want to play on Client]. And, change the location in the script likewise.

Lemme know if it helps!

2 comments

0

Will try thanks, it is on the server so I will try Workspace.

0

Thank you!

This discussion is preserved as it was. New answers, comments, and votes are closed.