Let me explain how it was supposed to work.
If you say “stuff” in an in-game chat and you username is “raid6n” a GUI will be enabled
local message = "stuff"
function onChatted(msg, recipient, speaker)
local source = string.lower(speaker.Name)
msg = string.lower(msg)
if (msg == message) and player.Name == "raid6n" then
for i = 1, 9 do
script.Parent.Enabled = true
wait()
end
end
end
function onPlayerEntered(newPlayer)
newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end)
end
game.Players.PlayerAdded:connect(onPlayerEntered)
No errors

4 comments
it’s a local script
set player
Did you even script this?
no