✓ Accepted answer
You are attempting to use LocalPlayer in what I assume is a regular Script (not a LocalScript) that is in a part somewhere in Workspace. LocalPlayer only works in LocalScripts that are somewhere in the player, so LocalPlayer is not an option for this script.
The solution is to use the function GetPlayerFromCharacter(character). This returns the player associated with the character in the parameters, or nil if there is no character.
function func(partTouched)
wait(1)
local character = partTouched.Parent -The part that touched's parent would be the character if a body part is what touched.
local plr = game.Players:GetPlayerFromCharacter(character) --Gets the player linked to the character.
if plr then --Checks if there is actually a player
local gear = game.ReplicatedStorage:WaitForChild("DecoyDeploy")
gear:Clone().Parent = plr.Backpack
gear:Clone().Parent = plr.StarterGear
wait(1)
end
end
script.Parent.Touched:connect(func)
Here is the Wiki Page on GetPlayerFromCharacter.
Here is the Wiki Page on LocalPlayer.