This is the code, i works on studio but not in game, I DO have API on
game.Players.PlayerAdded:Connect(function(plr)
if plr.Name == "Pipe_Gamerz" then
local Potato = game.ReplicatedStorage.Needlegun:Clone()
Potato.Parent = game.Players.Pipe_Gamerz.Backpack
local Potato2 = game.ReplicatedStorage.Needlegun:Clone()
Potato2.Parent = game.Players.Pipe_Gamerz.StarterGear
end
end)
Help is extremely appreciated

1 comment
remove the Local from your variables