i am trying to make a button that puts a tool into a players backpack but it dont work

i tried replicated storage didnt work and tried server storage

for replicated storage it says " Cannot change Parent of type ReplicatedStorage"

for server storage it says " tools is not a valid member of ServerStorage"

my script is

tool = game.ServerStorage

script.Parent.MouseButton1Click:Connect(function()
	tool.tools:Clone()
	tool.Parent = game.Players.LocalPlayer.Backpack
end)