00:44:32.981 - Players.MrLordFearLT.Backpack.AK-47.Scripts.FrontendScript:4: attempt to index local 'player' (a nil value)
--Variables--
local tool = script.Parent.Parent
local player = game:GetChildren("Players").LocalPlayer
local mouse = player:GetMouse()
local hole = tool:WaitForChild("Hole")
local handle = tool:WaitForChild("Handle")
local actionService = game:GetService("ContextActionService")
local mouseDown = false
local equipped = false
**DAFUQ **

5 comments
Try
local player = game:GetService("Players"):WaitForChild("LocalPlayer")THANKS.
mark as [Solved]
game:GetServicenotgame:GetChildrenLocalPlayer is a property of the Players service, not a child.