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

Players Needed Problem?

Asked by
KAAK82 16
11 years ago
01REnd = script.Parent.RoundEnd
02RScript = script.Parent.RoundScript
03 
04while wait() do
05    if game.Players.NumPlayers < 3 then
06        MSG = game.Workspace:FindFirstChild('PlayersNeeded')
07        if MSG == nil then
08            local m = Instance.new("Message")
09            m.Parent = game.Workspace
10            m.Name = 'PlayersNeeded'
11            m.Text = "At least 3 Players are needed to play the Game!"
12 
13            REnd.Disabled = true
14            RScript.Disabled = true
15            RScript.RoundStart.Value = false
View all 34 lines...

I tested in Studio, Ribbon Bar lets u insert Players so I did that and after I inserted them, the print() stopped but the msg didn't Delete... and this didn't Enable the other Script for me... :/

1 answer

Log in to vote
0
Answered by
foxy83 15
11 years ago

Whats the name of is if its message use Message:Remove()

0
so u say :remove()'ll fix my problem? I'll try it... KAAK82 16 — 10y
Ad

Answer this question