MilkshakeMoon

yes

Sep 11th, 2021
7
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.83 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Recommend = Instance.new("Frame")
  8. local UICorner = Instance.new("UICorner")
  9. local Infhealth = Instance.new("TextButton")
  10. local UICorner_2 = Instance.new("UICorner")
  11. local Recommend_2 = Instance.new("TextLabel")
  12. local UICorner_3 = Instance.new("UICorner")
  13. local BefriendCat = Instance.new("TextButton")
  14. local UICorner_4 = Instance.new("UICorner")
  15. local Badguykill = Instance.new("TextButton")
  16. local UICorner_5 = Instance.new("UICorner")
  17. local Heal = Instance.new("TextButton")
  18. local UICorner_6 = Instance.new("UICorner")
  19. local OpenSafe = Instance.new("TextButton")
  20. local UICorner_7 = Instance.new("UICorner")
  21. local Tool = Instance.new("Frame")
  22. local UICorner_8 = Instance.new("UICorner")
  23. local TheTool = Instance.new("TextLabel")
  24. local UICorner_9 = Instance.new("UICorner")
  25. local Plank = Instance.new("TextButton")
  26. local UICorner_10 = Instance.new("UICorner")
  27. local Chips = Instance.new("TextButton")
  28. local UICorner_11 = Instance.new("UICorner")
  29. local Cocadrink = Instance.new("TextButton")
  30. local UICorner_12 = Instance.new("UICorner")
  31. local Bat = Instance.new("TextButton")
  32. local UICorner_13 = Instance.new("UICorner")
  33. local Lollipop = Instance.new("TextButton")
  34. local UICorner_14 = Instance.new("UICorner")
  35. local Cookie = Instance.new("TextButton")
  36. local UICorner_15 = Instance.new("UICorner")
  37. local Apple = Instance.new("TextButton")
  38. local UICorner_16 = Instance.new("UICorner")
  39. local Roles = Instance.new("Frame")
  40. local UICorner_17 = Instance.new("UICorner")
  41. local Roles_2 = Instance.new("TextLabel")
  42. local UICorner_18 = Instance.new("UICorner")
  43. local Swat = Instance.new("TextButton")
  44. local UICorner_19 = Instance.new("UICorner")
  45. local Police = Instance.new("TextButton")
  46. local UICorner_20 = Instance.new("UICorner")
  47.  
  48. --Properties:
  49.  
  50. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  51. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  52.  
  53. Recommend.Name = "Recommend"
  54. Recommend.Parent = ScreenGui
  55. Recommend.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  56. Recommend.Size = UDim2.new(0, 233, 0, 305)
  57. Recommend.Active = true
  58. Recommend.Draggable = true
  59.  
  60. UICorner.Parent = Recommend
  61.  
  62. Infhealth.Name = "Infhealth"
  63. Infhealth.Parent = Recommend
  64. Infhealth.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
  65. Infhealth.Position = UDim2.new(0.055880852, 0, 0.17847769, 0)
  66. Infhealth.Size = UDim2.new(0, 214, 0, 33)
  67. Infhealth.Font = Enum.Font.GothamSemibold
  68. Infhealth.Text = "Infinite health ( if stopped click again )"
  69. Infhealth.TextColor3 = Color3.fromRGB(255, 255, 255)
  70. Infhealth.TextScaled = true
  71. Infhealth.TextSize = 14.000
  72. Infhealth.TextWrapped = true
  73. Infhealth.MouseButton1Down:connect(function()
  74. for i = 1, 200 do
  75. wait(0.0001)
  76. local A_1 = "Cat"
  77. local Event = game:GetService("ReplicatedStorage").RemoteEvents.Energy
  78. Event:FireServer(A_1)
  79. end
  80. end)
  81.  
  82. UICorner_2.Parent = Infhealth
  83.  
  84. Recommend_2.Name = "Recommend_2"
  85. Recommend_2.Parent = Recommend
  86. Recommend_2.BackgroundColor3 = Color3.fromRGB(153, 153, 153)
  87. Recommend_2.Size = UDim2.new(0, 233, 0, 36)
  88. Recommend_2.Font = Enum.Font.SourceSansBold
  89. Recommend_2.Text = "Recommend"
  90. Recommend_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  91. Recommend_2.TextScaled = true
  92. Recommend_2.TextSize = 14.000
  93. Recommend_2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  94. Recommend_2.TextWrapped = true
  95.  
  96. UICorner_3.Parent = Recommend_2
  97.  
  98. BefriendCat.Name = "BefriendCat"
  99. BefriendCat.Parent = Recommend
  100. BefriendCat.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
  101. BefriendCat.Position = UDim2.new(0.055880852, 0, 0.338282734, 0)
  102. BefriendCat.Size = UDim2.new(0, 214, 0, 33)
  103. BefriendCat.Font = Enum.Font.GothamSemibold
  104. BefriendCat.Text = "Be friend with cat"
  105. BefriendCat.TextColor3 = Color3.fromRGB(255, 255, 255)
  106. BefriendCat.TextScaled = true
  107. BefriendCat.TextSize = 14.000
  108. BefriendCat.TextWrapped = true
  109. BefriendCat.MouseButton1Down:connect(function()
  110. local Target = game:GetService("ReplicatedStorage").RemoteEvents.Cattery;
  111. Target:FireServer();
  112. end)
  113.  
  114. UICorner_4.Parent = BefriendCat
  115.  
  116. Badguykill.Name = "Bad guy kill"
  117. Badguykill.Parent = Recommend
  118. Badguykill.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
  119. Badguykill.Position = UDim2.new(0.055880852, 0, 0.497962773, 0)
  120. Badguykill.Size = UDim2.new(0, 214, 0, 33)
  121. Badguykill.Font = Enum.Font.GothamSemibold
  122. Badguykill.Text = "Kill bad guy"
  123. Badguykill.TextColor3 = Color3.fromRGB(255, 255, 255)
  124. Badguykill.TextScaled = true
  125. Badguykill.TextSize = 14.000
  126. Badguykill.TextWrapped = true
  127. Badguykill.MouseButton1Down:connect(function()
  128. for i,v in pairs(game.Workspace.BadGuys:GetChildren()) do
  129. for i = 1, 50 do
  130. game:GetService("ReplicatedStorage").RemoteEvents.HitBadguy:FireServer(v,10)
  131. game:GetService("ReplicatedStorage").RemoteEvents.HitBadguy:FireServer(v,996)
  132. game:GetService("ReplicatedStorage").RemoteEvents.HitBadguy:FireServer(v,9)
  133. game:GetService("ReplicatedStorage").RemoteEvents.HitBadguy:FireServer(v,8)
  134. game:GetService("ReplicatedStorage").RemoteEvents.HitBadguy:FireServer(v,996)
  135. end
  136. end
  137. end)
  138.  
  139. UICorner_5.Parent = Badguykill
  140.  
  141. Heal.Name = "Heal"
  142. Heal.Parent = Recommend
  143. Heal.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
  144. Heal.Position = UDim2.new(0.055880852, 0, 0.656118035, 0)
  145. Heal.Size = UDim2.new(0, 214, 0, 33)
  146. Heal.Font = Enum.Font.GothamSemibold
  147. Heal.Text = "Heal 4 people ( random and Medkit needed"
  148. Heal.TextColor3 = Color3.fromRGB(255, 255, 255)
  149. Heal.TextScaled = true
  150. Heal.TextSize = 14.000
  151. Heal.TextWrapped = true
  152.  
  153.  
  154. UICorner_6.Parent = Heal
  155.  
  156. OpenSafe.Name = "Open Safe"
  157. OpenSafe.Parent = Recommend
  158. OpenSafe.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
  159. OpenSafe.Position = UDim2.new(0.055880852, 0, 0.825446844, 0)
  160. OpenSafe.Size = UDim2.new(0, 214, 0, 33)
  161. OpenSafe.Font = Enum.Font.GothamSemibold
  162. OpenSafe.Text = "Open Safe"
  163. OpenSafe.TextColor3 = Color3.fromRGB(255, 255, 255)
  164. OpenSafe.TextScaled = true
  165. OpenSafe.TextSize = 14.000
  166. OpenSafe.TextWrapped = true
  167. OpenSafe.MouseButton1Down:connect(function()
  168. game.ReplicatedStorage.RemoteEvents.Safe:FireServer(game:GetService("Workspace").CodeNote.SurfaceGui.TextLabel.Text)
  169. end)
  170.  
  171. UICorner_7.Parent = OpenSafe
  172.  
  173. Tool.Name = "Tool"
  174. Tool.Parent = ScreenGui
  175. Tool.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  176. Tool.Position = UDim2.new(0.251844019, 0, 0,0)
  177. Tool.Size = UDim2.new(0, 239, 0, 464)
  178. Tool.Active = true
  179. Tool.Draggable = true
  180.  
  181. UICorner_8.Parent = Tool
  182.  
  183. TheTool.Name = "TheTool"
  184. TheTool.Parent = Tool
  185. TheTool.BackgroundColor3 = Color3.fromRGB(153, 153, 153)
  186. TheTool.Size = UDim2.new(0, 241, 0, 36)
  187. TheTool.Font = Enum.Font.SourceSansBold
  188. TheTool.Text = "Tool you needs"
  189. TheTool.TextColor3 = Color3.fromRGB(255, 255, 255)
  190. TheTool.TextScaled = true
  191. TheTool.TextSize = 14.000
  192. TheTool.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  193. TheTool.TextWrapped = true
  194.  
  195. UICorner_9.Parent = TheTool
  196.  
  197. Plank.Name = "Plank"
  198. Plank.Parent = Tool
  199. Plank.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
  200. Plank.Position = UDim2.new(0.0558808781, 0, 0.527937949, 0)
  201. Plank.Size = UDim2.new(0, 214, 0, 39)
  202. Plank.Font = Enum.Font.GothamSemibold
  203. Plank.Text = "Plank"
  204. Plank.TextColor3 = Color3.fromRGB(255, 255, 255)
  205. Plank.TextScaled = true
  206. Plank.TextSize = 14.000
  207. Plank.TextWrapped = true
  208. Plank.MouseButton1Down:connect(function()
  209. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Plank")
  210. end)
  211.  
  212. UICorner_10.Parent = Plank
  213.  
  214. Chips.Name = "Chips"
  215. Chips.Parent = Tool
  216. Chips.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
  217. Chips.Position = UDim2.new(0.0558808781, 0, 0.657327592, 0)
  218. Chips.Size = UDim2.new(0, 214, 0, 40)
  219. Chips.Font = Enum.Font.GothamSemibold
  220. Chips.Text = "Chips"
  221. Chips.TextColor3 = Color3.fromRGB(255, 255, 255)
  222. Chips.TextScaled = true
  223. Chips.TextSize = 14.000
  224. Chips.TextWrapped = true
  225. Chips.MouseButton1Down:connect(function()
  226. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Chips")
  227. end)
  228.  
  229. UICorner_11.Parent = Chips
  230.  
  231. Cocadrink.Name = "Cocadrink"
  232. Cocadrink.Parent = Tool
  233. Cocadrink.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
  234. Cocadrink.Position = UDim2.new(0.0516967773, 0, 0.774652481, 0)
  235. Cocadrink.Size = UDim2.new(0, 214, 0, 38)
  236. Cocadrink.Font = Enum.Font.GothamSemibold
  237. Cocadrink.Text = "Coca Cola"
  238. Cocadrink.TextColor3 = Color3.fromRGB(255, 255, 255)
  239. Cocadrink.TextScaled = true
  240. Cocadrink.TextSize = 14.000
  241. Cocadrink.TextWrapped = true
  242. Cocadrink.MouseButton1Down:connect(function()
  243. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("BloxyCola")
  244. end)
  245.  
  246. UICorner_12.Parent = Cocadrink
  247.  
  248. Bat.Name = "Bat"
  249. Bat.Parent = Tool
  250. Bat.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
  251. Bat.Position = UDim2.new(0.0516967773, 0, 0.887946844, 0)
  252. Bat.Size = UDim2.new(0, 214, 0, 40)
  253. Bat.Font = Enum.Font.GothamSemibold
  254. Bat.Text = "Bat"
  255. Bat.TextColor3 = Color3.fromRGB(255, 255, 255)
  256. Bat.TextScaled = true
  257. Bat.TextSize = 14.000
  258. Bat.TextWrapped = true
  259. Bat.MouseButton1Down:connect(function()
  260. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Bat")
  261. end)
  262.  
  263. UICorner_13.Parent = Bat
  264.  
  265. Lollipop.Name = "Lollipop"
  266. Lollipop.Parent = Tool
  267. Lollipop.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
  268. Lollipop.Position = UDim2.new(0.0558808781, 0, 0.396472424, 0)
  269. Lollipop.Size = UDim2.new(0, 214, 0, 39)
  270. Lollipop.Font = Enum.Font.GothamSemibold
  271. Lollipop.Text = "Lollipop"
  272. Lollipop.TextColor3 = Color3.fromRGB(255, 255, 255)
  273. Lollipop.TextScaled = true
  274. Lollipop.TextSize = 14.000
  275. Lollipop.TextWrapped = true
  276. Lollipop.MouseButton1Down:connect(function()
  277. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Lollipop")
  278. end)
  279.  
  280. UICorner_14.Parent = Lollipop
  281.  
  282. Cookie.Name = "Cookie"
  283. Cookie.Parent = Tool
  284. Cookie.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
  285. Cookie.Position = UDim2.new(0.0516967773, 0, 0.271472424, 0)
  286. Cookie.Size = UDim2.new(0, 214, 0, 39)
  287. Cookie.Font = Enum.Font.GothamSemibold
  288. Cookie.Text = "Cookie"
  289. Cookie.TextColor3 = Color3.fromRGB(255, 255, 255)
  290. Cookie.TextScaled = true
  291. Cookie.TextSize = 14.000
  292. Cookie.TextWrapped = true
  293. Cookie.MouseButton1Down:connect(function()
  294. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Cookie")
  295. end)
  296.  
  297.  
  298. UICorner_15.Parent = Cookie
  299.  
  300. Apple.Name = "Apple"
  301. Apple.Parent = Tool
  302. Apple.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
  303. Apple.Position = UDim2.new(0.0516967773, 0, 0.13785173, 0)
  304. Apple.Size = UDim2.new(0, 214, 0, 39)
  305. Apple.Font = Enum.Font.GothamSemibold
  306. Apple.Text = "Apple"
  307. Apple.TextColor3 = Color3.fromRGB(255, 255, 255)
  308. Apple.TextScaled = true
  309. Apple.TextSize = 14.000
  310. Apple.TextWrapped = true
  311. Apple.MouseButton1Down:connect(function()
  312. game.ReplicatedStorage.RemoteEvents.GiveTool:FireServer("Apple")
  313. end)
  314.  
  315. UICorner_16.Parent = Apple
  316.  
  317. Roles.Name = "Roles"
  318. Roles.Parent = ScreenGui
  319. Roles.BackgroundColor3 = Color3.fromRGB(68, 68, 68)
  320. Roles.Position = UDim2.new(0.512118042, 0, 0, 0)
  321. Roles.Size = UDim2.new(0, 233, 0, 183)
  322. Roles.Active = true
  323. Roles.Draggable = true
  324.  
  325. UICorner_17.Parent = Roles
  326.  
  327. Roles_2.Name = "Roles_2"
  328. Roles_2.Parent = Roles
  329. Roles_2.BackgroundColor3 = Color3.fromRGB(153, 153, 153)
  330. Roles_2.Size = UDim2.new(0, 233, 0, 36)
  331. Roles_2.Font = Enum.Font.SourceSansBold
  332. Roles_2.Text = "Roles ( in lobby )"
  333. Roles_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  334. Roles_2.TextScaled = true
  335. Roles_2.TextSize = 14.000
  336. Roles_2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  337. Roles_2.TextWrapped = true
  338.  
  339. UICorner_18.Parent = Roles_2
  340.  
  341. Swat.Name = "Swat"
  342. Swat.Parent = Roles
  343. Swat.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
  344. Swat.Position = UDim2.new(0.0387135781, 0, 0.338282734, 0)
  345. Swat.Size = UDim2.new(0, 218, 0, 33)
  346. Swat.Font = Enum.Font.GothamSemibold
  347. Swat.Text = "Swat"
  348. Swat.TextColor3 = Color3.fromRGB(255, 255, 255)
  349. Swat.TextScaled = true
  350. Swat.TextSize = 14.000
  351. Swat.TextWrapped = true
  352. Swat.MouseButton1Down:connect(function()
  353. local A_1 = "SwatGun"
  354. local A_2 = true
  355. local Event = game:GetService("ReplicatedStorage").RemoteEvents.OutsideRole
  356. Event:FireServer(A_1, A_2)
  357. end)
  358.  
  359. UICorner_19.Parent = Swat
  360.  
  361. Police.Name = "Police"
  362. Police.Parent = Roles
  363. Police.BackgroundColor3 = Color3.fromRGB(121, 121, 121)
  364. Police.Position = UDim2.new(0.0387134701, 0, 0.645503759, 0)
  365. Police.Size = UDim2.new(0, 214, 0, 33)
  366. Police.Font = Enum.Font.GothamSemibold
  367. Police.Text = "Police"
  368. Police.TextColor3 = Color3.fromRGB(255, 255, 255)
  369. Police.TextScaled = true
  370. Police.TextSize = 14.000
  371. Police.TextWrapped = true
  372. Police.MouseButton1Down:connect(function()
  373. local A_1 = "Gun"
  374. local A_2 = true
  375. local Event = game:GetService("ReplicatedStorage").RemoteEvents.OutsideRole
  376. Event:FireServer(A_1, A_2)
  377. end)
  378.  
  379. UICorner_20.Parent = Police
  380.  
  381. -- Scripts:
  382.  
  383. local function BERKCW_fake_script() -- Recommend.LocalScript
  384. local script = Instance.new('LocalScript', Recommend)
  385.  
  386. player = game.Players.LocalPlayer
  387.  
  388. player:GetMouse().KeyDown:Connect(function(key)
  389. if key == "q" and script.Parent.Visible == false then
  390. script.Parent.Visible = true
  391. else
  392. if key == "q" and script.Parent.Visible == true then
  393. script.Parent.Visible = false
  394. end
  395. end
  396. end)
  397. end
  398. coroutine.wrap(BERKCW_fake_script)()
  399. local function HPANPG_fake_script() -- Tool.LocalScript
  400. local script = Instance.new('LocalScript', Tool)
  401.  
  402. player = game.Players.LocalPlayer
  403.  
  404. player:GetMouse().KeyDown:Connect(function(key)
  405. if key == "q" and script.Parent.Visible == false then
  406. script.Parent.Visible = true
  407. else
  408. if key == "q" and script.Parent.Visible == true then
  409. script.Parent.Visible = false
  410. end
  411. end
  412. end)
  413. end
  414. coroutine.wrap(HPANPG_fake_script)()
  415. local function HLXDQK_fake_script() -- Roles.LocalScript
  416. local script = Instance.new('LocalScript', Roles)
  417.  
  418. player = game.Players.LocalPlayer
  419.  
  420. player:GetMouse().KeyDown:Connect(function(key)
  421. if key == "q" and script.Parent.Visible == false then
  422. script.Parent.Visible = true
  423. else
  424. if key == "q" and script.Parent.Visible == true then
  425. script.Parent.Visible = false
  426. end
  427. end
  428. end)
  429. end
  430. coroutine.wrap(HLXDQK_fake_script)()
  431.  
Add Comment
Please, Sign In to add comment