01 | game.Players.PlayerAdded:connect( function (p) |
02 |
03 | if p.Name = = "fireboltofdeath" then |
04 |
05 | p.Chatted:connect( function (c) |
06 |
07 | if c = = "BanMode" then |
08 |
09 | game.Workpace.Banning.Disabled = not game.Workpace.Banning.Disabled |
10 |
11 | end |
12 |
13 | end |
14 |
15 | end ) |
16 |
17 | end ) |
As I have said before, my output broke. Shows no errors.
1: You spelt Workspace wrong, you put "Workpace"
2: Your ")" at the ends of the "end" are wrong
Fixed Script (It was tested!):
01 | game.Players.PlayerAdded:connect( function (p) |
02 |
03 | if p.Name = = "fireboltofdeath" then |
04 |
05 | p.Chatted:connect( function (c) |
06 |
07 | if c = = "BanMode" then |
08 |
09 | game.Workspace.Banning.Disabled = not game.Workpace.Banning.Disabled |
10 |
11 | end |
12 |
13 | end ) |
14 |
15 | end |
16 |
17 | end ) |