Guest User

BRX/YARHM MM2

a guest
Jun 17th, 2024
1,364
2
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 130.63 KB | None | 2 0
  1. -- BRX/YARHM by imperial, v1.12.10
  2.  
  3. -- Instances:
  4.  
  5. local Converted = {
  6. ["_BRX"] = Instance.new("ScreenGui");
  7. ["_Open"] = Instance.new("TextButton");
  8. ["_UICorner"] = Instance.new("UICorner");
  9. ["_InitOpen"] = Instance.new("LocalScript");
  10. ["_OnClick"] = Instance.new("LocalScript");
  11. ["_Resizer"] = Instance.new("LocalScript");
  12. ["_UIPadding"] = Instance.new("UIPadding");
  13. ["_Init"] = Instance.new("LocalScript");
  14. ["_ListButton"] = Instance.new("TextButton");
  15. ["_UICorner1"] = Instance.new("UICorner");
  16. ["_FUNCTIONS"] = Instance.new("ModuleScript");
  17. ["_Notifications"] = Instance.new("Frame");
  18. ["_UIListLayout"] = Instance.new("UIListLayout");
  19. ["_UIPadding1"] = Instance.new("UIPadding");
  20. ["_Placeholder"] = Instance.new("Frame");
  21. ["_UICorner2"] = Instance.new("UICorner");
  22. ["_TextLabel"] = Instance.new("TextLabel");
  23. ["_Flee the Facility"] = Instance.new("LocalScript");
  24. ["_Universal"] = Instance.new("LocalScript");
  25. ["_TextBoxPlaceholder"] = Instance.new("Frame");
  26. ["_UIListLayout1"] = Instance.new("UIListLayout");
  27. ["_TextButton"] = Instance.new("TextButton");
  28. ["_UICorner3"] = Instance.new("UICorner");
  29. ["_UIPadding2"] = Instance.new("UIPadding");
  30. ["_TextBox"] = Instance.new("TextBox");
  31. ["_UICorner4"] = Instance.new("UICorner");
  32. ["_FloatingButton"] = Instance.new("TextButton");
  33. ["_UIPadding3"] = Instance.new("UIPadding");
  34. ["_UICorner5"] = Instance.new("UICorner");
  35. ["_Keybinding"] = Instance.new("LocalScript");
  36. ["_UIStroke"] = Instance.new("UIStroke");
  37. ["_Invisible"] = Instance.new("LocalScript");
  38. ["_FloatingButtons"] = Instance.new("Frame");
  39. ["_Murder Mystery 2"] = Instance.new("LocalScript");
  40. ["_AddCustomModule"] = Instance.new("Frame");
  41. ["_UICorner6"] = Instance.new("UICorner");
  42. ["_UIStroke1"] = Instance.new("UIStroke");
  43. ["_UIGradient"] = Instance.new("UIGradient");
  44. ["_UIGradient1"] = Instance.new("UIGradient");
  45. ["_UIScale"] = Instance.new("UIScale");
  46. ["_TextLabel1"] = Instance.new("TextLabel");
  47. ["_TextBox1"] = Instance.new("TextBox");
  48. ["_UICorner7"] = Instance.new("UICorner");
  49. ["_UIPadding4"] = Instance.new("UIPadding");
  50. ["_TextLabel2"] = Instance.new("TextLabel");
  51. ["_Add"] = Instance.new("TextButton");
  52. ["_UICorner8"] = Instance.new("UICorner");
  53. ["_UIPadding5"] = Instance.new("UIPadding");
  54. ["_UIStroke2"] = Instance.new("UIStroke");
  55. ["_LocalScript"] = Instance.new("LocalScript");
  56. ["_Cancel"] = Instance.new("TextButton");
  57. ["_UICorner9"] = Instance.new("UICorner");
  58. ["_UIPadding6"] = Instance.new("UIPadding");
  59. ["_UIStroke3"] = Instance.new("UIStroke");
  60. ["_LocalScript1"] = Instance.new("LocalScript");
  61. ["_DroppedGunBGUI"] = Instance.new("BillboardGui");
  62. ["_TextLabel3"] = Instance.new("TextLabel");
  63. ["_UIStroke4"] = Instance.new("UIStroke");
  64. ["_MurdererBGUI"] = Instance.new("BillboardGui");
  65. ["_TextLabel4"] = Instance.new("TextLabel");
  66. ["_UIStroke5"] = Instance.new("UIStroke");
  67. ["_DraggableObject"] = Instance.new("ModuleScript");
  68. ["_Menu"] = Instance.new("Frame");
  69. ["_UICorner10"] = Instance.new("UICorner");
  70. ["_UIGradient2"] = Instance.new("UIGradient");
  71. ["_UIScale1"] = Instance.new("UIScale");
  72. ["_UIStroke6"] = Instance.new("UIStroke");
  73. ["_UIGradient3"] = Instance.new("UIGradient");
  74. ["_Animator"] = Instance.new("LocalScript");
  75. ["_List"] = Instance.new("Frame");
  76. ["_UICorner11"] = Instance.new("UICorner");
  77. ["_AutoSetup"] = Instance.new("LocalScript");
  78. ["_ScrollingFrame"] = Instance.new("ScrollingFrame");
  79. ["_UIListLayout2"] = Instance.new("UIListLayout");
  80. ["_UIPadding7"] = Instance.new("UIPadding");
  81. ["_UIPadding8"] = Instance.new("UIPadding");
  82. ["_UIGradient4"] = Instance.new("UIGradient");
  83. ["_UIStroke7"] = Instance.new("UIStroke");
  84. ["_UIGradient5"] = Instance.new("UIGradient");
  85. ["_AddCustomModule1"] = Instance.new("TextButton");
  86. ["_UICorner12"] = Instance.new("UICorner");
  87. ["_UIPadding9"] = Instance.new("UIPadding");
  88. ["_UIStroke8"] = Instance.new("UIStroke");
  89. ["_LocalScript2"] = Instance.new("LocalScript");
  90. ["_Close"] = Instance.new("TextButton");
  91. ["_UICorner13"] = Instance.new("UICorner");
  92. ["_LocalScript3"] = Instance.new("LocalScript");
  93. ["_UIStroke9"] = Instance.new("UIStroke");
  94. ["_HubCredits"] = Instance.new("TextLabel");
  95. ["_HubDesc"] = Instance.new("TextLabel");
  96. ["_HubName"] = Instance.new("TextLabel");
  97. ["_CanvasGroup"] = Instance.new("CanvasGroup");
  98. ["_UICorner14"] = Instance.new("UICorner");
  99. ["_ImageLabel"] = Instance.new("ImageLabel");
  100. ["_Opener"] = Instance.new("TextButton");
  101. ["_LocalScript4"] = Instance.new("LocalScript");
  102. ["_Area"] = Instance.new("CanvasGroup");
  103. ["_Area1"] = Instance.new("ScrollingFrame");
  104. ["_TextLabel5"] = Instance.new("TextLabel");
  105. ["_TextLabel6"] = Instance.new("TextLabel");
  106. ["_ClickAndHold"] = Instance.new("ModuleScript");
  107. ["_Dialog"] = Instance.new("Frame");
  108. ["_UICorner15"] = Instance.new("UICorner");
  109. ["_UIGradient6"] = Instance.new("UIGradient");
  110. ["_UIPadding10"] = Instance.new("UIPadding");
  111. ["_UIStroke10"] = Instance.new("UIStroke");
  112. ["_UIGradient7"] = Instance.new("UIGradient");
  113. ["_DialogTitle"] = Instance.new("TextLabel");
  114. ["_UIListLayout3"] = Instance.new("UIListLayout");
  115. ["_DialogDesc"] = Instance.new("TextLabel");
  116. ["_UITextSizeConstraint"] = Instance.new("UITextSizeConstraint");
  117. ["_Options"] = Instance.new("Frame");
  118. ["_UIListLayout4"] = Instance.new("UIListLayout");
  119. ["_OptionPlaceholder"] = Instance.new("TextButton");
  120. ["_UIPadding11"] = Instance.new("UIPadding");
  121. ["_UICorner16"] = Instance.new("UICorner");
  122. ["_UIStroke11"] = Instance.new("UIStroke");
  123. ["_UIGradient8"] = Instance.new("UIGradient");
  124. ["_OnSelect"] = Instance.new("BindableEvent");
  125. ["_UIScale2"] = Instance.new("UIScale");
  126. }
  127.  
  128. -- Properties:
  129.  
  130. Converted["_BRX"].DisplayOrder = 999999999
  131. Converted["_BRX"].IgnoreGuiInset = true
  132. Converted["_BRX"].ScreenInsets = Enum.ScreenInsets.DeviceSafeInsets
  133. Converted["_BRX"].ResetOnSpawn = false
  134. Converted["_BRX"].ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  135. Converted["_BRX"].Name = "BRX"
  136. Converted["_BRX"].Parent = game:GetService("CoreGui")
  137.  
  138. Converted["_Open"].Font = Enum.Font.Gotham
  139. Converted["_Open"].Text = "Triple-click this region to open BRX."
  140. Converted["_Open"].TextColor3 = Color3.fromRGB(255, 255, 255)
  141. Converted["_Open"].TextScaled = true
  142. Converted["_Open"].TextSize = 14
  143. Converted["_Open"].TextTransparency = 1
  144. Converted["_Open"].TextWrapped = true
  145. Converted["_Open"].AnchorPoint = Vector2.new(0.5, 0.5)
  146. Converted["_Open"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  147. Converted["_Open"].BackgroundTransparency = 1
  148. Converted["_Open"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  149. Converted["_Open"].BorderSizePixel = 0
  150. Converted["_Open"].Position = UDim2.new(0.499372631, 0, 0.06341701, 0)
  151. Converted["_Open"].Selectable = false
  152. Converted["_Open"].Size = UDim2.new(0, 493, 0, 50)
  153. Converted["_Open"].Visible = false
  154. Converted["_Open"].Name = "Open"
  155. Converted["_Open"].Parent = Converted["_BRX"]
  156.  
  157. Converted["_UICorner"].Parent = Converted["_Open"]
  158.  
  159. Converted["_UIPadding"].PaddingBottom = UDim.new(0, 10)
  160. Converted["_UIPadding"].PaddingLeft = UDim.new(0, 20)
  161. Converted["_UIPadding"].PaddingRight = UDim.new(0, 20)
  162. Converted["_UIPadding"].PaddingTop = UDim.new(0, 10)
  163. Converted["_UIPadding"].Parent = Converted["_Open"]
  164.  
  165. Converted["_ListButton"].Font = Enum.Font.Gotham
  166. Converted["_ListButton"].Text = "Placeholder"
  167. Converted["_ListButton"].TextColor3 = Color3.fromRGB(255, 255, 255)
  168. Converted["_ListButton"].TextSize = 14
  169. Converted["_ListButton"].TextWrapped = true
  170. Converted["_ListButton"].AnchorPoint = Vector2.new(0.5, 0.5)
  171. Converted["_ListButton"].BackgroundColor3 = Color3.fromRGB(49.00000087916851, 49.00000087916851, 49.00000087916851)
  172. Converted["_ListButton"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  173. Converted["_ListButton"].BorderSizePixel = 0
  174. Converted["_ListButton"].Position = UDim2.new(0.0450000018, 0, 0.112000003, 0)
  175. Converted["_ListButton"].Size = UDim2.new(1, 0, 0, 50)
  176. Converted["_ListButton"].Visible = false
  177. Converted["_ListButton"].Name = "ListButton"
  178. Converted["_ListButton"].Parent = Converted["_BRX"]
  179.  
  180. Converted["_UICorner1"].Parent = Converted["_ListButton"]
  181.  
  182. Converted["_Notifications"].AnchorPoint = Vector2.new(0, 0.5)
  183. Converted["_Notifications"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  184. Converted["_Notifications"].BackgroundTransparency = 1
  185. Converted["_Notifications"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  186. Converted["_Notifications"].BorderSizePixel = 0
  187. Converted["_Notifications"].Position = UDim2.new(-0.00062737026, 0, 0.499319851, 0)
  188. Converted["_Notifications"].Size = UDim2.new(0, 242, 1, 0)
  189. Converted["_Notifications"].Name = "Notifications"
  190. Converted["_Notifications"].Parent = Converted["_BRX"]
  191.  
  192. Converted["_UIListLayout"].Padding = UDim.new(0, 10)
  193. Converted["_UIListLayout"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  194. Converted["_UIListLayout"].SortOrder = Enum.SortOrder.LayoutOrder
  195. Converted["_UIListLayout"].VerticalAlignment = Enum.VerticalAlignment.Bottom
  196. Converted["_UIListLayout"].Parent = Converted["_Notifications"]
  197.  
  198. Converted["_UIPadding1"].PaddingBottom = UDim.new(0, 10)
  199. Converted["_UIPadding1"].PaddingLeft = UDim.new(0, 10)
  200. Converted["_UIPadding1"].Parent = Converted["_Notifications"]
  201.  
  202. Converted["_Placeholder"].AnchorPoint = Vector2.new(0.5, 0)
  203. Converted["_Placeholder"].BackgroundColor3 = Color3.fromRGB(31.000001952052116, 31.000001952052116, 31.000001952052116)
  204. Converted["_Placeholder"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  205. Converted["_Placeholder"].BorderSizePixel = 0
  206. Converted["_Placeholder"].Position = UDim2.new(0.0450000018, 0, 0.112000003, 0)
  207. Converted["_Placeholder"].Visible = false
  208. Converted["_Placeholder"].Name = "Placeholder"
  209. Converted["_Placeholder"].Parent = Converted["_Notifications"]
  210.  
  211. Converted["_UICorner2"].Parent = Converted["_Placeholder"]
  212.  
  213. Converted["_TextLabel"].Font = Enum.Font.Gotham
  214. Converted["_TextLabel"].TextColor3 = Color3.fromRGB(255, 255, 255)
  215. Converted["_TextLabel"].TextScaled = true
  216. Converted["_TextLabel"].TextSize = 14
  217. Converted["_TextLabel"].TextWrapped = true
  218. Converted["_TextLabel"].TextXAlignment = Enum.TextXAlignment.Left
  219. Converted["_TextLabel"].AnchorPoint = Vector2.new(0.5, 0.5)
  220. Converted["_TextLabel"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  221. Converted["_TextLabel"].BackgroundTransparency = 1
  222. Converted["_TextLabel"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  223. Converted["_TextLabel"].BorderSizePixel = 0
  224. Converted["_TextLabel"].Position = UDim2.new(0.5, 0, 0.5, 0)
  225. Converted["_TextLabel"].Size = UDim2.new(0.899999976, 0, 0.800000012, 0)
  226. Converted["_TextLabel"].Parent = Converted["_Placeholder"]
  227.  
  228. Converted["_TextBoxPlaceholder"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  229. Converted["_TextBoxPlaceholder"].BackgroundTransparency = 1
  230. Converted["_TextBoxPlaceholder"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  231. Converted["_TextBoxPlaceholder"].BorderSizePixel = 0
  232. Converted["_TextBoxPlaceholder"].Size = UDim2.new(1, 0, 0, 50)
  233. Converted["_TextBoxPlaceholder"].Visible = false
  234. Converted["_TextBoxPlaceholder"].Name = "TextBoxPlaceholder"
  235. Converted["_TextBoxPlaceholder"].Parent = Converted["_BRX"]
  236.  
  237. Converted["_UIListLayout1"].Padding = UDim.new(0, 5)
  238. Converted["_UIListLayout1"].FillDirection = Enum.FillDirection.Horizontal
  239. Converted["_UIListLayout1"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  240. Converted["_UIListLayout1"].Parent = Converted["_TextBoxPlaceholder"]
  241.  
  242. Converted["_TextButton"].Font = Enum.Font.Gotham
  243. Converted["_TextButton"].TextColor3 = Color3.fromRGB(255, 255, 255)
  244. Converted["_TextButton"].TextScaled = true
  245. Converted["_TextButton"].TextSize = 14
  246. Converted["_TextButton"].TextWrapped = true
  247. Converted["_TextButton"].BackgroundColor3 = Color3.fromRGB(22.000000588595867, 22.000000588595867, 22.000000588595867)
  248. Converted["_TextButton"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  249. Converted["_TextButton"].BorderSizePixel = 0
  250. Converted["_TextButton"].Position = UDim2.new(0.292333364, 0, 1.67999995, 0)
  251. Converted["_TextButton"].Size = UDim2.new(0, 50, 0, 50)
  252. Converted["_TextButton"].Parent = Converted["_TextBoxPlaceholder"]
  253.  
  254. Converted["_UICorner3"].Parent = Converted["_TextButton"]
  255.  
  256. Converted["_UIPadding2"].PaddingBottom = UDim.new(0, 5)
  257. Converted["_UIPadding2"].PaddingLeft = UDim.new(0, 5)
  258. Converted["_UIPadding2"].PaddingRight = UDim.new(0, 5)
  259. Converted["_UIPadding2"].PaddingTop = UDim.new(0, 5)
  260. Converted["_UIPadding2"].Parent = Converted["_TextButton"]
  261.  
  262. Converted["_TextBox"].Font = Enum.Font.Gotham
  263. Converted["_TextBox"].PlaceholderText = "Placeholder"
  264. Converted["_TextBox"].Text = ""
  265. Converted["_TextBox"].TextColor3 = Color3.fromRGB(255, 255, 255)
  266. Converted["_TextBox"].TextSize = 14
  267. Converted["_TextBox"].BackgroundColor3 = Color3.fromRGB(22.000000588595867, 22.000000588595867, 22.000000588595867)
  268. Converted["_TextBox"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  269. Converted["_TextBox"].BorderSizePixel = 0
  270. Converted["_TextBox"].Size = UDim2.new(0.800000012, 0, 0, 50)
  271. Converted["_TextBox"].Parent = Converted["_TextBoxPlaceholder"]
  272.  
  273. Converted["_UICorner4"].Parent = Converted["_TextBox"]
  274.  
  275. Converted["_FloatingButton"].Font = Enum.Font.Unknown
  276. Converted["_FloatingButton"].Text = "Shoot into murderer"
  277. Converted["_FloatingButton"].TextColor3 = Color3.fromRGB(255, 255, 255)
  278. Converted["_FloatingButton"].TextScaled = true
  279. Converted["_FloatingButton"].TextSize = 14
  280. Converted["_FloatingButton"].TextWrapped = true
  281. Converted["_FloatingButton"].AnchorPoint = Vector2.new(0.5, 0.5)
  282. Converted["_FloatingButton"].BackgroundColor3 = Color3.fromRGB(31.000001952052116, 31.000001952052116, 31.000001952052116)
  283. Converted["_FloatingButton"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  284. Converted["_FloatingButton"].BorderSizePixel = 0
  285. Converted["_FloatingButton"].Position = UDim2.new(0, 400, 0, 200)
  286. Converted["_FloatingButton"].Size = UDim2.new(0, 200, 0, 50)
  287. Converted["_FloatingButton"].Visible = false
  288. Converted["_FloatingButton"].Name = "FloatingButton"
  289. Converted["_FloatingButton"].Parent = Converted["_BRX"]
  290.  
  291. Converted["_UIPadding3"].PaddingBottom = UDim.new(0, 5)
  292. Converted["_UIPadding3"].PaddingLeft = UDim.new(0, 5)
  293. Converted["_UIPadding3"].PaddingRight = UDim.new(0, 5)
  294. Converted["_UIPadding3"].PaddingTop = UDim.new(0, 5)
  295. Converted["_UIPadding3"].Parent = Converted["_FloatingButton"]
  296.  
  297. Converted["_UICorner5"].Parent = Converted["_FloatingButton"]
  298.  
  299. Converted["_UIStroke"].ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  300. Converted["_UIStroke"].Color = Color3.fromRGB(255, 255, 255)
  301. Converted["_UIStroke"].Parent = Converted["_FloatingButton"]
  302.  
  303. Converted["_FloatingButtons"].AnchorPoint = Vector2.new(0.5, 0.5)
  304. Converted["_FloatingButtons"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  305. Converted["_FloatingButtons"].BackgroundTransparency = 1
  306. Converted["_FloatingButtons"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  307. Converted["_FloatingButtons"].BorderSizePixel = 0
  308. Converted["_FloatingButtons"].Position = UDim2.new(0.5, 0, 0.5, 0)
  309. Converted["_FloatingButtons"].Size = UDim2.new(1, 0, 1, 0)
  310. Converted["_FloatingButtons"].ZIndex = 0
  311. Converted["_FloatingButtons"].Name = "FloatingButtons"
  312. Converted["_FloatingButtons"].Parent = Converted["_BRX"]
  313.  
  314. Converted["_AddCustomModule"].AnchorPoint = Vector2.new(0.5, 0.5)
  315. Converted["_AddCustomModule"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  316. Converted["_AddCustomModule"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  317. Converted["_AddCustomModule"].BorderSizePixel = 0
  318. Converted["_AddCustomModule"].ClipsDescendants = true
  319. Converted["_AddCustomModule"].Position = UDim2.new(0.5, 0, -0.5, 0)
  320. Converted["_AddCustomModule"].Size = UDim2.new(0, 440, 0, 268)
  321. Converted["_AddCustomModule"].Name = "AddCustomModule"
  322. Converted["_AddCustomModule"].Parent = Converted["_BRX"]
  323.  
  324. Converted["_UICorner6"].Parent = Converted["_AddCustomModule"]
  325.  
  326. Converted["_UIStroke1"].Color = Color3.fromRGB(255, 255, 255)
  327. Converted["_UIStroke1"].Thickness = 2
  328. Converted["_UIStroke1"].Parent = Converted["_AddCustomModule"]
  329.  
  330. Converted["_UIGradient"].Color = ColorSequence.new{
  331. ColorSequenceKeypoint.new(0, Color3.fromRGB(53.00000064074993, 53.00000064074993, 53.00000064074993)),
  332. ColorSequenceKeypoint.new(0.15224914252758026, Color3.fromRGB(50.69031357765198, 50.69031357765198, 50.69031357765198)),
  333. ColorSequenceKeypoint.new(0.4723183512687683, Color3.fromRGB(255, 255, 255)),
  334. ColorSequenceKeypoint.new(0.7577854990959167, Color3.fromRGB(50.13314567506313, 50.13314567506313, 50.13314567506313)),
  335. ColorSequenceKeypoint.new(1, Color3.fromRGB(48.000000938773155, 48.000000938773155, 48.000000938773155))
  336. }
  337. Converted["_UIGradient"].Rotation = 62
  338. Converted["_UIGradient"].Parent = Converted["_UIStroke1"]
  339.  
  340. Converted["_UIGradient1"].Color = ColorSequence.new{
  341. ColorSequenceKeypoint.new(0, Color3.fromRGB(36.00000165402889, 36.00000165402889, 36.00000165402889)),
  342. ColorSequenceKeypoint.new(1, Color3.fromRGB(68.00000354647636, 68.00000354647636, 68.00000354647636))
  343. }
  344. Converted["_UIGradient1"].Rotation = 68
  345. Converted["_UIGradient1"].Parent = Converted["_AddCustomModule"]
  346.  
  347. Converted["_UIScale"].Parent = Converted["_AddCustomModule"]
  348.  
  349. Converted["_TextLabel1"].Font = Enum.Font.Gotham
  350. Converted["_TextLabel1"].Text = "Add a module"
  351. Converted["_TextLabel1"].TextColor3 = Color3.fromRGB(255, 255, 255)
  352. Converted["_TextLabel1"].TextScaled = true
  353. Converted["_TextLabel1"].TextSize = 14
  354. Converted["_TextLabel1"].TextWrapped = true
  355. Converted["_TextLabel1"].AnchorPoint = Vector2.new(0.5, 0.5)
  356. Converted["_TextLabel1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  357. Converted["_TextLabel1"].BackgroundTransparency = 1
  358. Converted["_TextLabel1"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  359. Converted["_TextLabel1"].BorderSizePixel = 0
  360. Converted["_TextLabel1"].Position = UDim2.new(0.352256238, 0, 0.133915231, 0)
  361. Converted["_TextLabel1"].Size = UDim2.new(0.619047642, 0, 0.125920027, 0)
  362. Converted["_TextLabel1"].Parent = Converted["_AddCustomModule"]
  363.  
  364. Converted["_TextBox1"].ClearTextOnFocus = false
  365. Converted["_TextBox1"].Font = Enum.Font.Gotham
  366. Converted["_TextBox1"].PlaceholderText = "Custom module link"
  367. Converted["_TextBox1"].Text = ""
  368. Converted["_TextBox1"].TextColor3 = Color3.fromRGB(255, 255, 255)
  369. Converted["_TextBox1"].TextScaled = true
  370. Converted["_TextBox1"].TextSize = 14
  371. Converted["_TextBox1"].TextWrapped = true
  372. Converted["_TextBox1"].AnchorPoint = Vector2.new(0.5, 0.5)
  373. Converted["_TextBox1"].BackgroundColor3 = Color3.fromRGB(22.000000588595867, 22.000000588595867, 22.000000588595867)
  374. Converted["_TextBox1"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  375. Converted["_TextBox1"].BorderSizePixel = 0
  376. Converted["_TextBox1"].Position = UDim2.new(0.499648541, 0, 0.500059664, 0)
  377. Converted["_TextBox1"].Size = UDim2.new(0.804988742, 0, 0.544776142, 0)
  378. Converted["_TextBox1"].Parent = Converted["_AddCustomModule"]
  379.  
  380. Converted["_UICorner7"].Parent = Converted["_TextBox1"]
  381.  
  382. Converted["_UIPadding4"].PaddingBottom = UDim.new(0, 10)
  383. Converted["_UIPadding4"].PaddingLeft = UDim.new(0, 10)
  384. Converted["_UIPadding4"].PaddingRight = UDim.new(0, 10)
  385. Converted["_UIPadding4"].PaddingTop = UDim.new(0, 10)
  386. Converted["_UIPadding4"].Parent = Converted["_TextBox1"]
  387.  
  388. Converted["_TextLabel2"].Font = Enum.Font.Gotham
  389. Converted["_TextLabel2"].Text = "Only add modules you trust!"
  390. Converted["_TextLabel2"].TextColor3 = Color3.fromRGB(255, 255, 255)
  391. Converted["_TextLabel2"].TextScaled = true
  392. Converted["_TextLabel2"].TextSize = 14
  393. Converted["_TextLabel2"].TextWrapped = true
  394. Converted["_TextLabel2"].AnchorPoint = Vector2.new(0.5, 0.5)
  395. Converted["_TextLabel2"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  396. Converted["_TextLabel2"].BackgroundTransparency = 1
  397. Converted["_TextLabel2"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  398. Converted["_TextLabel2"].BorderSizePixel = 0
  399. Converted["_TextLabel2"].Position = UDim2.new(0.499648541, 0, 0.833542168, 0)
  400. Converted["_TextLabel2"].Size = UDim2.new(0.619047642, 0, 0.0550245307, 0)
  401. Converted["_TextLabel2"].Parent = Converted["_AddCustomModule"]
  402.  
  403. Converted["_Add"].Font = Enum.Font.Gotham
  404. Converted["_Add"].Text = "Add"
  405. Converted["_Add"].TextColor3 = Color3.fromRGB(255, 255, 255)
  406. Converted["_Add"].TextScaled = true
  407. Converted["_Add"].TextSize = 14
  408. Converted["_Add"].TextWrapped = true
  409. Converted["_Add"].AnchorPoint = Vector2.new(0.5, 0.5)
  410. Converted["_Add"].BackgroundColor3 = Color3.fromRGB(50.00000461935997, 50.00000461935997, 50.00000461935997)
  411. Converted["_Add"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  412. Converted["_Add"].BorderSizePixel = 0
  413. Converted["_Add"].Position = UDim2.new(0.108492024, 0, 0.927298486, 0)
  414. Converted["_Add"].Size = UDim2.new(0.163265288, 0, 0.0858208984, 0)
  415. Converted["_Add"].Name = "Add"
  416. Converted["_Add"].Parent = Converted["_AddCustomModule"]
  417.  
  418. Converted["_UICorner8"].Parent = Converted["_Add"]
  419.  
  420. Converted["_UIPadding5"].PaddingBottom = UDim.new(0, 5)
  421. Converted["_UIPadding5"].PaddingLeft = UDim.new(0, 5)
  422. Converted["_UIPadding5"].PaddingRight = UDim.new(0, 5)
  423. Converted["_UIPadding5"].PaddingTop = UDim.new(0, 5)
  424. Converted["_UIPadding5"].Parent = Converted["_Add"]
  425.  
  426. Converted["_UIStroke2"].ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  427. Converted["_UIStroke2"].Color = Color3.fromRGB(255, 255, 255)
  428. Converted["_UIStroke2"].Parent = Converted["_Add"]
  429.  
  430. Converted["_Cancel"].Font = Enum.Font.Gotham
  431. Converted["_Cancel"].Text = "Cancel"
  432. Converted["_Cancel"].TextColor3 = Color3.fromRGB(255, 0, 0)
  433. Converted["_Cancel"].TextScaled = true
  434. Converted["_Cancel"].TextSize = 14
  435. Converted["_Cancel"].TextWrapped = true
  436. Converted["_Cancel"].AnchorPoint = Vector2.new(0.5, 0.5)
  437. Converted["_Cancel"].BackgroundColor3 = Color3.fromRGB(50.00000461935997, 50.00000461935997, 50.00000461935997)
  438. Converted["_Cancel"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  439. Converted["_Cancel"].BorderSizePixel = 0
  440. Converted["_Cancel"].Position = UDim2.new(0.899875283, 0, 0.931029797, 0)
  441. Converted["_Cancel"].Size = UDim2.new(0.163265288, 0, 0.0858208984, 0)
  442. Converted["_Cancel"].Name = "Cancel"
  443. Converted["_Cancel"].Parent = Converted["_AddCustomModule"]
  444.  
  445. Converted["_UICorner9"].Parent = Converted["_Cancel"]
  446.  
  447. Converted["_UIPadding6"].PaddingBottom = UDim.new(0, 5)
  448. Converted["_UIPadding6"].PaddingLeft = UDim.new(0, 5)
  449. Converted["_UIPadding6"].PaddingRight = UDim.new(0, 5)
  450. Converted["_UIPadding6"].PaddingTop = UDim.new(0, 5)
  451. Converted["_UIPadding6"].Parent = Converted["_Cancel"]
  452.  
  453. Converted["_UIStroke3"].ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  454. Converted["_UIStroke3"].Color = Color3.fromRGB(255, 0, 0)
  455. Converted["_UIStroke3"].Parent = Converted["_Cancel"]
  456.  
  457. Converted["_DroppedGunBGUI"].Active = true
  458. Converted["_DroppedGunBGUI"].AlwaysOnTop = true
  459. Converted["_DroppedGunBGUI"].ClipsDescendants = true
  460. Converted["_DroppedGunBGUI"].Size = UDim2.new(0, 70, 0, 70)
  461. Converted["_DroppedGunBGUI"].Enabled = false
  462. Converted["_DroppedGunBGUI"].ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  463. Converted["_DroppedGunBGUI"].Name = "DroppedGunBGUI"
  464. Converted["_DroppedGunBGUI"].Parent = Converted["_BRX"]
  465.  
  466. Converted["_TextLabel3"].Font = Enum.Font.SourceSansBold
  467. Converted["_TextLabel3"].Text = "Dropped Gun!"
  468. Converted["_TextLabel3"].TextColor3 = Color3.fromRGB(255, 225.00001698732376, 0)
  469. Converted["_TextLabel3"].TextScaled = true
  470. Converted["_TextLabel3"].TextSize = 14
  471. Converted["_TextLabel3"].TextWrapped = true
  472. Converted["_TextLabel3"].AnchorPoint = Vector2.new(0.5, 0.5)
  473. Converted["_TextLabel3"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  474. Converted["_TextLabel3"].BackgroundTransparency = 1
  475. Converted["_TextLabel3"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  476. Converted["_TextLabel3"].BorderSizePixel = 0
  477. Converted["_TextLabel3"].Position = UDim2.new(0.5, 0, 0.5, 0)
  478. Converted["_TextLabel3"].Size = UDim2.new(1, 0, 1, 0)
  479. Converted["_TextLabel3"].Parent = Converted["_DroppedGunBGUI"]
  480.  
  481. Converted["_UIStroke4"].Parent = Converted["_TextLabel3"]
  482.  
  483. Converted["_MurdererBGUI"].Active = true
  484. Converted["_MurdererBGUI"].AlwaysOnTop = true
  485. Converted["_MurdererBGUI"].ClipsDescendants = true
  486. Converted["_MurdererBGUI"].Size = UDim2.new(0, 70, 0, 70)
  487. Converted["_MurdererBGUI"].StudsOffset = Vector3.new(0, 2, 2)
  488. Converted["_MurdererBGUI"].Enabled = false
  489. Converted["_MurdererBGUI"].ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  490. Converted["_MurdererBGUI"].Name = "MurdererBGUI"
  491. Converted["_MurdererBGUI"].Parent = Converted["_BRX"]
  492.  
  493. Converted["_TextLabel4"].Font = Enum.Font.SourceSansBold
  494. Converted["_TextLabel4"].Text = "Murderer"
  495. Converted["_TextLabel4"].TextColor3 = Color3.fromRGB(255, 0, 4.000000236555934)
  496. Converted["_TextLabel4"].TextScaled = true
  497. Converted["_TextLabel4"].TextSize = 14
  498. Converted["_TextLabel4"].TextWrapped = true
  499. Converted["_TextLabel4"].AnchorPoint = Vector2.new(0.5, 0.5)
  500. Converted["_TextLabel4"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  501. Converted["_TextLabel4"].BackgroundTransparency = 1
  502. Converted["_TextLabel4"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  503. Converted["_TextLabel4"].BorderSizePixel = 0
  504. Converted["_TextLabel4"].Position = UDim2.new(0.5, 0, 0.5, 0)
  505. Converted["_TextLabel4"].Size = UDim2.new(1, 0, 1, 0)
  506. Converted["_TextLabel4"].Parent = Converted["_MurdererBGUI"]
  507.  
  508. Converted["_UIStroke5"].Parent = Converted["_TextLabel4"]
  509.  
  510. Converted["_Menu"].AnchorPoint = Vector2.new(0.5, 0)
  511. Converted["_Menu"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  512. Converted["_Menu"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  513. Converted["_Menu"].BorderSizePixel = 0
  514. Converted["_Menu"].ClipsDescendants = true
  515. Converted["_Menu"].Position = UDim2.new(0.499372661, 0, 0.0410327986, 0)
  516. Converted["_Menu"].Size = UDim2.new(0, 441, 0, 268)
  517. Converted["_Menu"].Name = "Menu"
  518. Converted["_Menu"].Parent = Converted["_BRX"]
  519.  
  520. Converted["_UICorner10"].Parent = Converted["_Menu"]
  521.  
  522. Converted["_UIGradient2"].Color = ColorSequence.new{
  523. ColorSequenceKeypoint.new(0, Color3.fromRGB(36.00000165402889, 36.00000165402889, 36.00000165402889)),
  524. ColorSequenceKeypoint.new(1, Color3.fromRGB(68.00000354647636, 68.00000354647636, 68.00000354647636))
  525. }
  526. Converted["_UIGradient2"].Rotation = 68
  527. Converted["_UIGradient2"].Parent = Converted["_Menu"]
  528.  
  529. Converted["_UIScale1"].Parent = Converted["_Menu"]
  530.  
  531. Converted["_UIStroke6"].Color = Color3.fromRGB(255, 255, 255)
  532. Converted["_UIStroke6"].Thickness = 2
  533. Converted["_UIStroke6"].Parent = Converted["_Menu"]
  534.  
  535. Converted["_UIGradient3"].Color = ColorSequence.new{
  536. ColorSequenceKeypoint.new(0, Color3.fromRGB(53.00000064074993, 53.00000064074993, 53.00000064074993)),
  537. ColorSequenceKeypoint.new(0.15224914252758026, Color3.fromRGB(50.69031357765198, 50.69031357765198, 50.69031357765198)),
  538. ColorSequenceKeypoint.new(0.4723183512687683, Color3.fromRGB(255, 0, 0)),
  539. ColorSequenceKeypoint.new(0.7577854990959167, Color3.fromRGB(50.13314567506313, 50.13314567506313, 50.13314567506313)),
  540. ColorSequenceKeypoint.new(1, Color3.fromRGB(48.000000938773155, 48.000000938773155, 48.000000938773155))
  541. }
  542. Converted["_UIGradient3"].Rotation = 180
  543. Converted["_UIGradient3"].Parent = Converted["_UIStroke6"]
  544.  
  545. Converted["_List"].AnchorPoint = Vector2.new(0.5, 0.5)
  546. Converted["_List"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  547. Converted["_List"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  548. Converted["_List"].BorderSizePixel = 0
  549. Converted["_List"].Position = UDim2.new(0.15770267, 0, 0.607306004, 0)
  550. Converted["_List"].Size = UDim2.new(0.315405339, 0, 0.785387993, 0)
  551. Converted["_List"].Name = "List"
  552. Converted["_List"].Parent = Converted["_Menu"]
  553.  
  554. Converted["_UICorner11"].Parent = Converted["_List"]
  555.  
  556. Converted["_ScrollingFrame"].AutomaticCanvasSize = Enum.AutomaticSize.Y
  557. Converted["_ScrollingFrame"].CanvasSize = UDim2.new(0, 0, 0, 0)
  558. Converted["_ScrollingFrame"].ScrollBarThickness = 2
  559. Converted["_ScrollingFrame"].VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
  560. Converted["_ScrollingFrame"].Active = true
  561. Converted["_ScrollingFrame"].AnchorPoint = Vector2.new(0.5, 0.5)
  562. Converted["_ScrollingFrame"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  563. Converted["_ScrollingFrame"].BackgroundTransparency = 1
  564. Converted["_ScrollingFrame"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  565. Converted["_ScrollingFrame"].BorderSizePixel = 0
  566. Converted["_ScrollingFrame"].Position = UDim2.new(0.478333294, 0, 0.510989845, 0)
  567. Converted["_ScrollingFrame"].Size = UDim2.new(1, 0, 1, 0)
  568. Converted["_ScrollingFrame"].Parent = Converted["_List"]
  569.  
  570. Converted["_UIListLayout2"].Padding = UDim.new(0, 3)
  571. Converted["_UIListLayout2"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  572. Converted["_UIListLayout2"].SortOrder = Enum.SortOrder.LayoutOrder
  573. Converted["_UIListLayout2"].Parent = Converted["_ScrollingFrame"]
  574.  
  575. Converted["_UIPadding7"].PaddingLeft = UDim.new(0, 4)
  576. Converted["_UIPadding7"].Parent = Converted["_ScrollingFrame"]
  577.  
  578. Converted["_UIPadding8"].PaddingBottom = UDim.new(0, 10)
  579. Converted["_UIPadding8"].PaddingLeft = UDim.new(0, 10)
  580. Converted["_UIPadding8"].PaddingRight = UDim.new(0, 10)
  581. Converted["_UIPadding8"].PaddingTop = UDim.new(0, 10)
  582. Converted["_UIPadding8"].Parent = Converted["_List"]
  583.  
  584. Converted["_UIGradient4"].Color = ColorSequence.new{
  585. ColorSequenceKeypoint.new(0, Color3.fromRGB(36.00000165402889, 36.00000165402889, 36.00000165402889)),
  586. ColorSequenceKeypoint.new(1, Color3.fromRGB(68.00000354647636, 68.00000354647636, 68.00000354647636))
  587. }
  588. Converted["_UIGradient4"].Rotation = -133
  589. Converted["_UIGradient4"].Parent = Converted["_List"]
  590.  
  591. Converted["_UIStroke7"].Color = Color3.fromRGB(255, 255, 255)
  592. Converted["_UIStroke7"].Thickness = 2
  593. Converted["_UIStroke7"].Parent = Converted["_List"]
  594.  
  595. Converted["_UIGradient5"].Color = ColorSequence.new{
  596. ColorSequenceKeypoint.new(0, Color3.fromRGB(111.00000098347664, 111.00000098347664, 111.00000098347664)),
  597. ColorSequenceKeypoint.new(0.6401384472846985, Color3.fromRGB(114.23875719308853, 114.23875719308853, 114.23875719308853)),
  598. ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))
  599. }
  600. Converted["_UIGradient5"].Rotation = -44
  601. Converted["_UIGradient5"].Parent = Converted["_UIStroke7"]
  602.  
  603. Converted["_AddCustomModule1"].Font = Enum.Font.Gotham
  604. Converted["_AddCustomModule1"].Text = "Add module"
  605. Converted["_AddCustomModule1"].TextColor3 = Color3.fromRGB(255, 255, 255)
  606. Converted["_AddCustomModule1"].TextScaled = true
  607. Converted["_AddCustomModule1"].TextSize = 14
  608. Converted["_AddCustomModule1"].TextWrapped = true
  609. Converted["_AddCustomModule1"].AnchorPoint = Vector2.new(0.5, 0.5)
  610. Converted["_AddCustomModule1"].BackgroundColor3 = Color3.fromRGB(50.00000461935997, 50.00000461935997, 50.00000461935997)
  611. Converted["_AddCustomModule1"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  612. Converted["_AddCustomModule1"].BorderSizePixel = 0
  613. Converted["_AddCustomModule1"].Position = UDim2.new(0.157244906, 0, 0.914238751, 0)
  614. Converted["_AddCustomModule1"].Size = UDim2.new(0.260770977, 0, 0.111940302, 0)
  615. Converted["_AddCustomModule1"].Name = "AddCustomModule"
  616. Converted["_AddCustomModule1"].Parent = Converted["_Menu"]
  617.  
  618. Converted["_UICorner12"].Parent = Converted["_AddCustomModule1"]
  619.  
  620. Converted["_UIPadding9"].PaddingBottom = UDim.new(0, 5)
  621. Converted["_UIPadding9"].PaddingLeft = UDim.new(0, 5)
  622. Converted["_UIPadding9"].PaddingRight = UDim.new(0, 5)
  623. Converted["_UIPadding9"].PaddingTop = UDim.new(0, 5)
  624. Converted["_UIPadding9"].Parent = Converted["_AddCustomModule1"]
  625.  
  626. Converted["_UIStroke8"].ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  627. Converted["_UIStroke8"].Color = Color3.fromRGB(255, 255, 255)
  628. Converted["_UIStroke8"].Parent = Converted["_AddCustomModule1"]
  629.  
  630. Converted["_Close"].Font = Enum.Font.GothamBold
  631. Converted["_Close"].Text = "Close"
  632. Converted["_Close"].TextColor3 = Color3.fromRGB(255, 255, 255)
  633. Converted["_Close"].TextSize = 14
  634. Converted["_Close"].Modal = true
  635. Converted["_Close"].AnchorPoint = Vector2.new(0.5, 0.5)
  636. Converted["_Close"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  637. Converted["_Close"].BackgroundTransparency = 0.30000001192092896
  638. Converted["_Close"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  639. Converted["_Close"].BorderSizePixel = 0
  640. Converted["_Close"].Position = UDim2.new(0.914614439, 0, 0.914238751, 0)
  641. Converted["_Close"].Size = UDim2.new(0.133786857, 0, 0.111940302, 0)
  642. Converted["_Close"].ZIndex = 999999999
  643. Converted["_Close"].Name = "Close"
  644. Converted["_Close"].Parent = Converted["_Menu"]
  645.  
  646. Converted["_UICorner13"].Parent = Converted["_Close"]
  647.  
  648. Converted["_UIStroke9"].Parent = Converted["_Close"]
  649.  
  650. Converted["_HubCredits"].Font = Enum.Font.GothamBold
  651. Converted["_HubCredits"].Text = "Made and open sourced by imperial and edited by Brandon Jay"
  652. Converted["_HubCredits"].TextColor3 = Color3.fromRGB(255, 255, 255)
  653. Converted["_HubCredits"].TextScaled = true
  654. Converted["_HubCredits"].TextSize = 14
  655. Converted["_HubCredits"].TextTransparency = 0.699999988079071
  656. Converted["_HubCredits"].TextWrapped = true
  657. Converted["_HubCredits"].TextXAlignment = Enum.TextXAlignment.Right
  658. Converted["_HubCredits"].AnchorPoint = Vector2.new(0.5, 0.5)
  659. Converted["_HubCredits"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  660. Converted["_HubCredits"].BackgroundTransparency = 1
  661. Converted["_HubCredits"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  662. Converted["_HubCredits"].BorderSizePixel = 0
  663. Converted["_HubCredits"].Position = UDim2.new(0.785926819, 0, 0.160157606, 0)
  664. Converted["_HubCredits"].Size = UDim2.new(0.316320807, 0, 0.0585099049, 0)
  665. Converted["_HubCredits"].Name = "HubCredits"
  666. Converted["_HubCredits"].Parent = Converted["_Menu"]
  667.  
  668. Converted["_HubDesc"].Font = Enum.Font.GothamBold
  669. Converted["_HubDesc"].Text = "yet another random hub menu"
  670. Converted["_HubDesc"].TextColor3 = Color3.fromRGB(255, 255, 255)
  671. Converted["_HubDesc"].TextSize = 14
  672. Converted["_HubDesc"].TextWrapped = true
  673. Converted["_HubDesc"].TextXAlignment = Enum.TextXAlignment.Right
  674. Converted["_HubDesc"].AnchorPoint = Vector2.new(0.5, 0.5)
  675. Converted["_HubDesc"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  676. Converted["_HubDesc"].BackgroundTransparency = 1
  677. Converted["_HubDesc"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  678. Converted["_HubDesc"].BorderSizePixel = 0
  679. Converted["_HubDesc"].Position = UDim2.new(0.708829343, 0, 0.116141364, 0)
  680. Converted["_HubDesc"].Size = UDim2.new(0.470515788, 0, 0.082417585, 0)
  681. Converted["_HubDesc"].Name = "HubDesc"
  682. Converted["_HubDesc"].Parent = Converted["_Menu"]
  683.  
  684. Converted["_HubName"].Font = Enum.Font.GothamBold
  685. Converted["_HubName"].Text = "BRX"
  686. Converted["_HubName"].TextColor3 = Color3.fromRGB(255, 255, 255)
  687. Converted["_HubName"].TextScaled = true
  688. Converted["_HubName"].TextSize = 14
  689. Converted["_HubName"].TextWrapped = true
  690. Converted["_HubName"].TextXAlignment = Enum.TextXAlignment.Left
  691. Converted["_HubName"].AnchorPoint = Vector2.new(0.5, 0.5)
  692. Converted["_HubName"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  693. Converted["_HubName"].BackgroundTransparency = 1
  694. Converted["_HubName"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  695. Converted["_HubName"].BorderSizePixel = 0
  696. Converted["_HubName"].Position = UDim2.new(0.186153606, 0, 0.112410031, 0)
  697. Converted["_HubName"].Size = UDim2.new(0.259631485, 0, 0.0824175924, 0)
  698. Converted["_HubName"].Name = "HubName"
  699. Converted["_HubName"].Parent = Converted["_Menu"]
  700.  
  701. Converted["_CanvasGroup"].GroupTransparency = 1
  702. Converted["_CanvasGroup"].AnchorPoint = Vector2.new(0.5, 0.5)
  703. Converted["_CanvasGroup"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  704. Converted["_CanvasGroup"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  705. Converted["_CanvasGroup"].BorderSizePixel = 0
  706. Converted["_CanvasGroup"].Position = UDim2.new(0.5, 0, 0.5, 0)
  707. Converted["_CanvasGroup"].Size = UDim2.new(1, 0, 1, 0)
  708. Converted["_CanvasGroup"].ZIndex = 999999999
  709. Converted["_CanvasGroup"].Parent = Converted["_Menu"]
  710.  
  711. Converted["_UICorner14"].Parent = Converted["_CanvasGroup"]
  712.  
  713. Converted["_ImageLabel"].Image = "rbxassetid://17864987433"
  714. Converted["_ImageLabel"].AnchorPoint = Vector2.new(0.5, 0.5)
  715. Converted["_ImageLabel"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  716. Converted["_ImageLabel"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  717. Converted["_ImageLabel"].BorderSizePixel = 0
  718. Converted["_ImageLabel"].Position = UDim2.new(0.5, 0, 0.5, 0)
  719. Converted["_ImageLabel"].Size = UDim2.new(0, 50, 0, 50)
  720. Converted["_ImageLabel"].Parent = Converted["_CanvasGroup"]
  721.  
  722. Converted["_Opener"].Font = Enum.Font.SourceSans
  723. Converted["_Opener"].Text = ""
  724. Converted["_Opener"].TextColor3 = Color3.fromRGB(0, 0, 0)
  725. Converted["_Opener"].TextSize = 14
  726. Converted["_Opener"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  727. Converted["_Opener"].BackgroundTransparency = 1
  728. Converted["_Opener"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  729. Converted["_Opener"].BorderSizePixel = 0
  730. Converted["_Opener"].Size = UDim2.new(1, 0, 1, 0)
  731. Converted["_Opener"].Name = "Opener"
  732. Converted["_Opener"].Parent = Converted["_CanvasGroup"]
  733.  
  734. Converted["_Area"].AnchorPoint = Vector2.new(0.5, 0.5)
  735. Converted["_Area"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  736. Converted["_Area"].BackgroundTransparency = 1
  737. Converted["_Area"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  738. Converted["_Area"].BorderSizePixel = 0
  739. Converted["_Area"].Position = UDim2.new(0.659600496, 0, 0.60637325, 0)
  740. Converted["_Area"].Size = UDim2.new(0.643815279, 0, 0.783582091, 0)
  741. Converted["_Area"].Name = "Area"
  742. Converted["_Area"].Parent = Converted["_Menu"]
  743.  
  744. Converted["_Area1"].AutomaticCanvasSize = Enum.AutomaticSize.Y
  745. Converted["_Area1"].CanvasSize = UDim2.new(0, 0, 0, 0)
  746. Converted["_Area1"].ScrollBarThickness = 0
  747. Converted["_Area1"].AnchorPoint = Vector2.new(0.5, 0.5)
  748. Converted["_Area1"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  749. Converted["_Area1"].BackgroundTransparency = 1
  750. Converted["_Area1"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  751. Converted["_Area1"].BorderSizePixel = 0
  752. Converted["_Area1"].Position = UDim2.new(0.5, 0, 0.5, 0)
  753. Converted["_Area1"].Selectable = false
  754. Converted["_Area1"].Size = UDim2.new(1, 0, 1, 0)
  755. Converted["_Area1"].SelectionGroup = false
  756. Converted["_Area1"].Name = "Area"
  757. Converted["_Area1"].Parent = Converted["_Area"]
  758.  
  759. Converted["_TextLabel5"].Font = Enum.Font.GothamBold
  760. Converted["_TextLabel5"].Text = "yet another random hub menu"
  761. Converted["_TextLabel5"].TextColor3 = Color3.fromRGB(255, 255, 255)
  762. Converted["_TextLabel5"].TextSize = 14
  763. Converted["_TextLabel5"].AnchorPoint = Vector2.new(0.5, 0.5)
  764. Converted["_TextLabel5"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  765. Converted["_TextLabel5"].BackgroundTransparency = 1
  766. Converted["_TextLabel5"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  767. Converted["_TextLabel5"].BorderSizePixel = 0
  768. Converted["_TextLabel5"].Position = UDim2.new(0.4923051, 0, 0.46438089, 0)
  769. Converted["_TextLabel5"].Size = UDim2.new(0, 200, 0, 50)
  770. Converted["_TextLabel5"].Parent = Converted["_Area1"]
  771.  
  772. Converted["_TextLabel6"].Font = Enum.Font.GothamBold
  773. Converted["_TextLabel6"].Text = "BRX"
  774. Converted["_TextLabel6"].TextColor3 = Color3.fromRGB(255, 255, 255)
  775. Converted["_TextLabel6"].TextScaled = true
  776. Converted["_TextLabel6"].TextSize = 14
  777. Converted["_TextLabel6"].TextWrapped = true
  778. Converted["_TextLabel6"].AnchorPoint = Vector2.new(0.5, 0.5)
  779. Converted["_TextLabel6"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  780. Converted["_TextLabel6"].BackgroundTransparency = 1
  781. Converted["_TextLabel6"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  782. Converted["_TextLabel6"].BorderSizePixel = 0
  783. Converted["_TextLabel6"].Position = UDim2.new(0.491272807, 0, 0.363785654, 0)
  784. Converted["_TextLabel6"].Size = UDim2.new(0, 135, 0, 33)
  785. Converted["_TextLabel6"].Parent = Converted["_Area1"]
  786.  
  787. Converted["_Dialog"].AnchorPoint = Vector2.new(0.5, 1)
  788. Converted["_Dialog"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  789. Converted["_Dialog"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  790. Converted["_Dialog"].BorderSizePixel = 0
  791. Converted["_Dialog"].Position = UDim2.new(0.499068826, 0, 0.983805656, 0)
  792. Converted["_Dialog"].Size = UDim2.new(0, 313, 0, 147)
  793. Converted["_Dialog"].Name = "Dialog"
  794. Converted["_Dialog"].Parent = Converted["_BRX"]
  795.  
  796. Converted["_UICorner15"].Parent = Converted["_Dialog"]
  797.  
  798. Converted["_UIGradient6"].Color = ColorSequence.new{
  799. ColorSequenceKeypoint.new(0, Color3.fromRGB(36.00000165402889, 36.00000165402889, 36.00000165402889)),
  800. ColorSequenceKeypoint.new(1, Color3.fromRGB(68.00000354647636, 68.00000354647636, 68.00000354647636))
  801. }
  802. Converted["_UIGradient6"].Rotation = -133
  803. Converted["_UIGradient6"].Parent = Converted["_Dialog"]
  804.  
  805. Converted["_UIPadding10"].PaddingBottom = UDim.new(0, 15)
  806. Converted["_UIPadding10"].PaddingLeft = UDim.new(0, 15)
  807. Converted["_UIPadding10"].PaddingRight = UDim.new(0, 15)
  808. Converted["_UIPadding10"].PaddingTop = UDim.new(0, 15)
  809. Converted["_UIPadding10"].Parent = Converted["_Dialog"]
  810.  
  811. Converted["_UIStroke10"].Color = Color3.fromRGB(255, 255, 255)
  812. Converted["_UIStroke10"].Thickness = 2
  813. Converted["_UIStroke10"].Parent = Converted["_Dialog"]
  814.  
  815. Converted["_UIGradient7"].Color = ColorSequence.new{
  816. ColorSequenceKeypoint.new(0, Color3.fromRGB(111.00000098347664, 111.00000098347664, 111.00000098347664)),
  817. ColorSequenceKeypoint.new(0.6401384472846985, Color3.fromRGB(114.23875719308853, 114.23875719308853, 114.23875719308853)),
  818. ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))
  819. }
  820. Converted["_UIGradient7"].Rotation = -107
  821. Converted["_UIGradient7"].Parent = Converted["_UIStroke10"]
  822.  
  823. Converted["_DialogTitle"].Font = Enum.Font.Unknown
  824. Converted["_DialogTitle"].TextColor3 = Color3.fromRGB(255, 255, 255)
  825. Converted["_DialogTitle"].TextScaled = true
  826. Converted["_DialogTitle"].TextSize = 14
  827. Converted["_DialogTitle"].TextWrapped = true
  828. Converted["_DialogTitle"].TextXAlignment = Enum.TextXAlignment.Right
  829. Converted["_DialogTitle"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  830. Converted["_DialogTitle"].BackgroundTransparency = 1
  831. Converted["_DialogTitle"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  832. Converted["_DialogTitle"].BorderSizePixel = 0
  833. Converted["_DialogTitle"].Size = UDim2.new(0.997416437, 0, 0.16459392, 0)
  834. Converted["_DialogTitle"].Name = "DialogTitle"
  835. Converted["_DialogTitle"].Parent = Converted["_Dialog"]
  836.  
  837. Converted["_UIListLayout3"].Padding = UDim.new(0, 3)
  838. Converted["_UIListLayout3"].SortOrder = Enum.SortOrder.LayoutOrder
  839. Converted["_UIListLayout3"].Parent = Converted["_Dialog"]
  840.  
  841. Converted["_DialogDesc"].Font = Enum.Font.Unknown
  842. Converted["_DialogDesc"].TextColor3 = Color3.fromRGB(255, 255, 255)
  843. Converted["_DialogDesc"].TextScaled = true
  844. Converted["_DialogDesc"].TextSize = 14
  845. Converted["_DialogDesc"].TextWrapped = true
  846. Converted["_DialogDesc"].TextXAlignment = Enum.TextXAlignment.Left
  847. Converted["_DialogDesc"].TextYAlignment = Enum.TextYAlignment.Top
  848. Converted["_DialogDesc"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  849. Converted["_DialogDesc"].BackgroundTransparency = 1
  850. Converted["_DialogDesc"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  851. Converted["_DialogDesc"].BorderSizePixel = 0
  852. Converted["_DialogDesc"].Position = UDim2.new(0, 0, 0.187079012, 0)
  853. Converted["_DialogDesc"].Size = UDim2.new(0.997416437, 0, 0.604575336, 0)
  854. Converted["_DialogDesc"].Name = "DialogDesc"
  855. Converted["_DialogDesc"].Parent = Converted["_Dialog"]
  856.  
  857. Converted["_UITextSizeConstraint"].MaxTextSize = 20
  858. Converted["_UITextSizeConstraint"].MinTextSize = 5
  859. Converted["_UITextSizeConstraint"].Parent = Converted["_DialogDesc"]
  860.  
  861. Converted["_Options"].BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  862. Converted["_Options"].BackgroundTransparency = 1
  863. Converted["_Options"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  864. Converted["_Options"].BorderSizePixel = 0
  865. Converted["_Options"].Position = UDim2.new(0, 0, 0.82045126, 0)
  866. Converted["_Options"].Size = UDim2.new(0.997436285, 0, 0.241758227, 0)
  867. Converted["_Options"].Name = "Options"
  868. Converted["_Options"].Parent = Converted["_Dialog"]
  869.  
  870. Converted["_UIListLayout4"].Padding = UDim.new(0, 10)
  871. Converted["_UIListLayout4"].FillDirection = Enum.FillDirection.Horizontal
  872. Converted["_UIListLayout4"].HorizontalAlignment = Enum.HorizontalAlignment.Center
  873. Converted["_UIListLayout4"].SortOrder = Enum.SortOrder.LayoutOrder
  874. Converted["_UIListLayout4"].Parent = Converted["_Options"]
  875.  
  876. Converted["_OptionPlaceholder"].Font = Enum.Font.GothamBold
  877. Converted["_OptionPlaceholder"].RichText = true
  878. Converted["_OptionPlaceholder"].Text = "aaaaaaaaaaa"
  879. Converted["_OptionPlaceholder"].TextColor3 = Color3.fromRGB(255, 255, 255)
  880. Converted["_OptionPlaceholder"].TextScaled = true
  881. Converted["_OptionPlaceholder"].TextSize = 100
  882. Converted["_OptionPlaceholder"].TextWrapped = true
  883. Converted["_OptionPlaceholder"].BackgroundColor3 = Color3.fromRGB(36.00000165402889, 36.00000165402889, 36.00000165402889)
  884. Converted["_OptionPlaceholder"].BorderColor3 = Color3.fromRGB(0, 0, 0)
  885. Converted["_OptionPlaceholder"].BorderSizePixel = 0
  886. Converted["_OptionPlaceholder"].Size = UDim2.new(0.532000005, -5, 1.00899994, 0)
  887. Converted["_OptionPlaceholder"].Visible = false
  888. Converted["_OptionPlaceholder"].Name = "OptionPlaceholder"
  889. Converted["_OptionPlaceholder"].Parent = Converted["_Options"]
  890.  
  891. Converted["_UIPadding11"].PaddingBottom = UDim.new(0, 1)
  892. Converted["_UIPadding11"].PaddingLeft = UDim.new(0, 15)
  893. Converted["_UIPadding11"].PaddingRight = UDim.new(0, 15)
  894. Converted["_UIPadding11"].PaddingTop = UDim.new(0, 1)
  895. Converted["_UIPadding11"].Parent = Converted["_OptionPlaceholder"]
  896.  
  897. Converted["_UICorner16"].Parent = Converted["_OptionPlaceholder"]
  898.  
  899. Converted["_UIStroke11"].ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  900. Converted["_UIStroke11"].Color = Color3.fromRGB(255, 255, 255)
  901. Converted["_UIStroke11"].Thickness = 2
  902. Converted["_UIStroke11"].Parent = Converted["_OptionPlaceholder"]
  903.  
  904. Converted["_UIGradient8"].Color = ColorSequence.new{
  905. ColorSequenceKeypoint.new(0, Color3.fromRGB(111.00000098347664, 111.00000098347664, 111.00000098347664)),
  906. ColorSequenceKeypoint.new(0.6401384472846985, Color3.fromRGB(114.23875719308853, 114.23875719308853, 114.23875719308853)),
  907. ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))
  908. }
  909. Converted["_UIGradient8"].Rotation = -107
  910. Converted["_UIGradient8"].Parent = Converted["_UIStroke11"]
  911.  
  912. Converted["_OnSelect"].Name = "OnSelect"
  913. Converted["_OnSelect"].Parent = Converted["_Dialog"]
  914.  
  915. Converted["_UIScale2"].Parent = Converted["_Dialog"]
  916.  
  917. -- Fake Module Scripts:
  918.  
  919. local fake_module_scripts = {}
  920.  
  921. do -- Fake Module: StarterGui.BRX.FUNCTIONS
  922. local script = Instance.new("ModuleScript")
  923. script.Name = "FUNCTIONS"
  924. script.Parent = Converted["_BRX"]
  925. local function module_script()
  926. local FUNCTIONSmodule = {}
  927.  
  928. local ts = game:GetService("TweenService")
  929.  
  930. local ClickAndHold = {}
  931. ClickAndHold.__index = ClickAndHold
  932.  
  933. local UIS = game:GetService("UserInputService")
  934.  
  935. function ClickAndHold.new(textButton, holdTime)
  936. local self = setmetatable({}, ClickAndHold)
  937. self.textButton = textButton
  938. self.holdTime = holdTime or 0.5 -- Default to 0.5 seconds
  939. self.holdTask = nil -- Store the task for later cancellation
  940. self.Holded = Instance.new("BindableEvent")
  941.  
  942. self.textButton.MouseButton1Down:Connect(function()
  943. self.holdTask = task.spawn(function()
  944. task.wait(self.holdTime) -- Wait for the specified holdTime
  945. if self.holdTask then -- Check if task was cancelled
  946. self.Holded:Fire()
  947. end
  948. end)
  949. end)
  950.  
  951.  
  952. UIS.InputEnded:Connect(function(inp, _)
  953. if inp.UserInputType == Enum.UserInputType.MouseButton1 or Enum.UserInputType.Touch then
  954. if self.holdTask then
  955. coroutine.close(self.holdTask) -- Cancel the task if the button is released
  956. self.holdTask = nil
  957. end
  958. end
  959. end)
  960. --self.textButton.MouseButton1Up:Connect(function()
  961. -- if self.holdTask then
  962. -- coroutine.close(self.holdTask) -- Cancel the task if the button is released
  963. -- self.holdTask = nil
  964. -- end
  965. --end)
  966.  
  967. return self
  968. end
  969.  
  970.  
  971.  
  972. local function isUDim2OffScreen(position, size, screenGui)
  973. -- Get the absolute size of the ScreenGui
  974. local parentSize = screenGui.AbsoluteSize
  975.  
  976. -- Calculate the absolute position and size using UDim2 and parent size
  977. local absPosX = position.X.Scale * parentSize.X + position.X.Offset
  978. local absPosY = position.Y.Scale * parentSize.Y + position.Y.Offset
  979. local absSizeX = size.X.Scale * parentSize.X + size.X.Offset
  980. local absSizeY = size.Y.Scale * parentSize.Y + size.Y.Offset
  981.  
  982. -- Check if the GUI element defined by the UDim2 is off the screen
  983. local isOffLeft = absPosX + absSizeX <= 0
  984. local isOffRight = absPosX >= parentSize.X
  985. local isOffTop = absPosY + absSizeY <= 0
  986. local isOffBottom = absPosY >= parentSize.Y
  987.  
  988. return isOffLeft or isOffRight or isOffTop or isOffBottom
  989. end
  990.  
  991. local UDim2_new = UDim2.new
  992.  
  993. local UserInputService = game:GetService("UserInputService")
  994. local TweenService = game:GetService("TweenService")
  995.  
  996. ---- Variable to store the number of fingers on the screen
  997. --local fingersOnScreen = 0
  998.  
  999. ---- Event listener for when a touch starts
  1000. --UserInputService.TouchStarted:Connect(function(touch, processedByUI)
  1001. -- if not processedByUI then
  1002. -- fingersOnScreen = fingersOnScreen + 1
  1003. -- end
  1004. --end)
  1005.  
  1006. ---- Event listener for when a touch ends
  1007. --UserInputService.TouchEnded:Connect(function(touch, processedByUI)
  1008. -- if not processedByUI then
  1009. -- fingersOnScreen = fingersOnScreen - 1
  1010. -- end
  1011. --end)
  1012.  
  1013. ---- Initial count (in case there are touches already when the script starts)
  1014. --fingersOnScreen = 0
  1015.  
  1016.  
  1017. local DraggableObject = {}
  1018. DraggableObject.__index = DraggableObject
  1019.  
  1020. -- Sets up a new draggable object
  1021. function DraggableObject.new(Object, ToMove)
  1022. local self = {}
  1023. self.Object = Object
  1024. self.ToMove = ToMove
  1025. self.DragStarted = nil
  1026. self.DragEnded = nil
  1027. self.Dragged = nil
  1028. self.Dragging = false
  1029.  
  1030. setmetatable(self, DraggableObject)
  1031.  
  1032. return self
  1033. end
  1034.  
  1035. -- Enables dragging
  1036. function DraggableObject:Enable()
  1037. local object = self.Object
  1038. local toMove = self.ToMove
  1039. local dragInput = nil
  1040. local dragStart = nil
  1041. local startPos = nil
  1042. local preparingToDrag = false
  1043.  
  1044. -- Updates the element
  1045. local function update(input)
  1046. local delta = input.Position - dragStart
  1047. local newPosition = UDim2_new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  1048. if isUDim2OffScreen(newPosition, object.Size, object:FindFirstAncestorWhichIsA("ScreenGui")) then
  1049. warn("UDim2 is offscreen.")
  1050. return newPosition
  1051. end
  1052. local tween = TweenService:Create(toMove and toMove or object, TweenInfo.new(0.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out), {
  1053. Position = newPosition
  1054. }):Play()
  1055.  
  1056. return newPosition
  1057. end
  1058.  
  1059. self.InputBegan = object.InputBegan:Connect(function(input)
  1060. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  1061. preparingToDrag = true
  1062. --[[if self.DragStarted then
  1063. self.DragStarted()
  1064. end
  1065.  
  1066. dragging = true
  1067. dragStart = input.Position
  1068. startPos = Element.Position
  1069. --]]
  1070.  
  1071. local connection
  1072. connection = input.Changed:Connect(function()
  1073. if input.UserInputState == Enum.UserInputState.End and (self.Dragging or preparingToDrag) then
  1074. self.Dragging = false
  1075. connection:Disconnect()
  1076.  
  1077. if self.DragEnded and not preparingToDrag then
  1078. self.DragEnded()
  1079. end
  1080.  
  1081. preparingToDrag = false
  1082. end
  1083. end)
  1084. end
  1085. end)
  1086.  
  1087. self.InputChanged = object.InputChanged:Connect(function(input)
  1088. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  1089. dragInput = input
  1090. end
  1091. end)
  1092.  
  1093. self.InputChanged2 = UserInputService.InputChanged:Connect(function(input)
  1094. if object.Parent == nil then
  1095. self:Disable()
  1096. return
  1097. end
  1098.  
  1099. if preparingToDrag then
  1100. preparingToDrag = false
  1101.  
  1102. if self.DragStarted then
  1103. self.DragStarted()
  1104. end
  1105.  
  1106. self.Dragging = true
  1107. dragStart = input.Position
  1108. if toMove then
  1109. startPos = toMove.Position
  1110. else
  1111. startPos = object.Position
  1112. end
  1113. end
  1114.  
  1115. if input == dragInput and self.Dragging then
  1116. local newPosition = update(input)
  1117.  
  1118. if self.Dragged then
  1119. self.Dragged(newPosition)
  1120. end
  1121. end
  1122. end)
  1123. end
  1124.  
  1125. -- Disables dragging
  1126. function DraggableObject:Disable()
  1127. self.InputBegan:Disconnect()
  1128. self.InputChanged:Disconnect()
  1129. self.InputChanged2:Disconnect()
  1130.  
  1131. if self.Dragging then
  1132. self.Dragging = false
  1133.  
  1134. if self.DragEnded then
  1135. self.DragEnded()
  1136. end
  1137. end
  1138. end
  1139.  
  1140.  
  1141.  
  1142. local States = {}
  1143. AREA = script.Parent.Menu.Area.Area
  1144. AREACONTAINER = script.Parent.Menu.Area
  1145. local function calculateWidth(n)
  1146. if n <= 3 then
  1147. return 30
  1148. else
  1149. local base = 30
  1150. local additional = math.floor((n - 3) / 3) * 30
  1151. return base + additional
  1152. end
  1153. end
  1154.  
  1155. local floatingButtonInvisibility = {}
  1156. local floatingButtonDraggers = {}
  1157. local floatingButtonKeybinds = {}
  1158. local floatingButtonConnections = {}
  1159.  
  1160. local selected = Instance.new("ObjectValue")
  1161.  
  1162. selected.Parent = script.Parent
  1163. selected.Name = "Selected"
  1164.  
  1165. function FUNCTIONSmodule.notification(s)
  1166. task.spawn(function()
  1167. local notif = script.Parent.Notifications.Placeholder:Clone()
  1168. notif.Parent = script.Parent.Notifications
  1169. notif.Visible = true
  1170. notif.Name = "notification"
  1171. notif.TextLabel.Text = s
  1172. ts:Create(notif, TweenInfo.new(0.4, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {
  1173. Size = UDim2.new(1,0,0,math.clamp(#s, 40, 300))
  1174. }):Play()
  1175. task.wait(3)
  1176. local dismiss = ts:Create(notif, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {
  1177. Size = UDim2.new(0,0,0,0)
  1178. })
  1179. dismiss:Play()
  1180. dismiss.Completed:Wait()
  1181. notif:Destroy()
  1182. end)
  1183. end
  1184.  
  1185. function loader(module)
  1186. --local unloadtween = ts:Create(AREA, TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {
  1187. -- Position = UDim2.fromScale(1.55, 0.606)
  1188. --})
  1189.  
  1190. --unloadtween:Play()
  1191. --unloadtween.Completed:Wait()
  1192.  
  1193.  
  1194. AREA:ClearAllChildren()
  1195. local listlayout = Instance.new("UIListLayout")
  1196. listlayout.Parent = AREA
  1197. listlayout.Padding = UDim.new(0, 10)
  1198. listlayout.FillDirection = Enum.FillDirection.Vertical
  1199. listlayout.SortOrder = Enum.SortOrder.LayoutOrder
  1200. listlayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  1201. for _, item in ipairs(module) do
  1202. if item["Type"] == "Text" then
  1203.  
  1204. local text = Instance.new("TextLabel")
  1205. text.Parent = AREA
  1206.  
  1207. text.BackgroundTransparency = 1
  1208. text.Text = item["Args"][1]
  1209. text.TextScaled = true
  1210. text.TextColor3 = Color3.fromRGB(255,255,255)
  1211. text.Font = Enum.Font.GothamBold
  1212. text.Size = UDim2.new(1,0,0,20)
  1213. text.TextXAlignment = item["Args"][2] == "center" and Enum.TextXAlignment.Center or Enum.TextXAlignment.Left
  1214. text.RichText = true
  1215.  
  1216.  
  1217. elseif item["Type"] == "Button" then
  1218.  
  1219. local button = Instance.new("TextButton")
  1220. button.Parent = AREA
  1221.  
  1222. button.BackgroundColor3 = Color3.fromRGB(22, 22, 22)
  1223. button.Text = item["Args"][1]
  1224. button.TextScaled = true
  1225. button.TextColor3 = Color3.fromRGB(255,255,255)
  1226. button.Font = Enum.Font.GothamBold
  1227. button.Size = UDim2.new(1,0,0,25)
  1228.  
  1229. local padding = Instance.new("UIPadding")
  1230. padding.Parent = button
  1231.  
  1232. padding.PaddingTop = UDim.new(0, 5)
  1233. padding.PaddingBottom = UDim.new(0, 5)
  1234.  
  1235.  
  1236. Instance.new("UICorner", button)
  1237.  
  1238. local hold = false
  1239.  
  1240. button.MouseButton1Click:Connect(function()
  1241. item["Args"][2](button)
  1242. end)
  1243.  
  1244. button.MouseButton1Down:Connect(function()
  1245. hold = true
  1246. task.spawn(function()
  1247. task.wait(0.5)
  1248. if not hold then return end
  1249. if not _G.BRX.FloatingButtons:FindFirstChild(item["Args"][1]) then
  1250.  
  1251.  
  1252. local newFloatingButton = _G.BRX.FloatingButton:Clone()
  1253. newFloatingButton.Parent = _G.BRX.FloatingButtons
  1254. newFloatingButton.Name = item["Args"][1]
  1255. newFloatingButton.Text = item["Args"][1]
  1256. newFloatingButton.Visible = true
  1257.  
  1258. newFloatingButton.MouseButton1Click:Connect(function()
  1259. item["Args"][2](newFloatingButton)
  1260. end)
  1261.  
  1262. newFloatingButton.Size = UDim2.fromOffset(0, 0)
  1263. ts:Create(newFloatingButton, TweenInfo.new(1, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out), {
  1264. Size = UDim2.fromOffset(200, 50)
  1265. }):Play()
  1266.  
  1267. floatingButtonDraggers[item["Args"][1]] = DraggableObject.new(newFloatingButton)
  1268. floatingButtonDraggers[item["Args"][1]]:Enable()
  1269.  
  1270. local holder = ClickAndHold.new(newFloatingButton)
  1271. holder.Holded.Event:Connect(function()
  1272. if floatingButtonDraggers[item["Args"][1]].Dragging then return end
  1273. if not floatingButtonInvisibility[item["Args"][1]] then
  1274. floatingButtonInvisibility[item["Args"][1]] = true
  1275. ts:Create(newFloatingButton, TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
  1276. BackgroundTransparency = 1,
  1277. TextTransparency = 1
  1278. }):Play()
  1279. ts:Create(newFloatingButton.UIStroke, TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
  1280. Transparency = 0.7
  1281. }):Play()
  1282. else
  1283. floatingButtonInvisibility[item["Args"][1]] = false
  1284. ts:Create(newFloatingButton, TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
  1285. BackgroundTransparency = 0,
  1286. TextTransparency = 0
  1287. }):Play()
  1288. ts:Create(newFloatingButton.UIStroke, TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
  1289. Transparency = 0
  1290. }):Play()
  1291. end
  1292. end)
  1293.  
  1294.  
  1295. local UserInputService = game:GetService("UserInputService")
  1296.  
  1297. --local gui = newFloatingButton
  1298.  
  1299. --local dragging
  1300. --local dragInput
  1301. --local dragStart
  1302. --local startPos
  1303.  
  1304. --local function update(input)
  1305. -- local delta = input.Position - dragStart
  1306. -- ts:Create(gui, TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out), {
  1307. -- Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  1308. -- }):Play()
  1309. --end
  1310.  
  1311. newFloatingButton.InputBegan:Connect(function(input)
  1312. if input.UserInputType == Enum.UserInputType.MouseButton2 then
  1313. FUNCTIONSmodule.notification("Press a key to bind " .. item["Args"][1] .. " to...")
  1314. local keytobind
  1315. local result
  1316. repeat
  1317. result = UserInputService.InputBegan:Wait()
  1318. if result.UserInputType == Enum.UserInputType.Keyboard then keytobind = result.KeyCode end
  1319. until keytobind
  1320.  
  1321. FUNCTIONSmodule.notification(item["Args"][1] .. " binded to key " .. result.KeyCode.Name .. "!")
  1322. task.wait(0.1) floatingButtonKeybinds[item["Args"][1]] = keytobind
  1323. end
  1324. end)
  1325.  
  1326. --gui.InputChanged:Connect(function(input)
  1327. -- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  1328. -- dragInput = input
  1329. -- end
  1330. --end)
  1331.  
  1332. --UserInputService.InputChanged:Connect(function(input)
  1333. -- if input == dragInput and dragging then
  1334. -- update(input)
  1335. -- end
  1336. --end)
  1337.  
  1338. local uis = game:GetService("UserInputService")
  1339.  
  1340. if uis.KeyboardEnabled and uis.MouseEnabled then
  1341. floatingButtonConnections[item["Args"][1]] = uis.InputBegan:Connect(function(inp, processed)
  1342. if processed then return end
  1343. if inp.KeyCode == floatingButtonKeybinds[item["Args"][1]] then
  1344. item["Args"][2](newFloatingButton)
  1345. end
  1346. end)
  1347. end
  1348.  
  1349. else
  1350. floatingButtonKeybinds[item["Args"][1]] = nil
  1351. if floatingButtonConnections[item["Args"][1]] then
  1352. floatingButtonConnections[item["Args"][1]]:Disconnect()
  1353. end
  1354. _G.BRX.FloatingButtons:FindFirstChild(item["Args"][1]):Destroy()
  1355. end
  1356. end)
  1357. end)
  1358.  
  1359. button.MouseButton1Up:Connect(function()
  1360. hold = false
  1361. end)
  1362. button.MouseLeave:Connect(function()
  1363. hold = false
  1364. end)
  1365. elseif item["Type"] == "ButtonGrid" then
  1366.  
  1367.  
  1368.  
  1369.  
  1370. local frame = Instance.new("Frame")
  1371. frame.Parent = AREA
  1372. frame.Size = UDim2.new(1, 0, 0, calculateWidth(#item["Args"][2]))
  1373. frame.BackgroundTransparency = 1
  1374.  
  1375.  
  1376. local gridlayout = Instance.new("UIGridLayout")
  1377. gridlayout.Parent = frame
  1378. gridlayout.CellSize = UDim2.new((1 / item["Args"][1]) - 0.03, 0, 0, 30) -- remove 0.03 because if not it would wrap on its own lol
  1379.  
  1380. --print("------")
  1381. --print(item["Args"][2])
  1382. --print(States)
  1383. for buttonname, args in item["Args"][2] do
  1384. local button = Instance.new("TextButton")
  1385. button.Parent = frame
  1386.  
  1387. --print(args)
  1388. button.BackgroundColor3 = Color3.fromRGB(22, 22, 22)
  1389. if States[buttonname .. module.Name] then
  1390. button.BackgroundColor3 = Color3.fromRGB(0, 200, 0)
  1391. end
  1392. button.Text = string.gsub(buttonname, "_", " ")
  1393. button.TextScaled = true
  1394. button.TextColor3 = Color3.fromRGB(255,255,255)
  1395. button.Font = Enum.Font.GothamBold
  1396.  
  1397. local padding = Instance.new("UIPadding")
  1398. padding.Parent = button
  1399.  
  1400. padding.PaddingTop = UDim.new(0, 5)
  1401. padding.PaddingBottom = UDim.new(0, 5)
  1402.  
  1403. Instance.new("UICorner", button)
  1404.  
  1405. button.MouseButton1Click:Connect(function()
  1406. if item["Toggleable"] then
  1407. item["Args"][2][buttonname](button)
  1408. --print(States[buttonname .. module.Name])
  1409. if States[buttonname .. module.Name] then
  1410. ts:Create(button, TweenInfo.new(0.3), {
  1411. BackgroundColor3 = Color3.fromRGB(22, 22, 22)
  1412. }):Play()
  1413. States[buttonname .. module.Name] = false
  1414. else
  1415. ts:Create(button, TweenInfo.new(0.3), {
  1416. BackgroundColor3 = Color3.fromRGB(0, 200, 0)
  1417. }):Play()
  1418. States[buttonname .. module.Name] = true
  1419. end
  1420. else
  1421. item["Args"][2][buttonname](button)
  1422. end
  1423. end)
  1424. end
  1425.  
  1426.  
  1427. elseif item["Type"] == "Input" then
  1428. local cloneinput = _G.BRX.TextBoxPlaceholder:Clone()
  1429. cloneinput.Parent = AREA
  1430. cloneinput.Visible = true
  1431.  
  1432. cloneinput.TextBox.PlaceholderText = item["Args"][1]
  1433. cloneinput.TextButton.Text = item["Args"][2]
  1434.  
  1435. cloneinput.TextButton.MouseButton1Click:Connect(function()
  1436. item["Args"][3](cloneinput.TextButton, cloneinput.TextBox.Text)
  1437. end)
  1438. end
  1439. end
  1440. AREACONTAINER.Position = UDim2.fromScale(0.76, 0.606)
  1441. ts:Create(AREACONTAINER, TweenInfo.new(0.6, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
  1442. Position = UDim2.fromScale(0.66, 0.606)
  1443. }):Play()
  1444. end
  1445.  
  1446.  
  1447.  
  1448. function FUNCTIONSmodule.refreshlist()
  1449. for _, v in ipairs(script.Parent.Menu.List.ScrollingFrame:GetChildren()) do
  1450. if v:IsA("TextButton") then
  1451. v:Destroy()
  1452. end
  1453. end
  1454. for modulei, module in ipairs(_G.Modules) do
  1455. local success, err = pcall(function()
  1456. local listbutton = _G.BRX.ListButton:Clone()
  1457. listbutton.Parent = script.Parent.Menu.List.ScrollingFrame
  1458. listbutton.Name = module.Name
  1459. listbutton.Text = module.Name
  1460. listbutton.Visible = true
  1461.  
  1462. listbutton.MouseButton1Click:Connect(function()
  1463.  
  1464. if selected.Value then
  1465. ts:Create(selected.Value, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  1466. BackgroundColor3 = Color3.fromRGB(49, 49, 49),
  1467. TextColor3 = Color3.fromRGB(255,255,255)
  1468. }):Play()
  1469. end
  1470.  
  1471. selected.Value = listbutton
  1472.  
  1473. ts:Create(selected.Value, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  1474. BackgroundColor3 = Color3.fromRGB(255,255,255),
  1475. TextColor3 = Color3.fromRGB(0,0,0)
  1476. }):Play()
  1477.  
  1478. loader(_G.Modules[modulei])
  1479. end)
  1480.  
  1481.  
  1482.  
  1483. listbutton.MouseButton1Down:Connect(function()
  1484. ts:Create(listbutton, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  1485. Size = UDim2.new(1,-10,0, 40)
  1486. }):Play()
  1487. end)
  1488.  
  1489. listbutton.MouseButton1Up:Connect(function()
  1490. ts:Create(listbutton, TweenInfo.new(1.2, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out), {
  1491. Size = UDim2.new(1,0,0,50),
  1492.  
  1493. }):Play()
  1494. end)
  1495.  
  1496. listbutton.MouseLeave:Connect(function()
  1497. ts:Create(listbutton, TweenInfo.new(0.7, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  1498. Size = UDim2.new(1,0,0,50),
  1499.  
  1500. }):Play()
  1501. end)
  1502.  
  1503. end)
  1504. if not success then
  1505. warn("[BRX] Error while requiring " .. module.Name .. "!")
  1506. warn(err)
  1507. end
  1508. end
  1509. end
  1510.  
  1511. function FUNCTIONSmodule.dialog(title, description, buttons)
  1512. local dialog = script.Parent.Dialog
  1513. dialog.DialogTitle.Text = title
  1514. dialog.DialogDesc.Text = description
  1515.  
  1516. for _,v in ipairs(dialog.Options:GetChildren()) do
  1517. if v:IsA("TextButton") and v.Name ~= "OptionPlaceholder" then v:Destroy() end
  1518. end
  1519. for _, button in buttons do
  1520. local newButton = dialog.Options.OptionPlaceholder:Clone()
  1521.  
  1522. newButton.Visible = true
  1523. newButton.Name = button
  1524. newButton.Text = button
  1525. newButton.Parent = dialog.Options
  1526. newButton.MouseButton1Click:Connect(function()
  1527. newButton.Parent.Parent.OnSelect:Fire(newButton.Name)
  1528. end)
  1529. end
  1530.  
  1531. ts:Create(dialog, TweenInfo.new(1.1, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out),{
  1532. Size = UDim2.fromOffset(313, 147)
  1533. }):Play()
  1534.  
  1535. ts:Create(dialog.UIScale, TweenInfo.new(0.7, Enum.EasingStyle.Back, Enum.EasingDirection.Out),{
  1536. Scale = 1
  1537. }):Play()
  1538. end
  1539.  
  1540. function FUNCTIONSmodule.closedialog()
  1541. local dialog = script.Parent.Dialog
  1542. ts:Create(dialog, TweenInfo.new(1.1, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out),{
  1543. Size = UDim2.fromOffset(0, 147)
  1544. }):Play()
  1545.  
  1546. ts:Create(dialog.UIScale, TweenInfo.new(0.7, Enum.EasingStyle.Back, Enum.EasingDirection.Out),{
  1547. Scale = 0
  1548. }):Play()
  1549. end
  1550.  
  1551. function FUNCTIONSmodule.waitfordialog()
  1552. return script.Parent.Dialog.OnSelect.Event:Wait()
  1553. end
  1554.  
  1555. return FUNCTIONSmodule
  1556.  
  1557. end
  1558. fake_module_scripts[script] = module_script
  1559. end
  1560. do -- Fake Module: StarterGui.BRX.DraggableObject
  1561. local script = Instance.new("ModuleScript")
  1562. script.Name = "DraggableObject"
  1563. script.Parent = Converted["_BRX"]
  1564. local function module_script()
  1565. --[[
  1566. @Author: Spynaz
  1567. @Description: Enables dragging on GuiObjects. Supports both mouse and touch.
  1568.  
  1569. For instructions on how to use this module, go to this link:
  1570. https://devforum.roblox.com/t/simple-module-for-creating-draggable-gui-elements/230678
  1571. --]]
  1572.  
  1573. local function isUDim2OffScreen(position, size, screenGui)
  1574. -- Get the absolute size of the ScreenGui
  1575. local parentSize = screenGui.AbsoluteSize
  1576.  
  1577. -- Calculate the absolute position and size using UDim2 and parent size
  1578. local absPosX = position.X.Scale * parentSize.X + position.X.Offset
  1579. local absPosY = position.Y.Scale * parentSize.Y + position.Y.Offset
  1580. local absSizeX = size.X.Scale * parentSize.X + size.X.Offset
  1581. local absSizeY = size.Y.Scale * parentSize.Y + size.Y.Offset
  1582.  
  1583. -- Check if the GUI element defined by the UDim2 is off the screen
  1584. local isOffLeft = absPosX + absSizeX <= 0
  1585. local isOffRight = absPosX >= parentSize.X
  1586. local isOffTop = absPosY + absSizeY <= 0
  1587. local isOffBottom = absPosY >= parentSize.Y
  1588.  
  1589. return isOffLeft or isOffRight or isOffTop or isOffBottom
  1590. end
  1591.  
  1592. local UDim2_new = UDim2.new
  1593.  
  1594. local UserInputService = game:GetService("UserInputService")
  1595. local TweenService = game:GetService("TweenService")
  1596.  
  1597. ---- Variable to store the number of fingers on the screen
  1598. --local fingersOnScreen = 0
  1599.  
  1600. ---- Event listener for when a touch starts
  1601. --UserInputService.TouchStarted:Connect(function(touch, processedByUI)
  1602. -- if not processedByUI then
  1603. -- fingersOnScreen = fingersOnScreen + 1
  1604. -- end
  1605. --end)
  1606.  
  1607. ---- Event listener for when a touch ends
  1608. --UserInputService.TouchEnded:Connect(function(touch, processedByUI)
  1609. -- if not processedByUI then
  1610. -- fingersOnScreen = fingersOnScreen - 1
  1611. -- end
  1612. --end)
  1613.  
  1614. ---- Initial count (in case there are touches already when the script starts)
  1615. --fingersOnScreen = 0
  1616.  
  1617.  
  1618. local DraggableObject = {}
  1619. DraggableObject.__index = DraggableObject
  1620.  
  1621. -- Sets up a new draggable object
  1622. function DraggableObject.new(Object, ToMove)
  1623. local self = {}
  1624. self.Object = Object
  1625. self.ToMove = ToMove
  1626. self.DragStarted = nil
  1627. self.DragEnded = nil
  1628. self.Dragged = nil
  1629. self.Dragging = false
  1630.  
  1631. setmetatable(self, DraggableObject)
  1632.  
  1633. return self
  1634. end
  1635.  
  1636. -- Enables dragging
  1637. function DraggableObject:Enable()
  1638. local object = self.Object
  1639. local toMove = self.ToMove
  1640. local dragInput = nil
  1641. local dragStart = nil
  1642. local startPos = nil
  1643. local preparingToDrag = false
  1644.  
  1645. -- Updates the element
  1646. local function update(input)
  1647. local delta = input.Position - dragStart
  1648. local newPosition = UDim2_new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  1649. if isUDim2OffScreen(newPosition, object.Size, object:FindFirstAncestorWhichIsA("ScreenGui")) then
  1650. warn("UDim2 is offscreen.")
  1651. return newPosition
  1652. end
  1653. local tween = TweenService:Create(toMove and toMove or object, TweenInfo.new(0.5, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out), {
  1654. Position = newPosition
  1655. }):Play()
  1656.  
  1657. return newPosition
  1658. end
  1659.  
  1660. self.InputBegan = object.InputBegan:Connect(function(input)
  1661. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  1662. preparingToDrag = true
  1663. --[[if self.DragStarted then
  1664. self.DragStarted()
  1665. end
  1666.  
  1667. dragging = true
  1668. dragStart = input.Position
  1669. startPos = Element.Position
  1670. --]]
  1671.  
  1672. local connection
  1673. connection = input.Changed:Connect(function()
  1674. if input.UserInputState == Enum.UserInputState.End and (self.Dragging or preparingToDrag) then
  1675. self.Dragging = false
  1676. connection:Disconnect()
  1677.  
  1678. if self.DragEnded and not preparingToDrag then
  1679. self.DragEnded()
  1680. end
  1681.  
  1682. preparingToDrag = false
  1683. end
  1684. end)
  1685. end
  1686. end)
  1687.  
  1688. self.InputChanged = object.InputChanged:Connect(function(input)
  1689. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  1690. dragInput = input
  1691. end
  1692. end)
  1693.  
  1694. self.InputChanged2 = UserInputService.InputChanged:Connect(function(input)
  1695. if object.Parent == nil then
  1696. self:Disable()
  1697. return
  1698. end
  1699.  
  1700. if preparingToDrag then
  1701. preparingToDrag = false
  1702.  
  1703. if self.DragStarted then
  1704. self.DragStarted()
  1705. end
  1706.  
  1707. self.Dragging = true
  1708. dragStart = input.Position
  1709. if toMove then
  1710. startPos = toMove.Position
  1711. else
  1712. startPos = object.Position
  1713. end
  1714. end
  1715.  
  1716. if input == dragInput and self.Dragging then
  1717. local newPosition = update(input)
  1718.  
  1719. if self.Dragged then
  1720. self.Dragged(newPosition)
  1721. end
  1722. end
  1723. end)
  1724. end
  1725.  
  1726. -- Disables dragging
  1727. function DraggableObject:Disable()
  1728. self.InputBegan:Disconnect()
  1729. self.InputChanged:Disconnect()
  1730. self.InputChanged2:Disconnect()
  1731.  
  1732. if self.Dragging then
  1733. self.Dragging = false
  1734.  
  1735. if self.DragEnded then
  1736. self.DragEnded()
  1737. end
  1738. end
  1739. end
  1740.  
  1741. return DraggableObject
  1742.  
  1743. end
  1744. fake_module_scripts[script] = module_script
  1745. end
  1746. do -- Fake Module: StarterGui.BRX.ClickAndHold
  1747. local script = Instance.new("ModuleScript")
  1748. script.Name = "ClickAndHold"
  1749. script.Parent = Converted["_BRX"]
  1750. local function module_script()
  1751. local ClickAndHold = {}
  1752. ClickAndHold.__index = ClickAndHold
  1753.  
  1754. local UIS = game:GetService("UserInputService")
  1755.  
  1756. function ClickAndHold.new(textButton, holdTime)
  1757. local self = setmetatable({}, ClickAndHold)
  1758. self.textButton = textButton
  1759. self.holdTime = holdTime or 0.5 -- Default to 0.5 seconds
  1760. self.holdTask = nil -- Store the task for later cancellation
  1761. self.Holded = Instance.new("BindableEvent")
  1762.  
  1763. self.textButton.MouseButton1Down:Connect(function()
  1764. self.holdTask = task.spawn(function()
  1765. task.wait(self.holdTime) -- Wait for the specified holdTime
  1766. if self.holdTask then -- Check if task was cancelled
  1767. self.Holded:Fire()
  1768. end
  1769. end)
  1770. end)
  1771.  
  1772.  
  1773. UIS.InputEnded:Connect(function(inp, _)
  1774. if inp.UserInputType == Enum.UserInputType.MouseButton1 or Enum.UserInputType.Touch then
  1775. if self.holdTask then
  1776. coroutine.close(self.holdTask) -- Cancel the task if the button is released
  1777. self.holdTask = nil
  1778. end
  1779. end
  1780. end)
  1781. --self.textButton.MouseButton1Up:Connect(function()
  1782. -- if self.holdTask then
  1783. -- coroutine.close(self.holdTask) -- Cancel the task if the button is released
  1784. -- self.holdTask = nil
  1785. -- end
  1786. --end)
  1787.  
  1788. return self
  1789. end
  1790.  
  1791. return ClickAndHold
  1792.  
  1793. end
  1794. fake_module_scripts[script] = module_script
  1795. end
  1796.  
  1797. -- Fake Local Scripts:
  1798.  
  1799. local function IFCIG_fake_script() -- Fake Script: StarterGui.BRX.Open.InitOpen
  1800. local script = Instance.new("LocalScript")
  1801. script.Name = "InitOpen"
  1802. script.Parent = Converted["_Open"]
  1803. local req = require
  1804. local require = function(obj)
  1805. local fake = fake_module_scripts[obj]
  1806. if fake then
  1807. return fake()
  1808. end
  1809. return req(obj)
  1810. end
  1811.  
  1812. local ts = game:GetService("TweenService")
  1813.  
  1814.  
  1815. local stroke = Instance.new("UIStroke")
  1816. stroke.Parent = script.Parent
  1817. stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  1818. stroke.Color = Color3.fromRGB(255,255,255)
  1819.  
  1820.  
  1821. script.Parent.Position = UDim2.fromScale(0.5, -1)
  1822. ts:Create(script.Parent, TweenInfo.new(1.5, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out), {
  1823. Position = UDim2.fromScale(0.5, 0.063)
  1824. }):Play()
  1825.  
  1826.  
  1827. task.wait(5)
  1828. ts:Create(script.Parent, TweenInfo.new(5), {
  1829. TextTransparency = 1
  1830. }):Play()
  1831. --ts:Create(stroke, TweenInfo.new(5), {
  1832. -- Transparency = 1
  1833. --}):Play()
  1834. end
  1835. local function HHXHJDN_fake_script() -- Fake Script: StarterGui.BRX.Open.OnClick
  1836. local script = Instance.new("LocalScript")
  1837. script.Name = "OnClick"
  1838. script.Parent = Converted["_Open"]
  1839. local req = require
  1840. local require = function(obj)
  1841. local fake = fake_module_scripts[obj]
  1842. if fake then
  1843. return fake()
  1844. end
  1845. return req(obj)
  1846. end
  1847.  
  1848. local ts = game:GetService("TweenService")
  1849. repeat task.wait() until _G.BRX
  1850. ts:Create(_G.BRX.Menu, TweenInfo.new(0.7, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
  1851. {Position = UDim2.fromScale(0.499, 0.041), Size = UDim2.fromOffset(441, 268)}
  1852. ):Play()
  1853. local clickCount = 0
  1854. local lastClickTime = tick()
  1855. script.Parent.MouseButton1Click:Connect(function()
  1856. local currentTime = tick()
  1857.  
  1858. script.Parent.TextTransparency = 1
  1859. ts:Create(script.Parent, TweenInfo.new(1),
  1860. {TextTransparency = 1}
  1861. ):Play()
  1862.  
  1863. -- Check if the time since the last click is within a certain threshold
  1864. if currentTime - lastClickTime < 0.5 then
  1865. clickCount = clickCount + 1
  1866. else
  1867.  
  1868. clickCount = 1
  1869. end
  1870.  
  1871. lastClickTime = currentTime
  1872.  
  1873. if clickCount == 3 then
  1874. -- Triple-click detected
  1875.  
  1876. ts:Create(_G.BRX.Menu, TweenInfo.new(0.7, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
  1877. {Position = UDim2.fromScale(0.499, 0.041), Size = UDim2.fromOffset(441, 268)}
  1878. ):Play()
  1879. end
  1880. end)
  1881.  
  1882. end
  1883. local function BWHXI_fake_script() -- Fake Script: StarterGui.BRX.Open.Resizer
  1884. local script = Instance.new("LocalScript")
  1885. script.Name = "Resizer"
  1886. script.Parent = Converted["_Open"]
  1887. local req = require
  1888. local require = function(obj)
  1889. local fake = fake_module_scripts[obj]
  1890. if fake then
  1891. return fake()
  1892. end
  1893. return req(obj)
  1894. end
  1895.  
  1896. local guiObject = script.Parent
  1897. local userInputService = game:GetService("UserInputService")
  1898. local ts = game:GetService("TweenService")
  1899.  
  1900. local resizing = false
  1901. local initialMousePosition = nil
  1902. local initialSize = nil
  1903. local touchCount = 0
  1904.  
  1905. -- Define the minimum width (50 pixels) and maximum width (initial width)
  1906. local MIN_WIDTH = 100
  1907. local MAX_WIDTH = guiObject.Size.X.Offset
  1908.  
  1909. local function onInputBegan(input, gameProcessed)
  1910. if input.UserInputType == Enum.UserInputType.Touch then
  1911. touchCount = touchCount + 1
  1912. end
  1913.  
  1914. if touchCount == 2 then
  1915. resizing = false
  1916. return
  1917. end
  1918.  
  1919. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  1920. resizing = true
  1921. initialMousePosition = input.Position
  1922. initialSize = guiObject.Size
  1923. end
  1924. end
  1925.  
  1926. local function onInputEnded(input, gameProcessed)
  1927. if input.UserInputType == Enum.UserInputType.Touch then
  1928. touchCount = touchCount - 1
  1929. end
  1930.  
  1931. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  1932. resizing = false
  1933. initialMousePosition = nil
  1934. initialSize = nil
  1935. --ts:Create(guiObject.UIStroke, TweenInfo.new(1.2, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out), {
  1936. -- Transparency = 1
  1937. --}):Play()
  1938. end
  1939. end
  1940.  
  1941. local function onInputChanged(input, gameProcessed)
  1942. if touchCount == 2 then
  1943. return
  1944. end
  1945.  
  1946. if resizing and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
  1947. local delta = input.Position - initialMousePosition
  1948. if math.abs(delta.X) > 50 then
  1949. local newWidth = math.clamp(initialSize.X.Offset + delta.X, MIN_WIDTH, MAX_WIDTH)
  1950. local newSize = UDim2.new(
  1951. initialSize.X.Scale,
  1952. newWidth,
  1953. initialSize.Y.Scale,
  1954. initialSize.Y.Offset
  1955. )
  1956. ts:Create(guiObject, TweenInfo.new(0.8, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out), {
  1957. Size = newSize
  1958. }):Play()
  1959. --guiObject.UIStroke.Transparency = 0
  1960. end
  1961. end
  1962. end
  1963.  
  1964. guiObject.InputBegan:Connect(onInputBegan)
  1965. guiObject.InputEnded:Connect(onInputEnded)
  1966. userInputService.InputChanged:Connect(onInputChanged)
  1967.  
  1968. end
  1969. local function HQJY_fake_script() -- Fake Script: StarterGui.BRX.Init
  1970. local script = Instance.new("LocalScript")
  1971. script.Name = "Init"
  1972. script.Parent = Converted["_BRX"]
  1973. local req = require
  1974. local require = function(obj)
  1975. local fake = fake_module_scripts[obj]
  1976. if fake then
  1977. return fake()
  1978. end
  1979. return req(obj)
  1980. end
  1981.  
  1982. local ts = game:GetService("TweenService")
  1983.  
  1984.  
  1985. _G.BRX = script.Parent
  1986.  
  1987.  
  1988.  
  1989. script.Parent.SafeAreaCompatibility = Enum.SafeAreaCompatibility.None
  1990. script.Parent.ScreenInsets = Enum.ScreenInsets.None
  1991. script.Parent.ResetOnSpawn = false
  1992.  
  1993.  
  1994. script.Parent.Menu.Position = UDim2.fromScale(0.5, 0)
  1995. script.Parent.Menu.Size = UDim2.fromOffset(441,0)
  1996.  
  1997. script.Parent.Dialog.Size = UDim2.fromOffset(0, 147)
  1998. script.Parent.Dialog.UIScale.Scale = 0
  1999.  
  2000. _G.Modules = {}
  2001.  
  2002. --require(script.Parent.FUNCTIONS).notification("Thanks for using BRX! To use this hub, triple-click/tap the top region of your screen.")
  2003. require(script.Parent.FUNCTIONS).notification("v1.12\n- Hub GUI redesign\n- New features (dragging menu, make invisible buttons, etc)\n- Hiding the GUI\n- Better (or not) auto-shooting\n- Knife throw silent aim (INACCURATE)\n- Universal changes\n- Bugfixes and improvements to systems/n- Credits to Imperial and Brandon Jay From Facebook!")
  2004.  
  2005.  
  2006. local menudrag = require(script.Parent.DraggableObject).new(script.Parent.Menu)
  2007. menudrag:Enable()
  2008. --local lastPos = script.Parent.Menu.Position
  2009. --game:GetService("RunService").Heartbeat:Connect(function()
  2010. -- local rot = script.Parent.Menu.Position - lastPos
  2011. -- ts:Create(script.Parent.Menu, TweenInfo.new(0.25, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out), {
  2012. -- Rotation = rot.X.Offset * 0.1
  2013. -- }):Play()
  2014. -- lastPos = script.Parent.Menu.Position
  2015. --end)
  2016. --menudrag.Dragged = function(newPos)
  2017. -- local rot = newPos - lastPos
  2018. -- print(rot)
  2019. -- print(rot.X.Offset)
  2020. -- ts:Create(script.Parent.Menu, TweenInfo.new(0.25, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out), {
  2021. -- Rotation = rot.X.Offset * 0.1
  2022. -- }):Play()
  2023. --end
  2024. --menudrag.DragEnded = function()
  2025. -- ts:Create(script.Parent.Menu, TweenInfo.new(1, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
  2026. -- Rotation = 0
  2027. -- }):Play()
  2028. -- lastPos = script.Parent.Menu.Position
  2029. --end
  2030.  
  2031. require(script.Parent.DraggableObject).new(script.Parent.Menu.CanvasGroup.Opener, script.Parent.Menu):Enable()
  2032. end
  2033. local function MXJGMO_fake_script() -- Fake Script: StarterGui.BRX.Flee the Facility
  2034. local script = Instance.new("LocalScript")
  2035. script.Name = "Flee the Facility"
  2036. script.Parent = Converted["_BRX"]
  2037. local req = require
  2038. local require = function(obj)
  2039. local fake = fake_module_scripts[obj]
  2040. if fake then
  2041. return fake()
  2042. end
  2043. return req(obj)
  2044. end
  2045.  
  2046. local module = {}
  2047. module["gameId"] = 893973440 -- Restrict module to a certain game ID only. 0 allows all games.
  2048. if (module["gameId"] ~= game.GameId) and module["gameId"] ~= 0 then
  2049. script.Enabled = false
  2050. end
  2051.  
  2052. module["Name"] = "Flee the Facility"
  2053.  
  2054. local ts = game:GetService("TweenService")
  2055.  
  2056. local FUNCTIONS = require(script.Parent.FUNCTIONS)
  2057.  
  2058.  
  2059. module.players = false
  2060. module.pcs = false
  2061. module.pods = false
  2062. module.exits = false
  2063.  
  2064. module.antipcerror = false
  2065. module.flashlight = false
  2066.  
  2067. local esps = {}
  2068.  
  2069. local function getBeast()
  2070. local listplayers = game.Players:GetChildren()
  2071. for _, player in ipairs(listplayers) do
  2072. local character = player.Character
  2073. if character ~= nil and character:FindFirstChild("BeastPowers") then
  2074. return player
  2075. end
  2076. end
  2077. end
  2078.  
  2079. local function reloadESP()
  2080.  
  2081.  
  2082. for _, i in ipairs(workspace:GetChildren()) do
  2083. if i.Name == "PlayerHighlight" and not module.players then
  2084. i:Destroy()
  2085. end
  2086.  
  2087. if i.Name == "PCHighlight" and not module.pcs then
  2088. i:Destroy()
  2089. end
  2090.  
  2091. if i.Name == "PodsHighlight" and not module.pods then
  2092. i:Destroy()
  2093. end
  2094.  
  2095. if i.Name == "ExitsHighlight" and not module.exits then
  2096. i:Destroy()
  2097. end
  2098. end
  2099.  
  2100. if module.players then
  2101.  
  2102.  
  2103.  
  2104. local listplayers = game.Players:GetChildren()
  2105. for _, player in ipairs(listplayers) do
  2106. if player ~= game.Players.LocalPlayer and player.Character ~= nil then
  2107. local character = player.Character
  2108. if not character:FindFirstChild("PlayerHighlight") then
  2109. local a = Instance.new("Highlight", workspace)
  2110. esps["PlayerHighlight"] = a
  2111. a.Name = "PlayerHighlight"
  2112. a.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
  2113. a.Adornee = character
  2114. task.spawn(function()
  2115. repeat
  2116. task.wait(0.1)
  2117. if player == getBeast() then
  2118. a.FillColor = Color3.fromRGB(255,0,0)
  2119. else
  2120. a.FillColor = Color3.fromRGB(0,255,0)
  2121. end
  2122. until character == nil or a == nil
  2123. end)
  2124. end
  2125. end
  2126. end
  2127.  
  2128.  
  2129. end
  2130.  
  2131. if module.pcs then
  2132.  
  2133.  
  2134.  
  2135.  
  2136. for _, obj in ipairs(game.Workspace:GetDescendants()) do
  2137. if obj.Name == "ComputerTable" and not obj:FindFirstChild("PCHighlight") then
  2138. local hili = Instance.new("Highlight", workspace)
  2139. esps["PCHighlight"] = hili
  2140. hili.Name = "PCHighlight"
  2141. hili.OutlineTransparency = 1
  2142. hili.Adornee = obj
  2143. hili.FillColor = obj:FindFirstChild("Screen").Color
  2144. end
  2145. end
  2146.  
  2147.  
  2148. end
  2149.  
  2150. if module.pods then
  2151.  
  2152.  
  2153.  
  2154. for _, obj in ipairs(game.Workspace:GetDescendants()) do
  2155. if obj.Name == "FreezePod" then
  2156. local hili = Instance.new("Highlight", workspace)
  2157. esps["PodsHighlight"] = hili
  2158. hili.Name = "PodsHighlight"
  2159. hili.OutlineTransparency = 1
  2160. hili.Adornee = obj
  2161. hili.FillColor = Color3.fromRGB(0, 200, 255)
  2162. end
  2163. end
  2164.  
  2165. end
  2166.  
  2167.  
  2168. if module.exits then
  2169.  
  2170.  
  2171.  
  2172. for _, obj in ipairs(game.Workspace:GetDescendants()) do
  2173. if obj.Name == "ExitDoor" and not obj:FindFirstChild("ExitsHighlight") then
  2174. local hili = Instance.new("Highlight", workspace)
  2175. esps["ExitsHighlight"] = hili
  2176. hili.Name = "ExitsHighlight"
  2177. hili.OutlineTransparency = 1
  2178. hili.Adornee = obj
  2179. hili.FillColor = Color3.fromRGB(255,255,0)
  2180. end
  2181. end
  2182.  
  2183. end
  2184. end
  2185.  
  2186.  
  2187.  
  2188.  
  2189. module[1] = {
  2190. Type = "Text",
  2191. Args = {"ESPs"}
  2192. }
  2193.  
  2194. module[2] = {
  2195. Type = "ButtonGrid",
  2196. Toggleable = true, -- Recolors buttons for you onclick, you still need to save the state yourself
  2197. Args = {3, { -- 3 is the number of columns
  2198. Players = function(Self)
  2199.  
  2200. if module.players then
  2201. module.players = false
  2202. reloadESP()
  2203. else
  2204. module.players = true
  2205. reloadESP()
  2206. end
  2207.  
  2208.  
  2209. end,
  2210. PCs = function(Self)
  2211.  
  2212. if module.pcs then
  2213. module.pcs = false
  2214. reloadESP()
  2215. else
  2216. module.pcs = true
  2217. reloadESP()
  2218. end
  2219.  
  2220. end,
  2221. Pods = function(Self)
  2222.  
  2223. if module.pods then
  2224. module.pods = false
  2225. reloadESP()
  2226. else
  2227. module.pods = true
  2228. reloadESP()
  2229. end
  2230.  
  2231.  
  2232. end,
  2233. Exits = function(Self)
  2234.  
  2235. if module.exits then
  2236. module.exits = false
  2237. reloadESP()
  2238. else
  2239. module.exits = true
  2240. reloadESP()
  2241. end
  2242.  
  2243. end,
  2244. }
  2245. }
  2246. }
  2247. module[3] = { -- spacing, button grid doesnt correctly height himself for some reason
  2248. Type = "Text",
  2249. Args = {""}
  2250. }
  2251.  
  2252. module[4] = {
  2253. Type = "Text",
  2254. Args = {"Tools"}
  2255. }
  2256.  
  2257.  
  2258. local root = game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  2259.  
  2260. light = Instance.new("PointLight", root)
  2261. light.Brightness = 0
  2262. light.Range = 9999999999
  2263.  
  2264. local wslock = false
  2265. local ws = 18
  2266.  
  2267. local antifail = false
  2268.  
  2269.  
  2270. task.spawn(function()
  2271. if game:GetService("RunService"):IsStudio() then return end -- :)
  2272.  
  2273. local OldNameCall = nil
  2274.  
  2275. OldNameCall = hookmetamethod(game, "__namecall", function(Self, ...)
  2276. local Args = {...}
  2277. local NamecallMethod = getnamecallmethod()
  2278.  
  2279. if NamecallMethod == "FireServer" and Args[1] == "SetPlayerMinigameResult" and antifail then
  2280. print("Minigame result - Intercepting result to true")
  2281. Args[2] = true
  2282. end
  2283.  
  2284. return OldNameCall(Self, unpack(Args))
  2285. end)
  2286.  
  2287. end)
  2288.  
  2289.  
  2290. module[5] = {
  2291. Type = "ButtonGrid",
  2292. Toggleable = true,
  2293. Args = {3, {
  2294. Anti_PC_Error = function()
  2295. if antifail then antifail = false else antifail = true end
  2296. end,
  2297. Flashlight = function()
  2298. if light.Brightness == 0 then
  2299. light.Brightness = 2.5
  2300. else
  2301. light.Brightness = 0
  2302. end
  2303. end,
  2304. }}
  2305. }
  2306.  
  2307. task.spawn(function()
  2308. while task.wait(0.1) do
  2309. if wslock then
  2310. root.Parent:WaitForChild("Humanoid").WalkSpeed = ws
  2311. end
  2312. end
  2313. end)
  2314.  
  2315. module[6] = {
  2316. Type = "Input",
  2317. Args = {"Input a walkspeed", "Set & Lock", function(Self, text)
  2318. if not tonumber(text) then
  2319. FUNCTIONS.notification("Input isn't a valid number.")
  2320. return
  2321. end
  2322.  
  2323. ws = tonumber(text)
  2324. wslock = true
  2325. end,}
  2326. }
  2327.  
  2328. module[7] = {
  2329. Type = "Button",
  2330. Args = {"Unlock all", function()
  2331. wslock = false
  2332. end,}
  2333. }
  2334.  
  2335. module[8] = {
  2336. Type = "Text",
  2337. Args = {"Locking means your speed will stay the same no matter what. This means you will not be slow when crawling or jumping as beast."}
  2338. }
  2339.  
  2340.  
  2341. _G.Modules[2] = module
  2342. end
  2343. local function GSQOCQJ_fake_script() -- Fake Script: StarterGui.BRX.Universal
  2344. local script = Instance.new("LocalScript")
  2345. script.Name = "Universal"
  2346. script.Parent = Converted["_BRX"]
  2347. local req = require
  2348. local require = function(obj)
  2349. local fake = fake_module_scripts[obj]
  2350. if fake then
  2351. return fake()
  2352. end
  2353. return req(obj)
  2354. end
  2355.  
  2356. local module = {}
  2357. module["gameId"] = 0 -- Restrict module to a certain game ID only. 0 allows all games.
  2358. if (module["gameId"] ~= game.GameId) and module["gameId"] ~= 0 then
  2359. script.Enabled = true
  2360. end
  2361.  
  2362. local ts = game:GetService("TweenService")
  2363. local uis = game:GetService("UserInputService")
  2364. local fu = require(script.Parent.FUNCTIONS)
  2365.  
  2366. uis.InputBegan:Connect(function(inp, proc)
  2367. if proc then return end
  2368.  
  2369. if uis:IsKeyDown(Enum.KeyCode.LeftControl) and inp.KeyCode == Enum.KeyCode.Y then
  2370. ts:Create(script.Parent.Menu.UIScale, TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out), {
  2371. Scale = 1
  2372. }):Play()
  2373. end
  2374. end)
  2375.  
  2376. module["Name"] = "Universal"
  2377.  
  2378. local ts = game:GetService("TweenService")
  2379.  
  2380. table.insert(module, {
  2381. Type = "Text",
  2382. Args = {"Welcome to BRX! The open, free script hub."}
  2383. })
  2384. table.insert(module, {
  2385. Type = "Button",
  2386. Args = {"Join our Discord", function(Self)
  2387. if setclipboard then setclipboard("https://discord.gg/2jbYxvDkxr") end
  2388. fu.notification('Discord link has been copied to clipboard!')
  2389. end,}
  2390. })
  2391. table.insert(module, {
  2392. Type = "Text",
  2393. Args = {"---"}
  2394. })
  2395.  
  2396. table.insert(module, {
  2397. Type = "Input",
  2398. Args = {"Hitbox expander", "Expand everyone's hitbox", function(Self, ToExpand)
  2399. local players = game:GetService("Players"):GetPlayers()
  2400. for i,v in ipairs(players) do
  2401. if v ~= game.Players.LocalPlayer and v.Character:FindFirstChild('HumanoidRootPart') then
  2402. local sizeArg = tonumber(ToExpand)
  2403. local Size = Vector3.new(sizeArg,sizeArg,sizeArg)
  2404. local Root = v.Character:FindFirstChild('HumanoidRootPart')
  2405. if Root:IsA("BasePart") then
  2406. if not ToExpand or sizeArg == 1 then
  2407. Root.Size = Vector3.new(2,1,1)
  2408. Root.Transparency = 0.2
  2409. else
  2410. Root.Size = Size
  2411. Root.Transparency = 0.2
  2412. end
  2413. end
  2414. end
  2415. end
  2416. fu.notification("Hitboxes expanded.")
  2417. end,}
  2418. })
  2419.  
  2420. table.insert(module, {
  2421. Type = "Input",
  2422. Args = {"Walkspeed", "Set speed", function(Self, speed)
  2423. local lp = game:GetService("Players").LocalPlayer
  2424. local char = lp.Character
  2425. if not char then fu.notification("No character!") return end
  2426. local hu = char:FindFirstChildOfClass("Humanoid")
  2427. if not hu then fu.notification("No humanoid on your character..?") return end
  2428. hu.WalkSpeed = tonumber(speed) or 16
  2429. fu.notification("Walkspeed set.")
  2430. end,}
  2431. })
  2432.  
  2433. table.insert(module, {
  2434. Type = "Button",
  2435. Args = {"Hide BRX", function(Self)
  2436. if uis.KeyboardEnabled then
  2437. ts:Create(script.Parent.Menu.UIScale, TweenInfo.new(0.6, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out), {
  2438. Scale = 0
  2439. }):Play()
  2440. fu.notification("Press CTRL+Y to bring back the menu.")
  2441. else
  2442. fu.notification("Can't hide BRX on a mobile device!") -- how else are you gonna open???
  2443. end
  2444. end,}
  2445. }
  2446. )
  2447.  
  2448. table.insert(module, {
  2449. Type = "Button",
  2450. Args = {"FPS Boost", function(Self)
  2451. fu.dialog("FPS boosting", "FPS boosting can have unpredictable effects. You may instead lag more using this!", {"FPS boost anyway", "Nevermind"})
  2452. local result = fu.waitfordialog()
  2453. fu.closedialog()
  2454. if result == "FPS boost anyway" then
  2455. local Terrain = workspace:FindFirstChildOfClass('Terrain')
  2456. Terrain.WaterWaveSize = 0
  2457. Terrain.WaterWaveSpeed = 0
  2458. Terrain.WaterReflectance = 0
  2459. Terrain.WaterTransparency = 0
  2460. game.Lighting.GlobalShadows = false
  2461. game.Lighting.FogEnd = 9e9
  2462. pcall(function()
  2463. settings().Rendering.QualityLevel = 1
  2464. end)
  2465. for i,v in pairs(game:GetDescendants()) do
  2466. if v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("MeshPart") or v:IsA("CornerWedgePart") or v:IsA("TrussPart") then
  2467. v.Material = "Plastic"
  2468. v.Reflectance = 0
  2469. elseif v:IsA("Decal") then
  2470. v.Transparency = 1
  2471. elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  2472. v.Lifetime = NumberRange.new(0)
  2473. elseif v:IsA("Explosion") then
  2474. v.BlastPressure = 1
  2475. v.BlastRadius = 1
  2476. end
  2477. end
  2478. for i,v in pairs(game.Lighting:GetDescendants()) do
  2479. if v:IsA("BlurEffect") or v:IsA("SunRaysEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("BloomEffect") or v:IsA("DepthOfFieldEffect") then
  2480. v.Enabled = false
  2481. end
  2482. end
  2483. workspace.DescendantAdded:Connect(function(child)
  2484. task.spawn(function()
  2485. if child:IsA('ForceField') then
  2486. game:GetService("RunService").Heartbeat:Wait()
  2487. child:Destroy()
  2488. elseif child:IsA('Sparkles') then
  2489. game:GetService("RunService").Heartbeat:Wait()
  2490. child:Destroy()
  2491. elseif child:IsA('Smoke') or child:IsA('Fire') then
  2492. game:GetService("RunService").Heartbeat:Wait()
  2493. child:Destroy()
  2494. end
  2495. end)
  2496. end)
  2497. end
  2498. end,}
  2499. })
  2500.  
  2501. table.insert(module, {
  2502. Type = "Button",
  2503. Args = {"Open developer console (debugging)", function(Self)
  2504. game.StarterGui:SetCore("DevConsoleVisible", true)
  2505. --_G.BRX.Open.UIStroke.Transparency = 0
  2506. --_G.BRX.Open.TextTransparency = 0
  2507. --ts:Create(_G.BRX.Open, TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out), {
  2508. -- Position = UDim2.fromScale(0.5, 0.903)
  2509. --}):Play()
  2510.  
  2511. --ts:Create(_G.BRX.Open.UIStroke, TweenInfo.new(1), {
  2512. -- Transparency = 1
  2513. --}):Play()
  2514. --ts:Create(_G.BRX.Open, TweenInfo.new(1), {
  2515. -- TextTransparency = 1
  2516. --}):Play()
  2517. end}
  2518. }
  2519. )
  2520.  
  2521. table.insert(module, {
  2522. Type = "Button",
  2523. Args = {"SELF-DESTRUCT", function(Self)
  2524. fu.notification("See you later!")
  2525. task.wait(1.5)
  2526. script.Parent:Destroy() -- Scary!
  2527. end}
  2528. }
  2529. )
  2530. -- Type = "Button",
  2531. -- Args = {"Move BRX trigger to the top", function(Self)
  2532. -- _G.BRX.Open.UIStroke.Transparency = 0
  2533. -- _G.BRX.Open.TextTransparency = 0
  2534. -- ts:Create(_G.BRX.Open, TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.Out), {
  2535. -- Position = UDim2.fromScale(0.5, 0.063)
  2536. -- }):Play()
  2537.  
  2538. -- ts:Create(_G.BRX.Open.UIStroke, TweenInfo.new(1), {
  2539. -- Transparency = 1
  2540. -- }):Play()
  2541. -- ts:Create(_G.BRX.Open, TweenInfo.new(1), {
  2542. -- TextTransparency = 1
  2543. -- }):Play()
  2544. -- end}
  2545. --}
  2546.  
  2547. _G.Modules[1] = module
  2548. end
  2549. local function KCKC_fake_script() -- Fake Script: StarterGui.BRX.FloatingButton.Keybinding
  2550. local script = Instance.new("LocalScript")
  2551. script.Name = "Keybinding"
  2552. script.Parent = Converted["_FloatingButton"]
  2553. local req = require
  2554. local require = function(obj)
  2555. local fake = fake_module_scripts[obj]
  2556. if fake then
  2557. return fake()
  2558. end
  2559. return req(obj)
  2560. end
  2561.  
  2562.  
  2563. end
  2564. local function WBSA_fake_script() -- Fake Script: StarterGui.BRX.FloatingButton.Invisible
  2565. local script = Instance.new("LocalScript")
  2566. script.Name = "Invisible"
  2567. script.Parent = Converted["_FloatingButton"]
  2568. local req = require
  2569. local require = function(obj)
  2570. local fake = fake_module_scripts[obj]
  2571. if fake then
  2572. return fake()
  2573. end
  2574. return req(obj)
  2575. end
  2576.  
  2577. --local ts = game:GetService("TweenService")
  2578.  
  2579. --local holding = false
  2580. --local invisible = false
  2581.  
  2582.  
  2583.  
  2584. --script.Parent.MouseButton1Down:Connect(function()
  2585. -- holding = true
  2586. -- task.wait(0.5)
  2587. -- if holding then
  2588. -- if not invisible then
  2589. -- invisible = true
  2590. -- ts:Create(script.Parent, TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
  2591. -- BackgroundTransparency = 1,
  2592. -- TextTransparency = 1
  2593. -- }):Play()
  2594. -- ts:Create(script.Parent.UIStroke, TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
  2595. -- Transparency = 0.7
  2596. -- }):Play()
  2597. -- else
  2598. -- invisible = false
  2599. -- ts:Create(script.Parent, TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
  2600. -- BackgroundTransparency = 0,
  2601. -- TextTransparency = 0
  2602. -- }):Play()
  2603. -- ts:Create(script.Parent.UIStroke, TweenInfo.new(1, Enum.EasingStyle.Cubic, Enum.EasingDirection.InOut), {
  2604. -- Transparency = 0
  2605. -- }):Play()
  2606. -- end
  2607. -- end
  2608. --end)
  2609.  
  2610. --script.Parent.MouseButton1Up:Connect(function()
  2611. -- holding = false
  2612. --end)
  2613. end
  2614. local function PXTLP_fake_script() -- Fake Script: StarterGui.BRX.Murder Mystery 2
  2615. local script = Instance.new("LocalScript")
  2616. script.Name = "Murder Mystery 2/MM2"
  2617. script.Parent = Converted["_BRX"]
  2618. local req = require
  2619. local require = function(obj)
  2620. local fake = fake_module_scripts[obj]
  2621. if fake then
  2622. return fake()
  2623. end
  2624. return req(obj)
  2625. end
  2626.  
  2627. local module = {}
  2628. module["gameId"] = 0 -- 66654135 -- Restrict module to a certain game ID only. 0 allows all games.
  2629.  
  2630. local playerESP = false
  2631. local sheriffAimbot = false
  2632. local coinAutoCollect = false
  2633. local autoShooting = false
  2634. local shootOffset = 2
  2635.  
  2636. local localplayer = game:GetService("Players").LocalPlayer
  2637.  
  2638. local playerData = {}
  2639.  
  2640. local phs = game:GetService("PathfindingService")
  2641.  
  2642. local claimedCoins = {}
  2643.  
  2644. local fu = require(_G.BRX.FUNCTIONS)
  2645.  
  2646. local fadeEvent = game.ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("Gameplay"):WaitForChild("Fade", 5)
  2647. if fadeEvent then
  2648. fadeEvent.OnClientEvent:Connect(function(data)
  2649. playerData = data
  2650. end)
  2651. end
  2652.  
  2653. local UpdatePlayerDataEvent = game.ReplicatedStorage:WaitForChild("UpdatePlayerData", 5)
  2654. if UpdatePlayerDataEvent then
  2655. UpdatePlayerDataEvent.OnClientEvent:Connect(function(data)
  2656. playerData = data
  2657. end)
  2658. end
  2659.  
  2660.  
  2661. local function findMurderer()
  2662.  
  2663.  
  2664. -- Fallback
  2665. for _, i in ipairs(game.Players:GetPlayers()) do
  2666. if i.Backpack:FindFirstChild("Knife") then
  2667. return i
  2668. end
  2669. end
  2670.  
  2671. for _, i in ipairs(game.Players:GetPlayers()) do
  2672. if not i.Character then continue end
  2673. if i.Character:FindFirstChild("Knife") then
  2674. return i
  2675. end
  2676. end
  2677.  
  2678. if playerData then
  2679. for player, data in playerData do
  2680. if data.Role == "Murderer" then
  2681. if game.Players:FindFirstChild(player) then
  2682. return game.Players:FindFirstChild(player)
  2683. end
  2684. end
  2685. end
  2686. end
  2687. return nil
  2688. end
  2689.  
  2690. local function findSheriff()
  2691.  
  2692.  
  2693. -- Fallback
  2694. for _, i in ipairs(game.Players:GetPlayers()) do
  2695. if i.Backpack:FindFirstChild("Gun") then
  2696. return i
  2697. end
  2698. end
  2699.  
  2700. for _, i in ipairs(game.Players:GetPlayers()) do
  2701. if not i.Character then continue end
  2702. if i.Character:FindFirstChild("Gun") then
  2703. return i
  2704. end
  2705. end
  2706.  
  2707.  
  2708. if playerData then
  2709. for player, data in playerData do
  2710. if data.Role == "Sheriff" then
  2711. if game.Players:FindFirstChild(player) then
  2712. return game.Players:FindFirstChild(player)
  2713. end
  2714. end
  2715. end
  2716. end
  2717. return nil
  2718. end
  2719.  
  2720. local function findNearestPlayer()
  2721. local Players = game:GetService("Players")
  2722. local localPlayer = Players.LocalPlayer
  2723.  
  2724. local nearestPlayer = nil
  2725. local shortestDistance = math.huge -- Initialize with a very large distance
  2726.  
  2727. -- Iterate through all players
  2728. for _, player in ipairs(Players:GetPlayers()) do
  2729. -- Skip the local player and any players who have left the game
  2730. if player ~= localPlayer and player.Character then
  2731.  
  2732. -- Get the positions of both players' HumanoidRootParts
  2733. local localRootPart = localPlayer.Character:FindFirstChild("HumanoidRootPart")
  2734. local otherRootPart = player.Character:FindFirstChild("HumanoidRootPart")
  2735.  
  2736. -- Ensure both players have a HumanoidRootPart for accurate distance calculation
  2737. if localRootPart and otherRootPart then
  2738. local distance = (localRootPart.Position - otherRootPart.Position).Magnitude
  2739.  
  2740. -- Update nearest player if a closer one is found
  2741. if distance < shortestDistance then
  2742. shortestDistance = distance
  2743. nearestPlayer = player
  2744. end
  2745. end
  2746. end
  2747. end
  2748.  
  2749. return nearestPlayer
  2750. end
  2751.  
  2752.  
  2753.  
  2754.  
  2755. --task.spawn(function()
  2756. -- if game:GetService("RunService"):IsStudio() then return end -- :)
  2757.  
  2758. -- local OldNameCall = nil
  2759.  
  2760. -- OldNameCall = hookmetamethod(game, "__namecall", function(Self, ...)
  2761. -- local Args = {...}
  2762. -- local NamecallMethod = getnamecallmethod()
  2763.  
  2764. -- if NamecallMethod == "InvokeServer" and Args[1] == 1 and sheriffAimbot then
  2765. -- if not findMurderer() then
  2766. -- print("No murderer to be shot!")
  2767. -- else
  2768. -- print("Shot - Intercepting shot to murderer")
  2769. -- Args[2] = findMurderer().Character:FindFirstChild("HumanoidRootPart").Position
  2770. -- end
  2771. -- end
  2772.  
  2773. -- return OldNameCall(Self, unpack(Args))
  2774. -- end)
  2775.  
  2776. --end)
  2777.  
  2778. -- I honestly don't know what went wrong so if any of you experts know why this stuff aint working make a pull request :praying_hands_emoji:
  2779.  
  2780.  
  2781. module["Name"] = "Murder Mystery 2/MM2"
  2782.  
  2783. -- Player ESP
  2784. workspace.ChildAdded:Connect(function(ch)
  2785. if ch.Name == "Normal" and playerESP then
  2786. fu.notification("Map has loaded, waiting for roles...")
  2787. repeat
  2788. task.wait(1)
  2789. until findMurderer()
  2790. local listplayers = game.Players:GetChildren()
  2791. for _, player in ipairs(listplayers) do
  2792. if player.Character ~= nil then
  2793. local character = player.Character
  2794. if not character:FindFirstChild("PlayerESP") then
  2795. local a = Instance.new("Highlight", script.Parent)
  2796. a.Name = "PlayerESP"
  2797. a.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
  2798. a.Adornee = character
  2799. a.FillColor = Color3.fromRGB(255, 255, 255)
  2800. task.spawn(function()
  2801. if player == findMurderer() then
  2802. local mbgui = script.Parent.MurdererBGUI:Clone()
  2803. mbgui.Enabled = true
  2804. mbgui.Name = "AppliedMurdererBGUI"
  2805. mbgui.Parent = _G.BRX
  2806. mbgui.Adornee = character
  2807. a.FillColor = Color3.fromRGB(255,0,0)
  2808. elseif player == findSheriff() then
  2809. a.FillColor = Color3.fromRGB(0, 150, 255)
  2810. else
  2811. a.FillColor = Color3.fromRGB(0,255,0)
  2812. end
  2813. if a then
  2814. if not player then return end
  2815. a.Adornee = player.Character or player.CharactedAdded:Wait()
  2816. end
  2817. end)
  2818. end
  2819. end
  2820. end
  2821. fu.notification("Player ESP reloaded.")
  2822. end
  2823. end)
  2824.  
  2825. workspace.ChildRemoved:Connect(function(ch)
  2826. if ch.Name == "Normal" and playerESP then
  2827. fu.notification("Game ended, removing Player ESPs.")
  2828. playerData = {}
  2829. for _, v in ipairs(script.Parent:GetChildren()) do if v.Name == "PlayerESP" then v:Destroy() end end
  2830. if script.Parent:FindFirstChild("AppliedMurdererBGUI") then script.Parent:FindFirstChild("AppliedMurdererBGUI"):Destroy() end
  2831. if script.Parent:FindFirstChild("DBGUIClone") then script.Parent:FindFirstChild("DBGUIClone"):Destroy() end
  2832. end
  2833. end)
  2834.  
  2835. -- Dropped Gun ESP
  2836. workspace.ChildAdded:Connect(function(ch)
  2837. if script.Parent:FindFirstChild("GunESP") and ch.Name == "GunDrop" then
  2838. script.Parent:FindFirstChild("GunESP").Adornee = ch
  2839. script.Parent:FindFirstChild("GunESP").Enabled = true
  2840. local bguiclone = script.Parent.DroppedGunBGUI:Clone()
  2841. bguiclone.Parent = script.Parent
  2842. bguiclone.Adornee = workspace:FindFirstChild("GunDrop")
  2843. bguiclone.Enabled = true
  2844. bguiclone.Name = "DGBGUIClone"
  2845. fu.notification("Gun has been dropped! Find a yellow highlight.")
  2846. end
  2847. end)
  2848.  
  2849. workspace.ChildRemoved:Connect(function(ch)
  2850. if script.Parent:FindFirstChild("GunESP") and ch.Name == "GunDrop" then
  2851. script.Parent:FindFirstChild("GunESP").Enabled = false
  2852. if script.Parent:FindFirstChild("DBGUIClone") then
  2853. script.Parent:FindFirstChild("DBGUIClone"):Destroy()
  2854. end
  2855. fu.notification("Someone has took the dropped gun.")
  2856. end
  2857. end)
  2858.  
  2859.  
  2860. -- Coin autocollect
  2861. task.spawn(
  2862. function()
  2863. while task.wait(0.1) do
  2864. if not coinAutoCollect then continue end
  2865.  
  2866. if workspace:FindFirstChild("Normal") then
  2867. if workspace:FindFirstChild("Normal"):FindFirstChild("CoinContainer") then
  2868. for _, coin in ipairs(workspace:FindFirstChild("Normal"):FindFirstChild("CoinContainer"):GetChildren()) do
  2869. if claimedCoins[coin] then continue end
  2870. if not coin then continue end
  2871. local coinPosition = coin.Position
  2872. --if (coinPosition - localplayer.Character:GetPivot().Position).Magnitude > 30 then return end
  2873. --local characterRootPart = localplayer.Character.HumanoidRootPart
  2874. --local rayDirection = coinPosition * 3
  2875.  
  2876. --local raycastParams = RaycastParams.new()
  2877. --raycastParams.FilterType = Enum.RaycastFilterType.Exclude
  2878. --raycastParams.FilterDescendantsInstances = {localplayer.Character}
  2879.  
  2880. --local hit = workspace:Raycast(characterRootPart.Position, rayDirection, raycastParams)
  2881.  
  2882. --if not hit or hit.Instance == coin then -- Check if nothing collides or if it collides with the coin
  2883. localplayer.Character:MoveTo(Vector3.new(coin:GetPivot().X, coin:GetPivot().Y, coin:GetPivot().Z))
  2884. claimedCoins[coin] = true
  2885. --end
  2886.  
  2887. -- just immediately move the character idgaf lmao
  2888. end
  2889. end
  2890. end
  2891. end
  2892. end
  2893. )
  2894.  
  2895. local positionHistory = {}
  2896. local velocityHistory = {}
  2897. local historySize = 10 -- Number of past positions/velocities to consider
  2898.  
  2899. local function resetHistory()
  2900. positionHistory = {}
  2901. velocityHistory = {}
  2902. end
  2903.  
  2904. local function updateHistory(character)
  2905. if not character then return end
  2906. local hrp = character:FindFirstChild("HumanoidRootPart")
  2907. if not hrp then return end
  2908.  
  2909. -- Update position history
  2910. table.insert(positionHistory, hrp.Position)
  2911. if #positionHistory > historySize then
  2912. table.remove(positionHistory, 1)
  2913. end
  2914.  
  2915. -- Update velocity history
  2916. table.insert(velocityHistory, hrp.AssemblyLinearVelocity)
  2917. if #velocityHistory > historySize then
  2918. table.remove(velocityHistory, 1)
  2919. end
  2920. end
  2921.  
  2922. local function averageVelocity()
  2923. local total = Vector3.new(0, 0, 0)
  2924. for _, v in ipairs(velocityHistory) do
  2925. total = total + v
  2926. end
  2927. return total / #velocityHistory
  2928. end
  2929.  
  2930. local function getPredictedPosition(player, shootOffset, murd)
  2931. pcall(function()
  2932. player = player.Character
  2933. if not player.Character then fu.notification("No murderer to predict position.") return end
  2934. end)
  2935. local playerHRP = player:FindFirstChild("HumanoidRootPart")
  2936. if not playerHRP then
  2937. return Vector3.new(0,0,0), "Could not find the player's HumanoidRootPart."
  2938. end
  2939.  
  2940. local playerPosition = playerHRP.Position
  2941. local velocity = Vector3.new()
  2942. if murd then
  2943. velocity = averageVelocity()
  2944. else
  2945. velocity = playerHRP.AssemblyLinearVelocity
  2946. end
  2947. local playerMoveDirection = player.Humanoid.MoveDirection
  2948.  
  2949. -- Predict future position considering average velocity and move direction with strengths
  2950. local predictedPosition = playerPosition
  2951. + (velocity * Vector3.new(1, 1, 1)) * (shootOffset / 15) * 1
  2952. + playerMoveDirection * shootOffset * 1
  2953.  
  2954. return predictedPosition
  2955. end
  2956.  
  2957. -- Continuous update using RunService
  2958. local RunService = game:GetService("RunService")
  2959.  
  2960. RunService.Heartbeat:Connect(function()
  2961. local murderer = findMurderer()
  2962. if murderer then
  2963. updateHistory(murderer.Character)
  2964. else
  2965. resetHistory()
  2966. end
  2967. end)
  2968.  
  2969. task.spawn(function()
  2970. while task.wait(1) do
  2971. if findSheriff() == localplayer and autoShooting then
  2972. fu.notification("Auto-shooting started.")
  2973. repeat
  2974. task.wait(0.1)
  2975. local murderer = findMurderer()
  2976. if not murderer then fu.notification("No murderer.") continue end
  2977. local murdererPosition = murderer.Character.HumanoidRootPart.Position
  2978. local characterRootPart = localplayer.Character.HumanoidRootPart
  2979. local rayDirection = murdererPosition - characterRootPart.Position
  2980.  
  2981. local raycastParams = RaycastParams.new()
  2982. raycastParams.FilterType = Enum.RaycastFilterType.Exclude
  2983. raycastParams.FilterDescendantsInstances = {localplayer.Character}
  2984.  
  2985. local hit = workspace:Raycast(characterRootPart.Position, rayDirection, raycastParams)
  2986. if not hit or hit.Instance.Parent == murderer.Character then -- Check if nothing collides or if it collides with the murderer
  2987. fu.notification("Auto-shooting!")
  2988. if not localplayer.Character:FindFirstChild("Gun") then
  2989. local hum = localplayer.Character:FindFirstChild("Humanoid")
  2990. if localplayer.Backpack:FindFirstChild("Gun") then
  2991. localplayer.Character:FindFirstChild("Humanoid"):EquipTool(localplayer.Backpack:FindFirstChild("Gun"))
  2992. else
  2993. fu.notification("You don't have the gun..?")
  2994. return
  2995. end
  2996. end
  2997. local murdererHRP = murderer.Character:FindFirstChild("HumanoidRootPart")
  2998. if not murdererHRP then
  2999. fu.notification("Could not find the murderer's HumanoidRootPart.")
  3000. return
  3001. end
  3002.  
  3003. local predictedPosition = getPredictedPosition(murderer, shootOffset)
  3004.  
  3005. local args = {
  3006. [1] = 1,
  3007. [2] = predictedPosition,
  3008. [3] = "AH"
  3009. }
  3010.  
  3011. localplayer.Character.Gun.KnifeServer.ShootGun:InvokeServer(unpack(args))
  3012. end
  3013. until findSheriff() ~= localplayer or not autoShooting
  3014. end
  3015. end
  3016. end)
  3017.  
  3018. table.insert(module, {
  3019. Type = "Text",
  3020. Args = {"ESPs"}
  3021. })
  3022.  
  3023.  
  3024. table.insert(module, {
  3025. Type = "ButtonGrid",
  3026. Toggleable = true,
  3027. Args = {2, {
  3028. Players = function()
  3029. if script.Parent:FindFirstChild("PlayerESP") then
  3030. playerESP = false
  3031. for _, i in ipairs(script.Parent:GetChildren()) do if i.Name=="PlayerESP" then i:Destroy() end end
  3032. for _, i in ipairs(script.Parent:GetChildren()) do if i.Name=="DGBGUIClone" then i:Destroy() end end
  3033. else
  3034. playerESP = true
  3035. if not findMurderer() or not findSheriff() then
  3036. fu.notification("No roles yet. Waiting for roles...")
  3037. repeat
  3038. task.wait(1)
  3039. until findSheriff() or findMurderer()
  3040. end
  3041. local listplayers = game.Players:GetChildren()
  3042. for _, player in ipairs(listplayers) do
  3043. if player.Character ~= nil then
  3044. local character = player.Character
  3045. if not character:FindFirstChild("PlayerESP") then
  3046. local a = Instance.new("Highlight", script.Parent)
  3047. a.Name = "PlayerESP"
  3048. a.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
  3049. a.Adornee = character
  3050. a.FillColor = Color3.fromRGB(255, 255, 255)
  3051. task.spawn(function()
  3052. if player == findMurderer() then
  3053. local mbgui = script.Parent.MurdererBGUI:Clone()
  3054. mbgui.Enabled = true
  3055. mbgui.Name = "AppliedMurdererBGUI"
  3056. mbgui.Parent = _G.BRX
  3057. mbgui.Adornee = character
  3058. a.FillColor = Color3.fromRGB(255,0,0)
  3059. elseif player == findSheriff() then
  3060. a.FillColor = Color3.fromRGB(0, 150, 255)
  3061. else
  3062. a.FillColor = Color3.fromRGB(0,255,0)
  3063. end
  3064. if a then
  3065. if not player then return end
  3066. a.Adornee = player.Character or player.CharactedAdded:Wait()
  3067. end
  3068. end)
  3069. end
  3070. end
  3071. end
  3072. end
  3073. end,
  3074.  
  3075. Dropped_Gun = function()
  3076. if script.Parent:FindFirstChild("GunESP") then
  3077. for _, i in ipairs(script.Parent:GetChildren()) do if i.Name=="GunESP" then i:Destroy() end end
  3078. for _, i in ipairs(script.Parent:GetChildren()) do if i.Name=="DGBGUIClone" then i:Destroy() end end
  3079. else
  3080. local gunesp = Instance.new("Highlight", script.Parent)
  3081. gunesp.OutlineTransparency = 1
  3082. gunesp.FillColor = Color3.fromRGB(255, 255, 0)
  3083. gunesp.Name = "GunESP"
  3084. gunesp.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
  3085. gunesp.Enabled = false
  3086. if workspace:FindFirstChild("GunDrop") then
  3087. gunesp.Adornee = workspace:FindFirstChild("GunDrop")
  3088. gunesp.Enabled = true
  3089. local bguiclone = script.Parent.DroppedGunBGUI:Clone()
  3090. bguiclone.Parent = script.Parent
  3091. bguiclone.Adornee = workspace:FindFirstChild("GunDrop")
  3092. bguiclone.Enabled = true
  3093. bguiclone.Name = "DGBGUIClone"
  3094. fu.notification("Gun has been dropped! Find a yellow highlight.")
  3095. end
  3096.  
  3097. end
  3098. end,
  3099.  
  3100. --Sheriff_Aimbot = function()
  3101. -- if sheriffAimbot then
  3102. -- sheriffAimbot = false
  3103. -- else
  3104. -- sheriffAimbot = true
  3105. -- fu.notification("This will correct your shot to shoot murderer directly.")
  3106. -- end
  3107. --end,
  3108. }}
  3109. })
  3110.  
  3111. table.insert(module, {
  3112. Type = "Text",
  3113. Args = {"Tools"}
  3114. })
  3115.  
  3116.  
  3117. table.insert(module, {
  3118. Type = "Button",
  3119. Args = {"Shoot murderer", function(Self)
  3120. if findSheriff() ~= localplayer then
  3121. fu.notification("You're not sheriff/hero.")
  3122. return
  3123. end
  3124.  
  3125. local murderer = findMurderer()
  3126. if not murderer then
  3127. fu.notification("No murderer to shoot.")
  3128. return
  3129. end
  3130.  
  3131. if not localplayer.Character:FindFirstChild("Gun") then
  3132. local hum = localplayer.Character:FindFirstChild("Humanoid")
  3133. if localplayer.Backpack:FindFirstChild("Gun") then
  3134. hum:EquipTool(localplayer.Backpack:FindFirstChild("Gun"))
  3135. else
  3136. fu.notification("You don't have the gun..?")
  3137. return
  3138. end
  3139. end
  3140.  
  3141. local murdererHRP = murderer.Character:FindFirstChild("HumanoidRootPart")
  3142. if not murdererHRP then
  3143. fu.notification("Could not find the murderer's HumanoidRootPart.")
  3144. return
  3145. end
  3146.  
  3147. local predictedPosition = getPredictedPosition(murderer, shootOffset)
  3148.  
  3149. local args = {
  3150. [1] = 1,
  3151. [2] = predictedPosition,
  3152. [3] = "AH"
  3153. }
  3154. localplayer.Character.Gun.KnifeServer.ShootGun:InvokeServer(unpack(args))
  3155. end,}
  3156. })
  3157.  
  3158.  
  3159. table.insert(module, {
  3160. Type = "Button",
  3161. Args = {"Throw knife to closest player (INACCURATE)", function(Self)
  3162. if findMurderer() ~= localplayer then
  3163. fu.notification("You're not a murderer.")
  3164. return
  3165. end
  3166.  
  3167. if not localplayer.Character:FindFirstChild("Knife") then
  3168. local hum = localplayer.Character:FindFirstChild("Humanoid")
  3169. if localplayer.Backpack:FindFirstChild("Knife") then
  3170. hum:EquipTool(localplayer.Backpack:FindFirstChild("Knife"))
  3171. else
  3172. fu.notification("You don't have the knife..?")
  3173. return
  3174. end
  3175. end
  3176.  
  3177. local closestPlayer = findNearestPlayer()
  3178. if not closestPlayer then
  3179. fu.notification("No player found to throw at.")
  3180. return
  3181. end
  3182.  
  3183.  
  3184. local closestPlayerHRP = closestPlayer.Character:FindFirstChild("HumanoidRootPart")
  3185. if not closestPlayerHRP then
  3186. fu.notification("Could not find the closest player's HumanoidRootPart.")
  3187. return
  3188. end
  3189.  
  3190. local predictedPosition = getPredictedPosition(closestPlayer, shootOffset * 1.5)
  3191.  
  3192. local args = {
  3193. [1] = CFrame.new(localplayer.Character:FindFirstChild("HumanoidRootPart").Position),
  3194. [2] = predictedPosition
  3195. }
  3196.  
  3197. localplayer.Character.Knife.Throw:FireServer(unpack(args))
  3198. end,}
  3199. })
  3200.  
  3201.  
  3202. table.insert(module, {
  3203. Type = "Input",
  3204. Args = {"Shoot position offset", "Set", function(Self, text)
  3205. if not tonumber(text) then fu.notification("Not a valid number.") return end
  3206.  
  3207. if tonumber(text) > 5 then
  3208. fu.notification("An offset with a multiplier of 5 might not at all shoot the murderer!")
  3209. end
  3210. if tonumber(text) < 0 then
  3211. fu.notification("An offset with a negative multiplier will make a shot BEHIND the murderer's walk direction.")
  3212. end
  3213. shootOffset = tonumber(text)
  3214. fu.notification("Offset has been set.")
  3215. end,}
  3216. })
  3217.  
  3218. table.insert(module, {
  3219. Type = "Text",
  3220. Args = {"Shoot offset re-aims the gun/knife for shooting/throwing towards the character's predicted position. Recommended is 2 units. Starting position is 1.5 units."}
  3221. })
  3222.  
  3223. table.insert(module, {
  3224. Type = "ButtonGrid",
  3225. Toggleable = true,
  3226. Args = {1, {
  3227. Coins_Magnet = function()
  3228. coinAutoCollect = not coinAutoCollect
  3229. if coinAutoCollect then
  3230. fu.notification("Coins magnet is currently buggy right now. Use at your own risk.")
  3231. end
  3232. end,
  3233. Auto_Shoot_murderer = function()
  3234. autoShooting = not autoShooting
  3235. if findSheriff() == localplayer and autoShooting then
  3236. fu.notification("Auto-shooting started.")
  3237. repeat
  3238. task.wait(0.1)
  3239. local murderer = findMurderer()
  3240. if not murderer then fu.notification("No murderer.") continue end
  3241. local murdererPosition = murderer.Character.HumanoidRootPart.Position
  3242. local characterRootPart = localplayer.Character.HumanoidRootPart
  3243. local rayDirection = (murdererPosition - characterRootPart.Position).Unit * 50
  3244.  
  3245. local raycastParams = RaycastParams.new()
  3246. raycastParams.FilterType = Enum.RaycastFilterType.Exclude
  3247. raycastParams.FilterDescendantsInstances = {localplayer.Character}
  3248.  
  3249. local hit = workspace:Raycast(characterRootPart.Position, rayDirection, raycastParams)
  3250. if not hit or hit.Instance.Parent == murderer.Character then -- Check if nothing collides or if it collides with the murderer
  3251. fu.notification("Auto-shooting!")
  3252. if not localplayer.Character:FindFirstChild("Gun") then
  3253. local hum = localplayer.Character:FindFirstChild("Humanoid")
  3254. if localplayer.Backpack:FindFirstChild("Gun") then
  3255. localplayer.Character:FindFirstChild("Humanoid"):EquipTool(localplayer.Backpack:FindFirstChild("Gun"))
  3256. else
  3257. fu.notification("You don't have the gun..?")
  3258. return
  3259. end
  3260. end
  3261. local murdererHRP = murderer.Character:FindFirstChild("HumanoidRootPart")
  3262. if not murdererHRP then
  3263. fu.notification("Could not find the murderer's HumanoidRootPart.")
  3264. return
  3265. end
  3266. local murdererVelocity = murdererHRP.AssemblyLinearVelocity
  3267. local predictedPosition = murdererHRP.Position + (murdererVelocity * Vector3.new(1, 0.5, 1)) * (shootOffset / 15)
  3268.  
  3269. local args = {
  3270. [1] = 1,
  3271. [2] = predictedPosition,
  3272. [3] = "AH"
  3273. }
  3274.  
  3275. localplayer.Character.Gun.KnifeServer.ShootGun:InvokeServer(unpack(args))
  3276. end
  3277. until findSheriff() ~= localplayer or not autoShooting
  3278. end
  3279. end,
  3280. }}
  3281. })
  3282.  
  3283. table.insert(module, {Type="Text", Args={""}})
  3284.  
  3285. table.insert(module, {
  3286. Type = "Text",
  3287. Args = {"The tools below can be <font color='#FF0000'>detected,</font> both game-wise and player-wise. Use at your own risk.", "center"}
  3288. })
  3289.  
  3290.  
  3291. table.insert(module, {
  3292. Type = "Button",
  3293. Args = {"Teleport to dropped gun (NOT TESTED)", function(Self)
  3294. if not workspace:FindFirstChild("GunDrop") then fu.notification("No dropped gun to be teleported to.") return end
  3295. local previousPosition = localplayer.Character:GetPivot().Position
  3296. localplayer.Character:MoveTo(workspace:FindFirstChild("GunDrop").Position)
  3297. task.wait(.1)
  3298. localplayer.Character:MoveTo(previousPosition)
  3299. --fu.notification("Attempting a pathfind to gun..")
  3300.  
  3301. --local pathToGun = phs:CreatePath({
  3302. -- AgentRadius = 7,
  3303. -- AgentHeight = localplayer.Character:GetExtentsSize().Y,
  3304. -- AgentCanJump = true
  3305. --})
  3306. --local completed, err = pcall(function()
  3307. -- pathToGun:ComputeAsync(localplayer.Character.PrimaryPart.Position, Vector3.new(workspace:FindFirstChild("GunDrop"):GetPivot().X, workspace:FindFirstChild("GunDrop"):GetPivot().Y, workspace:FindFirstChild("GunDrop"):GetPivot().Z))
  3308. --end)
  3309.  
  3310. --if completed and pathToGun.Status == Enum.PathStatus.Success then
  3311. -- fu.notification("Found a path. Moving.")
  3312. -- for _, waypoint in pathToGun:GetWaypoints() do
  3313. -- task.wait(0.05)
  3314. -- game:GetService("TweenService"):Create(localplayer.Character:WaitForChild("HumanoidRootPart"), TweenInfo.new(0.05, Enum.EasingStyle.Linear), {
  3315. -- CFrame = CFrame.new(waypoint.Position + Vector3.new(0, 3, 0))
  3316. -- }):Play()
  3317. -- end
  3318. --else
  3319. -- fu.notification("Couldn't find a proper path to gun. Try moving a little closer to the gun.")
  3320. --end
  3321. end,}
  3322. })
  3323.  
  3324. table.insert(module, {
  3325. Type = "Button",
  3326. Args = {"God mode (Very, VERY UNSTABLE)", function(Self) -- Credits to , Infinite Yield
  3327. local Cam = workspace.CurrentCamera
  3328. local Pos, Char = Cam.CFrame, localplayer.Character
  3329. local Human = Char and Char.FindFirstChildWhichIsA(Char, "Humanoid")
  3330. local nHuman = Human.Clone(Human)
  3331. nHuman.Parent, localplayer.Character = Char, nil
  3332. nHuman.SetStateEnabled(nHuman, 15, false)
  3333. nHuman.SetStateEnabled(nHuman, 1, false)
  3334. nHuman.SetStateEnabled(nHuman, 0, false)
  3335. nHuman.BreakJointsOnDeath, Human = true, Human.Destroy(Human)
  3336. localplayer.Character, Cam.CameraSubject, Cam.CFrame = Char, nHuman, wait() and Pos
  3337. nHuman.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  3338. local Script = Char.FindFirstChild(Char, "Animate")
  3339. if Script then
  3340. Script.Disabled = true
  3341. wait()
  3342. Script.Disabled = false
  3343. end
  3344. nHuman.Health = nHuman.MaxHealth
  3345. end,}
  3346. })
  3347.  
  3348.  
  3349. table.insert(module, {
  3350. Type = "Button",
  3351. Args = {"Kill murderer immediately (DETECTABLE)", function()
  3352. if findSheriff() ~= localplayer then fu.notification("You're not sheriff/hero.") return end
  3353. if not findMurderer() then
  3354. fu.notification("No murderer to shoot.")
  3355. return
  3356. end
  3357.  
  3358. if not localplayer.Character:FindFirstChild("Gun") then
  3359. local hum = localplayer.Character:FindFirstChild("Humanoid")
  3360. if localplayer.Backpack:FindFirstChild("Gun") then
  3361. localplayer.Character:FindFirstChild("Humanoid"):EquipTool(localplayer.Backpack:FindFirstChild("Gun"))
  3362. else
  3363. fu.notification("You don't have the gun..?")
  3364. return
  3365. end
  3366. end
  3367.  
  3368. local Murderer = findMurderer()
  3369.  
  3370. if Murderer and Murderer.Character then
  3371.  
  3372. -- Get the HumanoidRootParts
  3373. local localRootPart = localplayer.Character:FindFirstChild("HumanoidRootPart")
  3374. local nearestRootPart = Murderer.Character:FindFirstChild("HumanoidRootPart")
  3375.  
  3376. if localRootPart and nearestRootPart then
  3377. -- Calculate the look vector of the nearest player
  3378. local lookVector = nearestRootPart.CFrame.LookVector
  3379.  
  3380. -- Calculate the offset position behind the nearest player
  3381. local offsetPosition = nearestRootPart.Position - (lookVector * 5) -- 7 studs behind
  3382.  
  3383. -- Teleport the local player to the offset position
  3384. localRootPart.CFrame = CFrame.new(offsetPosition) * CFrame.Angles(0, nearestRootPart.CFrame.Y, 0)
  3385. end
  3386. else
  3387. fu.notification("Can't find a murderer!?")
  3388. end
  3389. task.wait(0.1)
  3390. local murdererHRP = Murderer.Character:FindFirstChild("HumanoidRootPart")
  3391. if not murdererHRP then
  3392. fu.notification("Could not find the murderer's HumanoidRootPart.")
  3393. return
  3394. end
  3395.  
  3396. local predictedPosition = getPredictedPosition(Murderer, shootOffset)
  3397.  
  3398. local args = {
  3399. [1] = 1,
  3400. [2] = predictedPosition,
  3401. [3] = "AH"
  3402. }
  3403.  
  3404. localplayer.Character.Gun.KnifeServer.ShootGun:InvokeServer(unpack(args))
  3405. end,}
  3406. })
  3407.  
  3408. table.insert(module, {
  3409. Type = "Button",
  3410. Args = {"Kill closest player as murderer (DETECTABLE)", function()
  3411. if findMurderer() ~= localplayer then fu.notification("You're not murderer.") return end
  3412.  
  3413. if not localplayer.Character:FindFirstChild("Knife") then
  3414. local hum = localplayer.Character:FindFirstChild("Humanoid")
  3415. if localplayer.Backpack:FindFirstChild("Knife") then
  3416. localplayer.Character:FindFirstChild("Humanoid"):EquipTool(localplayer.Backpack:FindFirstChild("Knife"))
  3417. else
  3418. fu.notification("You don't have the knife..?")
  3419. return
  3420. end
  3421. end
  3422.  
  3423. local NearestPlayer = findNearestPlayer()
  3424.  
  3425. if NearestPlayer and NearestPlayer.Character then
  3426.  
  3427. -- Get the HumanoidRootParts
  3428. local localRootPart = localplayer.Character:FindFirstChild("HumanoidRootPart")
  3429. local nearestRootPart = NearestPlayer.Character:FindFirstChild("HumanoidRootPart")
  3430.  
  3431. if localRootPart and nearestRootPart then
  3432. -- Calculate the look vector of the nearest player
  3433. local lookVector = nearestRootPart.CFrame.LookVector
  3434.  
  3435. -- Calculate the offset position behind the nearest player
  3436. local offsetPosition = nearestRootPart.Position - (lookVector)
  3437.  
  3438. -- Teleport the local player to the offset position
  3439. localRootPart.CFrame = CFrame.lookAt(localRootPart.CFrame.Position, nearestRootPart.CFrame.Position) * CFrame.new(offsetPosition)
  3440. end
  3441. else
  3442. fu.notification("Can't find a player!?")
  3443. end
  3444. local args = {
  3445. [1] = "Slash"
  3446. }
  3447.  
  3448. localplayer.Character.Knife.Stab:FireServer(unpack(args))
  3449.  
  3450. end,}
  3451. })
  3452.  
  3453. _G.Modules[#_G.Modules + 1] = module
  3454.  
  3455. end
  3456. local function TPWEQ_fake_script() -- Fake Script: StarterGui.BRX.AddCustomModule.Add.LocalScript
  3457. local script = Instance.new("LocalScript")
  3458. script.Name = "LocalScript"
  3459. script.Parent = Converted["_Add"]
  3460. local req = require
  3461. local require = function(obj)
  3462. local fake = fake_module_scripts[obj]
  3463. if fake then
  3464. return fake()
  3465. end
  3466. return req(obj)
  3467. end
  3468.  
  3469. local ts = game:GetService("TweenService")
  3470.  
  3471.  
  3472. script.Parent.MouseButton1Click:Connect(function()
  3473. if script.Parent.Parent.TextBox.Text == "" then return end
  3474. ts:Create(script.Parent.Parent.Parent.Menu.UIScale, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  3475. Scale = 1
  3476. }):Play()
  3477. ts:Create(script.Parent.Parent, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  3478. Position = UDim2.fromScale(0.5, -0.5)
  3479. }):Play()
  3480.  
  3481.  
  3482. local lastmodule = _G.Modules[#_G.Modules]
  3483. require(script.Parent.Parent.Parent.FUNCTIONS).notification("Module is loading...")
  3484. local newmodule = loadstring(game:HttpGet(script.Parent.Parent.TextBox.Text))()
  3485. if newmodule["BG_TASK"] then
  3486. coroutine.wrap(newmodule["BG_TASK"])()
  3487. end
  3488. if _G.Modules[#_G.Modules] ~= lastmodule then
  3489. local newmodule = _G.Modules[#_G.Modules]
  3490. require(script.Parent.Parent.Parent.FUNCTIONS).notification("New module added: " .. newmodule["Name"])
  3491. require(script.Parent.Parent.Parent.FUNCTIONS).refreshlist()
  3492. else
  3493. require(script.Parent.Parent.Parent.FUNCTIONS).notification("Module failed to load after 5 seconds.")
  3494. end
  3495. end)
  3496. end
  3497. local function DVIEZV_fake_script() -- Fake Script: StarterGui.BRX.AddCustomModule.Cancel.LocalScript
  3498. local script = Instance.new("LocalScript")
  3499. script.Name = "LocalScript"
  3500. script.Parent = Converted["_Cancel"]
  3501. local req = require
  3502. local require = function(obj)
  3503. local fake = fake_module_scripts[obj]
  3504. if fake then
  3505. return fake()
  3506. end
  3507. return req(obj)
  3508. end
  3509.  
  3510. local ts = game:GetService("TweenService")
  3511.  
  3512. script.Parent.MouseButton1Click:Connect(function()
  3513. ts:Create(script.Parent.Parent.Parent.Menu.UIScale, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  3514. Scale = 1
  3515. }):Play()
  3516. ts:Create(script.Parent.Parent, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  3517. Position = UDim2.fromScale(0.5, -0.5)
  3518. }):Play()
  3519. end)
  3520. end
  3521. local function JBARY_fake_script() -- Fake Script: StarterGui.BRX.Menu.UIStroke.UIGradient.Animator
  3522. local script = Instance.new("LocalScript")
  3523. script.Name = "Animator"
  3524. script.Parent = Converted["_UIGradient3"]
  3525. local req = require
  3526. local require = function(obj)
  3527. local fake = fake_module_scripts[obj]
  3528. if fake then
  3529. return fake()
  3530. end
  3531. return req(obj)
  3532. end
  3533.  
  3534. local ts = game:GetService("TweenService")
  3535.  
  3536. ts:Create(script.Parent, TweenInfo.new(
  3537. 10, Enum.EasingStyle.Linear, Enum.EasingDirection.InOut,
  3538. math.huge, false), {
  3539. Rotation = -180
  3540. }):Play()
  3541. end
  3542. local function KKFHESK_fake_script() -- Fake Script: StarterGui.BRX.Menu.List.AutoSetup
  3543. local script = Instance.new("LocalScript")
  3544. script.Name = "AutoSetup"
  3545. script.Parent = Converted["_List"]
  3546. local req = require
  3547. local require = function(obj)
  3548. local fake = fake_module_scripts[obj]
  3549. if fake then
  3550. return fake()
  3551. end
  3552. return req(obj)
  3553. end
  3554.  
  3555. local ts = game:GetService("TweenService")
  3556.  
  3557.  
  3558. local States = {}
  3559.  
  3560. local FloatingButtonConnectionsMouse = {}
  3561. local FloatingButtonConnectionsTouch = {}
  3562.  
  3563. task.wait(0.1)
  3564.  
  3565. AREA = script.Parent.Parent.Area
  3566.  
  3567. local function calculateWidth(n)
  3568. if n <= 3 then
  3569. return 30
  3570. else
  3571. local base = 30
  3572. local additional = math.floor((n - 3) / 3) * 30
  3573. return base + additional
  3574. end
  3575. end
  3576.  
  3577. local listlayout = Instance.new("UIListLayout")
  3578. listlayout.Parent = AREA
  3579. listlayout.Padding = UDim.new(0, 10)
  3580. listlayout.FillDirection = Enum.FillDirection.Vertical
  3581. listlayout.SortOrder = Enum.SortOrder.LayoutOrder
  3582. listlayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  3583.  
  3584.  
  3585.  
  3586.  
  3587. task.wait(.5) -- magic number to wait modules to load lmao
  3588. task.spawn(function()
  3589. require(script.Parent.Parent.Parent.FUNCTIONS).refreshlist()
  3590. for i = 1, 10 do
  3591. task.wait(.1)
  3592. require(script.Parent.Parent.Parent.FUNCTIONS).refreshlist()
  3593. end
  3594. end)
  3595. end
  3596. local function UNZFLN_fake_script() -- Fake Script: StarterGui.BRX.Menu.AddCustomModule.LocalScript
  3597. local script = Instance.new("LocalScript")
  3598. script.Name = "LocalScript"
  3599. script.Parent = Converted["_AddCustomModule1"]
  3600. local req = require
  3601. local require = function(obj)
  3602. local fake = fake_module_scripts[obj]
  3603. if fake then
  3604. return fake()
  3605. end
  3606. return req(obj)
  3607. end
  3608.  
  3609. local ts = game:GetService("TweenService")
  3610.  
  3611. script.Parent.MouseButton1Click:Connect(function()
  3612. ts:Create(script.Parent.Parent.UIScale, TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  3613. Scale = 0.9
  3614. }):Play()
  3615. ts:Create(script.Parent.Parent.Parent.AddCustomModule, TweenInfo.new(0.6, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
  3616. Position = UDim2.fromScale(0.5, 0.5)
  3617. }):Play()
  3618. end)
  3619. end
  3620. local function RAVM_fake_script() -- Fake Script: StarterGui.BRX.Menu.Close.LocalScript
  3621. local script = Instance.new("LocalScript")
  3622. script.Name = "LocalScript"
  3623. script.Parent = Converted["_Close"]
  3624. local req = require
  3625. local require = function(obj)
  3626. local fake = fake_module_scripts[obj]
  3627. if fake then
  3628. return fake()
  3629. end
  3630. return req(obj)
  3631. end
  3632.  
  3633. local ts = game:GetService("TweenService")
  3634.  
  3635. script.Parent.MouseButton1Click:Connect(function()
  3636. print("-")
  3637. ts:Create(_G.BRX.Menu, TweenInfo.new(0.4, Enum.EasingStyle.Circular, Enum.EasingDirection.Out),
  3638. {Size = UDim2.fromOffset(55, 55)}
  3639. ):Play()
  3640.  
  3641. script.Parent.Parent.CanvasGroup.Visible = true
  3642. ts:Create(script.Parent.Parent.CanvasGroup, TweenInfo.new(0.6, Enum.EasingStyle.Circular, Enum.EasingDirection.Out), {
  3643. GroupTransparency = 0
  3644. }):Play()
  3645. end)
  3646. end
  3647. local function HGNMM_fake_script() -- Fake Script: StarterGui.BRX.Menu.CanvasGroup.Opener.LocalScript
  3648. local script = Instance.new("LocalScript")
  3649. script.Name = "LocalScript"
  3650. script.Parent = Converted["_Opener"]
  3651. local req = require
  3652. local require = function(obj)
  3653. local fake = fake_module_scripts[obj]
  3654. if fake then
  3655. return fake()
  3656. end
  3657. return req(obj)
  3658. end
  3659.  
  3660. local ts = game:GetService("TweenService")
  3661. local ready = true
  3662.  
  3663.  
  3664. script.Parent.MouseButton1Click:Connect(function()
  3665. if not ready then return end
  3666. ready = false
  3667. ts:Create(_G.BRX.Menu, TweenInfo.new(0.4, Enum.EasingStyle.Circular, Enum.EasingDirection.Out),
  3668. {Size = UDim2.fromOffset(441, 268)}
  3669. ):Play()
  3670.  
  3671.  
  3672. ts:Create(script.Parent.Parent, TweenInfo.new(0.6, Enum.EasingStyle.Circular, Enum.EasingDirection.Out), {
  3673. GroupTransparency = 1
  3674. }):Play()
  3675. task.wait(0.6)
  3676. script.Parent.Parent.Visible = false
  3677. ready = true
  3678. end)
  3679. end
  3680.  
  3681. coroutine.wrap(IFCIG_fake_script)()
  3682. coroutine.wrap(HHXHJDN_fake_script)()
  3683. coroutine.wrap(BWHXI_fake_script)()
  3684. coroutine.wrap(HQJY_fake_script)()
  3685. coroutine.wrap(MXJGMO_fake_script)()
  3686. coroutine.wrap(GSQOCQJ_fake_script)()
  3687. coroutine.wrap(KCKC_fake_script)()
  3688. coroutine.wrap(WBSA_fake_script)()
  3689. coroutine.wrap(PXTLP_fake_script)()
  3690. coroutine.wrap(TPWEQ_fake_script)()
  3691. coroutine.wrap(DVIEZV_fake_script)()
  3692. coroutine.wrap(JBARY_fake_script)()
  3693. coroutine.wrap(KKFHESK_fake_script)()
  3694. coroutine.wrap(UNZFLN_fake_script)()
  3695. coroutine.wrap(RAVM_fake_script)()
  3696. coroutine.wrap(HGNMM_fake_script)()
Tags: #MM2
Advertisement
Add Comment
Please, Sign In to add comment