You can do this:
local part = workspace.Part or workspace:WaitForChild("Part")
local function touched(gpu)
local gpuValue = game.Players.LocalPlayer:FindFirstChild("GPUValue")
if not gpuValue then gpuValue = Instance.new("ObjectValue", game.Players.LocalPlayer) gpuValue.Name = "GPUValue" end
gpuValue.Value = gpu
end
part.Touched:Connect(touched)