I need this certain part for a script to work in my game, but when the game loads the part dissapears from the workspace??? I havent made any scripts to destroy the part, it does this by itself, can anyone help me on this? first picture is when the game hasn’t been started, and the second picure is when i press the blue arrow play button and start the game.
Is the part there when you switch to server view?
This is called Streaming. It’s enabled by default for new experiences. When your character is out of range of a part/mesh (any Baseparts) it will not be loaded in. However it will stay loaded in on the Server Side. I recommend using Streaming for less lag and better running on old devices.
you will now have to use code for :ChildAdded(child) and :ChildeRemoved(child) to check when a part is loaded in for the player. You will have to put the parts in Folders/Models to use Child added and such.
If it’s used in a model you can set the streaming of that model to persistent to always stay loaded in (in/out of range). – This is what you want for important parts
Note: If your using a server script to detect the part, it should be fine. Only Client Scripts will work like this.
Some of the replies could be true but could it be that you just haven’t anchored it?
no it still isnt there once i switch to the server view instead of client view
The part was anchored and it still dissapears once i start the game
i think this was the problem to the part not appearing, i checked it with streaming and found out it just was never loading
@stuart2202 @Trainmaster2341 @edvaardss thanks for your replies they all contributed to helping me with this problem