For the overpassed 3 days I wondering how do I make a script that will disable the Oof noise when a player resets or dies. I got a script I will show below. Even a forum will help!
--Variables to identify the soundscript that will go into the Player local Scriptsound = script.Sound local player = script.Parent.Parent --When the player plays, This script foes into the PlayerHUI --Custom variables local soundid = 0 --Paste id in the quotation marks but not the rbxassetid:// part local sound = Instance.new("Sound") sound.Parent = player.Character --The player has a secret variable called character. It is in the workspace when the player starts/plays the game4 sound.Name = "PlayerDeathSound"--Name (DO NOT CHANGE!!!) sound.SoundId = soundid local SoundScriptDel = player.Character:FindFirstChild("Sound")--Variable needed. DO not change. while true do wait(0.01) if player.Character:FindFirstChild("Humanoid") then if SoundScriptDel ~= nil then if SoundScriptDel:FindFirstChild("nils") then return else SoundScriptDel:remove() end end end end
I don't need a sound ID.