You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Basically, I’m having this issue with my JoJo’s Stand Script
-
What is the issue? With some audios, both sound effects work perfectly, while the second one simply doesn’t plays. (If the second one doesn’t plays the ActionBilboard isn’t getting destroyed)
robloxapp-20240116-0800521.wmv (2.1 MB)
- What solutions have you tried so far? I couldn’t find any solutions in the developer hub, cause my code is a different case
Piece Of Code:
local Three = math.random(1,3)
local Call = Audio.God:WaitForChild("GOD - Za Warudo Callout "..Three):Clone()
local SFX = Audio.God:WaitForChild("SFX2"):Clone()
SFX.Name = Player.Name.."'s "..SFX.Name
SFX.Parent = workspace
Call.Name = Player.Name.."'s Callout"
Call.Parent = workspace
Call:Play()
Call.Ended:Connect(function()
HumanoidRootPart:WaitForChild("ActionBillboard"):Destroy()
SFX:Play()
wait(0.75)
SFX.Ended:Connect(function()
Call:Destroy()
SFX:Destroy()
end)
end)