Well, I haven't tested, but I'm just going to guess this one...
try using this...
local gear = game.Lightning:WaitForChild("Weapon Name")
function OnPlayerEntered(player)
wait(1)
player:WaitForDataReady()
if player:findFirstChild("StarterPack") then
gear:Clone().Parent = game.Players.LocalPlayer.StarterPack |