miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 04 Sep 2011 01:34 PM |
local h = Instance.new("Hint") h.Parent = Workspace for i = 10,0,-1 do for h = 59,0,-1 do h.Text = i..":"..h if game.Players.NumPlayer <=2 or 1 then Hint.archivable = false end end end
Output Workspace.Countdown:5: attempt to index local 'h' (a number value)
|
|
|
| Report Abuse |
|
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
|
| 04 Sep 2011 01:35 PM |
h = Hint h is overwritten by 'for h = 59,0,-1 do' to a number h = number |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2011 01:36 PM |
local Hint = Instance.new("Hint", workspace) for i = 10,0,-1 do for h = 59,0,-1 do Hint.Text = i..":"..h if game.Players.NumPlayesr <=2 hen Hint.Archivable = false end end end
-Like an __AWESOME__ boss |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 04 Sep 2011 01:36 PM |
| OH didn't see that.Ima change the variable. |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2011 01:36 PM |
Fail typos.
local Hint = Instance.new("Hint", workspace) for i = 10,0,-1 do for h = 59,0,-1 do Hint.Text = i..":"..h if game.Players.NumPlayers <=2 then Hint.Archivable = false end end end
-Like an __AWESOME__ boss |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 04 Sep 2011 01:38 PM |
@Fl0x Yeah, I changed hte variable and it worked!Thanks. |
|
|
| Report Abuse |
|
|