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

Why isn't this Map-chooser script working?

Asked by
Scerzy 85
10 years ago
01maps = game.Lighting.Minigames:GetChildren()
02 
03h = Instance.new("Hint", game.Workspace)
04 
05 
06 
07while true do
08 
09 
10if game.Players.NumPlayers > 1 then
11 
12h.Text = "Deciding what map to choose"
13 
14wait(4)
15 ranGame = math.random(1, #maps)
View all 53 lines...

I've placed 3 maps in a model in the Lighting folder. This should select them at random. No "hints appear at the top of my screen when playing. Nothing happens. Why is that? I know I didn't add a teleporter. I'll do that later.

0
I didn't expect it to look so jumbled up. Sorry Scerzy 85 — 10y

1 answer

Log in to vote
0
Answered by
SimIcy 5
10 years ago

Look at last end it has a ? mark by it on line 53

0
Thanks. That was so simple.. I didn't even see it Scerzy 85 — 10y
0
Np, Happens to me to. SimIcy 5 — 10y
Ad

Answer this question