I have a script in ServerScriptStorage that is supposed to check if there is a player in a folder
if #workspace.InBossBattle:GetChildren() >= 1 then
print("Worked")
end
but this doesnt seem to work
I have a script in ServerScriptStorage that is supposed to check if there is a player in a folder
if #workspace.InBossBattle:GetChildren() >= 1 then
print("Worked")
end
but this doesnt seem to work
try this:
if workspace.InBossBattle:WaitForChild("Humanoid", 5) >= 1 then
print("Worked")
else
print("Doesnt Work")
end
it didn't seem to work i got this error:
ServerScriptService.BobScript:1: attempt to compare number <= nil
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Create a for loop
K