How Would i add a sound to my mysterybox? [closed]
Asked by
7 years ago Edited 7 years ago
while true do
wait(1)
if (script.Parent.Active.Value == true) then
script.Parent.OnNum.Value = script.Parent.OnNum.Value + 1
if (script.Parent.OnNum.Value == 60) then
randombox = game.Lighting:FindFirstChild("RandomBox"):clone()
randombox.Script.Disabled = false
randombox.SystemScript.Disabled = false
randombox.Parent = game.Workspace
script.Parent:Remove()
end
end
if (script.Parent.Active.Value == false) then
script.Parent.OnNum.Value = 0
script.Parent.Regen.Value = script.Parent.Regen.Value + 1
if (script.Parent.Regen.Value == 60) then
randombox = game.Lighting:FindFirstChild("RandomBox"):clone()
randombox.Script.Disabled = false
randombox.SystemScript.Disabled = false
Closed as Non-Descriptive by unmiss
This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.
Why was this question closed?