So I Have Been Trying To Reference A Backpack To Give The Player Chicken On A Click Giver I Looked On Roblox Wiki For How To And I Did That But It Didn't Work I Use This Script To Clone The Chicken All Over The Place So I Think It Is Just The Referencing I Don't Know I Am Still New To Lua And Coding This Is What I Did
click = game.Workspace.ChickenGiver.ClickDetector
click.mouseClick:Connect(function()
game.ServerStorage.ChickenTool:Clone().Parent = game.Players.LocalPlayer.Backpack
end)

2 comments
You need a capital M for 'click.MouseClick'. The rest is fine.
Is this a server script? If so I you wouldn't be able to use Local Player, but you can use remote events to communicate with a local script & tell it to clone the tool & place it in the backpack.