Infinite Yield Possible ?
I'm Having A Problem With This Piece Of Code And How Do I Fix It To Make It Execute The Rest Of The Code
" Infinite Yield Possible On ' ServerScriptService:WaitForChild('ModePicker') "
I Marked The Point Of Code Btw
01 | Main = script.Parent.Parent |
03 | game.Workspace.NumberPlayers.Changed:connect( function () |
05 | if game.Workspace.NumberPlayers.Value > = 1 then |
07 | game:GetService( 'ServerScriptService' ).ModePicker.Disabled = false |
08 | game:GetService( 'SoundService' ).DrumRoll:Play() |
09 | Main.PlayerGui.ModePickGUI.RoundShadow:TweenPosition(UDim 2. new( 0.314 , 0 , 0.343 , 0 )) |
11 | local Rand = game.Workspace.Mode.Value |
12 | Main.PlayerGui.ModePickGUI.RoundShadow.DropShadow.Namez.Text = Rand |