I get the error "Attempt to index nil with 'Backpack' " on this line. I'm using this code from a tutorial and have no idea what is wrong. It also doesn't print.
local function giveTool(player: Player, tool: string)
local toolClone = ServerStorage:FindFirstChild("Tools"):FindFirstChild(tool):Clone()
toolClone.Parent = player.Backpack
print(toolClone.Parent.Name)
end
** You are now Level 1! **