minkanbJoin Date: 2014-03-29 Post Count: 14 |
I'm decent at scripting but there is one problem, most of the scripts (about 90%) I make only work on studio, not on the real published game. Help? |
|
WrathsongJoin Date: 2012-07-05 Post Count: 22393 |
Nobody can help if you don't #### ################## This is a problem with your code. Be sure to test your scripts in a Test Server unless they require no server interaction or replication because if you test in play solo, it's all local. So things that work in play solo may not work in game. |
|
minkanbJoin Date: 2014-03-29 Post Count: 14 |
dont hastag? |
|
minkanbJoin Date: 2014-03-29 Post Count: 14 |
I just went onto test server, only my map changing script works. The other things that happened is that my sword in server storage disappeared, and tutorial and shop gui wont open |
|
WrathsongJoin Date: 2012-07-05 Post Count: 22393 |
nobody can help if you don't
p0st
y0ur
c0d3
|
|
WrathsongJoin Date: 2012-07-05 Post Count: 22393 |
okay. my point exactly. always use local scripts in GUIs and keep in mind that server storage can't be accessed by a localscript because it is, as the name implies, server sided
|
|
minkanbJoin Date: 2014-03-29 Post Count: 14 |
I'm changing somethings to try and fix this |
|
minkanbJoin Date: 2014-03-29 Post Count: 14 |
ok thanks |
|
minkanbJoin Date: 2014-03-29 Post Count: 14 |
tested again, tutorial and shop still wont open.
fixing |
|
minkanbJoin Date: 2014-03-29 Post Count: 14 |
now all of my scripts are getting errors |
|
minkanbJoin Date: 2014-03-29 Post Count: 14 |
Wrathong, my scripts was a regular script, you told me to use local for guis. GUI's didn't
work after the local scripts. I changed back to a normal script. Now it works. So what you said didn't help me... |
|
edenDedenJoin Date: 2016-07-29 Post Count: 370 |
post yout code...or the output error or both
|
|
LeafDoodeJoin Date: 2017-05-29 Post Count: 3094 |
Hello there minkanb i feel your pain you work hard on a game on studio and in the real game it does not work well follow these steps and hopefully you will succeed
1.when you are in the "real" game in the chat type "/console"
2.a console called "Roblox Developer Console" will pop up
3.on the top of the bar click "ServerLog"
4.you will find errors in your scripts
there you go now in studio you can re-write your script have fun!
--LeafDoode |
|