Facebook
From hxd, 7 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 372
  1. -- Made by https://v3rmillion.net/member.php?action=profile&uid=1906262
  2.  
  3. setfpscap(999)
  4. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/x114/User-Interface-s/main/Splixuiedited"))()
  5. local keys = {
  6.  ["A"] = 0x41,
  7.  ["B"] = 0x42,
  8.  ["C"] = 0x43,
  9.  ["D"] = 0x44,
  10.  ["E"] = 0x45,
  11.  ["F"] = 0x46,
  12.  ["G"] = 0x47,
  13.  ["H"] = 0x48,
  14.  ["I"] = 0x49,
  15.  ["J"] = 0x4A,
  16.  ["K"] = 0x4B,
  17.  ["L"] = 0x4C,
  18.  ["M"] = 0x4D,
  19.  ["N"] = 0x4E,
  20.  ["O"] = 0x4F,
  21.  ["P"] = 0x50,
  22.  ["Q"] = 0x51,
  23.  ["R"] = 0x52,
  24.  ["S"] = 0x53,
  25.  ["T"] = 0x54,
  26.  ["U"] = 0x55,
  27.  ["V"] = 0x56,
  28.  ["W"] = 0x57,
  29.  ["X"] = 0x58,
  30.  ["Y"] = 0x59,
  31.  ["Z"] = 0x5A,
  32.  ["-"] = 0xBD,
  33.  ["'"] = 0xDE
  34. }
  35. local usedWords = {}
  36. local WordList = {
  37.     Normal    = loadstring(game:HttpGet("https://gist.githubusercontent.com/raw/6f3d37a9f5068a0fc2203ac77077ce06/", true))(),
  38.     LongWords = loadstring(game:HttpGet("https://pastebin.com/raw/UuzSb9XV", true))()
  39. }
  40. -- functions --
  41. function FindLetters()
  42.     for _,v in pairs(getgc()) do
  43.         if type(v) == "function" and not is_synapse_function(v) and islclosure(v) and debug.getinfo(v).name == "updateInfoFrame" then
  44.             for __,vv in pairs(debug.getupvalues(v)) do
  45.                 if type(vv) == "table" and vv.Prompt ~= nil then
  46.                     Word = vv.Prompt
  47.                 end
  48.             end
  49.         end
  50.     end
  51.     return Word
  52. end
  53.  
  54. function MyTurn()
  55.     for _,v in pairs(getgc()) do
  56.         if type(v) == "function" and not is_synapse_function(v) and islclosure(v) and debug.getinfo(v).name == "updateInfoFrame" then
  57.             for __,vv in pairs(debug.getupvalues(v)) do
  58.                 if type(vv) == "table" and vv.PlayerID ~= nil then
  59.                     Id = vv.PlayerID
  60.                 end
  61.             end
  62.         end
  63.     end
  64.     return Id
  65. end
  66.  
  67. local function Used(Word)
  68.     for i,v in pairs(usedWords) do
  69.         if v == Word then return true end
  70.     end
  71.     return false
  72. end
  73.  
  74. local function FindWord(l)
  75.     local word
  76.     for i,v in pairs(WordList[Library.pointers.WordListPointer.current]) do
  77.         if string.find(v, string.lower(l)) and not Used(string.upper(v)) and v ~= nil then
  78.             word = string.upper(v)
  79.         end
  80.     end
  81.     return word
  82. end
  83.  
  84. function TableLength(Table)
  85.   local A=0
  86.   for i,v in pairs(Table) do A=A+1 end
  87.   return A
  88. end
  89.  
  90. function TypeAnswer()
  91.     local A = false
  92.     if A == false then
  93.         A = true
  94.         local Word = FindWord(FindLetters())
  95.         if Word and Word ~= "nil" then
  96.            for v in string.gmatch(Word,".") do
  97.              keypress(keys[v])
  98.              wait(Library.pointers.TypeDelayPointer.current)
  99.          end
  100.          table.insert(usedWords,Word)
  101.          wait(Library.pointers.TypeDelayPointer.current)
  102.          keypress(0x0D)
  103.          A = false
  104.       end
  105.    end        
  106. end
  107.  
  108. -- lib --
  109. local Window = Library:New({Name = "WordBomb Helper", Accent = Color3.fromRGB(122, 150, 255)})
  110. local MainTab = Window:Page({Name = "Main"})
  111. local MainSection = MainTab:Section({Name = "WordBomb", Side = "left"})
  112. -- local MiscSection = MainTab:Section({Name = "Misc", Side = "left"})
  113. local ServerSection = MainTab:Section({Name = "Server", Side = "right"})
  114. local SettingsSection = MainTab:Section({Name = "Settings", Side = "right"})
  115.  
  116. -- Main --
  117. MainSection:Button({name = "TypeAnswer",callback = function()
  118.     if MyTurn() == game:GetService("Players").LocalPlayer.UserId then
  119.         TypeAnswer()
  120.     end
  121.     for _,v in pairs(MainSection.visibleContent) do
  122.         if v.Size == 13 and string.find(v.Text,"Used Words:") then
  123.             v.Text = "Used Words:"..tostring(TableLength(usedWords))
  124.         end
  125.     end
  126. end})
  127. MainSection:Toggle({Name = "AutoType",Default = false,Pointer = "AutoTypePointer"})
  128. MainSection:Dropdown({Name = "WordList", Options = {"Normal","LongWords"},Default = "Normal",Pointer = "WordListPointer"})
  129. MainSection:Slider({Name = "Type Delay", min = 0,max = 1,def = 0,decimals = 0.01,Pointer = "TypeDelayPointer"})
  130. MainSection:Slider({Name = "AutoType Delay",min = 0,max = 8,def = 0,decimals = 0.01,Pointer = "AutoTypeDelayPointer"})
  131. MainSection:Button({Name = "Clear Used Words",callback = function()
  132.     for _,v in pairs(MainSection.visibleContent) do
  133.         if v.Size == 13 and string.find(v.Text,"Used Words:") then
  134.             v.Text = "Used Words:"..0
  135.         end
  136.     end
  137.     usedWords = {}
  138. end})
  139. MainSection:Label({Name = "Used Words:".."0"})
  140. -- Misc --
  141.  
  142. --[[
  143. MiscSection:Toggle({Name = "AutoJoin",Default = false,Pointer = "AutoJoinPointer",callback = function(v)
  144.     for i,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.GameUI.Container.GameSpace.DefaultUI.DesktopFrame:GetDescendants()) do
  145.         if v:IsA("ImageButton") and v.Name == "JoinButton" then
  146.             firesignal(v.MouseButton1Down)
  147.         end
  148.     end
  149. end})
  150. ]]--
  151.  
  152. -- Server --
  153. ServerSection:Button({name = "Rejoin",callback = function()
  154.     game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, game:GetService("Players").LocalPlayer)
  155. end})
  156. ServerSection:Button({name = "ServerHop",callback = function()
  157.     local s = {}
  158.     for i,v in pairs(game:GetService("HttpService"):JSONDecode(game:HttpGetAsync("https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=Asc&limit=100")).data) do
  159.         if type(v) == "table" and v.maxPlayers > v.playing and v.id ~= game.JobId then
  160.             s[#s+1] = v.id
  161.         end
  162.     end
  163.     if #s > 0 then
  164.      game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, s[math.random(1, #s)])
  165.     end
  166. end})
  167. ServerSection:Button({name = "JoinLargestServer",callback = function()
  168.     local Amazing = loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/Kozenomenon/RBX_Pub/main/Misc/Rejoin_Preferred_Server.lua"))
  169.     Amazing({SizeSort="desc",MinPlayers=0,MaxPlayers=0,ExcludeFull=true,ExcludeSame=true,MinFps=55,MaxPing=190,FpsSortWeight=1,PingSortWeight=1,SizeSortWeight=5,PrintVerbose=false,PrintPrefixTime=false,PrintUseConsoleWindow=false})
  170. end})
  171. -- Settings --
  172. SettingsSection:Button({name = "Unload Cheat",callback = function()
  173.     pcall(function()
  174.         usedWords = {}
  175.         Library.pointers.AutoTypePointer = false
  176.         Window:Unload()
  177.     end)
  178. end})
  179. SettingsSection:Keybind({Name = "Open/Close", Default = Enum.KeyCode.LeftAlt, KeybindName = "UiBind", Mode = "Toggle",callback = function(Val1)
  180.     Window:Fade()
  181. end})
  182. -- Init --
  183. Window:Initialize()
  184. -- got lazy here > https://v3rmillion.net/showthread.php?tid=1100411
  185. if game:GetService("Players").LocalPlayer.PlayerGui.GameUI.Container.GameSpace.DefaultUI:FindFirstChild("GameContainer") and game:GetService("Players").LocalPlayer.PlayerGui.GameUI.Container.GameSpace.DefaultUI.GameContainer.DesktopContainer.Typebar.Typebox then
  186.     game:GetService("Players").LocalPlayer.PlayerGui.GameUI.Container.GameSpace.DefaultUI.GameContainer.DesktopContainer.Typebar.Typebox:GetPropertyChangedSignal("Visible"):Connect(function()
  187.         repeat
  188.             wait(0.1)
  189.             if game:GetService("Players").LocalPlayer.PlayerGui.GameUI.Container.GameSpace.DefaultUI.GameContainer.DesktopContainer.Typebar.Typebox.Visible == true and Library.pointers.AutoTypePointer.current == true and MyTurn() == game:GetService("Players").LocalPlayer.UserId then
  190.                 wait(Library.pointers.AutoTypeDelayPointer.current)
  191.                 local a = TypeAnswer()
  192.                 for _,v in pairs(MainSection.visibleContent) do
  193.                     if v.Size == 13 and string.find(v.Text,"Used Words:") then
  194.                         v.Text = "Used Words:"..tostring(TableLength(usedWords))
  195.                     end
  196.                 end
  197.             end
  198.             wait(1)
  199.         until game:GetService("Players").LocalPlayer.PlayerGui.GameUI.Container.GameSpace.DefaultUI.GameContainer.DesktopContainer.Typebar.Typebox.Visible == false
  200.     end)
  201. end
  202. game:GetService("Players").LocalPlayer.PlayerGui.GameUI.DescendantAdded:Connect(function(yes)
  203.     if yes.Name == "Typebox" then
  204.         game:GetService("Players").LocalPlayer.PlayerGui.GameUI.Container.GameSpace.DefaultUI.GameContainer.DesktopContainer.Typebar.Typebox:GetPropertyChangedSignal("Visible"):Connect(function()
  205.             wait(Library.pointers.AutoTypeDelayPointer.current)
  206.             if game:GetService("Players").LocalPlayer.PlayerGui.GameUI.Container.GameSpace.DefaultUI.GameContainer.DesktopContainer.Typebar.Typebox.Visible == true and Library.pointers.AutoTypePointer.current == true and MyTurn() == game:GetService("Players").LocalPlayer.UserId then
  207.                 repeat
  208.                 TypeAnswer()
  209.                 for _,v in pairs(MainSection.visibleContent) do
  210.                     if v.Size == 13 and string.find(v.Text,"Used Words:") then
  211.                         v.Text = "Used Words:"..tostring(TableLength(usedWords))
  212.                     end
  213.                 end
  214.                 wait(1)
  215.                 until game:GetService("Players").LocalPlayer.PlayerGui.GameUI.Container.GameSpace.DefaultUI.GameContainer.DesktopContainer.Typebar.Typebox.Visible == false
  216.             end
  217.         end)
  218.     end
  219. end)