Advertisement
foxywolf233

Wack A Mole

Dec 16th, 2021
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.81 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local Frame_2 = Instance.new("Frame")
  9. local ImageButton = Instance.new("ImageButton")
  10. local Frame_3 = Instance.new("Frame")
  11. local ImageButton_2 = Instance.new("ImageButton")
  12. local Frame_4 = Instance.new("Frame")
  13. local ImageButton_3 = Instance.new("ImageButton")
  14. local Frame_5 = Instance.new("Frame")
  15. local ImageButton_4 = Instance.new("ImageButton")
  16. local Frame_6 = Instance.new("Frame")
  17. local ImageButton_5 = Instance.new("ImageButton")
  18. local Frame_7 = Instance.new("Frame")
  19. local ImageButton_6 = Instance.new("ImageButton")
  20. local Frame_8 = Instance.new("Frame")
  21. local ImageButton_7 = Instance.new("ImageButton")
  22. local Frame_9 = Instance.new("Frame")
  23. local ImageButton_8 = Instance.new("ImageButton")
  24. local Frame_10 = Instance.new("Frame")
  25. local ImageButton_9 = Instance.new("ImageButton")
  26. local Frame_11 = Instance.new("Frame")
  27. local ImageButton_10 = Instance.new("ImageButton")
  28. local Frame_12 = Instance.new("Frame")
  29. local ImageButton_11 = Instance.new("ImageButton")
  30. local Frame_13 = Instance.new("Frame")
  31. local ImageButton_12 = Instance.new("ImageButton")
  32. local Frame_14 = Instance.new("Frame")
  33. local ImageButton_13 = Instance.new("ImageButton")
  34. local Frame_15 = Instance.new("Frame")
  35. local ImageButton_14 = Instance.new("ImageButton")
  36.  
  37. --Properties:
  38.  
  39. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  40. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  41.  
  42. Frame.Parent = ScreenGui
  43. Frame.BackgroundColor3 = Color3.fromRGB(85, 0, 0)
  44. Frame.Size = UDim2.new(9.99999996e+11, 2147483647, 1.00000003e+26, 2147483647)
  45.  
  46. Frame_2.Parent = ScreenGui
  47. Frame_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  48. Frame_2.BackgroundTransparency = 1.000
  49. Frame_2.Size = UDim2.new(0, 100, 0, 100)
  50.  
  51. ImageButton.Parent = Frame_2
  52. ImageButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  53. ImageButton.BorderSizePixel = 0
  54. ImageButton.Position = UDim2.new(2.31999993, 0, 1.00999999, 0)
  55. ImageButton.Size = UDim2.new(0, 70, 0, 65)
  56. ImageButton.Image = "rbxassetid://7157722487"
  57.  
  58. Frame_3.Parent = ScreenGui
  59. Frame_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  60. Frame_3.BackgroundTransparency = 1.000
  61. Frame_3.Size = UDim2.new(0, 100, 0, 100)
  62.  
  63. ImageButton_2.Parent = Frame_3
  64. ImageButton_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  65. ImageButton_2.BorderSizePixel = 0
  66. ImageButton_2.Position = UDim2.new(1.15999997, 0, 6.11999989, 0)
  67. ImageButton_2.Size = UDim2.new(0, 70, 0, 65)
  68. ImageButton_2.Image = "rbxassetid://7157722487"
  69.  
  70. Frame_4.Parent = ScreenGui
  71. Frame_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  72. Frame_4.BackgroundTransparency = 1.000
  73. Frame_4.Size = UDim2.new(0, 100, 0, 100)
  74.  
  75. ImageButton_3.Parent = Frame_4
  76. ImageButton_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  77. ImageButton_3.BorderSizePixel = 0
  78. ImageButton_3.Position = UDim2.new(10.46, 0, 7.25, 0)
  79. ImageButton_3.Size = UDim2.new(0, 70, 0, 65)
  80. ImageButton_3.Image = "rbxassetid://7157722487"
  81.  
  82. Frame_5.Parent = ScreenGui
  83. Frame_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  84. Frame_5.BackgroundTransparency = 1.000
  85. Frame_5.Size = UDim2.new(0, 100, 0, 100)
  86.  
  87. ImageButton_4.Parent = Frame_5
  88. ImageButton_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  89. ImageButton_4.BorderSizePixel = 0
  90. ImageButton_4.Position = UDim2.new(11.8400002, 0, 2.01999998, 0)
  91. ImageButton_4.Size = UDim2.new(0, 70, 0, 65)
  92. ImageButton_4.Image = "rbxassetid://7157722487"
  93.  
  94. Frame_6.Parent = ScreenGui
  95. Frame_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  96. Frame_6.BackgroundTransparency = 1.000
  97. Frame_6.Size = UDim2.new(0, 100, 0, 100)
  98.  
  99. ImageButton_5.Parent = Frame_6
  100. ImageButton_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  101. ImageButton_5.BorderSizePixel = 0
  102. ImageButton_5.Position = UDim2.new(12.7600002, 0, 5.63000011, 0)
  103. ImageButton_5.Size = UDim2.new(0, 70, 0, 65)
  104. ImageButton_5.Image = "rbxassetid://7157722487"
  105.  
  106. Frame_7.Parent = ScreenGui
  107. Frame_7.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  108. Frame_7.BackgroundTransparency = 1.000
  109. Frame_7.Size = UDim2.new(0, 100, 0, 100)
  110.  
  111. ImageButton_6.Parent = Frame_7
  112. ImageButton_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  113. ImageButton_6.BorderSizePixel = 0
  114. ImageButton_6.Position = UDim2.new(10.21, 0, 4.71000004, 0)
  115. ImageButton_6.Size = UDim2.new(0, 70, 0, 65)
  116. ImageButton_6.Image = "rbxassetid://7157722487"
  117.  
  118. Frame_8.Parent = ScreenGui
  119. Frame_8.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  120. Frame_8.BackgroundTransparency = 1.000
  121. Frame_8.Size = UDim2.new(0, 100, 0, 100)
  122.  
  123. ImageButton_7.Parent = Frame_8
  124. ImageButton_7.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  125. ImageButton_7.BorderSizePixel = 0
  126. ImageButton_7.Position = UDim2.new(9.60000038, 0, 0.949999988, 0)
  127. ImageButton_7.Size = UDim2.new(0, 70, 0, 65)
  128. ImageButton_7.Image = "rbxassetid://7157722487"
  129.  
  130. Frame_9.Parent = ScreenGui
  131. Frame_9.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  132. Frame_9.BackgroundTransparency = 1.000
  133. Frame_9.Size = UDim2.new(0, 100, 0, 100)
  134.  
  135. ImageButton_8.Parent = Frame_9
  136. ImageButton_8.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  137. ImageButton_8.BorderSizePixel = 0
  138. ImageButton_8.Position = UDim2.new(6.23000002, 0, 2.1500001, 0)
  139. ImageButton_8.Size = UDim2.new(0, 70, 0, 65)
  140. ImageButton_8.Image = "rbxassetid://7157722487"
  141.  
  142. Frame_10.Parent = ScreenGui
  143. Frame_10.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  144. Frame_10.BackgroundTransparency = 1.000
  145. Frame_10.Size = UDim2.new(0, 100, 0, 100)
  146.  
  147. ImageButton_9.Parent = Frame_10
  148. ImageButton_9.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  149. ImageButton_9.BorderSizePixel = 0
  150. ImageButton_9.Position = UDim2.new(7.55999994, 0, 6.69000006, 0)
  151. ImageButton_9.Size = UDim2.new(0, 70, 0, 65)
  152. ImageButton_9.Image = "rbxassetid://7157722487"
  153.  
  154. Frame_11.Parent = ScreenGui
  155. Frame_11.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  156. Frame_11.BackgroundTransparency = 1.000
  157. Frame_11.Size = UDim2.new(0, 100, 0, 100)
  158.  
  159. ImageButton_10.Parent = Frame_11
  160. ImageButton_10.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  161. ImageButton_10.BorderSizePixel = 0
  162. ImageButton_10.Position = UDim2.new(8.65999985, 0, 3.18000007, 0)
  163. ImageButton_10.Size = UDim2.new(0, 70, 0, 65)
  164. ImageButton_10.Image = "rbxassetid://7157722487"
  165.  
  166. Frame_12.Parent = ScreenGui
  167. Frame_12.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  168. Frame_12.BackgroundTransparency = 1.000
  169. Frame_12.Size = UDim2.new(0, 100, 0, 100)
  170.  
  171. ImageButton_11.Parent = Frame_12
  172. ImageButton_11.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  173. ImageButton_11.BorderSizePixel = 0
  174. ImageButton_11.Position = UDim2.new(1.45000005, 0, 2.67000008, 0)
  175. ImageButton_11.Size = UDim2.new(0, 70, 0, 65)
  176. ImageButton_11.Image = "rbxassetid://7157722487"
  177.  
  178. Frame_13.Parent = ScreenGui
  179. Frame_13.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  180. Frame_13.BackgroundTransparency = 1.000
  181. Frame_13.Size = UDim2.new(0, 100, 0, 100)
  182.  
  183. ImageButton_12.Parent = Frame_13
  184. ImageButton_12.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  185. ImageButton_12.BorderSizePixel = 0
  186. ImageButton_12.Position = UDim2.new(5.32000017, 0, 5.26000023, 0)
  187. ImageButton_12.Size = UDim2.new(0, 70, 0, 65)
  188. ImageButton_12.Image = "rbxassetid://7157722487"
  189.  
  190. Frame_14.Parent = ScreenGui
  191. Frame_14.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  192. Frame_14.BackgroundTransparency = 1.000
  193. Frame_14.Size = UDim2.new(0, 100, 0, 100)
  194.  
  195. ImageButton_13.Parent = Frame_14
  196. ImageButton_13.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  197. ImageButton_13.BorderSizePixel = 0
  198. ImageButton_13.Position = UDim2.new(3.22000003, 0, 7.25, 0)
  199. ImageButton_13.Size = UDim2.new(0, 70, 0, 65)
  200. ImageButton_13.Image = "rbxassetid://7157722487"
  201.  
  202. Frame_15.Parent = ScreenGui
  203. Frame_15.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  204. Frame_15.BackgroundTransparency = 1.000
  205. Frame_15.Size = UDim2.new(0, 100, 0, 100)
  206.  
  207. ImageButton_14.Parent = Frame_15
  208. ImageButton_14.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  209. ImageButton_14.BorderSizePixel = 0
  210. ImageButton_14.Position = UDim2.new(4.1500001, 0, 3.55999994, 0)
  211. ImageButton_14.Size = UDim2.new(0, 70, 0, 65)
  212. ImageButton_14.Image = "rbxassetid://7157722487"
  213.  
  214. -- Scripts:
  215.  
  216. local function ONNPFUF_fake_script() -- ImageButton.LocalScript
  217. local script = Instance.new('LocalScript', ImageButton)
  218.  
  219. script.Parent.MouseButton1Click:Connect(function()
  220. script.Parent.Parent.Visible = false
  221. end)
  222.  
  223. end
  224. coroutine.wrap(ONNPFUF_fake_script)()
  225. local function FHKI_fake_script() -- ImageButton_2.LocalScript
  226. local script = Instance.new('LocalScript', ImageButton_2)
  227.  
  228. script.Parent.MouseButton1Click:Connect(function()
  229. script.Parent.Parent.Visible = false
  230. end)
  231.  
  232. end
  233. coroutine.wrap(FHKI_fake_script)()
  234. local function BWXLQM_fake_script() -- ImageButton_3.LocalScript
  235. local script = Instance.new('LocalScript', ImageButton_3)
  236.  
  237. script.Parent.MouseButton1Click:Connect(function()
  238. script.Parent.Parent.Visible = false
  239. end)
  240.  
  241. end
  242. coroutine.wrap(BWXLQM_fake_script)()
  243. local function CSHRG_fake_script() -- ImageButton_4.LocalScript
  244. local script = Instance.new('LocalScript', ImageButton_4)
  245.  
  246. script.Parent.MouseButton1Click:Connect(function()
  247. script.Parent.Parent.Visible = false
  248. end)
  249.  
  250. end
  251. coroutine.wrap(CSHRG_fake_script)()
  252. local function CKWMGO_fake_script() -- ImageButton_5.LocalScript
  253. local script = Instance.new('LocalScript', ImageButton_5)
  254.  
  255. script.Parent.MouseButton1Click:Connect(function()
  256. script.Parent.Parent.Visible = false
  257. end)
  258.  
  259. end
  260. coroutine.wrap(CKWMGO_fake_script)()
  261. local function DOIFVV_fake_script() -- ImageButton_6.LocalScript
  262. local script = Instance.new('LocalScript', ImageButton_6)
  263.  
  264. script.Parent.MouseButton1Click:Connect(function()
  265. script.Parent.Parent.Visible = false
  266. end)
  267.  
  268. end
  269. coroutine.wrap(DOIFVV_fake_script)()
  270. local function AWIRGL_fake_script() -- ImageButton_7.LocalScript
  271. local script = Instance.new('LocalScript', ImageButton_7)
  272.  
  273. script.Parent.MouseButton1Click:Connect(function()
  274. script.Parent.Parent.Visible = false
  275. end)
  276.  
  277. end
  278. coroutine.wrap(AWIRGL_fake_script)()
  279. local function QEGCLJN_fake_script() -- ImageButton_8.LocalScript
  280. local script = Instance.new('LocalScript', ImageButton_8)
  281.  
  282. script.Parent.MouseButton1Click:Connect(function()
  283. script.Parent.Parent.Visible = false
  284. end)
  285.  
  286. end
  287. coroutine.wrap(QEGCLJN_fake_script)()
  288. local function IXLIZJ_fake_script() -- ImageButton_9.LocalScript
  289. local script = Instance.new('LocalScript', ImageButton_9)
  290.  
  291. script.Parent.MouseButton1Click:Connect(function()
  292. script.Parent.Parent.Visible = false
  293. end)
  294.  
  295. end
  296. coroutine.wrap(IXLIZJ_fake_script)()
  297. local function FXHC_fake_script() -- ImageButton_10.LocalScript
  298. local script = Instance.new('LocalScript', ImageButton_10)
  299.  
  300. script.Parent.MouseButton1Click:Connect(function()
  301. script.Parent.Parent.Visible = false
  302. end)
  303.  
  304. end
  305. coroutine.wrap(FXHC_fake_script)()
  306. local function YQOM_fake_script() -- ImageButton_11.LocalScript
  307. local script = Instance.new('LocalScript', ImageButton_11)
  308.  
  309. script.Parent.MouseButton1Click:Connect(function()
  310. script.Parent.Parent.Visible = false
  311. end)
  312.  
  313. end
  314. coroutine.wrap(YQOM_fake_script)()
  315. local function VRZLKSL_fake_script() -- ImageButton_12.LocalScript
  316. local script = Instance.new('LocalScript', ImageButton_12)
  317.  
  318. script.Parent.MouseButton1Click:Connect(function()
  319. script.Parent.Parent.Visible = false
  320. end)
  321.  
  322. end
  323. coroutine.wrap(VRZLKSL_fake_script)()
  324. local function KWRUA_fake_script() -- ImageButton_13.LocalScript
  325. local script = Instance.new('LocalScript', ImageButton_13)
  326.  
  327. script.Parent.MouseButton1Click:Connect(function()
  328. script.Parent.Parent.Visible = false
  329. end)
  330.  
  331. end
  332. coroutine.wrap(KWRUA_fake_script)()
  333. local function POQSKES_fake_script() -- ImageButton_14.LocalScript
  334. local script = Instance.new('LocalScript', ImageButton_14)
  335.  
  336. script.Parent.MouseButton1Click:Connect(function()
  337. script.Parent.Parent.Visible = false
  338. end)
  339.  
  340. end
  341. coroutine.wrap(POQSKES_fake_script)()
  342.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement