Why does the m1 sound not play? I played the sound normally in workspace and it worked just fine what could be the cause of this?
Well, where is your sound being played normally?
thank you for show the code
In the HumanoidRootPart of the character
local M1Sound : Sound = game.ReplicatedStorage.CharacterStuff:FindFirstChild(SelectedCharacter.Value):FindFirstChild("M1Sounds"):FindFirstChild("M1("..currentM1..")"):Clone()
if M1Sound then
M1Sound.Parent = char:FindFirstChild("HumanoidRootPart")
M1Sound:Play()
game:GetService("Debris"):AddItem(M1Sound, M1Sound.TimeLength + 0.5)
end
print M1Sound out and see if it returns nil
It doesn’t print nil. Im going to try to use M1Sound.Loaded:Wait()
I found the solution I toggled PlayOnRemove then I just destroyed the sound immediately and it works now. Crazy solution, but it works.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.