Inventory Replication

Hi

I have a custom hotbar that has to often change the parent of a tool.

As you likely know, moving tools on the client is not replicated.

I moved the movement to a remote event that fires in place of setting the parent on the client.

The only problem with this is that players can spam the inventory keys (1,2,3, etc.), resulting in some events not sending and multiple tools being parented to the same character.

Now I could add a delay between sending, but I feel like that would just make it feel unresponsive. Any help is appreciated, thanks.

This is not true, tools are special cases for humanoids, which replicates them as per the client ownership of the character. The default Roblox inventory system literally does this.

2 Likes

I tried this before and tested it with others and the tools were not equipped for other clients

My bad, I was directly setting the parents instead of using Humanoid:EquipTool(…)

1 Like