How to get player's value from workspace?

I want to get change the bool value to true in every player in the workspace using this script:

Fixed Thank you!

local debounce = false
local charVariable
game.Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Wait()
	charVariable = player.Character
end)
local path = game:GetService("StarterPlayer").StarterCharacterScripts
local Character = game.Players.LocalPlayer.Character.Combat.Isworking
function getPlayer(humanoid)
	local players = game.Players:children()
	for i = 1, #players do
		if players[i].Character.Humanoid == humanoid then return players[i] end
	end
	return nil
end

function onTouch(part)
	local character = part.Parent
	local human = part.Parent:findFirstChild("Humanoid")
	if (human ~= nil) and debounce == false then
		debounce = true
		local player = getPlayer(human)
		if (player == nil) then return end
		if Character.Value == false then
			Character.Value = true
			debounce = false
			return
		end
		wait(0.1)
		debounce = false
	end
end
script.Parent.Touched:connect(onTouch)

Note The script may not work because it is not finished

Can you please explain what does this script do? What are you trying to achieve with this script?
Also, you should test and run this code so that you can solve any errors you encountered instead of just giving us a non-tested script without knowing what it does.

So what exactly is the issue your having? Looking at your code, it seems like you have not defined “Character” which your trying to change the value off. Do you mean “character” which you defined above a bit (part.Parent).