Advertisement
Guest User

word bomb

a guest
Apr 15th, 2022
1,523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.59 KB | None | 0 0
  1. local Unpatchabomb = Instance.new("ScreenGui")
  2. local UnpatchabombFrame = Instance.new("Frame")
  3. local MainFrame = Instance.new("Frame")
  4. local LetterBox = Instance.new("TextBox")
  5. local WordText = Instance.new("TextLabel")
  6. local HowToUseText = Instance.new("TextLabel")
  7. local IntroFrame = Instance.new("Frame")
  8. local Text1 = Instance.new("TextLabel")
  9. local Text2 = Instance.new("TextLabel")
  10. local Text3 = Instance.new("TextLabel")
  11. local Text4 = Instance.new("TextLabel")
  12. local Text5 = Instance.new("TextLabel")
  13. local TopFrame = Instance.new("Frame")
  14. local T1 = Instance.new("TextLabel")
  15. local T2 = Instance.new("TextLabel")
  16.  
  17. Unpatchabomb.Name = "Unpatchabomb"
  18. Unpatchabomb.Parent = game.CoreGui
  19. Unpatchabomb.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  20.  
  21. UnpatchabombFrame.Name = "UnpatchabombFrame"
  22. UnpatchabombFrame.Parent = Unpatchabomb
  23. UnpatchabombFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  24. UnpatchabombFrame.BackgroundTransparency = 1.000
  25. UnpatchabombFrame.BorderSizePixel = 0
  26. UnpatchabombFrame.ClipsDescendants = true
  27. UnpatchabombFrame.Position = UDim2.new(0, 0, 1, -186)
  28. UnpatchabombFrame.Size = UDim2.new(0, 305, 0, 186)
  29.  
  30. MainFrame.Name = "MainFrame"
  31. MainFrame.Parent = UnpatchabombFrame
  32. MainFrame.BackgroundColor3 = Color3.fromRGB(22, 22, 22)
  33. MainFrame.BorderSizePixel = 0
  34. MainFrame.ClipsDescendants = true
  35. MainFrame.Size = UDim2.new(1, 0, 1, 0)
  36.  
  37. LetterBox.Name = "LetterBox"
  38. LetterBox.Parent = MainFrame
  39. LetterBox.BackgroundColor3 = Color3.fromRGB(12, 12, 12)
  40. LetterBox.BorderColor3 = Color3.fromRGB(255, 255, 255)
  41. LetterBox.BorderSizePixel = 0
  42. LetterBox.ClipsDescendants = true
  43. LetterBox.Position = UDim2.new(0.0196721312, 0, 0.329735368, 0)
  44. LetterBox.Size = UDim2.new(0.960655749, 0, 0.445913225, 0)
  45. LetterBox.Font = Enum.Font.GothamBold
  46. LetterBox.Text = "Insert Letters Here"
  47. LetterBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  48. LetterBox.TextSize = 20.000
  49.  
  50. WordText.Name = "WordText"
  51. WordText.Parent = MainFrame
  52. WordText.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  53. WordText.BackgroundTransparency = 1.000
  54. WordText.BorderColor3 = Color3.fromRGB(255, 255, 255)
  55. WordText.BorderSizePixel = 0
  56. WordText.ClipsDescendants = true
  57. WordText.Position = UDim2.new(0, 0, 0.182795703, 0)
  58. WordText.Size = UDim2.new(1, 0, 0.10182704, 0)
  59. WordText.Font = Enum.Font.GothamBold
  60. WordText.Text = "Welcome to Unpatchabomb!"
  61. WordText.TextColor3 = Color3.fromRGB(255, 255, 255)
  62. WordText.TextScaled = true
  63. WordText.TextSize = 14.000
  64. WordText.TextWrapped = true
  65.  
  66. HowToUseText.Name = "HowToUseText"
  67. HowToUseText.Parent = MainFrame
  68. HowToUseText.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  69. HowToUseText.BackgroundTransparency = 1.000
  70. HowToUseText.BorderColor3 = Color3.fromRGB(255, 255, 255)
  71. HowToUseText.BorderSizePixel = 0
  72. HowToUseText.ClipsDescendants = true
  73. HowToUseText.Position = UDim2.new(0, 0, 0.833333313, 0)
  74. HowToUseText.Size = UDim2.new(1, 0, 0.10182704, 0)
  75. HowToUseText.Font = Enum.Font.GothamBold
  76. HowToUseText.Text = "Press Enter To Search."
  77. HowToUseText.TextColor3 = Color3.fromRGB(255, 255, 255)
  78. HowToUseText.TextScaled = true
  79. HowToUseText.TextSize = 14.000
  80. HowToUseText.TextWrapped = true
  81.  
  82. IntroFrame.Name = "IntroFrame"
  83. IntroFrame.Parent = UnpatchabombFrame
  84. IntroFrame.BackgroundColor3 = Color3.fromRGB(22, 22, 22)
  85. IntroFrame.BorderSizePixel = 0
  86. IntroFrame.ClipsDescendants = true
  87. IntroFrame.Size = UDim2.new(1, 0, 1, 0)
  88.  
  89. Text1.Name = "Text1"
  90. Text1.Parent = IntroFrame
  91. Text1.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  92. Text1.BackgroundTransparency = 1.000
  93. Text1.BorderColor3 = Color3.fromRGB(255, 255, 255)
  94. Text1.BorderSizePixel = 0
  95. Text1.ClipsDescendants = true
  96. Text1.Position = UDim2.new(0, 0, 0.424731195, 0)
  97. Text1.Size = UDim2.new(1, 0, 0.146939754, 0)
  98. Text1.Font = Enum.Font.Gotham
  99. Text1.Text = "AUTOPLAYER"
  100. Text1.TextColor3 = Color3.fromRGB(0, 255, 0)
  101. Text1.TextScaled = true
  102. Text1.TextSize = 14.000
  103. Text1.TextWrapped = true
  104.  
  105. Text2.Name = "Text2"
  106. Text2.Parent = IntroFrame
  107. Text2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  108. Text2.BackgroundTransparency = 1.000
  109. Text2.BorderColor3 = Color3.fromRGB(255, 255, 255)
  110. Text2.BorderSizePixel = 0
  111. Text2.ClipsDescendants = true
  112. Text2.Position = UDim2.new(0, 0, 0.569892466, 0)
  113. Text2.Size = UDim2.new(1, 0, 0.0770473257, 0)
  114. Text2.Font = Enum.Font.Gotham
  115. Text2.Text = "go outside or something while it plays the game lol."
  116. Text2.TextColor3 = Color3.fromRGB(255, 255, 255)
  117. Text2.TextScaled = true
  118. Text2.TextSize = 14.000
  119. Text2.TextWrapped = true
  120.  
  121. Text3.Name = "Text3"
  122. Text3.Parent = IntroFrame
  123. Text3.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  124. Text3.BackgroundTransparency = 1.000
  125. Text3.BorderColor3 = Color3.fromRGB(255, 255, 255)
  126. Text3.BorderSizePixel = 0
  127. Text3.ClipsDescendants = true
  128. Text3.Position = UDim2.new(0, 0, 0.715698881, 0)
  129. Text3.Size = UDim2.new(1, 0, 0.0770473257, 0)
  130. Text3.Font = Enum.Font.GothamBold
  131. Text3.Text = "Modded by sync (baj)"
  132. Text3.TextColor3 = Color3.fromRGB(255, 255, 255)
  133. Text3.TextScaled = true
  134. Text3.TextSize = 14.000
  135. Text3.TextWrapped = true
  136.  
  137. Text4.Name = "Text4"
  138. Text4.Parent = IntroFrame
  139. Text4.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  140. Text4.BackgroundTransparency = 1.000
  141. Text4.BorderColor3 = Color3.fromRGB(255, 255, 255)
  142. Text4.BorderSizePixel = 0
  143. Text4.ClipsDescendants = true
  144. Text4.Position = UDim2.new(0, 0, 0.801720424, 0)
  145. Text4.Size = UDim2.new(1, 0, 0.0870473257, 0)
  146. Text4.Font = Enum.Font.Gotham
  147. Text4.Text = "Based off AngelD23's Word Bomb Finder"
  148. Text4.TextColor3 = Color3.fromRGB(255, 255, 255)
  149. Text4.TextScaled = true
  150. Text4.TextSize = 14.000
  151. Text4.TextWrapped = true
  152.  
  153. Text5.Name = "Text5"
  154. Text5.Parent = IntroFrame
  155. Text5.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  156. Text5.BackgroundTransparency = 1.000
  157. Text5.BorderColor3 = Color3.fromRGB(255, 255, 255)
  158. Text5.BorderSizePixel = 0
  159. Text5.ClipsDescendants = true
  160. Text5.Position = UDim2.new(0, 0, 0.881720424, 0)
  161. Text5.Size = UDim2.new(1, 0, 0.0870473257, 0)
  162. Text5.Font = Enum.Font.Gotham
  163. Text5.Text = "and MarsQQ's Unpatchabomb"
  164. Text5.TextColor3 = Color3.fromRGB(255, 255, 255)
  165. Text5.TextScaled = true
  166. Text5.TextSize = 14.000
  167. Text5.TextWrapped = true
  168.  
  169. TopFrame.Name = "TopFrame"
  170. TopFrame.Parent = UnpatchabombFrame
  171. TopFrame.BackgroundColor3 = Color3.fromRGB(12, 12, 12)
  172. TopFrame.BorderSizePixel = 0
  173. TopFrame.ClipsDescendants = true
  174. TopFrame.Size = UDim2.new(0, 305, 0, 28)
  175.  
  176. T1.Name = "T1"
  177. T1.Parent = TopFrame
  178. T1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  179. T1.BackgroundTransparency = 1.000
  180. T1.BorderSizePixel = 0
  181. T1.ClipsDescendants = true
  182. T1.Position = UDim2.new(0, -32, 0, 0)
  183. T1.Size = UDim2.new(0.252459019, 0, 1, 0)
  184. T1.Font = Enum.Font.GothamBold
  185. T1.Text = "LEGIT"
  186. T1.TextColor3 = Color3.fromRGB(0, 255, 0)
  187. T1.TextSize = 14.000
  188. T1.TextWrapped = true
  189. T1.TextXAlignment = Enum.TextXAlignment.Right
  190.  
  191. T2.Name = "T2"
  192. T2.Parent = TopFrame
  193. T2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  194. T2.BackgroundTransparency = 1.000
  195. T2.BorderSizePixel = 0
  196. T2.ClipsDescendants = true
  197. T2.Position = UDim2.new(0.15, 0, 0, 0)
  198. T2.Size = UDim2.new(1, 0, 1, 0)
  199. T2.Font = Enum.Font.Gotham
  200. T2.Text = "BOMB"
  201. T2.TextColor3 = Color3.fromRGB(255, 255, 255)
  202. T2.TextSize = 14.000
  203. T2.TextWrapped = false
  204. T2.TextXAlignment = Enum.TextXAlignment.Left
  205.  
  206. loadstring(game:HttpGet("https://raw.githubusercontent.com/MarsQQ/Unpatchabomb/master/unpatchabomb_english_words", true))()
  207.  
  208. local Used = {}
  209.  
  210. local function InTable(str)
  211. for i,v in pairs(Used) do
  212. print(v)
  213. if v == str then
  214. return true
  215. end
  216. end
  217. end
  218.  
  219. local function GetLetters()
  220. local TextFrame = game:GetService("Players").LocalPlayer.PlayerGui.GameUI.Container.GameSpace.DefaultUI.GameContainer.DesktopContainer.InfoFrameContainer.InfoFrame.TextFrame
  221. local Text = ""
  222. for i,v in pairs(TextFrame:GetChildren()) do
  223. if v.Name == "LetterFrame" then
  224. Text = Text..(v.Letter.TextLabel.Text)
  225. end
  226. end
  227. return Text
  228. end
  229.  
  230. local function FindWord(Word)
  231. local Result
  232. for i,v in pairs(ENGLISH_WORDS) do
  233. if string.find(v, string.lower(Word)) and not InTable(v) then
  234. Result = v
  235. table.insert(Used, v)
  236. return Result
  237. end
  238. end
  239. end
  240.  
  241. local function CreateInstance(cls,props)
  242. local inst = Instance.new(cls)
  243. for i,v in pairs(props) do
  244. inst[i] = v
  245. end
  246. return inst
  247. end
  248.  
  249. local UserInputService = game:GetService("UserInputService")
  250.  
  251. function TextBoxFocused(textbox)
  252. local rand1 = math.random(100, 175)/100
  253. if textbox.Name == "Typebox" then
  254. wait(rand1)
  255. local a = FindWord(GetLetters())
  256. for v in string.gmatch(a, "(%w)") do wait()
  257. local rand2 = math.random(2, 10)/100
  258. textbox.Text = textbox.Text..string.upper(v)
  259. wait(rand2)
  260. end
  261. keypress(0x0D)
  262. else
  263. wait()
  264. end
  265. end
  266.  
  267. UserInputService.TextBoxFocused:Connect(TextBoxFocused)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement