So I have this shop and the gear is only on my screen my friend showed me a screenshot and every gear given to me is only on my screen and on his end it's just me holding my arm out with nothing in my hand.
Here is the code -
local player = game.Players.LocalPlayer
script.Parent.MouseButton1Click:Connect(function()
if player.leaderstats.Coins.Value >= 1000 then
player.leaderstats.Coins.Value = player.leaderstats.Coins.Value - 1000
local clonar = game.ReplicatedStorage.SpeedCoil:Clone()
clonar.Parent = player.Backpack
end
end)
any help would be appreciated!

2 comments
If this is a local script, then all of this will only be on the client. To fix this, you probably should use a remote event / function
This can be a client/local script which runs client-sided (only for one device). You can use a remote event