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

Why isn't my intermission script working?

Asked by
6oi 9
8 years ago

I have made a intermission script, It is not working.

local tvalue = script.Parent.StatusTag

function beginGame()
    for i = 30, 0, -1 do
        wait(1)
        start.tvalue.Text = "Intermission: " .. i .. ""
        if i == 0 then
            start.tvalue.Text = "Game Started!"
        end
    end
end

if game.Players.NumPlayers > 1 then
    beginGame()
else
    tvalue.Text = "Need 2 or more players to begin."
end
0
Try a while loop. NoahWillCode 370 — 8y
0
your new obviously but in future please describe what is not working, saying "The the text isn't showing, and error on line [line]" helps us solve your issue dragonkeeper467 453 — 8y
0
you're* dragonkeeper467 453 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago

Remove 'start' from

start.tvalue.Text = "Intermission: " .. i .. ""

and

start.tvalue.Text = "Game Started!"

After that, it should work.

0
Ok thank you. 6oi 9 — 8y
0
if this worked do a favor and mark as correct so other people like me dont read the entire thing and then realize it was already fixed dragonkeeper467 453 — 8y
Ad

Answer this question