trixade

Untitled

Nov 27th, 2021
362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 284.98 KB | None | 0 0
  1. --[[
  2.     -> don't waste your money on athena, or any other script. <-
  3.     Lunahax (Electric State DarkRP script) source release
  4.    
  5.     now there'll be no point in buying any ES script.
  6.     -> don't waste your money on athena, or any other script. <-
  7.     every feature athena has/had is in here, including MANY more athena doesnt have
  8.     car teleportation, wishbot (item selling bot), a working node copy (lolo), nodekill, item sniper (not too sure if athena has an item sniper tbh). just to name a few
  9.    
  10.     athena doesnt even have a nodecopy that can do resizable walls (at the time of posting this)
  11.     they probably will do soon tho! wonder why :troll:
  12.    
  13.     athena/abena devs/mods or whatever spent a full 24 hours cracking this LMFAO, backstory:
  14.    
  15.     harry got salty because i said "i'd rather not sell to an athena mod" or something,
  16.     but then he bought it on an alt (after i told him no on his main), but was using a roblox account he had walmart + cajun etc friends on LMFAO
  17.     called him out for it, removed his key
  18.     and then called me a scammer for not giving him a refund after i told him, before he used an alt to purchase, i am not selling to you.
  19.    
  20.     so, i decided, best course of action? to release my script, fully open source, give everyone a reason not to purchase ANY es script
  21.     it'd affect their sales than it would mine, since i honestly do not care about money LMFAO
  22.     hope this gets some of the stuff patched soon, since at that point, it'd affect every es script.
  23.    
  24.     this script is so messy, it will probably be pretty painful to read, dont expect it to be neat + organized, or even incredibly efficient
  25.     my primary programming language is c# lol, bear that in mind when going thru this
  26.     anywho i'd appreciate if yall could take the time to neg rep walmart and any of the other people involved in contributing to this
  27.    
  28.     auth/whitelist has been removed, to the average person: just paste this script into your executor and away you go.
  29.     my discord: vyzia#2791
  30.    
  31. --]]
  32.  
  33. local ScreenGui = Instance.new("ScreenGui")
  34. local mainMenuFrame = Instance.new("Frame")
  35. local playerEspButton = Instance.new("TextButton")
  36. local disableNlrButton = Instance.new("TextButton")
  37. local mainHeaderText = Instance.new("TextLabel")
  38. local mainDividerText = Instance.new("TextLabel")
  39. local mainMenuCloseButton = Instance.new("TextButton")
  40. local miscButton = Instance.new("TextButton")
  41. local poweredText = Instance.new("TextLabel")
  42. local playerListFrame = Instance.new("Frame")
  43. local playerListScrollingFrame = Instance.new("ScrollingFrame")
  44. local TextButtonPlaceholder = Instance.new("TextButton")
  45. local TextButtonPlaceholder_2 = Instance.new("TextButton")
  46. local TextButtonPlaceholder_3 = Instance.new("TextButton")
  47. local playerListCloseButton = Instance.new("TextButton")
  48. local playerListHeaderText = Instance.new("TextLabel")
  49. local playerListDividerText = Instance.new("TextLabel")
  50. local playerInfoFrame = Instance.new("Frame")
  51. local playerInfoHeaderText = Instance.new("TextLabel")
  52. local playerInfoDividerText = Instance.new("TextLabel")
  53. local usernameInfoText = Instance.new("TextLabel")
  54. local roleplayNameInfoText = Instance.new("TextLabel")
  55. local hungerInfoText = Instance.new("TextLabel")
  56. local karmaInfoText = Instance.new("TextLabel")
  57. local playtimeInfoText = Instance.new("TextLabel")
  58. local sChargesInfoText = Instance.new("TextLabel")
  59. local moneyAmtInfoText = Instance.new("TextLabel")
  60. local aureusInfoText = Instance.new("TextLabel")
  61. local tpToPlayerButton = Instance.new("TextButton")
  62. local excludeFromEspButton = Instance.new("TextButton")
  63. local bankInfoText = Instance.new("TextLabel")
  64. local inventoryInfoText = Instance.new("TextLabel")
  65. local killPlayer = Instance.new("TextButton")
  66. local spectatePlayerButton = Instance.new("TextButton")
  67. local jobInfoText = Instance.new("TextLabel")
  68. local friendButton = Instance.new("TextButton")
  69. local enemyButton = Instance.new("TextButton")
  70. local stealOutfitButton = Instance.new("TextButton")
  71. local copyOutfitButton = Instance.new("TextButton")
  72. local copyNodeSongButton = Instance.new("TextButton")
  73. local specificEspButton = Instance.new("TextButton")
  74. local flaggedInfoText = Instance.new("TextLabel")
  75. local specificEarRapeButton = Instance.new("TextButton")
  76. local copyNodeButton = Instance.new("TextButton")
  77. local viewBackpackButton = Instance.new("TextButton")
  78. local viewPermsButton = Instance.new("TextButton")
  79. local heldItemInfoText = Instance.new("TextLabel")
  80. local teleportVehicleTextButton = Instance.new("TextButton")
  81. local playerListButton = Instance.new("TextButton")
  82. local printerEspButton = Instance.new("TextButton")
  83. local combatFrame = Instance.new("Frame")
  84. local combatCloseButton = Instance.new("TextButton")
  85. local combatHeaderText = Instance.new("TextLabel")
  86. local combatDividerText = Instance.new("TextLabel")
  87. local combatScrollingFrame = Instance.new("ScrollingFrame")
  88. local aimbotButton = Instance.new("TextButton")
  89. local autoDrinkButton = Instance.new("TextButton")
  90. local infiniteClipButton = Instance.new("TextButton")
  91. local onlyTargetFlaggedButton = Instance.new("TextButton")
  92. local weaponMultiplierButton = Instance.new("TextButton")
  93. local hitboxExpandButton = Instance.new("TextButton")
  94. local rageAuraRedButton = Instance.new("TextButton")
  95. local yellowRageAuraRedButton = Instance.new("TextButton")
  96. local autoReloadButton = Instance.new("TextButton")
  97. local flyJumpButton = Instance.new("TextButton")
  98. local combatButton = Instance.new("TextButton")
  99. local infiniteAmmoButton = Instance.new("TextButton")
  100. local miscFrame = Instance.new("Frame")
  101. local miscHeaderText = Instance.new("TextLabel")
  102. local miscDividerText = Instance.new("TextLabel")
  103. local miscCloseButton = Instance.new("TextButton")
  104. local miscScrollingFrame = Instance.new("ScrollingFrame")
  105. local clientJPButton = Instance.new("TextButton")
  106. local deathReturnButton = Instance.new("TextButton")
  107. local getInNearestCarButton = Instance.new("TextButton")
  108. local itemSniperButton = Instance.new("TextButton")
  109. local globalChatButton = Instance.new("TextButton")
  110. local spywatchBypassButton = Instance.new("TextButton")
  111. local unlockDoorsButton = Instance.new("TextButton")
  112. local unlockPassengerButton = Instance.new("TextButton")
  113. local nodeKillButton = Instance.new("TextButton")
  114. local saveConfigButton = Instance.new("TextButton")
  115. local loadConfigButton = Instance.new("TextButton")
  116. local joinGameButton = Instance.new("TextButton")
  117. local joinGameUserTextbox = Instance.new("TextBox")
  118. local deathBarrierBypassButton = Instance.new("TextButton")
  119. local speedHackButton = Instance.new("TextButton")
  120. local stealOutfitFromTextButton = Instance.new("TextButton")
  121. local friendEspButton = Instance.new("TextButton")
  122. local enemyEspButton = Instance.new("TextButton")
  123. local tpToBaseplateButton = Instance.new("TextButton")
  124. local autoPrinterButton = Instance.new("TextButton")
  125. local antiAfkButton = Instance.new("TextButton")
  126. local autoCornFarmButton = Instance.new("TextButton")
  127. local autoScavButton = Instance.new("TextButton")
  128. local earRapePlayersButton = Instance.new("TextButton")
  129. local wishBotButton = Instance.new("TextButton")
  130. local autoAureusButton = Instance.new("TextButton")
  131. local makeInvisibleButton = Instance.new("TextButton")
  132. local assignHotkeyButton = Instance.new("TextButton")
  133. local infiniteHungerButton = Instance.new("TextButton")
  134. local scrollingNameButton = Instance.new("TextButton")
  135. local textSpeedTextBox = Instance.new("TextBox")
  136. local kickOnModJoinButton = Instance.new("TextButton")
  137. local autoScrapFarmButton = Instance.new("TextButton")
  138. local weatherFrame = Instance.new("Frame")
  139. local weatherCloseButton = Instance.new("TextButton")
  140. local weatherHeaderText = Instance.new("TextLabel")
  141. local weatherDividerText = Instance.new("TextLabel")
  142. local dayButton = Instance.new("TextButton")
  143. local nightButton = Instance.new("TextButton")
  144. local sandstormButton = Instance.new("TextButton")
  145. local rainButton = Instance.new("TextButton")
  146. local morningButton = Instance.new("TextButton")
  147. local nuclearWinterButton = Instance.new("TextButton")
  148. local warButton = Instance.new("TextButton")
  149. local eveningButton = Instance.new("TextButton")
  150. local weatherButton = Instance.new("TextButton")
  151. local noclipButton = Instance.new("TextButton")
  152. local crateEspButton = Instance.new("TextButton")
  153. local entityEspButton = Instance.new("TextButton")
  154. local clickTpButton = Instance.new("TextButton")
  155. local storeAllItemsButton = Instance.new("TextButton")
  156. local dispenserButton = Instance.new("TextButton")
  157. local dispenserFrame = Instance.new("Frame")
  158. local dispenserCloseButton = Instance.new("TextButton")
  159. local dispenserHeaderText = Instance.new("TextLabel")
  160. local dispenserDividerText = Instance.new("TextLabel")
  161. local dispenserListScrollingFrame = Instance.new("ScrollingFrame")
  162. local dTextButtonPlaceholder = Instance.new("TextButton")
  163. local dTextButtonPlaceholder_2 = Instance.new("TextButton")
  164. local dTextButtonPlaceholder_3 = Instance.new("TextButton")
  165. local dispenserItemNameText = Instance.new("TextLabel")
  166. local dispenserItemPriceText = Instance.new("TextLabel")
  167. local dispenserItemCountText = Instance.new("TextLabel")
  168. local teleportToDispenserButton = Instance.new("TextButton")
  169. local notificationFrame = Instance.new("Frame")
  170. local okNotificationButton = Instance.new("TextButton")
  171. local notificationText = Instance.new("TextLabel")
  172.  
  173. --Properties:
  174.  
  175. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  176.  
  177. mainMenuFrame.Name = "mainMenuFrame"
  178. mainMenuFrame.Parent = ScreenGui
  179. mainMenuFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  180. mainMenuFrame.BorderColor3 = Color3.fromRGB(239, 5, 255)
  181. mainMenuFrame.BorderSizePixel = 3
  182. mainMenuFrame.Position = UDim2.new(0.0170876663, 0, 0.542997539, 0)
  183. mainMenuFrame.Size = UDim2.new(0, 267, 0, 349)
  184. mainMenuFrame.Style = Enum.FrameStyle.ChatGreen
  185.  
  186. playerEspButton.Name = "playerEspButton"
  187. playerEspButton.Parent = mainMenuFrame
  188. playerEspButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  189. playerEspButton.Position = UDim2.new(-0.00806450844, 0, 0.126074508, 0)
  190. playerEspButton.Size = UDim2.new(0, 119, 0, 34)
  191. playerEspButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  192. playerEspButton.Font = Enum.Font.Ubuntu
  193. playerEspButton.Text = "[OFF] Player ESP"
  194. playerEspButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  195. playerEspButton.TextSize = 14.000
  196.  
  197. disableNlrButton.Name = "disableNlrButton"
  198. disableNlrButton.Parent = mainMenuFrame
  199. disableNlrButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  200. disableNlrButton.Position = UDim2.new(-0.00858050771, 0, 0.341555864, 0)
  201. disableNlrButton.Size = UDim2.new(0, 119, 0, 34)
  202. disableNlrButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  203. disableNlrButton.Font = Enum.Font.Ubuntu
  204. disableNlrButton.Text = "[OFF] Disable NLR"
  205. disableNlrButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  206. disableNlrButton.TextSize = 14.000
  207.  
  208. mainHeaderText.Name = "mainHeaderText"
  209. mainHeaderText.Parent = mainMenuFrame
  210. mainHeaderText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  211. mainHeaderText.BackgroundTransparency = 1.000
  212. mainHeaderText.BorderColor3 = Color3.fromRGB(27, 42, 53)
  213. mainHeaderText.Position = UDim2.new(0.0582546815, 0, -0.0580773652, 0)
  214. mainHeaderText.Selectable = true
  215. mainHeaderText.Size = UDim2.new(0, 200, 0, 50)
  216. mainHeaderText.Font = Enum.Font.SourceSans
  217. mainHeaderText.Text = "lunahax"
  218. mainHeaderText.TextColor3 = Color3.fromRGB(255, 0, 255)
  219. mainHeaderText.TextSize = 50.000
  220.  
  221. mainDividerText.Name = "mainDividerText"
  222. mainDividerText.Parent = mainMenuFrame
  223. mainDividerText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  224. mainDividerText.BorderColor3 = Color3.fromRGB(170, 170, 255)
  225. mainDividerText.Position = UDim2.new(0.0847078636, 0, 0.100057304, 0)
  226. mainDividerText.Size = UDim2.new(0, 189, 0, 0)
  227. mainDividerText.Font = Enum.Font.SourceSans
  228. mainDividerText.Text = ""
  229. mainDividerText.TextColor3 = Color3.fromRGB(0, 0, 0)
  230. mainDividerText.TextSize = 14.000
  231.  
  232. mainMenuCloseButton.Name = "mainMenuCloseButton"
  233. mainMenuCloseButton.Parent = mainMenuFrame
  234. mainMenuCloseButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  235. mainMenuCloseButton.BackgroundTransparency = 1.000
  236. mainMenuCloseButton.Position = UDim2.new(0.953999996, 0, -0.0599999987, 0)
  237. mainMenuCloseButton.Size = UDim2.new(0, 29, 0, 30)
  238. mainMenuCloseButton.Font = Enum.Font.SourceSans
  239. mainMenuCloseButton.Text = "X"
  240. mainMenuCloseButton.TextColor3 = Color3.fromRGB(255, 0, 4)
  241. mainMenuCloseButton.TextSize = 21.000
  242.  
  243. miscButton.Name = "miscButton"
  244. miscButton.Parent = mainMenuFrame
  245. miscButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  246. miscButton.Position = UDim2.new(0.497553468, 0, 0.805157721, 0)
  247. miscButton.Size = UDim2.new(0, 119, 0, 34)
  248. miscButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  249. miscButton.Font = Enum.Font.Ubuntu
  250. miscButton.Text = "Misc Options"
  251. miscButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  252. miscButton.TextSize = 14.000
  253.  
  254. poweredText.Name = "poweredText"
  255. poweredText.Parent = mainMenuFrame
  256. poweredText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  257. poweredText.BackgroundTransparency = 1.000
  258. poweredText.Position = UDim2.new(0.620000005, 0, 0.819000006, 0)
  259. poweredText.Rotation = 90.000
  260. poweredText.Size = UDim2.new(0, 200, 0, 50)
  261. poweredText.Font = Enum.Font.SourceSans
  262. poweredText.Text = "Powered by Lunaâ„¢"
  263. poweredText.TextColor3 = Color3.fromRGB(0, 0, 0)
  264. poweredText.TextSize = 14.000
  265.  
  266. playerListFrame.Name = "playerListFrame"
  267. playerListFrame.Parent = mainMenuFrame
  268. playerListFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  269. playerListFrame.Position = UDim2.new(1.09671855, 0, -0.054441262, 0)
  270. playerListFrame.Size = UDim2.new(0, 223, 0, 348)
  271. playerListFrame.Style = Enum.FrameStyle.ChatBlue
  272.  
  273. playerListScrollingFrame.Name = "playerListScrollingFrame"
  274. playerListScrollingFrame.Parent = playerListFrame
  275. playerListScrollingFrame.Active = true
  276. playerListScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  277. playerListScrollingFrame.BorderSizePixel = 0
  278. playerListScrollingFrame.Position = UDim2.new(-0.0410000011, 0, 0.123999998, 0)
  279. playerListScrollingFrame.Size = UDim2.new(0, 210, 0, 284)
  280. playerListScrollingFrame.SizeConstraint = Enum.SizeConstraint.RelativeYY
  281. playerListScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 10000)
  282.  
  283. TextButtonPlaceholder.Name = "TextButtonPlaceholder"
  284. TextButtonPlaceholder.Parent = playerListScrollingFrame
  285. TextButtonPlaceholder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  286. TextButtonPlaceholder.Size = UDim2.new(0, 200, 0, 50)
  287. TextButtonPlaceholder.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  288. TextButtonPlaceholder.Font = Enum.Font.SourceSans
  289. TextButtonPlaceholder.Text = "placeholder for name"
  290. TextButtonPlaceholder.TextColor3 = Color3.fromRGB(0, 0, 0)
  291. TextButtonPlaceholder.TextSize = 17.000
  292.  
  293. TextButtonPlaceholder_2.Name = "TextButtonPlaceholder"
  294. TextButtonPlaceholder_2.Parent = playerListScrollingFrame
  295. TextButtonPlaceholder_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  296. TextButtonPlaceholder_2.Position = UDim2.new(0, 0, 0.0718390793, 0)
  297. TextButtonPlaceholder_2.Size = UDim2.new(0, 200, 0, 50)
  298. TextButtonPlaceholder_2.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  299. TextButtonPlaceholder_2.Font = Enum.Font.SourceSans
  300. TextButtonPlaceholder_2.Text = "placeholder for name"
  301. TextButtonPlaceholder_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  302. TextButtonPlaceholder_2.TextSize = 17.000
  303.  
  304. TextButtonPlaceholder_3.Name = "TextButtonPlaceholder"
  305. TextButtonPlaceholder_3.Parent = playerListScrollingFrame
  306. TextButtonPlaceholder_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  307. TextButtonPlaceholder_3.Position = UDim2.new(0, 0, 0.143678159, 0)
  308. TextButtonPlaceholder_3.Size = UDim2.new(0, 200, 0, 50)
  309. TextButtonPlaceholder_3.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  310. TextButtonPlaceholder_3.Font = Enum.Font.SourceSans
  311. TextButtonPlaceholder_3.Text = "placeholder for name"
  312. TextButtonPlaceholder_3.TextColor3 = Color3.fromRGB(0, 0, 0)
  313. TextButtonPlaceholder_3.TextSize = 17.000
  314.  
  315. playerListCloseButton.Name = "playerListCloseButton"
  316. playerListCloseButton.Parent = playerListFrame
  317. playerListCloseButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  318. playerListCloseButton.BackgroundTransparency = 1.000
  319. playerListCloseButton.Position = UDim2.new(0.968191862, 0, -0.0657471269, 0)
  320. playerListCloseButton.Size = UDim2.new(0, 29, 0, 30)
  321. playerListCloseButton.Font = Enum.Font.SourceSans
  322. playerListCloseButton.Text = "X"
  323. playerListCloseButton.TextColor3 = Color3.fromRGB(255, 0, 4)
  324. playerListCloseButton.TextSize = 21.000
  325.  
  326. playerListHeaderText.Name = "playerListHeaderText"
  327. playerListHeaderText.Parent = playerListFrame
  328. playerListHeaderText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  329. playerListHeaderText.BackgroundTransparency = 1.000
  330. playerListHeaderText.BorderColor3 = Color3.fromRGB(27, 42, 53)
  331. playerListHeaderText.Position = UDim2.new(-0.0312298182, 0, -0.0580608957, 0)
  332. playerListHeaderText.Selectable = true
  333. playerListHeaderText.Size = UDim2.new(0, 200, 0, 50)
  334. playerListHeaderText.Font = Enum.Font.SourceSans
  335. playerListHeaderText.Text = "player list"
  336. playerListHeaderText.TextColor3 = Color3.fromRGB(255, 0, 255)
  337. playerListHeaderText.TextSize = 50.000
  338.  
  339. playerListDividerText.Name = "playerListDividerText"
  340. playerListDividerText.Parent = playerListFrame
  341. playerListDividerText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  342. playerListDividerText.BorderColor3 = Color3.fromRGB(170, 170, 255)
  343. playerListDividerText.Position = UDim2.new(-0.00477668084, 0, 0.10007377, 0)
  344. playerListDividerText.Size = UDim2.new(0, 189, 0, 0)
  345. playerListDividerText.Font = Enum.Font.SourceSans
  346. playerListDividerText.Text = ""
  347. playerListDividerText.TextColor3 = Color3.fromRGB(0, 0, 0)
  348. playerListDividerText.TextSize = 14.000
  349.  
  350. playerInfoFrame.Name = "playerInfoFrame"
  351. playerInfoFrame.Parent = playerListFrame
  352. playerInfoFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  353. playerInfoFrame.Position = UDim2.new(1.11733031, 0, -0.0534218997, 0)
  354. playerInfoFrame.Size = UDim2.new(0, 680, 0, 348)
  355. playerInfoFrame.Style = Enum.FrameStyle.ChatRed
  356.  
  357. playerInfoHeaderText.Name = "playerInfoHeaderText"
  358. playerInfoHeaderText.Parent = playerInfoFrame
  359. playerInfoHeaderText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  360. playerInfoHeaderText.BackgroundTransparency = 1.000
  361. playerInfoHeaderText.BorderColor3 = Color3.fromRGB(27, 42, 53)
  362. playerInfoHeaderText.Position = UDim2.new(0.248507544, 0, -0.0551873296, 0)
  363. playerInfoHeaderText.Selectable = true
  364. playerInfoHeaderText.Size = UDim2.new(0, 200, 0, 50)
  365. playerInfoHeaderText.Font = Enum.Font.SourceSans
  366. playerInfoHeaderText.Text = "info"
  367. playerInfoHeaderText.TextColor3 = Color3.fromRGB(255, 0, 255)
  368. playerInfoHeaderText.TextSize = 50.000
  369.  
  370. playerInfoDividerText.Name = "playerInfoDividerText"
  371. playerInfoDividerText.Parent = playerInfoFrame
  372. playerInfoDividerText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  373. playerInfoDividerText.BorderColor3 = Color3.fromRGB(170, 170, 255)
  374. playerInfoDividerText.Position = UDim2.new(0.274960667, 0, 0.102947332, 0)
  375. playerInfoDividerText.Size = UDim2.new(0, 189, 0, 0)
  376. playerInfoDividerText.Font = Enum.Font.SourceSans
  377. playerInfoDividerText.Text = ""
  378. playerInfoDividerText.TextColor3 = Color3.fromRGB(0, 0, 0)
  379. playerInfoDividerText.TextSize = 14.000
  380.  
  381. usernameInfoText.Name = "usernameInfoText"
  382. usernameInfoText.Parent = playerInfoFrame
  383. usernameInfoText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  384. usernameInfoText.BackgroundTransparency = 1.000
  385. usernameInfoText.Position = UDim2.new(-0.00966932438, 0, 0.118262619, 0)
  386. usernameInfoText.Size = UDim2.new(0, 276, 0, 27)
  387. usernameInfoText.Font = Enum.Font.SourceSans
  388. usernameInfoText.Text = "Username:"
  389. usernameInfoText.TextColor3 = Color3.fromRGB(0, 0, 0)
  390. usernameInfoText.TextSize = 20.000
  391. usernameInfoText.TextXAlignment = Enum.TextXAlignment.Left
  392.  
  393. roleplayNameInfoText.Name = "roleplayNameInfoText"
  394. roleplayNameInfoText.Parent = playerInfoFrame
  395. roleplayNameInfoText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  396. roleplayNameInfoText.BackgroundTransparency = 1.000
  397. roleplayNameInfoText.Position = UDim2.new(-0.00782035198, 0, 0.213778615, 0)
  398. roleplayNameInfoText.Size = UDim2.new(0, 277, 0, 27)
  399. roleplayNameInfoText.Font = Enum.Font.SourceSans
  400. roleplayNameInfoText.Text = "Roleplay Name:"
  401. roleplayNameInfoText.TextColor3 = Color3.fromRGB(0, 0, 0)
  402. roleplayNameInfoText.TextSize = 20.000
  403. roleplayNameInfoText.TextXAlignment = Enum.TextXAlignment.Left
  404.  
  405. hungerInfoText.Name = "hungerInfoText"
  406. hungerInfoText.Parent = playerInfoFrame
  407. hungerInfoText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  408. hungerInfoText.BackgroundTransparency = 1.000
  409. hungerInfoText.Position = UDim2.new(-0.00657543354, 0, 0.413517207, 0)
  410. hungerInfoText.Size = UDim2.new(0, 107, 0, 27)
  411. hungerInfoText.Font = Enum.Font.SourceSans
  412. hungerInfoText.Text = "Hunger:"
  413. hungerInfoText.TextColor3 = Color3.fromRGB(0, 0, 0)
  414. hungerInfoText.TextSize = 20.000
  415. hungerInfoText.TextXAlignment = Enum.TextXAlignment.Left
  416.  
  417. karmaInfoText.Name = "karmaInfoText"
  418. karmaInfoText.Parent = playerInfoFrame
  419. karmaInfoText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  420. karmaInfoText.BackgroundTransparency = 1.000
  421. karmaInfoText.Position = UDim2.new(0.257005781, 0, 0.413011491, 0)
  422. karmaInfoText.Size = UDim2.new(0, 105, 0, 27)
  423. karmaInfoText.Font = Enum.Font.SourceSans
  424. karmaInfoText.Text = "Karma:"
  425. karmaInfoText.TextColor3 = Color3.fromRGB(0, 0, 0)
  426. karmaInfoText.TextSize = 20.000
  427. karmaInfoText.TextXAlignment = Enum.TextXAlignment.Left
  428.  
  429. playtimeInfoText.Name = "playtimeInfoText"
  430. playtimeInfoText.Parent = playerInfoFrame
  431. playtimeInfoText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  432. playtimeInfoText.BackgroundTransparency = 1.000
  433. playtimeInfoText.Position = UDim2.new(0.257233232, 0, 0.515885115, 0)
  434. playtimeInfoText.Size = UDim2.new(0, 105, 0, 27)
  435. playtimeInfoText.Font = Enum.Font.SourceSans
  436. playtimeInfoText.Text = "Playtime:"
  437. playtimeInfoText.TextColor3 = Color3.fromRGB(0, 0, 0)
  438. playtimeInfoText.TextSize = 20.000
  439. playtimeInfoText.TextXAlignment = Enum.TextXAlignment.Left
  440.  
  441. sChargesInfoText.Name = "sChargesInfoText"
  442. sChargesInfoText.Parent = playerInfoFrame
  443. sChargesInfoText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  444. sChargesInfoText.BackgroundTransparency = 1.000
  445. sChargesInfoText.Position = UDim2.new(-0.00682860427, 0, 0.515885115, 0)
  446. sChargesInfoText.Size = UDim2.new(0, 107, 0, 27)
  447. sChargesInfoText.Font = Enum.Font.SourceSans
  448. sChargesInfoText.Text = "S Charges:"
  449. sChargesInfoText.TextColor3 = Color3.fromRGB(0, 0, 0)
  450. sChargesInfoText.TextSize = 20.000
  451. sChargesInfoText.TextXAlignment = Enum.TextXAlignment.Left
  452.  
  453. moneyAmtInfoText.Name = "moneyAmtInfoText"
  454. moneyAmtInfoText.Parent = playerInfoFrame
  455. moneyAmtInfoText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  456. moneyAmtInfoText.BackgroundTransparency = 1.000
  457. moneyAmtInfoText.Position = UDim2.new(-0.00682860427, 0, 0.613586247, 0)
  458. moneyAmtInfoText.Size = UDim2.new(0, 107, 0, 27)
  459. moneyAmtInfoText.Font = Enum.Font.SourceSans
  460. moneyAmtInfoText.Text = "$: "
  461. moneyAmtInfoText.TextColor3 = Color3.fromRGB(0, 0, 0)
  462. moneyAmtInfoText.TextSize = 20.000
  463. moneyAmtInfoText.TextXAlignment = Enum.TextXAlignment.Left
  464.  
  465. aureusInfoText.Name = "aureusInfoText"
  466. aureusInfoText.Parent = playerInfoFrame
  467. aureusInfoText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  468. aureusInfoText.BackgroundTransparency = 1.000
  469. aureusInfoText.Position = UDim2.new(0.257233202, 0, 0.613586247, 0)
  470. aureusInfoText.Size = UDim2.new(0, 105, 0, 27)
  471. aureusInfoText.Font = Enum.Font.SourceSans
  472. aureusInfoText.Text = "A$: "
  473. aureusInfoText.TextColor3 = Color3.fromRGB(0, 0, 0)
  474. aureusInfoText.TextSize = 20.000
  475. aureusInfoText.TextXAlignment = Enum.TextXAlignment.Left
  476.  
  477. tpToPlayerButton.Name = "tpToPlayerButton"
  478. tpToPlayerButton.Parent = playerInfoFrame
  479. tpToPlayerButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  480. tpToPlayerButton.Position = UDim2.new(0.657253444, 0, 0.111706704, 0)
  481. tpToPlayerButton.Size = UDim2.new(0, 119, 0, 34)
  482. tpToPlayerButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  483. tpToPlayerButton.Font = Enum.Font.Ubuntu
  484. tpToPlayerButton.Text = "Teleport to Player"
  485. tpToPlayerButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  486. tpToPlayerButton.TextSize = 14.000
  487.  
  488. excludeFromEspButton.Name = "excludeFromEspButton"
  489. excludeFromEspButton.Parent = playerInfoFrame
  490. excludeFromEspButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  491. excludeFromEspButton.Position = UDim2.new(0.657253444, 0, 0.21802856, 0)
  492. excludeFromEspButton.Size = UDim2.new(0, 119, 0, 34)
  493. excludeFromEspButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  494. excludeFromEspButton.Font = Enum.Font.Ubuntu
  495. excludeFromEspButton.Text = "Exclude from ESP"
  496. excludeFromEspButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  497. excludeFromEspButton.TextSize = 14.000
  498.  
  499. bankInfoText.Name = "bankInfoText"
  500. bankInfoText.Parent = playerInfoFrame
  501. bankInfoText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  502. bankInfoText.BackgroundTransparency = 1.000
  503. bankInfoText.Position = UDim2.new(-0.00728356838, 0, 0.842880726, 0)
  504. bankInfoText.Size = UDim2.new(0, 423, 0, 40)
  505. bankInfoText.Font = Enum.Font.SourceSans
  506. bankInfoText.LineHeight = 2.000
  507. bankInfoText.Text = "Bank:"
  508. bankInfoText.TextColor3 = Color3.fromRGB(0, 0, 0)
  509. bankInfoText.TextSize = 13.000
  510. bankInfoText.TextWrapped = true
  511. bankInfoText.TextXAlignment = Enum.TextXAlignment.Left
  512.  
  513. inventoryInfoText.Name = "inventoryInfoText"
  514. inventoryInfoText.Parent = playerInfoFrame
  515. inventoryInfoText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  516. inventoryInfoText.BackgroundTransparency = 1.000
  517. inventoryInfoText.Position = UDim2.new(-0.00728356838, 0, 0.699202597, 0)
  518. inventoryInfoText.Size = UDim2.new(0, 423, 0, 40)
  519. inventoryInfoText.Font = Enum.Font.SourceSans
  520. inventoryInfoText.LineHeight = 2.000
  521. inventoryInfoText.Text = "Inventory: "
  522. inventoryInfoText.TextColor3 = Color3.fromRGB(0, 0, 0)
  523. inventoryInfoText.TextSize = 13.000
  524. inventoryInfoText.TextWrapped = true
  525. inventoryInfoText.TextXAlignment = Enum.TextXAlignment.Left
  526.  
  527. killPlayer.Name = "killPlayer"
  528. killPlayer.Parent = playerInfoFrame
  529. killPlayer.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  530. killPlayer.Position = UDim2.new(0.657253444, 0, 0.327223957, 0)
  531. killPlayer.Size = UDim2.new(0, 119, 0, 34)
  532. killPlayer.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  533. killPlayer.Font = Enum.Font.Ubuntu
  534. killPlayer.Text = "Kill Player"
  535. killPlayer.TextColor3 = Color3.fromRGB(0, 0, 0)
  536. killPlayer.TextSize = 15.000
  537.  
  538. spectatePlayerButton.Name = "spectatePlayerButton"
  539. spectatePlayerButton.Parent = playerInfoFrame
  540. spectatePlayerButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  541. spectatePlayerButton.Position = UDim2.new(0.657253504, 0, 0.433545828, 0)
  542. spectatePlayerButton.Size = UDim2.new(0, 119, 0, 34)
  543. spectatePlayerButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  544. spectatePlayerButton.Font = Enum.Font.Ubuntu
  545. spectatePlayerButton.Text = "[OFF] Spectate Player"
  546. spectatePlayerButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  547. spectatePlayerButton.TextSize = 11.000
  548.  
  549. jobInfoText.Name = "jobInfoText"
  550. jobInfoText.Parent = playerInfoFrame
  551. jobInfoText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  552. jobInfoText.BackgroundTransparency = 1.000
  553. jobInfoText.Position = UDim2.new(-0.00782860629, 0, 0.315885067, 0)
  554. jobInfoText.Size = UDim2.new(0, 216, 0, 27)
  555. jobInfoText.Font = Enum.Font.SourceSans
  556. jobInfoText.Text = "Job:"
  557. jobInfoText.TextColor3 = Color3.fromRGB(0, 0, 0)
  558. jobInfoText.TextSize = 20.000
  559. jobInfoText.TextXAlignment = Enum.TextXAlignment.Left
  560.  
  561. friendButton.Name = "friendButton"
  562. friendButton.Parent = playerInfoFrame
  563. friendButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  564. friendButton.Position = UDim2.new(0.656059206, 0, 0.540136039, 0)
  565. friendButton.Size = UDim2.new(0, 55, 0, 34)
  566. friendButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  567. friendButton.Font = Enum.Font.Ubuntu
  568. friendButton.Text = "Friend"
  569. friendButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  570. friendButton.TextSize = 11.000
  571.  
  572. enemyButton.Name = "enemyButton"
  573. enemyButton.Parent = playerInfoFrame
  574. enemyButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  575. enemyButton.Position = UDim2.new(0.755435884, 0, 0.540136039, 0)
  576. enemyButton.Size = UDim2.new(0, 55, 0, 34)
  577. enemyButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  578. enemyButton.Font = Enum.Font.Ubuntu
  579. enemyButton.Text = "Enemy"
  580. enemyButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  581. enemyButton.TextSize = 11.000
  582.  
  583. stealOutfitButton.Name = "stealOutfitButton"
  584. stealOutfitButton.Parent = playerInfoFrame
  585. stealOutfitButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  586. stealOutfitButton.Position = UDim2.new(0.656436145, 0, 0.644616127, 0)
  587. stealOutfitButton.Size = UDim2.new(0, 120, 0, 34)
  588. stealOutfitButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  589. stealOutfitButton.Font = Enum.Font.Ubuntu
  590. stealOutfitButton.Text = "Steal Outfit"
  591. stealOutfitButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  592. stealOutfitButton.TextSize = 16.000
  593.  
  594. copyOutfitButton.Name = "copyOutfitButton"
  595. copyOutfitButton.Parent = playerInfoFrame
  596. copyOutfitButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  597. copyOutfitButton.Position = UDim2.new(0.656362534, 0, 0.750450075, 0)
  598. copyOutfitButton.Size = UDim2.new(0, 119, 0, 34)
  599. copyOutfitButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  600. copyOutfitButton.Font = Enum.Font.Ubuntu
  601. copyOutfitButton.Text = "Copy outfit id's"
  602. copyOutfitButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  603. copyOutfitButton.TextSize = 15.000
  604.  
  605. copyNodeSongButton.Name = "copyNodeSongButton"
  606. copyNodeSongButton.Parent = playerInfoFrame
  607. copyNodeSongButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  608. copyNodeSongButton.Position = UDim2.new(0.657253444, 0, 0.858833194, 0)
  609. copyNodeSongButton.Size = UDim2.new(0, 119, 0, 34)
  610. copyNodeSongButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  611. copyNodeSongButton.Font = Enum.Font.Ubuntu
  612. copyNodeSongButton.Text = "Copy node song"
  613. copyNodeSongButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  614. copyNodeSongButton.TextSize = 14.000
  615.  
  616. specificEspButton.Name = "specificEspButton"
  617. specificEspButton.Parent = playerInfoFrame
  618. specificEspButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  619. specificEspButton.Position = UDim2.new(0.84107697, 0, 0.111706741, 0)
  620. specificEspButton.Size = UDim2.new(0, 119, 0, 34)
  621. specificEspButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  622. specificEspButton.Font = Enum.Font.Ubuntu
  623. specificEspButton.Text = "ESP"
  624. specificEspButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  625. specificEspButton.TextSize = 14.000
  626.  
  627. flaggedInfoText.Name = "flaggedInfoText"
  628. flaggedInfoText.Parent = playerInfoFrame
  629. flaggedInfoText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  630. flaggedInfoText.BackgroundTransparency = 1.000
  631. flaggedInfoText.Position = UDim2.new(0.468770504, 0, 0.413011491, 0)
  632. flaggedInfoText.Size = UDim2.new(0, 105, 0, 27)
  633. flaggedInfoText.Font = Enum.Font.SourceSans
  634. flaggedInfoText.Text = "Flagged?:"
  635. flaggedInfoText.TextColor3 = Color3.fromRGB(0, 0, 0)
  636. flaggedInfoText.TextSize = 20.000
  637. flaggedInfoText.TextXAlignment = Enum.TextXAlignment.Left
  638.  
  639. specificEarRapeButton.Name = "specificEarRapeButton"
  640. specificEarRapeButton.Parent = playerInfoFrame
  641. specificEarRapeButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  642. specificEarRapeButton.Position = UDim2.new(0.84107697, 0, 0.21802859, 0)
  643. specificEarRapeButton.Size = UDim2.new(0, 119, 0, 34)
  644. specificEarRapeButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  645. specificEarRapeButton.Font = Enum.Font.Ubuntu
  646. specificEarRapeButton.Text = "Earrape Player"
  647. specificEarRapeButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  648. specificEarRapeButton.TextSize = 14.000
  649.  
  650. copyNodeButton.Name = "copyNodeButton"
  651. copyNodeButton.Parent = playerInfoFrame
  652. copyNodeButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  653. copyNodeButton.Position = UDim2.new(0.838135779, 0, 0.327223986, 0)
  654. copyNodeButton.Size = UDim2.new(0, 119, 0, 34)
  655. copyNodeButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  656. copyNodeButton.Font = Enum.Font.Ubuntu
  657. copyNodeButton.Text = "Copy Node"
  658. copyNodeButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  659. copyNodeButton.TextSize = 14.000
  660.  
  661. viewBackpackButton.Name = "viewBackpackButton"
  662. viewBackpackButton.Parent = playerInfoFrame
  663. viewBackpackButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  664. viewBackpackButton.Position = UDim2.new(0.838135779, 0, 0.433545828, 0)
  665. viewBackpackButton.Size = UDim2.new(0, 119, 0, 34)
  666. viewBackpackButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  667. viewBackpackButton.Font = Enum.Font.Ubuntu
  668. viewBackpackButton.Text = "View Backpack"
  669. viewBackpackButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  670. viewBackpackButton.TextSize = 14.000
  671.  
  672. viewPermsButton.Name = "viewPermsButton"
  673. viewPermsButton.Parent = playerInfoFrame
  674. viewPermsButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  675. viewPermsButton.Position = UDim2.new(0.838135779, 0, 0.53986764, 0)
  676. viewPermsButton.Size = UDim2.new(0, 119, 0, 34)
  677. viewPermsButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  678. viewPermsButton.Font = Enum.Font.Ubuntu
  679. viewPermsButton.Text = "View Perms"
  680. viewPermsButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  681. viewPermsButton.TextSize = 14.000
  682.  
  683. heldItemInfoText.Name = "heldItemInfoText"
  684. heldItemInfoText.Parent = playerInfoFrame
  685. heldItemInfoText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  686. heldItemInfoText.BackgroundTransparency = 1.000
  687. heldItemInfoText.Position = UDim2.new(0.46782577, 0, 0.224480763, 0)
  688. heldItemInfoText.Size = UDim2.new(0, 105, 0, 55)
  689. heldItemInfoText.Font = Enum.Font.SourceSans
  690. heldItemInfoText.Text = "Held: "
  691. heldItemInfoText.TextColor3 = Color3.fromRGB(0, 0, 0)
  692. heldItemInfoText.TextSize = 13.000
  693. heldItemInfoText.TextWrapped = true
  694. heldItemInfoText.TextXAlignment = Enum.TextXAlignment.Left
  695. heldItemInfoText.TextYAlignment = Enum.TextYAlignment.Top
  696.  
  697. teleportVehicleTextButton.Name = "teleportVehicleTextButton"
  698. teleportVehicleTextButton.Parent = playerInfoFrame
  699. teleportVehicleTextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  700. teleportVehicleTextButton.Position = UDim2.new(0.838135779, 0, 0.643315911, 0)
  701. teleportVehicleTextButton.Size = UDim2.new(0, 119, 0, 34)
  702. teleportVehicleTextButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  703. teleportVehicleTextButton.Font = Enum.Font.Ubuntu
  704. teleportVehicleTextButton.Text = "TP All cars to player"
  705. teleportVehicleTextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  706. teleportVehicleTextButton.TextSize = 13.000
  707.  
  708. playerListButton.Name = "playerListButton"
  709. playerListButton.Parent = mainMenuFrame
  710. playerListButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  711. playerListButton.Position = UDim2.new(0.497553468, 0, 0.914040267, 0)
  712. playerListButton.Size = UDim2.new(0, 119, 0, 34)
  713. playerListButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  714. playerListButton.Font = Enum.Font.Ubuntu
  715. playerListButton.Text = "Player List"
  716. playerListButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  717. playerListButton.TextSize = 14.000
  718.  
  719. printerEspButton.Name = "printerEspButton"
  720. printerEspButton.Parent = mainMenuFrame
  721. printerEspButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  722. printerEspButton.Position = UDim2.new(0.505273402, 0, 0.128000006, 0)
  723. printerEspButton.Size = UDim2.new(0, 119, 0, 34)
  724. printerEspButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  725. printerEspButton.Font = Enum.Font.Ubuntu
  726. printerEspButton.Text = "[OFF] Printer ESP"
  727. printerEspButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  728. printerEspButton.TextSize = 14.000
  729.  
  730. combatFrame.Name = "combatFrame"
  731. combatFrame.Parent = mainMenuFrame
  732. combatFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  733. combatFrame.Position = UDim2.new(2.0782733, 0, -1.17147851, 0)
  734. combatFrame.Size = UDim2.new(0, 223, 0, 348)
  735. combatFrame.Style = Enum.FrameStyle.ChatBlue
  736.  
  737. combatCloseButton.Name = "combatCloseButton"
  738. combatCloseButton.Parent = combatFrame
  739. combatCloseButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  740. combatCloseButton.BackgroundTransparency = 1.000
  741. combatCloseButton.Position = UDim2.new(0.968191862, 0, -0.0657471269, 0)
  742. combatCloseButton.Size = UDim2.new(0, 29, 0, 30)
  743. combatCloseButton.Font = Enum.Font.SourceSans
  744. combatCloseButton.Text = "X"
  745. combatCloseButton.TextColor3 = Color3.fromRGB(255, 0, 4)
  746. combatCloseButton.TextSize = 21.000
  747.  
  748. combatHeaderText.Name = "combatHeaderText"
  749. combatHeaderText.Parent = combatFrame
  750. combatHeaderText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  751. combatHeaderText.BackgroundTransparency = 1.000
  752. combatHeaderText.BorderColor3 = Color3.fromRGB(27, 42, 53)
  753. combatHeaderText.Position = UDim2.new(-0.0312298182, 0, -0.0580608957, 0)
  754. combatHeaderText.Selectable = true
  755. combatHeaderText.Size = UDim2.new(0, 200, 0, 50)
  756. combatHeaderText.Font = Enum.Font.SourceSans
  757. combatHeaderText.Text = "combat"
  758. combatHeaderText.TextColor3 = Color3.fromRGB(255, 0, 255)
  759. combatHeaderText.TextSize = 50.000
  760.  
  761. combatDividerText.Name = "combatDividerText"
  762. combatDividerText.Parent = combatFrame
  763. combatDividerText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  764. combatDividerText.BorderColor3 = Color3.fromRGB(170, 170, 255)
  765. combatDividerText.Position = UDim2.new(-0.00477668084, 0, 0.10007377, 0)
  766. combatDividerText.Size = UDim2.new(0, 189, 0, 0)
  767. combatDividerText.Font = Enum.Font.SourceSans
  768. combatDividerText.Text = ""
  769. combatDividerText.TextColor3 = Color3.fromRGB(0, 0, 0)
  770. combatDividerText.TextSize = 14.000
  771.  
  772. combatScrollingFrame.Name = "combatScrollingFrame"
  773. combatScrollingFrame.Parent = combatFrame
  774. combatScrollingFrame.Active = true
  775. combatScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  776. combatScrollingFrame.BorderSizePixel = 0
  777. combatScrollingFrame.Position = UDim2.new(-0.0599999987, 0, 0.111000001, 0)
  778. combatScrollingFrame.Size = UDim2.new(0, 213, 0, 287)
  779.  
  780. aimbotButton.Name = "aimbotButton"
  781. aimbotButton.Parent = combatScrollingFrame
  782. aimbotButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  783. aimbotButton.Position = UDim2.new(0.221687689, 0, 0.00988043286, 0)
  784. aimbotButton.Size = UDim2.new(0, 119, 0, 34)
  785. aimbotButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  786. aimbotButton.Font = Enum.Font.Ubuntu
  787. aimbotButton.Text = "[OFF] (q) Aimbot"
  788. aimbotButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  789. aimbotButton.TextSize = 14.000
  790.  
  791. autoDrinkButton.Name = "autoDrinkButton"
  792. autoDrinkButton.Parent = combatScrollingFrame
  793. autoDrinkButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  794. autoDrinkButton.Position = UDim2.new(0.221687689, 0, 0.0572942272, 0)
  795. autoDrinkButton.Size = UDim2.new(0, 119, 0, 34)
  796. autoDrinkButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  797. autoDrinkButton.Font = Enum.Font.Ubuntu
  798. autoDrinkButton.Text = "[OFF] AutoDrink"
  799. autoDrinkButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  800. autoDrinkButton.TextSize = 14.000
  801.  
  802. infiniteClipButton.Name = "infiniteClipButton"
  803. infiniteClipButton.Parent = combatScrollingFrame
  804. infiniteClipButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  805. infiniteClipButton.Position = UDim2.new(0.22191067, 0, 0.299880981, 0)
  806. infiniteClipButton.Size = UDim2.new(0, 119, 0, 34)
  807. infiniteClipButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  808. infiniteClipButton.Font = Enum.Font.Ubuntu
  809. infiniteClipButton.Text = "[OFF] Infinite Clip"
  810. infiniteClipButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  811. infiniteClipButton.TextSize = 14.000
  812.  
  813. onlyTargetFlaggedButton.Name = "onlyTargetFlaggedButton"
  814. onlyTargetFlaggedButton.Parent = combatScrollingFrame
  815. onlyTargetFlaggedButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  816. onlyTargetFlaggedButton.Position = UDim2.new(0.21742636, 0, 0.457926989, 0)
  817. onlyTargetFlaggedButton.Size = UDim2.new(0, 119, 0, 34)
  818. onlyTargetFlaggedButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  819. onlyTargetFlaggedButton.Font = Enum.Font.Ubuntu
  820. onlyTargetFlaggedButton.Text = "[OFF] Only flagged"
  821. onlyTargetFlaggedButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  822. onlyTargetFlaggedButton.TextSize = 11.000
  823.  
  824. weaponMultiplierButton.Name = "weaponMultiplierButton"
  825. weaponMultiplierButton.Parent = combatScrollingFrame
  826. weaponMultiplierButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  827. weaponMultiplierButton.Position = UDim2.new(0.22191067, 0, 0.202179849, 0)
  828. weaponMultiplierButton.Size = UDim2.new(0, 119, 0, 34)
  829. weaponMultiplierButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  830. weaponMultiplierButton.Font = Enum.Font.Ubuntu
  831. weaponMultiplierButton.Text = "[OFF] Weapon Multi"
  832. weaponMultiplierButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  833. weaponMultiplierButton.TextSize = 11.000
  834.  
  835. hitboxExpandButton.Name = "hitboxExpandButton"
  836. hitboxExpandButton.Parent = combatScrollingFrame
  837. hitboxExpandButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  838. hitboxExpandButton.Position = UDim2.new(0.22191067, 0, 0.251030445, 0)
  839. hitboxExpandButton.Size = UDim2.new(0, 119, 0, 34)
  840. hitboxExpandButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  841. hitboxExpandButton.Font = Enum.Font.Ubuntu
  842. hitboxExpandButton.Text = "[OFF] Hitbox Expand"
  843. hitboxExpandButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  844. hitboxExpandButton.TextSize = 11.000
  845.  
  846. rageAuraRedButton.Name = "rageAuraRedButton"
  847. rageAuraRedButton.Parent = combatScrollingFrame
  848. rageAuraRedButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  849. rageAuraRedButton.Position = UDim2.new(0.22191067, 0, 0.104478672, 0)
  850. rageAuraRedButton.Size = UDim2.new(0, 119, 0, 34)
  851. rageAuraRedButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  852. rageAuraRedButton.Font = Enum.Font.Ubuntu
  853. rageAuraRedButton.Text = "[OFF] Red RageAura"
  854. rageAuraRedButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  855. rageAuraRedButton.TextSize = 13.000
  856.  
  857. yellowRageAuraRedButton.Name = "yellowRageAuraRedButton"
  858. yellowRageAuraRedButton.Parent = combatScrollingFrame
  859. yellowRageAuraRedButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  860. yellowRageAuraRedButton.Position = UDim2.new(0.22191067, 0, 0.153329238, 0)
  861. yellowRageAuraRedButton.Size = UDim2.new(0, 119, 0, 34)
  862. yellowRageAuraRedButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  863. yellowRageAuraRedButton.Font = Enum.Font.Ubuntu
  864. yellowRageAuraRedButton.Text = "[OFF] Yellow RageAura"
  865. yellowRageAuraRedButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  866. yellowRageAuraRedButton.TextSize = 11.000
  867.  
  868. autoReloadButton.Name = "autoReloadButton"
  869. autoReloadButton.Parent = combatScrollingFrame
  870. autoReloadButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  871. autoReloadButton.Position = UDim2.new(0.22191067, 0, 0.348731548, 0)
  872. autoReloadButton.Size = UDim2.new(0, 119, 0, 34)
  873. autoReloadButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  874. autoReloadButton.Font = Enum.Font.Ubuntu
  875. autoReloadButton.Text = "[OFF] AutoReload"
  876. autoReloadButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  877. autoReloadButton.TextSize = 14.000
  878.  
  879. flyJumpButton.Name = "flyJumpButton"
  880. flyJumpButton.Parent = mainMenuFrame
  881. flyJumpButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  882. flyJumpButton.Position = UDim2.new(0.505044103, 0, 0.449856758, 0)
  883. flyJumpButton.Size = UDim2.new(0, 119, 0, 34)
  884. flyJumpButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  885. flyJumpButton.Font = Enum.Font.Ubuntu
  886. flyJumpButton.Text = "[OFF] Fly Jump"
  887. flyJumpButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  888. flyJumpButton.TextSize = 14.000
  889.  
  890. combatButton.Name = "combatButton"
  891. combatButton.Parent = mainMenuFrame
  892. combatButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  893. combatButton.Position = UDim2.new(-0.0080645103, 0, 0.805157721, 0)
  894. combatButton.Size = UDim2.new(0, 119, 0, 34)
  895. combatButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  896. combatButton.Font = Enum.Font.Ubuntu
  897. combatButton.Text = "Combat Options"
  898. combatButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  899. combatButton.TextSize = 14.000
  900.  
  901. infiniteAmmoButton.Name = "infiniteAmmoButton"
  902. infiniteAmmoButton.Parent = mainMenuFrame
  903. infiniteAmmoButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  904. infiniteAmmoButton.Position = UDim2.new(-0.0080645103, 0, 0.558739245, 0)
  905. infiniteAmmoButton.Size = UDim2.new(0, 119, 0, 34)
  906. infiniteAmmoButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  907. infiniteAmmoButton.Font = Enum.Font.Ubuntu
  908. infiniteAmmoButton.Text = "[OFF] InfiniteAmmo"
  909. infiniteAmmoButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  910. infiniteAmmoButton.TextSize = 14.000
  911.  
  912. miscFrame.Name = "miscFrame"
  913. miscFrame.Parent = mainMenuFrame
  914. miscFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  915. miscFrame.Position = UDim2.new(3.05954671, 0, -1.17147851, 0)
  916. miscFrame.Size = UDim2.new(0, 223, 0, 348)
  917. miscFrame.Style = Enum.FrameStyle.ChatBlue
  918.  
  919. miscHeaderText.Name = "miscHeaderText"
  920. miscHeaderText.Parent = miscFrame
  921. miscHeaderText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  922. miscHeaderText.BackgroundTransparency = 1.000
  923. miscHeaderText.BorderColor3 = Color3.fromRGB(27, 42, 53)
  924. miscHeaderText.Position = UDim2.new(-0.0312298182, 0, -0.0580608957, 0)
  925. miscHeaderText.Selectable = true
  926. miscHeaderText.Size = UDim2.new(0, 200, 0, 50)
  927. miscHeaderText.Font = Enum.Font.SourceSans
  928. miscHeaderText.Text = "misc"
  929. miscHeaderText.TextColor3 = Color3.fromRGB(255, 0, 255)
  930. miscHeaderText.TextSize = 50.000
  931.  
  932. miscDividerText.Name = "miscDividerText"
  933. miscDividerText.Parent = miscFrame
  934. miscDividerText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  935. miscDividerText.BorderColor3 = Color3.fromRGB(170, 170, 255)
  936. miscDividerText.Position = UDim2.new(-0.00477668084, 0, 0.10007377, 0)
  937. miscDividerText.Size = UDim2.new(0, 189, 0, 0)
  938. miscDividerText.Font = Enum.Font.SourceSans
  939. miscDividerText.Text = ""
  940. miscDividerText.TextColor3 = Color3.fromRGB(0, 0, 0)
  941. miscDividerText.TextSize = 14.000
  942.  
  943. miscCloseButton.Name = "miscCloseButton"
  944. miscCloseButton.Parent = miscFrame
  945. miscCloseButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  946. miscCloseButton.BackgroundTransparency = 1.000
  947. miscCloseButton.Position = UDim2.new(0.968191862, 0, -0.0657471269, 0)
  948. miscCloseButton.Size = UDim2.new(0, 29, 0, 30)
  949. miscCloseButton.Font = Enum.Font.SourceSans
  950. miscCloseButton.Text = "X"
  951. miscCloseButton.TextColor3 = Color3.fromRGB(255, 0, 4)
  952. miscCloseButton.TextSize = 21.000
  953.  
  954. miscScrollingFrame.Name = "miscScrollingFrame"
  955. miscScrollingFrame.Parent = miscFrame
  956. miscScrollingFrame.Active = true
  957. miscScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  958. miscScrollingFrame.BorderSizePixel = 0
  959. miscScrollingFrame.Position = UDim2.new(-0.0599999987, 0, 0.111000001, 0)
  960. miscScrollingFrame.Size = UDim2.new(0, 213, 0, 287)
  961. miscScrollingFrame.CanvasPosition = Vector2.new(0, 969)
  962. miscScrollingFrame.CanvasSize = UDim2.new(0, 0, 4, 0)
  963.  
  964. clientJPButton.Name = "clientJPButton"
  965. clientJPButton.Parent = miscScrollingFrame
  966. clientJPButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  967. clientJPButton.Position = UDim2.new(0.217624456, 0, 0.105812728, 0)
  968. clientJPButton.Size = UDim2.new(0, 119, 0, 34)
  969. clientJPButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  970. clientJPButton.Font = Enum.Font.Ubuntu
  971. clientJPButton.Text = "Client-side Jetpack"
  972. clientJPButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  973. clientJPButton.TextSize = 14.000
  974.  
  975. deathReturnButton.Name = "deathReturnButton"
  976. deathReturnButton.Parent = miscScrollingFrame
  977. deathReturnButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  978. deathReturnButton.Position = UDim2.new(0.217834979, 0, 0.177651733, 0)
  979. deathReturnButton.Size = UDim2.new(0, 119, 0, 34)
  980. deathReturnButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  981. deathReturnButton.Font = Enum.Font.Ubuntu
  982. deathReturnButton.Text = "[OFF] Death Return"
  983. deathReturnButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  984. deathReturnButton.TextSize = 14.000
  985.  
  986. getInNearestCarButton.Name = "getInNearestCarButton"
  987. getInNearestCarButton.Parent = miscScrollingFrame
  988. getInNearestCarButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  989. getInNearestCarButton.Position = UDim2.new(0.217636913, 0, 0.00965109281, 0)
  990. getInNearestCarButton.Size = UDim2.new(0, 119, 0, 34)
  991. getInNearestCarButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  992. getInNearestCarButton.Font = Enum.Font.Ubuntu
  993. getInNearestCarButton.Text = "Steal Nearest Car"
  994. getInNearestCarButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  995. getInNearestCarButton.TextSize = 14.000
  996.  
  997. itemSniperButton.Name = "itemSniperButton"
  998. itemSniperButton.Parent = miscScrollingFrame
  999. itemSniperButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1000. itemSniperButton.Position = UDim2.new(0.217624441, 0, 0.130237967, 0)
  1001. itemSniperButton.Size = UDim2.new(0, 119, 0, 34)
  1002. itemSniperButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1003. itemSniperButton.Font = Enum.Font.Ubuntu
  1004. itemSniperButton.Text = "[OFF] Item Sniper"
  1005. itemSniperButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1006. itemSniperButton.TextSize = 14.000
  1007.  
  1008. globalChatButton.Name = "globalChatButton"
  1009. globalChatButton.Parent = miscScrollingFrame
  1010. globalChatButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1011. globalChatButton.Position = UDim2.new(0.217834964, 0, 0.153705388, 0)
  1012. globalChatButton.Size = UDim2.new(0, 119, 0, 34)
  1013. globalChatButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1014. globalChatButton.Font = Enum.Font.Ubuntu
  1015. globalChatButton.Text = "[OFF] Global chat"
  1016. globalChatButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1017. globalChatButton.TextSize = 14.000
  1018.  
  1019. spywatchBypassButton.Name = "spywatchBypassButton"
  1020. spywatchBypassButton.Parent = miscScrollingFrame
  1021. spywatchBypassButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1022. spywatchBypassButton.Position = UDim2.new(0.217624456, 0, 0.0811479762, 0)
  1023. spywatchBypassButton.Size = UDim2.new(0, 119, 0, 34)
  1024. spywatchBypassButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1025. spywatchBypassButton.Font = Enum.Font.Ubuntu
  1026. spywatchBypassButton.Text = "Spywatch Bypass"
  1027. spywatchBypassButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1028. spywatchBypassButton.TextSize = 14.000
  1029.  
  1030. unlockDoorsButton.Name = "unlockDoorsButton"
  1031. unlockDoorsButton.Parent = miscScrollingFrame
  1032. unlockDoorsButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1033. unlockDoorsButton.Position = UDim2.new(0.217624426, 0, 0.0573676825, 0)
  1034. unlockDoorsButton.Size = UDim2.new(0, 119, 0, 34)
  1035. unlockDoorsButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1036. unlockDoorsButton.Font = Enum.Font.Ubuntu
  1037. unlockDoorsButton.Text = "Unlock all doors"
  1038. unlockDoorsButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1039. unlockDoorsButton.TextSize = 14.000
  1040.  
  1041. unlockPassengerButton.Name = "unlockPassengerButton"
  1042. unlockPassengerButton.Parent = miscScrollingFrame
  1043. unlockPassengerButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1044. unlockPassengerButton.Position = UDim2.new(0.217636913, 0, 0.0335974433, 0)
  1045. unlockPassengerButton.Size = UDim2.new(0, 119, 0, 34)
  1046. unlockPassengerButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1047. unlockPassengerButton.Font = Enum.Font.Ubuntu
  1048. unlockPassengerButton.Text = "Unlock All Passenger Seats"
  1049. unlockPassengerButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1050. unlockPassengerButton.TextSize = 9.000
  1051.  
  1052. nodeKillButton.Name = "nodeKillButton"
  1053. nodeKillButton.Parent = miscScrollingFrame
  1054. nodeKillButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1055. nodeKillButton.Position = UDim2.new(0.217834979, 0, 0.201598048, 0)
  1056. nodeKillButton.Size = UDim2.new(0, 119, 0, 34)
  1057. nodeKillButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1058. nodeKillButton.Font = Enum.Font.Ubuntu
  1059. nodeKillButton.Text = "[OFF] NodeKill"
  1060. nodeKillButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1061. nodeKillButton.TextSize = 14.000
  1062.  
  1063. saveConfigButton.Name = "saveConfigButton"
  1064. saveConfigButton.Parent = miscScrollingFrame
  1065. saveConfigButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1066. saveConfigButton.Position = UDim2.new(0.222529814, 0, 0.67573607, 0)
  1067. saveConfigButton.Size = UDim2.new(0, 119, 0, 34)
  1068. saveConfigButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1069. saveConfigButton.Font = Enum.Font.Ubuntu
  1070. saveConfigButton.Text = "Save Config"
  1071. saveConfigButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1072. saveConfigButton.TextSize = 14.000
  1073.  
  1074. loadConfigButton.Name = "loadConfigButton"
  1075. loadConfigButton.Parent = miscScrollingFrame
  1076. loadConfigButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1077. loadConfigButton.Position = UDim2.new(0.222529829, 0, 0.699921906, 0)
  1078. loadConfigButton.Size = UDim2.new(0, 119, 0, 34)
  1079. loadConfigButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1080. loadConfigButton.Font = Enum.Font.Ubuntu
  1081. loadConfigButton.Text = "Load Config"
  1082. loadConfigButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1083. loadConfigButton.TextSize = 14.000
  1084.  
  1085. joinGameButton.Name = "joinGameButton"
  1086. joinGameButton.Parent = miscScrollingFrame
  1087. joinGameButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1088. joinGameButton.Position = UDim2.new(0.222529829, 0, 0.767690063, 0)
  1089. joinGameButton.Size = UDim2.new(0, 119, 0, 34)
  1090. joinGameButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1091. joinGameButton.Font = Enum.Font.Ubuntu
  1092. joinGameButton.Text = "Join Game"
  1093. joinGameButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1094. joinGameButton.TextSize = 14.000
  1095.  
  1096. joinGameUserTextbox.Name = "joinGameUserTextbox"
  1097. joinGameUserTextbox.Parent = miscScrollingFrame
  1098. joinGameUserTextbox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1099. joinGameUserTextbox.Position = UDim2.new(0.152287588, 0, 0.740868032, 0)
  1100. joinGameUserTextbox.Size = UDim2.new(0, 145, 0, 26)
  1101. joinGameUserTextbox.Font = Enum.Font.SourceSans
  1102. joinGameUserTextbox.PlaceholderText = "Username"
  1103. joinGameUserTextbox.Text = ""
  1104. joinGameUserTextbox.TextColor3 = Color3.fromRGB(0, 0, 0)
  1105. joinGameUserTextbox.TextSize = 14.000
  1106.  
  1107. deathBarrierBypassButton.Name = "deathBarrierBypassButton"
  1108. deathBarrierBypassButton.Parent = miscScrollingFrame
  1109. deathBarrierBypassButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1110. deathBarrierBypassButton.Position = UDim2.new(0.217834979, 0, 0.225544423, 0)
  1111. deathBarrierBypassButton.Size = UDim2.new(0, 119, 0, 34)
  1112. deathBarrierBypassButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1113. deathBarrierBypassButton.Font = Enum.Font.Ubuntu
  1114. deathBarrierBypassButton.Text = "[OFF] Bypass Barriers"
  1115. deathBarrierBypassButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1116. deathBarrierBypassButton.TextSize = 11.000
  1117.  
  1118. speedHackButton.Name = "speedHackButton"
  1119. speedHackButton.Parent = miscScrollingFrame
  1120. speedHackButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1121. speedHackButton.Position = UDim2.new(0.217834979, 0, 0.249490783, 0)
  1122. speedHackButton.Size = UDim2.new(0, 119, 0, 34)
  1123. speedHackButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1124. speedHackButton.Font = Enum.Font.Ubuntu
  1125. speedHackButton.Text = "[OFF] SpeedHack"
  1126. speedHackButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1127. speedHackButton.TextSize = 14.000
  1128.  
  1129. stealOutfitFromTextButton.Name = "stealOutfitFromTextButton"
  1130. stealOutfitFromTextButton.Parent = miscScrollingFrame
  1131. stealOutfitFromTextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1132. stealOutfitFromTextButton.Position = UDim2.new(0.222529829, 0, 0.791636527, 0)
  1133. stealOutfitFromTextButton.Size = UDim2.new(0, 119, 0, 34)
  1134. stealOutfitFromTextButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1135. stealOutfitFromTextButton.Font = Enum.Font.Ubuntu
  1136. stealOutfitFromTextButton.Text = "Steal Outfit"
  1137. stealOutfitFromTextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1138. stealOutfitFromTextButton.TextSize = 14.000
  1139.  
  1140. friendEspButton.Name = "friendEspButton"
  1141. friendEspButton.Parent = miscScrollingFrame
  1142. friendEspButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1143. friendEspButton.Position = UDim2.new(0.217834979, 0, 0.273437113, 0)
  1144. friendEspButton.Size = UDim2.new(0, 119, 0, 34)
  1145. friendEspButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1146. friendEspButton.Font = Enum.Font.Ubuntu
  1147. friendEspButton.Text = "[OFF] FriendESP"
  1148. friendEspButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1149. friendEspButton.TextSize = 14.000
  1150.  
  1151. enemyEspButton.Name = "enemyEspButton"
  1152. enemyEspButton.Parent = miscScrollingFrame
  1153. enemyEspButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1154. enemyEspButton.Position = UDim2.new(0.217834979, 0, 0.297622949, 0)
  1155. enemyEspButton.Size = UDim2.new(0, 119, 0, 34)
  1156. enemyEspButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1157. enemyEspButton.Font = Enum.Font.Ubuntu
  1158. enemyEspButton.Text = "[OFF] EnemyESP"
  1159. enemyEspButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1160. enemyEspButton.TextSize = 14.000
  1161.  
  1162. tpToBaseplateButton.Name = "tpToBaseplateButton"
  1163. tpToBaseplateButton.Parent = miscScrollingFrame
  1164. tpToBaseplateButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1165. tpToBaseplateButton.Position = UDim2.new(0.217834979, 0, 0.321569324, 0)
  1166. tpToBaseplateButton.Size = UDim2.new(0, 119, 0, 34)
  1167. tpToBaseplateButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1168. tpToBaseplateButton.Font = Enum.Font.Ubuntu
  1169. tpToBaseplateButton.Text = "TP to Baseplate"
  1170. tpToBaseplateButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1171. tpToBaseplateButton.TextSize = 14.000
  1172.  
  1173. autoPrinterButton.Name = "autoPrinterButton"
  1174. autoPrinterButton.Parent = miscScrollingFrame
  1175. autoPrinterButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1176. autoPrinterButton.Position = UDim2.new(0.217834994, 0, 0.443695754, 0)
  1177. autoPrinterButton.Size = UDim2.new(0, 119, 0, 34)
  1178. autoPrinterButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1179. autoPrinterButton.Font = Enum.Font.Ubuntu
  1180. autoPrinterButton.Text = "[OFF] AutoPrinter"
  1181. autoPrinterButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1182. autoPrinterButton.TextSize = 13.000
  1183.  
  1184. antiAfkButton.Name = "antiAfkButton"
  1185. antiAfkButton.Parent = miscScrollingFrame
  1186. antiAfkButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1187. antiAfkButton.Position = UDim2.new(0.217834979, 0, 0.369940937, 0)
  1188. antiAfkButton.Size = UDim2.new(0, 119, 0, 34)
  1189. antiAfkButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1190. antiAfkButton.Font = Enum.Font.Ubuntu
  1191. antiAfkButton.Text = "[OFF] AntiAFK"
  1192. antiAfkButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1193. antiAfkButton.TextSize = 14.000
  1194.  
  1195. autoCornFarmButton.Name = "autoCornFarmButton"
  1196. autoCornFarmButton.Parent = miscScrollingFrame
  1197. autoCornFarmButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1198. autoCornFarmButton.Position = UDim2.new(0.217834979, 0, 0.393887311, 0)
  1199. autoCornFarmButton.Size = UDim2.new(0, 119, 0, 34)
  1200. autoCornFarmButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1201. autoCornFarmButton.Font = Enum.Font.Ubuntu
  1202. autoCornFarmButton.Text = "[OFF] AutoCornFarm"
  1203. autoCornFarmButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1204. autoCornFarmButton.TextSize = 13.000
  1205.  
  1206. autoScavButton.Name = "autoScavButton"
  1207. autoScavButton.Parent = miscScrollingFrame
  1208. autoScavButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1209. autoScavButton.Position = UDim2.new(0.217834994, 0, 0.417833686, 0)
  1210. autoScavButton.Size = UDim2.new(0, 119, 0, 34)
  1211. autoScavButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1212. autoScavButton.Font = Enum.Font.Ubuntu
  1213. autoScavButton.Text = "[OFF] AutoScav"
  1214. autoScavButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1215. autoScavButton.TextSize = 13.000
  1216.  
  1217. earRapePlayersButton.Name = "earRapePlayersButton"
  1218. earRapePlayersButton.Parent = miscScrollingFrame
  1219. earRapePlayersButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1220. earRapePlayersButton.Position = UDim2.new(0.222529814, 0, 0.516492724, 0)
  1221. earRapePlayersButton.Size = UDim2.new(0, 119, 0, 34)
  1222. earRapePlayersButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1223. earRapePlayersButton.Font = Enum.Font.Ubuntu
  1224. earRapePlayersButton.Text = "EarRape all players"
  1225. earRapePlayersButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1226. earRapePlayersButton.TextSize = 13.000
  1227.  
  1228. wishBotButton.Name = "wishBotButton"
  1229. wishBotButton.Parent = miscScrollingFrame
  1230. wishBotButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1231. wishBotButton.Position = UDim2.new(0.222529814, 0, 0.540439129, 0)
  1232. wishBotButton.Size = UDim2.new(0, 119, 0, 34)
  1233. wishBotButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1234. wishBotButton.Font = Enum.Font.Ubuntu
  1235. wishBotButton.Text = "[OFF] WishBot"
  1236. wishBotButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1237. wishBotButton.TextSize = 16.000
  1238.  
  1239. autoAureusButton.Name = "autoAureusButton"
  1240. autoAureusButton.Parent = miscScrollingFrame
  1241. autoAureusButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1242. autoAureusButton.Position = UDim2.new(0.222529814, 0, 0.491348952, 0)
  1243. autoAureusButton.Size = UDim2.new(0, 119, 0, 34)
  1244. autoAureusButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1245. autoAureusButton.Font = Enum.Font.Ubuntu
  1246. autoAureusButton.Text = "[OFF] AutoAureus"
  1247. autoAureusButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1248. autoAureusButton.TextSize = 13.000
  1249.  
  1250. makeInvisibleButton.Name = "makeInvisibleButton"
  1251. makeInvisibleButton.Parent = miscScrollingFrame
  1252. makeInvisibleButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1253. makeInvisibleButton.Position = UDim2.new(0.222529814, 0, 0.564624965, 0)
  1254. makeInvisibleButton.Size = UDim2.new(0, 119, 0, 34)
  1255. makeInvisibleButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1256. makeInvisibleButton.Font = Enum.Font.Ubuntu
  1257. makeInvisibleButton.Text = "Make Invisible"
  1258. makeInvisibleButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1259. makeInvisibleButton.TextSize = 15.000
  1260.  
  1261. assignHotkeyButton.Name = "assignHotkeyButton"
  1262. assignHotkeyButton.Parent = miscScrollingFrame
  1263. assignHotkeyButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1264. assignHotkeyButton.Position = UDim2.new(0.217834979, 0, 0.589050233, 0)
  1265. assignHotkeyButton.Size = UDim2.new(0, 119, 0, 34)
  1266. assignHotkeyButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1267. assignHotkeyButton.Font = Enum.Font.Ubuntu
  1268. assignHotkeyButton.Text = "Assign Hotkey"
  1269. assignHotkeyButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1270. assignHotkeyButton.TextSize = 15.000
  1271.  
  1272. infiniteHungerButton.Name = "infiniteHungerButton"
  1273. infiniteHungerButton.Parent = miscScrollingFrame
  1274. infiniteHungerButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1275. infiniteHungerButton.Position = UDim2.new(0.217834979, 0, 0.345994622, 0)
  1276. infiniteHungerButton.Size = UDim2.new(0, 119, 0, 34)
  1277. infiniteHungerButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1278. infiniteHungerButton.Font = Enum.Font.Ubuntu
  1279. infiniteHungerButton.Text = "[OFF] InfiniteHunger"
  1280. infiniteHungerButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1281. infiniteHungerButton.TextSize = 13.000
  1282.  
  1283. scrollingNameButton.Name = "scrollingNameButton"
  1284. scrollingNameButton.Parent = miscScrollingFrame
  1285. scrollingNameButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1286. scrollingNameButton.Position = UDim2.new(0.217834979, 0, 0.613475502, 0)
  1287. scrollingNameButton.Size = UDim2.new(0, 80, 0, 34)
  1288. scrollingNameButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1289. scrollingNameButton.Font = Enum.Font.Ubuntu
  1290. scrollingNameButton.Text = "[OFF] ScrName"
  1291. scrollingNameButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1292. scrollingNameButton.TextSize = 10.000
  1293.  
  1294. textSpeedTextBox.Name = "textSpeedTextBox"
  1295. textSpeedTextBox.Parent = miscScrollingFrame
  1296. textSpeedTextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1297. textSpeedTextBox.BackgroundTransparency = 1.000
  1298. textSpeedTextBox.Position = UDim2.new(0.591549218, 0, 0.615936339, 0)
  1299. textSpeedTextBox.Size = UDim2.new(0, 34, 0, 26)
  1300. textSpeedTextBox.Font = Enum.Font.SourceSans
  1301. textSpeedTextBox.Text = "0.5"
  1302. textSpeedTextBox.TextColor3 = Color3.fromRGB(0, 0, 0)
  1303. textSpeedTextBox.TextSize = 14.000
  1304.  
  1305. kickOnModJoinButton.Name = "kickOnModJoinButton"
  1306. kickOnModJoinButton.Parent = miscScrollingFrame
  1307. kickOnModJoinButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1308. kickOnModJoinButton.Position = UDim2.new(0.222529814, 0, 0.638619244, 0)
  1309. kickOnModJoinButton.Size = UDim2.new(0, 119, 0, 34)
  1310. kickOnModJoinButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1311. kickOnModJoinButton.Font = Enum.Font.Ubuntu
  1312. kickOnModJoinButton.Text = "[OFF]Kick on Mod Join"
  1313. kickOnModJoinButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1314. kickOnModJoinButton.TextSize = 11.000
  1315.  
  1316. autoScrapFarmButton.Name = "autoScrapFarmButton"
  1317. autoScrapFarmButton.Parent = miscScrollingFrame
  1318. autoScrapFarmButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1319. autoScrapFarmButton.Position = UDim2.new(0.217834994, 0, 0.468121052, 0)
  1320. autoScrapFarmButton.Size = UDim2.new(0, 119, 0, 34)
  1321. autoScrapFarmButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1322. autoScrapFarmButton.Font = Enum.Font.Ubuntu
  1323. autoScrapFarmButton.Text = "[OFF] AutoScrapFarm"
  1324. autoScrapFarmButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1325. autoScrapFarmButton.TextSize = 13.000
  1326.  
  1327. weatherFrame.Name = "weatherFrame"
  1328. weatherFrame.Parent = mainMenuFrame
  1329. weatherFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1330. weatherFrame.Position = UDim2.new(1.09699988, 0, -1.1686132, 0)
  1331. weatherFrame.Size = UDim2.new(0, 223, 0, 348)
  1332. weatherFrame.Style = Enum.FrameStyle.ChatBlue
  1333.  
  1334. weatherCloseButton.Name = "weatherCloseButton"
  1335. weatherCloseButton.Parent = weatherFrame
  1336. weatherCloseButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1337. weatherCloseButton.BackgroundTransparency = 1.000
  1338. weatherCloseButton.Position = UDim2.new(0.968191862, 0, -0.0657471269, 0)
  1339. weatherCloseButton.Size = UDim2.new(0, 29, 0, 30)
  1340. weatherCloseButton.Font = Enum.Font.SourceSans
  1341. weatherCloseButton.Text = "X"
  1342. weatherCloseButton.TextColor3 = Color3.fromRGB(255, 0, 4)
  1343. weatherCloseButton.TextSize = 21.000
  1344.  
  1345. weatherHeaderText.Name = "weatherHeaderText"
  1346. weatherHeaderText.Parent = weatherFrame
  1347. weatherHeaderText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1348. weatherHeaderText.BackgroundTransparency = 1.000
  1349. weatherHeaderText.BorderColor3 = Color3.fromRGB(27, 42, 53)
  1350. weatherHeaderText.Position = UDim2.new(-0.0312298182, 0, -0.0580608957, 0)
  1351. weatherHeaderText.Selectable = true
  1352. weatherHeaderText.Size = UDim2.new(0, 200, 0, 50)
  1353. weatherHeaderText.Font = Enum.Font.SourceSans
  1354. weatherHeaderText.Text = "weather"
  1355. weatherHeaderText.TextColor3 = Color3.fromRGB(255, 0, 255)
  1356. weatherHeaderText.TextSize = 50.000
  1357.  
  1358. weatherDividerText.Name = "weatherDividerText"
  1359. weatherDividerText.Parent = weatherFrame
  1360. weatherDividerText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1361. weatherDividerText.BorderColor3 = Color3.fromRGB(170, 170, 255)
  1362. weatherDividerText.Position = UDim2.new(-0.00477668084, 0, 0.10007377, 0)
  1363. weatherDividerText.Size = UDim2.new(0, 189, 0, 0)
  1364. weatherDividerText.Font = Enum.Font.SourceSans
  1365. weatherDividerText.Text = ""
  1366. weatherDividerText.TextColor3 = Color3.fromRGB(0, 0, 0)
  1367. weatherDividerText.TextSize = 14.000
  1368.  
  1369. dayButton.Name = "dayButton"
  1370. dayButton.Parent = weatherFrame
  1371. dayButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1372. dayButton.Position = UDim2.new(0.195211366, 0, 0.131246909, 0)
  1373. dayButton.Size = UDim2.new(0, 119, 0, 34)
  1374. dayButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1375. dayButton.Font = Enum.Font.Ubuntu
  1376. dayButton.Text = "Day"
  1377. dayButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1378. dayButton.TextSize = 20.000
  1379.  
  1380. nightButton.Name = "nightButton"
  1381. nightButton.Parent = weatherFrame
  1382. nightButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1383. nightButton.Position = UDim2.new(0.195211366, 0, 0.237568751, 0)
  1384. nightButton.Size = UDim2.new(0, 119, 0, 34)
  1385. nightButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1386. nightButton.Font = Enum.Font.Ubuntu
  1387. nightButton.Text = "Night"
  1388. nightButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1389. nightButton.TextSize = 20.000
  1390.  
  1391. sandstormButton.Name = "sandstormButton"
  1392. sandstormButton.Parent = weatherFrame
  1393. sandstormButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1394. sandstormButton.Position = UDim2.new(0.190727055, 0, 0.450212449, 0)
  1395. sandstormButton.Size = UDim2.new(0, 119, 0, 34)
  1396. sandstormButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1397. sandstormButton.Font = Enum.Font.Ubuntu
  1398. sandstormButton.Text = "Sandstorm"
  1399. sandstormButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1400. sandstormButton.TextSize = 20.000
  1401.  
  1402. rainButton.Name = "rainButton"
  1403. rainButton.Parent = weatherFrame
  1404. rainButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1405. rainButton.Position = UDim2.new(0.19072707, 0, 0.343890607, 0)
  1406. rainButton.Size = UDim2.new(0, 119, 0, 34)
  1407. rainButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1408. rainButton.Font = Enum.Font.Ubuntu
  1409. rainButton.Text = "Rain"
  1410. rainButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1411. rainButton.TextSize = 20.000
  1412.  
  1413. morningButton.Name = "morningButton"
  1414. morningButton.Parent = weatherFrame
  1415. morningButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1416. morningButton.Position = UDim2.new(0.19072707, 0, 0.55653429, 0)
  1417. morningButton.Size = UDim2.new(0, 119, 0, 34)
  1418. morningButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1419. morningButton.Font = Enum.Font.Ubuntu
  1420. morningButton.Text = "Morning"
  1421. morningButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1422. morningButton.TextSize = 20.000
  1423.  
  1424. nuclearWinterButton.Name = "nuclearWinterButton"
  1425. nuclearWinterButton.Parent = weatherFrame
  1426. nuclearWinterButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1427. nuclearWinterButton.Position = UDim2.new(0.19072707, 0, 0.659982562, 0)
  1428. nuclearWinterButton.Size = UDim2.new(0, 119, 0, 34)
  1429. nuclearWinterButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1430. nuclearWinterButton.Font = Enum.Font.Ubuntu
  1431. nuclearWinterButton.Text = "Nuclear Winter"
  1432. nuclearWinterButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1433. nuclearWinterButton.TextSize = 16.000
  1434.  
  1435. warButton.Name = "warButton"
  1436. warButton.Parent = weatherFrame
  1437. warButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1438. warButton.Position = UDim2.new(0.19072707, 0, 0.766304374, 0)
  1439. warButton.Size = UDim2.new(0, 119, 0, 34)
  1440. warButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1441. warButton.Font = Enum.Font.Ubuntu
  1442. warButton.Text = "War"
  1443. warButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1444. warButton.TextSize = 20.000
  1445.  
  1446. eveningButton.Name = "eveningButton"
  1447. eveningButton.Parent = weatherFrame
  1448. eveningButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1449. eveningButton.Position = UDim2.new(0.19072707, 0, 0.872626185, 0)
  1450. eveningButton.Size = UDim2.new(0, 119, 0, 34)
  1451. eveningButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1452. eveningButton.Font = Enum.Font.Ubuntu
  1453. eveningButton.Text = "Evening"
  1454. eveningButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1455. eveningButton.TextSize = 21.000
  1456.  
  1457. weatherButton.Name = "weatherButton"
  1458. weatherButton.Parent = mainMenuFrame
  1459. weatherButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1460. weatherButton.Position = UDim2.new(-0.0080645103, 0, 0.914040267, 0)
  1461. weatherButton.Size = UDim2.new(0, 119, 0, 34)
  1462. weatherButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1463. weatherButton.Font = Enum.Font.Ubuntu
  1464. weatherButton.Text = "Weather Options"
  1465. weatherButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1466. weatherButton.TextSize = 14.000
  1467.  
  1468. noclipButton.Name = "noclipButton"
  1469. noclipButton.Parent = mainMenuFrame
  1470. noclipButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1471. noclipButton.Position = UDim2.new(0.501528084, 0, 0.340034366, 0)
  1472. noclipButton.Size = UDim2.new(0, 119, 0, 34)
  1473. noclipButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1474. noclipButton.Font = Enum.Font.Ubuntu
  1475. noclipButton.Text = "[OFF] Noclip"
  1476. noclipButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1477. noclipButton.TextSize = 14.000
  1478.  
  1479. crateEspButton.Name = "crateEspButton"
  1480. crateEspButton.Parent = mainMenuFrame
  1481. crateEspButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1482. crateEspButton.Position = UDim2.new(-0.00783521123, 0, 0.234017208, 0)
  1483. crateEspButton.Size = UDim2.new(0, 119, 0, 34)
  1484. crateEspButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1485. crateEspButton.Font = Enum.Font.Ubuntu
  1486. crateEspButton.Text = "[OFF] Crate ESP"
  1487. crateEspButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1488. crateEspButton.TextSize = 14.000
  1489.  
  1490. entityEspButton.Name = "entityEspButton"
  1491. entityEspButton.Parent = mainMenuFrame
  1492. entityEspButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1493. entityEspButton.Position = UDim2.new(0.501528084, 0, 0.234017208, 0)
  1494. entityEspButton.Size = UDim2.new(0, 119, 0, 34)
  1495. entityEspButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1496. entityEspButton.Font = Enum.Font.Ubuntu
  1497. entityEspButton.Text = "[OFF] Entity ESP"
  1498. entityEspButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1499. entityEspButton.TextSize = 14.000
  1500.  
  1501. clickTpButton.Name = "clickTpButton"
  1502. clickTpButton.Parent = mainMenuFrame
  1503. clickTpButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1504. clickTpButton.Position = UDim2.new(-0.00783521123, 0, 0.451782227, 0)
  1505. clickTpButton.Size = UDim2.new(0, 119, 0, 34)
  1506. clickTpButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1507. clickTpButton.Font = Enum.Font.Ubuntu
  1508. clickTpButton.Text = "[OFF] (x) MouseTP"
  1509. clickTpButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1510. clickTpButton.TextSize = 14.000
  1511.  
  1512. storeAllItemsButton.Name = "storeAllItemsButton"
  1513. storeAllItemsButton.Parent = mainMenuFrame
  1514. storeAllItemsButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1515. storeAllItemsButton.Position = UDim2.new(0.497553468, 0, 0.558739245, 0)
  1516. storeAllItemsButton.Size = UDim2.new(0, 119, 0, 34)
  1517. storeAllItemsButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1518. storeAllItemsButton.Font = Enum.Font.Ubuntu
  1519. storeAllItemsButton.Text = "Store All Items"
  1520. storeAllItemsButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1521. storeAllItemsButton.TextSize = 14.000
  1522.  
  1523. dispenserButton.Name = "dispenserButton"
  1524. dispenserButton.Parent = mainMenuFrame
  1525. dispenserButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1526. dispenserButton.Position = UDim2.new(-0.00800000038, 0, 0.698000014, 0)
  1527. dispenserButton.Size = UDim2.new(0, 119, 0, 34)
  1528. dispenserButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1529. dispenserButton.Font = Enum.Font.Ubuntu
  1530. dispenserButton.Text = "Dispenser List"
  1531. dispenserButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1532. dispenserButton.TextSize = 14.000
  1533.  
  1534. dispenserFrame.Name = "dispenserFrame"
  1535. dispenserFrame.Parent = mainMenuFrame
  1536. dispenserFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1537. dispenserFrame.Position = UDim2.new(4.03332949, 0, -1.17147851, 0)
  1538. dispenserFrame.Size = UDim2.new(0, 223, 0, 348)
  1539. dispenserFrame.Style = Enum.FrameStyle.ChatBlue
  1540.  
  1541. dispenserCloseButton.Name = "dispenserCloseButton"
  1542. dispenserCloseButton.Parent = dispenserFrame
  1543. dispenserCloseButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1544. dispenserCloseButton.BackgroundTransparency = 1.000
  1545. dispenserCloseButton.Position = UDim2.new(0.968191862, 0, -0.0657471269, 0)
  1546. dispenserCloseButton.Size = UDim2.new(0, 29, 0, 30)
  1547. dispenserCloseButton.Font = Enum.Font.SourceSans
  1548. dispenserCloseButton.Text = "X"
  1549. dispenserCloseButton.TextColor3 = Color3.fromRGB(255, 0, 4)
  1550. dispenserCloseButton.TextSize = 21.000
  1551.  
  1552. dispenserHeaderText.Name = "dispenserHeaderText"
  1553. dispenserHeaderText.Parent = dispenserFrame
  1554. dispenserHeaderText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1555. dispenserHeaderText.BackgroundTransparency = 1.000
  1556. dispenserHeaderText.BorderColor3 = Color3.fromRGB(27, 42, 53)
  1557. dispenserHeaderText.Position = UDim2.new(-0.0312298182, 0, -0.0580608957, 0)
  1558. dispenserHeaderText.Selectable = true
  1559. dispenserHeaderText.Size = UDim2.new(0, 200, 0, 50)
  1560. dispenserHeaderText.Font = Enum.Font.SourceSans
  1561. dispenserHeaderText.Text = "dispensers"
  1562. dispenserHeaderText.TextColor3 = Color3.fromRGB(255, 0, 255)
  1563. dispenserHeaderText.TextSize = 50.000
  1564.  
  1565. dispenserDividerText.Name = "dispenserDividerText"
  1566. dispenserDividerText.Parent = dispenserFrame
  1567. dispenserDividerText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1568. dispenserDividerText.BorderColor3 = Color3.fromRGB(170, 170, 255)
  1569. dispenserDividerText.Position = UDim2.new(-0.00477668084, 0, 0.10007377, 0)
  1570. dispenserDividerText.Size = UDim2.new(0, 189, 0, 0)
  1571. dispenserDividerText.Font = Enum.Font.SourceSans
  1572. dispenserDividerText.Text = ""
  1573. dispenserDividerText.TextColor3 = Color3.fromRGB(0, 0, 0)
  1574. dispenserDividerText.TextSize = 14.000
  1575.  
  1576. dispenserListScrollingFrame.Name = "dispenserListScrollingFrame"
  1577. dispenserListScrollingFrame.Parent = dispenserFrame
  1578. dispenserListScrollingFrame.Active = true
  1579. dispenserListScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1580. dispenserListScrollingFrame.BorderSizePixel = 0
  1581. dispenserListScrollingFrame.Position = UDim2.new(-0.0415362045, 0, 0.118475907, 0)
  1582. dispenserListScrollingFrame.Size = UDim2.new(0, 210, 0, 179)
  1583. dispenserListScrollingFrame.SizeConstraint = Enum.SizeConstraint.RelativeYY
  1584. dispenserListScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 10000)
  1585.  
  1586. dTextButtonPlaceholder.Name = "dTextButtonPlaceholder"
  1587. dTextButtonPlaceholder.Parent = dispenserListScrollingFrame
  1588. dTextButtonPlaceholder.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1589. dTextButtonPlaceholder.Size = UDim2.new(0, 200, 0, 50)
  1590. dTextButtonPlaceholder.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  1591. dTextButtonPlaceholder.Font = Enum.Font.SourceSans
  1592. dTextButtonPlaceholder.Text = "placeholder for name"
  1593. dTextButtonPlaceholder.TextColor3 = Color3.fromRGB(0, 0, 0)
  1594. dTextButtonPlaceholder.TextSize = 25.000
  1595.  
  1596. dTextButtonPlaceholder_2.Name = "dTextButtonPlaceholder"
  1597. dTextButtonPlaceholder_2.Parent = dispenserListScrollingFrame
  1598. dTextButtonPlaceholder_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1599. dTextButtonPlaceholder_2.Position = UDim2.new(0, 0, 0.0718390793, 0)
  1600. dTextButtonPlaceholder_2.Size = UDim2.new(0, 200, 0, 50)
  1601. dTextButtonPlaceholder_2.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  1602. dTextButtonPlaceholder_2.Font = Enum.Font.SourceSans
  1603. dTextButtonPlaceholder_2.Text = "placeholder for name"
  1604. dTextButtonPlaceholder_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  1605. dTextButtonPlaceholder_2.TextSize = 25.000
  1606.  
  1607. dTextButtonPlaceholder_3.Name = "dTextButtonPlaceholder"
  1608. dTextButtonPlaceholder_3.Parent = dispenserListScrollingFrame
  1609. dTextButtonPlaceholder_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1610. dTextButtonPlaceholder_3.Position = UDim2.new(0, 0, 0.143678159, 0)
  1611. dTextButtonPlaceholder_3.Size = UDim2.new(0, 200, 0, 50)
  1612. dTextButtonPlaceholder_3.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  1613. dTextButtonPlaceholder_3.Font = Enum.Font.SourceSans
  1614. dTextButtonPlaceholder_3.Text = "placeholder for name"
  1615. dTextButtonPlaceholder_3.TextColor3 = Color3.fromRGB(0, 0, 0)
  1616. dTextButtonPlaceholder_3.TextSize = 25.000
  1617.  
  1618. dispenserItemNameText.Name = "dispenserItemNameText"
  1619. dispenserItemNameText.Parent = dispenserFrame
  1620. dispenserItemNameText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1621. dispenserItemNameText.BackgroundTransparency = 1.000
  1622. dispenserItemNameText.Position = UDim2.new(-0.0303210653, 0, 0.685142159, 0)
  1623. dispenserItemNameText.Size = UDim2.new(0, 211, 0, 23)
  1624. dispenserItemNameText.Font = Enum.Font.SourceSans
  1625. dispenserItemNameText.LineHeight = 2.000
  1626. dispenserItemNameText.Text = "Item:"
  1627. dispenserItemNameText.TextColor3 = Color3.fromRGB(0, 0, 0)
  1628. dispenserItemNameText.TextSize = 19.000
  1629. dispenserItemNameText.TextWrapped = true
  1630. dispenserItemNameText.TextXAlignment = Enum.TextXAlignment.Left
  1631.  
  1632. dispenserItemPriceText.Name = "dispenserItemPriceText"
  1633. dispenserItemPriceText.Parent = dispenserFrame
  1634. dispenserItemPriceText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1635. dispenserItemPriceText.BackgroundTransparency = 1.000
  1636. dispenserItemPriceText.Position = UDim2.new(-0.0303210653, 0, 0.762728333, 0)
  1637. dispenserItemPriceText.Size = UDim2.new(0, 211, 0, 23)
  1638. dispenserItemPriceText.Font = Enum.Font.SourceSans
  1639. dispenserItemPriceText.LineHeight = 2.000
  1640. dispenserItemPriceText.Text = "Price: "
  1641. dispenserItemPriceText.TextColor3 = Color3.fromRGB(0, 0, 0)
  1642. dispenserItemPriceText.TextSize = 19.000
  1643. dispenserItemPriceText.TextWrapped = true
  1644. dispenserItemPriceText.TextXAlignment = Enum.TextXAlignment.Left
  1645.  
  1646. dispenserItemCountText.Name = "dispenserItemCountText"
  1647. dispenserItemCountText.Parent = dispenserFrame
  1648. dispenserItemCountText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1649. dispenserItemCountText.BackgroundTransparency = 1.000
  1650. dispenserItemCountText.Position = UDim2.new(-0.025836762, 0, 0.843188107, 0)
  1651. dispenserItemCountText.Size = UDim2.new(0, 211, 0, 23)
  1652. dispenserItemCountText.Font = Enum.Font.SourceSans
  1653. dispenserItemCountText.LineHeight = 2.000
  1654. dispenserItemCountText.Text = "Left: "
  1655. dispenserItemCountText.TextColor3 = Color3.fromRGB(0, 0, 0)
  1656. dispenserItemCountText.TextSize = 19.000
  1657. dispenserItemCountText.TextWrapped = true
  1658. dispenserItemCountText.TextXAlignment = Enum.TextXAlignment.Left
  1659.  
  1660. teleportToDispenserButton.Name = "teleportToDispenserButton"
  1661. teleportToDispenserButton.Parent = dispenserFrame
  1662. teleportToDispenserButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1663. teleportToDispenserButton.Position = UDim2.new(0.195370048, 0, 0.91630435, 0)
  1664. teleportToDispenserButton.Size = UDim2.new(0, 119, 0, 34)
  1665. teleportToDispenserButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1666. teleportToDispenserButton.Font = Enum.Font.Ubuntu
  1667. teleportToDispenserButton.Text = "Teleport"
  1668. teleportToDispenserButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1669. teleportToDispenserButton.TextSize = 14.000
  1670.  
  1671. notificationFrame.Name = "notificationFrame"
  1672. notificationFrame.Parent = ScreenGui
  1673. notificationFrame.BackgroundColor3 = Color3.fromRGB(175, 175, 175)
  1674. notificationFrame.Position = UDim2.new(0.35709089, 0, 0.378524482, 0)
  1675. notificationFrame.Size = UDim2.new(0, 393, 0, 180)
  1676. notificationFrame.Visible = false
  1677. notificationFrame.Style = Enum.FrameStyle.RobloxRound
  1678.  
  1679. okNotificationButton.Name = "okNotificationButton"
  1680. okNotificationButton.Parent = notificationFrame
  1681. okNotificationButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1682. okNotificationButton.Position = UDim2.new(0.339187264, 0, 0.803277612, 0)
  1683. okNotificationButton.Size = UDim2.new(0, 119, 0, 34)
  1684. okNotificationButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  1685. okNotificationButton.Font = Enum.Font.Ubuntu
  1686. okNotificationButton.Text = "OK"
  1687. okNotificationButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  1688. okNotificationButton.TextSize = 14.000
  1689.  
  1690. notificationText.Name = "notificationText"
  1691. notificationText.Parent = notificationFrame
  1692. notificationText.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1693. notificationText.BackgroundTransparency = 1.000
  1694. notificationText.Position = UDim2.new(0.0373392254, 0, 0.0460493304, 0)
  1695. notificationText.Size = UDim2.new(0, 347, 0, 105)
  1696. notificationText.Font = Enum.Font.SourceSans
  1697. notificationText.Text = "you shouldent see this, report this as a bug please."
  1698. notificationText.TextColor3 = Color3.fromRGB(255, 255, 255)
  1699. notificationText.TextSize = 17.000
  1700. notificationText.TextWrapped = true
  1701.  
  1702.  
  1703.  
  1704. -------------------------------- main gui stuff above
  1705.  
  1706.  
  1707.  
  1708. mainMenuFrame.Parent = nil
  1709. notificationFrame.Parent = nil
  1710. playerListFrame.Parent = nil
  1711. weatherFrame.Parent = nil
  1712. combatFrame.Parent = nil
  1713. miscFrame.Parent = nil
  1714. dispenserFrame.Parent = nil
  1715. notificationFrame.Visible = true;
  1716.  
  1717.  
  1718.  
  1719. ------------------------------ auth stuff
  1720. local variables = {}
  1721.  
  1722.  
  1723. variables.hasAuthed = true;
  1724.  
  1725. variables.version = "202123022243";
  1726. _G.lhversion = variables.version;
  1727.  
  1728.  
  1729. variables.hasDoneCheck1 = false;
  1730. variables.hasDoneCheck2 = false;
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736. pcall(function()
  1737.     if syn.request then
  1738.         function httprequesty(url)
  1739.             return syn.request({
  1740.                 Url = url,
  1741.                 Method = "GET" }).Body;
  1742.         end
  1743.     else
  1744.         function httprequesty(url)
  1745.             return game:HttpGet(url);
  1746.         end
  1747.     end
  1748.     variables.hasDoneCheck1 = true;
  1749. end)
  1750.  
  1751. if variables.hasDoneCheck1 == false then
  1752.     function httprequesty(url)
  1753.         return game:HttpGet(url);
  1754.     end
  1755. end
  1756.  
  1757.  
  1758.  
  1759. variables.lplayerauthname = game.Players.LocalPlayer.Name;
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767. ----------------------------------
  1768.  
  1769. if variables.hasAuthed then
  1770.  
  1771.     if _G.AlreadyLoaded then
  1772.         notice = Game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Note");
  1773.         notice:Fire("Lunahax", "Already loaded! Please re-start to reload!", 4);
  1774.     else
  1775.         mainMenuFrame.Parent = ScreenGui;
  1776.         mainMenuFrame.Visible = false;
  1777.         miscFrame.Parent = mainMenuFrame;
  1778.         combatFrame.Parent = mainMenuFrame;
  1779.         playerListFrame.Parent = mainMenuFrame;
  1780.         weatherFrame.Parent = mainMenuFrame;
  1781.         dispenserFrame.Parent = mainMenuFrame
  1782.        
  1783.         miscFrame.Visible = false;
  1784.         combatFrame.Visible = false;
  1785.         playerListFrame.Visible = false;
  1786.         weatherFrame.Visible = false;
  1787.         dispenserFrame.Visible = false
  1788.        
  1789.         _G.AlreadyLoaded = true;
  1790.  
  1791.         mainMenuFrame.Draggable = true;
  1792.         mainMenuFrame.Active = true;
  1793.         mainMenuFrame.Selectable = true;
  1794.        
  1795.         playerListFrame.Draggable = true;
  1796.         playerListFrame.Active = true;
  1797.         playerListFrame.Selectable = true;
  1798.        
  1799.         playerInfoFrame.Draggable = true;
  1800.         playerInfoFrame.Active = true;
  1801.         playerInfoFrame.Selectable = true;
  1802.        
  1803.         combatFrame.Draggable = true;
  1804.         combatFrame.Active = true;
  1805.         combatFrame.Selectable = true;
  1806.        
  1807.         miscFrame.Draggable = true;
  1808.         miscFrame.Active = true;
  1809.         miscFrame.Selectable = true;
  1810.        
  1811.         weatherFrame.Draggable = true;
  1812.         weatherFrame.Active = true;
  1813.         weatherFrame.Selectable = true;
  1814.        
  1815.         dispenserFrame.Draggable = true;
  1816.         dispenserFrame.Active = true;
  1817.         dispenserFrame.Selectable = true;
  1818.        
  1819.  
  1820.         variables.menuOpen = false;
  1821.         variables.dispenserListOpen = false;
  1822.         variables.playerListOpen = false;
  1823.         variables.weatherOptionsOpen = false;
  1824.         variables.combatOptionsOpen = false;
  1825.         variables.miscOptionsOpen = false;
  1826.         variables.espEnabled = false;
  1827.         variables.printerEspEnabled = false;
  1828.         _G.nlrLoop = false;
  1829.         variables.globRainbowColor3 = nil;
  1830.         variables.playerNameClicked = "";
  1831.         variables.dispClicked = nil;
  1832.         variables.espIgnored = { "" };
  1833.         local Holder = nil;
  1834.         variables.isNodeKillEnabled = false;
  1835.         variables.aimbotEnabled = false;
  1836.         local PHolder = nil;
  1837.         CHolder = nil;
  1838.         EHolder = nil;
  1839.         variables.clickTpEnabled = false;
  1840.         variables.flyJump = false;
  1841.         variables.noclipBool = false;
  1842.         variables.autoColaDrink = false;
  1843.         variables.itemSniperEnabled = false;
  1844.         variables.onlyFlagged = false;
  1845.         _G.redRageAuraEnabled = false;
  1846.         _G.yellowRageAuraEnabled = false;
  1847.         variables.globalChat = false;
  1848.         variables.deathReturnEnabled = false;
  1849.         variables.weaponMultiplierEnabled = false;
  1850.         variables.deathBarrierBypassEnabled = false;
  1851.         variables.hitboxExpandEnabled = false;
  1852.         variables.speedHackEnabled = false;
  1853.         variables.infiniteClipEnabled = false;
  1854.         variables.autoReloadEnabled = false;
  1855.         _G.weaponMultiplierEnabled = false;
  1856.         _G.deathBarrierBypassEnabled = false
  1857.         variables.antiAfkEnabled = false;
  1858.         variables.autoCornFarm = false;
  1859.         variables.autoScavEnabled = false;
  1860.         _G.wishBotEnabled = false;
  1861.         variables.infHunger = false;
  1862.         variables.scrollingNameEnabled = false;
  1863.         variables.scrollingName = "";
  1864.         variables.autoAureus = false;
  1865.         variables.kickOnModJoin = false;
  1866.         variables.autoScrapFarm = false;
  1867.         variables.autoPrinterFarm = false;
  1868.        
  1869.         variables.infSmgAmmo = false;
  1870.         variables.infRifAmmo = false;
  1871.         variables.infPisAmmo = false;
  1872.  
  1873.         notice = Game:GetService("ReplicatedStorage"):WaitForChild("Events"):WaitForChild("Note");
  1874.  
  1875.  
  1876.         notice:Fire("Lunahax", "Welcome to Lunahax, Press C to open.");
  1877.  
  1878.        
  1879.         function makeBuffer(lenght)
  1880.             buffstr = "";
  1881.             for i=1,lenght do
  1882.                 buffstr = buffstr .. " ";
  1883.             end
  1884.             return buffstr;
  1885.         end
  1886.  
  1887.         variables.scrollingName = game.Players.LocalPlayer.PlayerData.RoleplayName.Value;
  1888.  
  1889.         if string.len(variables.scrollingName) < 26 then
  1890.             bufferToApply = makeBuffer((25 - string.len(variables.scrollingName)))
  1891.             variables.scrollingName = variables.scrollingName .. bufferToApply;
  1892.         else
  1893.             variables.scrollingName = variables.scrollingName .. " ";
  1894.         end
  1895.  
  1896.  
  1897.         newName = "";
  1898.        
  1899.         spawn(function()
  1900.             while true do
  1901.                 if variables.scrollingNameEnabled and game.Players.LocalPlayer.Flagged.Value == false then
  1902.                     pcall(function()
  1903.                         newName = variables.scrollingName;
  1904.                        
  1905.                         lastChar = string.sub(newName, -1);
  1906.  
  1907.                         substring = newName:sub(1, #newName - 1)
  1908.                         newName = lastChar .. substring;
  1909.                        
  1910.                         Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(8, { newName, "", false });
  1911.                         variables.scrollingName = newName;
  1912.                     end)
  1913.                     wait(tonumber(textSpeedTextBox.Text));
  1914.                 end
  1915.                 wait();
  1916.             end
  1917.         end)
  1918.        
  1919.        
  1920.         if isfile == nil then
  1921.             function isfile(file)
  1922.                 local fexistt = false;
  1923.                 pcall(function()
  1924.                     readfile(file);
  1925.                     fexistt = true;
  1926.                 end)
  1927.                 return fexistt;
  1928.             end
  1929.         end
  1930.  
  1931.         if appendfile == nil then
  1932.             function appendfile(file, text)
  1933.                 if isfile(file) then
  1934.                     local filecontents = readfile(file);
  1935.                     filecontents = filecontents .. text;
  1936.                     writefile(file, filecontents)
  1937.                 end
  1938.             end
  1939.         end
  1940.        
  1941.         modList = {
  1942.             "2J0Y",
  1943.             "PsychoBuckett",
  1944.             "J_mey",
  1945.             "RayRacoon",
  1946.             "JumpyBageI",
  1947.             "Voyagr",
  1948.             "Artaniss",
  1949.             "RyIock",
  1950.             "Dj5826",
  1951.             "Edd_E"
  1952.         }
  1953.         function isUserEsMod(username)
  1954.             for i,v in pairs(modList) do
  1955.                 if string.lower(username) == string.lower(v) then
  1956.                     if variables.kickOnModJoin then
  1957.                         game.Players.LocalPlayer:Kick("Moderator " .. username .. " joined your game, kicking you for safety!");
  1958.                     end
  1959.                     return true
  1960.                 end
  1961.             end
  1962.             return false
  1963.         end
  1964.  
  1965.  
  1966.         function isUserFriend(username)
  1967.             validF = isfile("lunahaxFriends.txt")
  1968.             areTheyFriend = false;
  1969.             if validF then
  1970.                 validF = isfile("lunahaxFriends.txt")
  1971.                 if validF then
  1972.                     contents = readfile("lunahaxFriends.txt");
  1973.                     for line in contents:gmatch("[^\r\n]+") do
  1974.                         if line == username then
  1975.                             areTheyFriend = true;
  1976.                             break;
  1977.                         end
  1978.                     end
  1979.                 end
  1980.             end
  1981.             return areTheyFriend;
  1982.         end
  1983.        
  1984.         function isUserEnemy(username)
  1985.             validF = isfile("lunahaxEnemies.txt")
  1986.             areTheyFriend = false;
  1987.             if validF then         
  1988.                 validF = isfile("lunahaxEnemies.txt")
  1989.                 if validF then
  1990.                     contents = readfile("lunahaxEnemies.txt");
  1991.                     for line in contents:gmatch("[^\r\n]+") do
  1992.                         if line == username then
  1993.                             areTheyFriend = true;
  1994.                             break;
  1995.                         end
  1996.                     end
  1997.                 end
  1998.             end
  1999.             return areTheyFriend;
  2000.         end
  2001.  
  2002.  
  2003.         okNotificationButton.Activated:Connect(function()
  2004.             notificationFrame.Parent = nil;
  2005.         end)
  2006.        
  2007.         function showPopUpBox(text)
  2008.             notificationText.Text = text;
  2009.             notificationFrame.Parent = ScreenGui;          
  2010.         end
  2011.        
  2012.        
  2013.        
  2014.         -- menu open/close logic
  2015.         --main menu
  2016.         spawn(function()
  2017.             player = game.Players.LocalPlayer
  2018.             mouse = player:GetMouse()
  2019.  
  2020.             mouse.KeyDown:connect(function(key)
  2021.                 if key == "x" then
  2022.                     offsetzzz = CFrame.new(0, 3, 0)
  2023.                     clientzzz = game:GetService("Players").LocalPlayer
  2024.                     mousezzz = clientzzz:GetMouse()
  2025.  
  2026.                     if variables.clickTpEnabled then
  2027.                         tpDest = CFrame.new(mousezzz.Hit.Position) * offsetzzz;
  2028.                        
  2029.                         tpDestVect = Vector3.new(tpDest.X, tpDest.Y, tpDest.Z)
  2030.                        
  2031.                         characterzzz = clientzzz.Character or clientzzz.CharacterAdded:Wait()
  2032.                         HumanoidRootPartzzz = characterzzz:WaitForChild("HumanoidRootPart")
  2033.                        
  2034.                         if (HumanoidRootPartzzz.Position - tpDestVect).magnitude > 500 then
  2035.                        
  2036.                         else
  2037.                             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = (CFrame.new(mousezzz.Hit.Position) * offsetzzz)
  2038.                         end
  2039.                     end
  2040.                 end
  2041.                
  2042.                 if key == "c" then
  2043.                     if variables.menuOpen then
  2044.                         mainMenuFrame.Visible = false;
  2045.                         variables.menuOpen = false;
  2046.                     else
  2047.                         mainMenuFrame.Visible = true;
  2048.                         variables.menuOpen = true;
  2049.                     end
  2050.                 end
  2051.             end)
  2052.         end);
  2053.  
  2054.         --x button on main menu
  2055.         mainMenuCloseButton.Activated:Connect(function()
  2056.             mainMenuFrame.Visible = false;
  2057.             variables.menuOpen = false;
  2058.         end)
  2059.  
  2060.         --x button on dispenser menu
  2061.         dispenserCloseButton.Activated:Connect(function()
  2062.             dispenserFrame.Visible = false;
  2063.             variables.dispenserListOpen = false;
  2064.         end)
  2065.  
  2066.         --x button on weather menu
  2067.         weatherCloseButton.Activated:Connect(function()
  2068.             weatherFrame.Visible = false;
  2069.             variables.weatherOptionsOpen = false;
  2070.         end)
  2071.        
  2072.         --x button on combat menu
  2073.         combatCloseButton.Activated:Connect(function()
  2074.             combatFrame.Visible = false;
  2075.             variables.combatOptionsOpen = false;
  2076.         end)
  2077.        
  2078.         --x button on misc menu
  2079.         miscCloseButton.Activated:Connect(function()
  2080.             miscFrame.Visible = false;
  2081.             variables.miscOptionsOpen = false;
  2082.         end)
  2083.        
  2084.  
  2085.         --x button on player list
  2086.         playerListCloseButton.Activated:Connect(function()
  2087.             playerListFrame.Visible = false;
  2088.             variables.playerListOpen = false;
  2089.         end)
  2090.  
  2091.         --player list button click
  2092.         playerListButton.Activated:Connect(function()
  2093.             if variables.playerListOpen then
  2094.                 playerListFrame.Visible = false;
  2095.                 variables.playerListOpen = false;
  2096.             else
  2097.                 playerListFrame.Visible = true;
  2098.                 variables.playerListOpen = true;
  2099.             end
  2100.         end)
  2101.  
  2102.         --weather button click
  2103.         weatherButton.Activated:Connect(function()
  2104.             if variables.weatherOptionsOpen then
  2105.                 weatherFrame.Visible = false;
  2106.                 variables.weatherOptionsOpen = false;
  2107.             else
  2108.                 weatherFrame.Visible = true;
  2109.                 variables.weatherOptionsOpen = true;
  2110.             end
  2111.         end)
  2112.        
  2113.         teleportVehicleTextButton.Activated:Connect(function()
  2114.             pcall(function()
  2115.                 for i,v in pairs(game:GetService("Workspace").Vehicles:GetChildren()) do
  2116.                     pcall(function()
  2117.                         cFrameRn = CFrame.new(Vector3.new(game.Players[variables.playerNameClicked].Character.HumanoidRootPart.CFrame.X, game.Players[variables.playerNameClicked].Character.HumanoidRootPart.CFrame.Y, game.Players[variables.playerNameClicked].Character.HumanoidRootPart.CFrame.Z))
  2118.                         Game:GetService("ReplicatedStorage").Events.InteractEvent:FireServer(v.VehicleSeat);
  2119.                         for i, part in pairs(v:GetDescendants()) do
  2120.                             pcall(function()
  2121.                                 pcall(function()
  2122.                                     part.CFrame = cFrameRn;
  2123.                                 end)
  2124.                             end)
  2125.                         end
  2126.                     end)
  2127.                 end
  2128.                 notice:Fire("Lunahax", "Teleported all vehicles to player!");
  2129.             end)
  2130.         end)
  2131.        
  2132.        
  2133.         makeInvisibleButton.Activated:Connect(function()
  2134.             isdoneee = false;
  2135.            
  2136.             pcall(function()
  2137.                 game.Players.LocalPlayer.Character.LowerTorso.Root:Destroy();
  2138.                 game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false;
  2139.                 game.Players.LocalPlayer.Character.UpperTorso.Anchored = true;
  2140.                 game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false;
  2141.                 game.Players.LocalPlayer.Character.HumanoidRootPart.Transparency = 0;
  2142.                 isdoneee = true;
  2143.                 notice:Fire("Lunahax", "Made your player invisible to others!");
  2144.             end)
  2145.             if isdoneee == false then
  2146.                 notice:Fire("Lunahax", "Error! Maybe your already invisible?", 4);
  2147.             end
  2148.         end)
  2149.        
  2150.        
  2151.         isWaitingForClick = false;
  2152.        
  2153.        
  2154.         hotKeys = {};
  2155.        
  2156.        
  2157.         UserInputServiceaa = game:GetService("UserInputService");
  2158.                                    
  2159.                                      
  2160.         function Input(input, gameProcessedEvent)
  2161.             for ilol, vlol in pairs(hotKeys) do
  2162.                 if UserInputService:IsKeyDown(vlol[1]) then
  2163.                     if not gameProcessedEvent then
  2164.                         print("hotkey pressed");
  2165.                        
  2166.                         button = vlol[2];
  2167.  
  2168.                         events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  2169.                         for iasda,vaaaa in pairs(events) do
  2170.                             for iasdaa,vaaa in pairs(getconnections(button[vaaaa])) do
  2171.                                 vaaa:Fire()
  2172.                             end
  2173.                         end
  2174.                         break;
  2175.                     end
  2176.                 end
  2177.             end
  2178.         end
  2179.        
  2180.         UserInputServiceaa.InputBegan:Connect(Input);
  2181.        
  2182.         assignHotkeyButton.Activated:Connect(function()
  2183.             notice:Fire("Lunahax", "Please press the key you'd like to bind now!");
  2184.            
  2185.             UserInputService = game:GetService("UserInputService")
  2186.             key = nil
  2187.             repeat key = UserInputService.InputEnded:Wait() until key.KeyCode ~= Enum.KeyCode.Unknown
  2188.             print(key.KeyCode)
  2189.            
  2190.            
  2191.             buttonPressed = "";
  2192.             frameMember = "";
  2193.            
  2194.             isWaitingForClick = true;
  2195.            
  2196.             notice:Fire("Lunahax", "Got input! Please wait...");
  2197.            
  2198.            
  2199.            
  2200.             for i,v in pairs(game.Players.LocalPlayer.PlayerGui.ScreenGui:GetDescendants()) do
  2201.                 pcall(function()
  2202.                     if v.ClassName == "TextButton" then
  2203.                         v.Activated:Connect(function()
  2204.                             if isWaitingForClick then
  2205.                                 isWaitingForClick = false;
  2206.                                 buttonPressed = v.Name;
  2207.                                 frameMember = v:GetFullName();
  2208.                                
  2209.                                 ibuttonPressed = v.Name;
  2210.                                 frameMember = v:GetFullName();
  2211.                                
  2212.                                 print("Got press!");
  2213.                                
  2214.                                 table.insert(hotKeys, { key.KeyCode, v });
  2215.                             end
  2216.                         end)
  2217.                     end
  2218.                 end)
  2219.             end
  2220.            
  2221.             notice:Fire("Lunahax", "Please press the button you'd like to bind it to");
  2222.            
  2223.             while buttonPressed == "" do
  2224.                 wait();
  2225.             end
  2226.            
  2227.             buttonPressed = "";
  2228.             frameMember = "";
  2229.            
  2230.             notice:Fire("Lunahax", "Added hotkey!");
  2231.            
  2232.  
  2233.            
  2234.            
  2235.         end)
  2236.        
  2237.         setsimulationradius(math.huge) -- l o l
  2238.        
  2239.         --dispenser button click
  2240.         dispenserButton.Activated:Connect(function()
  2241.             if variables.dispenserListOpen then
  2242.                 dispenserFrame.Visible = false;
  2243.                 variables.dispenserListOpen = false;
  2244.             else
  2245.                 dispenserFrame.Visible = true;
  2246.                 variables.dispenserListOpen = true;
  2247.             end
  2248.         end)
  2249.  
  2250.  
  2251.         --misc button click
  2252.         miscButton.Activated:Connect(function()
  2253.             if variables.miscOptionsOpen then
  2254.                 miscFrame.Visible = false;
  2255.                 variables.miscOptionsOpen = false;
  2256.             else
  2257.                 miscFrame.Visible = true;
  2258.                 variables.miscOptionsOpen = true;
  2259.             end
  2260.         end)
  2261.        
  2262.  
  2263.         --combat button click
  2264.         combatButton.Activated:Connect(function()
  2265.             if variables.combatOptionsOpen then
  2266.                 combatFrame.Visible = false;
  2267.                 variables.combatOptionsOpen = false;
  2268.             else
  2269.                 combatFrame.Visible = true;
  2270.                 variables.combatOptionsOpen = true;
  2271.             end
  2272.         end)
  2273.  
  2274.         -- friend button
  2275.         friendButton.Activated:Connect(function()
  2276.             validF = isfile("lunahaxFriends.txt")
  2277.             if validF then
  2278.                 isFriend = false;
  2279.                 isEnemy = false;
  2280.                
  2281.                 validF = isfile("lunahaxFriends.txt")
  2282.                 if validF then
  2283.                     contents = readfile("lunahaxFriends.txt");
  2284.                     for line in contents:gmatch("[^\r\n]+") do
  2285.                         if line == variables.playerNameClicked then
  2286.                             notice:Fire("Lunahax", "Already added " .. variables.playerNameClicked .. " to friends!");
  2287.                             isFriend = true;
  2288.                             break;
  2289.                         end
  2290.                     end
  2291.                 end
  2292.                
  2293.                 validE = isfile("lunahaxEnemies.txt")
  2294.                 if validE then
  2295.                     contentsE = readfile("lunahaxEnemies.txt");
  2296.                     for line in contentsE:gmatch("[^\r\n]+") do
  2297.                         if line == variables.playerNameClicked then
  2298.                             writefile("lunahaxEnemies.txt", string.gsub(contentsE, variables.playerNameClicked, ""))
  2299.                             break;
  2300.                         end
  2301.                     end
  2302.                 end
  2303.                 if isFriend == false then
  2304.                     appendfile("lunahaxFriends.txt", variables.playerNameClicked .. "\n");
  2305.                     notice:Fire("Lunahax", "Added " .. variables.playerNameClicked .. " to friends!");
  2306.                 end
  2307.             else
  2308.                 writefile("lunahaxFriends.txt", variables.playerNameClicked .. "\n");
  2309.                 notice:Fire("Lunahax", "Added " .. variables.playerNameClicked .. " to friends!");
  2310.             end
  2311.  
  2312.             numbtest = 0;
  2313.             --repop
  2314.             for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2315.                 isFriend = false;
  2316.                 isEnemy = false;
  2317.                
  2318.                 validF = isfile("lunahaxFriends.txt")
  2319.                 if validF then
  2320.                     contents = readfile("lunahaxFriends.txt");
  2321.                     for line in contents:gmatch("[^\r\n]+") do
  2322.                         if line == v.Name then
  2323.                             isFriend = true;
  2324.                             break;
  2325.                         end
  2326.                     end
  2327.                 end
  2328.                 validE = isfile("lunahaxEnemies.txt")
  2329.                 if validE then
  2330.                     contentsE = readfile("lunahaxEnemies.txt");
  2331.                     for line in contentsE:gmatch("[^\r\n]+") do
  2332.                         if line == v.Name then
  2333.                             isEnemy = true;
  2334.                             break;
  2335.                         end
  2336.                     end
  2337.                 end
  2338.                
  2339.                
  2340.                 newButton = Instance.new("TextButton")
  2341.                 newButton.Parent = playerListScrollingFrame
  2342.                 newButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2343.                 newButton.Size = UDim2.new(0, 200, 0, 50)
  2344.                 newButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  2345.                 newButton.Position = UDim2.new(0, 0, numbtest, 0);
  2346.                 newButton.Font = Enum.Font.SourceSans
  2347.                 newButton.Text = v.Name
  2348.                
  2349.                 ImageLabel = Instance.new("ImageLabel")
  2350.                 ImageLabel.Parent = newButton
  2351.                 ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2352.                 ImageLabel.BackgroundTransparency = 1.000
  2353.                 ImageLabel.BorderSizePixel = 0
  2354.                 ImageLabel.Position = UDim2.new(-0.0504394509, 0, -0.0461413562, 0)
  2355.                 ImageLabel.Size = UDim2.new(0, 33, 0, 32)
  2356.                 ImageLabel.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?userid=" .. v.UserId
  2357.                 ImageLabel.ScaleType = Enum.ScaleType.Fit
  2358.                
  2359.                 if isEnemy then
  2360.                     newButton.TextColor3 = Color3.fromRGB(255, 0, 0)
  2361.                 elseif isFriend then
  2362.                     newButton.TextColor3 = Color3.fromRGB(0, 255, 0)
  2363.                 else
  2364.                     newButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  2365.                 end
  2366.                 newButton.TextSize = 25.000
  2367.                 numbtest = numbtest + 0.005;
  2368.                 newButton.Activated:Connect(function()
  2369.                     variables.playerNameClicked = v.Name;
  2370.                     populateWhenClicked();
  2371.                 end)
  2372.             end
  2373.         end)
  2374.        
  2375.        
  2376.         HttpService = game:GetService("HttpService")
  2377.        
  2378.         function HttpGet(url)
  2379.             return HttpService:JSONDecode(httprequesty(url))
  2380.         end
  2381.  
  2382.  
  2383.  
  2384.         function Status(text)
  2385.             notice:Fire("Lunahax", text);
  2386.         end
  2387.  
  2388.         --join game button click
  2389.         joinGameButton.Activated:Connect(function()
  2390.             Status("Thank you synapse! Scanning games...")
  2391.             usernameToJoin = joinGameUserTextbox.Text
  2392.             UserId = game:GetService("Players"):GetUserIdFromNameAsync(usernameToJoin)
  2393.            
  2394.             Thumbnail = HttpGet("https://www.roblox.com/headshot-thumbnail/json?userId=" .. UserId .. "&width=48&height=48").Url
  2395.            
  2396.             local Index = 0
  2397.             while true do
  2398.                 local GameInstances = HttpGet("https://loell.ca/api.php?startindex=" .. Index)
  2399.                 for I,V in pairs(GameInstances.Collection) do
  2400.                     for I2,V2 in pairs(V.CurrentPlayers) do
  2401.                         if V2.Id == UserId or V2.Thumbnail.Url == Thumbnail then
  2402.                             Status("Complete!")
  2403.                             game:GetService("TeleportService"):TeleportToPlaceInstance(2262441883, V.Guid)
  2404.                             local FailCounter = 0
  2405.                             game:GetService("Players").LocalPlayer.OnTeleport:Connect(function(State)
  2406.                                 if State == Enum.TeleportState.Failed then
  2407.                                     FailCounter = FailCounter + 1
  2408.                                     Status("Failed to teleport. (retry " .. tostring(FailCounter) .. ")")
  2409.                                     game:GetService("TeleportService"):TeleportToPlaceInstance(2262441883, V.Guid)
  2410.                                 end
  2411.                             end)
  2412.                             return
  2413.                         end
  2414.                     end
  2415.                 end
  2416.                 Status("Stage 3 (" .. tostring(Index) .. "/" .. tostring(GameInstances.TotalCollectionSize) .. " servers scanned)...")
  2417.                 if Index > GameInstances.TotalCollectionSize then
  2418.                     return Status("Failed to get user's game!")
  2419.                 end
  2420.                 if Kill then
  2421.                     Kill = false
  2422.                     Debounce = false
  2423.                     Status("Cancelled.")
  2424.                     return
  2425.                 end
  2426.                 Index = Index + 10
  2427.             end
  2428.         end)
  2429.        
  2430.        
  2431.        
  2432.        
  2433.         -- store items button
  2434.         storeAllItemsButton.Activated:Connect(function()
  2435.             function GetClosestItem()
  2436.                 local lplayer = game.Players.LocalPlayer
  2437.                 local Character = lplayer.Character
  2438.                 local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")
  2439.                 if not (Character or HumanoidRootPart) then return end
  2440.                 local TargetDistance = math.huge
  2441.                 local Target
  2442.                 for i,v in ipairs(game:GetService("Workspace").Entities:GetChildren()) do
  2443.                     pcall(function()
  2444.                         local mesh = nil;  
  2445.                         pcall(function()
  2446.                             if v.ManualWeld.Name ~= "" then
  2447.                                 mesh = v.ManualWeld
  2448.                             end
  2449.                         end)
  2450.                         if mesh == nil then
  2451.                             mesh = v.Handle
  2452.                         end
  2453.                         if mesh then
  2454.                             local TargetHRP = mesh
  2455.                             local mag = (HumanoidRootPart.Position - TargetHRP.Position).magnitude
  2456.                             if mag < TargetDistance then
  2457.                                 TargetDistance = mag
  2458.                                 Target = v
  2459.                             end
  2460.                         end
  2461.                     end)
  2462.                 end
  2463.  
  2464.                 return Target
  2465.             end
  2466.            
  2467.             local player = game.Players.LocalPlayer
  2468.             local character = player.Character or player.CharacterAdded:Wait()
  2469.             local hum = character.Humanoid
  2470.             local rs = game:GetService("RunService")
  2471.  
  2472.             if hum.FloorMaterial ~= nil and hum.FloorMaterial ~= Enum.Material.Air then
  2473.                 for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  2474.                     local amtInInv = tonumber(string.split(game:GetService("Players")[game.Players.LocalPlayer.Name].PlayerGui.Client.Inventory.Slots.Amt.Text, "/")[1]);
  2475.                     if amtInInv >= 11 then
  2476.                    
  2477.                     else
  2478.                         game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
  2479.                         wait(0.1)
  2480.                         Game:GetService("ReplicatedStorage").Events.WeaponBackEvent:FireServer(true, v.Name)
  2481.                         wait(0.1)
  2482.                         Game:GetService("ReplicatedStorage").Events.InventoryEvent:FireServer(1)
  2483.                         wait(0.1)
  2484.                         Game:GetService("ReplicatedStorage").Events.WeaponBackEvent:FireServer(false, v.Name)
  2485.                         wait(0.1)
  2486.                         Game:GetService("ReplicatedStorage").Events.InventoryEvent:FireServer(2, GetClosestItem())
  2487.                         wait(0.1)
  2488.                     end
  2489.                 end
  2490.                 wait(0.1)
  2491.                 Game:GetService("ReplicatedStorage").Events.InventoryEvent:FireServer(2, GetClosestItem())
  2492.                 wait(0.1)
  2493.                 Game:GetService("ReplicatedStorage").Events.InventoryEvent:FireServer(2, GetClosestItem())
  2494.                 wait(0.1)
  2495.                 Game:GetService("ReplicatedStorage").Events.InventoryEvent:FireServer(2, GetClosestItem())
  2496.                 wait(0.1)
  2497.                 Game:GetService("ReplicatedStorage").Events.InventoryEvent:FireServer(2, GetClosestItem())
  2498.                 notice:Fire("Lunahax", "Stored your items!");
  2499.             else
  2500.                 notice:Fire("Lunahax", "Please stand on the ground to store!", 4);
  2501.             end
  2502.         end)
  2503.        
  2504.        
  2505.         function split(s, delimiter)
  2506.             result = {};
  2507.             for match in (s..delimiter):gmatch("(.-)"..delimiter) do
  2508.                 table.insert(result, match);
  2509.             end
  2510.             return result;
  2511.         end
  2512.  
  2513.        
  2514.        
  2515.         saveConfigButton.Activated:Connect(function()
  2516.             local configFile = "";
  2517.             configFile = configFile .. "variables.espEnabled=" .. tostring(variables.espEnabled) .. "\n"
  2518.             configFile = configFile .. "variables.printerEspEnabled=" .. tostring(variables.printerEspEnabled) .. "\n"
  2519.             configFile = configFile .. "crateEspEnabled=" .. tostring(crateEspEnabled) .. "\n"
  2520.             configFile = configFile .. "entityEspEnabled=" .. tostring(entityEspEnabled) .. "\n"
  2521.             configFile = configFile .. "_G.nlrLoop=" .. tostring(_G.nlrLoop) .. "\n"
  2522.             configFile = configFile .. "variables.isNodeKillEnabled=" .. tostring(variables.isNodeKillEnabled) .. "\n"
  2523.             configFile = configFile .. "variables.aimbotEnabled=" .. tostring(variables.aimbotEnabled) .. "\n"
  2524.             configFile = configFile .. "variables.clickTpEnabled=" .. tostring(variables.clickTpEnabled) .. "\n"
  2525.             configFile = configFile .. "variables.flyJump=" .. tostring(variables.flyJump) .. "\n"
  2526.             configFile = configFile .. "variables.noclipBool=" .. tostring(variables.noclipBool) .. "\n"
  2527.             configFile = configFile .. "variables.autoColaDrink=" .. tostring(variables.autoColaDrink) .. "\n"
  2528.             configFile = configFile .. "variables.itemSniperEnabled=" .. tostring(variables.itemSniperEnabled) .. "\n"
  2529.             configFile = configFile .. "variables.onlyFlagged=" .. tostring(variables.onlyFlagged) .. "\n"
  2530.             configFile = configFile .. "_G.redRageAuraEnabled=" .. tostring(_G.redRageAuraEnabled) .. "\n"
  2531.             configFile = configFile .. "_G.yellowRageAuraEnabled=" .. tostring(_G.yellowRageAuraEnabled) .. "\n"
  2532.             configFile = configFile .. "variables.globalChat=" .. tostring(variables.globalChat) .. "\n"
  2533.             configFile = configFile .. "variables.deathReturnEnabled=" .. tostring(variables.deathReturnEnabled) .. "\n"
  2534.             configFile = configFile .. "infiniteAmmo=" .. tostring(variables.infSmgAmmo) .. "\n"
  2535.             configFile = configFile .. "variables.weaponMultiplierEnabled=" .. tostring(variables.weaponMultiplierEnabled) .. "\n"
  2536.             configFile = configFile .. "variables.deathBarrierBypassEnabled=" .. tostring(variables.deathBarrierBypassEnabled) .. "\n"
  2537.             configFile = configFile .. "variables.speedHackEnabled=" .. tostring(variables.speedHackEnabled) .. "\n"
  2538.             writefile("lunahaxConfig.txt", configFile)
  2539.             notice:Fire("Lunahax", "Config saved!");
  2540.         end)
  2541.  
  2542.         -- enemy button
  2543.         enemyButton.Activated:Connect(function()
  2544.             local validE = isfile("lunahaxEnemies.txt")
  2545.             if validE then
  2546.                 local isFriend = false;
  2547.                 local isEnemy = false;
  2548.                
  2549.                 local validF = isfile("lunahaxFriends.txt")
  2550.                 if validF then
  2551.                     local contents = readfile("lunahaxFriends.txt");
  2552.                     for line in contents:gmatch("[^\r\n]+") do
  2553.                         if line == variables.playerNameClicked then
  2554.                             writefile("lunahaxFriends.txt", string.gsub(contents, variables.playerNameClicked, ""))
  2555.                             break;
  2556.                         end
  2557.                     end
  2558.                 end
  2559.                
  2560.                 if validE then
  2561.                     local contentsE = readfile("lunahaxEnemies.txt");
  2562.                     for line in contentsE:gmatch("[^\r\n]+") do
  2563.                         if line == variables.playerNameClicked then
  2564.                             notice:Fire("Lunahax", "Already added " .. variables.playerNameClicked .. " to enemies!");
  2565.                             isEnemy = true;
  2566.                             break;
  2567.                         end
  2568.                     end
  2569.                 end
  2570.                 if isEnemy == false then
  2571.                     appendfile("lunahaxEnemies.txt", variables.playerNameClicked .. "\n");
  2572.                     notice:Fire("Lunahax", "Added " .. variables.playerNameClicked .. " to enemies!");
  2573.                 end
  2574.             else
  2575.                 writefile("lunahaxEnemies.txt", variables.playerNameClicked .. "\n");
  2576.                 notice:Fire("Lunahax", "Added " .. variables.playerNameClicked .. " to enemies!");
  2577.             end
  2578.  
  2579.            
  2580.             local numbtest = 0;
  2581.             --repop
  2582.             for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2583.                 local isFriend = false;
  2584.                 local isEnemy = false;
  2585.                
  2586.                 local validF = isfile("lunahaxFriends.txt")
  2587.                 if validF then
  2588.                     local contents = readfile("lunahaxFriends.txt");
  2589.                     for line in contents:gmatch("[^\r\n]+") do
  2590.                         if line == v.Name then
  2591.                             isFriend = true;
  2592.                             break;
  2593.                         end
  2594.                     end
  2595.                 end
  2596.                 local validE = isfile("lunahaxEnemies.txt")
  2597.                 if validE then
  2598.                     local contentsE = readfile("lunahaxEnemies.txt");
  2599.                     for line in contentsE:gmatch("[^\r\n]+") do
  2600.                         if line == v.Name then
  2601.                             isEnemy = true;
  2602.                             break;
  2603.                         end
  2604.                     end
  2605.                 end
  2606.                
  2607.                
  2608.                 local newButton = Instance.new("TextButton")
  2609.                 newButton.Parent = playerListScrollingFrame
  2610.                 newButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2611.                 newButton.Size = UDim2.new(0, 200, 0, 50)
  2612.                 newButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  2613.                 newButton.Position = UDim2.new(0, 0, numbtest, 0);
  2614.                 newButton.Font = Enum.Font.SourceSans
  2615.                 newButton.Text = v.Name
  2616.                
  2617.                 local ImageLabel = Instance.new("ImageLabel")
  2618.                 ImageLabel.Parent = newButton
  2619.                 ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  2620.                 ImageLabel.BackgroundTransparency = 1.000
  2621.                 ImageLabel.BorderSizePixel = 0
  2622.                 ImageLabel.Position = UDim2.new(-0.0504394509, 0, -0.0461413562, 0)
  2623.                 ImageLabel.Size = UDim2.new(0, 33, 0, 32)
  2624.                 ImageLabel.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?userid=" .. v.UserId
  2625.                 ImageLabel.ScaleType = Enum.ScaleType.Fit
  2626.                
  2627.                
  2628.                 if isEnemy then
  2629.                     newButton.TextColor3 = Color3.fromRGB(255, 0, 0)
  2630.                 elseif isFriend then
  2631.                     newButton.TextColor3 = Color3.fromRGB(0, 255, 0)
  2632.                 else
  2633.                     newButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  2634.                 end
  2635.                 newButton.TextSize = 25.000
  2636.                 numbtest = numbtest + 0.005;
  2637.                 newButton.Activated:Connect(function()
  2638.                     variables.playerNameClicked = v.Name;
  2639.                     populateWhenClicked();
  2640.                 end)
  2641.             end
  2642.         end)
  2643.        
  2644.                
  2645.                
  2646.         tpToBaseplateButton.Activated:Connect(function()
  2647.             if _G.deathBarrierBypassEnabled then
  2648.                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, 10, 0);
  2649.                 notice:Fire("Lunahax", "Teleported to baseplate");
  2650.             else
  2651.                 notice:Fire("Lunahax", "Please enable death barrier bypass", 4);
  2652.             end
  2653.         end)
  2654.        
  2655.        
  2656.         ------------------------
  2657.        
  2658.         warButton.Activated:Connect(function()
  2659.             game.Lighting.Condition.Value = "Rain"
  2660.             game.Lighting:SetMinutesAfterMidnight(1025)
  2661.             game:GetService("Lighting").SunRays.Intensity = 0.03999999910593
  2662.             game:GetService("Lighting").SunRays.Spread = 1.2000000476837
  2663.             game:GetService("Lighting").Bloom.Intensity = 0.40000000596046
  2664.             game:GetService("Lighting").Sky.SkyboxBk = "rbxassetid://2506974318"
  2665.             game:GetService("Lighting").Sky.SkyboxDn = "rbxassetid://2506974575"
  2666.             game:GetService("Lighting").Sky.SkyboxFt = "rbxassetid://2506974238"
  2667.             game:GetService("Lighting").Sky.SkyboxLf = "rbxassetid://2506974390"
  2668.             game:GetService("Lighting").Sky.SkyboxRt = "rbxassetid://2506974153"
  2669.             game:GetService("Lighting").Sky.SkyboxUp = "rbxassetid://2506974467"
  2670.             game:GetService("Lighting").Brightness = 0
  2671.             game:GetService("Lighting").FogColor = Color3.fromRGB(145.00000655651, 144.00000661612, 138.00000697374)
  2672.             game:GetService("Lighting").OutdoorAmbient = Color3.fromRGB(118.00000056624, 115.00000074506, 113.00000086427)
  2673.         end)
  2674.        
  2675.         eveningButton.Activated:Connect(function()
  2676.             game.Lighting.Condition.Value = "Night"
  2677.             game.Lighting:SetMinutesAfterMidnight(1020)
  2678.             game:GetService("Lighting").SunRays.Intensity = 0.25
  2679.             game:GetService("Lighting").SunRays.Spread = 1
  2680.             game:GetService("Lighting").Bloom.Intensity = 0.40000000596046
  2681.             game:GetService("Lighting").Sky.SkyboxBk = "rbxassetid://271042516"
  2682.             game:GetService("Lighting").Sky.SkyboxDn = "rbxassetid://271077243"
  2683.             game:GetService("Lighting").Sky.SkyboxFt = "rbxassetid://271042556"
  2684.             game:GetService("Lighting").Sky.SkyboxLf = "rbxassetid://271042310"
  2685.             game:GetService("Lighting").Sky.SkyboxRt = "rbxassetid://271042467"
  2686.             game:GetService("Lighting").Sky.SkyboxUp = "rbxassetid://271077958"
  2687.             game:GetService("Lighting").Brightness = 0.69999998807907
  2688.             game:GetService("Lighting").FogColor = Color3.fromRGB(253.00000011921, 198.00000339746, 189.00000393391)
  2689.             game:GetService("Lighting").OutdoorAmbient = Color3.fromRGB(124.00000020862, 92.000002115965, 114.00000080466)
  2690.         end)
  2691.  
  2692.         dayButton.Activated:Connect(function()
  2693.             game.Lighting.Condition.Value = "Day"
  2694.             game.Lighting:SetMinutesAfterMidnight(720)
  2695.             game:GetService("Lighting").SunRays.Intensity = 0.25
  2696.             game:GetService("Lighting").SunRays.Spread = 1
  2697.             game:GetService("Lighting").Bloom.Intensity = 0.4
  2698.             game:GetService("Lighting").Sky.SkyboxBk = "rbxassetid://2677179366"
  2699.             game:GetService("Lighting").Sky.SkyboxDn = "rbxassetid://501313275"
  2700.             game:GetService("Lighting").Sky.SkyboxFt = "rbxassetid://2677179602"
  2701.             game:GetService("Lighting").Sky.SkyboxLf = "rbxassetid://2677179822"
  2702.             game:GetService("Lighting").Sky.SkyboxRt = "rbxassetid://2677179738"
  2703.             game:GetService("Lighting").Sky.SkyboxUp = "rbxassetid://247087559"
  2704.             game:GetService("Lighting").Brightness =  1.85
  2705.             game:GetService("Lighting").FogColor =  Color3.fromRGB(255, 247, 234)
  2706.             game:GetService("Lighting").OutdoorAmbient =  Color3.fromRGB(185, 178, 167)
  2707.             game:GetService("Lighting").FogEnd = 7000;
  2708.             game:GetService("Lighting").FogStart = 0;
  2709.         end)
  2710.        
  2711.         nuclearWinterButton.Activated:Connect(function()
  2712.             game.Lighting.Condition.Value = "Snowstorm"
  2713.             game.Lighting:SetMinutesAfterMidnight(720)
  2714.             game:GetService("Lighting").SunRays.Intensity = 0.25
  2715.             game:GetService("Lighting").SunRays.Spread = 1
  2716.             game:GetService("Lighting").Bloom.Intensity = 0.40000000596046
  2717.             game:GetService("Lighting").Sky.SkyboxBk = "rbxassetid://931421737"
  2718.             game:GetService("Lighting").Sky.SkyboxDn = "rbxassetid://931421868"
  2719.             game:GetService("Lighting").Sky.SkyboxFt = "rbxassetid://931421587"
  2720.             game:GetService("Lighting").Sky.SkyboxLf = "rbxassetid://931421672"
  2721.             game:GetService("Lighting").Sky.SkyboxRt = "rbxassetid://931421501"
  2722.             game:GetService("Lighting").Sky.SkyboxUp = "rbxassetid://931421803"
  2723.             game:GetService("Lighting").Brightness = 0
  2724.             game:GetService("Lighting").FogColor = Color3.fromRGB(193.00000369549, 193.00000369549, 193.00000369549)
  2725.             game:GetService("Lighting").OutdoorAmbient = Color3.fromRGB(195.00000357628, 195.00000357628, 195.00000357628)
  2726.         end)
  2727.        
  2728.        
  2729.         morningButton.Activated:Connect(function()
  2730.             game.Lighting.Condition.Value = "Night"
  2731.             game.Lighting:SetMinutesAfterMidnight(402)
  2732.             game:GetService("Lighting").SunRays.Intensity = 0.25
  2733.             game:GetService("Lighting").SunRays.Spread = 1
  2734.             game:GetService("Lighting").Bloom.Intensity = 0.40000000596046
  2735.             game:GetService("Lighting").Sky.SkyboxBk = "rbxassetid://253027015"
  2736.             game:GetService("Lighting").Sky.SkyboxDn = "rbxassetid://253027058"
  2737.             game:GetService("Lighting").Sky.SkyboxFt = "rbxassetid://253027039"
  2738.             game:GetService("Lighting").Sky.SkyboxLf = "rbxassetid://253027029"
  2739.             game:GetService("Lighting").Sky.SkyboxRt = "rbxassetid://253026999"
  2740.             game:GetService("Lighting").Sky.SkyboxUp = "rbxassetid://253027050"
  2741.             game:GetService("Lighting").Brightness = 0.25
  2742.             game:GetService("Lighting").FogColor = Color3.fromRGB(81.000002771616, 107.0000012219, 112.00000092387)
  2743.             game:GetService("Lighting").OutdoorAmbient = Color3.fromRGB(35.000001713634, 45.000001117587, 61.000000163913)
  2744.         end)
  2745.  
  2746.         nightButton.Activated:Connect(function()
  2747.             game.Lighting.Condition.Value = "Night"
  2748.             game.Lighting:SetMinutesAfterMidnight(1025)
  2749.             game:GetService("Lighting").SunRays.Intensity = 0.04
  2750.             game:GetService("Lighting").SunRays.Spread = 1.2
  2751.             game:GetService("Lighting").Bloom.Intensity = 0.4
  2752.             game:GetService("Lighting").Sky.SkyboxBk = "rbxassetid://2695798966"
  2753.             game:GetService("Lighting").Sky.SkyboxDn = "rbxassetid://213221473"
  2754.             game:GetService("Lighting").Sky.SkyboxFt = "rbxassetid://220789557"
  2755.             game:GetService("Lighting").Sky.SkyboxLf = "rbxassetid://220789543"
  2756.             game:GetService("Lighting").Sky.SkyboxRt = "rbxassetid://220789524"
  2757.             game:GetService("Lighting").Sky.SkyboxUp = "rbxassetid://220789575"
  2758.             game:GetService("Lighting").Brightness = 0
  2759.             game:GetService("Lighting").FogColor = Color3.fromRGB(31, 46, 75)
  2760.             game:GetService("Lighting").OutdoorAmbient = Color3.fromRGB(33, 40, 61)
  2761.  
  2762.         end)
  2763.        
  2764.         rainButton.Activated:Connect(function()
  2765.             game.Lighting.Condition.Value = "Rain"
  2766.             game.Lighting:SetMinutesAfterMidnight(720)
  2767.             game:GetService("Lighting").SunRays.Intensity = 0.25
  2768.             game:GetService("Lighting").SunRays.Spread = 1
  2769.             game:GetService("Lighting").Bloom.Intensity = 0.4
  2770.             game:GetService("Lighting").Sky.SkyboxBk = "rbxassetid://931421737"
  2771.             game:GetService("Lighting").Sky.SkyboxDn = "rbxassetid://931421868"
  2772.             game:GetService("Lighting").Sky.SkyboxFt = "rbxassetid://931421587"
  2773.             game:GetService("Lighting").Sky.SkyboxLf = "rbxassetid://931421672"
  2774.             game:GetService("Lighting").Sky.SkyboxRt = "rbxassetid://931421501"
  2775.             game:GetService("Lighting").Sky.SkyboxUp = "rbxassetid://931421803"
  2776.             game:GetService("Lighting").Brightness =  0
  2777.             game:GetService("Lighting").FogColor =  Color3.fromRGB(193, 193, 193)
  2778.             game:GetService("Lighting").OutdoorAmbient =  Color3.fromRGB(195, 195, 195)
  2779.         end)
  2780.  
  2781.  
  2782.         sandstormButton.Activated:Connect(function()
  2783.             game.Lighting.Condition.Value = "Sandstorm"
  2784.             game.Lighting:SetMinutesAfterMidnight(720)
  2785.             game:GetService("Lighting").SunRays.Intensity = 0.04
  2786.             game:GetService("Lighting").SunRays.Spread = 1.2
  2787.             game:GetService("Lighting").Bloom.Intensity = 0.4
  2788.             game:GetService("Lighting").Sky.SkyboxBk = "rbxassetid://364908114"
  2789.             game:GetService("Lighting").Sky.SkyboxDn = "rbxassetid://364908331"
  2790.             game:GetService("Lighting").Sky.SkyboxFt = "rbxassetid://364908148"
  2791.             game:GetService("Lighting").Sky.SkyboxLf = "rbxassetid://364908195"
  2792.             game:GetService("Lighting").Sky.SkyboxRt = "rbxassetid://364908247"
  2793.             game:GetService("Lighting").Sky.SkyboxUp = "rbxassetid://364908301"
  2794.             game:GetService("Lighting").Brightness =  0
  2795.             game:GetService("Lighting").FogColor =  Color3.fromRGB(248, 222, 147)
  2796.             game:GetService("Lighting").OutdoorAmbient =  Color3.fromRGB(162, 130, 91)
  2797.         end)
  2798.  
  2799.        
  2800.        
  2801.         specificEarRapeButton.Activated:Connect(function()
  2802.             if variables.playerNameClicked ~= nil then
  2803.                 pcall(function()
  2804.                     spawn(function()
  2805.                         for i=1,100 do
  2806.                             game.ReplicatedStorage.Events:WaitForChild("mpib"):FireServer(game.Players[variables.playerNameClicked].Character.HumanoidRootPart, 13);
  2807.                             wait();
  2808.                         end
  2809.                     end)
  2810.                 end)
  2811.                 notice:Fire("Lunahax", "Ear rape'd player!");
  2812.             else
  2813.                 notice:Fire("Lunahax", "Please click a player.", 4);
  2814.             end
  2815.         end)
  2816.        
  2817.        
  2818.        
  2819.         -- node copy
  2820.        
  2821.         local allItems = {};
  2822.         function addPropToArray(itemProperties)
  2823.             table.insert(allItems, itemProperties);
  2824.         end
  2825.  
  2826.  
  2827.         addPropToArray({"Dumpster", "73.999999642372"});
  2828.         addPropToArray({"Bust Statue Hat", "49.40000000596"});
  2829.         addPropToArray({"Barricade", "54.999992370605"});
  2830.         addPropToArray({"Shelves Lounge", "34.477004051208"});
  2831.         addPropToArray({"Plant Tree Small", "39.281250119209"});
  2832.         addPropToArray({"Chair Stool", "7.1212601661682"});
  2833.         addPropToArray({"Easel", "37.199998617172"});
  2834.         addPropToArray({"Couch Booth", "68.700000956655"});
  2835.         addPropToArray({"Canopy Fabric", "50.324487686157"});
  2836.         addPropToArray({"Railing", "28.300001144409"});
  2837.         addPropToArray({"Dressing Stand", "54.970696628094"});
  2838.         addPropToArray({"Clock Grandfather", "48.35000000149"});
  2839.         addPropToArray({"Bench White", "90.634871721268"});
  2840.         addPropToArray({"Dryer", "26.699999988079"});
  2841.         addPropToArray({"Map Board", "53.778938695788"});
  2842.         addPropToArray({"Desk Big", "133.5000000298"});
  2843.         addPropToArray({"Bunk Bed", "258.99999608099"});
  2844.         addPropToArray({"Box Small", "8.4375"});
  2845.         addPropToArray({"Ladder Wood", "64.5"});
  2846.         addPropToArray({"Game Table", "93.775068819523"});
  2847.         addPropToArray({"Sofa Red", "47.900000810623"});
  2848.         addPropToArray({"Fabric Overhead", "26.324487686157"});
  2849.         addPropToArray({"Table Coffee", "21.5"});
  2850.         addPropToArray({"Street Lamp", "65.10001373291"});
  2851.         addPropToArray({"Table Lounge", "29.75"});
  2852.         addPropToArray({"Plastic Table", "28.25"});
  2853.         addPropToArray({"Bottles Tall", "57"});
  2854.         addPropToArray({"Cabinets", "21.13872385025"});
  2855.         addPropToArray({"Table X", "41.662277579308"});
  2856.         addPropToArray({"Computer Screens", "78.196396231651"});
  2857.         addPropToArray({"Bench", "16.025469303131"});
  2858.         addPropToArray({"Logs", "20.819108009338"});
  2859.         addPropToArray({"Night Stand", "52.999983936548"});
  2860.         addPropToArray({"Table", "46.3703237921"});
  2861.         addPropToArray({"Chair Picnic", "12.501653194427"});
  2862.         addPropToArray({"Couch Small", "32.104417800903"});
  2863.         addPropToArray({"Generator", "39.463157773018"});
  2864.         addPropToArray({"Bed", "73.868103116751"});
  2865.         addPropToArray({"Register", "11.199994087219"});
  2866.         addPropToArray({"Ammo Box", "8.8533323407173"});
  2867.         addPropToArray({"Shelves", "58.25"});
  2868.         addPropToArray({"Chair Comfort", "27.039119243622"});
  2869.         addPropToArray({"Bench Modern", "34.25"});
  2870.         addPropToArray({"Table Booth", "20.800000011921"});
  2871.         addPropToArray({"Computer Scifi", "53.875"});
  2872.         addPropToArray({"Desk Small", "62.312395974994"});
  2873.         addPropToArray({"Bag", "14.172916173935"});
  2874.         addPropToArray({"Gun Rack", "40.814584851265"});
  2875.         addPropToArray({"Table Round", "32.800000160933"});
  2876.         addPropToArray({"Papers", "35.800000078976"});
  2877.         addPropToArray({"Couch White", "49.852519154549"});
  2878.         addPropToArray({"Plant", "13.493908643723"});
  2879.         addPropToArray({"Couch Lounge", "54.625000953674"});
  2880.         addPropToArray({"Chair Lounge", "37.25"});
  2881.         addPropToArray({"Plant Tree", "75.562500238419"});
  2882.         addPropToArray({"Bust Statue", "42.40000000596"});
  2883.         addPropToArray({"Dresser Long", "106.79998357594"});
  2884.         addPropToArray({"Sink", "16.000000119209"});
  2885.         addPropToArray({"Tub", "22.838701248169"});
  2886.         addPropToArray({"Table Long", "42.666665047407"});
  2887.         addPropToArray({"Sandbags", "28.201997280121"});
  2888.         addPropToArray({"Cabinet Filing", "16.500000923872"});
  2889.         addPropToArray({"Computer", "26.055407680571"});
  2890.         addPropToArray({"Chair", "19.256631344557"});
  2891.         addPropToArray({"Podium", "20.800003483891"});
  2892.         addPropToArray({"Sci Fi", "51.259048700333"});
  2893.         addPropToArray({"Long Shelves", "78.300012856722"});
  2894.         addPropToArray({"Box", "9.9375"});
  2895.         addPropToArray({"Computer Set-up", "51.254103973508"});
  2896.         addPropToArray({"Shelves Store", "52.024270653725"});
  2897.         addPropToArray({"Camp Food", "48.442285079509"});
  2898.         addPropToArray({"Book Shelves", "97.422241687775"});
  2899.         addPropToArray({"Rat Candle", "37.966639995575"});
  2900.         addPropToArray({"Chair Beanbag", "14.30319237709"});
  2901.         addPropToArray({"Board", "95.929889678955"});
  2902.         addPropToArray({"Chair Folding", "10.11127614975"});
  2903.         addPropToArray({"Washer", "26.75"});
  2904.         addPropToArray({"Bottles Small", "38.549999892712"});
  2905.         addPropToArray({"Desk Low", "33.420437626541"});
  2906.         addPropToArray({"Desk", "73.399993047118"});
  2907.         addPropToArray({"Furnace", "60.649999566376"});
  2908.         addPropToArray({"Starlight", "20.715383768082"});
  2909.         addPropToArray({"Telephone Pole Light", "65.849999576807"});
  2910.         addPropToArray({"Lamp", "16.582590252161"});
  2911.         addPropToArray({"Floor Lamp", "9.4999998956919"});
  2912.         addPropToArray({"Lamp Prisim", "11.000000953674"});
  2913.         addPropToArray({"Lamp WallStreet", "19"});
  2914.         addPropToArray({"Spotlight", "10.89999973774"});
  2915.         addPropToArray({"Lamp Small", "12.582590252161"});
  2916.         addPropToArray({"House Wasteland2", "1103.7285881341"});
  2917.         addPropToArray({"Saloon Adobe", "1348.8256006762"});
  2918.         addPropToArray({"Old Warehouse", "2169.1924418211"});
  2919.         addPropToArray({"House Wasteland", "866.5"});
  2920.         addPropToArray({"Garage Wasteland", "768"});
  2921.         addPropToArray({"Wooden Wall Thick (2x3)", "39.5"});
  2922.         addPropToArray({"Wooden Wall (2x3)", "38.5"});
  2923.         addPropToArray({"Wooden Wall Thick (1x2)", "25.5"});
  2924.         addPropToArray({"Wooden Wall Thick (1x3)", "32.5"});
  2925.         addPropToArray({"Wooden Wall (2x2)", "31.5"});
  2926.         addPropToArray({"Fence", "43.326451078057"});
  2927.         addPropToArray({"Wooden Wall (1x2)", "24.5"});
  2928.         addPropToArray({"Wooden Wall Thick (2x2)", "32.5"});
  2929.         addPropToArray({"Counter (1x2)", "37.600000143051"});
  2930.         addPropToArray({"Wooden Wall (1x3)", "31.5"});
  2931.         addPropToArray({"Slot Machine", "67.245401829481"});
  2932.         addPropToArray({"Taps", "36.375"});
  2933.         addPropToArray({"Register Shop", "20.541307538748"});
  2934.         addPropToArray({"Shop Beacon", "53.224999696016"});
  2935.         addPropToArray({"Killzone Board", "29.705087780952"});
  2936.         addPropToArray({"Piano Tall", "34.199897825718"});
  2937.         addPropToArray({"Soda Machine", "50.5"});
  2938.         addPropToArray({"Fuel Station Saturn", "48.061149220914"});
  2939.         addPropToArray({"Dispencer", "52.273146498948"});
  2940.         addPropToArray({"Vending Machine", "42.547998577356"});
  2941.         addPropToArray({"Billboard Sign 1", "15.25"});
  2942.         addPropToArray({"Door Double", "110.00000275671"});
  2943.         addPropToArray({"Door", "34.749816894531"});
  2944.         addPropToArray({"Door Vault", "49.000025033951"});
  2945.        
  2946.        
  2947.  
  2948.         function getItemNameFromId(itemId)
  2949.             for i,v in pairs(allItems) do
  2950.                 if v[2] == tostring(itemId) then
  2951.                     return tostring(v[1]);
  2952.                 end
  2953.             end
  2954.             return "";
  2955.         end
  2956.        
  2957.         viewBackpackButton.Activated:Connect(function()
  2958.             if variables.playerNameClicked == "" then
  2959.                 notice:Fire("Lunahax", "Please click a player.", 4);
  2960.             else
  2961.                 bckpackstring = "";
  2962.                 for i,v in pairs(game.Players[variables.playerNameClicked].Backpack:GetChildren()) do
  2963.                     bckpackstring = bckpackstring .. v.Name .. ","
  2964.                 end
  2965.                 showPopUpBox("Inventory items: " .. bckpackstring);
  2966.             end
  2967.         end)
  2968.        
  2969.        
  2970.         viewPermsButton.Activated:Connect(function()
  2971.             if variables.playerNameClicked == "" then
  2972.                 notice:Fire("Lunahax", "Please click a player.", 4);
  2973.             else
  2974.                 bckpackstring = game.Players[variables.playerNameClicked].PlayerData.BInventory.Value;
  2975.                 showPopUpBox("Perm items: " .. bckpackstring);
  2976.             end
  2977.         end)
  2978.        
  2979.        
  2980.         copyNodeButton.Activated:Connect(function()
  2981.             wassuccessyy = false;
  2982.             pcall(function()           
  2983.                 if game:GetService("Workspace").Buildings[variables.playerNameClicked].Node.Name == "Node" then
  2984.                     pcall(function()
  2985.                         fullStringOutput = "--Lunahax node copier\n--Please execute this as a script in a new server to paste the node!\n--Please report bugs to https://discord.gg/jWe6WQff5x\n\nGame:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(1, \"Node\", CFrame.new(" .. tostring(game:GetService("Workspace").Buildings[variables.playerNameClicked].Node.PrimaryPart.CFrame) .. "));\n";
  2986.  
  2987.  
  2988.                         for i,v in pairs(game:GetService("Workspace").Buildings[variables.playerNameClicked]:GetChildren()) do
  2989.                             pcall(function()
  2990.                                 if v.Name ~= "Node" then
  2991.                                     if v.Name == "" then
  2992.                                         unqId = 0;
  2993.                                         for i1,v1 in pairs(v:GetChildren()) do
  2994.                                             pcall(function()
  2995.                                                 size = v1.Size;
  2996.                                                 unqId = unqId + (size.X + size.Y + size.Z);
  2997.                                             end)
  2998.                                         end
  2999.                                         if unqId ~= 0 then
  3000.                                             if getItemNameFromId(unqId) ~= "" then
  3001.                                                 print("Item found!: " .. getItemNameFromId(unqId));
  3002.                                                 matRep = tostring(v.PrimaryPart.Material):gsub("Enum.Material.", "");
  3003.                                                 fullStringOutput = fullStringOutput .. "Game:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(1, \"" .. getItemNameFromId(unqId) .. "\", CFrame.new(" .. tostring(v.PrimaryPart.CFrame) .. "), nil, BrickColor.new(\"" .. tostring(v.PrimaryPart.BrickColor) .. "\"), nil, nil, \"" .. tostring(matRep) .. "\");\n";
  3004.                                             end
  3005.                                         end
  3006.                                     elseif v.Name == "Resizable Wall" then
  3007.                                         fullStringOutput = fullStringOutput .. "Game:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(1, \"" .. v.Name .. "\", CFrame.new(" .. tostring(v.PrimaryPart.CFrame) .. "));\n";
  3008.                                         fullStringOutput = fullStringOutput .. "wait(0.5); lastWall = nil; for i,v in pairs(game:GetService(\"Workspace\").Buildings[game.Players.LocalPlayer.Name]:GetChildren()) do if v.Name == \"Resizable Wall\" then lastWall = v; end end Game:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(7, lastWall, lastWall.PrimaryPart.CFrame, nil, Vector3.new(" .. tostring(v.PrimaryPart.Size) .. "));\n";
  3009.                                         matRep = tostring(v.PrimaryPart.Material):gsub("Enum.Material.", "");
  3010.                                         fullStringOutput = fullStringOutput .. "wait(0.5); lastWall = nil; for i,v in pairs(game:GetService(\"Workspace\").Buildings[game.Players.LocalPlayer.Name]:GetChildren()) do if v.Name == \"Resizable Wall\" then lastWall = v; end end Game:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(5, lastWall, lastWall.PrimaryPart.CFrame, nil, BrickColor.new(\"" .. tostring(v.PrimaryPart.BrickColor) .. "\"), nil, nil, \"" .. tostring(matRep) .. "\");\n";
  3011.                                     elseif string.match(v.Name, "Picture Sign") then
  3012.                                         fullStringOutput = fullStringOutput .. "Game:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(1, \"" .. v.Name .. "\", CFrame.new(" .. tostring(v.PrimaryPart.CFrame) .. "));\n";
  3013.                                         pictureId = tostring(v.Part.SurfaceGui["1"].Image):gsub("rbxassetid://", "");
  3014.                                         fullStringOutput = fullStringOutput .. "wait(0.5); lastWall = nil; for i,v in pairs(game:GetService(\"Workspace\").Buildings[game.Players.LocalPlayer.Name]:GetChildren()) do if string.match(v.Name, \"Picture Sign\") then lastWall = v; end end Game:GetService(\"ReplicatedStorage\").Events.MenuActionEvent:FireServer(29, lastWall, {\"" .. pictureId .. "\"});\n";
  3015.                                     elseif string.match(v.Name, "Billboard Sign") then
  3016.                                         fullStringOutput = fullStringOutput .. "Game:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(1, \"" .. v.Name .. "\", CFrame.new(" .. tostring(v.PrimaryPart.CFrame) .. "));\n";
  3017.                                         textOnSign = tostring(tostring(v.Part.SurfaceGui["1"].Text):gsub("\"", "\\\""):gsub("\\", "\\\\"));
  3018.                                         textOnSign = tostring(textOnSign):gsub("\n", "\\n");
  3019.                                         fullStringOutput = fullStringOutput .. "wait(0.5); lastWall = nil; for i,v in pairs(game:GetService(\"Workspace\").Buildings[game.Players.LocalPlayer.Name]:GetChildren()) do if string.match(v.Name, \"Billboard Sign\") then lastWall = v; end end Game:GetService(\"ReplicatedStorage\").Events.MenuActionEvent:FireServer(7, lastWall, {\"" .. textOnSign .. "\"});\n";
  3020.                                     else
  3021.                                         fullStringOutput = fullStringOutput .. "Game:GetService(\"ReplicatedStorage\").Events.BuildingEvent:FireServer(1, \"" .. v.Name .. "\", CFrame.new(" .. tostring(v.PrimaryPart.CFrame) .. "));\n";
  3022.                                     end
  3023.                                 end
  3024.                             end)
  3025.                         end
  3026.                     end)
  3027.  
  3028.                     nodeCopyName = "Node_copy_" .. variables.playerNameClicked .. math.random(1,100) .. ".txt";
  3029.                     writefile(nodeCopyName, fullStringOutput .. "\nprint(\"Lunahax - Pasted node!\")");
  3030.                     notice:Fire("Lunahax", "Saved all available data to " .. nodeCopyName);
  3031.                     wassuccessyy = true;
  3032.                 else
  3033.                     notice:Fire("Lunahax", "Error, does that player have a node?", 4);
  3034.                 end
  3035.             end)
  3036.             if wassuccessyy == false then
  3037.                 notice:Fire("Lunahax", "Error, does that player have a node?", 4);
  3038.             end
  3039.         end)
  3040.        
  3041.        
  3042.         spectatePlayerButton.Activated:Connect(function()
  3043.             if spectatePlayerButton.Text == "[OFF] Spectate Player" then
  3044.                 spectatePlayerButton.Text = "[ON] Spectate Player"
  3045.                 local PlayerToSpec = game:GetService("Players")[variables.playerNameClicked]
  3046.                 game.Workspace.CurrentCamera.CameraSubject = PlayerToSpec.Character.Humanoid;
  3047.             else
  3048.                 spectatePlayerButton.Text = "[OFF] Spectate Player"
  3049.                 local PlayerToSpec = game:GetService("Players").LocalPlayer
  3050.                 game.Workspace.CurrentCamera.CameraSubject = PlayerToSpec.Character.Humanoid;
  3051.             end
  3052.         end)
  3053.        
  3054.    
  3055.        
  3056.         -- weapon multiplier
  3057.         weaponMultiplierButton.Activated:Connect(function()
  3058.             if variables.weaponMultiplierEnabled then
  3059.                 variables.weaponMultiplierEnabled = false;
  3060.                 _G.weaponMultiplierEnabled = false;
  3061.                 weaponMultiplierButton.Text = "[OFF] Weapon Multi"
  3062.                 notice:Fire("Lunahax", "Weapon Multiplier disabled.");
  3063.             else
  3064.                 variables.weaponMultiplierEnabled = true;
  3065.                 _G.weaponMultiplierEnabled = true;
  3066.                 weaponMultiplierButton.Text = "[ON] Weapon Multi"
  3067.                 notice:Fire("Lunahax", "Weapon Multiplier enabled.");
  3068.             end
  3069.         end)
  3070.  
  3071.  
  3072.        
  3073.         kickOnModJoinButton.Activated:Connect(function()
  3074.             if variables.kickOnModJoin then
  3075.                 variables.kickOnModJoin = false;
  3076.                 kickOnModJoinButton.Text = "[OFF]Kick on Mod Join"
  3077.                 notice:Fire("Lunahax", "Mod Kick disabled.");
  3078.             else
  3079.                 variables.kickOnModJoin = true;
  3080.                 kickOnModJoinButton.Text = "[ON]Kick on Mod Join"
  3081.                 notice:Fire("Lunahax", "Mod Kick enabled.");
  3082.             end
  3083.         end)
  3084.        
  3085.        
  3086.        
  3087.         local vu = game:GetService("VirtualUser")
  3088.         game:GetService("Players").LocalPlayer.Idled:connect(function()
  3089.             if variables.antiAfkEnabled then
  3090.                 vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  3091.                 wait(1)
  3092.                 vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  3093.             end
  3094.         end)
  3095.        
  3096.        
  3097.         -- anti afk
  3098.         antiAfkButton.Activated:Connect(function()
  3099.             if variables.antiAfkEnabled then
  3100.                 variables.antiAfkEnabled = false;
  3101.                 antiAfkButton.Text = "[OFF] AntiAFK"
  3102.                 notice:Fire("Lunahax", "AntiAFK disabled.");
  3103.             else
  3104.                 variables.antiAfkEnabled = true;
  3105.                 antiAfkButton.Text = "[ON] AntiAFK"
  3106.                 notice:Fire("Lunahax", "AntiAFK enabled.");
  3107.             end
  3108.         end)
  3109.        
  3110.        
  3111.        
  3112.         spawn(function()
  3113.             while true do
  3114.                 pcall(function()
  3115.                     if variables.speedHackEnabled then
  3116.                         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100;
  3117.                     end
  3118.                 end)
  3119.                 wait();
  3120.             end
  3121.         end)
  3122.        
  3123.         autoReloadButton.Activated:Connect(function()
  3124.             if variables.autoReloadEnabled then
  3125.                 variables.autoReloadEnabled = false;
  3126.                 autoReloadButton.Text = "[OFF] AutoReload"
  3127.                 notice:Fire("Lunahax", "AutoReload disabled.");
  3128.             else
  3129.                 variables.autoReloadEnabled = true;
  3130.                 autoReloadButton.Text = "[ON] AutoReload"
  3131.                 notice:Fire("Lunahax", "AutoReload enabled.");
  3132.             end
  3133.         end)
  3134.        
  3135.        
  3136.        
  3137.         scrollingNameButton.Activated:Connect(function()
  3138.             if variables.scrollingNameEnabled then
  3139.                 variables.scrollingNameEnabled = false;
  3140.                 scrollingNameButton.Text = "[OFF] ScrName"
  3141.                 notice:Fire("Lunahax", "ScrollingName disabled.");
  3142.             else
  3143.                 variables.scrollingName = game.Players.LocalPlayer.PlayerData.RoleplayName.Value;
  3144.                 if string.len(variables.scrollingName) < 26 then
  3145.                     bufferToApply = makeBuffer((25 - string.len(variables.scrollingName)))
  3146.                     variables.scrollingName = variables.scrollingName .. bufferToApply;
  3147.                 else
  3148.                     variables.scrollingName = variables.scrollingName .. " ";
  3149.                 end
  3150.  
  3151.                 variables.scrollingNameEnabled = true;
  3152.                 scrollingNameButton.Text = "[ON] ScrName"
  3153.                 notice:Fire("Lunahax", "ScrollingName enabled.");
  3154.             end
  3155.         end)
  3156.        
  3157.         textSpeedTextBox.FocusLost:Connect(function(enterPressed, inputThatCausedFocusLost)
  3158.             value = textSpeedTextBox.Text;
  3159.             if tonumber(value) == 0 then
  3160.                 textSpeedTextBox.Text = "0.1";
  3161.             else
  3162.                 if tonumber(value) ~= nil then
  3163.                     textSpeedTextBox.Text = value;
  3164.                 else
  3165.                     textSpeedTextBox.Text = "0.5";
  3166.                 end
  3167.             end
  3168.         end)
  3169.        
  3170.        
  3171.    
  3172.        
  3173.         -- weapon inf clip
  3174.         infiniteClipButton.Activated:Connect(function()
  3175.             if variables.infiniteClipEnabled then
  3176.                 notice:Fire("Lunahax", "Infinite Clip is disabled for the meantime.");
  3177.             else
  3178.                 notice:Fire("Lunahax", "Infinite Clip is disabled for the meantime.");
  3179.             end
  3180.         end)
  3181.        
  3182.        
  3183.        
  3184.        
  3185.         hitboxExpandButton.Activated:Connect(function()
  3186.             if variables.hitboxExpandEnabled then
  3187.                 variables.hitboxExpandEnabled = false;
  3188.                 hitboxExpandButton.Text = "[OFF] Hitbox Expand"
  3189.                 for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3190.                     pcall(function()
  3191.                         if v ~= game:GetService("Players").LocalPlayer then
  3192.                             v.Character.HumanoidRootPart.Size = Vector3.new(2,2,1)
  3193.                             v.Character.HumanoidRootPart.CanCollide = true
  3194.                         end
  3195.                     end)
  3196.                 end
  3197.                 notice:Fire("Lunahax", "Hitbox Expander disabled.");
  3198.             else
  3199.                 variables.hitboxExpandEnabled = true;
  3200.                 hitboxExpandButton.Text = "[ON] Hitbox Expand"
  3201.                
  3202.                 for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  3203.                     pcall(function()
  3204.                         if v ~= game:GetService("Players").LocalPlayer then
  3205.                             v.Character.HumanoidRootPart.Size = Vector3.new(20,20,20);                     
  3206.                             v.Character.HumanoidRootPart.Transparency = 0.7;
  3207.                             v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Bright green");
  3208.                             v.Character.HumanoidRootPart.Material = "Neon";
  3209.                             v.Character.HumanoidRootPart.CanCollide = false;
  3210.                         end
  3211.                     end)
  3212.                 end
  3213.                 notice:Fire("Lunahax", "Hitbox Expander enabled.");
  3214.             end
  3215.         end)
  3216.        
  3217.         game:GetService("Players").PlayerAdded:Connect(function(v)
  3218.             if variables.hitboxExpandEnabled then
  3219.                 v.Character.HumanoidRootPart.Size = Vector3.new(20,20,20);                     
  3220.                 v.Character.HumanoidRootPart.Transparency = 0.7;
  3221.                 v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Bright green");
  3222.                 v.Character.HumanoidRootPart.Material = "Neon";
  3223.                 v.Character.HumanoidRootPart.CanCollide = false;
  3224.             end
  3225.         end)
  3226.        
  3227.        
  3228.         deathBarrierBypassButton.Activated:Connect(function()
  3229.             if variables.deathBarrierBypassEnabled then
  3230.                 variables.deathBarrierBypassEnabled = false;
  3231.                 _G.deathBarrierBypassEnabled = false;
  3232.                 deathBarrierBypassButton.Text = "[OFF] Bypass Barriers"
  3233.                 notice:Fire("Lunahax", "Death Barrier Bypass disabled.");
  3234.             else
  3235.                 variables.deathBarrierBypassEnabled = true;
  3236.                 _G.deathBarrierBypassEnabled = true;
  3237.                 deathBarrierBypassButton.Text = "[ON] Bypass Barriers"
  3238.                 notice:Fire("Lunahax", "Death Barrier Bypass enabled.");
  3239.             end
  3240.         end)
  3241.        
  3242.        
  3243.        
  3244.         speedHackButton.Activated:Connect(function()
  3245.             if variables.speedHackEnabled then
  3246.                 if _G.bypassEnabled then
  3247.                     variables.speedHackEnabled = false;
  3248.                     speedHackButton.Text = "[OFF] SpeedHack"
  3249.                     notice:Fire("Lunahax", "SpeedHack disabled.");
  3250.                     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16;
  3251.                 else
  3252.                     variables.speedHackEnabled = false;
  3253.                     notice:Fire("Lunahax", "Coulden't load nessecary files, not enabling for your account safety", 4);
  3254.                     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16;
  3255.                 end
  3256.             else
  3257.                 if _G.bypassEnabled then
  3258.                     variables.speedHackEnabled = true;
  3259.                     speedHackButton.Text = "[ON] SpeedHack"
  3260.                     notice:Fire("Lunahax", "SpeedHack enabled.");
  3261.                     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16;
  3262.                 else
  3263.                     variables.speedHackEnabled = false;
  3264.                     notice:Fire("Lunahax", "Coulden't load nessecary files, not enabling for your account safety", 4);
  3265.                     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16;
  3266.                 end
  3267.             end
  3268.         end)
  3269.  
  3270.        
  3271.        
  3272.         -- item sniper
  3273.         itemSniperButton.Activated:Connect(function()
  3274.             if variables.itemSniperEnabled then
  3275.                 variables.itemSniperEnabled = false;
  3276.                 itemSniperButton.Text = "[OFF] Item Sniper"
  3277.                 notice:Fire("Lunahax", "Item Sniper disabled.");
  3278.             else
  3279.                 variables.itemSniperEnabled = true;
  3280.                 itemSniperButton.Text = "[ON] Item Sniper"
  3281.                 notice:Fire("Lunahax", "Item Sniper enabled.");
  3282.             end
  3283.         end)
  3284.  
  3285.         function GetClosestItemTwo()
  3286.             local lplayer = game.Players.LocalPlayer
  3287.             local Character = lplayer.Character
  3288.             local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")
  3289.             if not (Character or HumanoidRootPart) then return end
  3290.             local TargetDistance = math.huge
  3291.             local Target
  3292.             for i,v in ipairs(game:GetService("Workspace").Entities:GetChildren()) do
  3293.                 pcall(function()
  3294.                     local mesh = nil;  
  3295.                     pcall(function()
  3296.                         if v.ManualWeld.Name ~= "" then
  3297.                             mesh = v.ManualWeld
  3298.                         end
  3299.                     end)
  3300.                     if mesh == nil then
  3301.                         mesh = v.Handle
  3302.                     end
  3303.                     if mesh then
  3304.                         local TargetHRP = mesh
  3305.                         local mag = (HumanoidRootPart.Position - TargetHRP.Position).magnitude
  3306.                         if mag < TargetDistance then
  3307.                             TargetDistance = mag
  3308.                             Target = v
  3309.                         end
  3310.                     end
  3311.                 end)
  3312.             end
  3313.  
  3314.             return Target
  3315.         end
  3316.  
  3317.         spawn(function()
  3318.             while true do
  3319.                 pcall(function()
  3320.                     if isDoingItem then
  3321.                         game.Players.LocalPlayer.Character.Humanoid:ChangeState(11);
  3322.                     end
  3323.                 end)
  3324.                 wait();
  3325.             end
  3326.         end)
  3327.        
  3328.        
  3329.         local isDoingItem = false;
  3330.         game:GetService("Workspace").Entities.ChildAdded:Connect(function(child)
  3331.             if variables.itemSniperEnabled then
  3332.                 pcall(function()
  3333.                     local cFrameRn = nil;
  3334.                     local lmaozz = 0;
  3335.                    
  3336.                     wait(1);
  3337.                     if string.match(child.Name, "Shipment") then
  3338.                        
  3339.                     else
  3340.                         if isDoingItem then
  3341.                        
  3342.                         else
  3343.                             nameOfItem = child.Int.Value;
  3344.                             local Player = game:GetService("Players").LocalPlayer
  3345.                             if child.ToolOwner.Value == Player.Name then
  3346.                            
  3347.                             else
  3348.                                 if isUserFriend(child.ToolOwner.Value) then
  3349.                                
  3350.                                 else
  3351.                                
  3352.                                     local mainPart = child.PrimaryPart;
  3353.                                     local character = Player.Character or Player.CharacterAdded:Wait()
  3354.                                     local HumanoidRootPart = character:WaitForChild("HumanoidRootPart")
  3355.                                     local Humanoid =  character:WaitForChild("Humanoid")
  3356.                                     cFrameRn = CFrame.new(Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.X, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Y, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z))
  3357.                                    
  3358.                                     print(mainPart.CFrame.X);
  3359.                                    
  3360.                                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(mainPart.CFrame.X, mainPart.CFrame.Y, mainPart.CFrame.Z))
  3361.                                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame*CFrame.Angles(0,math.rad(90),0)
  3362.                                    
  3363.                                     variables.noclipBool = true;
  3364.                                     isDoingItem = true;
  3365.                                    
  3366.                                     spawn(function()
  3367.                                         while isDoingItem do
  3368.                                             wait(1);
  3369.                                             lmaozz = lmaozz + 1;
  3370.                                             if lmaozz > 10 then
  3371.                                                 isDoingItem = false;
  3372.                                                 variables.noclipBool = false;
  3373.                                                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(cFrameRn.X, cFrameRn.Y, cFrameRn.Z));
  3374.                                                 controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls()
  3375.                                                 controls:Enable()
  3376.                                             end
  3377.                                         end
  3378.                                     end)
  3379.                                    
  3380.                                     local doneFirstThingy = false;
  3381.                                    
  3382.                                    
  3383.                                    
  3384.                                     while (child) and (isDoingItem) do
  3385.                                         local cExists = false
  3386.                                        
  3387.                                         for i,v in pairs(game:GetService("Workspace").Entities:GetChildren()) do
  3388.                                             if child == v then
  3389.                                                 cExists = true;
  3390.                                             end
  3391.                                         end
  3392.                                         if cExists then
  3393.                                             if doneFirstThingy then
  3394.                                                
  3395.                                             else
  3396.                                                 doneFirstThingy = true;
  3397.                                             end
  3398.                                             Game:GetService("ReplicatedStorage").Events.InteractEvent:FireServer(child);
  3399.                                         else
  3400.                                             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(cFrameRn.X, cFrameRn.Y, cFrameRn.Z))
  3401.                                             break;
  3402.                                         end
  3403.                                         Player.Character.Humanoid:LoadAnimation(game:GetService("ReplicatedStorage").Animations.WheelAnims.Lay):Play();
  3404.                                         local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls()
  3405.                                         controls:Disable()
  3406.                                         wait(0.1)
  3407.                                     end
  3408.                                    
  3409.                                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(cFrameRn.X, cFrameRn.Y, cFrameRn.Z))
  3410.                                    
  3411.                                    
  3412.                                     wait(1);
  3413.                                     if game.Players.LocalPlayer.Character.Humanoid.FloorMaterial ~= nil and game.Players.LocalPlayer.Character.Humanoid.FloorMaterial ~= Enum.Material.Air then
  3414.                                         pcall(function()
  3415.                                             local amtInInv = tonumber(string.split(game:GetService("Players")[game.Players.LocalPlayer.Name].PlayerGui.Client.Inventory.Slots.Amt.Text, "/")[1]);
  3416.                                             if amtInInv >= 11 then
  3417.                                                
  3418.                                             else
  3419.                                                 if game:GetService("Players").LocalPlayer.Flagged.Value == false then
  3420.                                                     print(nameOfItem);
  3421.                                                     theitm = game.Players.LocalPlayer.Backpack[nameOfItem];
  3422.                                                     game.Players.LocalPlayer.Character.Humanoid:EquipTool(theitm)
  3423.                                                     wait(0.1)
  3424.                                                     Game:GetService("ReplicatedStorage").Events.WeaponBackEvent:FireServer(true, theitm)
  3425.                                                     wait(0.1)
  3426.                                                     Game:GetService("ReplicatedStorage").Events.InventoryEvent:FireServer(1)
  3427.                                                     wait(0.1)
  3428.                                                     Game:GetService("ReplicatedStorage").Events.WeaponBackEvent:FireServer(false, theitm)
  3429.                                                     wait(0.1)
  3430.                                                     Game:GetService("ReplicatedStorage").Events.InventoryEvent:FireServer(2, GetClosestItemTwo())
  3431.                                                     wait(1);
  3432.                                                     Game:GetService("ReplicatedStorage").Events.InventoryEvent:FireServer(2, GetClosestItemTwo())
  3433.                                                     wait(1);
  3434.                                                     Game:GetService("ReplicatedStorage").Events.InteractEvent:FireServer(GetClosestItemTwo())
  3435.                                                 end
  3436.                                             end
  3437.                                         end)
  3438.                                     end
  3439.                                    
  3440.                                     isDoingItem = false
  3441.  
  3442.                                    
  3443.                                    
  3444.                                     controls:Enable()
  3445.                                     variables.noclipBool = false;
  3446.                                     local Players = game:GetService("Players")
  3447.                                     local localPlayer = Players.LocalPlayer
  3448.                                     local humanoid = localPlayer.Character:WaitForChild("Humanoid")
  3449.                                     local AnimationTracks = humanoid:GetPlayingAnimationTracks()
  3450.                                     for i, track in pairs (AnimationTracks) do
  3451.                                         track:Stop()
  3452.                                     end
  3453.                                     isDoingItem = false
  3454.                                 end
  3455.                             end
  3456.                         end
  3457.                     end
  3458.                 end)
  3459.                 isDoingItem = false
  3460.                 variables.noclipBool = false;
  3461.                 pcall(function()
  3462.                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(cFrameRn.X, cFrameRn.Y, cFrameRn.Z))
  3463.                 end)
  3464.                 local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls()
  3465.                 controls:Enable()
  3466.                 local Players = game:GetService("Players")
  3467.                 local localPlayer = Players.LocalPlayer
  3468.                 local humanoid = localPlayer.Character:WaitForChild("Humanoid")
  3469.                 local AnimationTracks = humanoid:GetPlayingAnimationTracks()
  3470.                 for i, track in pairs (AnimationTracks) do
  3471.                     track:Stop()
  3472.                 end
  3473.             end
  3474.         end)
  3475.        
  3476.        
  3477.         nodeKillButton.Activated:Connect(function()
  3478.             if variables.isNodeKillEnabled then
  3479.                 variables.isNodeKillEnabled = false;
  3480.                 nodeKillButton.Text = "[OFF] NodeKill"
  3481.                 notice:Fire("Lunahax", "NodeKill Disabled.");
  3482.             else
  3483.                 variables.isNodeKillEnabled = true;
  3484.                 nodeKillButton.Text = "[ON] NodeKill"
  3485.                 notice:Fire("Lunahax", "NodeKill Enabled.");
  3486.             end
  3487.         end)
  3488.  
  3489.         --aimbot click
  3490.         aimbotButton.Activated:Connect(function()
  3491.             if variables.aimbotEnabled then
  3492.                 variables.aimbotEnabled = false;
  3493.                 aimbotButton.Text = "[OFF] (q) Aimbot"
  3494.                 notice:Fire("Lunahax", "Aimbot disabled.");
  3495.             else
  3496.                 variables.aimbotEnabled = true;
  3497.                 aimbotButton.Text = "[ON] (q) Aimbot"
  3498.                 notice:Fire("Lunahax", "Aimbot enabled.");
  3499.             end
  3500.         end)
  3501.  
  3502.  
  3503.         --only flagged click
  3504.         onlyTargetFlaggedButton.Activated:Connect(function()
  3505.             if variables.onlyFlagged then
  3506.                 variables.onlyFlagged = false;
  3507.                 onlyTargetFlaggedButton.Text = "[OFF] Only flagged"
  3508.                 notice:Fire("Lunahax", "Will target everyone.");
  3509.             else
  3510.                 variables.onlyFlagged = true;
  3511.                 onlyTargetFlaggedButton.Text = "[ON] Only flagged"
  3512.                 notice:Fire("Lunahax", "Will only target flagged.");
  3513.             end
  3514.         end)
  3515.  
  3516.        
  3517.         --clicktp click
  3518.         clickTpButton.Activated:Connect(function()
  3519.             if variables.clickTpEnabled then
  3520.                 variables.clickTpEnabled = false;
  3521.                 clickTpButton.Text = "[OFF] (x) MouseTP"
  3522.                 notice:Fire("Lunahax", "MouseTP disabled.");
  3523.             else
  3524.                 variables.clickTpEnabled = true;
  3525.                 clickTpButton.Text = "[ON] (x) MouseTP"
  3526.                 notice:Fire("Lunahax", "MouseTP enabled.");
  3527.             end
  3528.         end)
  3529.  
  3530.  
  3531.        
  3532.         --global chat click
  3533.         globalChatButton.Activated:Connect(function()
  3534.             if variables.globalChat then
  3535.                 variables.globalChat = false;
  3536.                 globalChatButton.Text = "[OFF] Global chat"
  3537.                 notice:Fire("Lunahax", "Global chat  disabled.");
  3538.             else
  3539.                 variables.globalChat = true;
  3540.                 globalChatButton.Text = "[ON] Global chat"
  3541.                 notice:Fire("Lunahax", "Global chat enabled.");
  3542.             end
  3543.         end)
  3544.        
  3545.         spawn(function()
  3546.             pcall(function()               
  3547.                 function deathreturnnn()
  3548.                     game.Players.LocalPlayer.Character.Humanoid.Died:Connect(function()
  3549.                         pcall(function()
  3550.                             if variables.deathReturnEnabled then
  3551.                                 _G.nlrLoop = true;
  3552.                                 local cFrameRn = nil;
  3553.                                 cFrameRn = CFrame.new(Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.X, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Y, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z));
  3554.                                 local healthAmt = 0;
  3555.                                 while healthAmt == 0 do
  3556.                                     wait(1);
  3557.                                     local humroot = game.Players.LocalPlayer.Character.HumanoidRootPart;
  3558.                                     healthAmt = game.Players.LocalPlayer.Character.Humanoid.Health;
  3559.                                 end
  3560.                                 wait();
  3561.                                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(cFrameRn.X, cFrameRn.Y, cFrameRn.Z)
  3562.                                 notice:Fire("Lunahax", "Respawned back to death point!");
  3563.                             end
  3564.                         end)
  3565.                         deathreturnnn();
  3566.                     end)
  3567.                 end
  3568.                 deathreturnnn();
  3569.             end)
  3570.         end)
  3571.        
  3572.         --death return click
  3573.         deathReturnButton.Activated:Connect(function()
  3574.             if variables.deathReturnEnabled then
  3575.                 variables.deathReturnEnabled = false;
  3576.                 deathReturnButton.Text = "[OFF] Death Return"
  3577.                 notice:Fire("Lunahax", "Death Return disabled.");
  3578.             else
  3579.                 variables.deathReturnEnabled = true;
  3580.                 deathReturnButton.Text = "[ON] Death Return"
  3581.                 notice:Fire("Lunahax", "Death Return enabled.");
  3582.             end
  3583.         end)
  3584.        
  3585.  
  3586.  
  3587.         --rageaura, red players click
  3588.         rageAuraRedButton.Activated:Connect(function()
  3589.             if _G.redRageAuraEnabled then
  3590.                 _G.redRageAuraEnabled = false;
  3591.                 rageAuraRedButton.Text = "[OFF] Red RageAura"
  3592.                 notice:Fire("Lunahax", "Red RageAura disabled.");
  3593.             else
  3594.                 _G.redRageAuraEnabled = true;
  3595.                 rageAuraRedButton.Text = "[ON] Red RageAura"
  3596.                 notice:Fire("Lunahax", "Red RageAura enabled.");
  3597.             end
  3598.         end)
  3599.        
  3600.        
  3601.         --rageaura, yellow players click
  3602.         yellowRageAuraRedButton.Activated:Connect(function()
  3603.             if _G.yellowRageAuraEnabled then
  3604.                 _G.yellowRageAuraEnabled = false;
  3605.                 yellowRageAuraRedButton.Text = "[OFF] Yellow RageAura"
  3606.                 notice:Fire("Lunahax", "Yellow RageAura disabled.");
  3607.             else
  3608.                 _G.yellowRageAuraEnabled = true;
  3609.                 yellowRageAuraRedButton.Text = "[ON] Yellow RageAura"
  3610.                 notice:Fire("Lunahax", "Yellow RageAura enabled.");
  3611.             end
  3612.         end)
  3613.  
  3614.  
  3615.  
  3616.         --autocola click
  3617.         autoDrinkButton.Activated:Connect(function()
  3618.             if variables.autoColaDrink then
  3619.                 variables.autoColaDrink = false;
  3620.                 autoDrinkButton.Text = "[OFF] AutoDrink"
  3621.                 notice:Fire("Lunahax", "Auto Cola Drink disabled.");
  3622.             else
  3623.                 variables.autoColaDrink = true;
  3624.                 autoDrinkButton.Text = "[ON] AutoDrink"
  3625.                 notice:Fire("Lunahax", "Auto Cola Drink enabled.");
  3626.             end
  3627.         end)
  3628.        
  3629.        
  3630.         function NoteRecieved(p1, p2, p3)
  3631.             pcall(function()
  3632.                 if string.match(tostring(p2), "All 6 drones used") and variables.autoAureus then
  3633.                     notice:Fire("Lunahax", "Disabling auto-aureus!");
  3634.                     variables.autoAureus = false;
  3635.                     autoAureusButton.Text = "[OFF] AutoAureus"
  3636.                 end
  3637.             end)
  3638.         end
  3639.         game.ReplicatedStorage.Events:WaitForChild("NoteServer").OnClientEvent:connect(NoteRecieved);
  3640.        
  3641.        
  3642.         --autocornfarm click
  3643.         autoCornFarmButton.Activated:Connect(function()
  3644.             if variables.autoCornFarm then
  3645.                 variables.autoCornFarm = false;
  3646.                 autoCornFarmButton.Text = "[OFF] AutoCornFarm"
  3647.                 notice:Fire("Lunahax", "Auto Corn Farm disabled.");
  3648.             else
  3649.                 variables.autoCornFarm = true;
  3650.                 autoCornFarmButton.Text = "[ON] AutoCornFarm"
  3651.                 notice:Fire("Lunahax", "Auto Corn Farm enabled.");
  3652.             end
  3653.         end)
  3654.        
  3655.        
  3656.         autoScrapFarmButton.Activated:Connect(function()
  3657.             if variables.autoScrapFarm then
  3658.                 variables.autoScrapFarm = false;
  3659.                 autoScrapFarmButton.Text = "[OFF] AutoScrapFarm"
  3660.                 notice:Fire("Lunahax", "Auto Scrap Farm disabled.");
  3661.             else
  3662.                 variables.autoScrapFarm = true;
  3663.                 autoScrapFarmButton.Text = "[ON] AutoScrapFarm"
  3664.                 notice:Fire("Lunahax", "Auto Scrap Farm enabled.");
  3665.             end
  3666.         end)
  3667.        
  3668.        
  3669.         autoPrinterButton.Activated:Connect(function()
  3670.             if variables.autoPrinterFarm then
  3671.                 variables.autoPrinterFarm = false;
  3672.                 autoPrinterButton.Text = "[OFF] AutoPrinter"
  3673.                 notice:Fire("Lunahax", "Auto Printer Farm disabled.");
  3674.             else
  3675.                 variables.autoPrinterFarm = true;
  3676.                 autoPrinterButton.Text = "[ON] AutoPrinter"
  3677.                 notice:Fire("Lunahax", "Auto Printer Farm enabled.");
  3678.             end
  3679.         end)
  3680.        
  3681.        
  3682.         autoAureusButton.Activated:Connect(function()
  3683.             if variables.autoAureus then
  3684.                 variables.autoAureus = false;
  3685.                 autoAureusButton.Text = "[OFF] AutoAureus"
  3686.                 notice:Fire("Lunahax", "AutoAureus disabled.");
  3687.             else
  3688.                 variables.autoAureus = true;
  3689.                 autoAureusButton.Text = "[ON] AutoAureus"
  3690.                 notice:Fire("Lunahax", "AutoAureus enabled.");
  3691.             end
  3692.         end)
  3693.        
  3694.        
  3695.         --AutoScav click
  3696.         autoScavButton.Activated:Connect(function()
  3697.             if variables.autoScavEnabled then
  3698.                 variables.autoScavEnabled = false;
  3699.                 autoScavButton.Text = "[OFF] AutoScav"
  3700.                 notice:Fire("Lunahax", "Auto Scavenge Crate disabled.");
  3701.             else
  3702.                 variables.autoScavEnabled = true;
  3703.                 autoScavButton.Text = "[ON] AutoScav"
  3704.                 notice:Fire("Lunahax", "Auto Scavenge Crate enabled.");
  3705.             end
  3706.         end)
  3707.        
  3708.        
  3709.  
  3710.         -- nearest car button
  3711.         getInNearestCarButton.Activated:Connect(function()
  3712.             function GetClosestVehicle()
  3713.                 local lplayer = game.Players.LocalPlayer
  3714.                 local Character = lplayer.Character
  3715.                 local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")
  3716.                 if not (Character or HumanoidRootPart) then return end
  3717.                 local TargetDistance = math.huge
  3718.                 local Target
  3719.                 for i,v in ipairs(game:GetService("Workspace").Vehicles:GetChildren()) do
  3720.                     pcall(function()
  3721.                         if v.Main then
  3722.                             local TargetHRP = v.Main
  3723.                             local mag = (HumanoidRootPart.Position - TargetHRP.Position).magnitude
  3724.                             if mag < TargetDistance then
  3725.                                 TargetDistance = mag
  3726.                                 Target = v
  3727.                             end
  3728.                         end
  3729.                     end)
  3730.                 end
  3731.  
  3732.                 return Target
  3733.             end
  3734.             Game:GetService("ReplicatedStorage").Events.InteractEvent:FireServer(GetClosestVehicle().VehicleSeat);
  3735.             notice:Fire("Lunahax", "You are now driving the closest not-in-use car!");
  3736.         end)
  3737.  
  3738.        
  3739.         -- unlock all passenger button
  3740.         unlockPassengerButton.Activated:Connect(function()
  3741.             for i,v in ipairs(game:GetService("Workspace").Vehicles:GetChildren()) do
  3742.                 pcall(function()
  3743.                     v.SeatLocks.Value = false;
  3744.                 end)
  3745.             end
  3746.             notice:Fire("Lunahax", "All passenger seats have now been unlocked!");
  3747.         end)
  3748.  
  3749.        
  3750.        
  3751.         --noclip click
  3752.         noclipButton.Activated:Connect(function()
  3753.             if variables.noclipBool then
  3754.                 variables.noclipBool = false;
  3755.                 noclipButton.Text = "[OFF] Noclip"
  3756.                 notice:Fire("Lunahax", "Noclip disabled.");
  3757.             else
  3758.                 variables.noclipBool = true;
  3759.                 game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  3760.                 noclipButton.Text = "[ON] Noclip"
  3761.                 notice:Fire("Lunahax", "Noclip enabled.");
  3762.             end
  3763.         end)
  3764.         game:GetService('RunService').Stepped:connect(function()
  3765.             if variables.noclipBool then
  3766.                 game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  3767.             end
  3768.         end)
  3769.  
  3770.  
  3771.  
  3772.         --------------------
  3773.         -- client side jetpack
  3774.  
  3775.         clientJPButton.Activated:Connect(function()
  3776.             local clientzzz = game:GetService("Players").LocalPlayer
  3777.             local model = Instance.new("Model")
  3778.             model.Name = "Jetpack"
  3779.             local main = Instance.new("Part")
  3780.             main.Name = "Main"
  3781.             main.Parent = model
  3782.             model.Parent = game:GetService("Workspace")[clientzzz.Name].Util
  3783.            
  3784.             notice:Fire("Lunahax", "Done! Press y to activate jetpack!");
  3785.         end)
  3786.  
  3787.         --------------------
  3788.         -- spywatch bypass
  3789.  
  3790.         spywatchBypassButton.Activated:Connect(function()
  3791.             local wrkspace = game:GetService("Workspace");
  3792.             local Player = game:GetService("Players").LocalPlayer
  3793.  
  3794.             local foundWatch = false
  3795.  
  3796.             for i,v in pairs(wrkspace[Player.Name]:GetChildren()) do
  3797.                 if v.Name == "Spy Watch" then
  3798.                     game.ReplicatedStorage.Events.ToolsEvent:FireServer(16, true, v);
  3799.                     wait(2)
  3800.                     Player.Character.Head.Transparency = 0;
  3801.                     notice:Fire("Lunahax", "You are now invisible!");
  3802.                     foundWatch = true
  3803.                     break
  3804.                 end
  3805.             end
  3806.             if foundWatch == false then
  3807.                 notice:Fire("Lunahax", "Please hold a spywatch!", 4);
  3808.             end
  3809.         end)
  3810.  
  3811.         --------------------
  3812.         -- inf ammo
  3813.         infiniteAmmoButton.Activated:Connect(function()
  3814.             if variables.infSmgAmmo then
  3815.                 variables.infSmgAmmo = false;
  3816.                 variables.infRifAmmo = false;
  3817.                 variables.infPisAmmo = false;
  3818.                 local Player = game:GetService("Players").LocalPlayer
  3819.                 Player.PlayerData["Pistol Ammo"].RobloxLocked = false;
  3820.                 Player.PlayerData["SMG Ammo"].RobloxLocked = false;
  3821.                 Player.PlayerData["Rifle Ammo"].RobloxLocked = false;
  3822.                 infiniteAmmoButton.Text = "[OFF] InfiniteAmmo"
  3823.                 notice:Fire("Lunahax", "Infinite Ammo disabled.");
  3824.             else
  3825.                 variables.infSmgAmmo = true;
  3826.                 variables.infRifAmmo = true;
  3827.                 variables.infPisAmmo = true;
  3828.                 local Player = game:GetService("Players").LocalPlayer
  3829.                 Player.PlayerData["Pistol Ammo"].Value = 1000;
  3830.                 Player.PlayerData["Pistol Ammo"].RobloxLocked = true;
  3831.                 Player.PlayerData["SMG Ammo"].Value = 1000;
  3832.                 Player.PlayerData["SMG Ammo"].RobloxLocked = true;
  3833.                 Player.PlayerData["Rifle Ammo"].Value = 1000;
  3834.                 Player.PlayerData["Rifle Ammo"].RobloxLocked = true;
  3835.                 infiniteAmmoButton.Text = "[ON] InfiniteAmmo"
  3836.                 notice:Fire("Lunahax", "Infinite Ammo enabled");
  3837.             end
  3838.         end)
  3839.        
  3840.         game.Players.LocalPlayer.PlayerData["Hunger"].Changed:connect(function()
  3841.             if variables.infHunger then
  3842.                 game.Players.LocalPlayer.PlayerData["Hunger"].Value = 100;
  3843.                 game.Players.LocalPlayer.PlayerData["Hunger"].RobloxLocked = true;
  3844.             end
  3845.         end)
  3846.        
  3847.  
  3848.         infiniteHungerButton.Activated:Connect(function()
  3849.             if variables.infHunger then
  3850.                 variables.infHunger = false;
  3851.                 game.Players.LocalPlayer.PlayerData["Hunger"].RobloxLocked = false;
  3852.                 infiniteHungerButton.Text = "[OFF] InfiniteHunger"
  3853.                 notice:Fire("Lunahax", "Infinite Hunger disabled.");
  3854.             else
  3855.                 variables.infHunger = true;
  3856.                 game.Players.LocalPlayer.PlayerData["Hunger"].Value = 100;
  3857.                 game.Players.LocalPlayer.PlayerData["Hunger"].RobloxLocked = true;
  3858.                 infiniteHungerButton.Text = "[ON] InfiniteHunger"
  3859.                 notice:Fire("Lunahax", "Infinite Hunger enabled");
  3860.             end
  3861.         end)
  3862.        
  3863.        
  3864.  
  3865.         spawn(function()
  3866.             local Player = game:GetService("Players").LocalPlayer
  3867.             Player.PlayerData["SMG Ammo"].Changed:Connect(function()
  3868.                 if variables.infSmgAmmo then
  3869.                     Player.PlayerData["SMG Ammo"].Value = 1000;
  3870.                     Player.PlayerData["SMG Ammo"].RobloxLocked = true;
  3871.                 end
  3872.             end)
  3873.             Player.PlayerData["Pistol Ammo"].Changed:Connect(function()
  3874.                 if variables.infPisAmmo then
  3875.                     Player.PlayerData["Pistol Ammo"].Value = 1000;
  3876.                     Player.PlayerData["Pistol Ammo"].RobloxLocked = true;
  3877.                 end
  3878.             end)
  3879.             Player.PlayerData["Rifle Ammo"].Changed:Connect(function()
  3880.                 if variables.infRifAmmo then
  3881.                     Player.PlayerData["Rifle Ammo"].Value = 1000;
  3882.                     Player.PlayerData["Rifle Ammo"].RobloxLocked = true;
  3883.                 end
  3884.             end)
  3885.         end);
  3886.  
  3887.  
  3888.         function SecondsToClock(seconds)
  3889.           local seconds = tonumber(seconds)
  3890.  
  3891.           if seconds <= 0 then
  3892.             return "00:00:00";
  3893.           else
  3894.             hours = string.format("%02.f", math.floor(seconds/3600));
  3895.             mins = string.format("%02.f", math.floor(seconds/60 - (hours*60)));
  3896.             secs = string.format("%02.f", math.floor(seconds - hours*3600 - mins *60));
  3897.             return hours..":"..mins..":"..secs
  3898.           end
  3899.         end
  3900.  
  3901.  
  3902.         function removePlayerESP(val)
  3903.             for i,v in pairs(variables.espIgnored) do
  3904.                  if v == val then
  3905.                       table.remove(variables.espIgnored, i)
  3906.                  end
  3907.             end
  3908.         end
  3909.  
  3910.  
  3911.         killPlayer.Activated:Connect(function()
  3912.             local Player = game:GetService("Players").LocalPlayer
  3913.             local character = Player.Character or Player.CharacterAdded:Wait()
  3914.             local HumanoidRootPart = character:WaitForChild("HumanoidRootPart")
  3915.             local Humanoid =  character:WaitForChild("Humanoid")
  3916.             local personClicked = game:GetService("Players")[variables.playerNameClicked]
  3917.             local hasDoneCall = false;
  3918.  
  3919.  
  3920.             pcall(function()
  3921.                 if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool").Handle.Reload then
  3922.                     hasDoneCall = true;
  3923.                     if game:GetService("Players").LocalPlayer.Flagged.Value then
  3924.                         if variables.onlyFlagged and personClicked.Flagged.Value or variables.onlyFlagged == false then
  3925.                             local cFrameRn = nil;
  3926.                             cFrameRn = CFrame.new(Vector3.new(HumanoidRootPart.CFrame.X, HumanoidRootPart.CFrame.Y, HumanoidRootPart.CFrame.Z));
  3927.                             local theirChar = personClicked.Character
  3928.                             local theirRoot = theirChar:WaitForChild("HumanoidRootPart")
  3929.                             HumanoidRootPart.CFrame = theirRoot.CFrame;
  3930.                            
  3931.                             pcall(function()
  3932.                                 wait(1)
  3933.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[variables.playerNameClicked].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[variables.playerNameClicked].Humanoid, 26, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  3934.                                 wait(0.2)
  3935.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[variables.playerNameClicked].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[variables.playerNameClicked].Humanoid, 26, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  3936.                                 wait(0.2)
  3937.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[variables.playerNameClicked].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[variables.playerNameClicked].Humanoid, 26, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  3938.                                 wait(0.2)
  3939.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[variables.playerNameClicked].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[variables.playerNameClicked].Humanoid, 26, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  3940.                                 wait(0.2);
  3941.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[variables.playerNameClicked].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[variables.playerNameClicked].Humanoid, 26, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  3942.                                 wait(0.2);
  3943.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[variables.playerNameClicked].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[variables.playerNameClicked].Humanoid, 26, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  3944.                                 wait(0.2);
  3945.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[variables.playerNameClicked].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[variables.playerNameClicked].Humanoid, 26, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  3946.                             end)
  3947.                             HumanoidRootPart.CFrame = CFrame.new(cFrameRn.X, cFrameRn.Y, cFrameRn.Z)
  3948.                             notice:Fire("Lunahax", "Player has been killed!");
  3949.                         else
  3950.                             notice:Fire("Lunahax", "Player is not flagged and you have 'Only Flagged' enabled!", 4);
  3951.                         end
  3952.                     else
  3953.                         notice:Fire("Lunahax", "Please flag up!", 4);
  3954.                     end
  3955.                 else
  3956.                     notice:Fire("Lunahax", "Please equip a gun!", 4);
  3957.                 end
  3958.             end)
  3959.             if hasDoneCall == false then
  3960.                 notice:Fire("Lunahax", "Please equip a gun!", 4);
  3961.             end
  3962.         end)
  3963.        
  3964.        
  3965.         earRapePlayersButton.Activated:Connect(function()
  3966.             notice:Fire("Lunahax", "Loading, please wait...");
  3967.             for i1,v1 in pairs(game.Players:GetChildren()) do
  3968.                 pcall(function()
  3969.                     for i=1,100 do
  3970.                         game.ReplicatedStorage.Events:WaitForChild("mpib"):FireServer(v1.Character.HumanoidRootPart, 13);
  3971.                         wait();
  3972.                     end
  3973.                 end)
  3974.             end
  3975.            
  3976.             notice:Fire("Lunahax", "Ear rape'd all players!");
  3977.         end)
  3978.        
  3979.        
  3980.         local http = game:GetService('HttpService')
  3981.         function getOutfits(id)
  3982.             local data
  3983.             local url = 'https://avatar.rprxy.xyz/v1/users/'..id..'/avatar'
  3984.             data =  http:JSONDecode(game:HttpGet(url,true))
  3985.             local tables = data.assets
  3986.             local stuff = {}
  3987.             for i = 1,#tables do
  3988.                 local subTables = tables[i]
  3989.                 local id = subTables["id"]
  3990.                 table.insert(stuff,id)
  3991.             end
  3992.            return stuff
  3993.         end
  3994.        
  3995.         stealOutfitButton.Activated:Connect(function()
  3996.             local playerToSteal = game:GetService("Players")[variables.playerNameClicked];
  3997.             local daOutfits = getOutfits(playerToSteal.UserId);
  3998.             local curOutfitString = "";
  3999.             for _asd, vp in pairs(daOutfits) do
  4000.                 curOutfitString = curOutfitString .. vp .. ","
  4001.             end
  4002.             Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(8, { playerToSteal.PlayerData.RoleplayName.Value, curOutfitString .. playerToSteal.PlayerData.Outfit.Value, true });
  4003.             notice:Fire("Lunahax", "You have stolen their outfit!");
  4004.         end)
  4005.        
  4006.         stealOutfitFromTextButton.Activated:Connect(function()
  4007.             local Players = game:GetService("Players")
  4008.             local playerToSteal = Players:GetUserIdFromNameAsync(joinGameUserTextbox.Text)
  4009.             local daOutfits = getOutfits(playerToSteal);
  4010.             local curOutfitString = "";
  4011.             for _asd, vp in pairs(daOutfits) do
  4012.                 curOutfitString = curOutfitString .. vp .. ","
  4013.             end
  4014.             Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(8, { joinGameUserTextbox.Text, curOutfitString, true });
  4015.             notice:Fire("Lunahax", "You have stolen their outfit!");
  4016.         end)
  4017.            
  4018.        
  4019.        
  4020.         copyOutfitButton.Activated:Connect(function()
  4021.             local playerToSteal = game:GetService("Players")[variables.playerNameClicked];
  4022.             syn.write_clipboard(playerToSteal.PlayerData.Outfit.Value)
  4023.             if playerToSteal.PlayerData.Outfit.Value == "" then
  4024.                 local daOutfits = getOutfits(playerToSteal.UserId);
  4025.                 local curOutfitString = "";
  4026.                 for _asd, vp in pairs(daOutfits) do
  4027.                     curOutfitString = curOutfitString .. vp .. ","
  4028.                 end
  4029.                 syn.write_clipboard(tostring(curOutfitString .. playerToSteal.PlayerData.Outfit.Value));
  4030.             end
  4031.             notice:Fire("Lunahax", "Copied their outfit id's to clipboard!");
  4032.         end)
  4033.  
  4034.         copyNodeSongButton.Activated:Connect(function()
  4035.             local didItWork = false;
  4036.             pcall(function()
  4037.                 local currentSong = string.gsub(game:GetService("Workspace").Buildings[variables.playerNameClicked].Jukebox.Speaker.Sound.SoundId, "rbxassetid://", "")
  4038.                 syn.write_clipboard(currentSong)
  4039.                 notice:Fire("Lunahax", "Copied their jukebox song id to clipboard!");
  4040.                 didItWork = true;
  4041.             end)
  4042.             if didItWork == false then
  4043.                 notice:Fire("Lunahax", "Error! Does this player have a node or a jukebox?", 4);
  4044.             end
  4045.         end)
  4046.        
  4047.         tpToPlayerButton.Activated:Connect(function()
  4048.             local Player = game:GetService("Players").LocalPlayer
  4049.             local character = Player.Character or Player.CharacterAdded:Wait()
  4050.             local HumanoidRootPart = character:WaitForChild("HumanoidRootPart")
  4051.             local Humanoid =  character:WaitForChild("Humanoid")
  4052.             local bon = game:GetService("Players")[variables.playerNameClicked]
  4053.             local bonc = bon.Character or bon.CharacterAdded:Wait()
  4054.             local bonroot = bonc:WaitForChild("HumanoidRootPart")
  4055.             HumanoidRootPart.CFrame = CFrame.new(Vector3.new(bonroot.CFrame.X, bonroot.CFrame.Y, bonroot.CFrame.Z))
  4056.            
  4057.             local testAmt = 0;
  4058.            
  4059.             pcall(function()
  4060.                 local seat = game.Players.LocalPlayer.Character.Humanoid.SeatPart
  4061.                 if seat then
  4062.                     local vehicleModel = seat.Parent
  4063.                     vehicleModel:MoveTo(game:GetService("Workspace")[variables.playerNameClicked].HumanoidRootPart.Position)
  4064.                     for i=1,10 do
  4065.                         pcall(function()
  4066.                             game:GetService("ReplicatedStorage").Events.InteractEvent:FireServer(seat);
  4067.                         end)
  4068.                         wait()
  4069.                     end
  4070.                     wait(0.1)
  4071.                     game:GetService("ReplicatedStorage").Events.InteractEvent:FireServer(seat);
  4072.                 end
  4073.             end)
  4074.  
  4075.         end)
  4076.  
  4077.         local UnloadCharacterExt = function(v)
  4078.             local vHolder = Holder:FindFirstChild(v.Name)
  4079.             if vHolder and (vHolder:FindFirstChild(v.Name .. "Box") ~= nil or vHolder:FindFirstChild(v.Name .. "NameTag") ~= nil) then
  4080.                 vHolder:ClearAllChildren()
  4081.             end
  4082.         end
  4083.         local UnloadPlayerExt = function(v)
  4084.             UnloadCharacterExt(v)
  4085.             local vHolder = Holder:FindFirstChild(v.Name)
  4086.             if vHolder then
  4087.                 vHolder:Destroy()
  4088.             end
  4089.         end
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.         excludeFromEspButton.Activated:Connect(function()
  4097.             table.insert(variables.espIgnored, variables.playerNameClicked)
  4098.             notice:Fire("Lunahax", "Player will no longer be visible on ESP until you re-join!")
  4099.            
  4100.             local playerVar = game:GetService("Players")[variables.playerNameClicked];
  4101.             UnloadPlayerExt(playerVar)
  4102.         end)
  4103.  
  4104.         -- to add players to list
  4105.  
  4106.         function has_value (tab, val)
  4107.             for index, value in ipairs(tab) do
  4108.                 if value == val then
  4109.                     return true
  4110.                 end
  4111.             end
  4112.  
  4113.             return false
  4114.         end
  4115.  
  4116.         function populateWhenClicked()
  4117.             local playerVar = game:GetService("Players")[variables.playerNameClicked];
  4118.             usernameInfoText.Text = "Username: " .. variables.playerNameClicked;
  4119.             roleplayNameInfoText.Text = "Roleplay Name: " .. playerVar.PlayerData.RoleplayName.Value;
  4120.             jobInfoText.Text = "Job: " .. playerVar.Job.Value;
  4121.             hungerInfoText.Text = "Hunger: " .. playerVar.PlayerData.Hunger.Value .. "%";
  4122.             karmaInfoText.Text = "Karma: " .. playerVar.PlayerData.Karma.Value;
  4123.             if playerVar.Flagged.Value then
  4124.                 flaggedInfoText.Text = "Flagged?: Yes";
  4125.             else
  4126.                 flaggedInfoText.Text = "Flagged?: No";
  4127.             end
  4128.             sChargesInfoText.Text = "S Charges: " .. playerVar.PlayerData.CraftCharges.Value;
  4129.             playtimeInfoText.Text = "Playtime: " .. SecondsToClock(playerVar.PlayerData.PlayTime.Value) .. " hours";
  4130.             moneyAmtInfoText.Text = "$: " .. playerVar.PlayerData.Currency.Value;
  4131.             aureusInfoText.Text = "A$: " .. playerVar.PlayerData.PCurrency.Value;
  4132.            
  4133.             hdlItem = "";
  4134.             pcall(function()
  4135.                 for _asd, vCharItems in pairs(game:GetService("Players")[variables.playerNameClicked].Character:GetChildren()) do
  4136.                     if vCharItems:IsA("Tool") then
  4137.                         hdlItem = vCharItems.Name;
  4138.                     end
  4139.                 end
  4140.             end)
  4141.            
  4142.             heldItemInfoText.Text = "Held: " .. hdlItem;
  4143.            
  4144.             inventoryInfoText.Text = "Inventory: " .. playerVar.PlayerData.Inventory.Value;
  4145.             bankInfoText.Text = "Bank: " .. playerVar.PlayerData.Bank.Value;
  4146.             --table.insert(variables.espIgnored, variables.playerNameClicked)
  4147.         end
  4148.        
  4149.        
  4150.         function populateDispInfoWhenClicked()
  4151.             local itemCount = variables.dispClicked.Dispencer.Count.Value;
  4152.             local itemPrice = variables.dispClicked.Dispencer.Price.Value
  4153.             local itemName = variables.dispClicked.Dispencer.Value;
  4154.            
  4155.             dispenserItemNameText.Text = "Item: " .. itemName;
  4156.             dispenserItemPriceText.Text = "Price: " .. itemPrice;
  4157.             dispenserItemCountText.Text = "Left: " .. itemCount;
  4158.            
  4159.            
  4160.         end
  4161.  
  4162.        
  4163.         teleportToDispenserButton.Activated:Connect(function()
  4164.             local Player = game:GetService("Players").LocalPlayer
  4165.             local character = Player.Character or Player.CharacterAdded:Wait()
  4166.             local HumanoidRootPart = character:WaitForChild("HumanoidRootPart")
  4167.             cfrr = CFrame.new((variables.dispClicked.Main.CFrame.X + 1), (variables.dispClicked.Main.CFrame.Y + 2), (variables.dispClicked.Main.CFrame.Z + 1));
  4168.             HumanoidRootPart.CFrame = cfrr;
  4169.         end)
  4170.  
  4171.        
  4172.         game:GetService("Players").PlayerAdded:Connect(function(v)
  4173.             pcall(function()
  4174.                 if isUserEsMod(v.Name) then
  4175.                     notice:Fire("Lunahax", "WARNING! Moderator " .. v.Name .. " is in your game.", 4);
  4176.                 end
  4177.             end)
  4178.             -- remove all first
  4179.             for _asd, vp in pairs(playerListScrollingFrame:GetChildren()) do
  4180.                 vp:destroy();
  4181.             end
  4182.            
  4183.             local numbtest = 0;
  4184.             --repop
  4185.             for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  4186.                 local isFriend = false;
  4187.                 local isEnemy = false;
  4188.                 pcall(function()
  4189.                     local validF = isfile("lunahaxFriends.txt")
  4190.                     if validF then
  4191.                         local contents = readfile("lunahaxFriends.txt");
  4192.                         for line in contents:gmatch("[^\r\n]+") do
  4193.                             if line == v.Name then
  4194.                                 isFriend = true;
  4195.                                 break;
  4196.                             end
  4197.                         end
  4198.                     end
  4199.                     local validE = isfile("lunahaxEnemies.txt")
  4200.                     if validE then
  4201.                         local contentsE = readfile("lunahaxEnemies.txt");
  4202.                         for line in contentsE:gmatch("[^\r\n]+") do
  4203.                             if line == v.Name then
  4204.                                 isEnemy = true;
  4205.                                 break;
  4206.                             end
  4207.                         end
  4208.                     end
  4209.                 end)
  4210.                
  4211.                
  4212.                 local newButton = Instance.new("TextButton")
  4213.                 newButton.Parent = playerListScrollingFrame
  4214.                 newButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4215.                 newButton.Size = UDim2.new(0, 200, 0, 50)
  4216.                 newButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  4217.                 newButton.Position = UDim2.new(0, 0, numbtest, 0);
  4218.                 newButton.Font = Enum.Font.SourceSans
  4219.                 newButton.Text = v.Name
  4220.                
  4221.                 local ImageLabel = Instance.new("ImageLabel")
  4222.                 ImageLabel.Parent = newButton
  4223.                 ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4224.                 ImageLabel.BackgroundTransparency = 1.000
  4225.                 ImageLabel.BorderSizePixel = 0
  4226.                 ImageLabel.Position = UDim2.new(-0.0504394509, 0, -0.0461413562, 0)
  4227.                 ImageLabel.Size = UDim2.new(0, 33, 0, 32)
  4228.                 ImageLabel.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?userid=" .. v.UserId
  4229.                 ImageLabel.ScaleType = Enum.ScaleType.Fit
  4230.                
  4231.                
  4232.                 if isEnemy then
  4233.                     newButton.TextColor3 = Color3.fromRGB(255, 0, 0)
  4234.                 elseif isFriend then
  4235.                     newButton.TextColor3 = Color3.fromRGB(0, 255, 0)
  4236.                 else
  4237.                     newButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  4238.                 end
  4239.                 newButton.TextSize = 25.000
  4240.                 numbtest = numbtest + 0.005;
  4241.                 newButton.Activated:Connect(function()
  4242.                     variables.playerNameClicked = v.Name;
  4243.                     populateWhenClicked();
  4244.                 end)
  4245.             end
  4246.         end)
  4247.         game:GetService("Players").PlayerRemoving:Connect(function(v)
  4248.             -- remove all first
  4249.             for _asd, vp in pairs(playerListScrollingFrame:GetChildren()) do
  4250.                 vp:destroy();
  4251.             end
  4252.            
  4253.             local numbtest = 0;
  4254.             --repop
  4255.             for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  4256.                 local isFriend = false;
  4257.                 local isEnemy = false;
  4258.                 pcall(function()
  4259.                     local validF = isfile("lunahaxFriends.txt")
  4260.                     if validF then
  4261.                         local contents = readfile("lunahaxFriends.txt");
  4262.                         for line in contents:gmatch("[^\r\n]+") do
  4263.                             if line == v.Name then
  4264.                                 isFriend = true;
  4265.                                 break;
  4266.                             end
  4267.                         end
  4268.                     end
  4269.                     local validE = isfile("lunahaxEnemies.txt")
  4270.                     if validE then
  4271.                         local contentsE = readfile("lunahaxEnemies.txt");
  4272.                         for line in contentsE:gmatch("[^\r\n]+") do
  4273.                             if line == v.Name then
  4274.                                 isEnemy = true;
  4275.                                 break;
  4276.                             end
  4277.                         end
  4278.                     end
  4279.                 end)
  4280.                
  4281.                
  4282.                 local newButton = Instance.new("TextButton")
  4283.                 newButton.Parent = playerListScrollingFrame
  4284.                 newButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4285.                 newButton.Size = UDim2.new(0, 200, 0, 50)
  4286.                 newButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  4287.                 newButton.Position = UDim2.new(0, 0, numbtest, 0);
  4288.                 newButton.Font = Enum.Font.SourceSans
  4289.                 newButton.Text = v.Name
  4290.                
  4291.                 local ImageLabel = Instance.new("ImageLabel")
  4292.                 ImageLabel.Parent = newButton
  4293.                 ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4294.                 ImageLabel.BackgroundTransparency = 1.000
  4295.                 ImageLabel.BorderSizePixel = 0
  4296.                 ImageLabel.Position = UDim2.new(-0.0504394509, 0, -0.0461413562, 0)
  4297.                 ImageLabel.Size = UDim2.new(0, 33, 0, 32)
  4298.                 ImageLabel.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?userid=" .. v.UserId
  4299.                 ImageLabel.ScaleType = Enum.ScaleType.Fit
  4300.                
  4301.                
  4302.                 if isEnemy then
  4303.                     newButton.TextColor3 = Color3.fromRGB(255, 0, 0)
  4304.                 elseif isFriend then
  4305.                     newButton.TextColor3 = Color3.fromRGB(0, 255, 0)
  4306.                 else
  4307.                     newButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  4308.                 end
  4309.                 newButton.TextSize = 25.000
  4310.                 numbtest = numbtest + 0.005;
  4311.                 newButton.Activated:Connect(function()
  4312.                     variables.playerNameClicked = v.Name;
  4313.                     populateWhenClicked();
  4314.                 end)
  4315.             end
  4316.         end)
  4317.         -- remove all first
  4318.         for _asd, vp in pairs(playerListScrollingFrame:GetChildren()) do
  4319.             vp:destroy();
  4320.         end
  4321.  
  4322.         local numbtest = 0;
  4323.         --repop
  4324.         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  4325.             local isFriend = false;
  4326.             local isEnemy = false;
  4327.            
  4328.             pcall(function()
  4329.                 local validF = isfile("lunahaxFriends.txt")
  4330.                 if validF then
  4331.                     local contents = readfile("lunahaxFriends.txt");
  4332.                     for line in contents:gmatch("[^\r\n]+") do
  4333.                         if line == v.Name then
  4334.                             isFriend = true;
  4335.                             break;
  4336.                         end
  4337.                     end
  4338.                 end
  4339.                 local validE = isfile("lunahaxEnemies.txt")
  4340.                 if validE then
  4341.                     local contentsE = readfile("lunahaxEnemies.txt");
  4342.                     for line in contentsE:gmatch("[^\r\n]+") do
  4343.                         if line == v.Name then
  4344.                             isEnemy = true;
  4345.                             break;
  4346.                         end
  4347.                     end
  4348.                 end
  4349.             end)
  4350.            
  4351.            
  4352.            
  4353.             local newButton = Instance.new("TextButton")
  4354.             newButton.Parent = playerListScrollingFrame
  4355.             newButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4356.             newButton.Size = UDim2.new(0, 200, 0, 50)
  4357.             newButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  4358.             newButton.Position = UDim2.new(0, 0, numbtest, 0);
  4359.             newButton.Font = Enum.Font.SourceSans
  4360.             newButton.Text = v.Name
  4361.            
  4362.             local ImageLabel = Instance.new("ImageLabel")
  4363.             ImageLabel.Parent = newButton
  4364.             ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  4365.             ImageLabel.BackgroundTransparency = 1.000
  4366.             ImageLabel.BorderSizePixel = 0
  4367.             ImageLabel.Position = UDim2.new(-0.0504394509, 0, -0.0461413562, 0)
  4368.             ImageLabel.Size = UDim2.new(0, 33, 0, 32)
  4369.             ImageLabel.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?userid=" .. v.UserId
  4370.             ImageLabel.ScaleType = Enum.ScaleType.Fit
  4371.            
  4372.                
  4373.             if isEnemy then
  4374.                 newButton.TextColor3 = Color3.fromRGB(255, 0, 0)
  4375.             elseif isFriend then
  4376.                 newButton.TextColor3 = Color3.fromRGB(0, 255, 0)
  4377.             else
  4378.                 newButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  4379.             end
  4380.             newButton.TextSize = 25.000
  4381.             numbtest = numbtest + 0.005;
  4382.             newButton.Activated:Connect(function()
  4383.                 variables.playerNameClicked = v.Name;
  4384.                 populateWhenClicked();
  4385.             end)
  4386.         end
  4387.        
  4388.    
  4389.  
  4390.        
  4391.  
  4392.         flyJumpButton.Activated:Connect(function()
  4393.             if variables.flyJump then
  4394.                 variables.flyJump = false;
  4395.                 flyJumpButton.Text = "[OFF] Fly Jump"
  4396.                 notice:Fire("Lunahax", "Fly Jump Disabled.");
  4397.             else
  4398.                 variables.flyJump = true;
  4399.                 flyJumpButton.Text = "[ON] Fly Jump"
  4400.                 notice:Fire("Lunahax", "Fly Jump Enabled.");
  4401.             end
  4402.         end)
  4403.  
  4404.         spawn(function()
  4405.             while true do
  4406.                 pcall(function()
  4407.                     game:GetService("UserInputService").JumpRequest:connect(function()
  4408.                         if variables.flyJump then
  4409.                             game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):ChangeState("Jumping")
  4410.                         end
  4411.                     end)
  4412.                 end)
  4413.                 wait(5)
  4414.             end
  4415.         end)
  4416.  
  4417.  
  4418.  
  4419.  
  4420.        
  4421.  
  4422.         local oldText = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):WaitForChild("TopBar"):WaitForChild("Frame"):WaitForChild("TextLabel").Text;
  4423.         local oldColor = game:GetService("Players").LocalPlayer.PlayerGui.TopBar.Frame.BackgroundColor3;
  4424.  
  4425.  
  4426.         -- set cool top bar text
  4427.         spawn(function()
  4428.             while wait() do
  4429.                 local hue = tick() % 10 / 10;
  4430.                 variables.globRainbowColor3 = Color3.fromHSV(hue, 1, 1);
  4431.                 mainHeaderText.TextColor3 = variables.globRainbowColor3;
  4432.                 if variables.menuOpen then
  4433.                     game:GetService("Players").LocalPlayer.PlayerGui.TopBar.Frame.BackgroundColor3 = variables.globRainbowColor3;
  4434.                 else
  4435.                     game:GetService("Players").LocalPlayer.PlayerGui.TopBar.Frame.BackgroundColor3 = oldColor;
  4436.                 end
  4437.             end
  4438.         end);
  4439.  
  4440.  
  4441.         game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):SetTopbarTransparency(1);
  4442.         local textArray = { "lunahax (c to open) | build number: " .. variables.version};
  4443.         local textLabel = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):WaitForChild("TopBar"):WaitForChild("Frame"):WaitForChild("TextLabel");
  4444.         local randomInt = math.random(1, #textArray);
  4445.         spawn(function()
  4446.             while true do
  4447.                 if variables.menuOpen then
  4448.                     textLabel.Text = textArray[randomInt];
  4449.                 else
  4450.                     textLabel.Text = oldText;
  4451.                 end
  4452.                 randomInt = randomInt + 1;
  4453.                 if #textArray < randomInt then
  4454.                     randomInt = 1;
  4455.                 end;
  4456.                 wait(0.1); 
  4457.             end;
  4458.         end);
  4459.  
  4460.  
  4461.         game:GetService("Players").PlayerAdded:Connect(function(v)
  4462.            
  4463.             v.Chatted:connect(function(msg)
  4464.                 if variables.globalChat then
  4465.                     if isUserFriend(v.Name) then
  4466.                         game.StarterGui:SetCore("ChatMakeSystemMessage", {
  4467.                             Text = "[" .. v.Name .. "]: " .. msg,
  4468.                             Font = Enum.Font.SourceSansBold,
  4469.                             Color = BrickColor.new("Bright green").Color
  4470.                         });
  4471.                     elseif isUserEnemy(v.Name) then
  4472.                         game.StarterGui:SetCore("ChatMakeSystemMessage", {
  4473.                             Text = "[" .. v.Name .. "]: " .. msg,
  4474.                             Font = Enum.Font.SourceSansBold,
  4475.                             Color = BrickColor.new("Bright red").Color
  4476.                         });
  4477.                     else
  4478.                         game.StarterGui:SetCore("ChatMakeSystemMessage", {
  4479.                             Text = "[" .. v.Name .. "]: " .. msg,
  4480.                             Font = Enum.Font.SourceSansBold
  4481.                         });
  4482.                     end
  4483.                 end
  4484.             end)
  4485.             pcall(function()
  4486.                 if isUserFriend(v.Name) then
  4487.                     notice:Fire("Lunahax", "Friend " .. v.name .. " has joined the game!", 6)
  4488.                 elseif isUserEnemy(v.Name) then
  4489.                     notice:Fire("Lunahax", "Enemy " .. v.name .. " has joined the game!", 4)
  4490.                 end
  4491.             end)
  4492.            
  4493.             pcall(function()
  4494.                 if isUserEsMod(v.Name) then
  4495.                     notice:Fire("Lunahax", "WARNING! Moderator " .. v.Name .. " is in your game.", 4);
  4496.                 end
  4497.             end)
  4498.            
  4499.         end)
  4500.          
  4501.         game:GetService("Players").PlayerRemoving:Connect(function(v)
  4502.             pcall(function()
  4503.                 if isUserFriend(v.Name) then
  4504.                     notice:Fire("Lunahax", "Friend " .. v.name .. " has left the game!")
  4505.                 elseif isUserEnemy(v.Name) then
  4506.                     notice:Fire("Lunahax", "Enemy " .. v.name .. " has left the game!")
  4507.                 end
  4508.             end)
  4509.         end)
  4510.  
  4511.  
  4512.  
  4513.  
  4514.  
  4515.  
  4516.  
  4517.         -- nodekill stuff
  4518.         spawn(function()
  4519.             while wait() do
  4520.                 if variables.isNodeKillEnabled then
  4521.                     local localPlayer = game.Players.LocalPlayer;
  4522.                     if game:GetService("Players")[localPlayer.Name].Flagged.Value then
  4523.                         local function u1(p1, p2)
  4524.                             return Vector3.new(p2.x - p1.x, p2.y - p1.y, p2.z - p1.z);
  4525.                         end;
  4526.                         function checknode(p5, p6)
  4527.                             p5.Size = Vector3.new(1.8, 1.8, 1.8);
  4528.                             local v13 = { p5.CFrame * CFrame.new(-p5.Size.x / 2 * p5.Mesh.Scale.X, 0, p5.Size.z / 2 * p5.Mesh.Scale.Z), p5.CFrame * CFrame.new(p5.Size.x / 2 * p5.Mesh.Scale.X, 0, p5.Size.z / 2 * p5.Mesh.Scale.Z), p5.CFrame * CFrame.new(p5.Size.x / 2 * p5.Mesh.Scale.X, 0, -p5.Size.z / 2 * p5.Mesh.Scale.Z), p5.CFrame * CFrame.new(0, p5.Size.y / 2 * p5.Mesh.Scale.Y, 0), p5.CFrame * CFrame.new(0, -p5.Size.y / 2 * p5.Mesh.Scale.Y, 0) };
  4529.                             local v14 = u1(v13[1], v13[2]);
  4530.                             local v15 = u1(v13[2], v13[3]);
  4531.                             local v16 = u1(v13[4], v13[5]);
  4532.                             local v17 = v14:Dot((u1(v13[1], p6)));
  4533.                             local v18 = v14:Dot(v14);
  4534.                             local v19 = v15:Dot((u1(v13[2], p6)));
  4535.                             local v20 = v15:Dot(v15);
  4536.                             local v21 = v16:Dot((u1(v13[4], p6)));
  4537.                             local v22 = v16:Dot(v16);
  4538.                             local v23 = false;
  4539.                             if v17 >= 0 then
  4540.                                 v23 = false;
  4541.                                 if v17 <= v18 then
  4542.                                     v23 = false;
  4543.                                     if v19 >= 0 then
  4544.                                         v23 = false;
  4545.                                         if v19 <= v20 then
  4546.                                             v23 = false;
  4547.                                             if v21 >= 0 then
  4548.                                                 v23 = v21 <= v22;
  4549.                                             end;
  4550.                                         end;
  4551.                                     end;
  4552.                                 end;
  4553.                             end;
  4554.                             return v23;
  4555.                         end;
  4556.                        
  4557.                        
  4558.                         for i,vPlayer in pairs(game:GetService("Players"):GetPlayers()) do
  4559.                             pcall(function()
  4560.                                 if vPlayer.Name == localPlayer.Name then
  4561.                                 else
  4562.                                     if isUserFriend(vPlayer.Name) == false then
  4563.                                         isValidChar = false;
  4564.                                         pcall(function()
  4565.                                             print(vPlayer.Character.PrimaryPart.Position);
  4566.                                             isValidChar = true;
  4567.                                         end)
  4568.                                         if isValidChar then
  4569.                                             local isInNode = checknode(game:GetService("Workspace").Buildings[localPlayer.Name].Node.PrimaryPart, vPlayer.Character.PrimaryPart.Position)
  4570.                                             if isInNode then
  4571.                                                 local hasKillzone = game:GetService("Workspace").Buildings[localPlayer.Name].Node.Killzone.Value
  4572.                                                 if hasKillzone then
  4573.                                                     if vPlayer.Character.Humanoid.Health == 0 then
  4574.                                                     else
  4575.                                                         if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool").Handle.Reload then
  4576.                                                             local cFrameRn = nil;
  4577.                                                             local character = localPlayer.Character or localPlayer.CharacterAdded:Wait()
  4578.                                                             local HumanoidRootPart = character:WaitForChild("HumanoidRootPart")
  4579.                                                             local Humanoid =  character:WaitForChild("Humanoid")
  4580.                                                             cFrameRn = CFrame.new(Vector3.new(HumanoidRootPart.CFrame.X, HumanoidRootPart.CFrame.Y, HumanoidRootPart.CFrame.Z));
  4581.                                                             local theirChar = vPlayer.Character
  4582.                                                             local theirRoot = theirChar:WaitForChild("HumanoidRootPart")
  4583.                                                             HumanoidRootPart.CFrame = theirRoot.CFrame;
  4584.                                                            
  4585.                                                             pcall(function()
  4586.                                                                 for count = 1, 10 do
  4587.                                                                     if vPlayer.Character.Humanoid.Health == 0 then
  4588.                                                                         break;
  4589.                                                                     end
  4590.                                                                     if checknode(game:GetService("Workspace").Buildings[localPlayer.Name].Node.PrimaryPart, vPlayer.Character.PrimaryPart.Position) then
  4591.                                                                         wait(0.2);
  4592.                                                                         Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[vPlayer.Name].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[vPlayer.Name].Humanoid, 26, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  4593.                                                                     end
  4594.                                                                 end
  4595.                                                             end)
  4596.                                                             HumanoidRootPart.CFrame = CFrame.new(cFrameRn.X, cFrameRn.Y, cFrameRn.Z)
  4597.                                                             notice:Fire("Lunahax", "Player " .. vPlayer.Name .. " in your node has been killed!");
  4598.                                                         end
  4599.                                                     end
  4600.                                                 end
  4601.                                             end
  4602.                                         end
  4603.                                     end
  4604.                                 end
  4605.                             end)
  4606.                         end
  4607.                     end
  4608.                 end
  4609.                 wait(1);
  4610.             end
  4611.         end)
  4612.  
  4613.  
  4614.             local function round(n)
  4615.                 return math.floor(n + 0.5)
  4616.             end
  4617.             ---------------
  4618.             -- esp stuff, player
  4619.             Holder = Instance.new("Folder", game.CoreGui)
  4620.             Holder.Name = "ESP"
  4621.              
  4622.             local Box = Instance.new("BoxHandleAdornment")
  4623.             Box.Name = "nilBox"
  4624.             Box.Size = Vector3.new(4, 7, 4)
  4625.             Box.Color3 = Color3.new(100 / 255, 100 / 255, 100 / 255)
  4626.             Box.Transparency = 0.7
  4627.             Box.ZIndex = 0
  4628.             Box.AlwaysOnTop = true
  4629.             Box.Visible = true
  4630.              
  4631.             local NameTag = Instance.new("BillboardGui")
  4632.             NameTag.Name = "nilNameTag"
  4633.             NameTag.Enabled = false
  4634.             NameTag.Size = UDim2.new(0, 200, 0, 50)
  4635.             NameTag.AlwaysOnTop = true
  4636.             NameTag.StudsOffset = Vector3.new(0, 1.8, 0)
  4637.             local Tag = Instance.new("TextLabel", NameTag)
  4638.             Tag.Name = "Tag"
  4639.             Tag.BackgroundTransparency = 1
  4640.             Tag.Position = UDim2.new(0, -50, 0, 0)
  4641.             Tag.Size = UDim2.new(0, 300, 0, 20)
  4642.             Tag.TextSize = 13
  4643.             Tag.TextColor3 = Color3.new(100 / 255, 100 / 255, 100 / 255)
  4644.             Tag.TextStrokeColor3 = Color3.new(0 / 255, 0 / 255, 0 / 255)
  4645.             Tag.TextStrokeTransparency = 0.4
  4646.             Tag.Text = "nil"
  4647.             Tag.Font = Enum.Font.SourceSansBold
  4648.             Tag.TextScaled = false
  4649.              
  4650.             local LoadCharacter = function(v)
  4651.             spawn(function()
  4652.                 repeat wait(1) until v.Character ~= nil
  4653.                 if v.Name == game:GetService("Players").LocalPlayer.Name then
  4654.                
  4655.                 elseif v.Name == nil then
  4656.                
  4657.                 else
  4658.                     if has_value(variables.espIgnored, v.Name) then
  4659.                     else
  4660.                         v.Character:WaitForChild("Humanoid")
  4661.                         local vHolder = Holder:FindFirstChild(v.Name)
  4662.                         local HumanoidRootPartPlyr = v.Character:WaitForChild("HumanoidRootPart")
  4663.                         if HumanoidRootPartPlyr.CFrame.Y < 125 then
  4664.                        
  4665.                         else
  4666.                             vHolder:ClearAllChildren()
  4667.                             local b = Box:Clone()
  4668.                             b.Name = v.Name .. "Box"
  4669.                             b.Adornee = v.Character
  4670.                             b.Parent = vHolder
  4671.                             local t = NameTag:Clone()
  4672.                             t.Name = v.Name .. "NameTag"
  4673.                             t.Enabled = true
  4674.                             t.Parent = vHolder
  4675.                             t.Adornee = v.Character:WaitForChild("Head", 5)
  4676.                             if not t.Adornee then
  4677.                                 return UnloadCharacter(v)
  4678.                             end
  4679.                             t.Tag.Text = v.Name
  4680.                             b.Color3 = Color3.new(v.TeamColor.r, v.TeamColor.g, v.TeamColor.b)
  4681.                             t.Tag.TextColor3 = Color3.new(v.TeamColor.r, v.TeamColor.g, v.TeamColor.b)
  4682.                             local Update
  4683.                             local UpdateNameTag = function()
  4684.                                 if not pcall(function()
  4685.                                     v.Character.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  4686.                                     local maxh = math.floor(v.Character.Humanoid.MaxHealth)
  4687.                                     local h = math.floor(v.Character.Humanoid.Health)
  4688.                                    
  4689.                                     local prependText = ""
  4690.                                     local appendText = ""
  4691.                                    
  4692.                                    
  4693.                                     local isSpy = false;
  4694.                                    
  4695.                                     if v.Character.Head.Transparency == 2 then
  4696.                                         prependText = prependText .. "[CAR] "
  4697.                                     end
  4698.                                    
  4699.                                     if v.Character.Head.Transparency == 11 then
  4700.                                         prependText = prependText .. "[SPY] "
  4701.                                         isSpy = true
  4702.                                     end
  4703.                                    
  4704.                                    
  4705.                                     if isSpy then
  4706.                                         t.Tag.TextColor3 = Color3.new(0, 255, 234)
  4707.                                     else
  4708.                                         t.Tag.TextColor3 = Color3.new(255, 255, 255)
  4709.                                     end
  4710.                                    
  4711.                                    
  4712.                                     if game:GetService("Players")[v.Name].Flagged.Value then
  4713.                                         if game:GetService("Workspace")[v.Name].NameTag.TextLabel.TextColor3 ==  Color3.fromRGB(255, 187, 69) then
  4714.                                             prependText = prependText .. "[F] "
  4715.                                             t.Tag.TextColor3 = Color3.fromRGB(255, 187, 69)
  4716.                                         elseif game:GetService("Workspace")[v.Name].NameTag.TextLabel.TextColor3 ==  Color3.fromRGB(255, 33, 33) then
  4717.                                             prependText = prependText .. "[F] "
  4718.                                             t.Tag.TextColor3 = Color3.fromRGB(255, 33, 33)
  4719.                                         else
  4720.                                             prependText = prependText .. "[F] "
  4721.                                         end
  4722.                                     end
  4723.                                    
  4724.                                     for _asd, vCharItems in pairs(game:GetService("Players")[v.Name].Character:GetChildren()) do
  4725.                                         if vCharItems:IsA("Tool") then
  4726.                                             appendText = vCharItems.Name .. "\n"
  4727.                                         end
  4728.                                     end
  4729.                                     local distance = round((game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).magnitude)
  4730.    
  4731.                                     t.Tag.Text = prependText .. v.Name .. " " .. ((maxh ~= 0 and tostring(math.floor((h / maxh) * 100))) or "0") .. "%\n" .. appendText .. "H: " .. game:GetService("Players")[v.Name].PlayerData.Hunger.Value .. " Karma: " .. game:GetService("Players")[v.Name].PlayerData.Karma.Value .. "\nA$" .. game:GetService("Players")[v.Name].PlayerData.PCurrency.Value .. "/$" .. game:GetService("Players")[v.Name].PlayerData.Currency.Value .. " (" .. distance .. " studs)\n"
  4732.                                 end) then
  4733.                                     Update:Disconnect()
  4734.                                 end
  4735.                             end
  4736.                             UpdateNameTag()
  4737.                             Update = v.Character.Humanoid.Changed:Connect(UpdateNameTag)
  4738.                         end
  4739.                     end
  4740.                 end
  4741.                 end)
  4742.             end
  4743.              
  4744.              
  4745.  
  4746.              
  4747.             local UnloadCharacter = function(v)
  4748.                 local vHolder = Holder:FindFirstChild(v.Name)
  4749.                 if vHolder and (vHolder:FindFirstChild(v.Name .. "Box") ~= nil or vHolder:FindFirstChild(v.Name .. "NameTag") ~= nil) then
  4750.                     vHolder:ClearAllChildren()
  4751.                 end
  4752.             end
  4753.              
  4754.             local LoadPlayer = function(v)
  4755.                 local vHolder = Instance.new("Folder", Holder)
  4756.                 vHolder.Name = v.Name
  4757.                 v.CharacterAdded:Connect(function()
  4758.                     if variables.friendEspEnabled then
  4759.                         if isUserFriend(v.Name) then
  4760.                             pcall(LoadCharacter, v)
  4761.                         end
  4762.                     elseif variables.enemyEspEnabled then
  4763.                         if isUserEnemy(v.Name) then
  4764.                             pcall(LoadCharacter, v)
  4765.                         end
  4766.                     elseif variables.enemyEspEnabled and variables.friendEspEnabled then
  4767.                         if isUserEnemy(v.Name) or isUserFriend(v.Name) then
  4768.                             pcall(LoadCharacter, v)
  4769.                         end
  4770.                     end
  4771.                     if not variables.enemyEspEnabled or variables.friendEspEnabled then
  4772.                         pcall(LoadCharacter, v)
  4773.                     end
  4774.                 end)
  4775.                 v.CharacterRemoving:Connect(function()
  4776.                     pcall(UnloadCharacter, v)
  4777.                 end)
  4778.                 v.Changed:Connect(function(prop)
  4779.                     if prop == "TeamColor" then
  4780.                         UnloadCharacter(v)
  4781.                         wait()
  4782.                         if variables.friendEspEnabled then
  4783.                         if isUserFriend(v.Name) then
  4784.                                 pcall(LoadCharacter, v)
  4785.                             end
  4786.                         elseif variables.enemyEspEnabled then
  4787.                             if isUserEnemy(v.Name) then
  4788.                                 pcall(LoadCharacter, v)
  4789.                             end
  4790.                         else
  4791.                             pcall(LoadCharacter, v)
  4792.                         end
  4793.                     end
  4794.                 end)
  4795.                 if variables.friendEspEnabled then
  4796.                     if isUserFriend(v.Name) then
  4797.                         pcall(LoadCharacter, v)
  4798.                     end
  4799.                 elseif variables.enemyEspEnabled then
  4800.                     if isUserEnemy(v.Name) then
  4801.                         pcall(LoadCharacter, v)
  4802.                     end
  4803.                 else
  4804.                     pcall(LoadCharacter, v)
  4805.                 end
  4806.             end
  4807.              
  4808.             local UnloadPlayer = function(v)
  4809.                 UnloadCharacter(v)
  4810.                 local vHolder = Holder:FindFirstChild(v.Name)
  4811.                 if vHolder then
  4812.                     vHolder:Destroy()
  4813.                 end
  4814.             end
  4815.            
  4816.            
  4817.                          
  4818.             specificEspButton.Activated:Connect(function()
  4819.                 local PlayerToESP = game:GetService("Players")[variables.playerNameClicked]
  4820.                 LoadPlayer(PlayerToESP)
  4821.                 notice:Fire("Lunahax", "Only showing this player now.");
  4822.             end)
  4823.  
  4824.             spawn(function()
  4825.                 for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  4826.                     if variables.espEnabled then
  4827.                         spawn(function() pcall(LoadPlayer, v) end)
  4828.                     end
  4829.                 end
  4830.                  
  4831.                 game:GetService("Players").PlayerAdded:Connect(function(v)
  4832.                     if variables.espEnabled then
  4833.                         if variables.friendEspEnabled then
  4834.                             if isUserFriend(v.Name) then
  4835.                                 pcall(LoadPlayer, v)
  4836.                             end
  4837.                         elseif variables.enemyEspEnabled then
  4838.                             if isUserEnemy(v.Name) then
  4839.                                 pcall(LoadPlayer, v)
  4840.                             end
  4841.                         else
  4842.                             pcall(LoadPlayer, v)
  4843.                         end
  4844.                     end
  4845.                 end)
  4846.                  
  4847.                 game:GetService("Players").PlayerRemoving:Connect(function(v)
  4848.                     pcall(UnloadPlayer, v)
  4849.                 end)
  4850.  
  4851.                 playerEspButton.Activated:Connect(function()
  4852.                     if variables.espEnabled then
  4853.                         variables.espEnabled = false;
  4854.                         playerEspButton.Text = "[OFF] Player ESP"
  4855.                         notice:Fire("Lunahax", "ESP Disabled.");
  4856.                         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  4857.                             pcall(UnloadPlayer, v);
  4858.                         end
  4859.                     else
  4860.                         variables.espEnabled = true;
  4861.                         playerEspButton.Text = "[ON] Player ESP"
  4862.                         notice:Fire("Lunahax", "ESP Enabled.");
  4863.  
  4864.                         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  4865.                             spawn(function()
  4866.                                 if variables.friendEspEnabled then
  4867.                                     if isUserFriend(v.Name) then
  4868.                                         pcall(LoadPlayer, v)
  4869.                                     end
  4870.                                 elseif variables.enemyEspEnabled then
  4871.                                     if isUserEnemy(v.Name) then
  4872.                                         pcall(LoadPlayer, v)
  4873.                                     end
  4874.                                 else
  4875.                                     pcall(LoadPlayer, v)
  4876.                                 end
  4877.                             end)
  4878.                         end
  4879.                     end
  4880.                 end)
  4881.                  
  4882.                 game:GetService("Players").LocalPlayer.NameDisplayDistance = 0
  4883.             end);
  4884.        
  4885.  
  4886.         pcall(function()
  4887.             local player = game.Players.LocalPlayer
  4888.             local mouse = player:GetMouse()
  4889.             local Aiming = false
  4890.  
  4891.  
  4892.             local Players = game:GetService("Players")
  4893.             local function GetClosest()
  4894.                 local Character = player.Character
  4895.                 local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")
  4896.                 if not (Character or HumanoidRootPart) then return end
  4897.  
  4898.                 local TargetDistance = math.huge
  4899.                 local Target
  4900.  
  4901.                 for i,v in ipairs(Players:GetPlayers()) do
  4902.                     if v ~= player and v.Character and v.Character:FindFirstChild("HumanoidRootPart") and isUserFriend(v.Name) ~= true then
  4903.                         if variables.onlyFlagged and v.Flagged.Value or variables.onlyFlagged == false then
  4904.                             local TargetHRP = v.Character.HumanoidRootPart
  4905.                             local mag = (HumanoidRootPart.Position - TargetHRP.Position).magnitude
  4906.                             if mag < TargetDistance then
  4907.                                 TargetDistance = mag
  4908.                                 Target = v
  4909.                             end
  4910.                         else
  4911.                            
  4912.                         end
  4913.                     end
  4914.                 end
  4915.  
  4916.                 return Target
  4917.             end
  4918.  
  4919.  
  4920.             function AimLock()
  4921.                 local target
  4922.                 local lastmagnitude = math.huge
  4923.                 pcall(function()
  4924.                     local v = GetClosest();
  4925.                     print(v.Name);
  4926.                     if v ~= player then
  4927.                         if v.Character then
  4928.                             if mouse.Icon == "rbxassetid://2872049636" then
  4929.                                 if player:DistanceFromCharacter(game:GetService("Players")[v.Name].Character.HumanoidRootPart.Position) > 450 then
  4930.                                
  4931.                                 else
  4932.                                     local withinScreenBounds = game:GetService("Workspace").Camera:WorldToScreenPoint(game:GetService("Players")[v.Name].Character.HumanoidRootPart.Position)
  4933.                                     if withinScreenBounds then
  4934.                                         local charpos = v.Character.HumanoidRootPart.CFrame.Position
  4935.                                         local playerpos = player.Character.HumanoidRootPart.CFrame.Position
  4936.                                         if (charpos - playerpos).Magnitude < lastmagnitude then
  4937.                                             lastmagnitude = (charpos - playerpos).Magnitude
  4938.                                             target = v
  4939.                                         end
  4940.                                     end
  4941.                                 end
  4942.                             end
  4943.                         end
  4944.                     end
  4945.                 end)
  4946.                 if target and target.Character then
  4947.                     local charpos = target.Character.HumanoidRootPart.CFrame.Position
  4948.                     local cam = workspace.CurrentCamera
  4949.                     local pos = cam.CFrame.Position
  4950.                     workspace.CurrentCamera.CFrame = CFrame.new(pos, charpos)
  4951.                 end
  4952.             end
  4953.  
  4954.             spawn(function()
  4955.                 while true do
  4956.                     if mouse.Icon == "rbxassetid://2872049636" then
  4957.                         if variables.aimbotEnabled then
  4958.                             AimLock()
  4959.                             wait()
  4960.                         end
  4961.                     end
  4962.                     wait()
  4963.                 end
  4964.             end)
  4965.         end)
  4966.        
  4967.        
  4968.        
  4969.         ------------
  4970.         -- global chat
  4971.         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  4972.             pcall(function()
  4973.                 if isUserEsMod(v.Name) then
  4974.                     notice:Fire("Lunahax", "WARNING! Moderator " .. v.Name .. " is in your game.", 4);
  4975.                 end
  4976.             end)
  4977.             v.Chatted:connect(function(msg)
  4978.                 if variables.globalChat then
  4979.                     if isUserFriend(v.Name) then
  4980.                         game.StarterGui:SetCore("ChatMakeSystemMessage", {
  4981.                             Text = "[" .. v.Name .. "]: " .. msg,
  4982.                             Font = Enum.Font.SourceSansBold,
  4983.                             Color = BrickColor.new("Bright green").Color
  4984.                         });
  4985.                     elseif isUserEnemy(v.Name) then
  4986.                         game.StarterGui:SetCore("ChatMakeSystemMessage", {
  4987.                             Text = "[" .. v.Name .. "]: " .. msg,
  4988.                             Font = Enum.Font.SourceSansBold,
  4989.                             Color = BrickColor.new("Bright red").Color
  4990.                         });
  4991.                     else
  4992.                         game.StarterGui:SetCore("ChatMakeSystemMessage", {
  4993.                             Text = "[" .. v.Name .. "]: " .. msg,
  4994.                             Font = Enum.Font.SourceSansBold
  4995.                         });
  4996.                     end
  4997.                 end
  4998.             end)
  4999.         end
  5000.        
  5001.        
  5002.        
  5003.         --------------------
  5004.         -- nlr bypass stuffs
  5005.         local function nlrLoop()
  5006.             while true do
  5007.                 local wrkspce = game:GetService("Workspace")
  5008.                 for _, v in pairs(wrkspce:GetChildren()) do
  5009.                     if v.Name == "NL" then
  5010.                         if _G.nlrLoop then
  5011.                             v:destroy()
  5012.                             print("Deleting NLR sphere...");
  5013.                         end
  5014.                     end
  5015.                 end
  5016.                 wait(0.5)
  5017.             end
  5018.         end
  5019.         spawn(nlrLoop)
  5020.  
  5021.         disableNlrButton.Activated:Connect(function()
  5022.             if _G.nlrLoop then
  5023.                 _G.nlrLoop = false;
  5024.                 disableNlrButton.Text = "[OFF] Disable NLR"
  5025.                 notice:Fire("Lunahax", "NLR Re-enabled.");
  5026.             else
  5027.                 _G.nlrLoop = true;
  5028.                 disableNlrButton.Text = "[ON] Disable NLR"
  5029.                 notice:Fire("Lunahax", "NLR Disabled.");
  5030.             end
  5031.         end)
  5032.  
  5033.        
  5034.        
  5035.         friendEspButton.Activated:Connect(function()
  5036.             if variables.friendEspEnabled then
  5037.                 variables.friendEspEnabled = false;
  5038.                 friendEspButton.Text = "[OFF] FriendESP"
  5039.                 notice:Fire("Lunahax", "FriendESP Disabled.");
  5040.             else
  5041.                 variables.friendEspEnabled = true;
  5042.                 friendEspButton.Text = "[ON] FriendESP"
  5043.                 notice:Fire("Lunahax", "FriendESP Enabled.");
  5044.             end
  5045.         end)
  5046.  
  5047.        
  5048.         enemyEspButton.Activated:Connect(function()
  5049.             if variables.enemyEspEnabled then
  5050.                 variables.enemyEspEnabled = false;
  5051.                 enemyEspButton.Text = "[OFF] EnemyESP"
  5052.                 notice:Fire("Lunahax", "FriendESP Disabled.");
  5053.             else
  5054.                 variables.enemyEspEnabled = true;
  5055.                 enemyEspButton.Text = "[ON] EnemyESP"
  5056.                 notice:Fire("Lunahax", "FriendESP Enabled.");
  5057.             end
  5058.         end)
  5059.        
  5060.  
  5061.  
  5062.         --------------------
  5063.         -- door disable collisions (unlock all doors)
  5064.  
  5065.         unlockDoorsButton.Activated:Connect(function()
  5066.             spawn(function()
  5067.                 doors = { "Door", "Door Double", "Door Vault", "Door Double Rapture" }
  5068.  
  5069.  
  5070.                 local wrkspce = game:GetService("Workspace")
  5071.                 for _, v in pairs(wrkspce.Buildings:GetChildren()) do
  5072.                    local success, problem = pcall(function()
  5073.                    
  5074.                         local successasd, problemasd = pcall(function()
  5075.                             for _z, vz in pairs(v:GetChildren()) do
  5076.                                 if has_value(doors, vz.Name) then
  5077.                                     print("Unlocking " .. vz.Name)
  5078.                                     for _zz, vzz in pairs(vz:GetChildren()) do
  5079.                                         pcall(function()
  5080.                                             vzz.CanCollide = False
  5081.                                         end)
  5082.                                     end
  5083.                                     print("Unlocked " .. vz.Name)
  5084.                                 end
  5085.                             end
  5086.                         end)
  5087.                         if successasd then
  5088.                         else
  5089.                         end
  5090.                        
  5091.                     end)
  5092.                     if success then
  5093.                     else
  5094.                     end
  5095.  
  5096.                 end
  5097.                 notice:Fire("Lunahax", "Unlocked all doors! Remember to re-unlock if they open/close the door again!");
  5098.             end);
  5099.         end)
  5100.  
  5101.  
  5102.  
  5103.         ---------------
  5104.         -- esp stuff, printer
  5105.         local wrkspce = game:GetService("Workspace")
  5106.         function doPrinters()
  5107.             PHolder = Instance.new("Folder", game.CoreGui)
  5108.             PHolder.Name = "PrinterESP"
  5109.              
  5110.             local Box = Instance.new("BoxHandleAdornment")
  5111.             Box.Name = "nilBox"
  5112.             Box.Size = Vector3.new(2, 2, 2)
  5113.             Box.Color3 = Color3.new(100 / 255, 100 / 255, 100 / 255)
  5114.             Box.Transparency = 0.7
  5115.             Box.ZIndex = 0
  5116.             Box.AlwaysOnTop = true
  5117.             Box.Visible = true
  5118.              
  5119.             local NameTag = Instance.new("BillboardGui")
  5120.             NameTag.Name = "nilNameTag"
  5121.             NameTag.Enabled = false
  5122.             NameTag.Size = UDim2.new(0, 200, 0, 50)
  5123.             NameTag.AlwaysOnTop = true
  5124.             NameTag.StudsOffset = Vector3.new(0, 1.8, 0)
  5125.             local Tag = Instance.new("TextLabel", NameTag)
  5126.             Tag.Name = "Tag"
  5127.             Tag.BackgroundTransparency = 1
  5128.             Tag.Position = UDim2.new(0, -50, 0, 0)
  5129.             Tag.Size = UDim2.new(0, 300, 0, 20)
  5130.             Tag.TextSize = 13
  5131.             Tag.TextColor3 = Color3.new(100 / 255, 100 / 255, 100 / 255)
  5132.             Tag.TextStrokeColor3 = Color3.new(0 / 255, 0 / 255, 0 / 255)
  5133.             Tag.TextStrokeTransparency = 0.4
  5134.             Tag.Text = "nil"
  5135.             Tag.Font = Enum.Font.SourceSansBold
  5136.             Tag.TextScaled = false
  5137.  
  5138.             for _, v in pairs(wrkspce.MoneyPrinters:GetChildren()) do
  5139.                local success, problem = pcall(function()
  5140.                     local printer = v
  5141.                     local b = Box:Clone()
  5142.                     b.Name = "Printer" .. "Box"
  5143.                     b.Adornee = v.Main
  5144.                     b.Parent = PHolder
  5145.                     local t = NameTag:Clone()
  5146.                     t.Name = "printer" .. "NameTag"
  5147.                     t.Enabled = true
  5148.                     t.Parent = PHolder
  5149.                     t.Adornee = v.Main
  5150.                     t.Tag.Text = v.Name .. "\nAmount left: $" .. v.Int.Money.Value;
  5151.                     b.Color3 = Color3.new(0, 255, 0)
  5152.                     t.Tag.TextColor3 = Color3.new(0, 255, 0)
  5153.                     if variables.printerEspEnabled then
  5154.                         NameTag:Clone().Parent = printer.Main
  5155.                     end
  5156.                 end)
  5157.                 if success then
  5158.                     --worked successfully
  5159.                 else
  5160.                     --no main on the printer
  5161.                 end
  5162.                 wait(0.1)
  5163.             end
  5164.         end
  5165.  
  5166.         function killPrinters()
  5167.             PHolder:Destroy();
  5168.         end
  5169.  
  5170.  
  5171.         printerEspButton.Activated:Connect(function()
  5172.             if variables.printerEspEnabled then
  5173.                 variables.printerEspEnabled = false;
  5174.                 printerEspButton.Text = "[OFF] Printer ESP"
  5175.                 notice:Fire("Lunahax", "Printer ESP Disabled.");
  5176.                 killPrinters()
  5177.             else
  5178.                 variables.printerEspEnabled = true;
  5179.                 printerEspButton.Text = "[ON] Printer ESP"
  5180.                 notice:Fire("Lunahax", "Printer ESP Enabled.");
  5181.                 doPrinters()
  5182.             end
  5183.         end)
  5184.  
  5185.  
  5186.  
  5187.  
  5188.  
  5189.         ---------------
  5190.         -- esp stuff, crates
  5191.         local wrkspce = game:GetService("Workspace")
  5192.         function doCrates()
  5193.             CHolder = Instance.new("Folder", game.CoreGui)
  5194.             CHolder.Name = "CrateESP"
  5195.              
  5196.             local Box = Instance.new("BoxHandleAdornment")
  5197.             Box.Name = "nilBox"
  5198.             Box.Size = Vector3.new(2, 2, 2)
  5199.             Box.Color3 = Color3.new(100 / 255, 100 / 255, 100 / 255)
  5200.             Box.Transparency = 0.7
  5201.             Box.ZIndex = 0
  5202.             Box.AlwaysOnTop = true
  5203.             Box.Visible = true
  5204.              
  5205.             local NameTag = Instance.new("BillboardGui")
  5206.             NameTag.Name = "nilNameTag"
  5207.             NameTag.Enabled = false
  5208.             NameTag.Size = UDim2.new(0, 200, 0, 50)
  5209.             NameTag.AlwaysOnTop = true
  5210.             NameTag.StudsOffset = Vector3.new(0, 1.8, 0)
  5211.             local Tag = Instance.new("TextLabel", NameTag)
  5212.             Tag.Name = "Tag"
  5213.             Tag.BackgroundTransparency = 1
  5214.             Tag.Position = UDim2.new(0, -50, 0, 0)
  5215.             Tag.Size = UDim2.new(0, 300, 0, 20)
  5216.             Tag.TextSize = 13
  5217.             Tag.TextColor3 = Color3.new(100 / 255, 100 / 255, 100 / 255)
  5218.             Tag.TextStrokeColor3 = Color3.new(0 / 255, 0 / 255, 0 / 255)
  5219.             Tag.TextStrokeTransparency = 0.4
  5220.             Tag.Text = "nil"
  5221.             Tag.Font = Enum.Font.SourceSansBold
  5222.             Tag.TextScaled = false
  5223.  
  5224.             for _, v in pairs(wrkspce.Entities:GetChildren()) do
  5225.                local success, problem = pcall(function()
  5226.                     if string.match(v.Name, "Shipment") then
  5227.                         if v.Int.Uses.Value > 0 then
  5228.                             if v.MeshPart.CFrame.Y < 125 then
  5229.                            
  5230.                             else
  5231.                                 local printer = v
  5232.                                 local b = Box:Clone()
  5233.                                 b.Name = "Crate" .. "Box"
  5234.                                 b.Adornee = v.MeshPart
  5235.                                 b.Parent = CHolder
  5236.                                 local t = NameTag:Clone()
  5237.                                 t.Name = "crate" .. "NameTag"
  5238.                                 t.Enabled = true
  5239.                                 t.Parent = CHolder
  5240.                                 t.Adornee = v.MeshPart
  5241.                                 t.Tag.Text = printer.Name .. "\nAmount left: " .. v.Int.Uses.Value;
  5242.                                 b.Color3 = Color3.new(0, 180, 255)
  5243.                                 t.Tag.TextColor3 = Color3.new(0, 180, 255)
  5244.                                 if crateEspEnabled then
  5245.                                     NameTag:Clone().Parent = printer.MeshPart
  5246.                                 end
  5247.                             end
  5248.                         end
  5249.                     end
  5250.                 end)
  5251.                 if success then
  5252.                     --worked successfully
  5253.                 else
  5254.                     --no MeshPart on the crate
  5255.                 end
  5256.                 wait(0.1)
  5257.             end
  5258.         end
  5259.  
  5260.         function killCrates()
  5261.             CHolder:Destroy();
  5262.         end
  5263.  
  5264.  
  5265.         crateEspButton.Activated:Connect(function()
  5266.             if crateEspEnabled then
  5267.                 crateEspEnabled = false;
  5268.                 crateEspButton.Text = "[OFF] Crate ESP"
  5269.                 notice:Fire("Lunahax", "Crate ESP Disabled.");
  5270.                 killCrates()
  5271.             else
  5272.                 crateEspEnabled = true;
  5273.                 crateEspButton.Text = "[ON] Crate ESP"
  5274.                 notice:Fire("Lunahax", "Crate ESP Enabled.");
  5275.                 doCrates()
  5276.             end
  5277.         end)
  5278.        
  5279.        
  5280.        
  5281.        
  5282.        
  5283.        
  5284.  
  5285.         ---------------
  5286.         -- esp stuff, entitys
  5287.         local wrkspce = game:GetService("Workspace")
  5288.         function doEntities()
  5289.             EHolder = Instance.new("Folder", game.CoreGui)
  5290.             EHolder.Name = "EntityESP"
  5291.              
  5292.             local Box = Instance.new("BoxHandleAdornment")
  5293.             Box.Name = "nilBox"
  5294.             Box.Size = Vector3.new(2, 2, 2)
  5295.             Box.Color3 = Color3.new(255, 0, 255)
  5296.             Box.Transparency = 0.7
  5297.             Box.ZIndex = 0
  5298.             Box.AlwaysOnTop = true
  5299.             Box.Visible = true
  5300.              
  5301.             local NameTag = Instance.new("BillboardGui")
  5302.             NameTag.Name = "nilNameTag"
  5303.             NameTag.Enabled = false
  5304.             NameTag.Size = UDim2.new(0, 200, 0, 50)
  5305.             NameTag.AlwaysOnTop = true
  5306.             NameTag.StudsOffset = Vector3.new(0, 1.8, 0)
  5307.             local Tag = Instance.new("TextLabel", NameTag)
  5308.             Tag.Name = "Tag"
  5309.             Tag.BackgroundTransparency = 1
  5310.             Tag.Position = UDim2.new(0, -50, 0, 0)
  5311.             Tag.Size = UDim2.new(0, 300, 0, 20)
  5312.             Tag.TextSize = 13
  5313.             Tag.TextColor3 = Color3.new(255, 0, 255)
  5314.             Tag.Text = "nil"
  5315.             Tag.Font = Enum.Font.SourceSansBold
  5316.             Tag.TextScaled = false
  5317.  
  5318.             for _, v in pairs(wrkspce.Entities:GetChildren()) do
  5319.                local success, problem = pcall(function()
  5320.                     if string.match(v.Name, "Shipment") then
  5321.                    
  5322.                     else
  5323.                         local printer = v
  5324.                         local mesh = nil;
  5325.                        
  5326.                         for _, vx in pairs(printer:GetChildren()) do
  5327.                             pcall(function()
  5328.                                 if vx.ManualWeld.Name ~= "" then
  5329.                                     mesh = vx
  5330.                                 end
  5331.                             end)
  5332.                         end
  5333.                        
  5334.                         if mesh == nil then
  5335.                             mesh = printer.Handle
  5336.                         end
  5337.  
  5338.                         local b = Box:Clone()
  5339.                         b.Name = "Crate" .. "Box"
  5340.                         b.Adornee = mesh
  5341.                         b.Parent = EHolder
  5342.                         local t = NameTag:Clone()
  5343.                         t.Name = "crate" .. "NameTag"
  5344.                         t.Enabled = true
  5345.                         t.Parent = EHolder
  5346.                         t.Adornee = mesh
  5347.                         t.Tag.Text = printer.Int.Value;
  5348.                         b.Color3 = Color3.new(255, 0, 255)
  5349.                         t.Tag.TextColor3 = Color3.new(255, 0, 255)
  5350.                         if entityEspEnabled then
  5351.                             NameTag:Clone().Parent = mesh
  5352.                         end
  5353.                     end
  5354.                 end)
  5355.                 if success then
  5356.                     --worked successfully
  5357.                 else
  5358.                     --no MeshPart on the Entity
  5359.                 end
  5360.                 wait(0.1)
  5361.             end
  5362.         end
  5363.  
  5364.         function killEntities()
  5365.             EHolder:Destroy();
  5366.         end
  5367.  
  5368.  
  5369.         entityEspButton.Activated:Connect(function()
  5370.             if entityEspEnabled then
  5371.                 entityEspEnabled = false;
  5372.                 entityEspButton.Text = "[OFF] Entity ESP"
  5373.                 notice:Fire("Lunahax", "Entity ESP Disabled.");
  5374.                 killEntities()
  5375.             else
  5376.                 entityEspEnabled = true;
  5377.                 entityEspButton.Text = "[ON] Entity ESP"
  5378.                 notice:Fire("Lunahax", "Entity ESP Enabled.");
  5379.                 doEntities()
  5380.             end
  5381.         end)
  5382.  
  5383.  
  5384.  
  5385.  
  5386.  
  5387.  
  5388.  
  5389.         if _G.prices == nil then
  5390.             _G.prices = {};
  5391.         end
  5392.  
  5393.         if _G.keywordreplies == nil then
  5394.             _G.keywordreplies = {};
  5395.         end
  5396.  
  5397.  
  5398.         local wishBotEnabled = true;
  5399.         local allOpenTrades = {};
  5400.         local tradesInProgress = {};
  5401.         local isSellingItemRn = false;
  5402.         local renamedItems = {};
  5403.         local cooldownPeople = {};
  5404.         local bypassChatEnabled = false;
  5405.        
  5406.  
  5407.         function addTrade(username, price, item)
  5408.             table.insert(allOpenTrades, { tostring(username), tonumber(price), (tonumber(os.time(os.date("!*t"))) + 120), tostring(item) });
  5409.         end
  5410.  
  5411.         function addInProgTrade(price)
  5412.             table.insert(tradesInProgress, { tonumber(price) } );
  5413.         end
  5414.        
  5415.        
  5416.         function doCooldown(username) -- true = can talk, false = cant
  5417.             if username == game.Players.LocalPlayer.Name then
  5418.                 return true;
  5419.             end
  5420.             for i,v in pairs(cooldownPeople) do
  5421.                 if tonumber(os.time(os.date("!*t"))) > v[2] then
  5422.                     table.remove(cooldownPeople, tablefind(cooldownPeople, { v[1], v[2] }));
  5423.                     if v[1] == username then
  5424.                         table.insert(cooldownPeople, { tostring(username), (tonumber(os.time(os.date("!*t"))) + 5) });
  5425.                         return true;
  5426.                     end
  5427.                 else
  5428.                     if v[1] == username then
  5429.                         return false;
  5430.                     end
  5431.                 end
  5432.             end
  5433.             table.insert(cooldownPeople, { tostring(username), (tonumber(os.time(os.date("!*t"))) + 5) } );
  5434.             return true;
  5435.         end
  5436.  
  5437.  
  5438.  
  5439.         function insertstring(str1, str2, pos)
  5440.             return str1:sub(1,pos)..str2..str1:sub(pos+1)
  5441.         end
  5442.  
  5443.  
  5444.         function bypassChat(chat)
  5445.             if bypassChatEnabled then
  5446.                 stringReturn = "";
  5447.                
  5448.                 for i,v in pairs(string.split(chat, " ")) do
  5449.                     if string.len(v) > 1 then
  5450.                         stringReturn = stringReturn .. insertstring(v, "Ø©", 1) .. " ";
  5451.                     else
  5452.                         stringReturn = stringReturn .. v .. " ";
  5453.                     end
  5454.                 end
  5455.                 return stringReturn;
  5456.             end
  5457.             return chat;
  5458.         end
  5459.        
  5460.  
  5461.         function removeInProgTrade(price)
  5462.             table.remove(tradesInProgress, tablefind(tradesInProgress, { price }));
  5463.         end
  5464.  
  5465.  
  5466.         function getPrice(msg)
  5467.             local lastdotpos = (msg:reverse()):find(" ")
  5468.             return (msg:sub(1 - lastdotpos))
  5469.         end
  5470.  
  5471.         local currency = game.Players.LocalPlayer:WaitForChild("PlayerData"):WaitForChild("Currency");
  5472.         local lastChangedAmt = currency.Value;
  5473.         currency.Changed:connect(function(newVal)
  5474.             spawn(function()
  5475.                 oldVal = lastChangedAmt;
  5476.                 lastChangedAmt = newVal;
  5477.                 difference = tonumber((newVal - oldVal));
  5478.                 print("Money changed! Old value: " .. oldVal .. " New Value: " .. newVal .. " difference: " .. difference);
  5479.                 pcall(function()
  5480.                     for i,v in pairs(allOpenTrades) do
  5481.                         shouldBreak = false;
  5482.                         wasABuyer = false;
  5483.                         wasSuccess = false;
  5484.                         pcall(function()
  5485.                             if difference == v[2] then
  5486.                                 Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(bypassChat("/ad [wishbot] Hey " .. v[1] .. ", I recieved your payment, please stand still!"), "All");
  5487.                                
  5488.                                 hasFoundTrade = false;
  5489.                                 for ilol,vlol in pairs(tradesInProgress) do
  5490.                                     if tonumber(vlol[1]) == v[2] then
  5491.                                         hasFoundTrade = true;
  5492.                                         shouldBreak = true;
  5493.                                         break;
  5494.                                     end
  5495.                                 end
  5496.                                 if hasFoundTrade == false then
  5497.                                     addInProgTrade(tonumber(v[2]));
  5498.                                     while isSellingItemRn do
  5499.                                         wait(1);
  5500.                                     end
  5501.                                     isSellingItemRn = true;
  5502.                                     shouldBreak = true;
  5503.                                     wasABuyer = true;
  5504.                                     local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls();
  5505.                                     pcall(function()
  5506.                                         controls:Disable();
  5507.                                         buyersUsername = v[1];
  5508.                                         buyersItem = string.lower(v[4]);
  5509.                                        
  5510.                                         localitm = nil;
  5511.                                        
  5512.                                         for i1, v1 in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  5513.                                             if string.lower(v1.Name) == buyersItem then
  5514.                                                 localitm = v1;
  5515.                                                 break;
  5516.                                             end
  5517.                                         end
  5518.                                        
  5519.                                         if localitm == nil then
  5520.                                             for i2,v2 in pairs(string.split(game.Players.LocalPlayer.PlayerData.Inventory.Value, ",")) do
  5521.                                                 if string.lower(tostring(v2)) == buyersItem then
  5522.                                                     shouldBreakThis = false;
  5523.                                                     Game:GetService("ReplicatedStorage").Events.InventoryEvent:FireServer(3, tostring(v2));
  5524.                                                     wait(1);
  5525.                                                     for i1, v1 in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  5526.                                                         if string.lower(tostring(v1.Name)) == buyersItem then
  5527.                                                             localitm = v1;
  5528.                                                             shouldBreakThis = true;
  5529.                                                             break;
  5530.                                                         end
  5531.                                                     end
  5532.                                                     if shouldBreakThis then
  5533.                                                         break;
  5534.                                                     end
  5535.                                                 end
  5536.                                             end
  5537.                                         end
  5538.                                        
  5539.                                         itemNamee = "";
  5540.                                         pcall(function()
  5541.                                             itemNamee = localitm.Name;
  5542.                                         end)
  5543.                                        
  5544.                                         if itemNamee == "" then
  5545.                                             Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(bypassChat("[/ad wishbot] Hey " .. v[1] .. ", Coulden't find the item, refunding..."), "All");
  5546.                                             table.remove(allOpenTrades, tablefind(allOpenTrades, v));
  5547.                                             Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(2, tostring(v[2]), tostring(buyersUsername));
  5548.                                             isSellingItemRn = false;
  5549.                                             removeInProgTrade(tonumber(v[2]));
  5550.                                         else
  5551.                                             local cFrameRn = nil;
  5552.                                             local character = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait();
  5553.                                             local HumanoidRootPart = character:WaitForChild("HumanoidRootPart");
  5554.                                             cFrameRn = CFrame.new(Vector3.new(HumanoidRootPart.CFrame.X, HumanoidRootPart.CFrame.Y, HumanoidRootPart.CFrame.Z));
  5555.                                            
  5556.                                             _G.redRageAuraEnabled = false;
  5557.                                             _G.yellowRageAuraEnabled = false;
  5558.                                             _G.nlrLoop = true;
  5559.                                             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[tostring(v[1])].Character.HumanoidRootPart.CFrame;
  5560.                                             wait(1);
  5561.                                             game.Players.LocalPlayer.Character.Humanoid:EquipTool(localitm);
  5562.                                             wait(1);
  5563.                                             Game:GetService("ReplicatedStorage").Events.InventoryEvent:FireServer(1);
  5564.                                             wait(1);
  5565.                                             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = cFrameRn;
  5566.                                             wait(1);
  5567.  
  5568.                                             wasSuccess = true;
  5569.                                             isSellingItemRn = false;
  5570.                                             Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(bypassChat("/ad [wishbot] Hey " .. v[1] .. ", Teleported and dropped item to you!"), "All");
  5571.                                             controls:Enable();
  5572.                                             removeInProgTrade(tonumber(v[2]));
  5573.                                             table.remove(allOpenTrades, tablefind(allOpenTrades, v));
  5574.                                             wait(1);
  5575.                                         end
  5576.                                     end)
  5577.                                 end
  5578.                             end
  5579.                         end)
  5580.                         if wasABuyer and wasSuccess == false then
  5581.                             shouldBreak = true;
  5582.                             Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(bypassChat("/ad [wishbot] Hey " .. v[1] .. ", Coulden't find the item, refunding..."), "All");
  5583.                             table.remove(allOpenTrades, tablefind(allOpenTrades, v));
  5584.                             Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(2, tostring(v[2]), tostring(buyersUsername));
  5585.                             local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls();
  5586.                             controls:Enable();
  5587.                             isSellingItemRn = false;
  5588.                             removeInProgTrade(tonumber(v[2]));
  5589.                         end
  5590.                         local foundWatch = false
  5591.  
  5592.                         for iaa,vaa in pairs(game.Workspace[game.Players.LocalPlayer.Name]:GetChildren()) do
  5593.                             if string.lower(tostring(vaa.Name)) == buyersItem then
  5594.                                 shouldBreak = true;
  5595.                                 Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(bypassChat("/ad [wishbot] Hey " .. v[1] .. ", something went wrong, refunding you..."), "All");
  5596.                                 table.remove(allOpenTrades, tablefind(allOpenTrades, v));
  5597.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(2, tostring(v[2]), tostring(buyersUsername));
  5598.                                 local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls();
  5599.                                 controls:Enable();
  5600.                                 isSellingItemRn = false;
  5601.                                 removeInProgTrade(tonumber(v[2]));
  5602.                             end
  5603.                         end
  5604.                         local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls();
  5605.                         controls:Enable();
  5606.                         if shouldBreak then
  5607.                             break;
  5608.                         end
  5609.                     end
  5610.                 end)
  5611.                 local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls();
  5612.                 controls:Enable();
  5613.             end)
  5614.         end);
  5615.  
  5616.  
  5617.  
  5618.         function tablefind(tab,el)
  5619.             for index, value in pairs(tab) do
  5620.                 if value == el then
  5621.                     return index
  5622.                 end
  5623.             end
  5624.         end
  5625.  
  5626.  
  5627.  
  5628.         spawn(function()
  5629.             while true do
  5630.                 pcall(function()
  5631.                     for i,v in pairs(allOpenTrades) do
  5632.                         pcall(function()
  5633.                             currTime = tonumber(os.time(os.date("!*t")));
  5634.                             if v[3] < currTime then
  5635.                                 Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(bypassChat("/ad [wishbot] Hey " .. v[1] .. ", your trade expired!"), "All");
  5636.                                 table.remove(allOpenTrades, tablefind(allOpenTrades, v));
  5637.                             end
  5638.                         end)
  5639.                     end
  5640.                 end)
  5641.                 wait(1);
  5642.             end
  5643.         end)
  5644.  
  5645.  
  5646.         function setPrice(itemName, price)
  5647.             didSet = false;
  5648.             for i,v in pairs(_G.prices) do
  5649.                 if v[1] == itemName then
  5650.                     v[2] = price;
  5651.                     didSet = true;
  5652.                     break;
  5653.                 end
  5654.             end
  5655.             if didSet then
  5656.                 return true;
  5657.             else
  5658.                 table.insert(_G.prices, { tostring(itemName), tonumber(price) });
  5659.                 return true;
  5660.             end
  5661.         end
  5662.  
  5663.  
  5664.         function itemInStock(buyersItem)
  5665.             isInPrices = false;
  5666.             for i,v in pairs(_G.prices) do
  5667.                 if string.lower(v[1]) == string.lower(buyersItem) then
  5668.                     isInPrices = true;
  5669.                     break;
  5670.                 end
  5671.             end
  5672.             if isInPrices then
  5673.                 localitm = nil;
  5674.                 for i1, v1 in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  5675.                     if string.lower(v1.Name) == string.lower(buyersItem) then
  5676.                         localitm = v1;
  5677.                         break;
  5678.                     end
  5679.                 end
  5680.                
  5681.                 if localitm == nil then
  5682.                     for i2,v2 in pairs(string.split(game.Players.LocalPlayer.PlayerData.Inventory.Value, ",")) do
  5683.                         if string.lower(v2) == string.lower(buyersItem) then
  5684.                             localitm = v2;
  5685.                         end
  5686.                     end
  5687.                 end
  5688.                 if localitm == nil then
  5689.                     return false;
  5690.                 else
  5691.                     return true;
  5692.                 end
  5693.             else
  5694.                 return false;
  5695.             end
  5696.         end
  5697.  
  5698.  
  5699.         function getItemPrice(buyersItem)
  5700.             for i,v in pairs(_G.prices) do
  5701.                 if string.lower(v[1]) == string.lower(buyersItem) then
  5702.                     if v[2] == 0 then
  5703.                         return 0;
  5704.                     else
  5705.                         return tonumber(v[2]);
  5706.                     end
  5707.                 end
  5708.             end
  5709.             return 0;
  5710.         end
  5711.  
  5712.  
  5713.         function removeNumbers(text)
  5714.             fullResult = "";
  5715.             for i = 1, #text do
  5716.                 c = text:sub(i,i)
  5717.                 if c == "1" or c == "2" or c == "3" or c == "4" or c == "5" or c == "6" or c == "7" or c == "8" or c == "9" or c == "0" then -- why doesnt lua have if char numeric like c#
  5718.                
  5719.                 else
  5720.                     fullResult = fullResult .. c;
  5721.                 end
  5722.             end
  5723.             fullResult = string.lower(fullResult);
  5724.             return fullResult;
  5725.         end
  5726.  
  5727.  
  5728.         function getKeywordResponse(buyersItem)
  5729.             if _G.keywordreplies ~= nil then
  5730.                 for i,v in pairs(_G.keywordreplies) do
  5731.                     if string.find(buyersItem, v[1]) then
  5732.                         return v[2];
  5733.                     end
  5734.                 end
  5735.             end
  5736.             return "";
  5737.         end
  5738.  
  5739.  
  5740.         wishBotPrefix = "!";
  5741.        
  5742.         function envIsAlphaNum(sIn)
  5743.             return (string.match(sIn,"[^%w]") == nil)
  5744.         end
  5745.        
  5746.        
  5747.         function checkIfUsedPrice(price)
  5748.             for iasdasd,viasdasd in pairs(allOpenTrades) do
  5749.                 if tonumber(viasdasd[2]) == tonumber(uniqPrice) then
  5750.                     return true;
  5751.                 end
  5752.             end
  5753.             return false;
  5754.         end
  5755.        
  5756.        
  5757.         local function onPlayerChatted(player, message)
  5758.             if _G.wishBotEnabled then
  5759.                 pcall(function()
  5760.                     command = string.split(string.split(message, wishBotPrefix)[2], " ")[1];
  5761.                     if string.match(message, "/ad ") then
  5762.                         spawn(function()
  5763.                             username = player.Name:gsub('%s+', '');
  5764.                             if isUserEnemy(username) then
  5765.                                
  5766.                             else
  5767.                                 if doCooldown(username) then
  5768.                                     if command == "buy" then
  5769.                                         if wishBotEnabled then
  5770.                                             if username == game.Players.LocalPlayer.Name then
  5771.                                                 Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("[wishbot] You can't buy your own item!", "All");
  5772.                                             else
  5773.                                                 itemToBuy = "";
  5774.                                                 if string.match(message, "\"") then
  5775.                                                     for match in string.gmatch(message, "%b\"\"") do
  5776.                                                        itemToBuy = string.gsub(match, "\"", "");
  5777.                                                        break;
  5778.                                                     end
  5779.                                                 else
  5780.                                                     itemToBuy = string.split(message, " ")[3];
  5781.                                                 end
  5782.                                                 if itemToBuy ~= nil then
  5783.                                                     if string.match(string.lower(itemToBuy), "cola") then
  5784.                                                         itemToBuy = "Bloxy Cola";
  5785.                                                     end
  5786.                                                     pcall(function()
  5787.                                                         for iqqq,vqqq in pairs(renamedItems) do
  5788.                                                             if tostring(vqqq[2]) == itemToBuy then
  5789.                                                                 itemToBuy = tostring(vqqq[1]);
  5790.                                                                 break;
  5791.                                                             end
  5792.                                                         end
  5793.                                                     end)
  5794.                                                     if getKeywordResponse(message) == "" then
  5795.                                                         if itemInStock(itemToBuy) then
  5796.                                                             if getItemPrice(itemToBuy) > 0 then
  5797.                                                                 uniqPrice = (getItemPrice(itemToBuy) + math.random(1,100));
  5798.                                                                 if checkIfUsedPrice(uniqPrice) then
  5799.                                                                     Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(bypassChat("/ad [wishbot] Hey " .. removeNumbers(username) .. ", Something went wrong!"), "All");
  5800.                                                                 else
  5801.                                                                     addTrade(username, tonumber(uniqPrice), itemToBuy);
  5802.                                                                     Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(bypassChat("/ad [wishbot] Hey " .. removeNumbers(username) .. ", Please send me EXACTLY $" .. uniqPrice .. "pesos!"), "All");
  5803.                                                                     wait(1);
  5804.                                                                     Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] The price is slightly higher so the bot knows who's who.", "All");
  5805.                                                                 end
  5806.                                                             else
  5807.                                                                 Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] That item has been disabled for purchasing.", "All");
  5808.                                                             end
  5809.                                                         else
  5810.                                                             Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] Sorry, but that item isn't in stock, did you spell it correctly?", "All");
  5811.                                                         end
  5812.                                                     else
  5813.                                                         Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(bypassChat("/ad [wishbot] Hey " .. removeNumbers(username) .. ", " .. getKeywordResponse(message)), "All");
  5814.                                                     end
  5815.                                                 end
  5816.                                             end
  5817.                                         else
  5818.                                             Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] Sorry, Wish bot is disabled!", "All");
  5819.                                         end
  5820.                                     elseif command == "setprice" then
  5821.                                         if username == game.Players.LocalPlayer.Name then
  5822.                                             wasSuccess = false;
  5823.                                             pcall(function()
  5824.                                                 itemToSet = "";
  5825.                                                 itemPrice = 0;
  5826.                                                 if string.match(message, "\"") then
  5827.                                                     for match in string.gmatch(message, "%b\"\"") do
  5828.                                                        itemToSet = string.gsub(match, "\"", "");
  5829.                                                        itemPrice = tonumber(getPrice(message));
  5830.                                                        break;
  5831.                                                     end
  5832.                                                 else
  5833.                                                     itemToSet = string.split(message, " ")[3];
  5834.                                                     itemPrice = tonumber(string.split(message, " ")[4]);
  5835.                                                 end
  5836.                                                 pcall(function()
  5837.                                                     for iqqq,vqqq in pairs(renamedItems) do
  5838.                                                         if tostring(vqqq[2]) == itemToSet then
  5839.                                                             itemToSet = tostring(vqqq[1]);
  5840.                                                             break;
  5841.                                                         end
  5842.                                                     end
  5843.                                                 end)
  5844.                                                 setPrice(itemToSet, itemPrice);
  5845.                                                 Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(bypassChat("/ad [wishbot] " .. itemToSet .. " is now $" .. itemPrice .. "!"), "All");
  5846.                                                 wasSuccess = true;
  5847.                                             end)
  5848.                                             if wasSuccess == false then
  5849.                                                 Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] Something went wrong, did you enter a item name + price?", "All");
  5850.                                             end
  5851.                                         end
  5852.                                     elseif command == "stock" then
  5853.                                         Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] Current available stock (this might take a while):", "All");
  5854.                                         wait(2);
  5855.                                         for i,v in pairs(_G.prices) do
  5856.                                             pcall(function()
  5857.                                                 displayedItemName = v[1];
  5858.                                                 itemToBuy = v[1];
  5859.                                                 for iqqq,vqqq in pairs(renamedItems) do
  5860.                                                     if tostring(vqqq[1]) == v[1] then
  5861.                                                         displayedItemName = tostring(vqqq[2]);
  5862.                                                         itemToBuy = tostring(vqqq[1]);
  5863.                                                         break;
  5864.                                                     end
  5865.                                                 end
  5866.                                                 if itemInStock(itemToBuy) and getItemPrice(itemToBuy) > 0 then
  5867.                                                     Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(bypassChat("/ad [wishbot] Item: " .. displayedItemName .. " Price: " .. getItemPrice(itemToBuy)), "All");
  5868.                                                     wait(3);
  5869.                                                 end
  5870.                                             end)
  5871.                                         end
  5872.                                         Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] End of list.", "All");
  5873.                                     elseif command == "price" then
  5874.                                         itemToBuy = "";
  5875.                                         renamedItemName = "";
  5876.                                         if string.match(message, "\"") then
  5877.                                             for match in string.gmatch(message, "%b\"\"") do
  5878.                                                itemToBuy = string.gsub(match, "\"", "");
  5879.                                                break;
  5880.                                             end
  5881.                                         else
  5882.                                             itemToBuy = string.split(message, " ")[3];
  5883.                                         end
  5884.                                         if itemToBuy ~= nil then
  5885.                                             if string.match(string.lower(itemToBuy), "cola") then
  5886.                                                 itemToBuy = "Bloxy Cola";
  5887.                                             end
  5888.                                             renamedItemName = itemToBuy;
  5889.                                             pcall(function()
  5890.                                                 for iqqq,vqqq in pairs(renamedItems) do
  5891.                                                     if tostring(vqqq[2]) == itemToBuy then
  5892.                                                         itemToBuy = tostring(vqqq[1]);
  5893.                                                         renamedItemName = tostring(vqqq[2]);
  5894.                                                         break;
  5895.                                                     end
  5896.                                                 end
  5897.                                             end)
  5898.                                             if getKeywordResponse(message) == "" then
  5899.                                                 if itemInStock(itemToBuy) and getItemPrice(string.lower(itemToBuy)) > 0 then
  5900.                                                     Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(bypassChat("/ad [wishbot] Item: " .. renamedItemName .. " Price: " .. getItemPrice(string.lower(itemToBuy))), "All");
  5901.                                                 else
  5902.                                                     Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] Sorry, that item isn't available right now.", "All");
  5903.                                                 end
  5904.                                             else
  5905.                                                 Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(bypassChat("/ad [wishbot] Hey " .. removeNumbers(username) .. ", " .. getKeywordResponse(message)), "All");
  5906.                                             end
  5907.                                         end
  5908.                                     elseif command == "disable" then
  5909.                                         if username == game.Players.LocalPlayer.Name then
  5910.                                             wishBotEnabled = false;
  5911.                                             Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] Wish bot disabled!", "All");
  5912.                                         end
  5913.                                     elseif command == "enable" then
  5914.                                         if username == game.Players.LocalPlayer.Name then
  5915.                                             wishBotEnabled = true;
  5916.                                             Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] Wish bot enabled!", "All");
  5917.                                         end
  5918.                                     elseif command == "help" then
  5919.                                         Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] " .. wishBotPrefix .. "help, " .. wishBotPrefix .. "buy (item) " .. wishBotPrefix .. "price (item), " .. wishBotPrefix .. "stock", "All");
  5920.                                         wait(1);
  5921.                                         Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] If you're trying to buy an item with a space", "All");
  5922.                                         wait(1);
  5923.                                         Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] Please put quotes around it, example: \"Bloxy Cola\"", "All");
  5924.                                         wait(1);
  5925.                                         if username == game.Players.LocalPlayer.Name then
  5926.                                             Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot owner] " .. wishBotPrefix .. "enable, " .. wishBotPrefix .. "disable, " .. wishBotPrefix .. "setprice (item) (price), " .. wishBotPrefix .. "rename, " .. wishBotPrefix .. "prefix, " .. wishBotPrefix .. "bypass", "All");
  5927.                                         end
  5928.                                     elseif command == "rename" then
  5929.                                         if username == game.Players.LocalPlayer.Name then
  5930.                                             wasSuccess = false;
  5931.                                             pcall(function()
  5932.                                                 itemToSet = "";
  5933.                                                 itemRenamedName = "";
  5934.                                                
  5935.                                                
  5936.                                                 counterer = 0;
  5937.                                                 for chunk in string.gmatch(message, "\"(.-)\"") do
  5938.                                                     counterer = counterer + 1;
  5939.                                                     if counterer == 1 then
  5940.                                                         itemToSet = chunk;
  5941.                                                     elseif counterer == 2 then
  5942.                                                         itemRenamedName = chunk;
  5943.                                                     else
  5944.                                                         break;
  5945.                                                     end
  5946.                                                 end
  5947.                                                 if counterer > 1 then
  5948.                                                     for iqqq,vqqq in pairs(renamedItems) do
  5949.                                                         if tostring(vqqq[1]) == itemToSet then
  5950.                                                             table.remove(renamedItems, tablefind(renamedItems, { vqqq[1], vqqq[2] }));
  5951.                                                         end
  5952.                                                     end
  5953.                                                    
  5954.                                                     if itemToSet ~= "" and itemRenamedName ~= "" then
  5955.                                                         table.insert(renamedItems, { itemToSet, itemRenamedName });
  5956.                                                        
  5957.                                                         Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(bypassChat("/ad [wishbot] " .. itemToSet .. " is now " .. itemRenamedName .. "!"), "All");
  5958.                                                         wasSuccess = true;
  5959.                                                     end
  5960.                                                 end
  5961.                                             end)
  5962.                                             if wasSuccess == false then
  5963.                                                 Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] Something went wrong, did you enter the item name + renamed name?", "All");
  5964.                                             end
  5965.                                         end
  5966.                                     elseif command == "prefix" then
  5967.                                         if username == game.Players.LocalPlayer.Name then
  5968.                                             wasSuccess = false;
  5969.                                             pcall(function()
  5970.                                                 newPrfix = string.lower(string.split(message, " ")[3]);
  5971.                                                 if newPrfix ~= nil and envIsAlphaNum(newPrfix) == false then
  5972.                                                     wishBotPrefix = newPrfix;
  5973.                                                     Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] The prefix is now '" .. wishBotPrefix .. "'!", "All");
  5974.                                                     wasSuccess = true;
  5975.                                                 end
  5976.                                             end)
  5977.                                             if wasSuccess == false then
  5978.                                                 Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] Something went wrong, did you enter a prefix?", "All");
  5979.                                             end
  5980.                                         end
  5981.                                     elseif command == "bypass" then
  5982.                                         if username == game.Players.LocalPlayer.Name then
  5983.                                             wasSuccess = false;
  5984.                                             pcall(function()
  5985.                                                 value = string.lower(string.split(message, " ")[3]);
  5986.                                                 if value == "true" then
  5987.                                                     bypassChatEnabled = true;
  5988.                                                     wasSuccess = true;
  5989.                                                     Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] Chat bypass enabled!", "All");
  5990.                                                 elseif value == "false" then
  5991.                                                     bypassChatEnabled = false;
  5992.                                                     wasSuccess = true;
  5993.                                                     Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] Chat bypass disabled!", "All");
  5994.                                                 end
  5995.                                             end)
  5996.                                             if wasSuccess == false then
  5997.                                                 Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] Something went wrong, did you enter true/false?", "All");
  5998.                                             end
  5999.                                         end
  6000.                                     end
  6001.                                 end
  6002.                             end
  6003.                         end)
  6004.                     end
  6005.                 end)
  6006.             end
  6007.         end
  6008.         local function onPlayerAdded(player)
  6009.             pcall(function()
  6010.                 player.Chatted:Connect(function (message) onPlayerChatted(player, message) end)
  6011.             end)
  6012.         end
  6013.         game.Players.PlayerAdded:Connect(onPlayerAdded)
  6014.  
  6015.         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  6016.             pcall(function()
  6017.                 v.Chatted:Connect(function (message) onPlayerChatted(v, message) end)
  6018.             end)
  6019.         end
  6020.         print("wishbot loaded");
  6021.        
  6022.         -- button
  6023.         wishBotButton.Activated:Connect(function()
  6024.             if _G.wishBotEnabled then
  6025.                 _G.wishBotEnabled = false;
  6026.                 wishBotButton.Text = "[OFF] WishBot"
  6027.                 notice:Fire("Lunahax", "WishBot disabled.");
  6028.                 Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] Wishbot has been disabled.", "All");
  6029.             else
  6030.                 _G.wishBotEnabled = true;
  6031.                 wishBotButton.Text = "[ON] WishBot"
  6032.                 notice:Fire("Lunahax", "WishBot enabled.");
  6033.                 Game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/ad [wishbot] Wishbot has been enabled! Type '/.ad !help' for info", "All");
  6034.             end
  6035.         end)
  6036.        
  6037.        
  6038.        
  6039.        
  6040.        
  6041.        
  6042.        
  6043.        
  6044.        
  6045.        
  6046.         ----
  6047.  
  6048.  
  6049.  
  6050.  
  6051.         ---- rage aura stuff, red players
  6052.         spawn(function()
  6053.             local player = game.Players.LocalPlayer
  6054.             local Players = game:GetService("Players")
  6055.             function GetClosestFlaggedRed()
  6056.                 local TargetDistance = math.huge
  6057.                 local Target
  6058.                 pcall(function()
  6059.                     local Character = player.Character
  6060.                     local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")
  6061.                     if not (Character or HumanoidRootPart) then return end
  6062.  
  6063.                     for i,v in ipairs(Players:GetPlayers()) do
  6064.                         pcall(function()
  6065.                             if v ~= player and v.Character and v.Character:FindFirstChild("HumanoidRootPart") and isUserFriend(v.Name) ~= true then
  6066.                                 if v.Flagged.Value then
  6067.                                     local TargetHRP = v.Character.HumanoidRootPart
  6068.                                     local mag = (HumanoidRootPart.Position - TargetHRP.Position).magnitude
  6069.                                     if mag < TargetDistance then
  6070.                                         if v.Flagged.Value then -- if the user is flagged
  6071.                                             if game:GetService("Workspace")[v.Name].NameTag.TextLabel.TextColor3 ==  Color3.fromRGB(255, 33, 33) then
  6072.                                                 TargetDistance = mag
  6073.                                                 Target = v
  6074.                                             end
  6075.                                         end
  6076.                                     end
  6077.                                 else
  6078.                                    
  6079.                                 end
  6080.                             end
  6081.                         end)
  6082.                     end
  6083.                 end)
  6084.                 return Target
  6085.             end
  6086.  
  6087.             function killClosestRed()
  6088.                 pcall(function()
  6089.                     if _G.redRageAuraEnabled then
  6090.                         local Character = player.Character
  6091.                         local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")
  6092.                         local closesttt = GetClosestFlaggedRed();
  6093.                         local mag = (HumanoidRootPart.Position - closesttt.Character.HumanoidRootPart.Position).magnitude
  6094.                        
  6095.                         if mag < 250 then
  6096.                             if closesttt.Flagged.Value then -- if the user is flagged
  6097.                                 if game:GetService("Workspace")[closesttt.Name].NameTag.TextLabel.TextColor3 ==  Color3.fromRGB(255, 33, 33) then
  6098.                                     if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool").Handle.Reload then
  6099.                                         Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[closesttt.Name].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[closesttt.Name].Humanoid, 100, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  6100.                                     end
  6101.                                 end
  6102.                             end
  6103.                         end
  6104.                     end
  6105.                 end)
  6106.             end
  6107.  
  6108.             spawn(function()
  6109.                 while true do
  6110.                     pcall(function()
  6111.                         if _G.redRageAuraEnabled then
  6112.                             killClosestRed()
  6113.                         end
  6114.                     end)
  6115.                     wait();
  6116.                 end;
  6117.             end);
  6118.         end);
  6119.  
  6120.  
  6121.         ---- rage aura stuff, yellow players
  6122.         spawn(function()
  6123.             local player = game.Players.LocalPlayer
  6124.             local Players = game:GetService("Players")
  6125.             function GetClosestFlaggedYellow()
  6126.                 local TargetDistance = math.huge
  6127.                 local Target
  6128.                 pcall(function()
  6129.                     local Character = player.Character
  6130.                     local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")
  6131.                     if not (Character or HumanoidRootPart) then return end
  6132.  
  6133.                     for i,v in ipairs(Players:GetPlayers()) do
  6134.                         pcall(function()
  6135.                             if v ~= player and v.Character and v.Character:FindFirstChild("HumanoidRootPart") and isUserFriend(v.Name) ~= true then
  6136.                                 if v.Flagged.Value then
  6137.                                     local TargetHRP = v.Character.HumanoidRootPart
  6138.                                     local mag = (HumanoidRootPart.Position - TargetHRP.Position).magnitude
  6139.                                     if mag < TargetDistance then
  6140.                                         if v.Flagged.Value then -- if the user is flagged
  6141.                                             if game:GetService("Workspace")[v.Name].NameTag.TextLabel.TextColor3 ==  Color3.fromRGB(255, 187, 69) then
  6142.                                                 TargetDistance = mag
  6143.                                                 Target = v
  6144.                                             end
  6145.                                         end
  6146.                                     end
  6147.                                 else
  6148.                                    
  6149.                                 end
  6150.                             end
  6151.                         end)
  6152.                     end
  6153.                 end)
  6154.                 return Target
  6155.             end
  6156.  
  6157.             function killClosestYellow()
  6158.                 pcall(function()
  6159.                     if _G.yellowRageAuraEnabled then
  6160.                         local Character = player.Character
  6161.                         local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")
  6162.                         local closesttt = GetClosestFlaggedYellow();
  6163.                         local mag = (HumanoidRootPart.Position - closesttt.Character.HumanoidRootPart.Position).magnitude
  6164.                        
  6165.                         if mag < 250 then
  6166.                             if closesttt.Flagged.Value and player.Flagged.Value then -- if the user is flagged
  6167.                                 if game:GetService("Workspace")[closesttt.Name].NameTag.TextLabel.TextColor3 ==  Color3.fromRGB(255, 187, 69) then
  6168.                                     if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool").Handle.Reload then
  6169.                                         Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(33, game:GetService("Workspace")[closesttt.Name].HumanoidRootPart.CFrame, 1, game:GetService("Workspace")[closesttt.Name].Humanoid, 100, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool"));
  6170.                                     end
  6171.                                 end
  6172.                             end
  6173.                         end
  6174.                     end
  6175.                 end)
  6176.             end
  6177.  
  6178.             spawn(function()
  6179.                 while true do
  6180.                     pcall(function()
  6181.                         if _G.yellowRageAuraEnabled then
  6182.                             killClosestYellow()
  6183.                         end
  6184.                     end)
  6185.                     wait();
  6186.                 end;
  6187.             end);
  6188.         end);
  6189.  
  6190.  
  6191.         spawn(function()
  6192.             while true do
  6193.                 pcall(function()
  6194.                     if variables.autoColaDrink then
  6195.                         for _, vItm in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  6196.                             if vItm.Name == "Bloxy Cola" then
  6197.                                 if game.Players.LocalPlayer.Character.Humanoid.Health <= 80 then
  6198.                                     Game:GetService("ReplicatedStorage").Events.ToolsEvent:FireServer(4, vItm);
  6199.                                 end
  6200.                             end
  6201.                         end
  6202.                     end
  6203.                 end)
  6204.             wait();
  6205.             end
  6206.         end);
  6207.        
  6208.        
  6209.        
  6210.        
  6211.        
  6212.         function GetClosestOwnedMaterial()
  6213.             local lplayer = game.Players.LocalPlayer
  6214.             local Character = lplayer.Character
  6215.             local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")
  6216.             if not (Character or HumanoidRootPart) then return end
  6217.             local TargetDistance = math.huge
  6218.             local Target
  6219.             for i,v in ipairs(game:GetService("Workspace").Materials:GetChildren()) do
  6220.                 pcall(function()
  6221.                     mesh = nil;
  6222.                     pcall(function()
  6223.                         if v.PrimaryPart.Name ~= "" then
  6224.                             mesh = v.PrimaryPart
  6225.                         end
  6226.                     end)
  6227.                     pcall(function()
  6228.                         if mesh == nil then
  6229.                             mesh = v.PrimaryPart
  6230.                         end
  6231.                     end)
  6232.                     if mesh then
  6233.                         if string.lower(tostring(v.TrueOwner.Value)) == tostring(string.lower(game.Players.LocalPlayer.Name)) then
  6234.                             local TargetHRP = mesh
  6235.                             local mag = (HumanoidRootPart.Position - TargetHRP.Position).magnitude
  6236.                             if mag < TargetDistance then
  6237.                                 TargetDistance = mag
  6238.                                 Target = v
  6239.                             end
  6240.                         end
  6241.                     end
  6242.                 end)
  6243.             end
  6244.  
  6245.             return Target
  6246.         end
  6247.                    
  6248.         function runAutoScrapFarm()
  6249.             if variables.autoScrapFarm then
  6250.                 pcall(function()
  6251.                     hasFoundCargoStation = false;
  6252.                     pcall(function()
  6253.                         if game:GetService("Workspace").Buildings[game.Players.LocalPlayer.Name]["Capital Cargo Station"].Name == "Capital Cargo Station" then
  6254.                             hasFoundCargoStation = true;
  6255.                         end
  6256.                     end)
  6257.                     if hasFoundCargoStation then
  6258.                         cargoStation = game:GetService("Workspace").Buildings[game.Players.LocalPlayer.Name]["Capital Cargo Station"];
  6259.                         for i,v in pairs(game:GetService("Workspace").Scavage:GetChildren()) do
  6260.                             if variables.autoScrapFarm and game.Players.LocalPlayer.PlayerData.CraftCharges.Value > 0 then
  6261.                                 pcall(function()
  6262.                                     if v.Name ~= "Vine" or v.Name ~= "Wooden Log" then
  6263.                                         didFindPart = false;
  6264.                                         pcall(function()
  6265.                                             print(v.PrimaryPart.CFrame);
  6266.                                             didFindPart = true;
  6267.                                         end)
  6268.                                         if didFindPart then
  6269.                                             local cFrameRn = nil;
  6270.                                             cFrameRn = CFrame.new(Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.X, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Y, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z));
  6271.                                            
  6272.                                             if variables.autoScrapFarm and game.Players.LocalPlayer.PlayerData.CraftCharges.Value > 0 then
  6273.                                                 local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls()
  6274.                                                 controls:Disable();
  6275.                                                
  6276.                                                 CFrameEnd = v.PrimaryPart.CFrame;
  6277.                                                 Time = 3
  6278.                                                 tween =  game:GetService("TweenService"):Create(game.Players.LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(Time), {CFrame = CFrameEnd})
  6279.                                                 tween:Play()
  6280.                                                 tween.Completed:Wait()
  6281.                                                
  6282.                                                 wait(2);
  6283.                                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(52, v);
  6284.                                                 wait(1);
  6285.                                                 itm = GetClosestOwnedMaterial();
  6286.                                                 Game:GetService("ReplicatedStorage").Events.PickUpEvent:FireServer(itm, true);
  6287.                                                 wait(1);
  6288.                                                
  6289.                                                 CFrameEnd = cargoStation.Union.CFrame;
  6290.                                                 Time = 3
  6291.                                                 tween =  game:GetService("TweenService"):Create(game.Players.LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(Time), {CFrame = CFrameEnd})
  6292.                                                 tween:Play()
  6293.                                                 tween.Completed:Wait()
  6294.                                                
  6295.                                                 wait(1);
  6296.                                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(41, cargoStation, itm);
  6297.                                                 CFrameEnd = CFrame.new(Vector3.new(cFrameRn.X, cFrameRn.Y, cFrameRn.Z));
  6298.                                                 Time = 3
  6299.                                                 tween =  game:GetService("TweenService"):Create(game.Players.LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(Time), {CFrame = CFrameEnd})
  6300.                                                 tween:Play()
  6301.                                                 tween.Completed:Wait()
  6302.                                             else
  6303.                                                 CFrameEnd = CFrame.new(Vector3.new(cFrameRn.X, cFrameRn.Y, cFrameRn.Z));
  6304.                                                 Time = 3
  6305.                                                 tween =  game:GetService("TweenService"):Create(game.Players.LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(Time), {CFrame = CFrameEnd})
  6306.                                                 tween:Play()
  6307.                                                 tween.Completed:Wait()
  6308.                                                
  6309.                                                 notice:Fire("Lunahax", "Disabling autoscrapfarm!");
  6310.                                                 variables.autoScrapFarm = false;
  6311.                                                 autoScrapFarmButton.Text = "[OFF] AutoScrapFarm"
  6312.                                             end
  6313.                                         end
  6314.                                     end
  6315.                                 end)
  6316.                             else
  6317.                                 notice:Fire("Lunahax", "Disabling autoscrapfarm!");
  6318.                                 variables.autoScrapFarm = false;
  6319.                                 autoScrapFarmButton.Text = "[OFF] AutoScrapFarm"
  6320.                             end
  6321.                         end
  6322.                     else
  6323.                         notice:Fire("Lunahax", "Please place a capital cargo station in your node for AutoScrapFarm!", 4);
  6324.                     end
  6325.                 end)
  6326.                 local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls()
  6327.                 controls:Enable();
  6328.             end
  6329.         end
  6330.        
  6331.        
  6332.        
  6333.        
  6334.         function autoCornFarmRun()
  6335.             if variables.autoCornFarm then
  6336.                 hasFoundCargoStation = false;
  6337.                 pcall(function()
  6338.                     if game:GetService("Workspace").Buildings[game.Players.LocalPlayer.Name]["Capital Cargo Station"].Name == "Capital Cargo Station" then
  6339.                         hasFoundCargoStation = true;
  6340.                     end
  6341.                 end)
  6342.                 if hasFoundCargoStation then
  6343.                     pcall(function()
  6344.                         cargoStation = game:GetService("Workspace").Buildings[game.Players.LocalPlayer.Name]["Capital Cargo Station"];
  6345.                         for i,v in pairs(game:GetService("Workspace").Buildings[game.Players.LocalPlayer.Name]:GetChildren()) do
  6346.                             pcall(function()
  6347.                                 if v.Name == "Corn Farm" or v.Name == "Tomato Farm" or v.Name == "Carrot Farm" then
  6348.                                     if v["3"].Transparency == 0 then
  6349.                                         pcall(function()
  6350.                                             -- ready for harvest
  6351.                                             local cFrameRn = nil;
  6352.                                             cFrameRn = CFrame.new(Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.X, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Y, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z));
  6353.                                             local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls()
  6354.                                             controls:Disable();
  6355.                                             pcall(function()
  6356.                                                 wait(1);
  6357.                                                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v["3"].CFrame;
  6358.                                                 wait(1);
  6359.                                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(40, v);
  6360.                                                 wait(1);
  6361.                                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(40, v);
  6362.                                                 wait(1);
  6363.                                                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = cargoStation.Union.CFrame;
  6364.                                                 wait(1);
  6365.                                                 corn = nil;
  6366.                                                 for i1, v1 in pairs(game:GetService("Workspace")[game.Players.LocalPlayer.Name]:GetChildren()) do
  6367.                                                     if string.match(v1.Name, "Corn") or string.match(v1.Name, "Tomato") or string.match(v1.Name, "Carrot") then
  6368.                                                         corn = v1;
  6369.                                                         break;
  6370.                                                     end
  6371.                                                 end
  6372.                                                 if corn ~= nil then
  6373.                                                     Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(41, cargoStation, corn);
  6374.                                                 end
  6375.                                             end)
  6376.                                             wait(1);
  6377.                                             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(cFrameRn.X, cFrameRn.Y, cFrameRn.Z));
  6378.                                             wait(1);
  6379.                                             controls:Enable();
  6380.                                         end)
  6381.                                     end
  6382.                                 end
  6383.                             end)
  6384.                         end
  6385.                     end)
  6386.                 else
  6387.                     notice:Fire("Lunahax", "Please place a capital cargo station in your node for AutoCornFarm!", 4);
  6388.                 end
  6389.             end
  6390.         end
  6391.        
  6392.        
  6393.         function auroAureusRun()
  6394.             if variables.autoAureus then
  6395.                 hasFoundScavStation = false;
  6396.                 pcall(function()
  6397.                     if game:GetService("Workspace").Buildings[game.Players.LocalPlayer.Name]["Scavenge Station"].Name == "Scavenge Station" then
  6398.                         hasFoundScavStation = true;
  6399.                     end
  6400.                 end)
  6401.                 if hasFoundScavStation then
  6402.                     pcall(function()
  6403.                         scavStation = game:GetService("Workspace").Buildings[game.Players.LocalPlayer.Name]["Scavenge Station"];
  6404.                         timerOnThing = game.Players.LocalPlayer.PlayerGui.Client.Drone.Slots.Amt.Text;
  6405.                         if timerOnThing == "Ready" then
  6406.                             pcall(function()
  6407.                                 -- ready for drone
  6408.                                 local cFrameRn = nil;
  6409.                                 cFrameRn = CFrame.new(Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.X, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Y, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z));
  6410.                                 local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls()
  6411.                                 controls:Disable();
  6412.                                 pcall(function()
  6413.                                
  6414.                                     CFrameEnd = scavStation.Union.CFrame;
  6415.                                     Time = 5
  6416.                                     tween = game:GetService("TweenService"):Create(game.Players.LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(Time), {CFrame = CFrameEnd})
  6417.                                     tween:Play()
  6418.                                     tween.Completed:Wait()
  6419.                                    
  6420.                                    
  6421.                                     wait(1);
  6422.                                     Game:GetService("ReplicatedStorage").Events.InteractEvent:FireServer(scavStation);
  6423.                                     wait(1);
  6424.                                     Game:GetService("ReplicatedStorage").Events.MenuAcitonEvent:FireServer(1, scavStation);
  6425.                                     wait(1);
  6426.                                    
  6427.                                     CFrameEnd = game:GetService("Workspace").DroneShipment.MeshPart.CFrame;
  6428.                                     Time = 5
  6429.                                     tween =  game:GetService("TweenService"):Create(game:GetService("Workspace").Drones[game.Players.LocalPlayer.Name].Hull, TweenInfo.new(Time), {CFrame = CFrameEnd})
  6430.                                     tween:Play()
  6431.                                     tween.Completed:Wait()
  6432.                                    
  6433.                                     wait(2);
  6434.                                     Game:GetService("ReplicatedStorage").Events.MenuAcitonEvent:FireServer(3);
  6435.                                     wait(1);
  6436.                                     game:GetService("Workspace").Drones[game.Players.LocalPlayer.Name].Hull.CFrame = game:GetService("Workspace").Buildings[game.Players.LocalPlayer.Name]["Scavenge Station"].Union.CFrame;
  6437.                                     wait(1);
  6438.                                     Game:GetService("ReplicatedStorage").Events.MenuAcitonEvent:FireServer(4);
  6439.                                     wait();
  6440.                                     Game:GetService("ReplicatedStorage").Events.InteractEvent:FireServer(scavStation);
  6441.                                 end)
  6442.                                 wait(1);
  6443.                                
  6444.                                 CFrameEnd = CFrame.new(Vector3.new(cFrameRn.X, cFrameRn.Y, cFrameRn.Z));
  6445.                                 Time = 5
  6446.                                 tween = game:GetService("TweenService"):Create(game.Players.LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(Time), {CFrame = CFrameEnd})
  6447.                                 tween:Play()
  6448.                                 tween.Completed:Wait()
  6449.                                
  6450.                                 wait(1);
  6451.                                 controls:Enable();
  6452.                                 Game:GetService("ReplicatedStorage").Events.ScavengeFunction:InvokeServer("Old-World Crate");
  6453.                                
  6454.                             end)
  6455.                         end
  6456.                     end)
  6457.                 else
  6458.                     notice:Fire("Lunahax", "Please place a scavenge station in your node for AutoAureus!", 4);
  6459.                 end
  6460.             end
  6461.         end
  6462.        
  6463.        
  6464.        
  6465.        
  6466.        
  6467.         function autoScavRun()
  6468.             if variables.autoScavEnabled then
  6469.                 local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls()
  6470.                 pcall(function()
  6471.                     for i,v in pairs(game:GetService("Workspace").Loot:GetChildren()) do
  6472.                         wait(2);
  6473.                         shouldBreak = false;
  6474.                         pcall(function()
  6475.                             if v.LootCrate ~= nil then
  6476.                                 pcall(function()
  6477.                                     controls:Disable();
  6478.                                     local cFrameRn = nil;
  6479.                                     cFrameRn = CFrame.new(Vector3.new(game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.X, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Y, game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame.Z));                                  
  6480.                                     local CFrameEnd = v.LootCrate.CFrame;
  6481.                                     local Time = 5
  6482.                                     local tween =  game:GetService("TweenService"):Create(game.Players.LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(Time), {CFrame = CFrameEnd})
  6483.                                     tween:Play()
  6484.                                     tween.Completed:Wait()
  6485.                                     wait(2);
  6486.                                     Game:GetService("ReplicatedStorage").Events.CratePickUpEvent:FireServer(v);
  6487.                                     wait(2);
  6488.                                                                        
  6489.                                     local CFrameEnd = CFrame.new(Vector3.new(cFrameRn.X, cFrameRn.Y, cFrameRn.Z));
  6490.                                     local Time = 5
  6491.                                     local tween =  game:GetService("TweenService"):Create(game.Players.LocalPlayer.Character.HumanoidRootPart, TweenInfo.new(Time), {CFrame = CFrameEnd})
  6492.                                     tween:Play()
  6493.                                     tween.Completed:Wait()
  6494.                                    
  6495.                                     shouldBreak = true;
  6496.                                     wait(1);
  6497.                                 end)
  6498.                             end
  6499.                         end)
  6500.                         if shouldBreak then
  6501.                             break;
  6502.                         end
  6503.                     end
  6504.                     controls:Enable();
  6505.                 end)
  6506.                 pcall(function()
  6507.                     local controls = require(game:GetService("Players").LocalPlayer.PlayerScripts.PlayerModule):GetControls()
  6508.                     controls:Enable();
  6509.                 end)
  6510.                 Game:GetService("ReplicatedStorage").Events.ScavengeFunction:InvokeServer("Scavenge Crate");
  6511.             end
  6512.         end
  6513.        
  6514.        
  6515.        
  6516.         function getClosestOwnedPrinter()
  6517.             local lplayer = game.Players.LocalPlayer
  6518.             local Character = lplayer.Character
  6519.             local HumanoidRootPart = Character and Character:FindFirstChild("HumanoidRootPart")
  6520.             if not (Character or HumanoidRootPart) then return end
  6521.             local TargetDistance = math.huge
  6522.             local Target
  6523.             for i,v in ipairs(game:GetService("Workspace").MoneyPrinters:GetChildren()) do
  6524.                 pcall(function()
  6525.                     mesh = nil;
  6526.                     pcall(function()
  6527.                         if v.PrimaryPart.Name ~= "" then
  6528.                             mesh = v.PrimaryPart
  6529.                         end
  6530.                     end)
  6531.                     pcall(function()
  6532.                         if mesh == nil then
  6533.                             mesh = v.PrimaryPart
  6534.                         end
  6535.                     end)
  6536.                     if mesh then
  6537.                         if string.lower(tostring(v.TrueOwner.Value)) == tostring(string.lower(game.Players.LocalPlayer.Name)) then
  6538.                             local TargetHRP = mesh
  6539.                             local mag = (HumanoidRootPart.Position - TargetHRP.Position).magnitude
  6540.                             if mag < TargetDistance then
  6541.                                 TargetDistance = mag
  6542.                                 Target = v
  6543.                             end
  6544.                         end
  6545.                     end
  6546.                 end)
  6547.             end
  6548.  
  6549.             return Target
  6550.         end
  6551.  
  6552.  
  6553.         isDoingPrinterRn = false;
  6554.  
  6555.         function doPrinterStuffy()
  6556.             pcall(function()
  6557.                 if isDoingPrinterRn == false then
  6558.                     isDoingPrinterRn = true;
  6559.                     if variables.autoPrinterFarm then
  6560.                         if variables.deathBarrierBypassEnabled then
  6561.                             pcall(function()
  6562.                                 for i,v in pairs(game:GetService("Workspace").MoneyPrinters:GetChildren()) do
  6563.                                     if string.lower(tostring(v.TrueOwner.Value)) == tostring(string.lower(game.Players.LocalPlayer.Name)) then
  6564.                                         if tonumber(v.Int.Money.Value) > 0 then
  6565.                                             howManyIsLeft = v.Int.Uses.Value;
  6566.                                            
  6567.                                             cframeyy = CFrame.new(v.PrimaryPart.CFrame.X, v.PrimaryPart.CFrame.Y + 3, v.PrimaryPart.CFrame.Z);
  6568.                                            
  6569.                                             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = cframeyy;
  6570.                                            
  6571.                                             wait(2);
  6572.                                             Game:GetService("ReplicatedStorage").Events.InteractEvent:FireServer(v);
  6573.                                            
  6574.                                             if howManyIsLeft == 0 then
  6575.                                                 wait(1);
  6576.                                                 runAutoPrinter();
  6577.                                             end
  6578.                                         end
  6579.                                     end
  6580.                                 end
  6581.                             end)
  6582.                         else
  6583.                             notice:Fire("Lunahax", "Please enable Bypass Barriers!", 4);
  6584.                         end
  6585.                     end
  6586.                     isDoingPrinterRn = false;
  6587.                 else
  6588.                    
  6589.                 end
  6590.             end)
  6591.             isDoingPrinterRn = false;
  6592.         end
  6593.  
  6594.  
  6595.  
  6596.         function runAutoPrinter()
  6597.             if variables.autoPrinterFarm then
  6598.                 if variables.deathBarrierBypassEnabled then
  6599.                     pcall(function()
  6600.                         ownedPrinters = 0;
  6601.                         printersMade = 0;
  6602.                         for i,v in pairs(game:GetService("Workspace").MoneyPrinters:GetChildren()) do
  6603.                             if string.lower(tostring(v.TrueOwner.Value)) == tostring(string.lower(game.Players.LocalPlayer.Name)) then
  6604.                                 ownedPrinters = ownedPrinters + 1;
  6605.                             end
  6606.                         end
  6607.  
  6608.                         if ownedPrinters >= 2 or printersMade >= 2 then
  6609.                             -- already have 2 printers
  6610.                         else
  6611.                             pcall(function()
  6612.                                 Game:GetService("ReplicatedStorage").Events.BuildingEvent:FireServer(1, "Node", CFrame.new(-0.609249473, 0, 0.498477787, 0, 0, 1, 0, 1, -0, -1, 0, 0));
  6613.                                 wait(1);
  6614.                                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-444.14743, 137.24617, -672.167603, -0.18111819, 0, -0.983460665, 0, 1, 0, 0.983460665, 0, -0.18111819);
  6615.                                
  6616.                                 wait(1);
  6617.                                 Game:GetService("ReplicatedStorage").Events.MenuEvent:FireServer(2, "Money Printer Advanced", nil, 8);
  6618.                                 wait(1);
  6619.                                 printer = getClosestOwnedPrinter();
  6620.                                 Game:GetService("ReplicatedStorage").Events.PickUpEvent:FireServer(printer, true);
  6621.                                 counterunowo = 0;
  6622.                                 pcall(function()
  6623.                                     while tonumber(printer.Int.Money.Value) < 999999 do
  6624.                                         if counterunowo > 10 then
  6625.                                             break;
  6626.                                         end
  6627.                                         wait(1);
  6628.                                         counterunowo = counterunowo + 1;
  6629.                                     end
  6630.                                 end)
  6631.                                 wait(1);
  6632.                                 didSuccessyy = false;
  6633.                                 pcall(function()
  6634.                                     if tonumber(printer.Int2.Money.Value) < 99999 then
  6635.                                         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-0.609249473, 3, 0.498477787, 0, 0, 1, 0, 1, -0, -1, 0, 0);
  6636.                                         didSuccessyy = true;
  6637.                                     end
  6638.                                 end)
  6639.                                 if didSuccessyy then
  6640.                                
  6641.                                 else
  6642.                                     Game:GetService("ReplicatedStorage").Events.PickUpEvent:FireServer(printer, true);
  6643.                                     wait(1);
  6644.                                     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-0.609249473, 3, 0.498477787, 0, 0, 1, 0, 1, -0, -1, 0, 0);
  6645.                                 end
  6646.                                
  6647.                                 wait(2);
  6648.                             end)
  6649.                             pcall(function()
  6650.                                 Game:GetService("ReplicatedStorage").Events.PickUpEvent:FireServer(printer, false);
  6651.                             end)
  6652.                             wait(2);
  6653.                            
  6654.                            
  6655.                             printer.Int.Money.Changed:connect(function(newVal)
  6656.                                 doPrinterStuffy();
  6657.                             end)
  6658.                            
  6659.                             printersMade = printersMade + 1;
  6660.                             runAutoPrinter();
  6661.                         end
  6662.                     end)
  6663.                 else
  6664.                     notice:Fire("Lunahax", "Please enable Bypass Barriers!", 4);
  6665.                 end
  6666.             end
  6667.         end
  6668.        
  6669.    
  6670.        
  6671.        
  6672.         ---------------------------------
  6673.         -- global every 5s loop, do things here
  6674.         spawn(function()
  6675.             while wait() do
  6676.                 -- printer loop, re-draw every 5 seconds incase updates (todo, used onchanged etc so i dont have to do this every 5s)
  6677.                 pcall(function()
  6678.                     if variables.printerEspEnabled then
  6679.                         killPrinters();
  6680.                         doPrinters();
  6681.                     else
  6682.                         killPrinters();
  6683.                     end
  6684.                    
  6685.                     if crateEspEnabled then
  6686.                         killCrates();
  6687.                         doCrates();
  6688.                     else
  6689.                         killCrates();
  6690.                     end
  6691.                    
  6692.                     if entityEspEnabled then
  6693.                         killEntities();
  6694.                         doEntities();
  6695.                     else
  6696.                         killEntities();
  6697.                     end
  6698.                 end)
  6699.                
  6700.                
  6701.                 pcall(function()
  6702.                     if variables.speedHackEnabled then
  6703.                         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100;
  6704.                     end
  6705.                 end)
  6706.                
  6707.                 pcall(function()
  6708.                     autoCornFarmRun();
  6709.                     autoScavRun();
  6710.                     auroAureusRun();
  6711.                     runAutoScrapFarm();
  6712.                     runAutoPrinter();
  6713.                     doPrinterStuffy();
  6714.                 end)
  6715.            
  6716.                 pcall(function()
  6717.                     if variables.hitboxExpandEnabled then
  6718.                         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  6719.                             pcall(function()
  6720.                                 if v ~= game:GetService("Players").LocalPlayer then
  6721.                                     v.Character.HumanoidRootPart.Size = Vector3.new(20,20,20);                     
  6722.                                     v.Character.HumanoidRootPart.Transparency = 0.7;
  6723.                                     v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Bright green");
  6724.                                     v.Character.HumanoidRootPart.Material = "Neon";
  6725.                                     v.Character.HumanoidRootPart.CanCollide = false;
  6726.                                 end
  6727.                             end)
  6728.                         end
  6729.                     else
  6730.                         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  6731.                             pcall(function()
  6732.                                 if v ~= game:GetService("Players").LocalPlayer then
  6733.                                     v.Character.HumanoidRootPart.Size = Vector3.new(2,2,1)
  6734.                                     v.Character.HumanoidRootPart.CanCollide = true
  6735.                                 end
  6736.                             end)
  6737.                         end
  6738.                     end
  6739.                 end)
  6740.                
  6741.                 pcall(function()
  6742.                     for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  6743.                         if isUserEsMod(v.Name) then
  6744.                             notice:Fire("Lunahax", "WARNING! Moderator " .. v.Name .. " is in your game.", 4);
  6745.                         end
  6746.                     end
  6747.                
  6748.                 end)
  6749.                
  6750.                 wait(5);
  6751.             end
  6752.         end);
  6753.  
  6754.         spawn(function()
  6755.             while true do
  6756.                 pcall(function()
  6757.                     local numbtest = 0;
  6758.                     for i,vBuilding in ipairs(game:GetService("Workspace").Buildings:GetChildren()) do
  6759.                         for i,vBItem in ipairs(vBuilding:GetChildren()) do
  6760.                             pcall(function()
  6761.                                 if vBItem.Name == "Dispencer" then
  6762.                                     local itemCount = vBItem.Dispencer.Count.Value;
  6763.                                     local itemPrice = vBItem.Dispencer.Price.Value
  6764.                                     local itemName = vBItem.Dispencer.Value;
  6765.                                     if vBItem.Main and itemName ~= "" and itemCount > 0 then
  6766.                                         local newButton = Instance.new("TextButton")
  6767.                                         newButton.Parent = dispenserListScrollingFrame
  6768.                                         newButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  6769.                                         newButton.Size = UDim2.new(0, 200, 0, 50)
  6770.                                         newButton.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  6771.                                         newButton.Position = UDim2.new(0, 0, numbtest, 0);
  6772.                                         newButton.Font = Enum.Font.SourceSans
  6773.                                         newButton.Text = "(" .. itemCount .. ") " .. itemName .. ": $" ..  itemPrice
  6774.                                         newButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  6775.                                         newButton.TextSize = 25.000
  6776.                                         numbtest = numbtest + 0.005;
  6777.                                         newButton.Activated:Connect(function()
  6778.                                             variables.dispClicked = vBItem;
  6779.                                             populateDispInfoWhenClicked();
  6780.                                         end)
  6781.                                     end
  6782.                                 end
  6783.                             end)
  6784.                             wait();
  6785.                         end
  6786.                     end
  6787.                 end)
  6788.                 wait(15);
  6789.                 pcall(function()
  6790.                     for _asd, vp in pairs(dispenserListScrollingFrame:GetChildren()) do
  6791.                         vp:destroy();
  6792.                     end
  6793.                 end)
  6794.             end
  6795.         end)
  6796.  
  6797.  
  6798.         loadConfigButton.Activated:Connect(function()
  6799.             local validC = isfile("lunahaxConfig.txt")
  6800.             if validC then
  6801.                 local contentsC = readfile("lunahaxConfig.txt");
  6802.                 for line in contentsC:gmatch("[^\r\n]+") do
  6803.                     local key = split(line,"=")[1]
  6804.                     local value = split(line,"=")[2]
  6805.                     local lval = nil;
  6806.                     if value == "true" then
  6807.                         lval = true
  6808.                     else
  6809.                         lval = false;
  6810.                     end
  6811.                     local onOff = "";
  6812.                     if lval then
  6813.                         onOff = "[ON] "
  6814.                     else
  6815.                         onOff = "[OFF] "
  6816.                     end
  6817.                    
  6818.                     if key == "variables.espEnabled" then
  6819.                         variables.espEnabled = lval;
  6820.                         playerEspButton.Text = onOff .. "Player ESP"
  6821.                         if variables.espEnabled then
  6822.                             pcall(function()
  6823.                                 for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  6824.                                     pcall(UnloadPlayer, v);
  6825.                                 end
  6826.                             end)
  6827.                             pcall(function()
  6828.                                 for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  6829.                                     spawn(function() pcall(LoadPlayer, v) end)
  6830.                                 end
  6831.                             end)
  6832.                         else
  6833.                             pcall(function()
  6834.                                 for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  6835.                                     pcall(UnloadPlayer, v);
  6836.                                 end
  6837.                             end)
  6838.                         end
  6839.                     elseif key == "variables.printerEspEnabled" then
  6840.                         variables.printerEspEnabled = lval;
  6841.                         printerEspButton.Text = onOff .. "Printer ESP"
  6842.                         if variables.printerEspEnabled then
  6843.                             pcall(function()
  6844.                                 killPrinters()
  6845.                             end)
  6846.                             pcall(function()
  6847.                                 doPrinters()
  6848.                             end)
  6849.                         else
  6850.                             pcall(function()
  6851.                                 killPrinters()
  6852.                             end)
  6853.                         end
  6854.                     elseif key == "entityEspEnabled" then
  6855.                         entityEspEnabled = lval;
  6856.                         entityEspButton.Text = onOff .. "Entity ESP"
  6857.                         if entityEspEnabled then
  6858.                             pcall(function()
  6859.                                 killEntities();
  6860.                             end)
  6861.                             pcall(function()
  6862.                                 doEntities();
  6863.                             end)
  6864.                         else
  6865.                             pcall(function()
  6866.                                 killEntities();
  6867.                             end)
  6868.                         end
  6869.                     elseif key == "crateEspEnabled" then
  6870.                         crateEspEnabled = lval;
  6871.                         crateEspButton.Text = onOff .. "Crate ESP"
  6872.                         if crateEspEnabled then
  6873.                             pcall(function()
  6874.                                 killCrates();
  6875.                             end)
  6876.                             pcall(function()
  6877.                                 doCrates();
  6878.                             end)
  6879.                         else
  6880.                             pcall(function()
  6881.                                 killCrates();
  6882.                             end)
  6883.                         end
  6884.                     elseif key == "_G.nlrLoop" then
  6885.                         _G.nlrLoop = lval;
  6886.                         disableNlrButton.Text = onOff .. "Disable NLR"
  6887.                     elseif key == "variables.isNodeKillEnabled" then
  6888.                         variables.isNodeKillEnabled = lval;
  6889.                         nodeKillButton.Text = onOff .. "NodeKill"
  6890.                     elseif key == "variables.aimbotEnabled" then
  6891.                         variables.aimbotEnabled = lval;
  6892.                         aimbotButton.Text = onOff .. "(q) Aimbot"
  6893.                     elseif key == "variables.clickTpEnabled" then
  6894.                         variables.clickTpEnabled = lval;
  6895.                         clickTpButton.Text = onOff .. "(x) MouseTP"
  6896.                     elseif key == "variables.flyJump" then
  6897.                         variables.flyJump = lval;
  6898.                         flyJumpButton.Text = onOff .. "Fly Jump"
  6899.                     elseif key == "variables.noclipBool" then
  6900.                         variables.noclipBool = lval;
  6901.                         noclipButton.Text = onOff .. "Noclip"
  6902.                     elseif key == "variables.weaponMultiplierEnabled" then
  6903.                         variables.weaponMultiplierEnabled = lval;
  6904.                         _G.weaponMultiplierEnabled = lval;
  6905.                         weaponMultiplierButton.Text = onOff .. "Weapon Multi"
  6906.                     elseif key == "variables.deathBarrierBypassEnabled" then
  6907.                         variables.deathBarrierBypassEnabled = lval;
  6908.                         _G.deathBarrierBypassEnabled = lval;
  6909.                         deathBarrierBypassButton.Text = onOff .. "Bypass Barriers"
  6910.                     elseif key == "variables.speedHackEnabled" then
  6911.                         if _G.bypassEnabled then
  6912.                             variables.speedHackEnabled = lval;
  6913.                             if variables.speedHackEnabled then
  6914.                                 game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100;
  6915.                             else
  6916.                                 game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16;
  6917.                             end
  6918.                             speedHackButton.Text = onOff .. "SpeedHack"
  6919.                         end
  6920.                     elseif key == "variables.autoColaDrink" then
  6921.                         variables.autoColaDrink = lval;
  6922.                         autoDrinkButton.Text = onOff .. "AutoDrink"
  6923.                     elseif key == "variables.itemSniperEnabled" then
  6924.                         variables.itemSniperEnabled = lval;
  6925.                         itemSniperButton.Text = onOff .. "Item Sniper"
  6926.                     elseif key == "variables.onlyFlagged" then
  6927.                         variables.onlyFlagged = lval;
  6928.                         onlyTargetFlaggedButton.Text = onOff .. "Only flagged"
  6929.                     elseif key == "infiniteAmmo" then
  6930.                         if lval then
  6931.                             variables.infSmgAmmo = true;
  6932.                             variables.infRifAmmo = true;
  6933.                             variables.infPisAmmo = true;
  6934.                             local Player = game:GetService("Players").LocalPlayer
  6935.                             Player.PlayerData["Pistol Ammo"].Value = 1000;
  6936.                             Player.PlayerData["Pistol Ammo"].RobloxLocked = true;
  6937.                             Player.PlayerData["SMG Ammo"].Value = 1000;
  6938.                             Player.PlayerData["SMG Ammo"].RobloxLocked = true;
  6939.                             Player.PlayerData["Rifle Ammo"].Value = 1000;
  6940.                             Player.PlayerData["Rifle Ammo"].RobloxLocked = true;
  6941.                             infiniteAmmoButton.Text = "[ON] InfiniteAmmo"
  6942.                         else
  6943.                             variables.infSmgAmmo = false;
  6944.                             variables.infRifAmmo = false;
  6945.                             variables.infPisAmmo = false;
  6946.                             local Player = game:GetService("Players").LocalPlayer
  6947.                             Player.PlayerData["Pistol Ammo"].RobloxLocked = false;
  6948.                             Player.PlayerData["SMG Ammo"].RobloxLocked = false;
  6949.                             Player.PlayerData["Rifle Ammo"].RobloxLocked = false;
  6950.                             infiniteAmmoButton.Text = "[OFF] InfiniteAmmo"
  6951.                         end
  6952.                     elseif key == "_G.redRageAuraEnabled" then
  6953.                         _G.redRageAuraEnabled = lval;
  6954.                         rageAuraRedButton.Text = onOff .. "Red RageAura"
  6955.                     elseif key == "_G.yellowRageAuraEnabled" then
  6956.                         _G.yellowRageAuraEnabled = lval;
  6957.                         yellowRageAuraRedButton.Text = onOff .. "Yellow RageAura"
  6958.                     elseif key == "variables.globalChat" then
  6959.                         variables.globalChat = lval;
  6960.                         globalChatButton.Text = onOff .. "Global chat"
  6961.                     elseif key == "variables.deathReturnEnabled" then
  6962.                         variables.deathReturnEnabled = lval;
  6963.                         deathReturnButton.Text = onOff .. "Death Return"
  6964.                     end
  6965.                 end
  6966.                 notice:Fire("Lunahax", "Config loaded!");
  6967.             else
  6968.                 notice:Fire("Lunahax", "Config file does not exist!", 4);
  6969.             end
  6970.         end)
  6971.  
  6972.        
  6973.         local mt = getrawmetatable(game);
  6974.         local backup = mt.__namecall;
  6975.         if setreadonly then setreadonly(mt, false) else make_writeable(mt, true) end
  6976.  
  6977.         mt.__namecall = newcclosure(function(...)
  6978.             local method = getnamecallmethod()
  6979.             local args = {...}
  6980.             if method == "FindPartOnRayWithWhitelist" then
  6981.                 if _G.deathBarrierBypassEnabled then
  6982.                     local getScript = getfenv(2).script
  6983.                     if getScript == nil then
  6984.                         getScript = ""
  6985.                     end
  6986.                     if tostring(getScript:GetFullName()) == "game.Players.LocalPlayer.PlayerScripts.LocalScript" then
  6987.                         args[2].Y = 144;
  6988.                         return backup(unpack(args))
  6989.                     else
  6990.                         return backup(...)
  6991.                     end
  6992.                 else
  6993.                     return backup(...)
  6994.                 end
  6995.             end
  6996.            
  6997.            
  6998.             if method == "FireServer" or method == "InvokeServer" then
  6999.                 if _G.weaponMultiplierEnabled then
  7000.                     if args[1].Name == "MenuActionEvent" then
  7001.                         if args[2] == 33 and args[8] ~= "" and args[8] ~= "a" then
  7002.                             spawn(function()
  7003.                                 wait()
  7004.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  7005.                                 wait()
  7006.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  7007.                                 wait()
  7008.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  7009.                                 wait(0.1)
  7010.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  7011.                                 wait()
  7012.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  7013.                                 wait()
  7014.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  7015.                                 wait(0.1)
  7016.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  7017.                                 wait()
  7018.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  7019.                                 wait()
  7020.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  7021.                                 wait()
  7022.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  7023.                                 wait(0.1)
  7024.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  7025.                                 wait()
  7026.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  7027.                                 wait()
  7028.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  7029.                                 wait()
  7030.                                 Game:GetService("ReplicatedStorage").Events.MenuActionEvent:FireServer(args[2], args[3], args[4], args[5], args[6], args[7], "a");
  7031.                             end);
  7032.                             return backup(unpack(args))
  7033.                         end
  7034.                     elseif args[1].Name == "MenuActionEvent" and args[2] == 33 and args[8] == "a" then
  7035.                         args[8] = "";
  7036.                         return backup(unpack(args))
  7037.                     else
  7038.                        
  7039.                     end
  7040.                 end
  7041.             end
  7042.             return backup(...)
  7043.         end)
  7044.  
  7045.         local mmindex = mt.__index
  7046.         mt.__index = function(Instance, string)
  7047.             if string == "WalkSpeed" then
  7048.                 return (1)
  7049.             end
  7050.             return mmindex(Instance, string)
  7051.         end
  7052.         _G.bypassEnabled = true;
  7053.         print("workaround loaded");
  7054.        
  7055.  
  7056.         ------------------------------------
  7057.         -- this should always be at the end of the script, this loads the map
  7058.         -- load map by teleporting
  7059.         local function loadmap()
  7060.             game:GetService("Workspace").Camera.CameraType = Enum.CameraType.Scriptable;
  7061.             game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(-2251, 196, 1465));
  7062.             wait(1)
  7063.             game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(-1533, 190, -344));
  7064.             wait(1)
  7065.             game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(-502, 138, -1308));
  7066.             wait(1)
  7067.             game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(1494, 272, -1663));
  7068.             wait(1)
  7069.             game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(1983, 138, 48));
  7070.             wait(1)
  7071.             game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(2144, 135, 1611));
  7072.             wait(1)
  7073.             game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(5, 274, 1302));
  7074.             wait(1)
  7075.             game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(-131, 197, -463));
  7076.             wait(1)
  7077.             game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(-1572, 206, -1235));
  7078.             wait(1)
  7079.             game:GetService("Workspace").Camera.CFrame = CFrame.new(Vector3.new(-1725, 263, -1798));
  7080.             wait(1)
  7081.             game:GetService("Workspace").Camera.CameraType = Enum.CameraType.Custom;
  7082.         end
  7083.         --spawn(loadmap())
  7084.        
  7085.        
  7086.         --todo make this into a library would be neater
  7087.         function addButton(buttonText, frame, func)
  7088.             howMuch = 0;
  7089.             pcall(function()
  7090.                 lastItem = nil;
  7091.                 for i,v in pairs(frame:GetChildren()) do
  7092.                     if v.ClassName == "ImageButton" or v.ClassName == "TextLabel" then
  7093.                         lastItem = v;
  7094.                     end
  7095.                 end
  7096.                 if lastItem ~= nil then
  7097.                     howMuch = lastItem.Position.Y.Offset + 35;
  7098.                 end
  7099.             end)
  7100.            
  7101.             lhImgButtonAdd = Instance.new("ImageButton");
  7102.             lhImgButtonAdd.Name = "lhButton";
  7103.             lhImgButtonAdd.Image = "rbxassetid://725697201"
  7104.             lhImgButtonAdd.Position = UDim2.new(0, 238, 0, howMuch);
  7105.             lhImgButtonAdd.BackgroundTransparency = 1;
  7106.             lhImgButtonAdd.ImageColor3 = Color3.fromRGB(154, 110, 79);
  7107.             lhImgButtonAdd.AnchorPoint = Vector2.new(0.5, 0);
  7108.             lhImgButtonAdd.BackgroundColor3 = Color3.fromRGB(255, 255, 255);
  7109.             lhImgButtonAdd.ZIndex = 1;
  7110.             lhImgButtonAdd.Size = UDim2.new(1, -14, 0, 30);
  7111.             lhImgButtonAdd.ScaleType = 1;
  7112.             lhImgButtonAdd.SliceCenter = Rect.new(34, 34, 34, 34);
  7113.            
  7114.             lhTextLabelAdd = Instance.new("TextLabel");
  7115.             lhTextLabelAdd.Name = "TextLabel";
  7116.             lhTextLabelAdd.Font = 4;
  7117.             lhTextLabelAdd.Text = buttonText;
  7118.             lhTextLabelAdd.Parent = lhImgButtonAdd;
  7119.             lhTextLabelAdd.BackgroundTransparency = 1;
  7120.             lhTextLabelAdd.AnchorPoint = Vector2.new(0.5, 0.5);
  7121.             lhTextLabelAdd.BackgroundColor3 = Color3.fromRGB(255, 255, 255);
  7122.             lhTextLabelAdd.Position = UDim2.new(0, 240, 0.5, 0);
  7123.             lhTextLabelAdd.Size = UDim2.new(1, 0, 0, 0);
  7124.             lhTextLabelAdd.TextSize = 20;
  7125.             lhTextLabelAdd.TextColor3 = Color3.fromRGB(255, 255, 255);
  7126.             lhTextLabelAdd.TextStrokeTransparency = 0.5;
  7127.             lhTextLabelAdd.ZIndex = 3;
  7128.            
  7129.             lhImgButtonAdd.Parent = frame;
  7130.            
  7131.             oldColor = lhImgButtonAdd.ImageColor3;
  7132.            
  7133.             --lhImgButtonAdd.MouseEnter:connect(function()
  7134.             --  lhImgButtonAdd.ImageColor3 = Color3.fromRGB(54, 49, 44);
  7135.             --end);
  7136.  
  7137.             --lhImgButtonAdd.MouseLeave:connect(function()
  7138.             --  lhImgButtonAdd.ImageColor3 = oldColor;
  7139.             --end);
  7140.                
  7141.            
  7142.             lhImgButtonAdd.Activated:Connect(func);
  7143.            
  7144.             return true;
  7145.         end
  7146.  
  7147.  
  7148.         function addCategory(catName, frame)
  7149.             howMuch = 0;
  7150.             pcall(function()
  7151.                 lastItem = nil;
  7152.                 for i,v in pairs(frame:GetChildren()) do
  7153.                     if v.ClassName == "ImageButton" or v.ClassName == "TextLabel" then
  7154.                         lastItem = v;
  7155.                     end
  7156.                 end
  7157.                 if lastItem ~= nil then
  7158.                     howMuch = lastItem.Position.Y.Offset + 40;
  7159.                 end
  7160.             end)
  7161.  
  7162.  
  7163.             lhTextLabel = Instance.new("TextLabel");
  7164.             lhTextLabel.Name = "categoriesHeader";
  7165.             lhTextLabel.Font = 14;
  7166.             lhTextLabel.Text = "[" .. catName .. "]";
  7167.             lhTextLabel.Parent = frame;
  7168.             lhTextLabel.BackgroundTransparency = 1;
  7169.             lhTextLabel.AnchorPoint = Vector2.new(0, 0);
  7170.             lhTextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255);
  7171.             lhTextLabel.Position = UDim2.new(0, 0, 0, howMuch);
  7172.             lhTextLabel.Size = UDim2.new(1, 0, 0, 20);
  7173.             lhTextLabel.TextSize = 24;
  7174.             lhTextLabel.TextColor3 = Color3.fromRGB(255, 255, 255);
  7175.             lhTextLabel.TextStrokeTransparency = 0.5;
  7176.             lhTextLabel.ZIndex = 1;
  7177.             return true;
  7178.         end
  7179.  
  7180.  
  7181.         lhOptions = Instance.new("Frame");
  7182.         lhOptions.Name = "lhOptions";
  7183.         lhOptions.BorderColor3 = Color3.fromRGB(27, 42, 53);
  7184.         lhOptions.Position = UDim2.new(0, 56, 0, 315);
  7185.         lhOptions.AnchorPoint = Vector2.new(0.5, 0.5);
  7186.         lhOptions.Size = UDim2.new(0, 70, 0, 70);
  7187.         lhOptions.BackgroundTransparency = 1;
  7188.  
  7189.         lhImgButton = Instance.new("ImageButton");
  7190.         lhImgButton.Name = "lhOptions";
  7191.         lhImgButton.Image = "rbxassetid://553151967"
  7192.         lhImgButton.Position = UDim2.new(0, 0, 0, 0);
  7193.         lhImgButton.BackgroundTransparency = 1;
  7194.         lhImgButton.ImageColor3 = Color3.fromRGB(91, 84, 75);
  7195.         lhImgButton.AnchorPoint = Vector2.new(0.5, 0.5);
  7196.         lhImgButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255);
  7197.         lhImgButton.ZIndex = 10;
  7198.         lhImgButton.Size = UDim2.new(0, 60, 0, 60);
  7199.  
  7200.         lhTextLabel = Instance.new("TextLabel");
  7201.         lhTextLabel.Name = "TextLabel";
  7202.         lhTextLabel.Font = 14;
  7203.         lhTextLabel.Text = "Lunahax";
  7204.         lhTextLabel.Parent = lhImgButton;
  7205.         lhTextLabel.BackgroundTransparency = 1;
  7206.         lhTextLabel.AnchorPoint = Vector2.new(0, 1);
  7207.         lhTextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255);
  7208.         lhTextLabel.Position = UDim2.new(0, 0, 1, -5);
  7209.         lhTextLabel.Size = UDim2.new(1, 0, 0, 15);
  7210.         lhTextLabel.TextSize = 12;
  7211.         lhTextLabel.TextColor3 = Color3.fromRGB(255, 255, 255);
  7212.         lhTextLabel.TextStrokeTransparency = 0.5;
  7213.         lhTextLabel.ZIndex = 11;
  7214.  
  7215.         lhImageLabel = Instance.new("ImageLabel");
  7216.         lhImageLabel.Name = "icon";
  7217.         lhImageLabel.Image = "rbxassetid://560667850";
  7218.         lhImageLabel.Parent = lhImgButton;
  7219.         lhImageLabel.BackgroundTransparency = 1;
  7220.         lhImageLabel.AnchorPoint = Vector2.new(0.5, 0.5);
  7221.         lhImageLabel.Position = UDim2.new(0.5, 2, 0.5, -2);
  7222.         lhImageLabel.Size = UDim2.new(0.5, 0.5, 0.5, 0.5);
  7223.         lhImageLabel.ImageRectOffset = Vector2.new(0, 0);
  7224.         lhImageLabel.ImageRectSize = Vector2.new(0, 0);
  7225.         lhImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255);
  7226.  
  7227.         lhImageLabel.ZIndex = 10;
  7228.         lhImgButton.Parent = lhOptions;
  7229.         lhOptions.Parent = game.Players.LocalPlayer.PlayerGui.Client.Menu.Catagories;
  7230.  
  7231.  
  7232.         lhFrame = Instance.new("Frame");
  7233.         lhFrame.Name = "Lunahax";
  7234.         lhFrame.BorderColor3 = Color3.fromRGB(27, 42, 53);
  7235.         lhFrame.Visible = false;
  7236.         lhFrame.Parent = game.Players.LocalPlayer.PlayerGui.Client.Menu;
  7237.         lhFrame.Size = UDim2.new(1, 1, 1, 1);
  7238.         lhFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255);
  7239.         lhFrame.BackgroundTransparency = 1;
  7240.  
  7241.         spawn(function()
  7242.             while true do
  7243.                 pcall(function()
  7244.                     lmao = game.Players.LocalPlayer.PlayerGui.Client.Menu;
  7245.                     if lmao.Rules.Visible or lmao.Shop.Visible or lmao.Action.Visible or lmao.Jobs.Visible then
  7246.                         lhFrame.Visible = false;
  7247.                         lhImgButton.ImageColor3 = Color3.fromRGB(91, 84, 75);
  7248.                     end
  7249.                     wait();
  7250.                 end)
  7251.             end
  7252.         end)
  7253.  
  7254.  
  7255.         lhImgButton.MouseEnter:connect(function()
  7256.             if lhFrame.Visible then
  7257.                 return;
  7258.             end;
  7259.             lhImgButton.ImageColor3 = Color3.fromRGB(54, 49, 44);
  7260.         end);
  7261.  
  7262.         lhImgButton.MouseLeave:connect(function()
  7263.             if lhFrame.Visible then
  7264.                 return;
  7265.             end;
  7266.             lhImgButton.ImageColor3 = Color3.fromRGB(91, 84, 75);
  7267.         end);
  7268.  
  7269.  
  7270.         lhImgButton.Activated:Connect(function()
  7271.             game.Players.LocalPlayer.PlayerGui.Client.Menu.Rules.Visible = false;
  7272.             game.Players.LocalPlayer.PlayerGui.Client.Menu.Shop.Visible = false;
  7273.             game.Players.LocalPlayer.PlayerGui.Client.Menu.Action.Visible = false;
  7274.             game.Players.LocalPlayer.PlayerGui.Client.Menu.Jobs.Visible = false;
  7275.             game.Players.LocalPlayer.PlayerGui.Client.Menu.Catagories[1][1].ImageColor3 = Color3.fromRGB(91, 84, 75);
  7276.             game.Players.LocalPlayer.PlayerGui.Client.Menu.Catagories[2][2].ImageColor3 = Color3.fromRGB(91, 84, 75);
  7277.             game.Players.LocalPlayer.PlayerGui.Client.Menu.Catagories[3][3].ImageColor3 = Color3.fromRGB(91, 84, 75);
  7278.             game.Players.LocalPlayer.PlayerGui.Client.Menu.Catagories[4][4].ImageColor3 = Color3.fromRGB(91, 84, 75);
  7279.             lhImgButton.ImageColor3 = Color3.fromRGB(54, 49, 44);
  7280.             lhFrame.Visible = true;
  7281.         end)
  7282.  
  7283.  
  7284.  
  7285.  
  7286.  
  7287.         mainMenuScrollingFrame = Instance.new("ScrollingFrame");
  7288.         mainMenuScrollingFrame.Name = "ScrollingFrame";
  7289.         mainMenuScrollingFrame.BorderColor3 = Color3.fromRGB(27, 42, 53);
  7290.         mainMenuScrollingFrame.Visible = true;
  7291.         mainMenuScrollingFrame.Position = UDim2.new(0, 5, 0, 5);
  7292.         mainMenuScrollingFrame.Size = UDim2.new(1, -10, 1, -10);
  7293.         mainMenuScrollingFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0);
  7294.         mainMenuScrollingFrame.BackgroundTransparency = 0.5;
  7295.         mainMenuScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 966);
  7296.         mainMenuScrollingFrame.Parent = lhFrame
  7297.  
  7298.  
  7299.  
  7300.         addCategory("General Features", mainMenuScrollingFrame);
  7301.         addButton("Player ESP", mainMenuScrollingFrame, function()
  7302.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.playerEspButton;
  7303.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7304.             for iasda,vaaaa in pairs(events) do
  7305.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7306.                     vaaa:Fire()
  7307.                 end
  7308.             end
  7309.         end)
  7310.        
  7311.         addButton("Crate ESP", mainMenuScrollingFrame, function()
  7312.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.crateEspButton;
  7313.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7314.             for iasda,vaaaa in pairs(events) do
  7315.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7316.                     vaaa:Fire()
  7317.                 end
  7318.             end
  7319.         end)
  7320.        
  7321.         addButton("Entity ESP", mainMenuScrollingFrame, function()
  7322.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.entityEspButton;
  7323.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7324.             for iasda,vaaaa in pairs(events) do
  7325.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7326.                     vaaa:Fire()
  7327.                 end
  7328.             end
  7329.         end)
  7330.        
  7331.         addButton("Printer ESP", mainMenuScrollingFrame, function()
  7332.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.printerEspButton;
  7333.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7334.             for iasda,vaaaa in pairs(events) do
  7335.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7336.                     vaaa:Fire()
  7337.                 end
  7338.             end
  7339.         end)
  7340.        
  7341.         addButton("Disable NLR", mainMenuScrollingFrame, function()
  7342.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.disableNlrButton;
  7343.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7344.             for iasda,vaaaa in pairs(events) do
  7345.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7346.                     vaaa:Fire()
  7347.                 end
  7348.             end
  7349.         end)
  7350.        
  7351.         addCategory("Movement", mainMenuScrollingFrame);
  7352.        
  7353.         addButton("Noclip", mainMenuScrollingFrame, function()
  7354.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.noclipButton;
  7355.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7356.             for iasda,vaaaa in pairs(events) do
  7357.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7358.                     vaaa:Fire()
  7359.                 end
  7360.             end
  7361.         end)
  7362.        
  7363.         addButton("(x) MouseTP", mainMenuScrollingFrame, function()
  7364.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.clickTpButton;
  7365.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7366.             for iasda,vaaaa in pairs(events) do
  7367.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7368.                     vaaa:Fire()
  7369.                 end
  7370.             end
  7371.         end)
  7372.        
  7373.         addButton("SpeedHack", mainMenuScrollingFrame, function()
  7374.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.miscFrame.miscScrollingFrame.speedHackButton;
  7375.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7376.             for iasda,vaaaa in pairs(events) do
  7377.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7378.                     vaaa:Fire()
  7379.                 end
  7380.             end
  7381.         end)
  7382.        
  7383.         addButton("Flyjump", mainMenuScrollingFrame, function()
  7384.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.flyJumpButton;
  7385.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7386.             for iasda,vaaaa in pairs(events) do
  7387.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7388.                     vaaa:Fire()
  7389.                 end
  7390.             end
  7391.         end)
  7392.        
  7393.         addCategory("Weapon", mainMenuScrollingFrame);
  7394.        
  7395.         addButton("Infinite Ammo", mainMenuScrollingFrame, function()
  7396.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.infiniteAmmoButton;
  7397.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7398.             for iasda,vaaaa in pairs(events) do
  7399.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7400.                     vaaa:Fire()
  7401.                 end
  7402.             end
  7403.         end)
  7404.        
  7405.         addButton("Auto Reload", mainMenuScrollingFrame, function()
  7406.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.combatFrame.combatScrollingFrame.autoReloadButton;
  7407.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7408.             for iasda,vaaaa in pairs(events) do
  7409.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7410.                     vaaa:Fire()
  7411.                 end
  7412.             end
  7413.         end)
  7414.        
  7415.        
  7416.        
  7417.        
  7418.         addCategory("Miscellaneous", mainMenuScrollingFrame);
  7419.        
  7420.         addButton("Store All Items", mainMenuScrollingFrame, function()
  7421.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.storeAllItemsButton;
  7422.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7423.             for iasda,vaaaa in pairs(events) do
  7424.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7425.                     vaaa:Fire()
  7426.                 end
  7427.             end
  7428.         end)
  7429.        
  7430.         addButton("Global Chat", mainMenuScrollingFrame, function()
  7431.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.miscFrame.miscScrollingFrame.globalChatButton;
  7432.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7433.             for iasda,vaaaa in pairs(events) do
  7434.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7435.                     vaaa:Fire()
  7436.                 end
  7437.             end
  7438.         end)
  7439.        
  7440.         addButton("Steal Nearest Car", mainMenuScrollingFrame, function()
  7441.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.miscFrame.miscScrollingFrame.getInNearestCarButton;
  7442.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7443.             for iasda,vaaaa in pairs(events) do
  7444.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7445.                     vaaa:Fire()
  7446.                 end
  7447.             end
  7448.         end)
  7449.        
  7450.         addButton("Earrape all players", mainMenuScrollingFrame, function()
  7451.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.miscFrame.miscScrollingFrame.earRapePlayersButton;
  7452.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7453.             for iasda,vaaaa in pairs(events) do
  7454.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7455.                     vaaa:Fire()
  7456.                 end
  7457.             end
  7458.         end)
  7459.        
  7460.         addButton("AntiAFK", mainMenuScrollingFrame, function()
  7461.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.miscFrame.miscScrollingFrame.antiAfkButton;
  7462.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7463.             for iasda,vaaaa in pairs(events) do
  7464.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7465.                     vaaa:Fire()
  7466.                 end
  7467.             end
  7468.         end)
  7469.        
  7470.         addButton("Infinite Hunger", mainMenuScrollingFrame, function()
  7471.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.miscFrame.miscScrollingFrame.infiniteHungerButton;
  7472.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7473.             for iasda,vaaaa in pairs(events) do
  7474.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7475.                     vaaa:Fire()
  7476.                 end
  7477.             end
  7478.         end)
  7479.        
  7480.         addButton("Bypass Death Barriers", mainMenuScrollingFrame, function()
  7481.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.miscFrame.miscScrollingFrame.deathBarrierBypassButton;
  7482.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7483.             for iasda,vaaaa in pairs(events) do
  7484.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7485.                     vaaa:Fire()
  7486.                 end
  7487.             end
  7488.         end)
  7489.        
  7490.        
  7491.        
  7492.         addButton("WishBot", mainMenuScrollingFrame, function()
  7493.             dabutton = game.Players.LocalPlayer.PlayerGui.ScreenGui.mainMenuFrame.miscFrame.miscScrollingFrame.wishBotButton;
  7494.             events = {"MouseButton1Click", "MouseButton1Down", "Activated"}
  7495.             for iasda,vaaaa in pairs(events) do
  7496.                 for iasdaa,vaaa in pairs(getconnections(dabutton[vaaaa])) do
  7497.                     vaaa:Fire()
  7498.                 end
  7499.             end
  7500.         end)
  7501.        
  7502.        
  7503.         game.Players.LocalPlayer.PlayerGui.Client.Inventory.ScrollingFrame.CanvasSize = UDim2.new(0, 0, 15, 0);
  7504.        
  7505.     end
  7506. end
Add Comment
Please, Sign In to add comment