of     2   
chevron_rightchevron_rightchevron_right

1billybob1
#63984952Thursday, March 08, 2012 1:58 AM GMT

Hello, I have this script, and on line 8 it says, "then" is expected to be near "=". Please help: script.Parent = game.Workspace wait(1) --Game Time if game.Players.NumPlayers = 1 then local m = Instance.new("Message") m.Parent = game.Workspace m.Text = "Not enough players" else local m = Instance.new("Message") m.Parent = game.Workspace m.Text = "New Game Starting in 10..." wait(0.1) m.Text = "New Game Starting in 9..." wait(0.1) m.Text = "New Game Starting in 8..." wait(0.1) m.Text = "New Game Starting in 7..." wait(0.1) m.Text = "New Game Starting in 6..." wait(0.1) m.Text = "New Game Starting in 5..." wait(0.1) m.Text = "New Game Starting in 4..." wait(0.1) m.Text = "New Game Starting in 3..." wait(0.1) m.Text = "New Game Starting in 2..." wait(0.1) m.Text = "New Game Starting in 1..." wait(1) m.Text = "Game Loaded"
1billybob1
#63984998Thursday, March 08, 2012 1:58 AM GMT

Whoops I meant line 4.
KnightmareXD
#63985053Thursday, March 08, 2012 1:59 AM GMT

script.Parent = game.Workspace wait(1) --Game Time if game.Players.NumPlayers == 1 then local m = Instance.new("Message") m.Parent = game.Workspace m.Text = "Not enough players" else local m = Instance.new("Message") m.Parent = game.Workspace m.Text = "New Game Starting in 10..." wait(0.1) m.Text = "New Game Starting in 9..." wait(0.1) m.Text = "New Game Starting in 8..." wait(0.1) m.Text = "New Game Starting in 7..." wait(0.1) m.Text = "New Game Starting in 6..." wait(0.1) m.Text = "New Game Starting in 5..." wait(0.1) m.Text = "New Game Starting in 4..." wait(0.1) m.Text = "New Game Starting in 3..." wait(0.1) m.Text = "New Game Starting in 2..." wait(0.1) m.Text = "New Game Starting in 1..." wait(1) m.Text = "Game Loaded" † KMXD †
xvgigakid
#63985055Thursday, March 08, 2012 1:59 AM GMT

if game.Players.NumPlayers = 1 then --2 Equal signs if game.Players.NumPlayers == 1 then
SDuke524
#63985059Thursday, March 08, 2012 1:59 AM GMT

> game.Players.NumPlayers = 1 = defines ==compares you need ==
xvgigakid
#63985095Thursday, March 08, 2012 2:00 AM GMT

I blame my late toasts on my failed username...
1billybob1
#63985103Thursday, March 08, 2012 2:00 AM GMT

Ah. Thanks. Works now.
1billybob1
#63985319Thursday, March 08, 2012 2:03 AM GMT

Wait one more thing, I updated it a bit now at line 10 it says expected near else: script.Parent = game.Workspace wait(1) --Game Time if game.Players.NumPlayers == 1 then local m = Instance.new("Message") m.Parent = game.Workspace m.Text = "Not enough players" end else if local m = Instance.new("Message") m.Parent = game.Workspace m.Text = "New Game Starting in 10..." wait(0.1) m.Text = "New Game Starting in 9..." wait(0.1) m.Text = "New Game Starting in 8..." wait(0.1) m.Text = "New Game Starting in 7..." wait(0.1) m.Text = "New Game Starting in 6..." wait(0.1) m.Text = "New Game Starting in 5..." wait(0.1) m.Text = "New Game Starting in 4..." wait(0.1) m.Text = "New Game Starting in 3..." wait(0.1) m.Text = "New Game Starting in 2..." wait(0.1) m.Text = "New Game Starting in 1..." wait(1) m.Text = "Game Loaded"
KnightmareXD
#63985344Thursday, March 08, 2012 2:03 AM GMT

No problem. † KMXD †
KnightmareXD
#63985389Thursday, March 08, 2012 2:04 AM GMT

You need 2 ends. † KMXD †
1billybob1
#63985410Thursday, March 08, 2012 2:04 AM GMT

Where would I put them?
KnightmareXD
#63985454Thursday, March 08, 2012 2:05 AM GMT

Both at the bottom. † KMXD †
xvgigakid
#63985480Thursday, March 08, 2012 2:05 AM GMT

2 ends? He only needs 1. if elseif end ~Tada
1billybob1
#63985539Thursday, March 08, 2012 2:06 AM GMT

Still has the same error: --LOADER V.1--------------------------------------------------------------------------------------------- --MADE BY 1billybob1 DO NOT STEAL------------------------------------------------------------------------ --USED FOR MY GAMES-------------------------------------------------------------------------------------- script.Parent = game.Workspace wait(1) --Game Time if game.Players.NumPlayers == 1 then local m = Instance.new("Message") m.Parent = game.Workspace m.Text = "Not enough players" end else if local m = Instance.new("Message") m.Parent = game.Workspace m.Text = "New Game Starting in 10..." wait(0.1) m.Text = "New Game Starting in 9..." wait(0.1) m.Text = "New Game Starting in 8..." wait(0.1) m.Text = "New Game Starting in 7..." wait(0.1) m.Text = "New Game Starting in 6..." wait(0.1) m.Text = "New Game Starting in 5..." wait(0.1) m.Text = "New Game Starting in 4..." wait(0.1) m.Text = "New Game Starting in 3..." wait(0.1) m.Text = "New Game Starting in 2..." wait(0.1) m.Text = "New Game Starting in 1..." wait(1) m.Text = "Game Loaded" end end
xvgigakid
#63985556Thursday, March 08, 2012 2:06 AM GMT

Oh wait never mind, He typed in else if not elseif. Broski you gotta put the else and the if on two seperate lines are also my Brain will be unable to comprehend the assets you have displayed >:|
xvgigakid
#63985644Thursday, March 08, 2012 2:08 AM GMT

See!?!?!? 'lines are also' 'lines or also' I just made my typo of the day >:/
KnightmareXD
#63985669Thursday, March 08, 2012 2:08 AM GMT

@Billy Remove the "end" in the beginning of the script. @xvg Yea, I prefer "elseifs". † KMXD †
1billybob1
#63985710Thursday, March 08, 2012 2:09 AM GMT

It still says expected near else.
KnightmareXD
#63985753Thursday, March 08, 2012 2:10 AM GMT

Post the script again. † KMXD †
1billybob1
#63985828Thursday, March 08, 2012 2:11 AM GMT

wait I got that fixed. Theres only one more problem. script.Parent = game.Workspace wait(1) --Game Time if game.Players.NumPlayers == 1 then local m = Instance.new("Message") m.Parent = game.Workspace m.Text = "Not enough players" elseif local m = Instance.new("Message") m.Parent = game.Workspace m.Text = "New Game Starting in 10..." wait(0.1) m.Text = "New Game Starting in 9..." wait(0.1) m.Text = "New Game Starting in 8..." wait(0.1) m.Text = "New Game Starting in 7..." wait(0.1) m.Text = "New Game Starting in 6..." wait(0.1) m.Text = "New Game Starting in 5..." wait(0.1) m.Text = "New Game Starting in 4..." wait(0.1) m.Text = "New Game Starting in 3..." wait(0.1) m.Text = "New Game Starting in 2..." wait(0.1) m.Text = "New Game Starting in 1..." wait(1) m.Text = "Game Loaded" end end line 9 says: unexpected symbol near local.
SDuke524
#63985859Thursday, March 08, 2012 2:11 AM GMT

> if game.Players.NumPlayers == 1 then local m = Instance.new("Message") m.Parent = game.Workspace m.Text = "Not enough players" end else if if you have that end there you can't use `else` or `elseif`.     if game.Players.NumPlayers == 1 then         local m = Instance.new("Message")         m.Parent = game.Workspace         m.Text = "Not enough players"     elseif--no space==one end needed then at the end just have one end.
KnightmareXD
#63985912Thursday, March 08, 2012 2:12 AM GMT

script.Parent = game.Workspace wait(1) --Game Time if game.Players.NumPlayers == 1 then local m = Instance.new("Message") m.Parent = game.Workspace m.Text = "Not enough players" else local m = Instance.new("Message") m.Parent = game.Workspace m.Text = "New Game Starting in 10..." wait(0.1) m.Text = "New Game Starting in 9..." wait(0.1) m.Text = "New Game Starting in 8..." wait(0.1) m.Text = "New Game Starting in 7..." wait(0.1) m.Text = "New Game Starting in 6..." wait(0.1) m.Text = "New Game Starting in 5..." wait(0.1) m.Text = "New Game Starting in 4..." wait(0.1) m.Text = "New Game Starting in 3..." wait(0.1) m.Text = "New Game Starting in 2..." wait(0.1) m.Text = "New Game Starting in 1..." wait(1) m.Text = "Game Loaded" end † KMXD †
KnightmareXD
#63985953Thursday, March 08, 2012 2:13 AM GMT

What? I feel like xvg. . . D: † KMXD †
SDuke524
#63985971Thursday, March 08, 2012 2:13 AM GMT

oh yeah it also should be else not elseif because it has no condition.
1billybob1
#63986063Thursday, March 08, 2012 2:15 AM GMT

Ah, most of it works, also, is NumPlayer a behavior?

    of     2   
chevron_rightchevron_rightchevron_right