Hello, I need help with the base structure of my game. I am making a Backrooms Inspired horror game that features multiple levels like the design of both Escape the Backrooms and Aperiaphobia.
I am wondering where I should store maps, how to change levels, and how to change local and server scripts for main objectives and effects. For example, I have map 1 which has an objective to escape and some client effects; the same with map 2. How can I load those to clients and the server when needed?
the maps in server storage so that players cannot access them. first of all you can’t load any map and at certain points you could figure yourself out with dashes if the player passed a map and as the player passes in different areas you erase others behind and put invisible walls behind him so he can’t see the deleted parts and you load another map and so on
A local script is a LocalScript. It runs on the client.
A loading script is a LocalScript in ReplicatedFirst. It runs as soon as the game starts loading. You can call ReplicatedFirst.RemoveDefaultLoadingScreen to make your own loading screen from here, as stated in the documentation.
I am so sorry for the very late response, very busy with school! But can you explain what and how to create a package? My thought was to save it into server storage.
Right-click your script and there should be an option that says:
“Save as package”
Or soemthign like that, press that and you should be done, you shouldn’t be Abel to ”publish” it, I don’t know what’s after it as I never tried m
You have two options with ModuleScripts. You can save them as a package (you can change versions and all of that, but it isn’t public) or you can make them a MainModule (harder to change versions, but you can make it public).