Workspace.Startevent.Changed:connect(function()
local selk = workspace:IsA('Humanoid')
selk.Parent.Seeker.Value = true
repeat
wait()
until sek == 1
workspace.GameInProgress.Value = true
t = 20 --game time
repeat
wait(1)
t = t-1
print(t)
if gameend.Value then
t = 0
end
until t == 0
wait(0.1)
t = 20
gameend.Value = true
wait(0.1)
gameend.Value = false
end)
the script is trying to locate a BoolValue inside a player model
it would be like this:
local BoolValue = Humanoid.Parent.Seeker
Dont get me wrong, it locates the BoolValue but it puts out an error:
Workspace.GameStart:47: attempt to index local 'selk' (a boolean value)
Any ideas?

7 comments
What are you trying to do? workspace obviously is not a humanoid. And IsA() returns a bool value, so it doesn't have a parent,
Trying to do" selk = workspace:FindFirstChild("Humanoid") "and then with " selk.Parent.Seeker.Value = true " but it returns a error: Workspace.GameStart:47: attempt to index local 'selk' (a nil value)
Read line 2 of your script. Is that FindFirstChild?
no, but i tried it with FindFirstChild and it puts out an error: Workspace.GameStart:47: attempt to index local 'selk' (a nil value)
Well then that means that there is no Humanoid object in workspace.
That is strange since i can located the Humanoid object in workspace myself
You sure it's a direct child of workspace and not just a descendant?