Ah, this is something I hadn’t considered! I’m honestly not sure if I programmed everything such that it can work with stuff being streamed in and out.
Assuming the code works though, the indicators would just need to be created on the client. I can program something specifically for this case.
Note: This is only for StreamingEnabled, which loads and unloads things that are far away (which includes all the indicators this system uses).
Okay! I finished the code for this. Basically how it works:
Takes all indicators in and added to Workspace
Gives them an ID and sends their data through a RemoteEvent to the client
The client takes that data and creates a new Indicator on the client
The server also sends RemoteEvents to update Color, Team, Image, and Enabled (when the server changes those properties). NOTE: Position is not replicated with this new system.
The indicators being destroyed on the server is also replicated through a RemoteEvent.
Doesn’t work for things that move (at least movement isn’t replicated). I programmed it mainly for static Indicators that don’t change much.
Note: Changing indicators through LocalScripts doesn’t work because the indicators aren’t in the same place on the client. They are all under a single client-only part in Workspace. (Changes on the server ones replicate to the client ones though).
Any plans to add the the ability of changing indicators through LocalScripts?
I would really like to use this system for things like a tutorial or quest system where indicators are turned on/off just for a specific player. I feel like changing the player group for every specific quest or tutorial is perhaps not optimal.
Having pre-made indicators on the server with Enabled false then changing Enabled to true on the client when you need them.
or
Creating the indicators on the client when you need them and removing them when you don’t
Something to note about creating indicators, you need to name them “Indicator” before adding them to workspace for the connections to be created (it’s best practice anyways).
Hi there, I have a question. Can you tell me what the license is for this code? I want to upload it to GitHub and use it. However, if your work is not licensed, it can be difficult legally…