Hi, I have a problem, I am currently trying to make an airport game but as you see in the video when I press run, play or play here everything in the workspace gets deleted, this game was not touched for about a year and I dont think It used to do that, there is no free models in this game, all of them are paid or made by me, please tell me how to stop this so I can actually test the game
What’s that
You should search the scripts (all the scripts, using the universal search panel) for “:Destroy()”
This will let you see where things are being destroyed using scripts so that you can narrow it down and hopefully identify the problem.
im not sure, but it isnt related to the problem
I tried to but couldnt find anything, also when I publish the game to roblox it works in roblox but not in roblox studio
Instead of Play what happens if you go to the TEST tab and try pressing Play, or Play here, or Run?
Assuming none of your parts are unanchored and the culprit is actually code, could you press Ctrl + Shift + R
, it should display something like this:
On the search bar, look up:
- Destroy
to look for Instance:Destroy()
- AddItem
to look for Debris:AddItem()
- Parent =
something might be setting .Parent to nil..? so check for that too
Have you or any members of your team create friends started using a new plugin in Studio?
No, also the world is only accessed by me
In the worst cases you can create a separate game and copy-paste all objects inside this one there so you can detect if anything is related to the current place
It appears you have used toolbox models. A script might destroy everything. Check through everything with Find/Replace all for nil, Destroy, and Remove.
I looked up for the first 2 and I got nothing, but for the 3rd I got some but didnt see it related to the issue. also I found something when I publish game to roblox it deletes, but when Its local it doesnt