-- 冷笑ボット | Roblox Auto Chat local Players = game:GetService("Players") local TextChatService = game:GetService("TextChatService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local LocalPlayer = Players.LocalPlayer local OrionLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/BlizTBr/scripts/main/Orion%20X"))() -- 指定フレーズ local PHRASES = { "うおw😅", "どわー笑😅", "ったく…w😅", "かっこよw😅", "えぐー!笑😅", "冗談ですやん!!w🫲😅", "きちーww😅🤚", "おもろいなあ!ww😅👍", "ど、どした?笑😅", "ちょw1回落ち着けw落ち着けw😅", "ええてw😅🤚", "ちょwお前必死やんww😅", "すごいなあキミww😅👍", "ちょw怒んなやw😅", } local Settings = { Enabled = false, Interval = 3, -- 秒 Random = true, -- true=ランダム / false=順番 Index = 1, } local function Notify(t, c) OrionLib:MakeNotification({Name = t, Content = c, Time = 2}) end local function SendChat(msg) if not msg or msg == "" then return false end -- 新チャット (TextChatService) local ok = pcall(function() if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then local channel = TextChatService.TextChannels:FindFirstChild("RBXGeneral") if channel then channel:SendAsync(msg) return end end error("legacy") end) if ok then return true end -- 旧チャット local ok2 = pcall(function() local events = ReplicatedStorage:FindFirstChild("DefaultChatSystemChatEvents") local say = events and events:FindFirstChild("SayMessageRequest") if say then say:FireServer(msg, "All") end end) return ok2 end local function NextPhrase() if Settings.Random then return PHRASES[math.random(1, #PHRASES)] end local msg = PHRASES[Settings.Index] Settings.Index = Settings.Index + 1 if Settings.Index > #PHRASES then Settings.Index = 1 end return msg end local botTask local function StartBot() if botTask then return end Settings.Enabled = true Notify("冷笑ボット", "開始") botTask = task.spawn(function() while Settings.Enabled do local msg = NextPhrase() SendChat(msg) task.wait(Settings.Interval) end botTask = nil end) end local function StopBot() Settings.Enabled = false if botTask then pcall(function() task.cancel(botTask) end) botTask = nil end Notify("冷笑ボット", "停止") end -- UI local Window = OrionLib:MakeWindow({ Name = "冷笑ボット", HidePremium = false, SaveConfig = false, ConfigFolder = "reisyou_bot" }) local Tab = Window:MakeTab({Name = "メイン", Icon = "rbxassetid://7733960981"}) Tab:AddParagraph("フレーズ", #PHRASES .. " 個登録済み") Tab:AddToggle({ Name = "自動冷笑 ON/OFF", Default = false, Callback = function(v) if v then StartBot() else StopBot() end end }) Tab:AddToggle({ Name = "ランダム送信", Default = true, Callback = function(v) Settings.Random = v end }) Tab:AddSlider({ Name = "間隔(秒)", Min = 1, Max = 15, Default = 3, Increment = 1, Callback = function(v) Settings.Interval = v end }) Tab:AddButton({ Name = "今すぐ1回送る", Callback = function() local msg = NextPhrase() SendChat(msg) Notify("送信", msg) end }) Tab:AddButton({ Name = "全部順番に1周送る", Callback = function() task.spawn(function() for _, msg in ipairs(PHRASES) do if not Settings.Enabled and false then break end SendChat(msg) task.wait(math.max(Settings.Interval, 1.5)) end Notify("冷笑ボット", "1周完了") end) end }) OrionLib:MakeNotification({ Name = "冷笑ボット", Content = "準備完了", Time = 3 }) OrionLib:Init()