XxSWxX
|
  |
| Joined: 03 Nov 2007 |
| Total Posts: 1016 |
|
|
| 24 Jan 2015 04:45 PM |
So I was making this script and testing it like usual, It worked fine in start server test mode so I published my game to roblox. I played it and the scripts werent functioning properly. I go back to the studio and go into test mode and realize that its broken on there too?! keep in mind it was the SAME winow that I had opend before and after I published the game.
sorry if TL;DR, heres the gist of the story: Somthing is going on with the publish to roblox that corrupts some scripts... ( I had noticed the entire map appears to reload itself after I publish which has never happend before)
Anyone else ever have this problem?
|
|
|
| Report Abuse |
|
|
111
|
  |
| Joined: 10 Aug 2007 |
| Total Posts: 7082 |
|
|
| 24 Jan 2015 04:51 PM |
Nope. Some LocalScripts are completely broke during online play but work fine in studio if you are messing with LocalScripts. -[ 111, 7 Year Veteran, Community Helper ]- |
|
|
| Report Abuse |
|
|
WishNite
|
  |
| Joined: 11 Feb 2009 |
| Total Posts: 15828 |
|
|
| 24 Jan 2015 04:58 PM |
add a
repeat wait() until game.Players.LocalPlayer
to the top of the script
the script actually runs before the player has loaded |
|
|
| Report Abuse |
|
|
XxSWxX
|
  |
| Joined: 03 Nov 2007 |
| Total Posts: 1016 |
|
|
| 24 Jan 2015 05:00 PM |
| But how does it break the game that I had in studio after I had published it? It was tested before and after the publish on the same window and somhow breaks... |
|
|
| Report Abuse |
|
|
XxSWxX
|
  |
| Joined: 03 Nov 2007 |
| Total Posts: 1016 |
|
|
| 24 Jan 2015 05:01 PM |
| @WishNite Ill try that just in case |
|
|
| Report Abuse |
|
|
XxSWxX
|
  |
| Joined: 03 Nov 2007 |
| Total Posts: 1016 |
|
|
| 24 Jan 2015 05:18 PM |
| @WishNite That diddnt seem to work... |
|
|
| Report Abuse |
|
|