01 | game.Workspace.FilteringEnabled = true |
02 |
03 | if game.Workspace.FilteringEnabled = = false then do |
04 | game.Workspace.FilteringEnabled = true |
05 | wait( 1 ) |
06 | if game.Workspace.FilteringEnabled = = false then |
07 | local Var = game.Workspace:GetChildren(Players) |
08 | print (Var) |
09 | wait( 1 ) |
10 | game.Workspace:GetChildren():Remove |
11 | end |
12 | end |
There is a problem in line 11
You forgot the () at the end of :Remove
01 | game.Workspace.FilteringEnabled = true |
02 |
03 | if game.Workspace.FilteringEnabled = = false then |
04 | game.Workspace.FilteringEnabled = true |
05 | wait( 1 ) |
06 | if game.Workspace.FilteringEnabled = = false then |
07 | local Var = game.Workspace:GetChildren(Players) |
08 | print (Var) |
09 | wait( 1 ) |
10 | game.Workspace:GetChildren():Remove() |
11 | end |
12 | end |