script.Parent.Touched:Connect(function(hit)
	if hit.Parent:FindFirstChild("Humanoid") then
		if script.Parent.Transparency ~= 1 then
			
			local amount = math.random(1000,2000)
			local plrName = hit.Parent
			local gold = game.Players.plrName.PROFILE.Gold
			
			gold.Value = gold.Value + amount
			script.Parent.CanCollide = false
			script.Parent.Transparency = 1
			wait(5)
			script.Parent.CanCollide = false
			script.Parent.Transparency = 0
			
		end
	end
end)

I'm making a part where if u touch it it gives u more money and the money value is located in game>Players>LocalPlayer>PROFILE>Gold

the system says it has a problem with line 7 and said "plrName is not a valid member of Players"