reflicted
|
  |
| Joined: 07 Nov 2012 |
| Total Posts: 265 |
|
|
| 19 Dec 2012 05:44 PM |
print("Reflicteds Map Changing Script Loaded")
while true do wait(3) print("Starting") local lobbymess = Instance.new("Message", game.Workspace) local timelobby = 10 repeat until timelobby == 0 print("Debugging purpose...") wait(1) lobbymess.Text = "|F-S| Game Starting In "..timelobby - 1 end
No errors, but it wont do the reapeat I tried repeat wait() until, but it still did not work. Thanks!
|
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 19 Dec 2012 05:46 PM |
waitTime = .5 repeat wait(waitTime) until timelobby == 0 |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 19 Dec 2012 05:46 PM |
| Oops did not read the last part, hold on. |
|
|
| Report Abuse |
|
|
|
| 19 Dec 2012 05:47 PM |
repeat wait() until timelobby == 0
~SamuelKingx |
|
|
| Report Abuse |
|
|
|
| 19 Dec 2012 05:48 PM |
Oh.. me either. .-.
~SamuelKingx |
|
|
| Report Abuse |
|
|
reflicted
|
  |
| Joined: 07 Nov 2012 |
| Total Posts: 265 |
|
|
| 19 Dec 2012 05:48 PM |
| Did not work. Still no errors though. Instead of repeat (which is more efficent) I might just write it out. Anyways, any other help? |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 19 Dec 2012 05:49 PM |
| It will just repeat but the thing is, nothing changes the value; so it's just stuck their repeating itself until the value changes. |
|
|
| Report Abuse |
|
|
reflicted
|
  |
| Joined: 07 Nov 2012 |
| Total Posts: 265 |
|
|
| 19 Dec 2012 05:49 PM |
| Lesson learn, I write stuff for reason -.- XD |
|
|
| Report Abuse |
|
|
reflicted
|
  |
| Joined: 07 Nov 2012 |
| Total Posts: 265 |
|
|
| 19 Dec 2012 05:50 PM |
| @Rapheal How would I fix it though, should I add a Value and change that instead of using it in the script? |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 19 Dec 2012 05:53 PM |
-- Put an Int value in workspace
lobbyTime = game.Workspace.LobbyTime lobbyTime.Value = 10
while true do wait(3) print("Starting") local lobbymess = Instance.new("Message", game.Workspace) repeat until timelobby == 0 print("Debugging purpose...") wait(1) lobbymess.Text = "|F-S| Game Starting In "..timelobby - 1 end
wait(3)
for i = 10, 0, -1 do wait(1) lobbyTime.Value = i end |
|
|
| Report Abuse |
|
|
|
| 19 Dec 2012 06:42 PM |
raphael, wouldn't you have to re-name timelobby to lobbyTime? |
|
|
| Report Abuse |
|
|
Raphael7
|
  |
| Joined: 03 Dec 2008 |
| Total Posts: 2479 |
|
|
| 20 Dec 2012 06:59 PM |
| Ohyup, did not notice that. |
|
|
| Report Abuse |
|
|