ReplicatedStorage
replicates items to both the client and the server. Meaning that if a client were to change the contents of ReplicatedStorage
, it wouldn’t replicate changes to other clients or the server. You can find out more: ReplicatedStorage | Documentation - Roblox Creator Hub .
From what I understand, you have one script that’s parented to a part in Workspace
. If this is the case, you’d be at a loss if you needed a multitude of the same part. This particular case is common and is solved by the principle of reusing instances / code. You can do this in a variety of ways from having a ServerScript in ServerScriptService
that checks each part that is named under a particular namespace or is under a specific folder to using CollectionService
to perform the same action under specific conditions.
I’d consider using/looking into the following resources to help you with your problem:
- Roblox Tag Editor - GitHub - tiffany352/Roblox-Tag-Editor: A plugin for manipulating CollectionService in Roblox Studio. & Tag Editor Plugin
- CollectionService - CollectionService | Documentation - Roblox Creator Hub
Hope this helps!