I have a script in ServerScriptStorage that is supposed to check if there is a player in a folder
1 | if #workspace.InBossBattle:GetChildren() > = 1 then |
2 | print ( "Worked" ) |
3 | end |
but this doesnt seem to work
try this:
1 | if workspace.InBossBattle:WaitForChild( "Humanoid" , 5 ) > = 1 then |
2 | print ( "Worked" ) |
3 | else |
4 | print ( "Doesnt Work" ) |
5 | end |