wait(5)
Start()
function Start()
print("This function has ran!")
if game.Players.NumPlayers >= 2 then
Yes()
else
No()
end
end
function Yes()
print("This function has ran!")
wait(.1)
end
function No()
print("This function has ran!")
music = game.Workspace.HeartofCourage
wait(1)
music:stop()
wait(5)
music:play()
music.Looped = true
end
I have tried to fix it. This script is fricken' simple and it isn't working? Oh my god, imagine a complex script. Please tell me how I can fix this.
What it exactly says in the output window:
19:45:42.795 - Stack Begin
19:45:42.795 - Script 'Workspace.X', Line 2
19:45:42.796 - Stack End

1 comment
In short, define your functions before calling them.