Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How Would i add a sound to my mysterybox? [closed]

Asked by 6 years ago
Edited 6 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
0
Plz use code bloc, Press edit then press the blue circle with the word lua inside it. The paste your code inside. I can't read it BlackOrange3343 2676 — 6y
0
I can't read this code at all... BlackOrange3343 2676 — 6y
0
Tell us what you mean you just pated a code BlackOrange3343 2676 — 6y

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?