So I have a global script inside the Workspace, here's what's in it.
for i,v in pairs(game.Players:GetPlayers()) do
if v.Character:FindFirstChild("Humanoid") then
v.Character.Humanoid.Died:connect(function()
v.InGame.Value = false
end)
end
end
I also have a rounds script, that changes that value to true when the round starts, that script also kills the player. It changes the value true, and works 100%.
And I have a script that inserts this value into the player when the start:
game.Players.PlayerAdded:connect(function(p)
ing = Instance.new("BoolValue")
ing.Name = "InGame"
ing.Value = false
ing.Parent = p
end)
The script that doesn't work, is the first one.
--Edit for ToTo--

4 comments
It's a BoolValue. I have other BoolValues that I have changed to true or false.
Oh I thought a regular value.... Well can you give me the layout then i'll try to figure it out
I edited the question.
thx