How to make client sided tools..?

Hello, I am currently trying to develop a system where when players load in there are client sided tools so people cant take each others, however I am unsure how to make it using local scripts, does anyone know a thread to this solution? thank you.

I already attempted to use it to move from replicated storage when a player enters but this doesnt seem to work

You can disable ‘CanBeDropped’ in a Tool.

thats not what I meant, I should’ve been more specific, I want the tool to appear for everyone but everyone can only take one of them and once you pick it up it disappears.

The players all can get one and once they take it, it will disappear on their client only

You’re gonna have to clone the tool from the ReplicatedStorage and insert it into your world from a LocalScript. That way, it will exist on the client only.

I added the part to workspace and added a proximity prompt with a local script, the script is script.Parent.Triggered:Connect(function(plr)
game.ReplicatedStorage.Apple:Clone().Parent = plr.Backpack
script.Parent.Parent:Destroy()
end)

it basically is referencing the apple in replicated storage and adding to my backpack, then destroying the apple, however since its a local script I am having some issues, and the proximity prompt isnt running properly, any suggestions?

Ensure that you do as much as possible on the client, since that is where your tool lives. I do not have enough information on your proximity prompt issue in order to help you with that.

all I did was add a part and then named it Apple, added a proxy and made it E to pickup, then in replicated storage I have an apple tool that has a local script with the script above

script.Parent.Triggered:Connect(function(plr)
game.ReplicatedStorage.Apple:Clone().Parent = plr.Backpack
script.Parent.Parent:Destroy()
end)

It seems to not let me call the function with the proxy which was press E

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.