NeonBlox
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1462 |
|
|
| 31 Oct 2011 05:33 PM |
if _G.numplayers == 2 then pointsone = 15 end
if _G.numplayers == 3 then pointsone = 25 end
if _G.numplayers == 4 then pointsone = 35 end
while wait() do pcall(function() if #_G.time[1] < _G.highscore then pointsone = pointsone + 25 if #_G.touched > 0 and #_G.time > 0 then script.Parent.Text = "First ".._G.touched[1].." ".._G.time[1].." "..pointsone else script.Parent.Text = "The player didn't finish or didn't play! D:" end end end) end
Can't get that to work, it should change the text. All table and variables are defined and have values. |
|
|
| Report Abuse |
|
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
NeonBlox
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1462 |
|
|
| 31 Oct 2011 05:44 PM |
| Oh wow.. I had declared pointsone but I deleted it and didn't notice. Thanks, I'll give it a try. |
|
|
| Report Abuse |
|
|