so i made a game, and half of the things i scripted does not work in the game but it does in studio, anyone know why? if its because of the drafts, how do we disable this thing?
Also, Did you publish the game?
That is a common mistake.
the HTTP service is enabled, and the scripts work in studio , there are no IsStudio() line , yes i pulished it a of time to verify before posting
For more help, show us the scripts, because I don’t know otherwise.
there are not 1 or 2 scripts there are a looot of scripts , the half of them does not work, i cant show them all
Can you show us your game’s hierarchy
what do you mean, the explorer?
Show is one script that malfunctions and we will try to guess what you did wrong. Because you probably replicated the same mistake over and over again
How do your client-server interactions work? Are you using things like remote events and remote functions properly?
Even back when I was on the old Roblox Scripters forum, whenever a post appeared with a title like “works in studio, but not online” the problem was almost always caused by local scripts trying to do stuff that only server scripts should be doing. Like 99% of the time.
Its likely its caused from drafts/ Collaborative editing.
The way collaborative editing works is that draft scripts are saved locally and will only run on your studio client. Otherwise it uses the server copy script. To change the server copy you can find the draft window, right-click and commit/ merge. Or you can disable the setting altogether in the game settings> options under the home tab in studio.
For more information on collaborative editing:
Hope this helps
Seems like you just need to spend some time actually debugging your code or writing better scripts. If they work in Studio but not in Roblox, they are almost definitely the fault of your own implementation as Studio testing simulates live games. “It works in Studio but not in game” is no longer a valid excuse for things not working that are out of your own control.
There’s a lack of information here so we can’t do much else except provide you tips and advice regarding developing your game.
In the studio, the services load quicker so i would put: WaitForChild
I just spent almost half an hour trying to solve this problem only to realise my sleep-deprived brain forgot to click Publish . Thank you.