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

I need help with this script?

Asked by 8 years ago
function Added()
   if game.Players.NumPlayers < 6 then
      local numplay = game.Players.NumPlayers - 6
      print(numplay)
      for i,v in pairs(game.Players:GetChildren()) do
         if v.PlayerGui  then-- this is where i need help with
         local addit = gui:clone()
         addit.Frame.TextLabel.Text = numplay.." needed to begin. Invite your friends"
      end
   end
end

how would i see if it has the Gui in it already?

Thanks for the help

Answer this question