ok so i made a shop gui, and made it where if you click things, it gives you them yknow the basic but when it gives me the gun, it doesnt let me kill anyone, like it only kills them on my screen but they dont really die, but if i use :give me all then i can kill them - heres the script
script.Parent.MouseButton1Click:Connect(function()
local RS = game:GetService("ReplicatedStorage")
local item = RS:WaitForChild("GlockDrum")
local player = game.Players.LocalPlayer
local cloned = item:Clone()
cloned.Parent = player.Backpack
end)

3 comments
Its not the shop gui its the gun. You need to make the gun filtering enabled.
^ Read what he said; he said when he uses a command to give himself the gun, it works. @OP You're cloning the gun on the client, which isn't replicated to the server; you'll need to use a remote to give a player the gun.
how can i use a remote on the gun @TheeDeathCaster