Disable script works but cant enable it after?
So I made this script. When an admin says a word called ":disablebb" it should disable a script and also when an admin says ":enablebb" then it should enable the script. However, when i do :disablebb everything works it disables the script and everything. BUT when i do :enablebb it doesn't enable the script
-script
01 | local admins = { "WillBe_Stoped" , "imtoogud3322" , "Baller_Shard" , "kicksonhurri" , "conradvibes" |
04 | local bbscript = script.Parent.BB |
06 | game.Players.PlayerAdded:Connect( function (player) |
07 | player.Chatted:Connect( function (msg) |
08 | for i,v in pairs (admins) do |
09 | if bbscript.Disabled = = false and v = = player.Name and msg = = prefix.. "disablebb" then |
10 | bbscript.Disabled = true |
11 | elseif bbscript.Disabled = = true and v = = player.Name and msg = = prefix.. "enablebb" then |
12 | bbscript.Disabled = false |