Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 3 years ago

-- 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

Log in to vote
1
Answered by 3 years ago
Edited 3 years ago

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!

0
Will try thanks, it is on the server so I will try Workspace. EH2019SIT 78 — 3y
0
Thank you! EH2019SIT 78 — 3y
Ad

Answer this question