Advertisement
ExecutorForALLdomain

LuaU Chat Bot

Oct 20th, 2024
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.42 KB | None | 0 0
  1. local message = ":luau"
  2.  
  3. local textchatservice = game:GetService("TextChatService").TextChannels.RBXGeneral
  4.  
  5. local Welcome = "Hi this a luau bot Beta v1 execution " .. identifyexecutor() .. " some function are not implemented for now. commands ':luau (code)' "
  6. local commands = "We do not support loadstring for now... since it tagging in the roblox chat > :luau DEX, :luau yield, :luau spy"
  7. local SCRIPT = ""
  8.  
  9. -- add more script if you want
  10. local dex = "https://raw.githubusercontent.com/infyiff/backup/main/dex.lua"
  11. local yield = "https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"
  12. local spy = "https://github.com/exxtremestuffs/SimpleSpySource/raw/master/SimpleSpy.lua"
  13.  
  14. --[[local BindableEvent = Instance.new"BindableEvent"
  15. BindableEvent.Name = "GetMessageEvent"
  16. BindableEvent.Parent = workspace
  17.  
  18. BindableEvent.Event:Connect(function(MSG)
  19.   SCRIPT = tostring(MSG)
  20.   local s,err = pcall(function()
  21.   loadstring(SCRIPT)()
  22.   print(MSG .. " " .. SCRIPT)
  23.   end)
  24.   if not s then textchatservice:SendAsync("error in your script. : " .. err) end
  25. end)]]
  26.  
  27. textchatservice:SendAsync(Welcome)
  28. textchatservice:SendAsync(commands)
  29. --textchatservice:SendAsync(tostring(BindableEvent).. " is loaded...")
  30.  
  31. textchatservice:SendAsync("loading...")
  32. wait(2)
  33. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  34.     if v~=game.Players.LocalPlayer then
  35.     v.Chatted:Connect(function(msg)
  36.        if string.sub(msg,1, #message) == message then
  37.            local MESSAGE = string.sub(msg, #message + 2)
  38.            
  39.            if MESSAGE == "DEX" then
  40.                SCRIPT = dex
  41.             elseif MESSAGE == "yield" then
  42.                    SCRIPT = yield
  43.             elseif MESSAGE == "spy" then
  44.                 SCRIPT=spy
  45.             else
  46.                 SCRIPT = MESSAGE
  47.             end
  48.  
  49.  
  50.             print(SCRIPT)
  51.             local s,err = pcall(function()
  52.               if SCRIPT == dex or SCRIPT == spy or SCRIPT == yield then
  53.                 loadstring(game:HttpGet(SCRIPT))()
  54.                 textchatservice:SendAsync("Loadstring Script Executed with no error.")
  55.                 else
  56.                 loadstring(SCRIPT)()
  57.                 textchatservice:SendAsync("Script Executed with no error.")
  58.               end
  59.             end)
  60.          
  61.             if not s then
  62.                 textchatservice:SendAsync("error in your script. : " .. err)
  63.             end
  64.         end
  65.     end)
  66.    end
  67. end
  68.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement