So I made this code
local function Run(ChatService)
-- Bot definitions.
local bot = ChatService:AddSpeaker("Greetings") -- The bot's name.
bot:JoinChannel("All") -- Joins every channel.
bot:SetExtraData("NameColor", Color3.new(150/255, 167/255, 255/255)) -- 249, 207, 249 // The bot's name color. Current color is blue.
bot:SetExtraData("ChatColor", Color3.new(249/255, 207/255, 249/255)) -- The bot's chat color. Current color is pink.
bot:SayMessage(string.format("This is doctorSchuckbert09 and I give this game 18/20"),"All") -- What should the bot say when the server has been made?
-- What should the bot say when the player has spawned?
ChatService:GetChannel("All").SpeakerJoined:connect(function(speaker)
spawn(function()
wait(1.99925) -- Reasonable time? Dunno.
bot:SayMessage(string.format("This is doctorSchuckbert09 and I give this game 18/20"),"All") -- %s is the definitions for the player. You can configure this to
-- want different messages, you'd have to make a string table for
-- that. For now, it does a pre - set message.
end)
end)
end
return Run
But I cant find ChatModules halp me!!
