how do i stop that?
i have in serverscriptservice 2 scripts, not local, this code
if game.Players.LocalPlayer.Backpack:FindFirstChild("pistol") then return end
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect( function(player) local tool = game.ReplicatedStorage.Pistol tool:Clone().Parent = player.Backpack end )
THE PISTOL IS CHANGED TO TrenchGun in the second one

7 comments
where do i put iy
Looking at your question from before, put that before firing the remote event.
i'll try it
it didnt work
i put them in the serverscriptservice scripts, is that right
Put that in the local script, you can't get the localplayer in a normal script...
it still gives me all of the weapons