So what I'm attempting to create is a mute command. Very simple, if it wasn't for the fact that the SetCore wouldn't occur.
local Mute = script["Local Script Engine"]:Clone()
Mute.Parent = v
Mute.Code.Value = [[
game:GetService("StarterGui"):SetCore("ChatBarDisabled", true)
print("test")
]]
Mute.Disabled = false
Now, the command works fine and correctly finds the player and does everything. I can tell because test is printed; the only problem is just that the default chatbar isn't disabled like how it is supposed to be in both online and offline. Any help?

1 comment
Thanks. Yeah, after reading the latter I understood why as it was printing out "test". My only question is, does that mean that this type of command will no longer work in online mode (haven't bothered to check if the "test" is printed in online but it does in offline)?