What does this error mean

hello everyone im having problems with this script basically its suppose to give you a gun but i get a error instead

script.Parent.ProximityPrompt.Triggered:Connect(function()
	game.ReplicatedStorage.M14.Parent = game.StarterPack
end)

heres the error

M14 is not a valid member of ReplicatedStorage "ReplicatedStorage"

Why are you referencing the Parent of the M14 though? Instead, first clone it, then parent it and you should be all good

script.Parent.ProximityPrompt.Triggered:Connect(function()
	game.ReplicatedStorage.M14:Clone().Parent = game.StarterPack
end)