lnTech
|
  |
| Joined: 09 Nov 2012 |
| Total Posts: 737 |
|
|
| 13 Feb 2017 05:45 PM |
My game Keeps Breaking and I dont know how to fix it. Can anyone Help?
|
|
|
| Report Abuse |
|
|
|
| 13 Feb 2017 05:45 PM |
I hope you're joking, or just a troll. Give us Details, what script isn't working?
jesus...
-swifty |
|
|
| Report Abuse |
|
|
lnTech
|
  |
| Joined: 09 Nov 2012 |
| Total Posts: 737 |
|
|
| 13 Feb 2017 05:47 PM |
I am not trolling sorry forgot to add info, LMusic:Stop() MMusic:Play() for i = 120, 0, -1 do if i == 0 then status.Value = '' current.Value = "Game Over!" break end wait(1) if #_G.gameplayers == 0 then for i, v in pairs(_G.gameplayers) do if v ~= nil then status.Value = "" current.Value = v winnervalue.Value = v wait(2) mapstorage:ClearAllChildren() break end end break else current.Value = 'Status: Match' status.Value = ' '..i end if #_G.gameplayers == 1 then status.Value = " " current.Value = "Victory!" WMusic:Play() mapstorage:ClearAllChildren() wait(1) break end end
wait(.5) mapstorage:ClearAllChildren() wait(.5) status.Value = 'Starting new round...' MMusic:Stop()
|
|
|
| Report Abuse |
|
|
lnTech
|
  |
| Joined: 09 Nov 2012 |
| Total Posts: 737 |
|
| |
|
| |
|
lnTech
|
  |
| Joined: 09 Nov 2012 |
| Total Posts: 737 |
|
| |
|
iiNemo
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 2380 |
|
|
| 13 Feb 2017 06:19 PM |
| break stops the while true do |
|
|
| Report Abuse |
|
|
lnTech
|
  |
| Joined: 09 Nov 2012 |
| Total Posts: 737 |
|
| |
|
lnTech
|
  |
| Joined: 09 Nov 2012 |
| Total Posts: 737 |
|
| |
|
iiNemo
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 2380 |
|
| |
|
iiNemo
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 2380 |
|
|
| 13 Feb 2017 08:15 PM |
I am not trolling sorry forgot to add info, LMusic:Stop() MMusic:Play() for i = 120, 0, -1 do if i == 0 then status.Value = '' current.Value = "Game Over!" end wait(1) if #_G.gameplayers == 0 then for i, v in pairs(_G.gameplayers) do if v ~= nil then status.Value = "" current.Value = v winnervalue.Value = v wait(2) mapstorage:ClearAllChildren() end end else current.Value = 'Status: Match' status.Value = ' '..i end if #_G.gameplayers == 1 then status.Value = " " current.Value = "Victory!" WMusic:Play() mapstorage:ClearAllChildren() wait(1) end end
wait(.5) mapstorage:ClearAllChildren() wait(.5) status.Value = 'Starting new round...' MMusic:Stop() |
|
|
| Report Abuse |
|
|
lnTech
|
  |
| Joined: 09 Nov 2012 |
| Total Posts: 737 |
|
|
| 13 Feb 2017 08:15 PM |
When I did that it broke the game
|
|
|
| Report Abuse |
|
|
iiNemo
|
  |
| Joined: 22 Jul 2013 |
| Total Posts: 2380 |
|
|
| 13 Feb 2017 08:16 PM |
| Because half of the script has hashtags in them, fix the hashtags to what they were.. |
|
|
| Report Abuse |
|
|
lnTech
|
  |
| Joined: 09 Nov 2012 |
| Total Posts: 737 |
|
| |
|