Tools not showing for other players

What do you want to achieve?
I’m trying to make it so other players can see the tool I have equipped.
So I’ve made 2 local scripts in StarterCharacterScripts . The scripts get 2 tools from ReplicatedStorage and give them to a player if they have the gamepass.

What is the issue?
I can see the tool I have equipped but when I look on my alt, the alt can only see my hand right in the air as if holding a tool but there’s no tool actually there.

What solutions have you tried so far?
I have searched for a solution but I can’t find any.

Script that gives tool if they own gamepass:

local id = 7694864
local player = game.Players.LocalPlayer

if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.UserId, id) then
game.ReplicatedStorage.GamepassTools.Pizza:Clone().Parent = player:WaitForChild("Backpack")

This has to be done on ServerSide. Not from the Client Side (Player).

If u wanna make a part trough a script u need to do it from a script what ur doing is doing it on the client so only the one that does it will see it if u do it trough a script it aka server side everyone will see it.

So what script would I use though. I actually tried server side script but it didn’t give the player the tool so that’s why I used a local script.

Your doing it on a local client side, if you want it to work do it on the serverside bit of the scripts.

ahhh u need to use remote events u cant get the player like this in a script, local player = game.players.localplayer only works in a local script

So how would I use a remote event. take a look at this to understand the diffrence between client and server and then try to look up a tutorial for remotes

1 Like