Hi, I'm creating a game and I do not remember the functions for this, could someone humble help me? I am grateful
Link game : https://www.roblox.com/games/1504622981/Up-Power-Coming-Soon
Hi, I'm creating a game and I do not remember the functions for this, could someone humble help me? I am grateful
Link game : https://www.roblox.com/games/1504622981/Up-Power-Coming-Soon
-- Use this in a local script under StarterCharacter
Character = script.Parent
Character.Humanoid.Died:connect(function()
local YouDiedMusic = Instance.new("Sound",Character)
YouDiedMusic.SoundId = "rbxassetid://142288053" -- change it to what you like
YouDiedMusic.Volume=10
YouDiedMusic:Play()
end)
Nice game you have there :)
This discussion is preserved as it was. New answers, comments, and votes are closed.