Advertisement
Steamhesaproblox

Roblox infinite yield Elmas

May 17th, 2025
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RBScript 469.01 KB | Gaming | 0 0
  1. if IY_LOADED and not _G.IY_DEBUG == true then
  2.     -- error("Elmas is already running!", 0)
  3.     return
  4. end
  5.  
  6. pcall(function() getgenv().IY_LOADED = true end)
  7.  
  8. local cloneref = cloneref or function(o) return o end
  9. COREGUI = cloneref(game:GetService("CoreGui"))
  10. Players = cloneref(game:GetService("Players"))
  11.  
  12. if not game:IsLoaded() then
  13.     local notLoaded = Instance.new("Message")
  14.     notLoaded.Parent = COREGUI
  15.     notLoaded.Text = "Elmas is waiting for the game to load"
  16.     game.Loaded:Wait()
  17.     notLoaded:Destroy()
  18. end
  19.  
  20. currentVersion = "6.1"
  21.  
  22. Holder = Instance.new("Frame")
  23. Title = Instance.new("TextLabel")
  24. Dark = Instance.new("Frame")
  25. Cmdbar = Instance.new("TextBox")
  26. CMDsF = Instance.new("ScrollingFrame")
  27. cmdListLayout = Instance.new("UIListLayout")
  28. SettingsButton = Instance.new("ImageButton")
  29. ColorsButton = Instance.new("ImageButton")
  30. Settings = Instance.new("Frame")
  31. Prefix = Instance.new("TextLabel")
  32. PrefixBox = Instance.new("TextBox")
  33. Keybinds = Instance.new("TextLabel")
  34. StayOpen = Instance.new("TextLabel")
  35. Button = Instance.new("Frame")
  36. On = Instance.new("TextButton")
  37. Positions = Instance.new("TextLabel")
  38. EventBind = Instance.new("TextLabel")
  39. Plugins = Instance.new("TextLabel")
  40. Example = Instance.new("TextButton")
  41. Notification = Instance.new("Frame")
  42. Title_2 = Instance.new("TextLabel")
  43. Text_2 = Instance.new("TextLabel")
  44. CloseButton = Instance.new("TextButton")
  45. CloseImage = Instance.new("ImageLabel")
  46. PinButton = Instance.new("TextButton")
  47. PinImage = Instance.new("ImageLabel")
  48. Tooltip = Instance.new("Frame")
  49. Title_3 = Instance.new("TextLabel")
  50. Description = Instance.new("TextLabel")
  51. IntroBackground = Instance.new("Frame")
  52. Logo = Instance.new("ImageLabel")
  53. Credits = Instance.new("TextBox")
  54. KeybindsFrame = Instance.new("Frame")
  55. Close = Instance.new("TextButton")
  56. Add = Instance.new("TextButton")
  57. Delete = Instance.new("TextButton")
  58. Holder_2 = Instance.new("ScrollingFrame")
  59. Example_2 = Instance.new("Frame")
  60. Text_3 = Instance.new("TextLabel")
  61. Delete_2 = Instance.new("TextButton")
  62. KeybindEditor = Instance.new("Frame")
  63. background_2 = Instance.new("Frame")
  64. Dark_3 = Instance.new("Frame")
  65. Directions = Instance.new("TextLabel")
  66. BindTo = Instance.new("TextButton")
  67. TriggerLabel = Instance.new("TextLabel")
  68. BindTriggerSelect = Instance.new("TextButton")
  69. Add_2 = Instance.new("TextButton")
  70. Toggles = Instance.new("ScrollingFrame")
  71. ClickTP  = Instance.new("TextLabel")
  72. Select = Instance.new("TextButton")
  73. ClickDelete = Instance.new("TextLabel")
  74. Select_2 = Instance.new("TextButton")
  75. Cmdbar_2 = Instance.new("TextBox")
  76. Cmdbar_3 = Instance.new("TextBox")
  77. CreateToggle = Instance.new("TextLabel")
  78. Button_2 = Instance.new("Frame")
  79. On_2 = Instance.new("TextButton")
  80. shadow_2 = Instance.new("Frame")
  81. PopupText_2 = Instance.new("TextLabel")
  82. Exit_2 = Instance.new("TextButton")
  83. ExitImage_2 = Instance.new("ImageLabel")
  84. PositionsFrame = Instance.new("Frame")
  85. Close_3 = Instance.new("TextButton")
  86. Delete_5 = Instance.new("TextButton")
  87. Part = Instance.new("TextButton")
  88. Holder_4 = Instance.new("ScrollingFrame")
  89. Example_4 = Instance.new("Frame")
  90. Text_5 = Instance.new("TextLabel")
  91. Delete_6 = Instance.new("TextButton")
  92. TP = Instance.new("TextButton")
  93. AliasesFrame = Instance.new("Frame")
  94. Close_2 = Instance.new("TextButton")
  95. Delete_3 = Instance.new("TextButton")
  96. Holder_3 = Instance.new("ScrollingFrame")
  97. Example_3 = Instance.new("Frame")
  98. Text_4 = Instance.new("TextLabel")
  99. Delete_4 = Instance.new("TextButton")
  100. Aliases = Instance.new("TextLabel")
  101. PluginsFrame = Instance.new("Frame")
  102. Close_4 = Instance.new("TextButton")
  103. Add_3 = Instance.new("TextButton")
  104. Holder_5 = Instance.new("ScrollingFrame")
  105. Example_5 = Instance.new("Frame")
  106. Text_6 = Instance.new("TextLabel")
  107. Delete_7 = Instance.new("TextButton")
  108. PluginEditor = Instance.new("Frame")
  109. background_3 = Instance.new("Frame")
  110. Dark_2 = Instance.new("Frame")
  111. Img = Instance.new("ImageButton")
  112. AddPlugin = Instance.new("TextButton")
  113. FileName = Instance.new("TextBox")
  114. About = Instance.new("TextLabel")
  115. Directions_2 = Instance.new("TextLabel")
  116. shadow_3 = Instance.new("Frame")
  117. PopupText_3 = Instance.new("TextLabel")
  118. Exit_3 = Instance.new("TextButton")
  119. ExitImage_3 = Instance.new("ImageLabel")
  120. AliasHint = Instance.new("TextLabel")
  121. PluginsHint = Instance.new("TextLabel")
  122. PositionsHint = Instance.new("TextLabel")
  123. ToPartFrame = Instance.new("Frame")
  124. background_4 = Instance.new("Frame")
  125. ChoosePart = Instance.new("TextButton")
  126. CopyPath = Instance.new("TextButton")
  127. Directions_3 = Instance.new("TextLabel")
  128. Path = Instance.new("TextLabel")
  129. shadow_4 = Instance.new("Frame")
  130. PopupText_5 = Instance.new("TextLabel")
  131. Exit_4 = Instance.new("TextButton")
  132. ExitImage_5 = Instance.new("ImageLabel")
  133. logs = Instance.new("Frame")
  134. shadow = Instance.new("Frame")
  135. Hide = Instance.new("TextButton")
  136. ImageLabel = Instance.new("ImageLabel")
  137. PopupText = Instance.new("TextLabel")
  138. Exit = Instance.new("TextButton")
  139. ImageLabel_2 = Instance.new("ImageLabel")
  140. background = Instance.new("Frame")
  141. chat = Instance.new("Frame")
  142. Clear = Instance.new("TextButton")
  143. SaveChatlogs = Instance.new("TextButton")
  144. Toggle = Instance.new("TextButton")
  145. scroll_2 = Instance.new("ScrollingFrame")
  146. join = Instance.new("Frame")
  147. Toggle_2 = Instance.new("TextButton")
  148. Clear_2 = Instance.new("TextButton")
  149. scroll_3 = Instance.new("ScrollingFrame")
  150. listlayout = Instance.new("UIListLayout",scroll_3)
  151. selectChat = Instance.new("TextButton")
  152. selectJoin = Instance.new("TextButton")
  153.  
  154. function randomString()
  155.     local length = math.random(10,20)
  156.     local array = {}
  157.     for i = 1, length do
  158.         array[i] = string.char(math.random(32, 126))
  159.     end
  160.     return table.concat(array)
  161. end
  162.  
  163. PARENT = nil
  164. if get_hidden_gui or gethui then
  165.     local hiddenUI = get_hidden_gui or gethui
  166.     local Main = Instance.new("ScreenGui")
  167.     Main.Name = randomString()
  168.     Main.Parent = hiddenUI()
  169.     PARENT = Main
  170. elseif (not is_sirhurt_closure) and (syn and syn.protect_gui) then
  171.     local Main = Instance.new("ScreenGui")
  172.     Main.Name = randomString()
  173.     syn.protect_gui(Main)
  174.     Main.Parent = COREGUI
  175.     PARENT = Main
  176. elseif COREGUI:FindFirstChild('RobloxGui') then
  177.     PARENT = COREGUI.RobloxGui
  178. else
  179.     local Main = Instance.new("ScreenGui")
  180.     Main.Name = randomString()
  181.     Main.Parent = COREGUI
  182.     PARENT = Main
  183. end
  184.  
  185. shade1 = {}
  186. shade2 = {}
  187. shade3 = {}
  188. text1 = {}
  189. text2 = {}
  190. scroll = {}
  191.  
  192. Holder.Name = randomString()
  193. Holder.Parent = PARENT
  194. Holder.Active = true
  195. Holder.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  196. Holder.BorderSizePixel = 0
  197. Holder.Position = UDim2.new(1, -250, 1, -220)
  198. Holder.Size = UDim2.new(0, 250, 0, 220)
  199. Holder.ZIndex = 10
  200. table.insert(shade2,Holder)
  201.  
  202. Title.Name = "Title"
  203. Title.Parent = Holder
  204. Title.Active = true
  205. Title.BackgroundColor3 = Color3.fromRGB(36,36,37)
  206. Title.BorderSizePixel = 0
  207. Title.Size = UDim2.new(0, 250, 0, 20)
  208. Title.Font = Enum.Font.SourceSans
  209. Title.TextSize = 18
  210. Title.Text = "Elmas FE v" .. currentVersion
  211.  
  212. do
  213.     local emoji = ({
  214.         ["01 01"] = "🎆",
  215.         [(function(Year)
  216.             local A = math.floor(Year/100)
  217.             local B = math.floor((13+8*A)/25)
  218.             local C = (15-B+A-math.floor(A/4))%30
  219.             local D = (4+A-math.floor(A/4))%7
  220.             local E = (19*(Year%19)+C)%30
  221.             local F = (2*(Year%4)+4*(Year%7)+6*E+D)%7
  222.             local G = (22+E+F)
  223.             if E == 29 and F == 6 then
  224.                 return "04 19"
  225.             elseif E == 28 and F == 6 then
  226.                 return "04 18"
  227.             elseif 31 < G then
  228.                 return ("04 %02d"):format(G-31)
  229.             end
  230.             return ("03 %02d"):format(G)
  231.         end)(tonumber(os.date"%Y"))] = "🥚",
  232.         ["10 31"] = "🎃",
  233.         ["12 25"] = "🎄"
  234.     })[os.date("%m %d")]
  235.     if emoji then
  236.         Title.Text = ("%s %s %s"):format(emoji, Title.Text, emoji)
  237.     end
  238. end
  239.  
  240. Title.TextColor3 = Color3.new(1, 1, 1)
  241. Title.ZIndex = 10
  242. table.insert(shade1,Title)
  243. table.insert(text1,Title)
  244.  
  245. Dark.Name = "Dark"
  246. Dark.Parent = Holder
  247. Dark.Active = true
  248. Dark.BackgroundColor3 = Color3.fromRGB(0, 65, 195)
  249. Dark.BorderSizePixel = 0
  250. Dark.Position = UDim2.new(0, 0, 0, 45)
  251. Dark.Size = UDim2.new(0, 250, 0, 175)
  252. Dark.ZIndex = 10
  253. table.insert(shade1,Dark)
  254.  
  255. Cmdbar.Name = "Cmdbar"
  256. Cmdbar.Parent = Holder
  257. Cmdbar.BackgroundTransparency = 1
  258. Cmdbar.BorderSizePixel = 0
  259. Cmdbar.Position = UDim2.new(0, 5, 0, 20)
  260. Cmdbar.Size = UDim2.new(0, 240, 0, 25)
  261. Cmdbar.Font = Enum.Font.SourceSans
  262. Cmdbar.TextSize = 18
  263. Cmdbar.TextXAlignment = Enum.TextXAlignment.Left
  264. Cmdbar.TextColor3 = Color3.new(1, 1, 1)
  265. Cmdbar.Text = ""
  266. Cmdbar.ZIndex = 10
  267. Cmdbar.PlaceholderText = "Command Bar"
  268.  
  269. CMDsF.Name = "CMDs"
  270. CMDsF.Parent = Holder
  271. CMDsF.BackgroundTransparency = 1
  272. CMDsF.BorderSizePixel = 0
  273. CMDsF.Position = UDim2.new(0, 5, 0, 45)
  274. CMDsF.Size = UDim2.new(0, 245, 0, 175)
  275. CMDsF.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  276. CMDsF.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  277. CMDsF.CanvasSize = UDim2.new(0, 0, 0, 0)
  278. CMDsF.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  279. CMDsF.ScrollBarThickness = 8
  280. CMDsF.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  281. CMDsF.VerticalScrollBarInset = 'Always'
  282. CMDsF.ZIndex = 10
  283. table.insert(scroll,CMDsF)
  284.  
  285. cmdListLayout.Parent = CMDsF
  286.  
  287. SettingsButton.Name = "SettingsButton"
  288. SettingsButton.Parent = Holder
  289. SettingsButton.BackgroundTransparency = 1
  290. SettingsButton.Position = UDim2.new(0, 230, 0, 0)
  291. SettingsButton.Size = UDim2.new(0, 20, 0, 20)
  292. SettingsButton.Image = "rbxassetid://1204397029"
  293. SettingsButton.ZIndex = 10
  294.  
  295. ReferenceButton = Instance.new("ImageButton")
  296. ReferenceButton.Name = "ReferenceButton"
  297. ReferenceButton.Parent = Holder
  298. ReferenceButton.BackgroundTransparency = 1
  299. ReferenceButton.Position = UDim2.new(0, 212, 0, 2)
  300. ReferenceButton.Size = UDim2.new(0, 16, 0, 16)
  301. ReferenceButton.Image = "rbxassetid://3523243755"
  302. ReferenceButton.ZIndex = 10
  303.  
  304. Settings.Name = "Settings"
  305. Settings.Parent = Holder
  306. Settings.Active = true
  307. Settings.BackgroundColor3 = Color3.fromRGB(0, 65, 195)
  308. Settings.BorderSizePixel = 0
  309. Settings.Position = UDim2.new(0, 0, 0, 220)
  310. Settings.Size = UDim2.new(0, 250, 0, 175)
  311. Settings.ZIndex = 10
  312. table.insert(shade1,Settings)
  313.  
  314. SettingsHolder = Instance.new("ScrollingFrame")
  315. SettingsHolder.Name = "Holder"
  316. SettingsHolder.Parent = Settings
  317. SettingsHolder.BackgroundTransparency = 1
  318. SettingsHolder.BorderSizePixel = 0
  319. SettingsHolder.Size = UDim2.new(1,0,1,0)
  320. SettingsHolder.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  321. SettingsHolder.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  322. SettingsHolder.CanvasSize = UDim2.new(0, 0, 0, 235)
  323. SettingsHolder.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  324. SettingsHolder.ScrollBarThickness = 8
  325. SettingsHolder.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  326. SettingsHolder.VerticalScrollBarInset = 'Always'
  327. SettingsHolder.ZIndex = 10
  328. table.insert(scroll,SettingsHolder)
  329.  
  330. Prefix.Name = "Prefix"
  331. Prefix.Parent = SettingsHolder
  332. Prefix.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  333. Prefix.BorderSizePixel = 0
  334. Prefix.BackgroundTransparency = 1
  335. Prefix.Position = UDim2.new(0, 5, 0, 5)
  336. Prefix.Size = UDim2.new(1, -10, 0, 20)
  337. Prefix.Font = Enum.Font.SourceSans
  338. Prefix.TextSize = 14
  339. Prefix.Text = "Prefix"
  340. Prefix.TextColor3 = Color3.new(1, 1, 1)
  341. Prefix.TextXAlignment = Enum.TextXAlignment.Left
  342. Prefix.ZIndex = 10
  343. table.insert(shade2,Prefix)
  344. table.insert(text1,Prefix)
  345.  
  346. PrefixBox.Name = "PrefixBox"
  347. PrefixBox.Parent = Prefix
  348. PrefixBox.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  349. PrefixBox.BorderSizePixel = 0
  350. PrefixBox.Position = UDim2.new(1, -20, 0, 0)
  351. PrefixBox.Size = UDim2.new(0, 20, 0, 20)
  352. PrefixBox.Font = Enum.Font.SourceSansBold
  353. PrefixBox.TextSize = 14
  354. PrefixBox.Text = ''
  355. PrefixBox.TextColor3 = Color3.new(0, 0, 0)
  356. PrefixBox.ZIndex = 10
  357. table.insert(shade3,PrefixBox)
  358. table.insert(text2,PrefixBox)
  359.  
  360. function makeSettingsButton(name,iconID,off)
  361.     local button = Instance.new("TextButton")
  362.     button.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  363.     button.BorderSizePixel = 0
  364.     button.Position = UDim2.new(0,0,0,0)
  365.     button.Size = UDim2.new(1,0,0,25)
  366.     button.Text = ""
  367.     button.ZIndex = 10
  368.     local icon = Instance.new("ImageLabel")
  369.     icon.Name = "Icon"
  370.     icon.Parent = button
  371.     icon.Position = UDim2.new(0,5,0,5)
  372.     icon.Size = UDim2.new(0,16,0,16)
  373.     icon.BackgroundTransparency = 1
  374.     icon.Image = iconID
  375.     icon.ZIndex = 10
  376.     if off then
  377.         icon.ScaleType = Enum.ScaleType.Crop
  378.         icon.ImageRectSize = Vector2.new(16,16)
  379.         icon.ImageRectOffset = Vector2.new(off,0)
  380.     end
  381.     local label = Instance.new("TextLabel")
  382.     label.Name = "ButtonLabel"
  383.     label.Parent = button
  384.     label.BackgroundTransparency = 1
  385.     label.Text = name
  386.     label.Position = UDim2.new(0,28,0,0)
  387.     label.Size = UDim2.new(1,-28,1,0)
  388.     label.Font = Enum.Font.SourceSans
  389.     label.TextColor3 = Color3.new(1, 1, 1)
  390.     label.TextSize = 14
  391.     label.ZIndex = 10
  392.     label.TextXAlignment = Enum.TextXAlignment.Left
  393.     table.insert(shade2,button)
  394.     table.insert(text1,label)
  395.     return button
  396. end
  397.  
  398. ColorsButton = makeSettingsButton("Edit Theme","rbxassetid://4911962991")
  399. ColorsButton.Position = UDim2.new(0,5,0,55)
  400. ColorsButton.Size = UDim2.new(1,-10,0,25)
  401. ColorsButton.Name = "Colors"
  402. ColorsButton.Parent = SettingsHolder
  403.  
  404. Keybinds = makeSettingsButton("Edit Keybinds","rbxassetid://129697930")
  405. Keybinds.Position = UDim2.new(0, 5, 0, 85)
  406. Keybinds.Size = UDim2.new(1, -10, 0, 25)
  407. Keybinds.Name = "Keybinds"
  408. Keybinds.Parent = SettingsHolder
  409.  
  410. Aliases = makeSettingsButton("Edit Aliases","rbxassetid://5147488658")
  411. Aliases.Position = UDim2.new(0, 5, 0, 115)
  412. Aliases.Size = UDim2.new(1, -10, 0, 25)
  413. Aliases.Name = "Aliases"
  414. Aliases.Parent = SettingsHolder
  415.  
  416. StayOpen.Name = "StayOpen"
  417. StayOpen.Parent = SettingsHolder
  418. StayOpen.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  419. StayOpen.BorderSizePixel = 0
  420. StayOpen.BackgroundTransparency = 1
  421. StayOpen.Position = UDim2.new(0, 5, 0, 30)
  422. StayOpen.Size = UDim2.new(1, -10, 0, 20)
  423. StayOpen.Font = Enum.Font.SourceSans
  424. StayOpen.TextSize = 14
  425. StayOpen.Text = "Keep Menu Open"
  426. StayOpen.TextColor3 = Color3.new(1, 1, 1)
  427. StayOpen.TextXAlignment = Enum.TextXAlignment.Left
  428. StayOpen.ZIndex = 10
  429. table.insert(shade2,StayOpen)
  430. table.insert(text1,StayOpen)
  431.  
  432. Button.Name = "Button"
  433. Button.Parent = StayOpen
  434. Button.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  435. Button.BorderSizePixel = 0
  436. Button.Position = UDim2.new(1, -20, 0, 0)
  437. Button.Size = UDim2.new(0, 20, 0, 20)
  438. Button.ZIndex = 10
  439. table.insert(shade3,Button)
  440.  
  441. On.Name = "On"
  442. On.Parent = Button
  443. On.BackgroundColor3 = Color3.fromRGB(50, 150, 255)
  444. On.BackgroundTransparency = 1
  445. On.BorderSizePixel = 0
  446. On.Position = UDim2.new(0, 2, 0, 2)
  447. On.Size = UDim2.new(0, 16, 0, 16)
  448. On.Font = Enum.Font.SourceSans
  449. On.FontSize = Enum.FontSize.Size14
  450. On.Text = ""
  451. On.TextColor3 = Color3.new(0, 0, 0)
  452. On.ZIndex = 10
  453.  
  454. Positions = makeSettingsButton("Edit/Goto Waypoints","rbxassetid://5147488592")
  455. Positions.Position = UDim2.new(0, 5, 0, 145)
  456. Positions.Size = UDim2.new(1, -10, 0, 25)
  457. Positions.Name = "Waypoints"
  458. Positions.Parent = SettingsHolder
  459.  
  460. EventBind = makeSettingsButton("Edit Event Binds","rbxassetid://5147695474",759)
  461. EventBind.Position = UDim2.new(0, 5, 0, 205)
  462. EventBind.Size = UDim2.new(1, -10, 0, 25)
  463. EventBind.Name = "EventBinds"
  464. EventBind.Parent = SettingsHolder
  465.  
  466. Plugins = makeSettingsButton("Manage Plugins","rbxassetid://5147695474",743)
  467. Plugins.Position = UDim2.new(0, 5, 0, 175)
  468. Plugins.Size = UDim2.new(1, -10, 0, 25)
  469. Plugins.Name = "Plugins"
  470. Plugins.Parent = SettingsHolder
  471.  
  472. Example.Name = "Example"
  473. Example.Parent = Holder
  474. Example.BackgroundTransparency = 1
  475. Example.BorderSizePixel = 0
  476. Example.Size = UDim2.new(0, 190, 0, 20)
  477. Example.Visible = false
  478. Example.Font = Enum.Font.SourceSans
  479. Example.TextSize = 18
  480. Example.Text = "Example"
  481. Example.TextColor3 = Color3.new(1, 1, 1)
  482. Example.TextXAlignment = Enum.TextXAlignment.Left
  483. Example.ZIndex = 10
  484. table.insert(text1,Example)
  485.  
  486. Notification.Name = randomString()
  487. Notification.Parent = PARENT
  488. Notification.BackgroundColor3 = Color3.fromRGB(0, 65, 195)
  489. Notification.BorderSizePixel = 0
  490. Notification.Position = UDim2.new(1, -500, 1, 20)
  491. Notification.Size = UDim2.new(0, 250, 0, 100)
  492. Notification.ZIndex = 10
  493. table.insert(shade1,Notification)
  494.  
  495. Title_2.Name = "Title"
  496. Title_2.Parent = Notification
  497. Title_2.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  498. Title_2.BorderSizePixel = 0
  499. Title_2.Size = UDim2.new(0, 250, 0, 20)
  500. Title_2.Font = Enum.Font.SourceSans
  501. Title_2.TextSize = 14
  502. Title_2.Text = "Notification Title"
  503. Title_2.TextColor3 = Color3.new(1, 1, 1)
  504. Title_2.ZIndex = 10
  505. table.insert(shade2,Title_2)
  506. table.insert(text1,Title_2)
  507.  
  508. Text_2.Name = "Text"
  509. Text_2.Parent = Notification
  510. Text_2.BackgroundTransparency = 1
  511. Text_2.BorderSizePixel = 0
  512. Text_2.Position = UDim2.new(0, 5, 0, 25)
  513. Text_2.Size = UDim2.new(0, 240, 0, 75)
  514. Text_2.Font = Enum.Font.SourceSans
  515. Text_2.TextSize = 16
  516. Text_2.Text = "Notification Text"
  517. Text_2.TextColor3 = Color3.new(1, 1, 1)
  518. Text_2.TextWrapped = true
  519. Text_2.ZIndex = 10
  520. table.insert(text1,Text_2)
  521.  
  522. CloseButton.Name = "CloseButton"
  523. CloseButton.Parent = Notification
  524. CloseButton.BackgroundTransparency = 1
  525. CloseButton.Position = UDim2.new(1, -20, 0, 0)
  526. CloseButton.Size = UDim2.new(0, 20, 0, 20)
  527. CloseButton.Text = ""
  528. CloseButton.ZIndex = 10
  529.  
  530. CloseImage.Parent = CloseButton
  531. CloseImage.BackgroundColor3 = Color3.new(1, 1, 1)
  532. CloseImage.BackgroundTransparency = 1
  533. CloseImage.Position = UDim2.new(0, 5, 0, 5)
  534. CloseImage.Size = UDim2.new(0, 10, 0, 10)
  535. CloseImage.Image = "rbxassetid://5054663650"
  536. CloseImage.ZIndex = 10
  537.  
  538. PinButton.Name = "PinButton"
  539. PinButton.Parent = Notification
  540. PinButton.BackgroundTransparency = 1
  541. PinButton.Size = UDim2.new(0, 20, 0, 20)
  542. PinButton.ZIndex = 10
  543. PinButton.Text = ""
  544.  
  545. PinImage.Parent = PinButton
  546. PinImage.BackgroundColor3 = Color3.new(1, 1, 1)
  547. PinImage.BackgroundTransparency = 1
  548. PinImage.Position = UDim2.new(0, 3, 0, 3)
  549. PinImage.Size = UDim2.new(0, 14, 0, 14)
  550. PinImage.ZIndex = 10
  551. PinImage.Image = "rbxassetid://6234691350"
  552.  
  553. Tooltip.Name = randomString()
  554. Tooltip.Parent = PARENT
  555. Tooltip.Active = true
  556. Tooltip.BackgroundColor3 = Color3.fromRGB(0, 65, 195)
  557. Tooltip.BackgroundTransparency = 0.1
  558. Tooltip.BorderSizePixel = 0
  559. Tooltip.Size = UDim2.new(0, 200, 0, 96)
  560. Tooltip.Visible = false
  561. Tooltip.ZIndex = 10
  562. table.insert(shade1,Tooltip)
  563.  
  564. Title_3.Name = "Title"
  565. Title_3.Parent = Tooltip
  566. Title_3.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  567. Title_3.BackgroundTransparency = 0.1
  568. Title_3.BorderSizePixel = 0
  569. Title_3.Size = UDim2.new(0, 200, 0, 20)
  570. Title_3.Font = Enum.Font.SourceSans
  571. Title_3.TextSize = 14
  572. Title_3.Text = ""
  573. Title_3.TextColor3 = Color3.new(1, 1, 1)
  574. Title_3.TextTransparency = 0.1
  575. Title_3.ZIndex = 10
  576. table.insert(shade2,Title_3)
  577. table.insert(text1,Title_3)
  578.  
  579. Description.Name = "Description"
  580. Description.Parent = Tooltip
  581. Description.BackgroundTransparency = 1
  582. Description.BorderSizePixel = 0
  583. Description.Size = UDim2.new(0,180,0,72)
  584. Description.Position = UDim2.new(0,10,0,18)
  585. Description.Font = Enum.Font.SourceSans
  586. Description.TextSize = 16
  587. Description.Text = ""
  588. Description.TextColor3 = Color3.new(1, 1, 1)
  589. Description.TextTransparency = 0.1
  590. Description.TextWrapped = true
  591. Description.ZIndex = 10
  592. table.insert(text1,Description)
  593.  
  594. IntroBackground.Name = "IntroBackground"
  595. IntroBackground.Parent = Holder
  596. IntroBackground.Active = true
  597. IntroBackground.BackgroundColor3 = Color3.fromRGB(0, 65, 195)
  598. IntroBackground.BorderSizePixel = 0
  599. IntroBackground.Position = UDim2.new(0, 0, 0, 45)
  600. IntroBackground.Size = UDim2.new(0, 250, 0, 175)
  601. IntroBackground.ZIndex = 10
  602.  
  603. Logo.Name = "Logo"
  604. Logo.Parent = Holder
  605. Logo.BackgroundTransparency = 1
  606. Logo.BorderSizePixel = 0
  607. Logo.Position = UDim2.new(0, 125, 0, 127)
  608. Logo.Size = UDim2.new(0, 10, 0, 10)
  609. Logo.Image = "rbxassetid://1352543873"
  610. Logo.ImageTransparency = 0
  611. Logo.ZIndex = 10
  612.  
  613. Credits.Name = "Credits"
  614. Credits.Parent = Holder
  615. Credits.BackgroundTransparency = 1
  616. Credits.BorderSizePixel = 0
  617. Credits.Position = UDim2.new(0, 0, 0.9, 30)
  618. Credits.Size = UDim2.new(0, 250, 0, 20)
  619. Credits.Font = Enum.Font.SourceSansLight
  620. Credits.FontSize = Enum.FontSize.Size18
  621. Credits.Text = "Edge // Zwolf // Moon // Toon"
  622. Credits.TextColor3 = Color3.new(1, 1, 1)
  623. Credits.ZIndex = 10
  624.  
  625. KeybindsFrame.Name = "KeybindsFrame"
  626. KeybindsFrame.Parent = Settings
  627. KeybindsFrame.Active = true
  628. KeybindsFrame.BackgroundColor3 = Color3.fromRGB(0, 65, 195)
  629. KeybindsFrame.BorderSizePixel = 0
  630. KeybindsFrame.Position = UDim2.new(0, 0, 0, 175)
  631. KeybindsFrame.Size = UDim2.new(0, 250, 0, 175)
  632. KeybindsFrame.ZIndex = 10
  633. table.insert(shade1,KeybindsFrame)
  634.  
  635. Close.Name = "Close"
  636. Close.Parent = KeybindsFrame
  637. Close.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  638. Close.BorderSizePixel = 0
  639. Close.Position = UDim2.new(0, 205, 0, 150)
  640. Close.Size = UDim2.new(0, 40, 0, 20)
  641. Close.Font = Enum.Font.SourceSans
  642. Close.TextSize = 14
  643. Close.Text = "Close"
  644. Close.TextColor3 = Color3.new(1, 1, 1)
  645. Close.ZIndex = 10
  646. table.insert(shade2,Close)
  647. table.insert(text1,Close)
  648.  
  649. Add.Name = "Add"
  650. Add.Parent = KeybindsFrame
  651. Add.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  652. Add.BorderSizePixel = 0
  653. Add.Position = UDim2.new(0, 5, 0, 150)
  654. Add.Size = UDim2.new(0, 40, 0, 20)
  655. Add.Font = Enum.Font.SourceSans
  656. Add.TextSize = 14
  657. Add.Text = "Add"
  658. Add.TextColor3 = Color3.new(1, 1, 1)
  659. Add.ZIndex = 10
  660. table.insert(shade2,Add)
  661. table.insert(text1,Add)
  662.  
  663. Delete.Name = "Delete"
  664. Delete.Parent = KeybindsFrame
  665. Delete.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  666. Delete.BorderSizePixel = 0
  667. Delete.Position = UDim2.new(0, 50, 0, 150)
  668. Delete.Size = UDim2.new(0, 40, 0, 20)
  669. Delete.Font = Enum.Font.SourceSans
  670. Delete.TextSize = 14
  671. Delete.Text = "Clear"
  672. Delete.TextColor3 = Color3.new(1, 1, 1)
  673. Delete.ZIndex = 10
  674. table.insert(shade2,Delete)
  675. table.insert(text1,Delete)
  676.  
  677. Holder_2.Name = "Holder"
  678. Holder_2.Parent = KeybindsFrame
  679. Holder_2.BackgroundTransparency = 1
  680. Holder_2.BorderSizePixel = 0
  681. Holder_2.Position = UDim2.new(0, 0, 0, 0)
  682. Holder_2.Size = UDim2.new(0, 250, 0, 145)
  683. Holder_2.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  684. Holder_2.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  685. Holder_2.CanvasSize = UDim2.new(0, 0, 0, 0)
  686. Holder_2.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  687. Holder_2.ScrollBarThickness = 0
  688. Holder_2.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  689. Holder_2.VerticalScrollBarInset = 'Always'
  690. Holder_2.ZIndex = 10
  691.  
  692. Example_2.Name = "Example"
  693. Example_2.Parent = KeybindsFrame
  694. Example_2.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  695. Example_2.BorderSizePixel = 0
  696. Example_2.Size = UDim2.new(0, 10, 0, 20)
  697. Example_2.Visible = false
  698. Example_2.ZIndex = 10
  699. table.insert(shade2,Example_2)
  700.  
  701. Text_3.Name = "Text"
  702. Text_3.Parent = Example_2
  703. Text_3.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  704. Text_3.BorderSizePixel = 0
  705. Text_3.Position = UDim2.new(0, 10, 0, 0)
  706. Text_3.Size = UDim2.new(0, 240, 0, 20)
  707. Text_3.Font = Enum.Font.SourceSans
  708. Text_3.TextSize = 14
  709. Text_3.Text = "nom"
  710. Text_3.TextColor3 = Color3.new(1, 1, 1)
  711. Text_3.TextXAlignment = Enum.TextXAlignment.Left
  712. Text_3.ZIndex = 10
  713. table.insert(shade2,Text_3)
  714. table.insert(text1,Text_3)
  715.  
  716. Delete_2.Name = "Delete"
  717. Delete_2.Parent = Text_3
  718. Delete_2.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  719. Delete_2.BorderSizePixel = 0
  720. Delete_2.Position = UDim2.new(0, 200, 0, 0)
  721. Delete_2.Size = UDim2.new(0, 40, 0, 20)
  722. Delete_2.Font = Enum.Font.SourceSans
  723. Delete_2.TextSize = 14
  724. Delete_2.Text = "Delete"
  725. Delete_2.TextColor3 = Color3.new(0, 0, 0)
  726. Delete_2.ZIndex = 10
  727. table.insert(shade3,Delete_2)
  728. table.insert(text2,Delete_2)
  729.  
  730. KeybindEditor.Name = randomString()
  731. KeybindEditor.Parent = PARENT
  732. KeybindEditor.Active = true
  733. KeybindEditor.BackgroundTransparency = 1
  734. KeybindEditor.Position = UDim2.new(0.5, -180, 0, -500)
  735. KeybindEditor.Size = UDim2.new(0, 360, 0, 20)
  736. KeybindEditor.ZIndex = 10
  737.  
  738. background_2.Name = "background"
  739. background_2.Parent = KeybindEditor
  740. background_2.Active = true
  741. background_2.BackgroundColor3 = Color3.fromRGB(0, 65, 195)
  742. background_2.BorderSizePixel = 0
  743. background_2.Position = UDim2.new(0, 0, 0, 20)
  744. background_2.Size = UDim2.new(0, 360, 0, 185)
  745. background_2.ZIndex = 10
  746. table.insert(shade1,background_2)
  747.  
  748. Dark_3.Name = "Dark"
  749. Dark_3.Parent = background_2
  750. Dark_3.Active = true
  751. Dark_3.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  752. Dark_3.BorderSizePixel = 0
  753. Dark_3.Position = UDim2.new(0, 135, 0, 0)
  754. Dark_3.Size = UDim2.new(0, 2, 0, 185)
  755. Dark_3.ZIndex = 10
  756. table.insert(shade2,Dark_3)
  757.  
  758. Directions.Name = "Directions"
  759. Directions.Parent = background_2
  760. Directions.BackgroundTransparency = 1
  761. Directions.BorderSizePixel = 0
  762. Directions.Position = UDim2.new(0, 10, 0, 15)
  763. Directions.Size = UDim2.new(0, 115, 0, 90)
  764. Directions.ZIndex = 10
  765. Directions.Font = Enum.Font.SourceSans
  766. Directions.Text = "Click the button below and press a key/mouse button. Then select what you want to bind it to."
  767. Directions.TextColor3 = Color3.fromRGB(255, 255, 255)
  768. Directions.TextSize = 14.000
  769. Directions.TextWrapped = true
  770. Directions.TextYAlignment = Enum.TextYAlignment.Top
  771. table.insert(text1,Directions)
  772.  
  773. BindTo.Name = "BindTo"
  774. BindTo.Parent = background_2
  775. BindTo.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  776. BindTo.BorderSizePixel = 0
  777. BindTo.Position = UDim2.new(0, 10, 0, 95)
  778. BindTo.Size = UDim2.new(0, 115, 0, 50)
  779. BindTo.ZIndex = 10
  780. BindTo.Font = Enum.Font.SourceSans
  781. BindTo.Text = "Click to bind"
  782. BindTo.TextColor3 = Color3.fromRGB(255, 255, 255)
  783. BindTo.TextSize = 16.000
  784. table.insert(shade2,BindTo)
  785. table.insert(text1,BindTo)
  786.  
  787. TriggerLabel.Name = "TriggerLabel"
  788. TriggerLabel.Parent = background_2
  789. TriggerLabel.BackgroundTransparency = 1
  790. TriggerLabel.Position = UDim2.new(0, 10, 0, 155)
  791. TriggerLabel.Size = UDim2.new(0, 45, 0, 20)
  792. TriggerLabel.ZIndex = 10
  793. TriggerLabel.Font = Enum.Font.SourceSans
  794. TriggerLabel.Text = "Trigger:"
  795. TriggerLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  796. TriggerLabel.TextSize = 14.000
  797. TriggerLabel.TextXAlignment = Enum.TextXAlignment.Left
  798. table.insert(text1,TriggerLabel)
  799.  
  800. BindTriggerSelect.Name = "BindTo"
  801. BindTriggerSelect.Parent = background_2
  802. BindTriggerSelect.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  803. BindTriggerSelect.BorderSizePixel = 0
  804. BindTriggerSelect.Position = UDim2.new(0, 60, 0, 155)
  805. BindTriggerSelect.Size = UDim2.new(0, 65, 0, 20)
  806. BindTriggerSelect.ZIndex = 10
  807. BindTriggerSelect.Font = Enum.Font.SourceSans
  808. BindTriggerSelect.Text = "KeyDown"
  809. BindTriggerSelect.TextColor3 = Color3.fromRGB(255, 255, 255)
  810. BindTriggerSelect.TextSize = 16.000
  811. table.insert(shade2,BindTriggerSelect)
  812. table.insert(text1,BindTriggerSelect)
  813.  
  814. Add_2.Name = "Add"
  815. Add_2.Parent = background_2
  816. Add_2.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  817. Add_2.BorderSizePixel = 0
  818. Add_2.Position = UDim2.new(0, 310, 0, 35)
  819. Add_2.Size = UDim2.new(0, 40, 0, 20)
  820. Add_2.ZIndex = 10
  821. Add_2.Font = Enum.Font.SourceSans
  822. Add_2.Text = "Add"
  823. Add_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  824. Add_2.TextSize = 14.000
  825. table.insert(shade2,Add_2)
  826. table.insert(text1,Add_2)
  827.  
  828. Toggles.Name = "Toggles"
  829. Toggles.Parent = background_2
  830. Toggles.BackgroundTransparency = 1
  831. Toggles.BorderSizePixel = 0
  832. Toggles.Position = UDim2.new(0, 150, 0, 125)
  833. Toggles.Size = UDim2.new(0, 200, 0, 50)
  834. Toggles.ZIndex = 10
  835. Toggles.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  836. Toggles.CanvasSize = UDim2.new(0, 0, 0, 50)
  837. Toggles.ScrollBarThickness = 8
  838. Toggles.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  839. Toggles.VerticalScrollBarInset = Enum.ScrollBarInset.Always
  840. table.insert(scroll,Toggles)
  841.  
  842. ClickTP.Name = "Click TP (Hold Key & Click)"
  843. ClickTP.Parent = Toggles
  844. ClickTP.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  845. ClickTP.BorderSizePixel = 0
  846. ClickTP.Size = UDim2.new(0, 200, 0, 20)
  847. ClickTP.ZIndex = 10
  848. ClickTP.Font = Enum.Font.SourceSans
  849. ClickTP.Text = "    Click TP (Hold Key & Click)"
  850. ClickTP.TextColor3 = Color3.fromRGB(255, 255, 255)
  851. ClickTP.TextSize = 14.000
  852. ClickTP.TextXAlignment = Enum.TextXAlignment.Left
  853. table.insert(shade2,ClickTP)
  854. table.insert(text1,ClickTP)
  855.  
  856. Select.Name = "Select"
  857. Select.Parent = ClickTP
  858. Select.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  859. Select.BorderSizePixel = 0
  860. Select.Position = UDim2.new(0, 160, 0, 0)
  861. Select.Size = UDim2.new(0, 40, 0, 20)
  862. Select.ZIndex = 10
  863. Select.Font = Enum.Font.SourceSans
  864. Select.Text = "Add"
  865. Select.TextColor3 = Color3.fromRGB(0, 0, 0)
  866. Select.TextSize = 14.000
  867. table.insert(shade3,Select)
  868. table.insert(text2,Select)
  869.  
  870. ClickDelete.Name = "Click Delete (Hold Key & Click)"
  871. ClickDelete.Parent = Toggles
  872. ClickDelete.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  873. ClickDelete.BorderSizePixel = 0
  874. ClickDelete.Position = UDim2.new(0, 0, 0, 25)
  875. ClickDelete.Size = UDim2.new(0, 200, 0, 20)
  876. ClickDelete.ZIndex = 10
  877. ClickDelete.Font = Enum.Font.SourceSans
  878. ClickDelete.Text = "    Click Delete (Hold Key & Click)"
  879. ClickDelete.TextColor3 = Color3.fromRGB(255, 255, 255)
  880. ClickDelete.TextSize = 14.000
  881. ClickDelete.TextXAlignment = Enum.TextXAlignment.Left
  882. table.insert(shade2,ClickDelete)
  883. table.insert(text1,ClickDelete)
  884.  
  885. Select_2.Name = "Select"
  886. Select_2.Parent = ClickDelete
  887. Select_2.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  888. Select_2.BorderSizePixel = 0
  889. Select_2.Position = UDim2.new(0, 160, 0, 0)
  890. Select_2.Size = UDim2.new(0, 40, 0, 20)
  891. Select_2.ZIndex = 10
  892. Select_2.Font = Enum.Font.SourceSans
  893. Select_2.Text = "Add"
  894. Select_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  895. Select_2.TextSize = 14.000
  896. table.insert(shade3,Select_2)
  897. table.insert(text2,Select_2)
  898.  
  899. Cmdbar_2.Name = "Cmdbar_2"
  900. Cmdbar_2.Parent = background_2
  901. Cmdbar_2.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  902. Cmdbar_2.BorderSizePixel = 0
  903. Cmdbar_2.Position = UDim2.new(0, 150, 0, 35)
  904. Cmdbar_2.Size = UDim2.new(0, 150, 0, 20)
  905. Cmdbar_2.ZIndex = 10
  906. Cmdbar_2.Font = Enum.Font.SourceSans
  907. Cmdbar_2.PlaceholderText = "Command"
  908. Cmdbar_2.Text = ""
  909. Cmdbar_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  910. Cmdbar_2.TextSize = 14.000
  911. Cmdbar_2.TextXAlignment = Enum.TextXAlignment.Left
  912.  
  913. Cmdbar_3.Name = "Cmdbar_3"
  914. Cmdbar_3.Parent = background_2
  915. Cmdbar_3.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  916. Cmdbar_3.BorderSizePixel = 0
  917. Cmdbar_3.Position = UDim2.new(0, 150, 0, 60)
  918. Cmdbar_3.Size = UDim2.new(0, 150, 0, 20)
  919. Cmdbar_3.ZIndex = 10
  920. Cmdbar_3.Font = Enum.Font.SourceSans
  921. Cmdbar_3.PlaceholderText = "Command 2"
  922. Cmdbar_3.Text = ""
  923. Cmdbar_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  924. Cmdbar_3.TextSize = 14.000
  925. Cmdbar_3.TextXAlignment = Enum.TextXAlignment.Left
  926.  
  927. CreateToggle.Name = "CreateToggle"
  928. CreateToggle.Parent = background_2
  929. CreateToggle.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  930. CreateToggle.BackgroundTransparency = 1
  931. CreateToggle.BorderSizePixel = 0
  932. CreateToggle.Position = UDim2.new(0, 152, 0, 10)
  933. CreateToggle.Size = UDim2.new(0, 198, 0, 20)
  934. CreateToggle.ZIndex = 10
  935. CreateToggle.Font = Enum.Font.SourceSans
  936. CreateToggle.Text = "Create Toggle"
  937. CreateToggle.TextColor3 = Color3.fromRGB(255, 255, 255)
  938. CreateToggle.TextSize = 14.000
  939. CreateToggle.TextXAlignment = Enum.TextXAlignment.Left
  940. table.insert(text1,CreateToggle)
  941.  
  942. Button_2.Name = "Button"
  943. Button_2.Parent = CreateToggle
  944. Button_2.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  945. Button_2.BorderSizePixel = 0
  946. Button_2.Position = UDim2.new(1, -20, 0, 0)
  947. Button_2.Size = UDim2.new(0, 20, 0, 20)
  948. Button_2.ZIndex = 10
  949. table.insert(shade3,Button_2)
  950.  
  951. On_2.Name = "On"
  952. On_2.Parent = Button_2
  953. On_2.BackgroundColor3 = Color3.fromRGB(50, 150, 255)
  954. On_2.BackgroundTransparency = 1
  955. On_2.BorderSizePixel = 0
  956. On_2.Position = UDim2.new(0, 2, 0, 2)
  957. On_2.Size = UDim2.new(0, 16, 0, 16)
  958. On_2.ZIndex = 10
  959. On_2.Font = Enum.Font.SourceSans
  960. On_2.Text = ""
  961. On_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  962. On_2.TextSize = 14.000
  963.  
  964. shadow_2.Name = "shadow"
  965. shadow_2.Parent = KeybindEditor
  966. shadow_2.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  967. shadow_2.BorderSizePixel = 0
  968. shadow_2.Size = UDim2.new(0, 360, 0, 20)
  969. shadow_2.ZIndex = 10
  970. table.insert(shade2,shadow_2)
  971.  
  972. PopupText_2.Name = "PopupText_2"
  973. PopupText_2.Parent = shadow_2
  974. PopupText_2.BackgroundTransparency = 1
  975. PopupText_2.Size = UDim2.new(1, 0, 0.949999988, 0)
  976. PopupText_2.ZIndex = 10
  977. PopupText_2.Font = Enum.Font.SourceSans
  978. PopupText_2.Text = "Set Keybinds"
  979. PopupText_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  980. PopupText_2.TextSize = 14.000
  981. PopupText_2.TextWrapped = true
  982. table.insert(text1,PopupText_2)
  983.  
  984. Exit_2.Name = "Exit_2"
  985. Exit_2.Parent = shadow_2
  986. Exit_2.BackgroundTransparency = 1
  987. Exit_2.Position = UDim2.new(1, -20, 0, 0)
  988. Exit_2.Size = UDim2.new(0, 20, 0, 20)
  989. Exit_2.ZIndex = 10
  990. Exit_2.Text = ""
  991.  
  992. ExitImage_2.Parent = Exit_2
  993. ExitImage_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  994. ExitImage_2.BackgroundTransparency = 1
  995. ExitImage_2.Position = UDim2.new(0, 5, 0, 5)
  996. ExitImage_2.Size = UDim2.new(0, 10, 0, 10)
  997. ExitImage_2.ZIndex = 10
  998. ExitImage_2.Image = "rbxassetid://5054663650"
  999.  
  1000. PositionsFrame.Name = "PositionsFrame"
  1001. PositionsFrame.Parent = Settings
  1002. PositionsFrame.Active = true
  1003. PositionsFrame.BackgroundColor3 = Color3.fromRGB(0, 65, 195)
  1004. PositionsFrame.BorderSizePixel = 0
  1005. PositionsFrame.Size = UDim2.new(0, 250, 0, 175)
  1006. PositionsFrame.Position = UDim2.new(0, 0, 0, 175)
  1007. PositionsFrame.ZIndex = 10
  1008. table.insert(shade1,PositionsFrame)
  1009.  
  1010. Close_3.Name = "Close"
  1011. Close_3.Parent = PositionsFrame
  1012. Close_3.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1013. Close_3.BorderSizePixel = 0
  1014. Close_3.Position = UDim2.new(0, 205, 0, 150)
  1015. Close_3.Size = UDim2.new(0, 40, 0, 20)
  1016. Close_3.Font = Enum.Font.SourceSans
  1017. Close_3.TextSize = 14
  1018. Close_3.Text = "Close"
  1019. Close_3.TextColor3 = Color3.new(1, 1, 1)
  1020. Close_3.ZIndex = 10
  1021. table.insert(shade2,Close_3)
  1022. table.insert(text1,Close_3)
  1023.  
  1024. Delete_5.Name = "Delete"
  1025. Delete_5.Parent = PositionsFrame
  1026. Delete_5.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1027. Delete_5.BorderSizePixel = 0
  1028. Delete_5.Position = UDim2.new(0, 50, 0, 150)
  1029. Delete_5.Size = UDim2.new(0, 40, 0, 20)
  1030. Delete_5.Font = Enum.Font.SourceSans
  1031. Delete_5.TextSize = 14
  1032. Delete_5.Text = "Clear"
  1033. Delete_5.TextColor3 = Color3.new(1, 1, 1)
  1034. Delete_5.ZIndex = 10
  1035. table.insert(shade2,Delete_5)
  1036. table.insert(text1,Delete_5)
  1037.  
  1038. Part.Name = "PartGoto"
  1039. Part.Parent = PositionsFrame
  1040. Part.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1041. Part.BorderSizePixel = 0
  1042. Part.Position = UDim2.new(0, 5, 0, 150)
  1043. Part.Size = UDim2.new(0, 40, 0, 20)
  1044. Part.Font = Enum.Font.SourceSans
  1045. Part.TextSize = 14
  1046. Part.Text = "Part"
  1047. Part.TextColor3 = Color3.new(1, 1, 1)
  1048. Part.ZIndex = 10
  1049. table.insert(shade2,Part)
  1050. table.insert(text1,Part)
  1051.  
  1052. Holder_4.Name = "Holder"
  1053. Holder_4.Parent = PositionsFrame
  1054. Holder_4.BackgroundTransparency = 1
  1055. Holder_4.BorderSizePixel = 0
  1056. Holder_4.Position = UDim2.new(0, 0, 0, 0)
  1057. Holder_4.Selectable = false
  1058. Holder_4.Size = UDim2.new(0, 250, 0, 145)
  1059. Holder_4.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  1060. Holder_4.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1061. Holder_4.CanvasSize = UDim2.new(0, 0, 0, 0)
  1062. Holder_4.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1063. Holder_4.ScrollBarThickness = 0
  1064. Holder_4.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1065. Holder_4.VerticalScrollBarInset = 'Always'
  1066. Holder_4.ZIndex = 10
  1067.  
  1068. Example_4.Name = "Example"
  1069. Example_4.Parent = PositionsFrame
  1070. Example_4.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1071. Example_4.BorderSizePixel = 0
  1072. Example_4.Size = UDim2.new(0, 10, 0, 20)
  1073. Example_4.Visible = false
  1074. Example_4.Position = UDim2.new(0, 0, 0, -5)
  1075. Example_4.ZIndex = 10
  1076. table.insert(shade2,Example_4)
  1077.  
  1078. Text_5.Name = "Text"
  1079. Text_5.Parent = Example_4
  1080. Text_5.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1081. Text_5.BorderSizePixel = 0
  1082. Text_5.Position = UDim2.new(0, 10, 0, 0)
  1083. Text_5.Size = UDim2.new(0, 240, 0, 20)
  1084. Text_5.Font = Enum.Font.SourceSans
  1085. Text_5.TextSize = 14
  1086. Text_5.Text = "Position"
  1087. Text_5.TextColor3 = Color3.new(1, 1, 1)
  1088. Text_5.TextXAlignment = Enum.TextXAlignment.Left
  1089. Text_5.ZIndex = 10
  1090. table.insert(shade2,Text_5)
  1091. table.insert(text1,Text_5)
  1092.  
  1093. Delete_6.Name = "Delete"
  1094. Delete_6.Parent = Text_5
  1095. Delete_6.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  1096. Delete_6.BorderSizePixel = 0
  1097. Delete_6.Position = UDim2.new(0, 200, 0, 0)
  1098. Delete_6.Size = UDim2.new(0, 40, 0, 20)
  1099. Delete_6.Font = Enum.Font.SourceSans
  1100. Delete_6.TextSize = 14
  1101. Delete_6.Text = "Delete"
  1102. Delete_6.TextColor3 = Color3.new(0, 0, 0)
  1103. Delete_6.ZIndex = 10
  1104. table.insert(shade3,Delete_6)
  1105. table.insert(text2,Delete_6)
  1106.  
  1107. TP.Name = "TP"
  1108. TP.Parent = Text_5
  1109. TP.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  1110. TP.BorderSizePixel = 0
  1111. TP.Position = UDim2.new(0, 155, 0, 0)
  1112. TP.Size = UDim2.new(0, 40, 0, 20)
  1113. TP.Font = Enum.Font.SourceSans
  1114. TP.TextSize = 14
  1115. TP.Text = "Goto"
  1116. TP.TextColor3 = Color3.new(0, 0, 0)
  1117. TP.ZIndex = 10
  1118. table.insert(shade3,TP)
  1119. table.insert(text2,TP)
  1120.  
  1121. AliasesFrame.Name = "AliasesFrame"
  1122. AliasesFrame.Parent = Settings
  1123. AliasesFrame.Active = true
  1124. AliasesFrame.BackgroundColor3 = Color3.fromRGB(0, 65, 195)
  1125. AliasesFrame.BorderSizePixel = 0
  1126. AliasesFrame.Position = UDim2.new(0, 0, 0, 175)
  1127. AliasesFrame.Size = UDim2.new(0, 250, 0, 175)
  1128. AliasesFrame.ZIndex = 10
  1129. table.insert(shade1,AliasesFrame)
  1130.  
  1131. Close_2.Name = "Close"
  1132. Close_2.Parent = AliasesFrame
  1133. Close_2.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1134. Close_2.BorderSizePixel = 0
  1135. Close_2.Position = UDim2.new(0, 205, 0, 150)
  1136. Close_2.Size = UDim2.new(0, 40, 0, 20)
  1137. Close_2.Font = Enum.Font.SourceSans
  1138. Close_2.TextSize = 14
  1139. Close_2.Text = "Close"
  1140. Close_2.TextColor3 = Color3.new(1, 1, 1)
  1141. Close_2.ZIndex = 10
  1142. table.insert(shade2,Close_2)
  1143. table.insert(text1,Close_2)
  1144.  
  1145. Delete_3.Name = "Delete"
  1146. Delete_3.Parent = AliasesFrame
  1147. Delete_3.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1148. Delete_3.BorderSizePixel = 0
  1149. Delete_3.Position = UDim2.new(0, 5, 0, 150)
  1150. Delete_3.Size = UDim2.new(0, 40, 0, 20)
  1151. Delete_3.Font = Enum.Font.SourceSans
  1152. Delete_3.TextSize = 14
  1153. Delete_3.Text = "Clear"
  1154. Delete_3.TextColor3 = Color3.new(1, 1, 1)
  1155. Delete_3.ZIndex = 10
  1156. table.insert(shade2,Delete_3)
  1157. table.insert(text1,Delete_3)
  1158.  
  1159. Holder_3.Name = "Holder"
  1160. Holder_3.Parent = AliasesFrame
  1161. Holder_3.BackgroundTransparency = 1
  1162. Holder_3.BorderSizePixel = 0
  1163. Holder_3.Position = UDim2.new(0, 0, 0, 0)
  1164. Holder_3.Size = UDim2.new(0, 250, 0, 145)
  1165. Holder_3.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  1166. Holder_3.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1167. Holder_3.CanvasSize = UDim2.new(0, 0, 0, 0)
  1168. Holder_3.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1169. Holder_3.ScrollBarThickness = 0
  1170. Holder_3.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1171. Holder_3.VerticalScrollBarInset = 'Always'
  1172. Holder_3.ZIndex = 10
  1173.  
  1174. Example_3.Name = "Example"
  1175. Example_3.Parent = AliasesFrame
  1176. Example_3.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1177. Example_3.BorderSizePixel = 0
  1178. Example_3.Size = UDim2.new(0, 10, 0, 20)
  1179. Example_3.Visible = false
  1180. Example_3.ZIndex = 10
  1181. table.insert(shade2,Example_3)
  1182.  
  1183. Text_4.Name = "Text"
  1184. Text_4.Parent = Example_3
  1185. Text_4.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1186. Text_4.BorderSizePixel = 0
  1187. Text_4.Position = UDim2.new(0, 10, 0, 0)
  1188. Text_4.Size = UDim2.new(0, 240, 0, 20)
  1189. Text_4.Font = Enum.Font.SourceSans
  1190. Text_4.TextSize = 14
  1191. Text_4.Text = "honk"
  1192. Text_4.TextColor3 = Color3.new(1, 1, 1)
  1193. Text_4.TextXAlignment = Enum.TextXAlignment.Left
  1194. Text_4.ZIndex = 10
  1195. table.insert(shade2,Text_4)
  1196. table.insert(text1,Text_4)
  1197.  
  1198. Delete_4.Name = "Delete"
  1199. Delete_4.Parent = Text_4
  1200. Delete_4.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  1201. Delete_4.BorderSizePixel = 0
  1202. Delete_4.Position = UDim2.new(0, 200, 0, 0)
  1203. Delete_4.Size = UDim2.new(0, 40, 0, 20)
  1204. Delete_4.Font = Enum.Font.SourceSans
  1205. Delete_4.TextSize = 14
  1206. Delete_4.Text = "Delete"
  1207. Delete_4.TextColor3 = Color3.new(0, 0, 0)
  1208. Delete_4.ZIndex = 10
  1209. table.insert(shade3,Delete_4)
  1210. table.insert(text2,Delete_4)
  1211.  
  1212. PluginsFrame.Name = "PluginsFrame"
  1213. PluginsFrame.Parent = Settings
  1214. PluginsFrame.Active = true
  1215. PluginsFrame.BackgroundColor3 = Color3.fromRGB(0, 65, 195)
  1216. PluginsFrame.BorderSizePixel = 0
  1217. PluginsFrame.Position = UDim2.new(0, 0, 0, 175)
  1218. PluginsFrame.Size = UDim2.new(0, 250, 0, 175)
  1219. PluginsFrame.ZIndex = 10
  1220. table.insert(shade1,PluginsFrame)
  1221.  
  1222. Close_4.Name = "Close"
  1223. Close_4.Parent = PluginsFrame
  1224. Close_4.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1225. Close_4.BorderSizePixel = 0
  1226. Close_4.Position = UDim2.new(0, 205, 0, 150)
  1227. Close_4.Size = UDim2.new(0, 40, 0, 20)
  1228. Close_4.Font = Enum.Font.SourceSans
  1229. Close_4.TextSize = 14
  1230. Close_4.Text = "Close"
  1231. Close_4.TextColor3 = Color3.new(1, 1, 1)
  1232. Close_4.ZIndex = 10
  1233. table.insert(shade2,Close_4)
  1234. table.insert(text1,Close_4)
  1235.  
  1236. Add_3.Name = "Add"
  1237. Add_3.Parent = PluginsFrame
  1238. Add_3.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1239. Add_3.BorderSizePixel = 0
  1240. Add_3.Position = UDim2.new(0, 5, 0, 150)
  1241. Add_3.Size = UDim2.new(0, 40, 0, 20)
  1242. Add_3.Font = Enum.Font.SourceSans
  1243. Add_3.TextSize = 14
  1244. Add_3.Text = "Add"
  1245. Add_3.TextColor3 = Color3.new(1, 1, 1)
  1246. Add_3.ZIndex = 10
  1247. table.insert(shade2,Add_3)
  1248. table.insert(text1,Add_3)
  1249.  
  1250. Holder_5.Name = "Holder"
  1251. Holder_5.Parent = PluginsFrame
  1252. Holder_5.BackgroundTransparency = 1
  1253. Holder_5.BorderSizePixel = 0
  1254. Holder_5.Position = UDim2.new(0, 0, 0, 0)
  1255. Holder_5.Selectable = false
  1256. Holder_5.Size = UDim2.new(0, 250, 0, 145)
  1257. Holder_5.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  1258. Holder_5.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1259. Holder_5.CanvasSize = UDim2.new(0, 0, 0, 0)
  1260. Holder_5.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1261. Holder_5.ScrollBarThickness = 0
  1262. Holder_5.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1263. Holder_5.VerticalScrollBarInset = 'Always'
  1264. Holder_5.ZIndex = 10
  1265.  
  1266. Example_5.Name = "Example"
  1267. Example_5.Parent = PluginsFrame
  1268. Example_5.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1269. Example_5.BorderSizePixel = 0
  1270. Example_5.Size = UDim2.new(0, 10, 0, 20)
  1271. Example_5.Visible = false
  1272. Example_5.ZIndex = 10
  1273. table.insert(shade2,Example_5)
  1274.  
  1275. Text_6.Name = "Text"
  1276. Text_6.Parent = Example_5
  1277. Text_6.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1278. Text_6.BorderSizePixel = 0
  1279. Text_6.Position = UDim2.new(0, 10, 0, 0)
  1280. Text_6.Size = UDim2.new(0, 240, 0, 20)
  1281. Text_6.Font = Enum.Font.SourceSans
  1282. Text_6.TextSize = 14
  1283. Text_6.Text = "F4 > Toggle Fly"
  1284. Text_6.TextColor3 = Color3.new(1, 1, 1)
  1285. Text_6.TextXAlignment = Enum.TextXAlignment.Left
  1286. Text_6.ZIndex = 10
  1287. table.insert(shade2,Text_6)
  1288. table.insert(text1,Text_6)
  1289.  
  1290. Delete_7.Name = "Delete"
  1291. Delete_7.Parent = Text_6
  1292. Delete_7.BackgroundColor3 = Color3.fromRGB(0, 100, 255)
  1293. Delete_7.BorderSizePixel = 0
  1294. Delete_7.Position = UDim2.new(0, 200, 0, 0)
  1295. Delete_7.Size = UDim2.new(0, 40, 0, 20)
  1296. Delete_7.Font = Enum.Font.SourceSans
  1297. Delete_7.TextSize = 14
  1298. Delete_7.Text = "Delete"
  1299. Delete_7.TextColor3 = Color3.new(0, 0, 0)
  1300. Delete_7.ZIndex = 10
  1301. table.insert(shade3,Delete_7)
  1302. table.insert(text2,Delete_7)
  1303.  
  1304. PluginEditor.Name = randomString()
  1305. PluginEditor.Parent = PARENT
  1306. PluginEditor.BorderSizePixel = 0
  1307. PluginEditor.Active = true
  1308. PluginEditor.BackgroundTransparency = 1
  1309. PluginEditor.Position = UDim2.new(0.5, -180, 0, -500)
  1310. PluginEditor.Size = UDim2.new(0, 360, 0, 20)
  1311. PluginEditor.ZIndex = 10
  1312.  
  1313. background_3.Name = "background"
  1314. background_3.Parent = PluginEditor
  1315. background_3.Active = true
  1316. background_3.BackgroundColor3 = Color3.fromRGB(0, 65, 195)
  1317. background_3.BorderSizePixel = 0
  1318. background_3.Position = UDim2.new(0, 0, 0, 20)
  1319. background_3.Size = UDim2.new(0, 360, 0, 160)
  1320. background_3.ZIndex = 10
  1321. table.insert(shade1,background_3)
  1322.  
  1323. Dark_2.Name = "Dark"
  1324. Dark_2.Parent = background_3
  1325. Dark_2.Active = true
  1326. Dark_2.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1327. Dark_2.BorderSizePixel = 0
  1328. Dark_2.Position = UDim2.new(0, 222, 0, 0)
  1329. Dark_2.Size = UDim2.new(0, 2, 0, 160)
  1330. Dark_2.ZIndex = 10
  1331. table.insert(shade2,Dark_2)
  1332.  
  1333. Img.Name = "Img"
  1334. Img.Parent = background_3
  1335. Img.BackgroundTransparency = 1
  1336. Img.Position = UDim2.new(0, 242, 0, 3)
  1337. Img.Size = UDim2.new(0, 100, 0, 95)
  1338. Img.Image = "rbxassetid://4113050383"
  1339. Img.ZIndex = 10
  1340.  
  1341. AddPlugin.Name = "AddPlugin"
  1342. AddPlugin.Parent = background_3
  1343. AddPlugin.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1344. AddPlugin.BorderSizePixel = 0
  1345. AddPlugin.Position = UDim2.new(0, 235, 0, 100)
  1346. AddPlugin.Size = UDim2.new(0, 115, 0, 50)
  1347. AddPlugin.Font = Enum.Font.SourceSans
  1348. AddPlugin.TextSize = 14
  1349. AddPlugin.Text = "Add Plugin"
  1350. AddPlugin.TextColor3 = Color3.new(1, 1, 1)
  1351. AddPlugin.ZIndex = 10
  1352. table.insert(shade2,AddPlugin)
  1353. table.insert(text1,AddPlugin)
  1354.  
  1355. FileName.Name = "FileName"
  1356. FileName.Parent = background_3
  1357. FileName.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1358. FileName.BorderSizePixel = 0
  1359. FileName.Position = UDim2.new(0.028, 0, 0.625, 0)
  1360. FileName.Size = UDim2.new(0, 200, 0, 50)
  1361. FileName.Font = Enum.Font.SourceSans
  1362. FileName.TextSize = 14
  1363. FileName.Text = "Plugin File Name"
  1364. FileName.TextColor3 = Color3.new(1, 1, 1)
  1365. FileName.ZIndex = 10
  1366. table.insert(shade2,FileName)
  1367. table.insert(text1,FileName)
  1368.  
  1369. About.Name = "About"
  1370. About.Parent = background_3
  1371. About.BackgroundTransparency = 1
  1372. About.BorderSizePixel = 0
  1373. About.Position = UDim2.new(0, 17, 0, 10)
  1374. About.Size = UDim2.new(0, 187, 0, 49)
  1375. About.Font = Enum.Font.SourceSans
  1376. About.TextSize = 14
  1377. About.Text = "Plugins are .iy files and should be located in the 'workspace' folder of your exploit."
  1378. About.TextColor3 = Color3.fromRGB(255, 255, 255)
  1379. About.TextWrapped = true
  1380. About.TextYAlignment = Enum.TextYAlignment.Top
  1381. About.ZIndex = 10
  1382. table.insert(text1,About)
  1383.  
  1384. Directions_2.Name = "Directions"
  1385. Directions_2.Parent = background_3
  1386. Directions_2.BackgroundTransparency = 1
  1387. Directions_2.BorderSizePixel = 0
  1388. Directions_2.Position = UDim2.new(0, 17, 0, 60)
  1389. Directions_2.Size = UDim2.new(0, 187, 0, 49)
  1390. Directions_2.Font = Enum.Font.SourceSans
  1391. Directions_2.TextSize = 14
  1392. Directions_2.Text = "Type the name of the plugin file you want to add below."
  1393. Directions_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  1394. Directions_2.TextWrapped = true
  1395. Directions_2.TextYAlignment = Enum.TextYAlignment.Top
  1396. Directions_2.ZIndex = 10
  1397. table.insert(text1,Directions_2)
  1398.  
  1399. shadow_3.Name = "shadow"
  1400. shadow_3.Parent = PluginEditor
  1401. shadow_3.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1402. shadow_3.BorderSizePixel = 0
  1403. shadow_3.Size = UDim2.new(0, 360, 0, 20)
  1404. shadow_3.ZIndex = 10
  1405. table.insert(shade2,shadow_3)
  1406.  
  1407. PopupText_3.Name = "PopupText"
  1408. PopupText_3.Parent = shadow_3
  1409. PopupText_3.BackgroundTransparency = 1
  1410. PopupText_3.Size = UDim2.new(1, 0, 0.95, 0)
  1411. PopupText_3.ZIndex = 10
  1412. PopupText_3.Font = Enum.Font.SourceSans
  1413. PopupText_3.TextSize = 14
  1414. PopupText_3.Text = "Add Plugins"
  1415. PopupText_3.TextColor3 = Color3.new(1, 1, 1)
  1416. PopupText_3.TextWrapped = true
  1417. table.insert(text1,PopupText_3)
  1418.  
  1419. Exit_3.Name = "Exit"
  1420. Exit_3.Parent = shadow_3
  1421. Exit_3.BackgroundTransparency = 1
  1422. Exit_3.Position = UDim2.new(1, -20, 0, 0)
  1423. Exit_3.Size = UDim2.new(0, 20, 0, 20)
  1424. Exit_3.Text = ""
  1425. Exit_3.ZIndex = 10
  1426.  
  1427. ExitImage_3.Parent = Exit_3
  1428. ExitImage_3.BackgroundColor3 = Color3.new(1, 1, 1)
  1429. ExitImage_3.BackgroundTransparency = 1
  1430. ExitImage_3.Position = UDim2.new(0, 5, 0, 5)
  1431. ExitImage_3.Size = UDim2.new(0, 10, 0, 10)
  1432. ExitImage_3.Image = "rbxassetid://5054663650"
  1433. ExitImage_3.ZIndex = 10
  1434.  
  1435. AliasHint.Name = "AliasHint"
  1436. AliasHint.Parent = AliasesFrame
  1437. AliasHint.BackgroundTransparency = 1
  1438. AliasHint.BorderSizePixel = 0
  1439. AliasHint.Position = UDim2.new(0, 25, 0, 40)
  1440. AliasHint.Size = UDim2.new(0, 200, 0, 50)
  1441. AliasHint.Font = Enum.Font.SourceSansItalic
  1442. AliasHint.TextSize = 16
  1443. AliasHint.Text = "Add aliases by using the 'addalias' command"
  1444. AliasHint.TextColor3 = Color3.new(1, 1, 1)
  1445. AliasHint.TextStrokeColor3 = Color3.new(1, 1, 1)
  1446. AliasHint.TextWrapped = true
  1447. AliasHint.ZIndex = 10
  1448. table.insert(text1,AliasHint)
  1449.  
  1450. PluginsHint.Name = "PluginsHint"
  1451. PluginsHint.Parent = PluginsFrame
  1452. PluginsHint.BackgroundTransparency = 1
  1453. PluginsHint.BorderSizePixel = 0
  1454. PluginsHint.Position = UDim2.new(0, 25, 0, 40)
  1455. PluginsHint.Size = UDim2.new(0, 200, 0, 50)
  1456. PluginsHint.Font = Enum.Font.SourceSansItalic
  1457. PluginsHint.TextSize = 16
  1458. PluginsHint.Text = "Download plugins from the IY Discord (discord.gg/78ZuWSq)"
  1459. PluginsHint.TextColor3 = Color3.new(1, 1, 1)
  1460. PluginsHint.TextStrokeColor3 = Color3.new(1, 1, 1)
  1461. PluginsHint.TextWrapped = true
  1462. PluginsHint.ZIndex = 10
  1463. table.insert(text1,PluginsHint)
  1464.  
  1465. PositionsHint.Name = "PositionsHint"
  1466. PositionsHint.Parent = PositionsFrame
  1467. PositionsHint.BackgroundTransparency = 1
  1468. PositionsHint.BorderSizePixel = 0
  1469. PositionsHint.Position = UDim2.new(0, 25, 0, 40)
  1470. PositionsHint.Size = UDim2.new(0, 200, 0, 70)
  1471. PositionsHint.Font = Enum.Font.SourceSansItalic
  1472. PositionsHint.TextSize = 16
  1473. PositionsHint.Text = "Use the 'swp' or 'setwaypoint' command to add a position using your character (NOTE: Part teleports will not save)"
  1474. PositionsHint.TextColor3 = Color3.new(1, 1, 1)
  1475. PositionsHint.TextStrokeColor3 = Color3.new(1, 1, 1)
  1476. PositionsHint.TextWrapped = true
  1477. PositionsHint.ZIndex = 10
  1478. table.insert(text1,PositionsHint)
  1479.  
  1480. ToPartFrame.Name = randomString()
  1481. ToPartFrame.Parent = PARENT
  1482. ToPartFrame.Active = true
  1483. ToPartFrame.BackgroundTransparency = 1
  1484. ToPartFrame.Position = UDim2.new(0.5, -180, 0, -500)
  1485. ToPartFrame.Size = UDim2.new(0, 360, 0, 20)
  1486. ToPartFrame.ZIndex = 10
  1487.  
  1488. background_4.Name = "background"
  1489. background_4.Parent = ToPartFrame
  1490. background_4.Active = true
  1491. background_4.BackgroundColor3 = Color3.fromRGB(0, 65, 195)
  1492. background_4.BorderSizePixel = 0
  1493. background_4.Position = UDim2.new(0, 0, 0, 20)
  1494. background_4.Size = UDim2.new(0, 360, 0, 117)
  1495. background_4.ZIndex = 10
  1496. table.insert(shade1,background_4)
  1497.  
  1498. ChoosePart.Name = "ChoosePart"
  1499. ChoosePart.Parent = background_4
  1500. ChoosePart.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1501. ChoosePart.BorderSizePixel = 0
  1502. ChoosePart.Position = UDim2.new(0, 100, 0, 55)
  1503. ChoosePart.Size = UDim2.new(0, 75, 0, 30)
  1504. ChoosePart.Font = Enum.Font.SourceSans
  1505. ChoosePart.TextSize = 14
  1506. ChoosePart.Text = "Select Part"
  1507. ChoosePart.TextColor3 = Color3.new(1, 1, 1)
  1508. ChoosePart.ZIndex = 10
  1509. table.insert(shade2,ChoosePart)
  1510. table.insert(text1,ChoosePart)
  1511.  
  1512. CopyPath.Name = "CopyPath"
  1513. CopyPath.Parent = background_4
  1514. CopyPath.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1515. CopyPath.BorderSizePixel = 0
  1516. CopyPath.Position = UDim2.new(0, 185, 0, 55)
  1517. CopyPath.Size = UDim2.new(0, 75, 0, 30)
  1518. CopyPath.Font = Enum.Font.SourceSans
  1519. CopyPath.TextSize = 14
  1520. CopyPath.Text = "Copy Path"
  1521. CopyPath.TextColor3 = Color3.new(1, 1, 1)
  1522. CopyPath.ZIndex = 10
  1523. table.insert(shade2,CopyPath)
  1524. table.insert(text1,CopyPath)
  1525.  
  1526. Directions_3.Name = "Directions"
  1527. Directions_3.Parent = background_4
  1528. Directions_3.BackgroundTransparency = 1
  1529. Directions_3.BorderSizePixel = 0
  1530. Directions_3.Position = UDim2.new(0, 51, 0, 17)
  1531. Directions_3.Size = UDim2.new(0, 257, 0, 32)
  1532. Directions_3.Font = Enum.Font.SourceSans
  1533. Directions_3.TextSize = 14
  1534. Directions_3.Text = 'Click on a part and then click the "Select Part" button below to set it as a teleport location'
  1535. Directions_3.TextColor3 = Color3.new(1, 1, 1)
  1536. Directions_3.TextWrapped = true
  1537. Directions_3.TextYAlignment = Enum.TextYAlignment.Top
  1538. Directions_3.ZIndex = 10
  1539. table.insert(text1,Directions_3)
  1540.  
  1541. Path.Name = "Path"
  1542. Path.Parent = background_4
  1543. Path.BackgroundTransparency = 1
  1544. Path.BorderSizePixel = 0
  1545. Path.Position = UDim2.new(0, 0, 0, 94)
  1546. Path.Size = UDim2.new(0, 360, 0, 16)
  1547. Path.Font = Enum.Font.SourceSansItalic
  1548. Path.TextSize = 14
  1549. Path.Text = ""
  1550. Path.TextColor3 = Color3.new(1, 1, 1)
  1551. Path.TextScaled = true
  1552. Path.TextWrapped = true
  1553. Path.TextYAlignment = Enum.TextYAlignment.Top
  1554. Path.ZIndex = 10
  1555. table.insert(text1,Path)
  1556.  
  1557. shadow_4.Name = "shadow"
  1558. shadow_4.Parent = ToPartFrame
  1559. shadow_4.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  1560. shadow_4.BorderSizePixel = 0
  1561. shadow_4.Size = UDim2.new(0, 360, 0, 20)
  1562. shadow_4.ZIndex = 10
  1563. table.insert(shade2,shadow_4)
  1564.  
  1565. PopupText_5.Name = "PopupText"
  1566. PopupText_5.Parent = shadow_4
  1567. PopupText_5.BackgroundTransparency = 1
  1568. PopupText_5.Size = UDim2.new(1, 0, 0.95, 0)
  1569. PopupText_5.ZIndex = 10
  1570. PopupText_5.Font = Enum.Font.SourceSans
  1571. PopupText_5.TextSize = 14
  1572. PopupText_5.Text = "Teleport to Part"
  1573. PopupText_5.TextColor3 = Color3.new(1, 1, 1)
  1574. PopupText_5.TextWrapped = true
  1575. table.insert(text1,PopupText_5)
  1576.  
  1577. Exit_4.Name = "Exit"
  1578. Exit_4.Parent = shadow_4
  1579. Exit_4.BackgroundTransparency = 1
  1580. Exit_4.Position = UDim2.new(1, -20, 0, 0)
  1581. Exit_4.Size = UDim2.new(0, 20, 0, 20)
  1582. Exit_4.Text = ""
  1583. Exit_4.ZIndex = 10
  1584.  
  1585. ExitImage_5.Parent = Exit_4
  1586. ExitImage_5.BackgroundColor3 = Color3.new(1, 1, 1)
  1587. ExitImage_5.BackgroundTransparency = 1
  1588. ExitImage_5.Position = UDim2.new(0, 5, 0, 5)
  1589. ExitImage_5.Size = UDim2.new(0, 10, 0, 10)
  1590. ExitImage_5.Image = "rbxassetid://5054663650"
  1591. ExitImage_5.ZIndex = 10
  1592.  
  1593. logs.Name = randomString()
  1594. logs.Parent = PARENT
  1595. logs.Active = true
  1596. logs.BackgroundTransparency = 1
  1597. logs.Position = UDim2.new(0, 0, 1, 10)
  1598. logs.Size = UDim2.new(0, 338, 0, 20)
  1599. logs.ZIndex = 10
  1600.  
  1601. shadow.Name = "shadow"
  1602. shadow.Parent = logs
  1603. shadow.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1604. shadow.BorderSizePixel = 0
  1605. shadow.Position = UDim2.new(0, 0, 0.00999999978, 0)
  1606. shadow.Size = UDim2.new(0, 338, 0, 20)
  1607. shadow.ZIndex = 10
  1608. table.insert(shade2,shadow)
  1609.  
  1610. Hide.Name = "Hide"
  1611. Hide.Parent = shadow
  1612. Hide.BackgroundTransparency = 1
  1613. Hide.Position = UDim2.new(1, -40, 0, 0)
  1614. Hide.Size = UDim2.new(0, 20, 0, 20)
  1615. Hide.ZIndex = 10
  1616. Hide.Text = ""
  1617.  
  1618. ImageLabel.Parent = Hide
  1619. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  1620. ImageLabel.BackgroundTransparency = 1
  1621. ImageLabel.Position = UDim2.new(0, 3, 0, 3)
  1622. ImageLabel.Size = UDim2.new(0, 14, 0, 14)
  1623. ImageLabel.Image = "rbxassetid://2406617031"
  1624. ImageLabel.ZIndex = 10
  1625.  
  1626. PopupText.Name = "PopupText"
  1627. PopupText.Parent = shadow
  1628. PopupText.BackgroundTransparency = 1
  1629. PopupText.Size = UDim2.new(1, 0, 0.949999988, 0)
  1630. PopupText.ZIndex = 10
  1631. PopupText.Font = Enum.Font.SourceSans
  1632. PopupText.FontSize = Enum.FontSize.Size14
  1633. PopupText.Text = "Logs"
  1634. PopupText.TextColor3 = Color3.new(1, 1, 1)
  1635. PopupText.TextWrapped = true
  1636. table.insert(text1,PopupText)
  1637.  
  1638. Exit.Name = "Exit"
  1639. Exit.Parent = shadow
  1640. Exit.BackgroundTransparency = 1
  1641. Exit.Position = UDim2.new(1, -20, 0, 0)
  1642. Exit.Size = UDim2.new(0, 20, 0, 20)
  1643. Exit.ZIndex = 10
  1644. Exit.Text = ""
  1645.  
  1646. ImageLabel_2.Parent = Exit
  1647. ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  1648. ImageLabel_2.BackgroundTransparency = 1
  1649. ImageLabel_2.Position = UDim2.new(0, 5, 0, 5)
  1650. ImageLabel_2.Size = UDim2.new(0, 10, 0, 10)
  1651. ImageLabel_2.Image = "rbxassetid://5054663650"
  1652. ImageLabel_2.ZIndex = 10
  1653.  
  1654. background.Name = "background"
  1655. background.Parent = logs
  1656. background.Active = true
  1657. background.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098)
  1658. background.BorderSizePixel = 0
  1659. background.ClipsDescendants = true
  1660. background.Position = UDim2.new(0, 0, 1, 0)
  1661. background.Size = UDim2.new(0, 338, 0, 245)
  1662. background.ZIndex = 10
  1663.  
  1664. chat.Name = "chat"
  1665. chat.Parent = background
  1666. chat.Active = true
  1667. chat.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098)
  1668. chat.BorderSizePixel = 0
  1669. chat.ClipsDescendants = true
  1670. chat.Size = UDim2.new(0, 338, 0, 245)
  1671. chat.ZIndex = 10
  1672. table.insert(shade1,chat)
  1673.  
  1674. Clear.Name = "Clear"
  1675. Clear.Parent = chat
  1676. Clear.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1677. Clear.BorderSizePixel = 0
  1678. Clear.Position = UDim2.new(0, 5, 0, 220)
  1679. Clear.Size = UDim2.new(0, 50, 0, 20)
  1680. Clear.ZIndex = 10
  1681. Clear.Font = Enum.Font.SourceSans
  1682. Clear.FontSize = Enum.FontSize.Size14
  1683. Clear.Text = "Clear"
  1684. Clear.TextColor3 = Color3.new(1, 1, 1)
  1685. table.insert(shade2,Clear)
  1686. table.insert(text1,Clear)
  1687.  
  1688. SaveChatlogs.Name = "SaveChatlogs"
  1689. SaveChatlogs.Parent = chat
  1690. SaveChatlogs.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1691. SaveChatlogs.BorderSizePixel = 0
  1692. SaveChatlogs.Position = UDim2.new(0, 258, 0, 220)
  1693. SaveChatlogs.Size = UDim2.new(0, 75, 0, 20)
  1694. SaveChatlogs.ZIndex = 10
  1695. SaveChatlogs.Font = Enum.Font.SourceSans
  1696. SaveChatlogs.FontSize = Enum.FontSize.Size14
  1697. SaveChatlogs.Text = "Save To .txt"
  1698. SaveChatlogs.TextColor3 = Color3.new(1, 1, 1)
  1699. table.insert(shade2,SaveChatlogs)
  1700. table.insert(text1,SaveChatlogs)
  1701.  
  1702. Toggle.Name = "Toggle"
  1703. Toggle.Parent = chat
  1704. Toggle.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1705. Toggle.BorderSizePixel = 0
  1706. Toggle.Position = UDim2.new(0, 60, 0, 220)
  1707. Toggle.Size = UDim2.new(0, 66, 0, 20)
  1708. Toggle.ZIndex = 10
  1709. Toggle.Font = Enum.Font.SourceSans
  1710. Toggle.FontSize = Enum.FontSize.Size14
  1711. Toggle.Text = "Disabled"
  1712. Toggle.TextColor3 = Color3.new(1, 1, 1)
  1713. table.insert(shade2,Toggle)
  1714. table.insert(text1,Toggle)
  1715.  
  1716. scroll_2.Name = "scroll"
  1717. scroll_2.Parent = chat
  1718. scroll_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1719. scroll_2.BorderSizePixel = 0
  1720. scroll_2.Position = UDim2.new(0, 5, 0, 25)
  1721. scroll_2.Size = UDim2.new(0, 328, 0, 190)
  1722. scroll_2.ZIndex = 10
  1723. scroll_2.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1724. scroll_2.CanvasSize = UDim2.new(0, 0, 0, 10)
  1725. scroll_2.ScrollBarThickness = 8
  1726. scroll_2.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1727. table.insert(scroll,scroll_2)
  1728. table.insert(shade2,scroll_2)
  1729.  
  1730. join.Name = "join"
  1731. join.Parent = background
  1732. join.Active = true
  1733. join.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098)
  1734. join.BorderSizePixel = 0
  1735. join.ClipsDescendants = true
  1736. join.Size = UDim2.new(0, 338, 0, 245)
  1737. join.Visible = false
  1738. join.ZIndex = 10
  1739. table.insert(shade1,join)
  1740.  
  1741. Toggle_2.Name = "Toggle"
  1742. Toggle_2.Parent = join
  1743. Toggle_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1744. Toggle_2.BorderSizePixel = 0
  1745. Toggle_2.Position = UDim2.new(0, 60, 0, 220)
  1746. Toggle_2.Size = UDim2.new(0, 66, 0, 20)
  1747. Toggle_2.ZIndex = 10
  1748. Toggle_2.Font = Enum.Font.SourceSans
  1749. Toggle_2.FontSize = Enum.FontSize.Size14
  1750. Toggle_2.Text = "Disabled"
  1751. Toggle_2.TextColor3 = Color3.new(1, 1, 1)
  1752. table.insert(shade2,Toggle_2)
  1753. table.insert(text1,Toggle_2)
  1754.  
  1755. Clear_2.Name = "Clear"
  1756. Clear_2.Parent = join
  1757. Clear_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1758. Clear_2.BorderSizePixel = 0
  1759. Clear_2.Position = UDim2.new(0, 5, 0, 220)
  1760. Clear_2.Size = UDim2.new(0, 50, 0, 20)
  1761. Clear_2.ZIndex = 10
  1762. Clear_2.Font = Enum.Font.SourceSans
  1763. Clear_2.FontSize = Enum.FontSize.Size14
  1764. Clear_2.Text = "Clear"
  1765. Clear_2.TextColor3 = Color3.new(1, 1, 1)
  1766. table.insert(shade2,Clear_2)
  1767. table.insert(text1,Clear_2)
  1768.  
  1769. scroll_3.Name = "scroll"
  1770. scroll_3.Parent = join
  1771. scroll_3.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1772. scroll_3.BorderSizePixel = 0
  1773. scroll_3.Position = UDim2.new(0, 5, 0, 25)
  1774. scroll_3.Size = UDim2.new(0, 328, 0, 190)
  1775. scroll_3.ZIndex = 10
  1776. scroll_3.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1777. scroll_3.CanvasSize = UDim2.new(0, 0, 0, 10)
  1778. scroll_3.ScrollBarThickness = 8
  1779. scroll_3.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1780. table.insert(scroll,scroll_3)
  1781. table.insert(shade2,scroll_3)
  1782.  
  1783. selectChat.Name = "selectChat"
  1784. selectChat.Parent = background
  1785. selectChat.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1786. selectChat.BorderSizePixel = 0
  1787. selectChat.Position = UDim2.new(0, 5, 0, 5)
  1788. selectChat.Size = UDim2.new(0, 164, 0, 20)
  1789. selectChat.ZIndex = 10
  1790. selectChat.Font = Enum.Font.SourceSans
  1791. selectChat.FontSize = Enum.FontSize.Size14
  1792. selectChat.Text = "Chat Logs"
  1793. selectChat.TextColor3 = Color3.new(1, 1, 1)
  1794. table.insert(shade2,selectChat)
  1795. table.insert(text1,selectChat)
  1796.  
  1797. selectJoin.Name = "selectJoin"
  1798. selectJoin.Parent = background
  1799. selectJoin.BackgroundColor3 = Color3.new(0.305882, 0.305882, 0.309804)
  1800. selectJoin.BorderSizePixel = 0
  1801. selectJoin.Position = UDim2.new(0, 169, 0, 5)
  1802. selectJoin.Size = UDim2.new(0, 164, 0, 20)
  1803. selectJoin.ZIndex = 10
  1804. selectJoin.Font = Enum.Font.SourceSans
  1805. selectJoin.FontSize = Enum.FontSize.Size14
  1806. selectJoin.Text = "Join Logs"
  1807. selectJoin.TextColor3 = Color3.new(1, 1, 1)
  1808. table.insert(shade3,selectJoin)
  1809. table.insert(text1,selectJoin)
  1810.  
  1811. function create(data)
  1812.     local insts = {}
  1813.     for i,v in pairs(data) do insts[v[1]] = Instance.new(v[2]) end
  1814.  
  1815.     for _,v in pairs(data) do
  1816.         for prop,val in pairs(v[3]) do
  1817.             if type(val) == "table" then
  1818.                 insts[v[1]][prop] = insts[val[1]]
  1819.             else
  1820.                 insts[v[1]][prop] = val
  1821.             end
  1822.         end
  1823.     end
  1824.  
  1825.     return insts[1]
  1826. end
  1827.  
  1828. TextService = cloneref(game:GetService("TextService"))
  1829. ViewportTextBox = (function()
  1830.  
  1831.     local funcs = {}
  1832.     funcs.Update = function(self)
  1833.         local cursorPos = self.TextBox.CursorPosition
  1834.         local text = self.TextBox.Text
  1835.         if text == "" then self.TextBox.Position = UDim2.new(0,2,0,0) return end
  1836.         if cursorPos == -1 then return end
  1837.  
  1838.         local cursorText = text:sub(1,cursorPos-1)
  1839.         local pos = nil
  1840.         local leftEnd = -self.TextBox.Position.X.Offset
  1841.         local rightEnd = leftEnd + self.View.AbsoluteSize.X
  1842.  
  1843.         local totalTextSize = TextService:GetTextSize(text,self.TextBox.TextSize,self.TextBox.Font,Vector2.new(999999999,100)).X
  1844.         local cursorTextSize = TextService:GetTextSize(cursorText,self.TextBox.TextSize,self.TextBox.Font,Vector2.new(999999999,100)).X
  1845.  
  1846.         if cursorTextSize > rightEnd then
  1847.             pos = math.max(-2,cursorTextSize - self.View.AbsoluteSize.X + 2)
  1848.         elseif cursorTextSize < leftEnd then
  1849.             pos = math.max(-2,cursorTextSize-2)
  1850.         elseif totalTextSize < rightEnd then
  1851.             pos = math.max(-2,totalTextSize - self.View.AbsoluteSize.X + 2)
  1852.         end
  1853.  
  1854.         if pos then
  1855.             self.TextBox.Position = UDim2.new(0,-pos,0,0)
  1856.             self.TextBox.Size = UDim2.new(1,pos,1,0)
  1857.         end
  1858.     end
  1859.  
  1860.     local mt = {}
  1861.     mt.__index = funcs
  1862.  
  1863.     local function convert(textbox)
  1864.         local obj = setmetatable({OffsetX = 0, TextBox = textbox},mt)
  1865.  
  1866.         local view = Instance.new("Frame")
  1867.         view.BackgroundTransparency = textbox.BackgroundTransparency
  1868.         view.BackgroundColor3 = textbox.BackgroundColor3
  1869.         view.BorderSizePixel = textbox.BorderSizePixel
  1870.         view.BorderColor3 = textbox.BorderColor3
  1871.         view.Position = textbox.Position
  1872.         view.Size = textbox.Size
  1873.         view.ClipsDescendants = true
  1874.         view.Name = textbox.Name
  1875.         view.ZIndex = 10
  1876.         textbox.BackgroundTransparency = 1
  1877.         textbox.Position = UDim2.new(0,4,0,0)
  1878.         textbox.Size = UDim2.new(1,-8,1,0)
  1879.         textbox.TextXAlignment = Enum.TextXAlignment.Left
  1880.         textbox.Name = "Input"
  1881.         table.insert(text1,textbox)
  1882.         table.insert(shade2,view)
  1883.  
  1884.         obj.View = view
  1885.  
  1886.         textbox.Changed:Connect(function(prop)
  1887.             if prop == "Text" or prop == "CursorPosition" or prop == "AbsoluteSize" then
  1888.                 obj:Update()
  1889.             end
  1890.         end)
  1891.  
  1892.         obj:Update()
  1893.  
  1894.         view.Parent = textbox.Parent
  1895.         textbox.Parent = view
  1896.  
  1897.         return obj
  1898.     end
  1899.  
  1900.     return {convert = convert}
  1901. end)()
  1902.  
  1903. ViewportTextBox.convert(Cmdbar).View.ZIndex = 10
  1904. ViewportTextBox.convert(Cmdbar_2).View.ZIndex = 10
  1905. ViewportTextBox.convert(Cmdbar_3).View.ZIndex = 10
  1906.  
  1907. IYMouse = Players.LocalPlayer:GetMouse()
  1908. PlayerGui = Players.LocalPlayer:FindFirstChildWhichIsA("PlayerGui")
  1909. UserInputService = cloneref(game:GetService("UserInputService"))
  1910. TweenService = cloneref(game:GetService("TweenService"))
  1911. HttpService = cloneref(game:GetService("HttpService"))
  1912. MarketplaceService = cloneref(game:GetService("MarketplaceService"))
  1913. RunService = cloneref(game:GetService("RunService"))
  1914. TeleportService = cloneref(game:GetService("TeleportService"))
  1915. StarterGui = cloneref(game:GetService("StarterGui"))
  1916. GuiService = cloneref(game:GetService("GuiService"))
  1917. Lighting = cloneref(game:GetService("Lighting"))
  1918. ContextActionService = cloneref(game:GetService("ContextActionService"))
  1919. NetworkClient = cloneref(game:GetService("NetworkClient"))
  1920. ReplicatedStorage = cloneref(game:GetService("ReplicatedStorage"))
  1921. GroupService = cloneref(game:GetService("GroupService"))
  1922. PathService = cloneref(game:GetService("PathfindingService"))
  1923. SoundService = cloneref(game:GetService("SoundService"))
  1924. Teams = cloneref(game:GetService("Teams"))
  1925. StarterPlayer = cloneref(game:GetService("StarterPlayer"))
  1926. InsertService = cloneref(game:GetService("InsertService"))
  1927. ChatService = cloneref(game:GetService("Chat"))
  1928. ProximityPromptService = cloneref(game:GetService("ProximityPromptService"))
  1929. StatsService = cloneref(game:GetService("Stats"))
  1930. MaterialService = cloneref(game:GetService("MaterialService"))
  1931. AvatarEditorService = cloneref(game:GetService("AvatarEditorService"))
  1932. TextChatService = cloneref(game:GetService("TextChatService"))
  1933.  
  1934. sethidden = sethiddenproperty or set_hidden_property or set_hidden_prop
  1935. gethidden = gethiddenproperty or get_hidden_property or get_hidden_prop
  1936. queueteleport = (syn and syn.queue_on_teleport) or queue_on_teleport or (fluxus and fluxus.queue_on_teleport)
  1937. httprequest = (syn and syn.request) or (http and http.request) or http_request or (fluxus and fluxus.request) or request
  1938. PlaceId, JobId = game.PlaceId, game.JobId
  1939. local IsOnMobile = table.find({Enum.Platform.IOS, Enum.Platform.Android}, UserInputService:GetPlatform())
  1940. everyClipboard = setclipboard or toclipboard or set_clipboard or (Clipboard and Clipboard.set)
  1941. isLegacyChat = TextChatService.ChatVersion == Enum.ChatVersion.LegacyChatService
  1942.  
  1943. local writefile = type(writefile) == "function" and function(file, data, safe)
  1944.     if safe == true then return pcall(writefile, file, data) end
  1945.     writefile(file, data)
  1946. end
  1947.  
  1948. local readfile = type(readfile) == "function" and function(file, safe)
  1949.     if safe == true then return pcall(readfile, file) end
  1950.     return readfile(file)
  1951. end
  1952.  
  1953. function writefileExploit()
  1954.     if writefile then
  1955.         return true
  1956.     end
  1957. end
  1958.  
  1959. function readfileExploit()
  1960.     if readfile then
  1961.         return true
  1962.     end
  1963. end
  1964.  
  1965. function isNumber(str)
  1966.     if tonumber(str) ~= nil or str == 'inf' then
  1967.         return true
  1968.     end
  1969. end
  1970.  
  1971. function getRoot(char)
  1972.     local rootPart = char:FindFirstChild('HumanoidRootPart') or char:FindFirstChild('Torso') or char:FindFirstChild('UpperTorso')
  1973.     return rootPart
  1974. end
  1975.  
  1976. function tools(plr)
  1977.     if plr:FindFirstChildOfClass("Backpack"):FindFirstChildOfClass('Tool') or plr.Character:FindFirstChildOfClass('Tool') then
  1978.         return true
  1979.     end
  1980. end
  1981.  
  1982. function r15(plr)
  1983.     if plr.Character:FindFirstChildOfClass('Humanoid').RigType == Enum.HumanoidRigType.R15 then
  1984.         return true
  1985.     end
  1986. end
  1987.  
  1988. function rigType(player)
  1989.     return tostring(player.Character:FindFirstChildWhichIsA("Humanoid").RigType):split(".")[3]
  1990. end
  1991.  
  1992. function toClipboard(txt)
  1993.     if everyClipboard then
  1994.         everyClipboard(tostring(txt))
  1995.         notify("Clipboard", "Copied to clipboard")
  1996.     else
  1997.         notify("Clipboard", "Your exploit doesn't have the ability to use the clipboard")
  1998.     end
  1999. end
  2000.  
  2001. function chatMessage(str)
  2002.     str = tostring(str)
  2003.     if not isLegacyChat then
  2004.         TextChatService.TextChannels.RBXGeneral:SendAsync(str)
  2005.     else
  2006.         ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(str, "All")
  2007.     end
  2008. end
  2009.  
  2010. function getHierarchy(obj)
  2011.     local fullname
  2012.     local period
  2013.  
  2014.     if string.find(obj.Name,' ') then
  2015.         fullname = '["'..obj.Name..'"]'
  2016.         period = false
  2017.     else
  2018.         fullname = obj.Name
  2019.         period = true
  2020.     end
  2021.  
  2022.     local getS = obj
  2023.     local parent = obj
  2024.     local service = ''
  2025.  
  2026.     if getS.Parent ~= game then
  2027.         repeat
  2028.             getS = getS.Parent
  2029.             service = getS.ClassName
  2030.         until getS.Parent == game
  2031.     end
  2032.  
  2033.     if parent.Parent ~= getS then
  2034.         repeat
  2035.             parent = parent.Parent
  2036.             if string.find(tostring(parent),' ') then
  2037.                 if period then
  2038.                     fullname = '["'..parent.Name..'"].'..fullname
  2039.                 else
  2040.                     fullname = '["'..parent.Name..'"]'..fullname
  2041.                 end
  2042.                 period = false
  2043.             else
  2044.                 if period then
  2045.                     fullname = parent.Name..'.'..fullname
  2046.                 else
  2047.                     fullname = parent.Name..''..fullname
  2048.                 end
  2049.                 period = true
  2050.             end
  2051.         until parent.Parent == getS
  2052.     elseif string.find(tostring(parent),' ') then
  2053.         fullname = '["'..parent.Name..'"]'
  2054.         period = false
  2055.     end
  2056.  
  2057.     if period then
  2058.         return 'game:GetService("'..service..'").'..fullname
  2059.     else
  2060.         return 'game:GetService("'..service..'")'..fullname
  2061.     end
  2062. end
  2063.  
  2064. AllWaypoints = {}
  2065.  
  2066. local cooldown = false
  2067. function writefileCooldown(name,data)
  2068.     task.spawn(function()
  2069.         if not cooldown then
  2070.             cooldown = true
  2071.             writefile(name, data, true)
  2072.         else
  2073.             repeat wait() until cooldown == false
  2074.             writefileCooldown(name,data)
  2075.         end
  2076.         wait(3)
  2077.         cooldown = false
  2078.     end)
  2079. end
  2080.  
  2081. function dragGUI(gui)
  2082.     task.spawn(function()
  2083.         local dragging
  2084.         local dragInput
  2085.         local dragStart = Vector3.new(0,0,0)
  2086.         local startPos
  2087.         local function update(input)
  2088.             local delta = input.Position - dragStart
  2089.             local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  2090.             TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  2091.         end
  2092.         gui.InputBegan:Connect(function(input)
  2093.             if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  2094.                 dragging = true
  2095.                 dragStart = input.Position
  2096.                 startPos = gui.Position
  2097.  
  2098.                 input.Changed:Connect(function()
  2099.                     if input.UserInputState == Enum.UserInputState.End then
  2100.                         dragging = false
  2101.                     end
  2102.                 end)
  2103.             end
  2104.         end)
  2105.         gui.InputChanged:Connect(function(input)
  2106.             if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  2107.                 dragInput = input
  2108.             end
  2109.         end)
  2110.         UserInputService.InputChanged:Connect(function(input)
  2111.             if input == dragInput and dragging then
  2112.                 update(input)
  2113.             end
  2114.         end)
  2115.     end)
  2116. end
  2117.  
  2118. dragGUI(logs)
  2119. dragGUI(KeybindEditor)
  2120. dragGUI(PluginEditor)
  2121. dragGUI(ToPartFrame)
  2122.  
  2123. eventEditor = (function()
  2124.     local events = {}
  2125.  
  2126.     local function registerEvent(name,sets)
  2127.         events[name] = {
  2128.             commands = {},
  2129.             sets = sets or {}
  2130.         }
  2131.     end
  2132.  
  2133.     local onEdited = nil
  2134.  
  2135.     local function fireEvent(name,...)
  2136.         local args = {...}
  2137.         local event = events[name]
  2138.         if event then
  2139.             for i,cmd in pairs(event.commands) do
  2140.                 local metCondition = true
  2141.                 for idx,set in pairs(event.sets) do
  2142.                     local argVal = args[idx]
  2143.                     local cmdSet = cmd[2][idx]
  2144.                     local condType = set.Type
  2145.                     if condType == "Player" then
  2146.                         if cmdSet == 0 then
  2147.                             metCondition = metCondition and (tostring(Players.LocalPlayer) == argVal)
  2148.                         elseif cmdSet ~= 1 then
  2149.                             metCondition = metCondition and table.find(getPlayer(cmdSet,Players.LocalPlayer),argVal)
  2150.                         end
  2151.                     elseif condType == "String" then
  2152.                         if cmdSet ~= 0 then
  2153.                             metCondition = metCondition and string.find(argVal:lower(),cmdSet:lower())
  2154.                         end
  2155.                     elseif condType == "Number" then
  2156.                         if cmdSet ~= 0 then
  2157.                             metCondition = metCondition and tonumber(argVal)<=tonumber(cmdSet)
  2158.                         end
  2159.                     end
  2160.                     if not metCondition then break end
  2161.                 end
  2162.  
  2163.                 if metCondition then
  2164.                     pcall(task.spawn(function()
  2165.                         local cmdStr = cmd[1]
  2166.                         for count,arg in pairs(args) do
  2167.                             cmdStr = cmdStr:gsub("%$"..count,arg)
  2168.                         end
  2169.                         wait(cmd[3] or 0)
  2170.                         execCmd(cmdStr)
  2171.                     end))
  2172.                 end
  2173.             end
  2174.         end
  2175.     end
  2176.  
  2177.     local main = create({
  2178.         {1,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderSizePixel=0,Name="EventEditor",Position=UDim2.new(0.5,-175,0,-500),Size=UDim2.new(0,350,0,20),ZIndex=10,}},
  2179.         {2,"Frame",{BackgroundColor3=currentShade2,BorderSizePixel=0,Name="TopBar",Parent={1},Size=UDim2.new(1,0,0,20),ZIndex=10,}},
  2180.         {3,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={2},Position=UDim2.new(0,0,0,0),Size=UDim2.new(1,0,0.95,0),Text="Event Editor",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=Enum.TextXAlignment.Center,ZIndex=10,}},
  2181.         {4,"TextButton",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Close",Parent={2},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}},
  2182.         {5,"ImageLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Image="rbxassetid://5054663650",Parent={4},Position=UDim2.new(0,5,0,5),Size=UDim2.new(0,10,0,10),ZIndex=10,}},
  2183.         {6,"Frame",{BackgroundColor3=currentShade1,BorderSizePixel=0,Name="Content",Parent={1},Position=UDim2.new(0,0,0,20),Size=UDim2.new(1,0,0,202),ZIndex=10,}},
  2184.         {7,"ScrollingFrame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,BottomImage="rbxasset://textures/ui/Scroll/scroll-middle.png",CanvasSize=UDim2.new(0,0,0,100),Name="List",Parent={6},Position=UDim2.new(0,5,0,5),ScrollBarImageColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),ScrollBarThickness=8,Size=UDim2.new(1,-10,1,-10),TopImage="rbxasset://textures/ui/Scroll/scroll-middle.png",ZIndex=10,}},
  2185.         {8,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={7},Size=UDim2.new(1,0,1,0),ZIndex=10,}},
  2186.         {9,"UIListLayout",{Parent={8},SortOrder=2,}},
  2187.         {10,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderColor3=Color3.new(0.3137255012989,0.3137255012989,0.3137255012989),BorderSizePixel=0,ClipsDescendants=true,Name="Settings",Parent={6},Position=UDim2.new(1,0,0,0),Size=UDim2.new(0,150,1,0),ZIndex=10,}},
  2188.         {11,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),Name="Slider",Parent={10},Position=UDim2.new(0,-150,0,0),Size=UDim2.new(1,0,1,0),ZIndex=10,}},
  2189.         {12,"Frame",{BackgroundColor3=Color3.new(0.23529413342476,0.23529413342476,0.23529413342476),BorderColor3=Color3.new(0.3137255012989,0.3137255012989,0.3137255012989),BorderSizePixel=0,Name="Line",Parent={11},Size=UDim2.new(0,1,1,0),ZIndex=10,}},
  2190.         {13,"ScrollingFrame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,BottomImage="rbxasset://textures/ui/Scroll/scroll-middle.png",CanvasSize=UDim2.new(0,0,0,100),Name="List",Parent={11},Position=UDim2.new(0,0,0,25),ScrollBarImageColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),ScrollBarThickness=8,Size=UDim2.new(1,0,1,-25),TopImage="rbxasset://textures/ui/Scroll/scroll-middle.png",ZIndex=10,}},
  2191.         {14,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={13},Size=UDim2.new(1,0,1,0),ZIndex=10,}},
  2192.         {15,"UIListLayout",{Parent={14},SortOrder=2,}},
  2193.         {16,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={11},Size=UDim2.new(1,0,0,20),Text="Event Settings",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}},
  2194.         {17,"TextButton",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),Font=3,Name="Close",BorderSizePixel=0,Parent={11},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),Text="<",TextColor3=Color3.new(1,1,1),TextSize=18,ZIndex=10,}},
  2195.         {18,"Folder",{Name="Templates",Parent={10},}},
  2196.         {19,"Frame",{BackgroundColor3=Color3.new(0.19607844948769,0.19607844948769,0.19607844948769),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),Name="Players",Parent={18},Position=UDim2.new(0,0,0,25),Size=UDim2.new(1,0,0,86),Visible=false,ZIndex=10,}},
  2197.         {20,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={19},Size=UDim2.new(1,0,0,20),Text="Choose Players",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}},
  2198.         {21,"TextLabel",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="Any",Parent={19},Position=UDim2.new(0,5,0,42),Size=UDim2.new(1,-10,0,20),Text="Any Player",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
  2199.         {22,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="Button",Parent={21},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),ZIndex=10,}},
  2200.         {23,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={22},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}},
  2201.         {24,"TextLabel",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="Me",Parent={19},Position=UDim2.new(0,5,0,20),Size=UDim2.new(1,-10,0,20),Text="Me Only",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
  2202.         {25,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="Button",Parent={24},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),ZIndex=10,}},
  2203.         {26,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={25},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}},
  2204.         {27,"TextBox",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,ClearTextOnFocus=false,Font=3,Name="Custom",Parent={19},PlaceholderColor3=Color3.new(0.47058826684952,0.47058826684952,0.47058826684952),PlaceholderText="Custom Player Set",Position=UDim2.new(0,5,0,64),Size=UDim2.new(1,-35,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
  2205.         {28,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="CustomButton",Parent={19},Position=UDim2.new(1,-25,0,64),Size=UDim2.new(0,20,0,20),ZIndex=10,}},
  2206.         {29,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={28},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}},
  2207.         {30,"Frame",{BackgroundColor3=Color3.new(0.19607844948769,0.19607844948769,0.19607844948769),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),Name="Strings",Parent={18},Position=UDim2.new(0,0,0,25),Size=UDim2.new(1,0,0,64),Visible=false,ZIndex=10,}},
  2208.         {31,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={30},Size=UDim2.new(1,0,0,20),Text="Choose String",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}},
  2209.         {32,"TextLabel",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="Any",Parent={30},Position=UDim2.new(0,5,0,20),Size=UDim2.new(1,-10,0,20),Text="Any String",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
  2210.         {33,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="Button",Parent={32},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),ZIndex=10,}},
  2211.         {34,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={33},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}},
  2212.         {54,"Frame",{BackgroundColor3=Color3.new(0.19607844948769,0.19607844948769,0.19607844948769),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),Name="Numbers",Parent={18},Position=UDim2.new(0,0,0,25),Size=UDim2.new(1,0,0,64),Visible=false,ZIndex=10,}},
  2213.         {55,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={54},Size=UDim2.new(1,0,0,20),Text="Choose String",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}},
  2214.         {56,"TextLabel",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="Any",Parent={54},Position=UDim2.new(0,5,0,20),Size=UDim2.new(1,-10,0,20),Text="Any Number",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
  2215.         {57,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="Button",Parent={56},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),ZIndex=10,}},
  2216.         {58,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={57},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}},
  2217.         {59,"TextBox",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,ClearTextOnFocus=false,Font=3,Name="Custom",Parent={54},PlaceholderColor3=Color3.new(0.47058826684952,0.47058826684952,0.47058826684952),PlaceholderText="Number",Position=UDim2.new(0,5,0,42),Size=UDim2.new(1,-35,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
  2218.         {60,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="CustomButton",Parent={54},Position=UDim2.new(1,-25,0,42),Size=UDim2.new(0,20,0,20),ZIndex=10,}},
  2219.         {61,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={60},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}},
  2220.         {35,"TextBox",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,ClearTextOnFocus=false,Font=3,Name="Custom",Parent={30},PlaceholderColor3=Color3.new(0.47058826684952,0.47058826684952,0.47058826684952),PlaceholderText="Match String",Position=UDim2.new(0,5,0,42),Size=UDim2.new(1,-35,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
  2221.         {36,"Frame",{BackgroundColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),BorderSizePixel=0,Name="CustomButton",Parent={30},Position=UDim2.new(1,-25,0,42),Size=UDim2.new(0,20,0,20),ZIndex=10,}},
  2222.         {37,"TextButton",{BackgroundColor3=Color3.new(0.58823531866074,0.58823531866074,0.59215688705444),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="On",Parent={36},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),Text="",TextColor3=Color3.new(0,0,0),TextSize=14,ZIndex=10,}},
  2223.         {38,"Frame",{BackgroundColor3=Color3.new(0.19607844948769,0.19607844948769,0.19607844948769),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),Name="DelayEditor",Parent={18},Position=UDim2.new(0,0,0,25),Size=UDim2.new(1,0,0,24),Visible=false,ZIndex=10,}},
  2224.         {39,"TextBox",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,Font=3,Name="Secs",Parent={38},PlaceholderColor3=Color3.new(0.47058826684952,0.47058826684952,0.47058826684952),Position=UDim2.new(0,60,0,2),Size=UDim2.new(1,-65,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
  2225.         {40,"TextLabel",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Font=3,Name="Label",Parent={39},Position=UDim2.new(0,-55,0,0),Size=UDim2.new(1,0,1,0),Text="Delay (s):",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
  2226.         {41,"Frame",{BackgroundColor3=currentShade1,BorderSizePixel=0,ClipsDescendants=true,Name="EventTemplate",Parent={6},Size=UDim2.new(1,0,0,20),Visible=false,ZIndex=10,}},
  2227.         {42,"TextButton",{BackgroundColor3=currentText1,BackgroundTransparency=1,Font=3,Name="Expand",Parent={41},Size=UDim2.new(0,20,0,20),Text=">",TextColor3=Color3.new(1,1,1),TextSize=18,ZIndex=10,}},
  2228.         {43,"TextLabel",{BackgroundColor3=currentText1,BackgroundTransparency=1,Font=3,Name="EventName",Parent={41},Position=UDim2.new(0,25,0,0),Size=UDim2.new(1,-25,0,20),Text="OnSpawn",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
  2229.         {44,"Frame",{BackgroundColor3=Color3.new(0.19607844948769,0.19607844948769,0.19607844948769),BorderSizePixel=0,BackgroundTransparency=1,ClipsDescendants=true,Name="Cmds",Parent={41},Position=UDim2.new(0,0,0,20),Size=UDim2.new(1,0,1,-20),ZIndex=10,}},
  2230.         {45,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BorderColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),Name="Add",Parent={44},Position=UDim2.new(0,0,1,-20),Size=UDim2.new(1,0,0,20),ZIndex=10,}},
  2231.         {46,"TextBox",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,ClearTextOnFocus=false,Font=3,Parent={45},PlaceholderColor3=Color3.new(0.7843137383461,0.7843137383461,0.7843137383461),PlaceholderText="Add new command",Position=UDim2.new(0,5,0,0),Size=UDim2.new(1,-10,1,0),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,TextXAlignment=0,ZIndex=10,}},
  2232.         {47,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={44},Size=UDim2.new(1,0,1,-20),ZIndex=10,}},
  2233.         {48,"UIListLayout",{Parent={47},SortOrder=2,}},
  2234.         {49,"Frame",{currentShade1,BorderSizePixel=0,ClipsDescendants=true,Name="CmdTemplate",Parent={6},Size=UDim2.new(1,0,0,20),Visible=false,ZIndex=10,}},
  2235.         {50,"TextBox",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,ClearTextOnFocus=false,Font=3,Parent={49},PlaceholderColor3=Color3.new(1,1,1),Position=UDim2.new(0,5,0,0),Size=UDim2.new(1,-45,0,20),Text="a\\b\\c\\d",TextColor3=currentText1,TextSize=14,TextXAlignment=0,ZIndex=10,}},
  2236.         {51,"TextButton",{BackgroundColor3=currentShade1,BorderSizePixel=0,Font=3,Name="Delete",Parent={49},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),Text="X",TextColor3=Color3.new(1,1,1),TextSize=18,ZIndex=10,}},
  2237.         {52,"TextButton",{BackgroundColor3=currentShade1,BorderSizePixel=0,Font=3,Name="Settings",Parent={49},Position=UDim2.new(1,-40,0,0),Size=UDim2.new(0,20,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=18,ZIndex=10,}},
  2238.         {53,"ImageLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Image="rbxassetid://1204397029",Parent={52},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),ZIndex=10,}},
  2239.     })
  2240.     main.Name = randomString()
  2241.     local mainFrame = main:WaitForChild("Content")
  2242.     local eventList = mainFrame:WaitForChild("List")
  2243.     local eventListHolder = eventList:WaitForChild("Holder")
  2244.     local cmdTemplate = mainFrame:WaitForChild("CmdTemplate")
  2245.     local eventTemplate = mainFrame:WaitForChild("EventTemplate")
  2246.     local settingsFrame = mainFrame:WaitForChild("Settings"):WaitForChild("Slider")
  2247.     local settingsTemplates = mainFrame.Settings:WaitForChild("Templates")
  2248.     local settingsList = settingsFrame:WaitForChild("List"):WaitForChild("Holder")
  2249.     table.insert(shade2,main.TopBar) table.insert(shade1,mainFrame) table.insert(shade2,eventTemplate)
  2250.     table.insert(text1,eventTemplate.EventName) table.insert(shade1,eventTemplate.Cmds.Add) table.insert(shade1,cmdTemplate)
  2251.     table.insert(text1,cmdTemplate.TextBox) table.insert(shade2,cmdTemplate.Delete) table.insert(shade2,cmdTemplate.Settings)
  2252.     table.insert(scroll,mainFrame.List) table.insert(shade1,settingsFrame) table.insert(shade2,settingsFrame.Line)
  2253.     table.insert(shade2,settingsFrame.Close) table.insert(scroll,settingsFrame.List) table.insert(shade2,settingsTemplates.DelayEditor.Secs)
  2254.     table.insert(text1,settingsTemplates.DelayEditor.Secs) table.insert(text1,settingsTemplates.DelayEditor.Secs.Label) table.insert(text1,settingsTemplates.Players.Title)
  2255.     table.insert(shade3,settingsTemplates.Players.CustomButton) table.insert(shade2,settingsTemplates.Players.Custom) table.insert(text1,settingsTemplates.Players.Custom)
  2256.     table.insert(shade3,settingsTemplates.Players.Any.Button) table.insert(shade3,settingsTemplates.Players.Me.Button) table.insert(text1,settingsTemplates.Players.Any)
  2257.     table.insert(text1,settingsTemplates.Players.Me) table.insert(text1,settingsTemplates.Strings.Title) table.insert(text1,settingsTemplates.Strings.Any)
  2258.     table.insert(shade3,settingsTemplates.Strings.Any.Button) table.insert(shade3,settingsTemplates.Strings.CustomButton) table.insert(text1,settingsTemplates.Strings.Custom)
  2259.     table.insert(shade2,settingsTemplates.Strings.Custom)
  2260.     table.insert(text1,settingsTemplates.Players.Me) table.insert(text1,settingsTemplates.Numbers.Title) table.insert(text1,settingsTemplates.Numbers.Any)
  2261.     table.insert(shade3,settingsTemplates.Numbers.Any.Button) table.insert(shade3,settingsTemplates.Numbers.CustomButton) table.insert(text1,settingsTemplates.Numbers.Custom)
  2262.     table.insert(shade2,settingsTemplates.Numbers.Custom)
  2263.  
  2264.     local tweenInf = TweenInfo.new(0.25,Enum.EasingStyle.Quart,Enum.EasingDirection.Out)
  2265.  
  2266.     local currentlyEditingCmd = nil
  2267.  
  2268.     settingsFrame:WaitForChild("Close").MouseButton1Click:Connect(function()
  2269.         settingsFrame:TweenPosition(UDim2.new(0,-150,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
  2270.     end)
  2271.  
  2272.     local function resizeList()
  2273.         local size = 0
  2274.  
  2275.         for i,v in pairs(eventListHolder:GetChildren()) do
  2276.             if v.Name == "EventTemplate" then
  2277.                 size = size + 20
  2278.                 if v.Expand.Rotation == 90 then
  2279.                     size = size + 20*(1+(#events[v.EventName:GetAttribute("RawName")].commands or 0))
  2280.                 end
  2281.             end
  2282.         end
  2283.  
  2284.         TweenService:Create(eventList,tweenInf,{CanvasSize = UDim2.new(0,0,0,size)}):Play()
  2285.  
  2286.         if size > eventList.AbsoluteSize.Y then
  2287.             eventListHolder.Size = UDim2.new(1,-8,1,0)
  2288.         else
  2289.             eventListHolder.Size = UDim2.new(1,0,1,0)
  2290.         end
  2291.     end
  2292.  
  2293.     local function resizeSettingsList()
  2294.         local size = 0
  2295.  
  2296.         for i,v in pairs(settingsList:GetChildren()) do
  2297.             if v:IsA("Frame") then
  2298.                 size = size + v.AbsoluteSize.Y
  2299.             end
  2300.         end
  2301.  
  2302.         settingsList.Parent.CanvasSize = UDim2.new(0,0,0,size)
  2303.  
  2304.         if size > settingsList.Parent.AbsoluteSize.Y then
  2305.             settingsList.Size = UDim2.new(1,-8,1,0)
  2306.         else
  2307.             settingsList.Size = UDim2.new(1,0,1,0)
  2308.         end
  2309.     end
  2310.  
  2311.     local function setupCheckbox(button,callback)
  2312.         local enabled = button.On.BackgroundTransparency == 0
  2313.  
  2314.         local function update()
  2315.             button.On.BackgroundTransparency = (enabled and 0 or 1)
  2316.         end
  2317.  
  2318.         button.On.MouseButton1Click:Connect(function()
  2319.             enabled = not enabled
  2320.             update()
  2321.             if callback then callback(enabled) end
  2322.         end)
  2323.  
  2324.         return {
  2325.             Toggle = function(nocall) enabled = not enabled update() if not nocall and callback then callback(enabled) end end,
  2326.             Enable = function(nocall) if enabled then return end enabled = true update()if not nocall and callback then callback(enabled) end end,
  2327.             Disable = function(nocall) if not enabled then return end enabled = false update()if not nocall and callback then callback(enabled) end end,
  2328.             IsEnabled = function() return enabled end
  2329.         }
  2330.     end
  2331.  
  2332.     local function openSettingsEditor(event,cmd)
  2333.         currentlyEditingCmd = cmd
  2334.  
  2335.         for i,v in pairs(settingsList:GetChildren()) do if v:IsA("Frame") then v:Destroy() end end
  2336.  
  2337.         local delayEditor = settingsTemplates.DelayEditor:Clone()
  2338.         delayEditor.Secs.FocusLost:Connect(function()
  2339.             cmd[3] = tonumber(delayEditor.Secs.Text) or 0
  2340.             delayEditor.Secs.Text = cmd[3]
  2341.             if onEdited then onEdited() end
  2342.         end)
  2343.         delayEditor.Secs.Text = cmd[3]
  2344.         delayEditor.Visible = true
  2345.         table.insert(shade2,delayEditor.Secs)
  2346.         table.insert(text1,delayEditor.Secs)
  2347.         table.insert(text1,delayEditor.Secs.Label)
  2348.         delayEditor.Parent = settingsList
  2349.  
  2350.         for i,v in pairs(event.sets) do
  2351.             if v.Type == "Player" then
  2352.                 local template = settingsTemplates.Players:Clone()
  2353.                 template.Title.Text = v.Name or "Player"
  2354.  
  2355.                 local me,any,custom
  2356.  
  2357.                 me = setupCheckbox(template.Me.Button,function(on)
  2358.                     if not on then return end
  2359.                     any.Disable()
  2360.                     custom.Disable()
  2361.                     cmd[2][i] = 0
  2362.                     if onEdited then onEdited() end
  2363.                 end)
  2364.  
  2365.                 any = setupCheckbox(template.Any.Button,function(on)
  2366.                     if not on then return end
  2367.                     me.Disable()
  2368.                     custom.Disable()
  2369.                     cmd[2][i] = 1
  2370.                     if onEdited then onEdited() end
  2371.                 end)
  2372.  
  2373.                 local customTextBox = template.Custom
  2374.                 custom = setupCheckbox(template.CustomButton,function(on)
  2375.                     if not on then return end
  2376.                     me.Disable()
  2377.                     any.Disable()
  2378.                     cmd[2][i] = customTextBox.Text
  2379.                     if onEdited then onEdited() end
  2380.                 end)
  2381.  
  2382.                 ViewportTextBox.convert(customTextBox)
  2383.                 customTextBox.FocusLost:Connect(function()
  2384.                     if custom:IsEnabled() then
  2385.                         cmd[2][i] = customTextBox.Text
  2386.                         if onEdited then onEdited() end
  2387.                     end
  2388.                 end)
  2389.  
  2390.                 local cVal = cmd[2][i]
  2391.                 if cVal == 0 then
  2392.                     me:Enable()
  2393.                 elseif cVal == 1 then
  2394.                     any:Enable()
  2395.                 else
  2396.                     custom:Enable()
  2397.                     customTextBox.Text = cVal
  2398.                 end
  2399.  
  2400.                 template.Visible = true
  2401.                 table.insert(text1,template.Title)
  2402.                 table.insert(shade3,template.CustomButton)
  2403.                 table.insert(shade3,template.Any.Button)
  2404.                 table.insert(shade3,template.Me.Button)
  2405.                 table.insert(text1,template.Any)
  2406.                 table.insert(text1,template.Me)
  2407.                 template.Parent = settingsList
  2408.             elseif v.Type == "String" then
  2409.                 local template = settingsTemplates.Strings:Clone()
  2410.                 template.Title.Text = v.Name or "String"
  2411.  
  2412.                 local any,custom
  2413.  
  2414.                 any = setupCheckbox(template.Any.Button,function(on)
  2415.                     if not on then return end
  2416.                     custom.Disable()
  2417.                     cmd[2][i] = 0
  2418.                     if onEdited then onEdited() end
  2419.                 end)
  2420.  
  2421.                 local customTextBox = template.Custom
  2422.                 custom = setupCheckbox(template.CustomButton,function(on)
  2423.                     if not on then return end
  2424.                     any.Disable()
  2425.                     cmd[2][i] = customTextBox.Text
  2426.                     if onEdited then onEdited() end
  2427.                 end)
  2428.  
  2429.                 ViewportTextBox.convert(customTextBox)
  2430.                 customTextBox.FocusLost:Connect(function()
  2431.                     if custom:IsEnabled() then
  2432.                         cmd[2][i] = customTextBox.Text
  2433.                         if onEdited then onEdited() end
  2434.                     end
  2435.                 end)
  2436.  
  2437.                 local cVal = cmd[2][i]
  2438.                 if cVal == 0 then
  2439.                     any:Enable()
  2440.                 else
  2441.                     custom:Enable()
  2442.                     customTextBox.Text = cVal
  2443.                 end
  2444.  
  2445.                 template.Visible = true
  2446.                 table.insert(text1,template.Title)
  2447.                 table.insert(text1,template.Any)
  2448.                 table.insert(shade3,template.Any.Button)
  2449.                 table.insert(shade3,template.CustomButton)
  2450.                 template.Parent = settingsList
  2451.             elseif v.Type == "Number" then
  2452.                 local template = settingsTemplates.Numbers:Clone()
  2453.                 template.Title.Text = v.Name or "Number"
  2454.  
  2455.                 local any,custom
  2456.  
  2457.                 any = setupCheckbox(template.Any.Button,function(on)
  2458.                     if not on then return end
  2459.                     custom.Disable()
  2460.                     cmd[2][i] = 0
  2461.                     if onEdited then onEdited() end
  2462.                 end)
  2463.  
  2464.                 local customTextBox = template.Custom
  2465.                 custom = setupCheckbox(template.CustomButton,function(on)
  2466.                     if not on then return end
  2467.                     any.Disable()
  2468.                     cmd[2][i] = customTextBox.Text
  2469.                     if onEdited then onEdited() end
  2470.                 end)
  2471.  
  2472.                 ViewportTextBox.convert(customTextBox)
  2473.                 customTextBox.FocusLost:Connect(function()
  2474.                     cmd[2][i] = tonumber(customTextBox.Text) or 0
  2475.                     customTextBox.Text = cmd[2][i]
  2476.                     if custom:IsEnabled() then
  2477.                         if onEdited then onEdited() end
  2478.                     end
  2479.                 end)
  2480.  
  2481.                 local cVal = cmd[2][i]
  2482.                 if cVal == 0 then
  2483.                     any:Enable()
  2484.                 else
  2485.                     custom:Enable()
  2486.                     customTextBox.Text = cVal
  2487.                 end
  2488.  
  2489.                 template.Visible = true
  2490.                 table.insert(text1,template.Title)
  2491.                 table.insert(text1,template.Any)
  2492.                 table.insert(shade3,template.Any.Button)
  2493.                 table.insert(shade3,template.CustomButton)
  2494.                 template.Parent = settingsList
  2495.             end
  2496.         end
  2497.         resizeSettingsList()
  2498.         settingsFrame:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
  2499.     end
  2500.  
  2501.     local function defaultSettings(ev)
  2502.         local res = {}
  2503.  
  2504.         for i,v in pairs(ev.sets) do
  2505.             if v.Type == "Player" then
  2506.                 res[#res+1] = v.Default or 0
  2507.             elseif v.Type == "String" then
  2508.                 res[#res+1] = v.Default or 0
  2509.             elseif v.Type == "Number" then
  2510.                 res[#res+1] = v.Default or 0
  2511.             end
  2512.         end
  2513.  
  2514.         return res
  2515.     end
  2516.  
  2517.     local function refreshList()
  2518.         for i,v in pairs(eventListHolder:GetChildren()) do if v:IsA("Frame") then v:Destroy() end end
  2519.  
  2520.         for name,event in pairs(events) do
  2521.             local eventF = eventTemplate:Clone()
  2522.             eventF.EventName.Text = name
  2523.             eventF.Visible = true
  2524.             eventF.EventName:SetAttribute("RawName", name)
  2525.             table.insert(shade2,eventF)
  2526.             table.insert(text1,eventF.EventName)
  2527.             table.insert(shade1,eventF.Cmds.Add)
  2528.  
  2529.             local expanded = false
  2530.             eventF.Expand.MouseButton1Down:Connect(function()
  2531.                 expanded = not expanded
  2532.                 eventF:TweenSize(UDim2.new(1,0,0,20 + (expanded and 20*#eventF.Cmds.Holder:GetChildren() or 0)),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
  2533.                 eventF.Expand.Rotation = expanded and 90 or 0
  2534.                 resizeList()
  2535.             end)
  2536.  
  2537.             local function refreshCommands()
  2538.                 for i,v in pairs(eventF.Cmds.Holder:GetChildren()) do
  2539.                     if v.Name == "CmdTemplate" then
  2540.                         v:Destroy()
  2541.                     end
  2542.                 end
  2543.  
  2544.                 eventF.EventName.Text = name..(#event.commands > 0 and " ("..#event.commands..")" or "")
  2545.  
  2546.                 for i,cmd in pairs(event.commands) do
  2547.                     local cmdF = cmdTemplate:Clone()
  2548.                     local cmdTextBox = cmdF.TextBox
  2549.                     ViewportTextBox.convert(cmdTextBox)
  2550.                     cmdTextBox.Text = cmd[1]
  2551.                     cmdF.Visible = true
  2552.                     table.insert(shade1,cmdF)
  2553.                     table.insert(shade2,cmdF.Delete)
  2554.                     table.insert(shade2,cmdF.Settings)
  2555.  
  2556.                     cmdTextBox.FocusLost:Connect(function()
  2557.                         event.commands[i] = {cmdTextBox.Text,cmd[2],cmd[3]}
  2558.                         if onEdited then onEdited() end
  2559.                     end)
  2560.  
  2561.                     cmdF.Settings.MouseButton1Click:Connect(function()
  2562.                         openSettingsEditor(event,cmd)
  2563.                     end)
  2564.  
  2565.                     cmdF.Delete.MouseButton1Click:Connect(function()
  2566.                         table.remove(event.commands,i)
  2567.                         refreshCommands()
  2568.                         resizeList()
  2569.  
  2570.                         if currentlyEditingCmd == cmd then
  2571.                             settingsFrame:TweenPosition(UDim2.new(0,-150,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
  2572.                         end
  2573.                         if onEdited then onEdited() end
  2574.                     end)
  2575.  
  2576.                     cmdF.Parent = eventF.Cmds.Holder
  2577.                 end
  2578.  
  2579.                 eventF:TweenSize(UDim2.new(1,0,0,20 + (expanded and 20*#eventF.Cmds.Holder:GetChildren() or 0)),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
  2580.             end
  2581.  
  2582.             local newBox = eventF.Cmds.Add.TextBox
  2583.             ViewportTextBox.convert(newBox)
  2584.             newBox.FocusLost:Connect(function(enter)
  2585.                 if enter then
  2586.                     event.commands[#event.commands+1] = {newBox.Text,defaultSettings(event),0}
  2587.                     newBox.Text = ""
  2588.  
  2589.                     refreshCommands()
  2590.                     resizeList()
  2591.                     if onEdited then onEdited() end
  2592.                 end
  2593.             end)
  2594.  
  2595.             --eventF:GetPropertyChangedSignal("AbsoluteSize"):Connect(resizeList)
  2596.  
  2597.             eventF.Parent = eventListHolder
  2598.  
  2599.             refreshCommands()
  2600.         end
  2601.  
  2602.         resizeList()
  2603.     end
  2604.  
  2605.     local function saveData()
  2606.         local result = {}
  2607.         for i,v in pairs(events) do
  2608.             result[i] = v.commands
  2609.         end
  2610.         return HttpService:JSONEncode(result)
  2611.     end
  2612.  
  2613.     local function loadData(str)
  2614.         local data = HttpService:JSONDecode(str)
  2615.         for i,v in pairs(data) do
  2616.             if events[i] then
  2617.                 events[i].commands = v
  2618.             end
  2619.         end
  2620.     end
  2621.  
  2622.     local function addCmd(event,data)
  2623.         table.insert(events[event].commands,data)
  2624.     end
  2625.  
  2626.     local function setOnEdited(f)
  2627.         if type(f) == "function" then
  2628.             onEdited = f
  2629.         end
  2630.     end
  2631.  
  2632.     main.TopBar.Close.MouseButton1Click:Connect(function()
  2633.         main:TweenPosition(UDim2.new(0.5,-175,0,-500), "InOut", "Quart", 0.5, true, nil)
  2634.     end)
  2635.     dragGUI(main)
  2636.     main.Parent = PARENT
  2637.  
  2638.     return {
  2639.         RegisterEvent = registerEvent,
  2640.         FireEvent = fireEvent,
  2641.         Refresh = refreshList,
  2642.         SaveData = saveData,
  2643.         LoadData = loadData,
  2644.         AddCmd = addCmd,
  2645.         Frame = main,
  2646.         SetOnEdited = setOnEdited
  2647.     }
  2648. end)()
  2649.  
  2650. reference = (function()
  2651.     local main = create({
  2652.         {1,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,Name="Main",Position=UDim2.new(0.5,-250,0,-500),Size=UDim2.new(0,500,0,20),ZIndex=10,}},
  2653.         {2,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="TopBar",Parent={1},Size=UDim2.new(1,0,0,20),ZIndex=10,}},
  2654.         {3,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Title",Parent={2},Size=UDim2.new(1,0,0.94999998807907,0),Text="Reference",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}},
  2655.         {4,"TextButton",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Close",Parent={2},Position=UDim2.new(1,-20,0,0),Size=UDim2.new(0,20,0,20),Text="",TextColor3=Color3.new(1,1,1),TextSize=14,ZIndex=10,}},
  2656.         {5,"ImageLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Image="rbxassetid://5054663650",Parent={4},Position=UDim2.new(0,5,0,5),Size=UDim2.new(0,10,0,10),ZIndex=10,}},
  2657.         {6,"Frame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BorderSizePixel=0,Name="Content",Parent={1},Position=UDim2.new(0,0,0,20),Size=UDim2.new(1,0,0,300),ZIndex=10,}},
  2658.         {7,"ScrollingFrame",{BackgroundColor3=Color3.new(0.14117647707462,0.14117647707462,0.14509804546833),BackgroundTransparency=1,BorderColor3=Color3.new(0.15686275064945,0.15686275064945,0.15686275064945),BorderSizePixel=0,BottomImage="rbxasset://textures/ui/Scroll/scroll-middle.png",CanvasSize=UDim2.new(0,0,0,1313),Name="List",Parent={6},ScrollBarImageColor3=Color3.new(0.30588236451149,0.30588236451149,0.3098039329052),ScrollBarThickness=8,Size=UDim2.new(1,0,1,0),TopImage="rbxasset://textures/ui/Scroll/scroll-middle.png",VerticalScrollBarInset=2,ZIndex=10,}},
  2659.         {8,"UIListLayout",{Parent={7},SortOrder=2,}},
  2660.         {9,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,429),ZIndex=10,}},
  2661.         {10,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={9},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Special Player Cases",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
  2662.         {11,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={9},Position=UDim2.new(0,8,0,25),Size=UDim2.new(1,-8,0,20),Text="These keywords can be used to quickly select groups of players in commands:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2663.         {12,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={9},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
  2664.         {13,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Cases",Parent={9},Position=UDim2.new(0,8,0,55),Size=UDim2.new(1,-16,0,342),ZIndex=10,}},
  2665.         {14,"UIListLayout",{Parent={13},SortOrder=2,}},
  2666.         {15,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,LayoutOrder=-4,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2667.         {16,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={15},Size=UDim2.new(1,0,1,0),Text="all",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2668.         {17,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={15},Position=UDim2.new(0,15,0,0),Size=UDim2.new(1,0,1,0),Text="- includes everyone",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2669.         {18,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,LayoutOrder=-3,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2670.         {19,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={18},Size=UDim2.new(1,0,1,0),Text="others",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2671.         {20,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={18},Position=UDim2.new(0,37,0,0),Size=UDim2.new(1,0,1,0),Text="- includes everyone except you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2672.         {21,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,LayoutOrder=-2,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2673.         {22,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={21},Size=UDim2.new(1,0,1,0),Text="me",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2674.         {23,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={21},Position=UDim2.new(0,19,0,0),Size=UDim2.new(1,0,1,0),Text="- includes your player only",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2675.         {24,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2676.         {25,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={24},Size=UDim2.new(1,0,1,0),Text="#[number]",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2677.         {26,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={24},Position=UDim2.new(0,59,0,0),Size=UDim2.new(1,0,1,0),Text="- gets a specified amount of random players",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2678.         {27,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2679.         {28,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={27},Size=UDim2.new(1,0,1,0),Text="random",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2680.         {29,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={27},Position=UDim2.new(0,44,0,0),Size=UDim2.new(1,0,1,0),Text="- affects a random player",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2681.         {30,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2682.         {31,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={30},Size=UDim2.new(1,0,1,0),Text="%[team name]",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2683.         {32,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={30},Position=UDim2.new(0,78,0,0),Size=UDim2.new(1,0,1,0),Text="- includes everyone on a given team",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2684.         {33,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2685.         {34,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={33},Size=UDim2.new(1,0,1,0),Text="allies / team",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2686.         {35,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={33},Position=UDim2.new(0,63,0,0),Size=UDim2.new(1,0,1,0),Text="- players who are on your team",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2687.         {36,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2688.         {37,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={36},Size=UDim2.new(1,0,1,0),Text="enemies / nonteam",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2689.         {38,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={36},Position=UDim2.new(0,101,0,0),Size=UDim2.new(1,0,1,0),Text="- players who are not on your team",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2690.         {39,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2691.         {40,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={39},Size=UDim2.new(1,0,1,0),Text="friends",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2692.         {41,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={39},Position=UDim2.new(0,40,0,0),Size=UDim2.new(1,0,1,0),Text="- anyone who is friends with you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2693.         {42,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2694.         {43,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={42},Size=UDim2.new(1,0,1,0),Text="nonfriends",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2695.         {44,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={42},Position=UDim2.new(0,61,0,0),Size=UDim2.new(1,0,1,0),Text="- anyone who is not friends with you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2696.         {45,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2697.         {46,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={45},Size=UDim2.new(1,0,1,0),Text="guests",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2698.         {47,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={45},Position=UDim2.new(0,36,0,0),Size=UDim2.new(1,0,1,0),Text="- guest players (obsolete)",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2699.         {48,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2700.         {49,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={48},Size=UDim2.new(1,0,1,0),Text="bacons",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2701.         {50,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={48},Position=UDim2.new(0,40,0,0),Size=UDim2.new(1,0,1,0),Text="- anyone with the \"bacon\" or pal hair",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2702.         {51,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2703.         {52,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={51},Size=UDim2.new(1,0,1,0),Text="age[number]",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2704.         {53,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={51},Position=UDim2.new(0,71,0,0),Size=UDim2.new(1,0,1,0),Text="- includes anyone below or at the given age",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2705.         {54,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2706.         {55,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={54},Size=UDim2.new(1,0,1,0),Text="rad[number]",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2707.         {56,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={54},Position=UDim2.new(0,70,0,0),Size=UDim2.new(1,0,1,0),Text="- includes anyone within the given radius",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2708.         {57,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2709.         {58,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={57},Size=UDim2.new(1,0,1,0),Text="nearest",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2710.         {59,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={57},Position=UDim2.new(0,43,0,0),Size=UDim2.new(1,0,1,0),Text="- gets the closest player to you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2711.         {60,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2712.         {61,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={60},Size=UDim2.new(1,0,1,0),Text="farthest",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2713.         {62,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={60},Position=UDim2.new(0,46,0,0),Size=UDim2.new(1,0,1,0),Text="- gets the farthest player from you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2714.         {63,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2715.         {64,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={63},Size=UDim2.new(1,0,1,0),Text="group[ID]",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2716.         {65,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={63},Position=UDim2.new(0,55,0,0),Size=UDim2.new(1,0,1,0),Text="- gets players who are in a certain group",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2717.         {66,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2718.         {67,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={66},Size=UDim2.new(1,0,1,0),Text="alive",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2719.         {68,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={66},Position=UDim2.new(0,27,0,0),Size=UDim2.new(1,0,1,0),Text="- gets players who are alive",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2720.         {69,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2721.         {70,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={69},Size=UDim2.new(1,0,1,0),Text="dead",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2722.         {71,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={69},Position=UDim2.new(0,29,0,0),Size=UDim2.new(1,0,1,0),Text="- gets players who are dead",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2723.         {72,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BackgroundTransparency=1,BorderSizePixel=0,LayoutOrder=-1,Name="Case",Parent={13},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,0,0,18),ZIndex=10,}},
  2724.         {73,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="CaseName",Parent={72},Size=UDim2.new(1,0,1,0),Text="@username",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2725.         {74,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="CaseDesc",Parent={72},Position=UDim2.new(0,66,0,0),Size=UDim2.new(1,0,1,0),Text="- searches for players by username only (ignores displaynames)",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2726.         {75,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,180),ZIndex=10,}},
  2727.         {76,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={75},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Various Operators",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
  2728.         {77,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={75},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
  2729.         {78,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={75},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,16),Text="Use commas to separate multiple expressions:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
  2730.         {79,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={75},Position=UDim2.new(0,8,0,75),Size=UDim2.new(1,-8,0,16),Text="Use - to exclude, and + to include players in your expression:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
  2731.         {80,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={75},Position=UDim2.new(0,8,0,91),Size=UDim2.new(1,-8,0,16),Text=";locate %blue-friends (gets players in blue team who aren't your friends)",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
  2732.         {81,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={75},Position=UDim2.new(0,8,0,46),Size=UDim2.new(1,-8,0,16),Text=";locate noob,noob2,bob",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
  2733.         {82,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={75},Position=UDim2.new(0,8,0,120),Size=UDim2.new(1,-8,0,16),Text="Put ! before a command to run it with the last arguments it was ran with:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
  2734.         {83,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={75},Position=UDim2.new(0,8,0,136),Size=UDim2.new(1,-8,0,32),Text="After running ;offset 0 100 0,  you can run !offset anytime to repeat that command with the same arguments that were used to run it last time",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
  2735.         {84,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,154),ZIndex=10,}},
  2736.         {85,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={84},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Command Looping",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
  2737.         {86,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={84},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,20),Text="Form: [How many times it loops]^[delay (optional)]^[command]",TextColor3=Color3.new(1,1,1),TextSize=15,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2738.         {87,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={84},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
  2739.         {88,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={84},Position=UDim2.new(0,8,0,50),Size=UDim2.new(1,-8,0,20),Text="Use the 'breakloops' command to stop all running loops.",TextColor3=Color3.new(1,1,1),TextSize=15,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2740.         {89,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={84},Position=UDim2.new(0,8,0,80),Size=UDim2.new(1,-8,0,16),Text="Examples:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
  2741.         {90,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={84},Position=UDim2.new(0,8,0,98),Size=UDim2.new(1,-8,0,42),Text=";5^btools - gives you 5 sets of btools\n;10^3^drophats - drops your hats every 3 seconds 10 times\n;inf^0.1^animspeed 100 - infinitely loops your animation speed to 100",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
  2742.         {91,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,120),ZIndex=10,}},
  2743.         {92,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={91},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Execute Multiple Commands at Once",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
  2744.         {93,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={91},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,20),Text="You can execute multiple commands at once using \"\\\"",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2745.         {94,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={91},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
  2746.         {95,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={91},Position=UDim2.new(0,8,0,60),Size=UDim2.new(1,-8,0,16),Text="Examples:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
  2747.         {96,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={91},Position=UDim2.new(0,8,0,78),Size=UDim2.new(1,-8,0,32),Text=";drophats\\respawn - drops your hats and respawns you\n;enable inventory\\enable playerlist\\refresh - enables those coregui items and refreshes you",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
  2748.         {97,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,75),ZIndex=10,}},
  2749.         {98,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={97},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Browse Command History",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
  2750.         {99,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={97},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,32),Text="While focused on the command bar, you can use the up and down arrow keys to browse recently used commands",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2751.         {100,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={97},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
  2752.         {101,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,75),ZIndex=10,}},
  2753.         {102,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={101},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Autocomplete in the Command Bar",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
  2754.         {103,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={101},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,32),Text="While focused on the command bar, you can use the tab key to insert the top suggested command into the command bar.",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2755.         {104,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={101},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
  2756.         {105,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,175),ZIndex=10,}},
  2757.         {106,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={105},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Using Event Binds",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
  2758.         {107,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={105},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,32),Text="Use event binds to set up commands that get executed when certain events happen. You can edit the conditions for an event command to run (such as which player triggers it).",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2759.         {108,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={105},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
  2760.         {109,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={105},Position=UDim2.new(0,8,0,70),Size=UDim2.new(1,-8,0,48),Text="Some events may send arguments; you can use them in your event command by using $ followed by the argument number ($1, $2, etc). You can find out the order and types of these arguments by looking at the settings of the event command.",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2761.         {110,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={105},Position=UDim2.new(0,8,0,130),Size=UDim2.new(1,-8,0,16),Text="Example:",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
  2762.         {111,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={105},Position=UDim2.new(0,8,0,148),Size=UDim2.new(1,-8,0,16),Text="Setting up 'goto $1' on the OnChatted event will teleport you to any player that chats.",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,TextYAlignment=0,ZIndex=10,}},
  2763.         {112,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,105),ZIndex=10,}},
  2764.         {113,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={112},Position=UDim2.new(0,8,0,5),Size=UDim2.new(1,-8,0,20),Text="Get Further Help",TextColor3=Color3.new(1,1,1),TextSize=20,TextXAlignment=0,ZIndex=10,}},
  2765.         {114,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={112},Position=UDim2.new(0,8,0,30),Size=UDim2.new(1,-8,0,32),Text="You can join the Discord server to get support with IY,  and read up on more documentation such as the Plugin API.",TextColor3=Color3.new(1,1,1),TextSize=14,TextWrapped=true,TextXAlignment=0,ZIndex=10,}},
  2766.         {115,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={112},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),Visible=false,ZIndex=10,}},
  2767.         {116,"TextButton",{BackgroundColor3=Color3.new(0.48627451062202,0.61960786581039,0.85098040103912),BorderColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),Font=4,Name="InviteButton",Parent={112},Position=UDim2.new(0,5,0,75),Size=UDim2.new(1,-10,0,25),Text="Copy Discord Invite Link (https://discord.gg/78ZuWSq)",TextColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),TextSize=16,ZIndex=10,}},
  2768.     })
  2769.     for i,v in pairs(main.Content.List:GetDescendants()) do
  2770.         if v:IsA("TextLabel") then
  2771.             table.insert(text1,v)
  2772.         end
  2773.     end
  2774.     table.insert(scroll,main.Content.List)
  2775.     table.insert(shade1,main.Content)
  2776.     table.insert(shade2,main.TopBar)
  2777.     main.Name = randomString()
  2778.     main.TopBar.Close.MouseButton1Click:Connect(function()
  2779.         main:TweenPosition(UDim2.new(0.5,-250,0,-500), "InOut", "Quart", 0.5, true, nil)
  2780.     end)
  2781.     local inviteButton = main:FindFirstChild("InviteButton",true)
  2782.     local lastPress = nil
  2783.     inviteButton.MouseButton1Click:Connect(function()
  2784.         if everyClipboard then
  2785.             toClipboard("https://discord.gg/78ZuWSq")
  2786.             inviteButton.Text = "Copied"
  2787.         else
  2788.             inviteButton.Text = "No Clipboard Function, type out the link"
  2789.         end
  2790.         local pressTime = tick()
  2791.         lastPress = pressTime
  2792.         wait(2)
  2793.         if lastPress ~= pressTime then return end
  2794.         inviteButton.Text = "Copy Discord Invite Link (https://discord.gg/78ZuWSq)"
  2795.     end)
  2796.     dragGUI(main)
  2797.     main.Parent = PARENT
  2798.  
  2799.     ReferenceButton.MouseButton1Click:Connect(function()
  2800.         main:TweenPosition(UDim2.new(0.5,-250,0.5,-150), "InOut", "Quart", 0.5, true, nil)
  2801.     end)
  2802. end)()
  2803.  
  2804. currentShade1 = Color3.fromRGB(0, 65, 195)
  2805. currentShade2 = Color3.fromRGB(0, 85, 255)
  2806. currentShade3 = Color3.fromRGB(0, 100, 255)
  2807. currentText1 = Color3.new(1, 1, 1)
  2808. currentText2 = Color3.new(0, 0, 0)
  2809. currentScroll = Color3.fromRGB(78,78,79)
  2810.  
  2811. defaultsettings = {
  2812.     prefix = ';';
  2813.     StayOpen = false;
  2814.     espTransparency = 0.3;
  2815.     keepIY = true;
  2816.     logsEnabled = false;
  2817.     jLogsEnabled = false;
  2818.     aliases = {};
  2819.     binds = {};
  2820.     WayPoints = {};
  2821.     PluginsTable = {};
  2822.     currentShade1 = {currentShade1.R,currentShade1.G,currentShade1.B};
  2823.     currentShade2 = {currentShade2.R,currentShade2.G,currentShade2.B};
  2824.     currentShade3 = {currentShade3.R,currentShade3.G,currentShade3.B};
  2825.     currentText1 = {currentText1.R,currentText1.G,currentText1.B};
  2826.     currentText2 = {currentText2.R,currentText2.G,currentText2.B};
  2827.     currentScroll = {currentScroll.R,currentScroll.G,currentScroll.B};
  2828.     eventBinds = eventEditor.SaveData()
  2829. }
  2830.  
  2831. defaults = HttpService:JSONEncode(defaultsettings)
  2832. nosaves = false
  2833. useFactorySettings = function()
  2834.     prefix = ';'
  2835.     StayOpen = false
  2836.     KeepInfYield = true
  2837.     espTransparency = 0.3
  2838.     logsEnabled = false
  2839.     jLogsEnabled = false
  2840.     aliases = {}
  2841.     binds = {}
  2842.     WayPoints = {}
  2843.     PluginsTable = {}
  2844. end
  2845.  
  2846. createPopup = function(text)
  2847.     local FileError = Instance.new("Frame")
  2848.     local background = Instance.new("Frame")
  2849.     local Directions = Instance.new("TextLabel")
  2850.     local shadow = Instance.new("Frame")
  2851.     local PopupText = Instance.new("TextLabel")
  2852.     local Exit = Instance.new("TextButton")
  2853.     local ExitImage = Instance.new("ImageLabel")
  2854.  
  2855.     FileError.Name = randomString()
  2856.     FileError.Parent = PARENT
  2857.     FileError.Active = true
  2858.     FileError.BackgroundTransparency = 1
  2859.     FileError.Position = UDim2.new(0.5, -180, 0, 290)
  2860.     FileError.Size = UDim2.new(0, 360, 0, 20)
  2861.     FileError.ZIndex = 10
  2862.  
  2863.     background.Name = "background"
  2864.     background.Parent = FileError
  2865.     background.Active = true
  2866.     background.BackgroundColor3 = Color3.fromRGB(0, 65, 195)
  2867.     background.BorderSizePixel = 0
  2868.     background.Position = UDim2.new(0, 0, 0, 20)
  2869.     background.Size = UDim2.new(0, 360, 0, 205)
  2870.     background.ZIndex = 10
  2871.  
  2872.     Directions.Name = "Directions"
  2873.     Directions.Parent = background
  2874.     Directions.BackgroundTransparency = 1
  2875.     Directions.BorderSizePixel = 0
  2876.     Directions.Position = UDim2.new(0, 10, 0, 10)
  2877.     Directions.Size = UDim2.new(0, 340, 0, 185)
  2878.     Directions.Font = Enum.Font.SourceSans
  2879.     Directions.TextSize = 14
  2880.     Directions.Text = text
  2881.     Directions.TextColor3 = Color3.new(1, 1, 1)
  2882.     Directions.TextWrapped = true
  2883.     Directions.TextXAlignment = Enum.TextXAlignment.Left
  2884.     Directions.TextYAlignment = Enum.TextYAlignment.Top
  2885.     Directions.ZIndex = 10
  2886.  
  2887.     shadow.Name = "shadow"
  2888.     shadow.Parent = FileError
  2889.     shadow.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  2890.     shadow.BorderSizePixel = 0
  2891.     shadow.Size = UDim2.new(0, 360, 0, 20)
  2892.     shadow.ZIndex = 10
  2893.  
  2894.     PopupText.Name = "PopupText"
  2895.     PopupText.Parent = shadow
  2896.     PopupText.BackgroundTransparency = 1
  2897.     PopupText.Size = UDim2.new(1, 0, 0.95, 0)
  2898.     PopupText.ZIndex = 10
  2899.     PopupText.Font = Enum.Font.SourceSans
  2900.     PopupText.TextSize = 14
  2901.     PopupText.Text = "File Error"
  2902.     PopupText.TextColor3 = Color3.new(1, 1, 1)
  2903.     PopupText.TextWrapped = true
  2904.  
  2905.     Exit.Name = "Exit"
  2906.     Exit.Parent = shadow
  2907.     Exit.BackgroundTransparency = 1
  2908.     Exit.Position = UDim2.new(1, -20, 0, 0)
  2909.     Exit.Size = UDim2.new(0, 20, 0, 20)
  2910.     Exit.Text = ""
  2911.     Exit.ZIndex = 10
  2912.  
  2913.     ExitImage.Parent = Exit
  2914.     ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
  2915.     ExitImage.BackgroundTransparency = 1
  2916.     ExitImage.Position = UDim2.new(0, 5, 0, 5)
  2917.     ExitImage.Size = UDim2.new(0, 10, 0, 10)
  2918.     ExitImage.Image = "rbxassetid://5054663650"
  2919.     ExitImage.ZIndex = 10
  2920.  
  2921.     Exit.MouseButton1Click:Connect(function()
  2922.         FileError:Destroy()
  2923.     end)
  2924. end
  2925.  
  2926. local loadedEventData = nil
  2927. local jsonAttempts = 0
  2928. function saves()
  2929.     if writefileExploit() and readfileExploit() and jsonAttempts < 10 then
  2930.         local readSuccess, out = readfile("IY_FE.iy", true)
  2931.         if readSuccess then
  2932.             if out ~= nil and tostring(out):gsub("%s", "") ~= "" then
  2933.                 local success, response = pcall(function()
  2934.                     local json = HttpService:JSONDecode(out)
  2935.                     if json.prefix ~= nil then prefix = json.prefix else prefix = ';' end
  2936.                     if json.StayOpen ~= nil then StayOpen = json.StayOpen else StayOpen = false end
  2937.                     if json.keepIY ~= nil then KeepInfYield = json.keepIY else KeepInfYield = true end
  2938.                     if json.espTransparency ~= nil then espTransparency = json.espTransparency else espTransparency = 0.3 end
  2939.                     if json.logsEnabled ~= nil then logsEnabled = json.logsEnabled else logsEnabled = false end
  2940.                     if json.jLogsEnabled ~= nil then jLogsEnabled = json.jLogsEnabled else jLogsEnabled = false end
  2941.                     if json.aliases ~= nil then aliases = json.aliases else aliases = {} end
  2942.                     if json.binds ~= nil then binds = (json.binds or {}) else binds = {} end
  2943.                     if json.spawnCmds ~= nil then spawnCmds = json.spawnCmds end
  2944.                     if json.WayPoints ~= nil then AllWaypoints = json.WayPoints else WayPoints = {} AllWaypoints = {} end
  2945.                     if json.PluginsTable ~= nil then PluginsTable = json.PluginsTable else PluginsTable = {} end
  2946.                     if json.currentShade1 ~= nil then currentShade1 = Color3.new(json.currentShade1[1],json.currentShade1[2],json.currentShade1[3]) end
  2947.                     if json.currentShade2 ~= nil then currentShade2 = Color3.new(json.currentShade2[1],json.currentShade2[2],json.currentShade2[3]) end
  2948.                     if json.currentShade3 ~= nil then currentShade3 = Color3.new(json.currentShade3[1],json.currentShade3[2],json.currentShade3[3]) end
  2949.                     if json.currentText1 ~= nil then currentText1 = Color3.new(json.currentText1[1],json.currentText1[2],json.currentText1[3]) end
  2950.                     if json.currentText2 ~= nil then currentText2 = Color3.new(json.currentText2[1],json.currentText2[2],json.currentText2[3]) end
  2951.                     if json.currentScroll ~= nil then currentScroll = Color3.new(json.currentScroll[1],json.currentScroll[2],json.currentScroll[3]) end
  2952.                     if json.eventBinds ~= nil then loadedEventData = json.eventBinds end
  2953.                 end)
  2954.                 if not success then
  2955.                     jsonAttempts = jsonAttempts + 1
  2956.                     warn("Save Json Error:", response)
  2957.                     warn("Overwriting Save File")
  2958.                     writefile("IY_FE.iy", defaults, true)
  2959.                     wait()
  2960.                     saves()
  2961.                 end
  2962.             else
  2963.                 writefile("IY_FE.iy", defaults, true)
  2964.                 wait()
  2965.                 local dReadSuccess, dOut = readfile("IY_FE.iy", true)
  2966.                 if dReadSuccess and dOut ~= nil and tostring(dOut):gsub("%s", "") ~= "" then
  2967.                     saves()
  2968.                 else
  2969.                     nosaves = true
  2970.                     useFactorySettings()
  2971.                     createPopup("There was a problem writing a save file to your PC.\n\nPlease contact the developer/support team for your exploit and tell them writefile/readfile is not working.\n\nYour settings, keybinds, waypoints, and aliases will not save if you continue.\n\nThings to try:\n> Make sure a 'workspace' folder is located in the same folder as your exploit\n> If your exploit is inside of a zip/rar file, extract it.\n> Rejoin the game and try again or restart your PC and try again.")
  2972.                 end
  2973.             end
  2974.         else
  2975.             writefile("IY_FE.iy", defaults, true)
  2976.             wait()
  2977.             local dReadSuccess, dOut = readfile("IY_FE.iy", true)
  2978.             if dReadSuccess and dOut ~= nil and tostring(dOut):gsub("%s", "") ~= "" then
  2979.                 saves()
  2980.             else
  2981.                 nosaves = true
  2982.                 useFactorySettings()
  2983.                 createPopup("There was a problem writing a save file to your PC.\n\nPlease contact the developer/support team for your exploit and tell them writefile/readfile is not working.\n\nYour settings, keybinds, waypoints, and aliases will not save if you continue.\n\nThings to try:\n> Make sure a 'workspace' folder is located in the same folder as your exploit\n> If your exploit is inside of a zip/rar file, extract it.\n> Rejoin the game and try again or restart your PC and try again.")
  2984.             end
  2985.         end
  2986.     else
  2987.         if jsonAttempts >= 10 then
  2988.             nosaves = true
  2989.             useFactorySettings()
  2990.             createPopup("Sorry, we have attempted to parse your save file, but it is unreadable!\n\nElmas is now using factory settings until your exploit's file system works.\n\nYour save file has not been deleted.")
  2991.         else
  2992.             nosaves = true
  2993.             useFactorySettings()
  2994.         end
  2995.     end
  2996. end
  2997.  
  2998. saves()
  2999.  
  3000. function updatesaves()
  3001.     if nosaves == false and writefileExploit() then
  3002.         local update = {
  3003.             prefix = prefix;
  3004.             StayOpen = StayOpen;
  3005.             keepIY = KeepInfYield;
  3006.             espTransparency = espTransparency;
  3007.             logsEnabled = logsEnabled;
  3008.             jLogsEnabled = jLogsEnabled;
  3009.             aliases = aliases;
  3010.             binds = binds or {};
  3011.             WayPoints = AllWaypoints;
  3012.             PluginsTable = PluginsTable;
  3013.             currentShade1 = {currentShade1.R,currentShade1.G,currentShade1.B};
  3014.             currentShade2 = {currentShade2.R,currentShade2.G,currentShade2.B};
  3015.             currentShade3 = {currentShade3.R,currentShade3.G,currentShade3.B};
  3016.             currentText1 = {currentText1.R,currentText1.G,currentText1.B};
  3017.             currentText2 = {currentText2.R,currentText2.G,currentText2.B};
  3018.             currentScroll = {currentScroll.R,currentScroll.G,currentScroll.B};
  3019.             eventBinds = eventEditor.SaveData()
  3020.         }
  3021.         writefileCooldown("IY_FE.iy", HttpService:JSONEncode(update))
  3022.     end
  3023. end
  3024.  
  3025. eventEditor.SetOnEdited(updatesaves)
  3026.  
  3027. pWayPoints = {}
  3028. WayPoints = {}
  3029.  
  3030. if #AllWaypoints > 0 then
  3031.     for i = 1, #AllWaypoints do
  3032.         if not AllWaypoints[i].GAME or AllWaypoints[i].GAME == PlaceId then
  3033.             WayPoints[#WayPoints + 1] = {NAME = AllWaypoints[i].NAME, COORD = {AllWaypoints[i].COORD[1], AllWaypoints[i].COORD[2], AllWaypoints[i].COORD[3]}, GAME = AllWaypoints[i].GAME}
  3034.         end
  3035.     end
  3036. end
  3037.  
  3038. if type(binds) ~= "table" then binds = {} end
  3039.  
  3040. function Time()
  3041.     local HOUR = math.floor((tick() % 86400) / 3600)
  3042.     local MINUTE = math.floor((tick() % 3600) / 60)
  3043.     local SECOND = math.floor(tick() % 60)
  3044.     local AP = HOUR > 11 and 'PM' or 'AM'
  3045.     HOUR = (HOUR % 12 == 0 and 12 or HOUR % 12)
  3046.     HOUR = HOUR < 10 and '0' .. HOUR or HOUR
  3047.     MINUTE = MINUTE < 10 and '0' .. MINUTE or MINUTE
  3048.     SECOND = SECOND < 10 and '0' .. SECOND or SECOND
  3049.     return HOUR .. ':' .. MINUTE .. ':' .. SECOND .. ' ' .. AP
  3050. end
  3051.  
  3052. PrefixBox.Text = prefix
  3053. local SettingsOpen = false
  3054. local isHidden = false
  3055.  
  3056. if StayOpen == false then
  3057.     On.BackgroundTransparency = 1
  3058. else
  3059.     On.BackgroundTransparency = 0
  3060. end
  3061.  
  3062. if logsEnabled then
  3063.     Toggle.Text = 'Enabled'
  3064. else
  3065.     Toggle.Text = 'Disabled'
  3066. end
  3067.  
  3068. if jLogsEnabled then
  3069.     Toggle_2.Text = 'Enabled'
  3070. else
  3071.     Toggle_2.Text = 'Disabled'
  3072. end
  3073.  
  3074. function maximizeHolder()
  3075.     if StayOpen == false then
  3076.         Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, -220), "InOut", "Quart", 0.2, true, nil)
  3077.     end
  3078. end
  3079.  
  3080. local minimizeNum = -20
  3081. function minimizeHolder()
  3082.     if StayOpen == false then
  3083.         Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, minimizeNum), "InOut", "Quart", 0.5, true, nil)
  3084.     end
  3085. end
  3086.  
  3087. function cmdbarHolder()
  3088.     if StayOpen == false then
  3089.         Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, -45), "InOut", "Quart", 0.5, true, nil)
  3090.     end
  3091. end
  3092.  
  3093. pinNotification = nil
  3094. local notifyCount = 0
  3095. function notify(text,text2,length)
  3096.     task.spawn(function()
  3097.         local LnotifyCount = notifyCount+1
  3098.         local notificationPinned = false
  3099.         notifyCount = notifyCount+1
  3100.         if pinNotification then pinNotification:Disconnect() end
  3101.         pinNotification = PinButton.MouseButton1Click:Connect(function()
  3102.             task.spawn(function()
  3103.                 pinNotification:Disconnect()
  3104.                 notificationPinned = true
  3105.                 Title_2.BackgroundTransparency = 1
  3106.                 wait(0.5)
  3107.                 Title_2.BackgroundTransparency = 0
  3108.             end)
  3109.         end)
  3110.         Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil)
  3111.         wait(0.6)
  3112.         local closepressed = false
  3113.         if text2 then
  3114.             Title_2.Text = text
  3115.             Text_2.Text = text2
  3116.         else
  3117.             Title_2.Text = 'Notification'
  3118.             Text_2.Text = text
  3119.         end
  3120.         Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, -100), "InOut", "Quart", 0.5, true, nil)
  3121.         CloseButton.MouseButton1Click:Connect(function()
  3122.             Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil)
  3123.             closepressed = true
  3124.             pinNotification:Disconnect()
  3125.         end)
  3126.         if length and isNumber(length) then
  3127.             wait(length)
  3128.         else
  3129.             wait(10)
  3130.         end
  3131.         if LnotifyCount == notifyCount then
  3132.             if closepressed == false and notificationPinned == false then
  3133.                 pinNotification:Disconnect()
  3134.                 Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil)
  3135.             end
  3136.             notifyCount = 0
  3137.         end
  3138.     end)
  3139. end
  3140.  
  3141. local lastMessage = nil
  3142. local lastLabel = nil
  3143. local dupeCount = 1
  3144. function CreateLabel(Name, Text)
  3145.     if lastMessage == Name..Text then
  3146.         dupeCount = dupeCount+1
  3147.         lastLabel.Text = Time()..' - ['..Name..']: '..Text..' (x'..dupeCount..')'
  3148.     else
  3149.         if dupeCount > 1 then dupeCount = 1 end
  3150.         if #scroll_2:GetChildren() >= 2546 then
  3151.             scroll_2:ClearAllChildren()
  3152.         end
  3153.         local alls = 0
  3154.         for i,v in pairs(scroll_2:GetChildren()) do
  3155.             if v then
  3156.                 alls = v.Size.Y.Offset + alls
  3157.             end
  3158.             if not v then
  3159.                 alls = 0
  3160.             end
  3161.         end
  3162.         local tl = Instance.new('TextLabel')
  3163.         lastMessage = Name..Text
  3164.         lastLabel = tl
  3165.         tl.Name = Name
  3166.         tl.Parent = scroll_2
  3167.         tl.ZIndex = 10
  3168.         tl.Text = Time().." - ["..Name.."]: "..Text
  3169.         tl.Size = UDim2.new(0,322,0,84)
  3170.         tl.BackgroundTransparency = 1
  3171.         tl.BorderSizePixel = 0
  3172.         tl.Font = "SourceSans"
  3173.         tl.Position = UDim2.new(-1,0,0,alls)
  3174.         tl.TextTransparency = 1
  3175.         tl.TextScaled = false
  3176.         tl.TextSize = 14
  3177.         tl.TextWrapped = true
  3178.         tl.TextXAlignment = "Left"
  3179.         tl.TextYAlignment = "Top"
  3180.         tl.TextColor3 = currentText1
  3181.         tl.Size = UDim2.new(0,322,0,tl.TextBounds.Y)
  3182.         table.insert(text1,tl)
  3183.         scroll_2.CanvasSize = UDim2.new(0,0,0,alls+tl.TextBounds.Y)
  3184.         scroll_2.CanvasPosition = Vector2.new(0,scroll_2.CanvasPosition.Y+tl.TextBounds.Y)
  3185.         tl:TweenPosition(UDim2.new(0,3,0,alls), 'In', 'Quint', 0.5)
  3186.         TweenService:Create(tl, TweenInfo.new(1.25, Enum.EasingStyle.Linear), { TextTransparency = 0 }):Play()
  3187.     end
  3188. end
  3189.  
  3190. function CreateJoinLabel(plr,ID)
  3191.     if #scroll_3:GetChildren() >= 2546 then
  3192.         scroll_3:ClearAllChildren()
  3193.     end
  3194.     local infoFrame = Instance.new("Frame")
  3195.     local info1 = Instance.new("TextLabel")
  3196.     local info2 = Instance.new("TextLabel")
  3197.     local ImageLabel_3 = Instance.new("ImageLabel")
  3198.     infoFrame.Name = randomString()
  3199.     infoFrame.Parent = scroll_3
  3200.     infoFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  3201.     infoFrame.BackgroundTransparency = 1
  3202.     infoFrame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  3203.     infoFrame.Size = UDim2.new(1, 0, 0, 50)
  3204.     info1.Name = randomString()
  3205.     info1.Parent = infoFrame
  3206.     info1.BackgroundTransparency = 1
  3207.     info1.BorderSizePixel = 0
  3208.     info1.Position = UDim2.new(0, 45, 0, 0)
  3209.     info1.Size = UDim2.new(0, 135, 1, 0)
  3210.     info1.ZIndex = 10
  3211.     info1.Font = Enum.Font.SourceSans
  3212.     info1.FontSize = Enum.FontSize.Size14
  3213.     info1.Text = "Username: "..plr.Name.."\nJoined Server: "..Time()
  3214.     info1.TextColor3 = Color3.new(1, 1, 1)
  3215.     info1.TextWrapped = true
  3216.     info1.TextXAlignment = Enum.TextXAlignment.Left
  3217.     info2.Name = randomString()
  3218.     info2.Parent = infoFrame
  3219.     info2.BackgroundTransparency = 1
  3220.     info2.BorderSizePixel = 0
  3221.     info2.Position = UDim2.new(0, 185, 0, 0)
  3222.     info2.Size = UDim2.new(0, 140, 1, -5)
  3223.     info2.ZIndex = 10
  3224.     info2.Font = Enum.Font.SourceSans
  3225.     info2.FontSize = Enum.FontSize.Size14
  3226.     info2.Text = "User ID: "..ID.."\nAccount Age: "..plr.AccountAge.."\nJoined Roblox: Loading..."
  3227.     info2.TextColor3 = Color3.new(1, 1, 1)
  3228.     info2.TextWrapped = true
  3229.     info2.TextXAlignment = Enum.TextXAlignment.Left
  3230.     info2.TextYAlignment = Enum.TextYAlignment.Center
  3231.     ImageLabel_3.Parent = infoFrame
  3232.     ImageLabel_3.BackgroundTransparency = 1
  3233.     ImageLabel_3.BorderSizePixel = 0
  3234.     ImageLabel_3.Size = UDim2.new(0, 45, 1, 0)
  3235.     ImageLabel_3.Image = Players:GetUserThumbnailAsync(ID, Enum.ThumbnailType.AvatarThumbnail, Enum.ThumbnailSize.Size420x420)
  3236.     scroll_3.CanvasSize = UDim2.new(0, 0, 0, listlayout.AbsoluteContentSize.Y)
  3237.     scroll_3.CanvasPosition = Vector2.new(0,scroll_2.CanvasPosition.Y+infoFrame.AbsoluteSize.Y)
  3238.     wait()
  3239.     local user = game:HttpGet("https://users.roblox.com/v1/users/"..ID)
  3240.     local json = HttpService:JSONDecode(user)
  3241.     local date = json["created"]:sub(1,10)
  3242.     local splitDates = string.split(date,"-")
  3243.     info2.Text = string.gsub(info2.Text, "Loading...",splitDates[2].."/"..splitDates[3].."/"..splitDates[1])
  3244. end
  3245.  
  3246. IYMouse.KeyDown:Connect(function(Key)
  3247.     if (Key==prefix) then
  3248.         Cmdbar:CaptureFocus()
  3249.         spawn(function()
  3250.             repeat Cmdbar.Text = '' until Cmdbar.Text == ''
  3251.         end)
  3252.         maximizeHolder()
  3253.     end
  3254. end)
  3255.  
  3256. local lastMinimizeReq = 0
  3257. Holder.MouseEnter:Connect(function()
  3258.     lastMinimizeReq = 0
  3259.     maximizeHolder()
  3260. end)
  3261.  
  3262. Holder.MouseLeave:Connect(function()
  3263.     if not Cmdbar:IsFocused() then
  3264.         local reqTime = tick()
  3265.         lastMinimizeReq = reqTime
  3266.         wait(1)
  3267.         if lastMinimizeReq ~= reqTime then return end
  3268.         if not Cmdbar:IsFocused() then
  3269.             minimizeHolder()
  3270.         end
  3271.     end
  3272. end)
  3273.  
  3274. function updateColors(color,ctype)
  3275.     if ctype == shade1 then
  3276.         for i,v in pairs(shade1) do
  3277.             v.BackgroundColor3 = color
  3278.         end
  3279.         currentShade1 = color
  3280.     elseif ctype == shade2 then
  3281.         for i,v in pairs(shade2) do
  3282.             v.BackgroundColor3 = color
  3283.         end
  3284.         currentShade2 = color
  3285.     elseif ctype == shade3 then
  3286.         for i,v in pairs(shade3) do
  3287.             v.BackgroundColor3 = color
  3288.         end
  3289.         currentShade3 = color
  3290.     elseif ctype == text1 then
  3291.         for i,v in pairs(text1) do
  3292.             v.TextColor3 = color
  3293.             if v:IsA("TextBox") then
  3294.                 v.PlaceholderColor3 = color
  3295.             end
  3296.         end
  3297.         currentText1 = color
  3298.     elseif ctype == text2 then
  3299.         for i,v in pairs(text2) do
  3300.             v.TextColor3 = color
  3301.         end
  3302.         currentText2 = color
  3303.     elseif ctype == scroll then
  3304.         for i,v in pairs(scroll) do
  3305.             v.ScrollBarImageColor3 = color
  3306.         end
  3307.         currentScroll = color
  3308.     end
  3309. end
  3310.  
  3311. local colorpickerOpen = false
  3312. ColorsButton.MouseButton1Click:Connect(function()
  3313.     cache_currentShade1 = currentShade1
  3314.     cache_currentShade2 = currentShade2
  3315.     cache_currentShade3 = currentShade3
  3316.     cache_currentText1 = currentText1
  3317.     cache_currentText2 = currentText2
  3318.     cache_currentScroll = currentScroll
  3319.     if not colorpickerOpen then
  3320.         colorpickerOpen = true
  3321.         picker = game:GetObjects("rbxassetid://4908465318")[1]
  3322.         picker.Name = randomString()
  3323.         picker.Parent = PARENT
  3324.  
  3325.         local ColorPicker do
  3326.             ColorPicker = {}
  3327.  
  3328.             ColorPicker.new = function()
  3329.                 local newMt = setmetatable({},{})
  3330.  
  3331.                 local pickerGui = picker.ColorPicker
  3332.                 local pickerTopBar = pickerGui.TopBar
  3333.                 local pickerExit = pickerTopBar.Exit
  3334.                 local pickerFrame = pickerGui.Content
  3335.                 local colorSpace = pickerFrame.ColorSpaceFrame.ColorSpace
  3336.                 local colorStrip = pickerFrame.ColorStrip
  3337.                 local previewFrame = pickerFrame.Preview
  3338.                 local basicColorsFrame = pickerFrame.BasicColors
  3339.                 local customColorsFrame = pickerFrame.CustomColors
  3340.                 local defaultButton = pickerFrame.Default
  3341.                 local cancelButton = pickerFrame.Cancel
  3342.                 local shade1Button = pickerFrame.Shade1
  3343.                 local shade2Button = pickerFrame.Shade2
  3344.                 local shade3Button = pickerFrame.Shade3
  3345.                 local text1Button = pickerFrame.Text1
  3346.                 local text2Button = pickerFrame.Text2
  3347.                 local scrollButton = pickerFrame.Scroll
  3348.  
  3349.                 local colorScope = colorSpace.Scope
  3350.                 local colorArrow = pickerFrame.ArrowFrame.Arrow
  3351.  
  3352.                 local hueInput = pickerFrame.Hue.Input
  3353.                 local satInput = pickerFrame.Sat.Input
  3354.                 local valInput = pickerFrame.Val.Input
  3355.  
  3356.                 local redInput = pickerFrame.Red.Input
  3357.                 local greenInput = pickerFrame.Green.Input
  3358.                 local blueInput = pickerFrame.Blue.Input
  3359.  
  3360.                 local mouse = IYMouse
  3361.  
  3362.                 local hue,sat,val = 0,0,1
  3363.                 local red,green,blue = 1,1,1
  3364.                 local chosenColor = Color3.new(0,0,0)
  3365.  
  3366.                 local basicColors = {Color3.new(0,0,0),Color3.new(0.66666668653488,0,0),Color3.new(0,0.33333334326744,0),Color3.new(0.66666668653488,0.33333334326744,0),Color3.new(0,0.66666668653488,0),Color3.new(0.66666668653488,0.66666668653488,0),Color3.new(0,1,0),Color3.new(0.66666668653488,1,0),Color3.new(0,0,0.49803924560547),Color3.new(0.66666668653488,0,0.49803924560547),Color3.new(0,0.33333334326744,0.49803924560547),Color3.new(0.66666668653488,0.33333334326744,0.49803924560547),Color3.new(0,0.66666668653488,0.49803924560547),Color3.new(0.66666668653488,0.66666668653488,0.49803924560547),Color3.new(0,1,0.49803924560547),Color3.new(0.66666668653488,1,0.49803924560547),Color3.new(0,0,1),Color3.new(0.66666668653488,0,1),Color3.new(0,0.33333334326744,1),Color3.new(0.66666668653488,0.33333334326744,1),Color3.new(0,0.66666668653488,1),Color3.new(0.66666668653488,0.66666668653488,1),Color3.new(0,1,1),Color3.new(0.66666668653488,1,1),Color3.new(0.33333334326744,0,0),Color3.new(1,0,0),Color3.new(0.33333334326744,0.33333334326744,0),Color3.new(1,0.33333334326744,0),Color3.new(0.33333334326744,0.66666668653488,0),Color3.new(1,0.66666668653488,0),Color3.new(0.33333334326744,1,0),Color3.new(1,1,0),Color3.new(0.33333334326744,0,0.49803924560547),Color3.new(1,0,0.49803924560547),Color3.new(0.33333334326744,0.33333334326744,0.49803924560547),Color3.new(1,0.33333334326744,0.49803924560547),Color3.new(0.33333334326744,0.66666668653488,0.49803924560547),Color3.new(1,0.66666668653488,0.49803924560547),Color3.new(0.33333334326744,1,0.49803924560547),Color3.new(1,1,0.49803924560547),Color3.new(0.33333334326744,0,1),Color3.new(1,0,1),Color3.new(0.33333334326744,0.33333334326744,1),Color3.new(1,0.33333334326744,1),Color3.new(0.33333334326744,0.66666668653488,1),Color3.new(1,0.66666668653488,1),Color3.new(0.33333334326744,1,1),Color3.new(1,1,1)}
  3367.                 local customColors = {}
  3368.  
  3369.                 dragGUI(picker)
  3370.  
  3371.                 local function updateColor(noupdate)
  3372.                     local relativeX,relativeY,relativeStripY = 219 - hue*219, 199 - sat*199, 199 - val*199
  3373.                     local hsvColor = Color3.fromHSV(hue,sat,val)
  3374.  
  3375.                     if noupdate == 2 or not noupdate then
  3376.                         hueInput.Text = tostring(math.ceil(359*hue))
  3377.                         satInput.Text = tostring(math.ceil(255*sat))
  3378.                         valInput.Text = tostring(math.floor(255*val))
  3379.                     end
  3380.                     if noupdate == 1 or not noupdate then
  3381.                         redInput.Text = tostring(math.floor(255*red))
  3382.                         greenInput.Text = tostring(math.floor(255*green))
  3383.                         blueInput.Text = tostring(math.floor(255*blue))
  3384.                     end
  3385.  
  3386.                     chosenColor = Color3.new(red,green,blue)
  3387.  
  3388.                     colorScope.Position = UDim2.new(0,relativeX-9,0,relativeY-9)
  3389.                     colorStrip.ImageColor3 = Color3.fromHSV(hue,sat,1)
  3390.                     colorArrow.Position = UDim2.new(0,-2,0,relativeStripY-4)
  3391.                     previewFrame.BackgroundColor3 = chosenColor
  3392.  
  3393.                     newMt.Color = chosenColor
  3394.                     if newMt.Changed then newMt:Changed(chosenColor) end
  3395.                 end
  3396.  
  3397.                 local function colorSpaceInput()
  3398.                     local relativeX = mouse.X - colorSpace.AbsolutePosition.X
  3399.                     local relativeY = mouse.Y - colorSpace.AbsolutePosition.Y
  3400.  
  3401.                     if relativeX < 0 then relativeX = 0 elseif relativeX > 219 then relativeX = 219 end
  3402.                     if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
  3403.  
  3404.                     hue = (219 - relativeX)/219
  3405.                     sat = (199 - relativeY)/199
  3406.  
  3407.                     local hsvColor = Color3.fromHSV(hue,sat,val)
  3408.                     red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  3409.  
  3410.                     updateColor()
  3411.                 end
  3412.  
  3413.                 local function colorStripInput()
  3414.                     local relativeY = mouse.Y - colorStrip.AbsolutePosition.Y
  3415.  
  3416.                     if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
  3417.  
  3418.                     val = (199 - relativeY)/199
  3419.  
  3420.                     local hsvColor = Color3.fromHSV(hue,sat,val)
  3421.                     red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  3422.  
  3423.                     updateColor()
  3424.                 end
  3425.  
  3426.                 local function hookButtons(frame,func)
  3427.                     frame.ArrowFrame.Up.InputBegan:Connect(function(input)
  3428.                         if input.UserInputType == Enum.UserInputType.MouseMovement then
  3429.                             frame.ArrowFrame.Up.BackgroundTransparency = 0.5
  3430.                         elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  3431.                             local releaseEvent,runEvent
  3432.  
  3433.                             local startTime = tick()
  3434.                             local pressing = true
  3435.                             local startNum = tonumber(frame.Text)
  3436.  
  3437.                             if not startNum then return end
  3438.  
  3439.                             releaseEvent = UserInputService.InputEnded:Connect(function(input)
  3440.                                 if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  3441.                                 releaseEvent:Disconnect()
  3442.                                 pressing = false
  3443.                             end)
  3444.  
  3445.                             startNum = startNum + 1
  3446.                             func(startNum)
  3447.                             while pressing do
  3448.                                 if tick()-startTime > 0.3 then
  3449.                                     startNum = startNum + 1
  3450.                                     func(startNum)
  3451.                                 end
  3452.                                 wait(0.1)
  3453.                             end
  3454.                         end
  3455.                     end)
  3456.  
  3457.                     frame.ArrowFrame.Up.InputEnded:Connect(function(input)
  3458.                         if input.UserInputType == Enum.UserInputType.MouseMovement then
  3459.                             frame.ArrowFrame.Up.BackgroundTransparency = 1
  3460.                         end
  3461.                     end)
  3462.  
  3463.                     frame.ArrowFrame.Down.InputBegan:Connect(function(input)
  3464.                         if input.UserInputType == Enum.UserInputType.MouseMovement then
  3465.                             frame.ArrowFrame.Down.BackgroundTransparency = 0.5
  3466.                         elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  3467.                             local releaseEvent,runEvent
  3468.  
  3469.                             local startTime = tick()
  3470.                             local pressing = true
  3471.                             local startNum = tonumber(frame.Text)
  3472.  
  3473.                             if not startNum then return end
  3474.  
  3475.                             releaseEvent = UserInputService.InputEnded:Connect(function(input)
  3476.                                 if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  3477.                                 releaseEvent:Disconnect()
  3478.                                 pressing = false
  3479.                             end)
  3480.  
  3481.                             startNum = startNum - 1
  3482.                             func(startNum)
  3483.                             while pressing do
  3484.                                 if tick()-startTime > 0.3 then
  3485.                                     startNum = startNum - 1
  3486.                                     func(startNum)
  3487.                                 end
  3488.                                 wait(0.1)
  3489.                             end
  3490.                         end
  3491.                     end)
  3492.  
  3493.                     frame.ArrowFrame.Down.InputEnded:Connect(function(input)
  3494.                         if input.UserInputType == Enum.UserInputType.MouseMovement then
  3495.                             frame.ArrowFrame.Down.BackgroundTransparency = 1
  3496.                         end
  3497.                     end)
  3498.                 end
  3499.  
  3500.                 colorSpace.InputBegan:Connect(function(input)
  3501.                     if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3502.                         local releaseEvent,mouseEvent
  3503.  
  3504.                         releaseEvent = UserInputService.InputEnded:Connect(function(input)
  3505.                             if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  3506.                             releaseEvent:Disconnect()
  3507.                             mouseEvent:Disconnect()
  3508.                         end)
  3509.  
  3510.                         mouseEvent = UserInputService.InputChanged:Connect(function(input)
  3511.                             if input.UserInputType == Enum.UserInputType.MouseMovement then
  3512.                                 colorSpaceInput()
  3513.                             end
  3514.                         end)
  3515.  
  3516.                         colorSpaceInput()
  3517.                     end
  3518.                 end)
  3519.  
  3520.                 colorStrip.InputBegan:Connect(function(input)
  3521.                     if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3522.                         local releaseEvent,mouseEvent
  3523.  
  3524.                         releaseEvent = UserInputService.InputEnded:Connect(function(input)
  3525.                             if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  3526.                             releaseEvent:Disconnect()
  3527.                             mouseEvent:Disconnect()
  3528.                         end)
  3529.  
  3530.                         mouseEvent = UserInputService.InputChanged:Connect(function(input)
  3531.                             if input.UserInputType == Enum.UserInputType.MouseMovement then
  3532.                                 colorStripInput()
  3533.                             end
  3534.                         end)
  3535.  
  3536.                         colorStripInput()
  3537.                     end
  3538.                 end)
  3539.  
  3540.                 local function updateHue(str)
  3541.                     local num = tonumber(str)
  3542.                     if num then
  3543.                         hue = math.clamp(math.floor(num),0,359)/359
  3544.                         local hsvColor = Color3.fromHSV(hue,sat,val)
  3545.                         red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  3546.                         hueInput.Text = tostring(hue*359)
  3547.                         updateColor(1)
  3548.                     end
  3549.                 end
  3550.                 hueInput.FocusLost:Connect(function() updateHue(hueInput.Text) end) hookButtons(hueInput,updateHue)
  3551.  
  3552.                 local function updateSat(str)
  3553.                     local num = tonumber(str)
  3554.                     if num then
  3555.                         sat = math.clamp(math.floor(num),0,255)/255
  3556.                         local hsvColor = Color3.fromHSV(hue,sat,val)
  3557.                         red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  3558.                         satInput.Text = tostring(sat*255)
  3559.                         updateColor(1)
  3560.                     end
  3561.                 end
  3562.                 satInput.FocusLost:Connect(function() updateSat(satInput.Text) end) hookButtons(satInput,updateSat)
  3563.  
  3564.                 local function updateVal(str)
  3565.                     local num = tonumber(str)
  3566.                     if num then
  3567.                         val = math.clamp(math.floor(num),0,255)/255
  3568.                         local hsvColor = Color3.fromHSV(hue,sat,val)
  3569.                         red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  3570.                         valInput.Text = tostring(val*255)
  3571.                         updateColor(1)
  3572.                     end
  3573.                 end
  3574.                 valInput.FocusLost:Connect(function() updateVal(valInput.Text) end) hookButtons(valInput,updateVal)
  3575.  
  3576.                 local function updateRed(str)
  3577.                     local num = tonumber(str)
  3578.                     if num then
  3579.                         red = math.clamp(math.floor(num),0,255)/255
  3580.                         local newColor = Color3.new(red,green,blue)
  3581.                         hue,sat,val = Color3.toHSV(newColor)
  3582.                         redInput.Text = tostring(red*255)
  3583.                         updateColor(2)
  3584.                     end
  3585.                 end
  3586.                 redInput.FocusLost:Connect(function() updateRed(redInput.Text) end) hookButtons(redInput,updateRed)
  3587.  
  3588.                 local function updateGreen(str)
  3589.                     local num = tonumber(str)
  3590.                     if num then
  3591.                         green = math.clamp(math.floor(num),0,255)/255
  3592.                         local newColor = Color3.new(red,green,blue)
  3593.                         hue,sat,val = Color3.toHSV(newColor)
  3594.                         greenInput.Text = tostring(green*255)
  3595.                         updateColor(2)
  3596.                     end
  3597.                 end
  3598.                 greenInput.FocusLost:Connect(function() updateGreen(greenInput.Text) end) hookButtons(greenInput,updateGreen)
  3599.  
  3600.                 local function updateBlue(str)
  3601.                     local num = tonumber(str)
  3602.                     if num then
  3603.                         blue = math.clamp(math.floor(num),0,255)/255
  3604.                         local newColor = Color3.new(red,green,blue)
  3605.                         hue,sat,val = Color3.toHSV(newColor)
  3606.                         blueInput.Text = tostring(blue*255)
  3607.                         updateColor(2)
  3608.                     end
  3609.                 end
  3610.                 blueInput.FocusLost:Connect(function() updateBlue(blueInput.Text) end) hookButtons(blueInput,updateBlue)
  3611.  
  3612.                 local colorChoice = Instance.new("TextButton")
  3613.                 colorChoice.Name = "Choice"
  3614.                 colorChoice.Size = UDim2.new(0,25,0,18)
  3615.                 colorChoice.BorderColor3 = Color3.new(96/255,96/255,96/255)
  3616.                 colorChoice.Text = ""
  3617.                 colorChoice.AutoButtonColor = false
  3618.                 colorChoice.ZIndex = 10
  3619.  
  3620.                 local row = 0
  3621.                 local column = 0
  3622.                 for i,v in pairs(basicColors) do
  3623.                     local newColor = colorChoice:Clone()
  3624.                     newColor.BackgroundColor3 = v
  3625.                     newColor.Position = UDim2.new(0,1 + 30*column,0,21 + 23*row)
  3626.  
  3627.                     newColor.MouseButton1Click:Connect(function()
  3628.                         red,green,blue = v.r,v.g,v.b
  3629.                         local newColor = Color3.new(red,green,blue)
  3630.                         hue,sat,val = Color3.toHSV(newColor)
  3631.                         updateColor()
  3632.                     end)   
  3633.  
  3634.                     newColor.Parent = basicColorsFrame
  3635.                     column = column + 1
  3636.                     if column == 6 then row = row + 1 column = 0 end
  3637.                 end
  3638.  
  3639.                 row = 0
  3640.                 column = 0
  3641.                 for i = 1,12 do
  3642.                     local color = customColors[i] or Color3.new(0,0,0)
  3643.                     local newColor = colorChoice:Clone()
  3644.                     newColor.BackgroundColor3 = color
  3645.                     newColor.Position = UDim2.new(0,1 + 30*column,0,20 + 23*row)
  3646.  
  3647.                     newColor.MouseButton1Click:Connect(function()
  3648.                         local curColor = customColors[i] or Color3.new(0,0,0)
  3649.                         red,green,blue = curColor.r,curColor.g,curColor.b
  3650.                         hue,sat,val = Color3.toHSV(curColor)
  3651.                         updateColor()
  3652.                     end)
  3653.  
  3654.                     newColor.MouseButton2Click:Connect(function()
  3655.                         customColors[i] = chosenColor
  3656.                         newColor.BackgroundColor3 = chosenColor
  3657.                     end)
  3658.  
  3659.                     newColor.Parent = customColorsFrame
  3660.                     column = column + 1
  3661.                     if column == 6 then row = row + 1 column = 0 end
  3662.                 end
  3663.  
  3664.                 shade1Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade1) end end)
  3665.                 shade1Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade1Button.BackgroundTransparency = 0.4 end end)
  3666.                 shade1Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade1Button.BackgroundTransparency = 0 end end)
  3667.  
  3668.                 shade2Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade2) end end)
  3669.                 shade2Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade2Button.BackgroundTransparency = 0.4 end end)
  3670.                 shade2Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade2Button.BackgroundTransparency = 0 end end)
  3671.  
  3672.                 shade3Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade3) end end)
  3673.                 shade3Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade3Button.BackgroundTransparency = 0.4 end end)
  3674.                 shade3Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade3Button.BackgroundTransparency = 0 end end)
  3675.  
  3676.                 text1Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,text1) end end)
  3677.                 text1Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text1Button.BackgroundTransparency = 0.4 end end)
  3678.                 text1Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text1Button.BackgroundTransparency = 0 end end)
  3679.  
  3680.                 text2Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,text2) end end)
  3681.                 text2Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text2Button.BackgroundTransparency = 0.4 end end)
  3682.                 text2Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text2Button.BackgroundTransparency = 0 end end)
  3683.  
  3684.                 scrollButton.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,scroll) end end)
  3685.                 scrollButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then scrollButton.BackgroundTransparency = 0.4 end end)
  3686.                 scrollButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then scrollButton.BackgroundTransparency = 0 end end)
  3687.  
  3688.                 cancelButton.MouseButton1Click:Connect(function() if newMt.Cancel then newMt:Cancel() end end)
  3689.                 cancelButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0.4 end end)
  3690.                 cancelButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0 end end)
  3691.  
  3692.                 defaultButton.MouseButton1Click:Connect(function() if newMt.Default then newMt:Default() end end)
  3693.                 defaultButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0.4 end end)
  3694.                 defaultButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0 end end)
  3695.  
  3696.                 pickerExit.MouseButton1Click:Connect(function()
  3697.                     picker:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil)
  3698.                 end)
  3699.  
  3700.                 updateColor()
  3701.  
  3702.                 newMt.SetColor = function(self,color)
  3703.                     red,green,blue = color.r,color.g,color.b
  3704.                     hue,sat,val = Color3.toHSV(color)
  3705.                     updateColor()
  3706.                 end
  3707.  
  3708.                 return newMt
  3709.             end
  3710.         end
  3711.  
  3712.         picker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil)
  3713.  
  3714.         local Npicker = ColorPicker.new()
  3715.         Npicker.Confirm = function(self,color,ctype) updateColors(color,ctype) wait() updatesaves() end
  3716.         Npicker.Cancel = function(self)
  3717.             updateColors(cache_currentShade1,shade1)
  3718.             updateColors(cache_currentShade2,shade2)
  3719.             updateColors(cache_currentShade3,shade3)
  3720.             updateColors(cache_currentText1,text1)
  3721.             updateColors(cache_currentText2,text2)
  3722.             updateColors(cache_currentScroll,scroll)
  3723.             wait()
  3724.             updatesaves()
  3725.         end
  3726.         Npicker.Default = function(self)
  3727.             updateColors(Color3.fromRGB(0, 65, 195),shade1)
  3728.             updateColors(Color3.fromRGB(0, 85, 255),shade2)
  3729.             updateColors(Color3.fromRGB(0, 100, 255),shade3)
  3730.             updateColors(Color3.new(1, 1, 1),text1)
  3731.             updateColors(Color3.new(0, 0, 0),text2)
  3732.             updateColors(Color3.fromRGB(78,78,79),scroll)
  3733.             wait()
  3734.             updatesaves()
  3735.         end
  3736.     else
  3737.         picker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil)
  3738.     end
  3739. end)
  3740.  
  3741.  
  3742. SettingsButton.MouseButton1Click:Connect(function()
  3743.     if SettingsOpen == false then SettingsOpen = true
  3744.         Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.5, true, nil)
  3745.         CMDsF.Visible = false
  3746.     else SettingsOpen = false
  3747.         CMDsF.Visible = true
  3748.         Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.5, true, nil)
  3749.     end
  3750. end)
  3751.  
  3752. On.MouseButton1Click:Connect(function()
  3753.     if isHidden == false then
  3754.         if StayOpen == false then
  3755.             StayOpen = true
  3756.             On.BackgroundTransparency = 0
  3757.         else
  3758.             StayOpen = false
  3759.             On.BackgroundTransparency = 1
  3760.         end
  3761.         updatesaves()
  3762.     end
  3763. end)
  3764.  
  3765. Clear.MouseButton1Down:Connect(function()
  3766.     for _, child in pairs(scroll_2:GetChildren()) do
  3767.         child:Destroy()
  3768.     end
  3769.     scroll_2.CanvasSize = UDim2.new(0, 0, 0, 10)
  3770. end)
  3771.  
  3772. Clear_2.MouseButton1Down:Connect(function()
  3773.     for _, child in pairs(scroll_3:GetChildren()) do
  3774.         child:Destroy()
  3775.     end
  3776.     scroll_3.CanvasSize = UDim2.new(0, 0, 0, 10)
  3777. end)
  3778.  
  3779. Toggle.MouseButton1Down:Connect(function()
  3780.     if logsEnabled then
  3781.         logsEnabled = false
  3782.         Toggle.Text = 'Disabled'
  3783.         updatesaves()
  3784.     else
  3785.         logsEnabled = true
  3786.         Toggle.Text = 'Enabled'
  3787.         updatesaves()
  3788.     end
  3789. end)
  3790.  
  3791. Toggle_2.MouseButton1Down:Connect(function()
  3792.     if jLogsEnabled then
  3793.         jLogsEnabled = false
  3794.         Toggle_2.Text = 'Disabled'
  3795.         updatesaves()
  3796.     else
  3797.         jLogsEnabled = true
  3798.         Toggle_2.Text = 'Enabled'
  3799.         updatesaves()
  3800.     end
  3801. end)
  3802.  
  3803. selectChat.MouseButton1Down:Connect(function()
  3804.     join.Visible = false
  3805.     chat.Visible = true
  3806.     table.remove(shade3,table.find(shade3,selectChat))
  3807.     table.remove(shade2,table.find(shade2,selectJoin))
  3808.     table.insert(shade2,selectChat)
  3809.     table.insert(shade3,selectJoin)
  3810.     selectJoin.BackgroundColor3 = currentShade3
  3811.     selectChat.BackgroundColor3 = currentShade2
  3812. end)
  3813.  
  3814. selectJoin.MouseButton1Down:Connect(function()
  3815.     chat.Visible = false
  3816.     join.Visible = true
  3817.     table.remove(shade3,table.find(shade3,selectJoin))
  3818.     table.remove(shade2,table.find(shade2,selectChat))
  3819.     table.insert(shade2,selectJoin)
  3820.     table.insert(shade3,selectChat)
  3821.     selectChat.BackgroundColor3 = currentShade3
  3822.     selectJoin.BackgroundColor3 = currentShade2
  3823. end)
  3824.  
  3825. if not writefileExploit() then
  3826.     notify("Saves", "Your exploit does not support read/write file. Your settings will not save.")
  3827. end
  3828.  
  3829. ChatLog = function(plr)
  3830.     plr.Chatted:Connect(function(Message)
  3831.         if logsEnabled == true then
  3832.             CreateLabel(plr.Name,Message)
  3833.         end
  3834.     end)
  3835. end
  3836.  
  3837. JoinLog = function(plr)
  3838.     if jLogsEnabled == true then
  3839.         CreateJoinLabel(plr,plr.UserId)
  3840.     end
  3841. end
  3842.  
  3843. CleanFileName = function(name)
  3844.     return tostring(name):gsub("[*\\?:<>|]+", ""):sub(1, 175)
  3845. end
  3846.  
  3847. SaveChatlogs.MouseButton1Down:Connect(function()
  3848.     if writefileExploit() then
  3849.         if #scroll_2:GetChildren() > 0 then
  3850.             notify("Loading",'Hold on a sec')
  3851.             local placeName = CleanFileName(MarketplaceService:GetProductInfo(PlaceId).Name)
  3852.             local writelogs = '-- Elmas Chat logs for "'..placeName..'"\n'
  3853.             for _, child in pairs(scroll_2:GetChildren()) do
  3854.                 writelogs = writelogs..'\n'..child.Text
  3855.             end
  3856.             local writelogsFile = tostring(writelogs)
  3857.             local fileext = 0
  3858.             local function nameFile()
  3859.                 local file
  3860.                 pcall(function() file = readfile(placeName..' Chat Logs ('..fileext..').txt') end)
  3861.                 if file then
  3862.                     fileext = fileext+1
  3863.                     nameFile()
  3864.                 else
  3865.                     writefileCooldown(placeName..' Chat Logs ('..fileext..').txt', writelogsFile)
  3866.                 end
  3867.             end
  3868.             nameFile()
  3869.             notify('Chat Logs','Saved chat logs to the workspace folder within your exploit folder.')
  3870.         end
  3871.     else
  3872.         notify('Chat Logs','Your exploit does not support write file. You cannot save chat logs.')
  3873.     end
  3874. end)
  3875.  
  3876. if isLegacyChat then
  3877.     for _, plr in pairs(Players:GetPlayers()) do
  3878.         ChatLog(plr)
  3879.     end
  3880. end
  3881.  
  3882. Players.PlayerRemoving:Connect(function(player)
  3883.     if ESPenabled or CHMSenabled or COREGUI:FindFirstChild(player.Name..'_LC') then
  3884.         for i,v in pairs(COREGUI:GetChildren()) do
  3885.             if v.Name == player.Name..'_ESP' or v.Name == player.Name..'_LC' or v.Name == player.Name..'_CHMS' then
  3886.                 v:Destroy()
  3887.             end
  3888.         end
  3889.     end
  3890.     if viewing ~= nil and player == viewing then
  3891.         workspace.CurrentCamera.CameraSubject = Players.LocalPlayer.Character
  3892.         viewing = nil
  3893.         if viewDied then
  3894.             viewDied:Disconnect()
  3895.             viewChanged:Disconnect()
  3896.         end
  3897.         notify('Spectate','View turned off (player left)')
  3898.     end
  3899.     eventEditor.FireEvent("OnLeave", player.Name)
  3900. end)
  3901.  
  3902. Exit.MouseButton1Down:Connect(function()
  3903.     logs:TweenPosition(UDim2.new(0, 0, 1, 10), "InOut", "Quart", 0.3, true, nil)
  3904. end)
  3905.  
  3906. Hide.MouseButton1Down:Connect(function()
  3907.     if logs.Position ~= UDim2.new(0, 0, 1, -20) then
  3908.         logs:TweenPosition(UDim2.new(0, 0, 1, -20), "InOut", "Quart", 0.3, true, nil)
  3909.     else
  3910.         logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  3911.     end
  3912. end)
  3913.  
  3914. EventBind.MouseButton1Click:Connect(function()
  3915.     eventEditor.Frame:TweenPosition(UDim2.new(0.5,-175,0.5,-101), "InOut", "Quart", 0.5, true, nil)
  3916. end)
  3917.  
  3918. Keybinds.MouseButton1Click:Connect(function()
  3919.     KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  3920.     wait(0.5)
  3921.     SettingsHolder.Visible = false
  3922. end)
  3923.  
  3924. Close.MouseButton1Click:Connect(function()
  3925.     SettingsHolder.Visible = true
  3926.     KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  3927. end)
  3928.  
  3929. Keybinds.MouseButton1Click:Connect(function()
  3930.     KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  3931.     wait(0.5)
  3932.     SettingsHolder.Visible = false
  3933. end)
  3934.  
  3935. Add.MouseButton1Click:Connect(function()
  3936.     KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0, 260), "InOut", "Quart", 0.5, true, nil)
  3937. end)
  3938.  
  3939. Delete.MouseButton1Click:Connect(function()
  3940.     binds = {}
  3941.     refreshbinds()
  3942.     updatesaves()
  3943.     notify('Keybinds Updated','Removed all keybinds')
  3944. end)
  3945.  
  3946. Close_2.MouseButton1Click:Connect(function()
  3947.     SettingsHolder.Visible = true
  3948.     AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  3949. end)
  3950.  
  3951. Aliases.MouseButton1Click:Connect(function()
  3952.     AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  3953.     wait(0.5)
  3954.     SettingsHolder.Visible = false
  3955. end)
  3956.  
  3957. Close_3.MouseButton1Click:Connect(function()
  3958.     SettingsHolder.Visible = true
  3959.     PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  3960. end)
  3961.  
  3962. Positions.MouseButton1Click:Connect(function()
  3963.     PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  3964.     wait(0.5)
  3965.     SettingsHolder.Visible = false
  3966. end)
  3967.  
  3968. local selectionBox = Instance.new("SelectionBox")
  3969. selectionBox.Name = randomString()
  3970. selectionBox.Color3 = Color3.new(255,255,255)
  3971. selectionBox.Adornee = nil
  3972. selectionBox.Parent = PARENT
  3973.  
  3974. local selected = Instance.new("SelectionBox")
  3975. selected.Name = randomString()
  3976. selected.Color3 = Color3.new(0,166,0)
  3977. selected.Adornee = nil
  3978. selected.Parent = PARENT
  3979.  
  3980. local ActivateHighlight = nil
  3981. local ClickSelect = nil
  3982. function selectPart()
  3983.     ToPartFrame:TweenPosition(UDim2.new(0.5, -180, 0, 335), "InOut", "Quart", 0.5, true, nil)
  3984.     local function HighlightPart()
  3985.         if selected.Adornee ~= IYMouse.Target then
  3986.             selectionBox.Adornee = IYMouse.Target
  3987.         else
  3988.             selectionBox.Adornee = nil
  3989.         end
  3990.     end
  3991.     ActivateHighlight = IYMouse.Move:Connect(HighlightPart)
  3992.     local function SelectPart()
  3993.         if IYMouse.Target ~= nil then
  3994.             selected.Adornee = IYMouse.Target
  3995.             Path.Text = getHierarchy(IYMouse.Target)
  3996.         end
  3997.     end
  3998.     ClickSelect = IYMouse.Button1Down:Connect(SelectPart)
  3999. end
  4000.  
  4001. Part.MouseButton1Click:Connect(function()
  4002.     selectPart()
  4003. end)
  4004.  
  4005. Exit_4.MouseButton1Click:Connect(function()
  4006.     ToPartFrame:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  4007.     if ActivateHighlight then
  4008.         ActivateHighlight:Disconnect()
  4009.     end
  4010.     if ClickSelect then
  4011.         ClickSelect:Disconnect()
  4012.     end
  4013.     selectionBox.Adornee = nil
  4014.     selected.Adornee = nil
  4015.     Path.Text = ""
  4016. end)
  4017.  
  4018. CopyPath.MouseButton1Click:Connect(function()
  4019.     if Path.Text ~= "" then
  4020.         toClipboard(Path.Text)
  4021.     else
  4022.         notify('Copy Path','Select a part to copy its path')
  4023.     end
  4024. end)
  4025.  
  4026. ChoosePart.MouseButton1Click:Connect(function()
  4027.     if Path.Text ~= "" then
  4028.         local tpNameExt = ''
  4029.         local function handleWpNames()
  4030.             local FoundDupe = false
  4031.             for i,v in pairs(pWayPoints) do
  4032.                 if v.NAME:lower() == selected.Adornee.Name:lower()..tpNameExt then
  4033.                     FoundDupe = true
  4034.                 end
  4035.             end
  4036.             if not FoundDupe then
  4037.                 notify('Modified Waypoints',"Created waypoint: "..selected.Adornee.Name..tpNameExt)
  4038.                 pWayPoints[#pWayPoints + 1] = {NAME = selected.Adornee.Name..tpNameExt, COORD = {selected.Adornee}}
  4039.             else
  4040.                 if isNumber(tpNameExt) then
  4041.                     tpNameExt = tpNameExt+1
  4042.                 else
  4043.                     tpNameExt = 1
  4044.                 end
  4045.                 handleWpNames()
  4046.             end
  4047.         end
  4048.         handleWpNames()
  4049.         refreshwaypoints()
  4050.     else
  4051.         notify('Part Selection','Select a part first')
  4052.     end
  4053. end)
  4054.  
  4055. cmds={}
  4056. customAlias = {}
  4057. Delete_3.MouseButton1Click:Connect(function()
  4058.     customAlias = {}
  4059.     aliases = {}
  4060.     notify('Aliases Modified','Removed all aliases')
  4061.     updatesaves()
  4062.     refreshaliases()
  4063. end)
  4064.  
  4065. PrefixBox:GetPropertyChangedSignal("Text"):Connect(function()
  4066.     prefix = PrefixBox.Text
  4067.     Cmdbar.PlaceholderText = "Command Bar ("..prefix..")"
  4068.     updatesaves()
  4069. end)
  4070.  
  4071. function CamViewport()
  4072.     if workspace.CurrentCamera then
  4073.         return workspace.CurrentCamera.ViewportSize.X
  4074.     end
  4075. end
  4076.  
  4077. function UpdateToViewport()
  4078.     if Holder.Position.X.Offset < -CamViewport() then
  4079.         Holder:TweenPosition(UDim2.new(1, -CamViewport(), Holder.Position.Y.Scale, Holder.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
  4080.         Notification:TweenPosition(UDim2.new(1, -CamViewport() + 250, Notification.Position.Y.Scale, Notification.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
  4081.     end
  4082. end
  4083. CameraChanged = workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):Connect(UpdateToViewport)
  4084.  
  4085. function updateCamera(child, parent)
  4086.     if parent ~= workspace then
  4087.         CamMoved:Disconnect()
  4088.         CameraChanged:Disconnect()
  4089.         repeat wait() until workspace.CurrentCamera
  4090.         CameraChanged = workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):Connect(UpdateToViewport)
  4091.         CamMoved = workspace.CurrentCamera.AncestryChanged:Connect(updateCamera)
  4092.     end
  4093. end
  4094. CamMoved = workspace.CurrentCamera.AncestryChanged:Connect(updateCamera)
  4095.  
  4096. function dragMain(dragpoint,gui)
  4097.     task.spawn(function()
  4098.         local dragging
  4099.         local dragInput
  4100.         local dragStart = Vector3.new(0,0,0)
  4101.         local startPos
  4102.         local function update(input)
  4103.             local pos = -250
  4104.             local delta = input.Position - dragStart
  4105.             if startPos.X.Offset + delta.X <= -500 then
  4106.                 local Position = UDim2.new(1, -250, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  4107.                 TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position}):Play()
  4108.                 pos = 250
  4109.             else
  4110.                 local Position = UDim2.new(1, -500, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  4111.                 TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position}):Play()
  4112.                 pos = -250
  4113.             end
  4114.             if startPos.X.Offset + delta.X <= -250 and -CamViewport() <= startPos.X.Offset + delta.X then
  4115.                 local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, gui.Position.Y.Scale, gui.Position.Y.Offset)
  4116.                 TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  4117.                 local Position2 = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X + pos, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  4118.                 TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position2}):Play()
  4119.             elseif startPos.X.Offset + delta.X > -500 then
  4120.                 local Position = UDim2.new(1, -250, gui.Position.Y.Scale, gui.Position.Y.Offset)
  4121.                 TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  4122.             elseif -CamViewport() > startPos.X.Offset + delta.X then
  4123.                 gui:TweenPosition(UDim2.new(1, -CamViewport(), gui.Position.Y.Scale, gui.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
  4124.                 local Position = UDim2.new(1, -CamViewport(), gui.Position.Y.Scale, gui.Position.Y.Offset)
  4125.                 TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  4126.                 local Position2 = UDim2.new(1, -CamViewport() + 250, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  4127.                 TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position2}):Play()
  4128.             end
  4129.         end
  4130.         dragpoint.InputBegan:Connect(function(input)
  4131.             if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  4132.                 dragging = true
  4133.                 dragStart = input.Position
  4134.                 startPos = gui.Position
  4135.  
  4136.                 input.Changed:Connect(function()
  4137.                     if input.UserInputState == Enum.UserInputState.End then
  4138.                         dragging = false
  4139.                     end
  4140.                 end)
  4141.             end
  4142.         end)
  4143.         dragpoint.InputChanged:Connect(function(input)
  4144.             if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  4145.                 dragInput = input
  4146.             end
  4147.         end)
  4148.         UserInputService.InputChanged:Connect(function(input)
  4149.             if input == dragInput and dragging then
  4150.                 update(input)
  4151.             end
  4152.         end)
  4153.     end)
  4154. end
  4155.  
  4156. dragMain(Title,Holder)
  4157.  
  4158. Match = function(name,str)
  4159.     str = str:gsub("%W", "%%%1")
  4160.     return name:lower():find(str:lower()) and true
  4161. end
  4162.  
  4163. local canvasPos = Vector2.new(0,0)
  4164. local topCommand = nil
  4165. IndexContents = function(str,bool,cmdbar,Ianim)
  4166.     CMDsF.CanvasPosition = Vector2.new(0,0)
  4167.     local SizeY = 0
  4168.     local indexnum = 0
  4169.     local frame = CMDsF
  4170.     topCommand = nil
  4171.     local chunks = {}
  4172.     if str:sub(#str,#str) == "\\" then str = "" end
  4173.     for w in string.gmatch(str,"[^\\]+") do
  4174.         table.insert(chunks,w)
  4175.     end
  4176.     if #chunks > 0 then str = chunks[#chunks] end
  4177.     if str:sub(1,1) == "!" then str = str:sub(2) end
  4178.     for i,v in next, frame:GetChildren() do
  4179.         if v:IsA("TextButton") then
  4180.             if bool then
  4181.                 if Match(v.Text,str) then
  4182.                     indexnum = indexnum + 1
  4183.                     v.Visible = true
  4184.                     if topCommand == nil then
  4185.                         topCommand = v.Text
  4186.                     end
  4187.                 else
  4188.                     v.Visible = false
  4189.                 end
  4190.             else
  4191.                 v.Visible = true
  4192.                 if topCommand == nil then
  4193.                     topCommand = v.Text
  4194.                 end
  4195.             end
  4196.         end
  4197.     end
  4198.     frame.CanvasSize = UDim2.new(0,0,0,cmdListLayout.AbsoluteContentSize.Y)
  4199.     if not Ianim then
  4200.         if indexnum == 0 or string.find(str, " ") then
  4201.             if not cmdbar then
  4202.                 minimizeHolder()
  4203.             elseif cmdbar then
  4204.                 cmdbarHolder()
  4205.             end
  4206.         else
  4207.             maximizeHolder()
  4208.         end
  4209.     else
  4210.         minimizeHolder()
  4211.     end
  4212. end
  4213.  
  4214. task.spawn(function()
  4215.     if not isLegacyChat then return end
  4216.     local chatbox
  4217.     local success, result = pcall(function() chatbox = game.WaitForChild(PlayerGui, "Chat").Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar end)
  4218.     if success then
  4219.         local function chatboxFocused()
  4220.             canvasPos = CMDsF.CanvasPosition
  4221.         end
  4222.         local chatboxFocusedC = chatbox.Focused:Connect(chatboxFocused)
  4223.  
  4224.         local function Index()
  4225.             if chatbox.Text:lower():sub(1,1) == prefix then
  4226.                 if SettingsOpen == true then
  4227.                     wait(0.2)
  4228.                     CMDsF.Visible = true
  4229.                     Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil)
  4230.                 end
  4231.                 IndexContents(PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(2),true)
  4232.             else
  4233.                 minimizeHolder()
  4234.                 if SettingsOpen == true then
  4235.                     wait(0.2)
  4236.                     Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.2, true, nil)
  4237.                     CMDsF.Visible = false
  4238.                 end
  4239.             end
  4240.         end
  4241.         local chatboxFunc = chatbox:GetPropertyChangedSignal("Text"):Connect(Index)
  4242.  
  4243.         local function chatboxFocusLost(enterpressed)
  4244.             if not enterpressed or chatbox.Text:lower():sub(1,1) ~= prefix then
  4245.                 IndexContents('',true)
  4246.             end
  4247.             CMDsF.CanvasPosition = canvasPos
  4248.             minimizeHolder()
  4249.         end
  4250.         local chatboxFocusLostC = chatbox.FocusLost:Connect(chatboxFocusLost)
  4251.  
  4252.         PlayerGui:WaitForChild("Chat").Frame.ChatBarParentFrame.ChildAdded:Connect(function(newbar)
  4253.             wait()
  4254.             if newbar:FindFirstChild('BoxFrame') then
  4255.                 chatbox = PlayerGui:WaitForChild("Chat").Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar
  4256.                 if chatboxFocusedC then chatboxFocusedC:Disconnect() end
  4257.                 chatboxFocusedC = chatbox.Focused:Connect(chatboxFocused)
  4258.                 if chatboxFunc then chatboxFunc:Disconnect() end
  4259.                 chatboxFunc = chatbox:GetPropertyChangedSignal("Text"):Connect(Index)
  4260.                 if chatboxFocusLostC then chatboxFocusLostC:Disconnect() end
  4261.                 chatboxFocusLostC = chatbox.FocusLost:Connect(chatboxFocusLost)
  4262.             end
  4263.         end)
  4264.         --else
  4265.         --print('Custom chat detected. Will not provide suggestions for commands typed in the chat.')
  4266.     end
  4267. end)
  4268.  
  4269. function autoComplete(str,curText)
  4270.     local endingChar = {"[", "/", "(", " "}
  4271.     local stop = 0
  4272.     for i=1,#str do
  4273.         local c = str:sub(i,i)
  4274.         if table.find(endingChar, c) then
  4275.             stop = i
  4276.             break
  4277.         end
  4278.     end
  4279.     curText = curText or Cmdbar.Text
  4280.     local subPos = 0
  4281.     local pos = 1
  4282.     local findRes = string.find(curText,"\\",pos)
  4283.     while findRes do
  4284.         subPos = findRes
  4285.         pos = findRes+1
  4286.         findRes = string.find(curText,"\\",pos)
  4287.     end
  4288.     if curText:sub(subPos+1,subPos+1) == "!" then subPos = subPos + 1 end
  4289.     Cmdbar.Text = curText:sub(1,subPos) .. str:sub(1, stop - 1)..' '
  4290.     wait()
  4291.     Cmdbar.Text = Cmdbar.Text:gsub( '\t', '' )
  4292.     Cmdbar.CursorPosition = #Cmdbar.Text+1--1020
  4293. end
  4294.  
  4295. CMDs = {}
  4296. CMDs[#CMDs + 1] = {NAME = 'discord / support / help', DESC = 'Invite to the Elmas support server.'}
  4297. CMDs[#CMDs + 1] = {NAME = 'console', DESC = 'Loads Roblox console'}
  4298. CMDs[#CMDs + 1] = {NAME = 'oldconsole', DESC = 'Loads old Roblox console'}
  4299. CMDs[#CMDs + 1] = {NAME = 'explorer / dex', DESC = 'Opens DEX by Moon'}
  4300. CMDs[#CMDs + 1] = {NAME = 'olddex / odex', DESC = 'Opens Old DEX by Moon'}
  4301. CMDs[#CMDs + 1] = {NAME = 'remotespy / rspy', DESC = 'Opens Simple Spy V3'}
  4302. CMDs[#CMDs + 1] = {NAME = 'audiologger / alogger', DESC = 'Opens Edges audio logger'}
  4303. CMDs[#CMDs + 1] = {NAME = 'serverinfo / info', DESC = 'Gives you info about the server'}
  4304. CMDs[#CMDs + 1] = {NAME = 'jobid', DESC = 'Copies the games JobId to your clipboard'}
  4305. CMDs[#CMDs + 1] = {NAME = 'notifyjobid', DESC = 'Notifies you the games JobId'}
  4306. CMDs[#CMDs + 1] = {NAME = 'rejoin / rj', DESC = 'Makes you rejoin the game'}
  4307. CMDs[#CMDs + 1] = {NAME = 'autorejoin / autorj', DESC = 'Automatically rejoins the server if you get kicked/disconnected'}
  4308. CMDs[#CMDs + 1] = {NAME = 'serverhop / shop', DESC = 'Teleports you to a different server'}
  4309. CMDs[#CMDs + 1] = {NAME = 'joinplayer [username / ID] [place ID]', DESC = 'Joins a specific players server'}
  4310. CMDs[#CMDs + 1] = {NAME = 'gameteleport / gametp [place ID]', DESC = 'Joins a game by ID'}
  4311. CMDs[#CMDs + 1] = {NAME = 'antiidle / antiafk', DESC = 'Prevents the game from kicking you for being idle/afk'}
  4312. CMDs[#CMDs + 1] = {NAME = 'datalimit [num]', DESC = 'Set outgoing KBPS limit'}
  4313. CMDs[#CMDs + 1] = {NAME = 'replicationlag / backtrack [num]', DESC = 'Set IncomingReplicationLag'}
  4314. CMDs[#CMDs + 1] = {NAME = 'creatorid / creator', DESC = 'Notifies you the creators ID'}
  4315. CMDs[#CMDs + 1] = {NAME = 'copycreatorid / copycreator', DESC = 'Copies the creators ID to your clipboard'}
  4316. CMDs[#CMDs + 1] = {NAME = 'setcreatorid / setcreator', DESC = 'Sets your userid to the creators ID'}
  4317. CMDs[#CMDs + 1] = {NAME = 'noprompts', DESC = 'Prevents the game from showing you purchase/premium prompts'}
  4318. CMDs[#CMDs + 1] = {NAME = 'showprompts', DESC = 'Allows the game to show purchase/premium prompts again'}
  4319. CMDs[#CMDs + 1] = {NAME = 'enable [inventory/playerlist/chat/reset/emotes/all]', DESC = 'Toggles visibility of coregui items'}
  4320. CMDs[#CMDs + 1] = {NAME = 'disable [inventory/playerlist/chat/reset/emotes/all]', DESC = 'Toggles visibility of coregui items'}
  4321. CMDs[#CMDs + 1] = {NAME = 'showguis', DESC = 'Shows any invisible GUIs'}
  4322. CMDs[#CMDs + 1] = {NAME = 'unshowguis', DESC = 'Undoes showguis'}
  4323. CMDs[#CMDs + 1] = {NAME = 'hideguis', DESC = 'Hides any GUIs in PlayerGui'}
  4324. CMDs[#CMDs + 1] = {NAME = 'unhideguis', DESC = 'Undoes hideguis'}
  4325. CMDs[#CMDs + 1] = {NAME = 'guidelete', DESC = 'Enables backspace to delete GUI'}
  4326. CMDs[#CMDs + 1] = {NAME = 'unguidelete / noguidelete', DESC = 'Disables guidelete'}
  4327. CMDs[#CMDs + 1] = {NAME = 'hideiy', DESC = 'Hides the main IY GUI'}
  4328. CMDs[#CMDs + 1] = {NAME = 'showiy / unhideiy', DESC = 'Shows IY again'}
  4329. CMDs[#CMDs + 1] = {NAME = 'keepiy', DESC = 'Auto execute IY when you teleport through servers'}
  4330. CMDs[#CMDs + 1] = {NAME = 'unkeepiy', DESC = 'Disable keepiy'}
  4331. CMDs[#CMDs + 1] = {NAME = 'togglekeepiy', DESC = 'Toggle keepiy'}
  4332. CMDs[#CMDs + 1] = {NAME = 'savegame / saveplace', DESC = 'Uses saveinstance to save the game'}
  4333. CMDs[#CMDs + 1] = {NAME = 'clearerror', DESC = 'Clears the annoying box and blur when a game kicks you'}
  4334. CMDs[#CMDs + 1] = {NAME = 'clientantikick / antikick (CLIENT)', DESC = 'Prevents localscripts from kicking you'}
  4335. CMDs[#CMDs + 1] = {NAME = 'clientantiteleport / antiteleport (CLIENT)', DESC = 'Prevents localscripts from teleporting you'}
  4336. CMDs[#CMDs + 1] = {NAME = 'allowrejoin / allowrj [true/false] (CLIENT)', DESC = 'Changes if antiteleport allows you to rejoin or not'}
  4337. CMDs[#CMDs + 1] = {NAME = 'cancelteleport / canceltp', DESC = 'Cancels teleports in progress'}
  4338. CMDs[#CMDs + 1] = {NAME = 'volume / vol [0-10]', DESC = 'Adjusts your game volume on a scale of 0 to 10'}
  4339. CMDs[#CMDs + 1] = {NAME = 'antilag / boostfps / lowgraphics', DESC = 'Lowers game quality to boost FPS'}
  4340. CMDs[#CMDs + 1] = {NAME = 'record / rec', DESC = 'Starts roblox recorder'}
  4341. CMDs[#CMDs + 1] = {NAME = 'screenshot / scrnshot', DESC = 'Takes a screenshot'}
  4342. CMDs[#CMDs + 1] = {NAME = 'togglefullscreen / togglefs', DESC = 'Toggles fullscreen'}
  4343. CMDs[#CMDs + 1] = {NAME = 'notify [text]', DESC = 'Sends you a notification with the provided text'}
  4344. CMDs[#CMDs + 1] = {NAME = 'lastcommand / lastcmd', DESC = 'Executes the previous command used'}
  4345. CMDs[#CMDs + 1] = {NAME = 'exit', DESC = 'Kills roblox process'}
  4346. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4347. CMDs[#CMDs + 1] = {NAME = 'noclip', DESC = 'Go through objects'}
  4348. CMDs[#CMDs + 1] = {NAME = 'unnoclip / clip', DESC = 'Disables noclip'}
  4349. CMDs[#CMDs + 1] = {NAME = 'fly [speed]', DESC = 'Makes you fly'}
  4350. CMDs[#CMDs + 1] = {NAME = 'unfly', DESC = 'Disables fly'}
  4351. CMDs[#CMDs + 1] = {NAME = 'flyspeed [num]', DESC = 'Set fly speed (default is 20)'}
  4352. CMDs[#CMDs + 1] = {NAME = 'vehiclefly / vfly [speed]', DESC = 'Makes you fly in a vehicle'}
  4353. CMDs[#CMDs + 1] = {NAME = 'unvehiclefly / unvfly', DESC = 'Disables vehicle fly'}
  4354. CMDs[#CMDs + 1] = {NAME = 'vehicleflyspeed  / vflyspeed [num]', DESC = 'Set vehicle fly speed'}
  4355. CMDs[#CMDs + 1] = {NAME = 'cframefly / cfly [speed]', DESC = 'Makes you fly, bypassing some anti cheats (works on mobile)'}
  4356. CMDs[#CMDs + 1] = {NAME = 'uncframefly / uncfly', DESC = 'Disables cfly'}
  4357. CMDs[#CMDs + 1] = {NAME = 'cframeflyspeed  / cflyspeed [num]', DESC = 'Sets cfly speed'}
  4358. CMDs[#CMDs + 1] = {NAME = 'qefly [true / false]', DESC = 'enables or disables the Q and E hotkeys for fly'}
  4359. CMDs[#CMDs + 1] = {NAME = 'vehiclenoclip / vnoclip', DESC = 'Turns off vehicle collision'}
  4360. CMDs[#CMDs + 1] = {NAME = 'vehicleclip / vclip / unvnoclip', DESC = 'Enables vehicle collision'}
  4361. CMDs[#CMDs + 1] = {NAME = 'float /  platform', DESC = 'Spawns a platform beneath you causing you to float'}
  4362. CMDs[#CMDs + 1] = {NAME = 'unfloat / noplatform', DESC = 'Removes the platform'}
  4363. CMDs[#CMDs + 1] = {NAME = 'swim', DESC = 'Allows you to swim in the air'}
  4364. CMDs[#CMDs + 1] = {NAME = 'unswim / noswim', DESC = 'Stops you from swimming everywhere'}
  4365. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4366. CMDs[#CMDs + 1] = {NAME = 'setwaypoint / swp [name]', DESC = 'Sets a waypoint at your position'}
  4367. CMDs[#CMDs + 1] = {NAME = 'waypointpos / wpp [name] [X Y Z]', DESC = 'Sets a waypoint with specified coordinates'}
  4368. CMDs[#CMDs + 1] = {NAME = 'waypoints', DESC = 'Shows a list of currently active waypoints'}
  4369. CMDs[#CMDs + 1] = {NAME = 'showwaypoints / showwp', DESC = 'Shows all currently set waypoints'}
  4370. CMDs[#CMDs + 1] = {NAME = 'hidewaypoints / hidewp', DESC = 'Hides shown waypoints'}
  4371. CMDs[#CMDs + 1] = {NAME = 'waypoint / wp [name]', DESC = 'Teleports player to a waypoint'}
  4372. CMDs[#CMDs + 1] = {NAME = 'tweenwaypoint / twp [name]', DESC = 'Tweens player to a waypoint'}
  4373. CMDs[#CMDs + 1] = {NAME = 'walktowaypoint / wtwp [name]', DESC = 'Walks player to a waypoint'}
  4374. CMDs[#CMDs + 1] = {NAME = 'deletewaypoint / dwp [name]', DESC = 'Deletes a waypoint'}
  4375. CMDs[#CMDs + 1] = {NAME = 'clearwaypoints / cwp', DESC = 'Clears all waypoints'}
  4376. CMDs[#CMDs + 1] = {NAME = 'cleargamewaypoints / cgamewp', DESC = 'Clears all waypoints for the game you are in'}
  4377. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4378. CMDs[#CMDs + 1] = {NAME = 'goto [player]', DESC = 'Go to a player'}
  4379. CMDs[#CMDs + 1] = {NAME = 'tweengoto / tgoto [player]', DESC = 'Tween to a player (bypasses some anti cheats)'}
  4380. CMDs[#CMDs + 1] = {NAME = 'tweenspeed / tspeed [num]', DESC = 'Sets how fast all tween commands go (default is 1)'}
  4381. CMDs[#CMDs + 1] = {NAME = 'vehiclegoto / vgoto [player]', DESC = 'Go to a player while in a vehicle'}
  4382. CMDs[#CMDs + 1] = {NAME = 'loopgoto [player] [distance] [delay]', DESC = 'Loop teleport to a player'}
  4383. CMDs[#CMDs + 1] = {NAME = 'unloopgoto', DESC = 'Stops teleporting you to a player'}
  4384. CMDs[#CMDs + 1] = {NAME = 'pulsetp / ptp [player] [seconds]', DESC = 'Teleports you to a player for a specified ammount of time'}
  4385. CMDs[#CMDs + 1] = {NAME = 'clientbring / cbring [player] (CLIENT)', DESC = 'Bring a player'}
  4386. CMDs[#CMDs + 1] = {NAME = 'loopbring [player] [distance] [delay] (CLIENT)', DESC = 'Loop brings a player to you (useful for killing)'}
  4387. CMDs[#CMDs + 1] = {NAME = 'unloopbring [player]', DESC = 'Undoes loopbring'}
  4388. CMDs[#CMDs + 1] = {NAME = 'freeze / fr [player] (CLIENT)', DESC = 'Freezes a player'}
  4389. CMDs[#CMDs + 1] = {NAME = 'freezeanims', DESC = 'Freezes your animations / pauses your animations - Does not work on default animations'}
  4390. CMDs[#CMDs + 1] = {NAME = 'unfreezeanims', DESC = 'Unfreezes your animations / plays your animations'}
  4391. CMDs[#CMDs + 1] = {NAME = 'thaw / unfr [player] (CLIENT)', DESC = 'Unfreezes a player'}
  4392. CMDs[#CMDs + 1] = {NAME = 'tpposition / tppos [X Y Z]', DESC = 'Teleports you to certain coordinates'}
  4393. CMDs[#CMDs + 1] = {NAME = 'tweentpposition / ttppos [X Y Z]', DESC = 'Tween to coordinates (bypasses some anti cheats)'}
  4394. CMDs[#CMDs + 1] = {NAME = 'offset [X Y Z]', DESC = 'Offsets you by certain coordinates'}
  4395. CMDs[#CMDs + 1] = {NAME = 'tweenoffset / toffset [X Y Z]', DESC = 'Tween offset (bypasses some anti cheats)'}
  4396. CMDs[#CMDs + 1] = {NAME = 'notifyposition / notifypos [player]', DESC = 'Notifies you the coordinates of a character'}
  4397. CMDs[#CMDs + 1] = {NAME = 'copyposition / copypos [player]', DESC = 'Copies the coordinates of a character to your clipboard'}
  4398. CMDs[#CMDs + 1] = {NAME = 'walktoposition / walktopos [X Y Z]', DESC = 'Makes you walk to a coordinate'}
  4399. CMDs[#CMDs + 1] = {NAME = 'spawnpoint / spawn [delay]', DESC = 'Sets a position where you will spawn'}
  4400. CMDs[#CMDs + 1] = {NAME = 'nospawnpoint / nospawn', DESC = 'Removes your custom spawn point'}
  4401. CMDs[#CMDs + 1] = {NAME = 'flashback / diedtp', DESC = 'Teleports you to where you last died'}
  4402. CMDs[#CMDs + 1] = {NAME = 'walltp', DESC = 'Teleports you above/over any wall you run into'}
  4403. CMDs[#CMDs + 1] = {NAME = 'nowalltp / unwalltp', DESC = 'Disables walltp'}
  4404. CMDs[#CMDs + 1] = {NAME = 'teleporttool / tptool', DESC = 'Gives you a teleport tool'}
  4405. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4406. CMDs[#CMDs + 1] = {NAME = 'logs', DESC = 'Opens the logs GUI'}
  4407. CMDs[#CMDs + 1] = {NAME = 'chatlogs / clogs', DESC = 'Log what people say or whisper'}
  4408. CMDs[#CMDs + 1] = {NAME = 'joinlogs / jlogs', DESC = 'Log when people join'}
  4409. CMDs[#CMDs + 1] = {NAME = 'antichatlogs / antichatlogger', DESC = 'Prevents Roblox from banning you for your silly chat messages (game needs the legacy chat)'}
  4410. CMDs[#CMDs + 1] = {NAME = 'chat / say [text]', DESC = 'Makes you chat a string (possible mute bypass)'}
  4411. CMDs[#CMDs + 1] = {NAME = 'spam [text]', DESC = 'Makes you spam the chat'}
  4412. CMDs[#CMDs + 1] = {NAME = 'unspam', DESC = 'Turns off spam'}
  4413. CMDs[#CMDs + 1] = {NAME = 'whisper / pm [player] [text]', DESC = 'Makes you whisper a string to someone (possible mute bypass)'}
  4414. CMDs[#CMDs + 1] = {NAME = 'pmspam [player] [text]', DESC = 'Makes you spam a players whispers'}
  4415. CMDs[#CMDs + 1] = {NAME = 'unpmspam [player]', DESC = 'Turns off pm spam'}
  4416. CMDs[#CMDs + 1] = {NAME = 'spamspeed [num]', DESC = 'How quickly you spam (default is 1)'}
  4417. CMDs[#CMDs + 1] = {NAME = 'bubblechat (CLIENT)', DESC = 'Enables bubble chat for your client'}
  4418. CMDs[#CMDs + 1] = {NAME = 'unbubblechat / nobubblechat', DESC = 'Disables the bubblechat command'}
  4419. CMDs[#CMDs + 1] = {NAME = 'safechat', DESC = 'Enables safe chat'}
  4420. CMDs[#CMDs + 1] = {NAME = 'nosafechat / disablesafechat', DESC = 'Disables safechat'}
  4421. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4422. CMDs[#CMDs + 1] = {NAME = 'esp', DESC = 'View all players and their status'}
  4423. CMDs[#CMDs + 1] = {NAME = 'noesp / unesp', DESC = 'Removes esp'}
  4424. CMDs[#CMDs + 1] = {NAME = 'esptransparency [number]', DESC = 'Changes the transparency of esp related commands'}
  4425. CMDs[#CMDs + 1] = {NAME = 'partesp [part name]', DESC = 'Highlights a part'}
  4426. CMDs[#CMDs + 1] = {NAME = 'unpartesp / nopartesp [part name]', DESC = 'removes partesp'}
  4427. CMDs[#CMDs + 1] = {NAME = 'chams', DESC = 'ESP but without text in the way'}
  4428. CMDs[#CMDs + 1] = {NAME = 'nochams / unchams', DESC = 'Removes chams'}
  4429. CMDs[#CMDs + 1] = {NAME = 'locate [player]', DESC = 'View a single player and their status'}
  4430. CMDs[#CMDs + 1] = {NAME = 'unlocate / nolocate [player]', DESC = 'Removes locate'}
  4431. CMDs[#CMDs + 1] = {NAME = 'xray', DESC = 'Makes all parts in workspace transparent'}
  4432. CMDs[#CMDs + 1] = {NAME = 'unxray / noxray', DESC = 'Restores transparency'}
  4433. CMDs[#CMDs + 1] = {NAME = 'loopxray', DESC = 'Makes all parts in workspace transparent but looped'}
  4434. CMDs[#CMDs + 1] = {NAME = 'unloopunxray', DESC = 'Unloops xray'}
  4435. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4436. CMDs[#CMDs + 1] = {NAME = 'spectate / view [player]', DESC = 'View a player'}
  4437. CMDs[#CMDs + 1] = {NAME = 'viewpart / viewp [part name]', DESC = 'View a part'}
  4438. CMDs[#CMDs + 1] = {NAME = 'unspectate / unview', DESC = 'Stops viewing player'}
  4439. CMDs[#CMDs + 1] = {NAME = 'freecam / fc', DESC = 'Allows you to freely move camera around the game'}
  4440. CMDs[#CMDs + 1] = {NAME = 'freecampos / fcpos [X Y Z]', DESC = 'Moves / opens freecam in a certain position'}
  4441. CMDs[#CMDs + 1] = {NAME = 'freecamwaypoint / fcwp [name]', DESC = 'Moves / opens freecam to a waypoint'}
  4442. CMDs[#CMDs + 1] = {NAME = 'freecamgoto / fcgoto / fctp [player]', DESC = 'Moves / opens freecam to a player'}
  4443. CMDs[#CMDs + 1] = {NAME = 'unfreecam / unfc', DESC = 'Disables freecam'}
  4444. CMDs[#CMDs + 1] = {NAME = 'freecamspeed / fcspeed [num]', DESC = 'Adjusts freecam speed (default is 1)'}
  4445. CMDs[#CMDs + 1] = {NAME = 'notifyfreecamposition / notifyfcpos', DESC = 'Noitifies you your freecam coordinates'}
  4446. CMDs[#CMDs + 1] = {NAME = 'copyfreecamposition / copyfcpos', DESC = 'Copies your freecam coordinates to your clipboard'}
  4447. CMDs[#CMDs + 1] = {NAME = 'gotocamera / gotocam', DESC = 'Teleports you to the location of your camera'}
  4448. CMDs[#CMDs + 1] = {NAME = 'tweengotocam / tgotocam', DESC = 'Tweens you to the location of your camera'}
  4449. CMDs[#CMDs + 1] = {NAME = 'firstp', DESC = 'Forces camera to go into first person'}
  4450. CMDs[#CMDs + 1] = {NAME = 'thirdp', DESC = 'Allows camera to go into third person'}
  4451. CMDs[#CMDs + 1] = {NAME = 'noclipcam / nccam', DESC = 'Allows camera to go through objects like walls'}
  4452. CMDs[#CMDs + 1] = {NAME = 'maxzoom [num]', DESC = 'Maximum camera zoom'}
  4453. CMDs[#CMDs + 1] = {NAME = 'minzoom [num]', DESC = 'Minimum camera zoom'}
  4454. CMDs[#CMDs + 1] = {NAME = 'camdistance [num]', DESC = 'Changes camera distance from your player'}
  4455. CMDs[#CMDs + 1] = {NAME = 'fov [num]', DESC = 'Adjusts field of view (default is 70)'}
  4456. CMDs[#CMDs + 1] = {NAME = 'fixcam / restorecam', DESC = 'Fixes camera'}
  4457. CMDs[#CMDs + 1] = {NAME = 'enableshiftlock / enablesl', DESC = 'Enables the shift lock option'}
  4458. CMDs[#CMDs + 1] = {NAME = 'lookat [player]', DESC = 'Moves your camera view to a player'}
  4459. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4460. CMDs[#CMDs + 1] = {NAME = 'btools (CLIENT)', DESC = 'Gives you building tools (DOES NOT REPLICATE)'}
  4461. CMDs[#CMDs + 1] = {NAME = 'f3x (CLIENT)', DESC = 'Gives you F3X building tools (DOES NOT REPLICATE)'}
  4462. CMDs[#CMDs + 1] = {NAME = 'partname / partpath', DESC = 'Allows you to click a part to see its path & name'}
  4463. CMDs[#CMDs + 1] = {NAME = 'delete [instance name] (CLIENT)', DESC = 'Removes any part with a certain name from the workspace (DOES NOT REPLICATE)'}
  4464. CMDs[#CMDs + 1] = {NAME = 'deleteclass / dc [class name] (CLIENT)', DESC = 'Removes any part with a certain classname from the workspace (DOES NOT REPLICATE)'}
  4465. CMDs[#CMDs + 1] = {NAME = 'lockworkspace / lockws', DESC = 'Locks the whole workspace'}
  4466. CMDs[#CMDs + 1] = {NAME = 'unlockworkspace / unlockws', DESC = 'Unlocks the whole workspace'}
  4467. CMDs[#CMDs + 1] = {NAME = 'invisibleparts / invisparts (CLIENT)', DESC = 'Shows invisible parts'}
  4468. CMDs[#CMDs + 1] = {NAME = 'uninvisibleparts / uninvisparts (CLIENT)', DESC = 'Makes parts affected by invisparts return to normal'}
  4469. CMDs[#CMDs + 1] = {NAME = 'deleteinvisparts / dip (CLIENT)', DESC = 'Deletes invisible parts'}
  4470. CMDs[#CMDs + 1] = {NAME = 'gotopart [part name]', DESC = 'Moves your character to a part or multiple parts'}
  4471. CMDs[#CMDs + 1] = {NAME = 'tweengotopart / tgotopart [part name]', DESC = 'Tweens your character to a part or multiple parts'}
  4472. CMDs[#CMDs + 1] = {NAME = 'gotopartclass / gpc [class name]', DESC = 'Moves your character to a part or multiple parts based on classname'}
  4473. CMDs[#CMDs + 1] = {NAME = 'tweengotopartclass / tgpc [class name]', DESC = 'Tweens your character to a part or multiple parts based on classname'}
  4474. CMDs[#CMDs + 1] = {NAME = 'gotomodel [part name]', DESC = 'Moves your character to a model or multiple models'}
  4475. CMDs[#CMDs + 1] = {NAME = 'tweengotomodel / tgotomodel [part name]', DESC = 'Tweens your character to a model or multiple models'}
  4476. CMDs[#CMDs + 1] = {NAME = 'gotopartdelay / gotomodeldelay [num]', DESC = 'Adjusts how quickly you teleport to each part (default is 0.1)'}
  4477. CMDs[#CMDs + 1] = {NAME = 'bringpart [part name] (CLIENT)', DESC = 'Moves a part or multiple parts to your character'}
  4478. CMDs[#CMDs + 1] = {NAME = 'bringpartclass / bpc [class name] (CLIENT)', DESC = 'Moves a part or multiple parts to your character based on classname'}
  4479. CMDs[#CMDs + 1] = {NAME = 'noclickdetectorlimits / nocdlimits', DESC = 'Sets all click detectors MaxActivationDistance to math.huge'}
  4480. CMDs[#CMDs + 1] = {NAME = 'fireclickdetectors / firecd [name]', DESC = 'Uses all click detectors in a game or uses the optional name'}
  4481. CMDs[#CMDs + 1] = {NAME = 'firetouchinterests / touchinterests [name]', DESC = 'Uses all touchinterests in a game or uses the optional name'}
  4482. CMDs[#CMDs + 1] = {NAME = 'noproximitypromptlimits / nopplimits', DESC = 'Sets all proximity prompts MaxActivationDistance to math.huge'}
  4483. CMDs[#CMDs + 1] = {NAME = 'fireproximityprompts / firepp [name]', DESC = 'Uses all proximity prompts in a game or uses the optional name'}
  4484. CMDs[#CMDs + 1] = {NAME = 'instantproximityprompts / instantpp', DESC = 'Disable the cooldown for proximity prompts'}
  4485. CMDs[#CMDs + 1] = {NAME = 'uninstantproximityprompts / uninstantpp', DESC = 'Undo the cooldown removal'}
  4486. CMDs[#CMDs + 1] = {NAME = 'tpunanchored / tpua [player]', DESC = 'Teleports unanchored parts to a player'}
  4487. CMDs[#CMDs + 1] = {NAME = 'animsunanchored / freezeua', DESC = 'Freezes unanchored parts'}
  4488. CMDs[#CMDs + 1] = {NAME = 'thawunanchored / thawua / unfreezeua', DESC = 'Thaws unanchored parts'}
  4489. CMDs[#CMDs + 1] = {NAME = 'removeterrain / rterrain / noterrain', DESC = 'Removes all terrain'}
  4490. CMDs[#CMDs + 1] = {NAME = 'clearnilinstances / nonilinstances / cni', DESC = 'Removes nil instances'}
  4491. CMDs[#CMDs + 1] = {NAME = 'destroyheight / dh [num]', DESC = 'Sets FallenPartsDestroyHeight'}
  4492. CMDs[#CMDs + 1] = {NAME = 'fakeout', DESC = 'Tp to the void and then back (useful to kill people attached to you)'}
  4493. CMDs[#CMDs + 1] = {NAME = 'antivoid', DESC = 'Prevents you from falling into the void by launching you upwards'}
  4494. CMDs[#CMDs + 1] = {NAME = 'unantivoid / noantivoid', DESC = 'Disables antivoid'}
  4495. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4496. CMDs[#CMDs + 1] = {NAME = 'fullbright / fb (CLIENT)', DESC = 'Makes the map brighter / more visible'}
  4497. CMDs[#CMDs + 1] = {NAME = 'loopfullbright / loopfb (CLIENT)', DESC = 'Makes the map brighter / more visible but looped'}
  4498. CMDs[#CMDs + 1] = {NAME = 'unloopfullbright / unloopfb', DESC = 'Unloops fullbright'}
  4499. CMDs[#CMDs + 1] = {NAME = 'ambient [num] [num] [num] (CLIENT)', DESC = 'Changes ambient'}
  4500. CMDs[#CMDs + 1] = {NAME = 'day (CLIENT)', DESC = 'Changes the time to day for the client'}
  4501. CMDs[#CMDs + 1] = {NAME = 'night (CLIENT)', DESC = 'Changes the time to night for the client'}
  4502. CMDs[#CMDs + 1] = {NAME = 'nofog (CLIENT)', DESC = 'Removes fog'}
  4503. CMDs[#CMDs + 1] = {NAME = 'brightness [num] (CLIENT)', DESC = 'Changes the brightness lighting property'}
  4504. CMDs[#CMDs + 1] = {NAME = 'globalshadows / gshadows (CLIENT)', DESC = 'Enables global shadows'}
  4505. CMDs[#CMDs + 1] = {NAME = 'noglobalshadows / nogshadows (CLIENT)', DESC = 'Disables global shadows'}
  4506. CMDs[#CMDs + 1] = {NAME = 'restorelighting / rlighting', DESC = 'Restores Lighting properties'}
  4507. CMDs[#CMDs + 1] = {NAME = 'light [radius] [brightness] (CLIENT)', DESC = 'Gives your player dynamic light'}
  4508. CMDs[#CMDs + 1] = {NAME = 'nolight / unlight', DESC = 'Removes dynamic light from your player'}
  4509. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4510. CMDs[#CMDs + 1] = {NAME = 'inspect / examine [player]', DESC = 'Opens InspectMenu for a certain player'}
  4511. CMDs[#CMDs + 1] = {NAME = 'age [player]', DESC = 'Tells you the age of a player'}
  4512. CMDs[#CMDs + 1] = {NAME = 'chatage [player]', DESC = 'Chats the age of a player'}
  4513. CMDs[#CMDs + 1] = {NAME = 'joindate / jd [player]', DESC = 'Tells you the date the player joined Roblox'}
  4514. CMDs[#CMDs + 1] = {NAME = 'chatjoindate / cjd [player]', DESC = 'Chats the date the player joined Roblox'}
  4515. CMDs[#CMDs + 1] = {NAME = 'copyname / copyuser [player]', DESC = 'Copies a players full username to your clipboard'}
  4516. CMDs[#CMDs + 1] = {NAME = 'userid / id [player]', DESC = 'Notifies a players user ID'}
  4517. CMDs[#CMDs + 1] = {NAME = 'copyuserid / copyid [player]', DESC = 'Copies a players user ID to your clipboard'}
  4518. CMDs[#CMDs + 1] = {NAME = 'appearanceid / aid [player]', DESC = 'Notifies a players appearance ID'}
  4519. CMDs[#CMDs + 1] = {NAME = 'copyappearanceid / caid [player]', DESC = 'Copies a players appearance ID to your clipboard'}
  4520. CMDs[#CMDs + 1] = {NAME = 'bang [player] [speed]', DESC = 'owo'}
  4521. CMDs[#CMDs + 1] = {NAME = 'unbang', DESC = 'uwu'}
  4522. CMDs[#CMDs + 1] = {NAME = 'carpet [player]', DESC = 'Be someones carpet'}
  4523. CMDs[#CMDs + 1] = {NAME = 'uncarpet', DESC = 'Undoes carpet'}
  4524. CMDs[#CMDs + 1] = {NAME = 'friend [player]', DESC = 'Sends a friend request to certain players'}
  4525. CMDs[#CMDs + 1] = {NAME = 'unfriend [player]', DESC = 'Unfriends certain players'}
  4526. CMDs[#CMDs + 1] = {NAME = 'headsit [player]', DESC = 'Sit on a players head'}
  4527. CMDs[#CMDs + 1] = {NAME = 'walkto / follow [player]', DESC = 'Follow a player'}
  4528. CMDs[#CMDs + 1] = {NAME = 'pathfindwalkto / pathfindfollow [player]', DESC = 'Follow a player using pathfinding'}
  4529. CMDs[#CMDs + 1] = {NAME = 'pathfindwalktowaypoint / pathfindwalktowp [waypoint]', DESC = 'Walk to a waypoint using pathfinding'}
  4530. CMDs[#CMDs + 1] = {NAME = 'unwalkto / unfollow', DESC = 'Stops following a player'}
  4531. CMDs[#CMDs + 1] = {NAME = 'orbit [player] [speed] [distance]', DESC = 'Makes your character orbit around a player with an optional speed and an optional distance'}
  4532. CMDs[#CMDs + 1] = {NAME = 'unorbit', DESC = 'Disables orbit'}
  4533. CMDs[#CMDs + 1] = {NAME = 'stareat / stare [player]', DESC = 'Stare / look at a player'}
  4534. CMDs[#CMDs + 1] = {NAME = 'unstareat / unstare [player]', DESC = 'Disables stareat'}
  4535. CMDs[#CMDs + 1] = {NAME = 'rolewatch [group id] [role name]', DESC = 'Notify if someone from a watched group joins the server'}
  4536. CMDs[#CMDs + 1] = {NAME = 'rolewatchstop / unrolewatch', DESC = 'Disable Rolewatch'}
  4537. CMDs[#CMDs + 1] = {NAME = 'rolewatchleave', DESC = 'Toggle if you should leave the game if someone from a watched group joins the server'}
  4538. CMDs[#CMDs + 1] = {NAME = 'staffwatch', DESC = 'Notify if a staff member of the game joins the server'}
  4539. CMDs[#CMDs + 1] = {NAME = 'unstaffwatch', DESC = 'Disable Staffwatch'}
  4540. CMDs[#CMDs + 1] = {NAME = 'attach [player] (TOOL)', DESC = 'Attaches you to a player (YOU NEED A TOOL)'}
  4541. CMDs[#CMDs + 1] = {NAME = 'kill [player] (TOOL)', DESC = 'Kills a player (YOU NEED A TOOL)'}
  4542. CMDs[#CMDs + 1] = {NAME = 'fastkill [player] (TOOL)', DESC = 'Kills a player (less reliable) (YOU NEED A TOOL)'}
  4543. CMDs[#CMDs + 1] = {NAME = 'handlekill / hkill [player] (TOOL)', DESC = 'Kills a player using tool damage (YOU NEED A TOOL)'}
  4544. CMDs[#CMDs + 1] = {NAME = 'bring [player] (TOOL)', DESC = 'Brings a player (YOU NEED A TOOL)'}
  4545. CMDs[#CMDs + 1] = {NAME = 'fastbring [player] (TOOL)', DESC = 'Brings a player (less reliable) (YOU NEED A TOOL)'}
  4546. CMDs[#CMDs + 1] = {NAME = 'teleport / tp [player] [player] (TOOL)', DESC = 'Teleports a player to another player (YOU NEED A TOOL)'}
  4547. CMDs[#CMDs + 1] = {NAME = 'fastteleport / fasttp [player] [player] (TOOL)', DESC = 'Teleports a player to another player (less reliable) (YOU NEED A TOOL)'}
  4548. CMDs[#CMDs + 1] = {NAME = 'fling', DESC = 'Flings anyone you touch'}
  4549. CMDs[#CMDs + 1] = {NAME = 'unfling', DESC = 'Disables the fling command'}
  4550. CMDs[#CMDs + 1] = {NAME = 'flyfling', DESC = 'Basically the invisfling command but not invisible'}
  4551. CMDs[#CMDs + 1] = {NAME = 'unflyfling', DESC = 'Disables the flyfling command'}
  4552. CMDs[#CMDs + 1] = {NAME = 'walkfling', DESC = 'Basically fling but no spinning'}
  4553. CMDs[#CMDs + 1] = {NAME = 'unwalkfling / nowalkfling', DESC = 'Disables walkfling'}
  4554. CMDs[#CMDs + 1] = {NAME = 'invisfling', DESC = 'Enables invisible fling'}
  4555. CMDs[#CMDs + 1] = {NAME = 'antifling', DESC = 'Disables player collisions to prevent you from being flung'}
  4556. CMDs[#CMDs + 1] = {NAME = 'unantifling', DESC = 'Disables antifling'}
  4557. CMDs[#CMDs + 1] = {NAME = 'loopoof', DESC = 'Loops everyones character sounds (everyone can hear)'}
  4558. CMDs[#CMDs + 1] = {NAME = 'unloopoof', DESC = 'Stops the oof chaos'}
  4559. CMDs[#CMDs + 1] = {NAME = 'muteboombox [player]', DESC = 'Mutes someones boombox'}
  4560. CMDs[#CMDs + 1] = {NAME = 'unmuteboombox [player]', DESC = 'Unmutes someones boombox'}
  4561. CMDs[#CMDs + 1] = {NAME = 'hitbox [player] [size]', DESC = 'Expands the hitbox for players HumanoidRootPart (default is 1)'}
  4562. CMDs[#CMDs + 1] = {NAME = 'headsize [player] [size]', DESC = 'Expands the head size for players Head (default is 1)'}
  4563. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4564. CMDs[#CMDs + 1] = {NAME = 'reset', DESC = 'Resets your character normally'}
  4565. CMDs[#CMDs + 1] = {NAME = 'respawn', DESC = 'Respawns you'}
  4566. CMDs[#CMDs + 1] = {NAME = 'refresh / re', DESC = 'Respawns and brings you back to the same position'}
  4567. CMDs[#CMDs + 1] = {NAME = 'god', DESC = 'Makes your character difficult to kill in most games'}
  4568. CMDs[#CMDs + 1] = {NAME = 'invisible / invis', DESC = 'Makes you invisible to other players'}
  4569. CMDs[#CMDs + 1] = {NAME = 'visible / vis', DESC = 'Makes you visible to other players'}
  4570. CMDs[#CMDs + 1] = {NAME = 'toolinvisible / toolinvis / tinvis', DESC = 'Makes you invisible to other players and able to use tools'}
  4571. CMDs[#CMDs + 1] = {NAME = 'speed / ws / walkspeed [num]', DESC = 'Change your walkspeed'}
  4572. CMDs[#CMDs + 1] = {NAME = 'spoofspeed / spoofws [num]', DESC = 'Spoofs your WalkSpeed on the Client'}
  4573. CMDs[#CMDs + 1] = {NAME = 'loopspeed / loopws [num]', DESC = 'Loops your walkspeed'}
  4574. CMDs[#CMDs + 1] = {NAME = 'unloopspeed / unloopws', DESC = 'Turns off loopspeed'}
  4575. CMDs[#CMDs + 1] = {NAME = 'hipheight / hheight [num]', DESC = 'Adjusts hip height'}
  4576. CMDs[#CMDs + 1] = {NAME = 'jumppower / jpower / jp [num]', DESC = 'Change a players jump height'}
  4577. CMDs[#CMDs + 1] = {NAME = 'spoofjumppower / spoofjp [num]', DESC = 'Spoofs your JumpPower on the Client'}
  4578. CMDs[#CMDs + 1] = {NAME = 'loopjumppower / loopjp [num]', DESC = 'Loops your jump height'}
  4579. CMDs[#CMDs + 1] = {NAME = 'unloopjumppower / unloopjp', DESC = 'Turns off loopjumppower'}
  4580. CMDs[#CMDs + 1] = {NAME = 'maxslopeangle / msa [num]', DESC = 'Adjusts MaxSlopeAngle'}
  4581. CMDs[#CMDs + 1] = {NAME = 'gravity / grav [num] (CLIENT)', DESC = 'Change your gravity'}
  4582. CMDs[#CMDs + 1] = {NAME = 'sit', DESC = 'Makes your character sit'}
  4583. CMDs[#CMDs + 1] = {NAME = 'lay / laydown', DESC = 'Makes your character lay down'}
  4584. CMDs[#CMDs + 1] = {NAME = 'sitwalk', DESC = 'Makes your character sit while still being able to walk'}
  4585. CMDs[#CMDs + 1] = {NAME = 'nosit', DESC = 'Prevents your character from sitting'}
  4586. CMDs[#CMDs + 1] = {NAME = 'unnosit', DESC = 'Disables nosit'}
  4587. CMDs[#CMDs + 1] = {NAME = 'jump', DESC = 'Makes your character jump'}
  4588. CMDs[#CMDs + 1] = {NAME = 'infinitejump / infjump', DESC = 'Allows you to jump before hitting the ground'}
  4589. CMDs[#CMDs + 1] = {NAME = 'uninfinitejump / uninfjump', DESC = 'Disables infjump'}
  4590. CMDs[#CMDs + 1] = {NAME = 'flyjump', DESC = 'Allows you to hold space to fly up'}
  4591. CMDs[#CMDs + 1] = {NAME = 'unflyjump', DESC = 'Disables flyjump'}
  4592. CMDs[#CMDs + 1] = {NAME = 'autojump / ajump', DESC = 'Automatically jumps when you run into an object'}
  4593. CMDs[#CMDs + 1] = {NAME = 'unautojump / unajump', DESC = 'Disables autojump'}
  4594. CMDs[#CMDs + 1] = {NAME = 'edgejump / ejump', DESC = 'Automatically jumps when you get to the edge of an object'}
  4595. CMDs[#CMDs + 1] = {NAME = 'unedgejump / unejump', DESC = 'Disables edgejump'}
  4596. CMDs[#CMDs + 1] = {NAME = 'platformstand / stun', DESC = 'Enables PlatformStand'}
  4597. CMDs[#CMDs + 1] = {NAME = 'unplatformstand / unstun', DESC = 'Disables PlatformStand'}
  4598. CMDs[#CMDs + 1] = {NAME = 'norotate / noautorotate', DESC = 'Disables AutoRotate'}
  4599. CMDs[#CMDs + 1] = {NAME = 'unnorotate / autorotate', DESC = 'Enables AutoRotate'}
  4600. CMDs[#CMDs + 1] = {NAME = 'enablestate [StateType]', DESC = 'Enables a humanoid state type'}
  4601. CMDs[#CMDs + 1] = {NAME = 'disablestate [StateType]', DESC = 'Disables a humanoid state type'}
  4602. CMDs[#CMDs + 1] = {NAME = 'team [team name] (CLIENT)', DESC = 'Changes your team. Sometimes fools localscripts.'}
  4603. CMDs[#CMDs + 1] = {NAME = 'nobillboardgui / nobgui / noname', DESC = 'Removes billboard and surface guis from your players (i.e. name guis at cafes)'}
  4604. CMDs[#CMDs + 1] = {NAME = 'loopnobgui / loopnoname', DESC = 'Loop removes billboard and surface guis from your players (i.e. name guis at cafes)'}
  4605. CMDs[#CMDs + 1] = {NAME = 'unloopnobgui / unloopnoname', DESC = 'Disables loopnobgui'}
  4606. CMDs[#CMDs + 1] = {NAME = 'noarms', DESC = 'Removes your arms'}
  4607. CMDs[#CMDs + 1] = {NAME = 'nolegs', DESC = 'Removes your legs'}
  4608. CMDs[#CMDs + 1] = {NAME = 'nolimbs', DESC = 'Removes your limbs'}
  4609. CMDs[#CMDs + 1] = {NAME = 'naked (CLIENT)', DESC = 'Removes your clothing'}
  4610. CMDs[#CMDs + 1] = {NAME = 'noface / removeface', DESC = 'Removes your face'}
  4611. CMDs[#CMDs + 1] = {NAME = 'blockhead', DESC = 'Turns your head into a block'}
  4612. CMDs[#CMDs + 1] = {NAME = 'blockhats', DESC = 'Turns your hats into blocks'}
  4613. CMDs[#CMDs + 1] = {NAME = 'blocktool', DESC = 'Turns the currently selected tool into a block'}
  4614. CMDs[#CMDs + 1] = {NAME = 'creeper', DESC = 'Makes you look like a creeper'}
  4615. CMDs[#CMDs + 1] = {NAME = 'drophats', DESC = 'Drops your hats'}
  4616. CMDs[#CMDs + 1] = {NAME = 'nohats / deletehats / rhats', DESC = 'Deletes your hats'}
  4617. CMDs[#CMDs + 1] = {NAME = 'hatspin / spinhats', DESC = 'Spins your characters accessories'}
  4618. CMDs[#CMDs + 1] = {NAME = 'unhatspin / unspinhats', DESC = 'Undoes spinhats'}
  4619. CMDs[#CMDs + 1] = {NAME = 'clearhats / cleanhats', DESC = 'Clears hats in the workspace'}
  4620. CMDs[#CMDs + 1] = {NAME = 'chardelete / cd [instance name]', DESC = 'Removes any part with a certain name from your character'}
  4621. CMDs[#CMDs + 1] = {NAME = 'chardeleteclass / cdc [class name]', DESC = 'Removes any part with a certain classname from your character'}
  4622. CMDs[#CMDs + 1] = {NAME = 'deletevelocity / dv / removeforces', DESC = 'Removes any velocity / force instances in your character'}
  4623. CMDs[#CMDs + 1] = {NAME = 'weaken [num]', DESC = 'Makes your character less dense'}
  4624. CMDs[#CMDs + 1] = {NAME = 'unweaken', DESC = 'Sets your characters CustomPhysicalProperties to default'}
  4625. CMDs[#CMDs + 1] = {NAME = 'strengthen [num]', DESC = 'Makes your character more dense (CustomPhysicalProperties)'}
  4626. CMDs[#CMDs + 1] = {NAME = 'unstrengthen', DESC = 'Sets your characters CustomPhysicalProperties to default'}
  4627. CMDs[#CMDs + 1] = {NAME = 'breakvelocity', DESC = 'Sets your characters velocity to 0'}
  4628. CMDs[#CMDs + 1] = {NAME = 'spin [speed]', DESC = 'Spins your character'}
  4629. CMDs[#CMDs + 1] = {NAME = 'unspin', DESC = 'Disables spin'}
  4630. CMDs[#CMDs + 1] = {NAME = 'split', DESC = 'Splits your character in half'}
  4631. CMDs[#CMDs + 1] = {NAME = 'nilchar', DESC = 'Sets your characters parent to nil'}
  4632. CMDs[#CMDs + 1] = {NAME = 'unnilchar / nonilchar', DESC = 'Sets your characters parent to workspace'}
  4633. CMDs[#CMDs + 1] = {NAME = 'noroot / removeroot / rroot', DESC = 'Removes your characters HumanoidRootPart'}
  4634. CMDs[#CMDs + 1] = {NAME = 'replaceroot', DESC = 'Replaces your characters HumanoidRootPart'}
  4635. CMDs[#CMDs + 1] = {NAME = 'clearcharappearance / clearchar / clrchar', DESC = 'Removes all accessory, shirt, pants, charactermesh, and bodycolors'}
  4636. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4637. CMDs[#CMDs + 1] = {NAME = 'animation / anim [ID] [speed]', DESC = 'Makes your character perform an animation (must be by roblox to replicate)'}
  4638. CMDs[#CMDs + 1] = {NAME = 'dance', DESC = 'Makes you  d a n c e'}
  4639. CMDs[#CMDs + 1] = {NAME = 'undance', DESC = 'Stops dance animations'}
  4640. CMDs[#CMDs + 1] = {NAME = 'spasm', DESC = 'Makes you  c r a z y'}
  4641. CMDs[#CMDs + 1] = {NAME = 'unspasm', DESC = 'Stops spasm'}
  4642. CMDs[#CMDs + 1] = {NAME = 'headthrow', DESC = 'Simply makes you throw your head'}
  4643. CMDs[#CMDs + 1] = {NAME = 'noanim', DESC = 'Disables your animations'}
  4644. CMDs[#CMDs + 1] = {NAME = 'reanim', DESC = 'Restores your animations'}
  4645. CMDs[#CMDs + 1] = {NAME = 'animspeed [num]', DESC = 'Changes the speed of your current animation'}
  4646. CMDs[#CMDs + 1] = {NAME = 'copyanimation / copyanim / copyemote [player]', DESC = 'Copies someone elses animation'}
  4647. CMDs[#CMDs + 1] = {NAME = 'copyanimationid / copyanimid / copyemoteid [player]', DESC = 'Copies your animation id or someone elses to your clipboard'}
  4648. CMDs[#CMDs + 1] = {NAME = 'loopanimation / loopanim', DESC = 'Loops your current animation'}
  4649. CMDs[#CMDs + 1] = {NAME = 'stopanimations / stopanims', DESC = 'Stops running animations'}
  4650. CMDs[#CMDs + 1] = {NAME = 'refreshanimations / refreshanims', DESC = 'Refreshes animations'}
  4651. CMDs[#CMDs + 1] = {NAME = 'allowcustomanim / allowcustomanimations', DESC = 'Lets you use custom animation packs instead'}
  4652. CMDs[#CMDs + 1] = {NAME = 'unallowcustomanim / unallowcustomanimations', DESC = 'Doesn\'t let you use custom animation packs instead'}
  4653. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4654. CMDs[#CMDs + 1] = {NAME = 'autoclick [click delay] [release delay]', DESC = 'Automatically clicks your mouse with a set delay'}
  4655. CMDs[#CMDs + 1] = {NAME = 'unautoclick / noautoclick', DESC = 'Turns off autoclick'}
  4656. CMDs[#CMDs + 1] = {NAME = 'autokeypress [key] [down delay] [up delay]', DESC = 'Automatically presses a key with a set delay'}
  4657. CMDs[#CMDs + 1] = {NAME = 'unautokeypress', DESC = 'Stops autokeypress'}
  4658. CMDs[#CMDs + 1] = {NAME = 'hovername', DESC = 'Shows a players username when your mouse is hovered over them'}
  4659. CMDs[#CMDs + 1] = {NAME = 'unhovername / nohovername', DESC = 'Turns off hovername'}
  4660. CMDs[#CMDs + 1] = {NAME = 'mousesensitivity / ms [0-10]', DESC = 'Sets your mouse sensitivity (affects first person and right click drag) (default is 1)'}
  4661. CMDs[#CMDs + 1] = {NAME = 'clickdelete', DESC = 'Go to settings>Keybinds>Add for clicktp'}
  4662. CMDs[#CMDs + 1] = {NAME = 'clickteleport', DESC = 'Go to settings>Keybinds>Add for click tp'}
  4663. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4664. CMDs[#CMDs + 1] = {NAME = 'tools', DESC = 'Copies tools from ReplicatedStorage and Lighting'}
  4665. CMDs[#CMDs + 1] = {NAME = 'notools / removetools / deletetools', DESC = 'Removes tools from character and backpack'}
  4666. CMDs[#CMDs + 1] = {NAME = 'deleteselectedtool / dst', DESC = 'Removes any currently selected tools'}
  4667. CMDs[#CMDs + 1] = {NAME = 'grabtools', DESC = 'Automatically get tools that are dropped'}
  4668. CMDs[#CMDs + 1] = {NAME = 'ungrabtools / nograbtools', DESC = 'Disables grabtools'}
  4669. CMDs[#CMDs + 1] = {NAME = 'copytools [player] (CLIENT)', DESC = 'Copies a players tools'}
  4670. CMDs[#CMDs + 1] = {NAME = 'dupetools / clonetools [num]', DESC = 'Duplicates your inventory tools a set ammount of times'}
  4671. CMDs[#CMDs + 1] = {NAME = 'givetool / givetools', DESC = 'Gives all the tools you\'re holding to [player] using the attach method.'}
  4672. CMDs[#CMDs + 1] = {NAME = 'droptools', DESC = 'Drops your tools'}
  4673. CMDs[#CMDs + 1] = {NAME = 'droppabletools', DESC = 'Makes your tools droppable'}
  4674. CMDs[#CMDs + 1] = {NAME = 'equiptools', DESC = 'Equips every tool in your inventory at once'}
  4675. CMDs[#CMDs + 1] = {NAME = 'unequiptools', DESC = 'Unequips every tool you are currently holding at once'}
  4676. CMDs[#CMDs + 1] = {NAME = 'removespecifictool [name]', DESC = 'Automatically remove a specific tool from your inventory'}
  4677. CMDs[#CMDs + 1] = {NAME = 'unremovespecifictool [name]', DESC = 'Stops removing a specific tool from your inventory'}
  4678. CMDs[#CMDs + 1] = {NAME = 'clearremovespecifictool', DESC = 'Stop removing all specific tools from your inventory'}
  4679. CMDs[#CMDs + 1] = {NAME = 'reach [num]', DESC = 'Increases the hitbox of your held tool'}
  4680. CMDs[#CMDs + 1] = {NAME = 'boxreach [num]', DESC = 'Increases the hitbox of your held tool in a box shape'}
  4681. CMDs[#CMDs + 1] = {NAME = 'unreach / noreach', DESC = 'Turns off reach'}
  4682. CMDs[#CMDs + 1] = {NAME = 'grippos [X Y Z]', DESC = 'Changes your current tools grip position'}
  4683. CMDs[#CMDs + 1] = {NAME = 'usetools [ammount] [delay]', DESC = 'Activates all tools in your backpack at the same time'}
  4684. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4685. CMDs[#CMDs + 1] = {NAME = 'addalias [cmd] [alias]', DESC = 'Adds an alias to a command'}
  4686. CMDs[#CMDs + 1] = {NAME = 'removealias [alias]', DESC = 'Removes a custom alias'}
  4687. CMDs[#CMDs + 1] = {NAME = 'clraliases', DESC = 'Removes all custom aliases'}
  4688. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4689. CMDs[#CMDs + 1] = {NAME = 'addplugin / plugin [name]', DESC = 'Add a plugin via command'}
  4690. CMDs[#CMDs + 1] = {NAME = 'removeplugin / deleteplugin [name]', DESC = 'Remove a plugin via command'}
  4691. CMDs[#CMDs + 1] = {NAME = 'reloadplugin [name]', DESC = 'Reloads a plugin'}
  4692. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4693. CMDs[#CMDs + 1] = {NAME = 'breakloops / break (cmd loops)', DESC = 'Stops any cmd loops (;100^1^cmd)'}
  4694. CMDs[#CMDs + 1] = {NAME = 'removecmd / deletecmd', DESC = 'Removes a command until the admin is reloaded'}
  4695. CMDs[#CMDs + 1] = {NAME = 'tpwalk / teleportwalk [num]', DESC = 'Teleports you to your move direction'}
  4696. CMDs[#CMDs + 1] = {NAME = 'untpwalk / unteleportwalk', DESC = 'Undoes tpwalk / teleportwalk'}
  4697. CMDs[#CMDs + 1] = {NAME = 'notifyping / ping', DESC = 'Notify yourself your ping'}
  4698. CMDs[#CMDs + 1] = {NAME = 'trip', DESC = 'Makes your character fall over'}
  4699. CMDs[#CMDs + 1] = {NAME = 'norender', DESC = 'Disable 3d Rendering to decrease the amount of CPU the client uses'}
  4700. CMDs[#CMDs + 1] = {NAME = 'render', DESC = 'Enable 3d Rendering'}
  4701. CMDs[#CMDs + 1] = {NAME = 'use2022materials / 2022materials', DESC = 'Enables 2022 material textures'}
  4702. CMDs[#CMDs + 1] = {NAME = 'unuse2022materials / un2022materials', DESC = 'Disables 2022 material textures'}
  4703. CMDs[#CMDs + 1] = {NAME = 'promptr6', DESC = 'Prompts the game to switch your rig type to R6'}
  4704. CMDs[#CMDs + 1] = {NAME = 'promptr15', DESC = 'Prompts the game to switch your rig type to R15'}
  4705. CMDs[#CMDs + 1] = {NAME = 'wallwalk / walkonwalls', DESC = 'Walk on walls'}
  4706. CMDs[#CMDs + 1] = {NAME = 'removeads / adblock', DESC = 'Automatically removes ad billboards'}
  4707. wait()
  4708.  
  4709. for i = 1, #CMDs do
  4710.     local newcmd = Example:Clone()
  4711.     newcmd.Parent = CMDsF
  4712.     newcmd.Visible = false
  4713.     newcmd.Text = CMDs[i].NAME
  4714.     newcmd.Name = "CMD"
  4715.     table.insert(text1, newcmd)
  4716.     if CMDs[i].DESC ~= "" then
  4717.         newcmd:SetAttribute("Title", CMDs[i].NAME)
  4718.         newcmd:SetAttribute("Desc", CMDs[i].DESC)
  4719.         newcmd.MouseButton1Down:Connect(function()
  4720.             if not IsOnMobile and newcmd.Visible and newcmd.TextTransparency == 0 then
  4721.                 local currentText = Cmdbar.Text
  4722.                 Cmdbar:CaptureFocus()
  4723.                 autoComplete(newcmd.Text, currentText)
  4724.                 maximizeHolder()
  4725.             end
  4726.         end)
  4727.     end
  4728. end
  4729.  
  4730. IndexContents("", true)
  4731.  
  4732. function checkTT()
  4733.     local t
  4734.     local guisAtPosition = COREGUI:GetGuiObjectsAtPosition(IYMouse.X, IYMouse.Y)
  4735.  
  4736.     for _, gui in pairs(guisAtPosition) do
  4737.         if gui.Parent == CMDsF then
  4738.             t = gui
  4739.         end
  4740.     end
  4741.  
  4742.     if t ~= nil and t:GetAttribute("Title") ~= nil then
  4743.         local x = IYMouse.X
  4744.         local y = IYMouse.Y
  4745.         local xP
  4746.         local yP
  4747.         if IYMouse.X > 200 then
  4748.             xP = x - 201
  4749.         else
  4750.             xP = x + 21
  4751.         end
  4752.         if IYMouse.Y > (IYMouse.ViewSizeY-96) then
  4753.             yP = y - 97
  4754.         else
  4755.             yP = y
  4756.         end
  4757.         Tooltip.Position = UDim2.new(0, xP, 0, yP)
  4758.         Description.Text = t:GetAttribute("Desc")
  4759.         if t:GetAttribute("Title") ~= nil then
  4760.             Title_3.Text = t:GetAttribute("Title")
  4761.         else
  4762.             Title_3.Text = ''
  4763.         end
  4764.         Tooltip.Visible = true
  4765.     else
  4766.         Tooltip.Visible = false
  4767.     end
  4768. end
  4769.  
  4770. function FindInTable(tbl,val)
  4771.     if tbl == nil then return false end
  4772.     for _,v in pairs(tbl) do
  4773.         if v == val then return true end
  4774.     end
  4775.     return false
  4776. end
  4777.  
  4778. function GetInTable(Table, Name)
  4779.     for i = 1, #Table do
  4780.         if Table[i] == Name then
  4781.             return i
  4782.         end
  4783.     end
  4784.     return false
  4785. end
  4786.  
  4787. function respawn(plr)
  4788.     if invisRunning then TurnVisible() end
  4789.     local char = plr.Character
  4790.     if char:FindFirstChildOfClass("Humanoid") then char:FindFirstChildOfClass("Humanoid"):ChangeState(15) end
  4791.     char:ClearAllChildren()
  4792.     local newChar = Instance.new("Model")
  4793.     newChar.Parent = workspace
  4794.     plr.Character = newChar
  4795.     wait()
  4796.     plr.Character = char
  4797.     newChar:Destroy()
  4798. end
  4799.  
  4800. local refreshCmd = false
  4801. function refresh(plr)
  4802.     refreshCmd = true
  4803.     local Human = plr.Character and plr.Character:FindFirstChildOfClass("Humanoid", true)
  4804.     local pos = Human and Human.RootPart and Human.RootPart.CFrame
  4805.     local pos1 = workspace.CurrentCamera.CFrame
  4806.     respawn(plr)
  4807.     task.spawn(function()
  4808.         plr.CharacterAdded:Wait():WaitForChild("Humanoid").RootPart.CFrame, workspace.CurrentCamera.CFrame = pos, wait() and pos1
  4809.         refreshCmd = false
  4810.     end)
  4811. end
  4812.  
  4813. local lastDeath
  4814.  
  4815. function onDied()
  4816.     task.spawn(function()
  4817.         if pcall(function() Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') end) and Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  4818.             Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').Died:Connect(function()
  4819.                 if getRoot(Players.LocalPlayer.Character) then
  4820.                     lastDeath = getRoot(Players.LocalPlayer.Character).CFrame
  4821.                 end
  4822.             end)
  4823.         else
  4824.             wait(2)
  4825.             onDied()
  4826.         end
  4827.     end)
  4828. end
  4829.  
  4830. Clip = true
  4831. spDelay = 0.1
  4832. Players.LocalPlayer.CharacterAdded:Connect(function()
  4833.     NOFLY()
  4834.     Floating = false
  4835.  
  4836.     if not Clip then
  4837.         execCmd('clip')
  4838.     end
  4839.  
  4840.     repeat wait() until getRoot(Players.LocalPlayer.Character)
  4841.  
  4842.     pcall(function()
  4843.         if spawnpoint and not refreshCmd and spawnpos ~= nil then
  4844.             wait(spDelay)
  4845.             getRoot(Players.LocalPlayer.Character).CFrame = spawnpos
  4846.         end
  4847.     end)
  4848.  
  4849.     onDied()
  4850. end)
  4851.  
  4852. onDied()
  4853.  
  4854. function getstring(begin)
  4855.     local start = begin-1
  4856.     local AA = '' for i,v in pairs(cargs) do
  4857.         if i > start then
  4858.             if AA ~= '' then
  4859.                 AA = AA .. ' ' .. v
  4860.             else
  4861.                 AA = AA .. v
  4862.             end
  4863.         end
  4864.     end
  4865.     return AA
  4866. end
  4867.  
  4868. findCmd=function(cmd_name)
  4869.     for i,v in pairs(cmds)do
  4870.         if v.NAME:lower()==cmd_name:lower() or FindInTable(v.ALIAS,cmd_name:lower()) then
  4871.             return v
  4872.         end
  4873.     end
  4874.     return customAlias[cmd_name:lower()]
  4875. end
  4876.  
  4877. function splitString(str,delim)
  4878.     local broken = {}
  4879.     if delim == nil then delim = "," end
  4880.     for w in string.gmatch(str,"[^"..delim.."]+") do
  4881.         table.insert(broken,w)
  4882.     end
  4883.     return broken
  4884. end
  4885.  
  4886. cmdHistory = {}
  4887. local lastCmds = {}
  4888. local historyCount = 0
  4889. local split=" "
  4890. local lastBreakTime = 0
  4891. function execCmd(cmdStr,speaker,store)
  4892.     cmdStr = cmdStr:gsub("%s+$","")
  4893.     task.spawn(function()
  4894.         local rawCmdStr = cmdStr
  4895.         cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%")
  4896.         local commandsToRun = splitString(cmdStr,"\\")
  4897.         for i,v in pairs(commandsToRun) do
  4898.             v = string.gsub(v,"%%BackSlash%%","\\")
  4899.             local x,y,num = v:find("^(%d+)%^")
  4900.             local cmdDelay = 0
  4901.             local infTimes = false
  4902.             if num then
  4903.                 v = v:sub(y+1)
  4904.                 local x,y,del = v:find("^([%d%.]+)%^")
  4905.                 if del then
  4906.                     v = v:sub(y+1)
  4907.                     cmdDelay = tonumber(del) or 0
  4908.                 end
  4909.             else
  4910.                 local x,y = v:find("^inf%^")
  4911.                 if x then
  4912.                     infTimes = true
  4913.                     v = v:sub(y+1)
  4914.                     local x,y,del = v:find("^([%d%.]+)%^")
  4915.                     if del then
  4916.                         v = v:sub(y+1)
  4917.                         del = tonumber(del) or 1
  4918.                         cmdDelay = (del > 0 and del or 1)
  4919.                     else
  4920.                         cmdDelay = 1
  4921.                     end
  4922.                 end
  4923.             end
  4924.             num = tonumber(num or 1)
  4925.  
  4926.             if v:sub(1,1) == "!" then
  4927.                 local chunks = splitString(v:sub(2),split)
  4928.                 if chunks[1] and lastCmds[chunks[1]] then v = lastCmds[chunks[1]] end
  4929.             end
  4930.  
  4931.             local args = splitString(v,split)
  4932.             local cmdName = args[1]
  4933.             local cmd = findCmd(cmdName)
  4934.             if cmd then
  4935.                 table.remove(args,1)
  4936.                 cargs = args
  4937.                 if not speaker then speaker = Players.LocalPlayer end
  4938.                 if store then
  4939.                     if speaker == Players.LocalPlayer then
  4940.                         if cmdHistory[1] ~= rawCmdStr and rawCmdStr:sub(1,11) ~= 'lastcommand' and rawCmdStr:sub(1,7) ~= 'lastcmd' then
  4941.                             table.insert(cmdHistory,1,rawCmdStr)
  4942.                         end
  4943.                     end
  4944.                     if #cmdHistory > 30 then table.remove(cmdHistory) end
  4945.  
  4946.                     lastCmds[cmdName] = v
  4947.                 end
  4948.                 local cmdStartTime = tick()
  4949.                 if infTimes then
  4950.                     while lastBreakTime < cmdStartTime do
  4951.                         local success,err = pcall(cmd.FUNC,args, speaker)
  4952.                         if not success and _G.IY_DEBUG then
  4953.                             warn("Command Error:", cmdName, err)
  4954.                         end
  4955.                         wait(cmdDelay)
  4956.                     end
  4957.                 else
  4958.                     for rep = 1,num do
  4959.                         if lastBreakTime > cmdStartTime then break end
  4960.                         local success,err = pcall(function()
  4961.                             cmd.FUNC(args, speaker)
  4962.                         end)
  4963.                         if not success and _G.IY_DEBUG then
  4964.                             warn("Command Error:", cmdName, err)
  4965.                         end
  4966.                         if cmdDelay ~= 0 then wait(cmdDelay) end
  4967.                     end
  4968.                 end
  4969.             end
  4970.         end
  4971.     end)
  4972. end
  4973.  
  4974. function addcmd(name,alias,func,plgn)
  4975.     cmds[#cmds+1]=
  4976.         {
  4977.             NAME=name;
  4978.             ALIAS=alias or {};
  4979.             FUNC=func;
  4980.             PLUGIN=plgn;
  4981.         }
  4982. end
  4983.  
  4984. function removecmd(cmd)
  4985.     if cmd ~= " " then
  4986.         for i = #cmds,1,-1 do
  4987.             if cmds[i].NAME == cmd or FindInTable(cmds[i].ALIAS,cmd) then
  4988.                 table.remove(cmds, i)
  4989.                 for a,c in pairs(CMDsF:GetChildren()) do
  4990.                     if string.find(c.Text, "^"..cmd.."$") or string.find(c.Text, "^"..cmd.." ") or string.find(c.Text, " "..cmd.."$") or string.find(c.Text, " "..cmd.." ") then
  4991.                         c.TextTransparency = 0.7
  4992.                         c.MouseButton1Click:Connect(function()
  4993.                             notify(c.Text, "Command has been disabled by you or a plugin")
  4994.                         end)
  4995.                     end
  4996.                 end
  4997.             end
  4998.         end
  4999.     end
  5000. end
  5001.  
  5002. function addbind(cmd,key,iskeyup,toggle)
  5003.     if toggle then
  5004.         binds[#binds+1]=
  5005.             {
  5006.                 COMMAND=cmd;
  5007.                 KEY=key;
  5008.                 ISKEYUP=iskeyup;
  5009.                 TOGGLE = toggle;
  5010.             }
  5011.     else
  5012.         binds[#binds+1]=
  5013.             {
  5014.                 COMMAND=cmd;
  5015.                 KEY=key;
  5016.                 ISKEYUP=iskeyup;
  5017.             }
  5018.     end
  5019. end
  5020.  
  5021. function addcmdtext(text,name,desc)
  5022.     local newcmd = Example:Clone()
  5023.     local tooltipText = tostring(text)
  5024.     local tooltipDesc = tostring(desc)
  5025.     newcmd.Parent = CMDsF
  5026.     newcmd.Visible = false
  5027.     newcmd.Text = text
  5028.     newcmd.Name = 'PLUGIN_'..name
  5029.     table.insert(text1,newcmd)
  5030.     if desc and desc ~= '' then
  5031.         newcmd:SetAttribute("Title", tooltipText)
  5032.         newcmd:SetAttribute("Desc", tooltipDesc)
  5033.         newcmd.MouseButton1Down:Connect(function()
  5034.             if newcmd.Visible and newcmd.TextTransparency == 0 then
  5035.                 Cmdbar:CaptureFocus()
  5036.                 autoComplete(newcmd.Text)
  5037.                 maximizeHolder()
  5038.             end
  5039.         end)
  5040.     end
  5041. end
  5042.  
  5043. local WorldToScreen = function(Object)
  5044.     local ObjectVector = workspace.CurrentCamera:WorldToScreenPoint(Object.Position)
  5045.     return Vector2.new(ObjectVector.X, ObjectVector.Y)
  5046. end
  5047.  
  5048. local MousePositionToVector2 = function()
  5049.     return Vector2.new(IYMouse.X, IYMouse.Y)
  5050. end
  5051.  
  5052. local GetClosestPlayerFromCursor = function()
  5053.     local found = nil
  5054.     local ClosestDistance = math.huge
  5055.     for i, v in pairs(Players:GetPlayers()) do
  5056.         if v ~= Players.LocalPlayer and v.Character and v.Character:FindFirstChildOfClass("Humanoid") then
  5057.             for k, x in pairs(v.Character:GetChildren()) do
  5058.                 if string.find(x.Name, "Torso") then
  5059.                     local Distance = (WorldToScreen(x) - MousePositionToVector2()).Magnitude
  5060.                     if Distance < ClosestDistance then
  5061.                         ClosestDistance = Distance
  5062.                         found = v
  5063.                     end
  5064.                 end
  5065.             end
  5066.         end
  5067.     end
  5068.     return found
  5069. end
  5070.  
  5071. SpecialPlayerCases = {
  5072.     ["all"] = function(speaker) return Players:GetPlayers() end,
  5073.     ["others"] = function(speaker)
  5074.         local plrs = {}
  5075.         for i,v in pairs(Players:GetPlayers()) do
  5076.             if v ~= speaker then
  5077.                 table.insert(plrs,v)
  5078.             end
  5079.         end
  5080.         return plrs
  5081.     end,
  5082.     ["me"] = function(speaker)return {speaker} end,
  5083.     ["#(%d+)"] = function(speaker,args,currentList)
  5084.         local returns = {}
  5085.         local randAmount = tonumber(args[1])
  5086.         local players = {unpack(currentList)}
  5087.         for i = 1,randAmount do
  5088.             if #players == 0 then break end
  5089.             local randIndex = math.random(1,#players)
  5090.             table.insert(returns,players[randIndex])
  5091.             table.remove(players,randIndex)
  5092.         end
  5093.         return returns
  5094.     end,
  5095.     ["random"] = function(speaker,args,currentList)
  5096.         local players = Players:GetPlayers()
  5097.         local localplayer = Players.LocalPlayer
  5098.         table.remove(players, table.find(players, localplayer))
  5099.         return {players[math.random(1,#players)]}
  5100.     end,
  5101.     ["%%(.+)"] = function(speaker,args)
  5102.         local returns = {}
  5103.         local team = args[1]
  5104.         for _,plr in pairs(Players:GetPlayers()) do
  5105.             if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then
  5106.                 table.insert(returns,plr)
  5107.             end
  5108.         end
  5109.         return returns
  5110.     end,
  5111.     ["allies"] = function(speaker)
  5112.         local returns = {}
  5113.         local team = speaker.Team
  5114.         for _,plr in pairs(Players:GetPlayers()) do
  5115.             if plr.Team == team then
  5116.                 table.insert(returns,plr)
  5117.             end
  5118.         end
  5119.         return returns
  5120.     end,
  5121.     ["enemies"] = function(speaker)
  5122.         local returns = {}
  5123.         local team = speaker.Team
  5124.         for _,plr in pairs(Players:GetPlayers()) do
  5125.             if plr.Team ~= team then
  5126.                 table.insert(returns,plr)
  5127.             end
  5128.         end
  5129.         return returns
  5130.     end,
  5131.     ["team"] = function(speaker)
  5132.         local returns = {}
  5133.         local team = speaker.Team
  5134.         for _,plr in pairs(Players:GetPlayers()) do
  5135.             if plr.Team == team then
  5136.                 table.insert(returns,plr)
  5137.             end
  5138.         end
  5139.         return returns
  5140.     end,
  5141.     ["nonteam"] = function(speaker)
  5142.         local returns = {}
  5143.         local team = speaker.Team
  5144.         for _,plr in pairs(Players:GetPlayers()) do
  5145.             if plr.Team ~= team then
  5146.                 table.insert(returns,plr)
  5147.             end
  5148.         end
  5149.         return returns
  5150.     end,
  5151.     ["friends"] = function(speaker,args)
  5152.         local returns = {}
  5153.         for _,plr in pairs(Players:GetPlayers()) do
  5154.             if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  5155.                 table.insert(returns,plr)
  5156.             end
  5157.         end
  5158.         return returns
  5159.     end,
  5160.     ["nonfriends"] = function(speaker,args)
  5161.         local returns = {}
  5162.         for _,plr in pairs(Players:GetPlayers()) do
  5163.             if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  5164.                 table.insert(returns,plr)
  5165.             end
  5166.         end
  5167.         return returns
  5168.     end,
  5169.     ["guests"] = function(speaker,args)
  5170.         local returns = {}
  5171.         for _,plr in pairs(Players:GetPlayers()) do
  5172.             if plr.Guest then
  5173.                 table.insert(returns,plr)
  5174.             end
  5175.         end
  5176.         return returns
  5177.     end,
  5178.     ["bacons"] = function(speaker,args)
  5179.         local returns = {}
  5180.         for _,plr in pairs(Players:GetPlayers()) do
  5181.             if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then
  5182.                 table.insert(returns,plr)
  5183.             end
  5184.         end
  5185.         return returns
  5186.     end,
  5187.     ["age(%d+)"] = function(speaker,args)
  5188.         local returns = {}
  5189.         local age = tonumber(args[1])
  5190.         if not age == nil then return end
  5191.         for _,plr in pairs(Players:GetPlayers()) do
  5192.             if plr.AccountAge <= age then
  5193.                 table.insert(returns,plr)
  5194.             end
  5195.         end
  5196.         return returns
  5197.     end,
  5198.     ["nearest"] = function(speaker,args,currentList)
  5199.         local speakerChar = speaker.Character
  5200.         if not speakerChar or not getRoot(speakerChar) then return end
  5201.         local lowest = math.huge
  5202.         local NearestPlayer = nil
  5203.         for _,plr in pairs(currentList) do
  5204.             if plr ~= speaker and plr.Character then
  5205.                 local distance = plr:DistanceFromCharacter(getRoot(speakerChar).Position)
  5206.                 if distance < lowest then
  5207.                     lowest = distance
  5208.                     NearestPlayer = {plr}
  5209.                 end
  5210.             end
  5211.         end
  5212.         return NearestPlayer
  5213.     end,
  5214.     ["farthest"] = function(speaker,args,currentList)
  5215.         local speakerChar = speaker.Character
  5216.         if not speakerChar or not getRoot(speakerChar) then return end
  5217.         local highest = 0
  5218.         local Farthest = nil
  5219.         for _,plr in pairs(currentList) do
  5220.             if plr ~= speaker and plr.Character then
  5221.                 local distance = plr:DistanceFromCharacter(getRoot(speakerChar).Position)
  5222.                 if distance > highest then
  5223.                     highest = distance
  5224.                     Farthest = {plr}
  5225.                 end
  5226.             end
  5227.         end
  5228.         return Farthest
  5229.     end,
  5230.     ["group(%d+)"] = function(speaker,args)
  5231.         local returns = {}
  5232.         local groupID = tonumber(args[1])
  5233.         for _,plr in pairs(Players:GetPlayers()) do
  5234.             if plr:IsInGroup(groupID) then  
  5235.                 table.insert(returns,plr)
  5236.             end
  5237.         end
  5238.         return returns
  5239.     end,
  5240.     ["alive"] = function(speaker,args)
  5241.         local returns = {}
  5242.         for _,plr in pairs(Players:GetPlayers()) do
  5243.             if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") and plr.Character:FindFirstChildOfClass("Humanoid").Health > 0 then
  5244.                 table.insert(returns,plr)
  5245.             end
  5246.         end
  5247.         return returns
  5248.     end,
  5249.     ["dead"] = function(speaker,args)
  5250.         local returns = {}
  5251.         for _,plr in pairs(Players:GetPlayers()) do
  5252.             if (not plr.Character or not plr.Character:FindFirstChildOfClass("Humanoid")) or plr.Character:FindFirstChildOfClass("Humanoid").Health <= 0 then
  5253.                 table.insert(returns,plr)
  5254.             end
  5255.         end
  5256.         return returns
  5257.     end,
  5258.     ["rad(%d+)"] = function(speaker,args)
  5259.         local returns = {}
  5260.         local radius = tonumber(args[1])
  5261.         local speakerChar = speaker.Character
  5262.         if not speakerChar or not getRoot(speakerChar) then return end
  5263.         for _,plr in pairs(Players:GetPlayers()) do
  5264.             if plr.Character and getRoot(plr.Character) then
  5265.                 local magnitude = (getRoot(plr.Character).Position-getRoot(speakerChar).Position).magnitude
  5266.                 if magnitude <= radius then table.insert(returns,plr) end
  5267.             end
  5268.         end
  5269.         return returns
  5270.     end,
  5271.     ["cursor"] = function(speaker)
  5272.         local plrs = {}
  5273.         local v = GetClosestPlayerFromCursor()
  5274.         if v ~= nil then table.insert(plrs, v) end
  5275.         return plrs
  5276.     end,
  5277.     ["npcs"] = function(speaker,args)
  5278.         local returns = {}
  5279.         for _, v in pairs(workspace:GetDescendants()) do
  5280.             if v:IsA("Model") and getRoot(v) and v:FindFirstChildWhichIsA("Humanoid") and Players:GetPlayerFromCharacter(v) == nil then
  5281.                 local clone = Instance.new("Player")
  5282.                 clone.Name = v.Name .. " - " .. v:FindFirstChildWhichIsA("Humanoid").DisplayName
  5283.                 clone.Character = v
  5284.                 table.insert(returns, clone)
  5285.             end
  5286.         end
  5287.         return returns
  5288.     end,
  5289. }
  5290.  
  5291. function toTokens(str)
  5292.     local tokens = {}
  5293.     for op,name in string.gmatch(str,"([+-])([^+-]+)") do
  5294.         table.insert(tokens,{Operator = op,Name = name})
  5295.     end
  5296.     return tokens
  5297. end
  5298.  
  5299. function onlyIncludeInTable(tab,matches)
  5300.     local matchTable = {}
  5301.     local resultTable = {}
  5302.     for i,v in pairs(matches) do matchTable[v.Name] = true end
  5303.     for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end
  5304.     return resultTable
  5305. end
  5306.  
  5307. function removeTableMatches(tab,matches)
  5308.     local matchTable = {}
  5309.     local resultTable = {}
  5310.     for i,v in pairs(matches) do matchTable[v.Name] = true end
  5311.     for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end
  5312.     return resultTable
  5313. end
  5314.  
  5315. function getPlayersByName(Name)
  5316.     local Name,Len,Found = string.lower(Name),#Name,{}
  5317.     for _,v in pairs(Players:GetPlayers()) do
  5318.         if Name:sub(0,1) == '@' then
  5319.             if string.sub(string.lower(v.Name),1,Len-1) == Name:sub(2) then
  5320.                 table.insert(Found,v)
  5321.             end
  5322.         else
  5323.             if string.sub(string.lower(v.Name),1,Len) == Name or string.sub(string.lower(v.DisplayName),1,Len) == Name then
  5324.                 table.insert(Found,v)
  5325.             end
  5326.         end
  5327.     end
  5328.     return Found
  5329. end
  5330.  
  5331. function getPlayer(list,speaker)
  5332.     if list == nil then return {speaker.Name} end
  5333.     local nameList = splitString(list,",")
  5334.  
  5335.     local foundList = {}
  5336.  
  5337.     for _,name in pairs(nameList) do
  5338.         if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end
  5339.         local tokens = toTokens(name)
  5340.         local initialPlayers = Players:GetPlayers()
  5341.  
  5342.         for i,v in pairs(tokens) do
  5343.             if v.Operator == "+" then
  5344.                 local tokenContent = v.Name
  5345.                 local foundCase = false
  5346.                 for regex,case in pairs(SpecialPlayerCases) do
  5347.                     local matches = {string.match(tokenContent,"^"..regex.."$")}
  5348.                     if #matches > 0 then
  5349.                         foundCase = true
  5350.                         initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers))
  5351.                     end
  5352.                 end
  5353.                 if not foundCase then
  5354.                     initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent))
  5355.                 end
  5356.             else
  5357.                 local tokenContent = v.Name
  5358.                 local foundCase = false
  5359.                 for regex,case in pairs(SpecialPlayerCases) do
  5360.                     local matches = {string.match(tokenContent,"^"..regex.."$")}
  5361.                     if #matches > 0 then
  5362.                         foundCase = true
  5363.                         initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers))
  5364.                     end
  5365.                 end
  5366.                 if not foundCase then
  5367.                     initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent))
  5368.                 end
  5369.             end
  5370.         end
  5371.  
  5372.         for i,v in pairs(initialPlayers) do table.insert(foundList,v) end
  5373.     end
  5374.  
  5375.     local foundNames = {}
  5376.     for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end
  5377.  
  5378.     return foundNames
  5379. end
  5380.  
  5381. formatUsername = function(player)
  5382.     if player.DisplayName ~= player.Name then
  5383.         return string.format("%s (%s)", player.Name, player.DisplayName)
  5384.     end
  5385.     return player.Name
  5386. end
  5387.  
  5388. getprfx=function(strn)
  5389.     if strn:sub(1,string.len(prefix))==prefix then return{'cmd',string.len(prefix)+1}
  5390.     end return
  5391. end
  5392.  
  5393. function do_exec(str, plr)
  5394.     str = str:gsub('/e ', '')
  5395.     local t = getprfx(str)
  5396.     if not t then return end
  5397.     str = str:sub(t[2])
  5398.     if t[1]=='cmd' then
  5399.         execCmd(str, plr, true)
  5400.         IndexContents('',true,false,true)
  5401.         CMDsF.CanvasPosition = canvasPos
  5402.     end
  5403. end
  5404.  
  5405. lastTextBoxString,lastTextBoxCon,lastEnteredString = nil,nil,nil
  5406.  
  5407. UserInputService.TextBoxFocused:Connect(function(obj)
  5408.     if lastTextBoxCon then lastTextBoxCon:Disconnect() end
  5409.     if obj == Cmdbar then lastTextBoxString = nil return end
  5410.     lastTextBoxString = obj.Text
  5411.     lastTextBoxCon = obj:GetPropertyChangedSignal("Text"):Connect(function()
  5412.         if not (UserInputService:IsKeyDown(Enum.KeyCode.Return) or UserInputService:IsKeyDown(Enum.KeyCode.KeypadEnter)) then
  5413.             lastTextBoxString = obj.Text
  5414.         end
  5415.     end)
  5416. end)
  5417.  
  5418. UserInputService.InputBegan:Connect(function(input,gameProcessed)
  5419.     if gameProcessed then
  5420.         if Cmdbar and Cmdbar:IsFocused() then
  5421.             if input.KeyCode == Enum.KeyCode.Up then
  5422.                 historyCount = historyCount + 1
  5423.                 if historyCount > #cmdHistory then historyCount = #cmdHistory end
  5424.                 Cmdbar.Text = cmdHistory[historyCount] or ""
  5425.                 Cmdbar.CursorPosition = 1020
  5426.             elseif input.KeyCode == Enum.KeyCode.Down then
  5427.                 historyCount = historyCount - 1
  5428.                 if historyCount < 0 then historyCount = 0 end
  5429.                 Cmdbar.Text = cmdHistory[historyCount] or ""
  5430.                 Cmdbar.CursorPosition = 1020
  5431.             end
  5432.         elseif input.KeyCode == Enum.KeyCode.Return or input.KeyCode == Enum.KeyCode.KeypadEnter then
  5433.             lastEnteredString = lastTextBoxString
  5434.         end
  5435.     end
  5436. end)
  5437.  
  5438. Players.LocalPlayer.Chatted:Connect(function()
  5439.     wait()
  5440.     if lastEnteredString then
  5441.         local message = lastEnteredString
  5442.         lastEnteredString = nil
  5443.         do_exec(message, Players.LocalPlayer)
  5444.     end
  5445. end)
  5446.  
  5447. Cmdbar.PlaceholderText = "Command Bar ("..prefix..")"
  5448. Cmdbar:GetPropertyChangedSignal("Text"):Connect(function()
  5449.     if Cmdbar:IsFocused() then
  5450.         IndexContents(Cmdbar.Text,true,true)
  5451.     end
  5452. end)
  5453.  
  5454. local tabComplete = nil
  5455. tabAllowed = true
  5456. Cmdbar.FocusLost:Connect(function(enterpressed)
  5457.     if enterpressed then
  5458.         local cmdbarText = Cmdbar.Text:gsub("^"..prefix,"")
  5459.         execCmd(cmdbarText,Players.LocalPlayer,true)
  5460.     end
  5461.     if tabComplete then tabComplete:Disconnect() end
  5462.     wait()
  5463.     if not Cmdbar:IsFocused() then
  5464.         Cmdbar.Text = ""
  5465.         IndexContents('',true,false,true)
  5466.         if SettingsOpen == true then
  5467.             wait(0.2)
  5468.             Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.2, true, nil)
  5469.             CMDsF.Visible = false
  5470.         end
  5471.     end
  5472.     CMDsF.CanvasPosition = canvasPos
  5473. end)
  5474.  
  5475. Cmdbar.Focused:Connect(function()
  5476.     historyCount = 0
  5477.     canvasPos = CMDsF.CanvasPosition
  5478.     if SettingsOpen == true then
  5479.         wait(0.2)
  5480.         CMDsF.Visible = true
  5481.         Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil)
  5482.     end
  5483.     tabComplete = UserInputService.InputBegan:Connect(function(input,gameProcessed)
  5484.         if Cmdbar:IsFocused() then
  5485.             if tabAllowed == true and input.KeyCode == Enum.KeyCode.Tab and topCommand ~= nil then
  5486.                 autoComplete(topCommand)
  5487.             end
  5488.         else
  5489.             tabComplete:Disconnect()
  5490.         end
  5491.     end)
  5492. end)
  5493.  
  5494. ESPenabled = false
  5495. CHMSenabled = false
  5496.  
  5497. function round(num, numDecimalPlaces)
  5498.     local mult = 10^(numDecimalPlaces or 0)
  5499.     return math.floor(num * mult + 0.5) / mult
  5500. end
  5501.  
  5502. function ESP(plr)
  5503.     task.spawn(function()
  5504.         for i,v in pairs(COREGUI:GetChildren()) do
  5505.             if v.Name == plr.Name..'_ESP' then
  5506.                 v:Destroy()
  5507.             end
  5508.         end
  5509.         wait()
  5510.         if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not COREGUI:FindFirstChild(plr.Name..'_ESP') then
  5511.             local ESPholder = Instance.new("Folder")
  5512.             ESPholder.Name = plr.Name..'_ESP'
  5513.             ESPholder.Parent = COREGUI
  5514.             repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5515.             for b,n in pairs (plr.Character:GetChildren()) do
  5516.                 if (n:IsA("BasePart")) then
  5517.                     local a = Instance.new("BoxHandleAdornment")
  5518.                     a.Name = plr.Name
  5519.                     a.Parent = ESPholder
  5520.                     a.Adornee = n
  5521.                     a.AlwaysOnTop = true
  5522.                     a.ZIndex = 10
  5523.                     a.Size = n.Size
  5524.                     a.Transparency = espTransparency
  5525.                     a.Color = plr.TeamColor
  5526.                 end
  5527.             end
  5528.             if plr.Character and plr.Character:FindFirstChild('Head') then
  5529.                 local BillboardGui = Instance.new("BillboardGui")
  5530.                 local TextLabel = Instance.new("TextLabel")
  5531.                 BillboardGui.Adornee = plr.Character.Head
  5532.                 BillboardGui.Name = plr.Name
  5533.                 BillboardGui.Parent = ESPholder
  5534.                 BillboardGui.Size = UDim2.new(0, 100, 0, 150)
  5535.                 BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
  5536.                 BillboardGui.AlwaysOnTop = true
  5537.                 TextLabel.Parent = BillboardGui
  5538.                 TextLabel.BackgroundTransparency = 1
  5539.                 TextLabel.Position = UDim2.new(0, 0, 0, -50)
  5540.                 TextLabel.Size = UDim2.new(0, 100, 0, 100)
  5541.                 TextLabel.Font = Enum.Font.SourceSansSemibold
  5542.                 TextLabel.TextSize = 20
  5543.                 TextLabel.TextColor3 = Color3.new(1, 1, 1)
  5544.                 TextLabel.TextStrokeTransparency = 0
  5545.                 TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
  5546.                 TextLabel.Text = 'Name: '..plr.Name
  5547.                 TextLabel.ZIndex = 10
  5548.                 local espLoopFunc
  5549.                 local teamChange
  5550.                 local addedFunc
  5551.                 addedFunc = plr.CharacterAdded:Connect(function()
  5552.                     if ESPenabled then
  5553.                         espLoopFunc:Disconnect()
  5554.                         teamChange:Disconnect()
  5555.                         ESPholder:Destroy()
  5556.                         repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5557.                         ESP(plr)
  5558.                         addedFunc:Disconnect()
  5559.                     else
  5560.                         teamChange:Disconnect()
  5561.                         addedFunc:Disconnect()
  5562.                     end
  5563.                 end)
  5564.                 teamChange = plr:GetPropertyChangedSignal("TeamColor"):Connect(function()
  5565.                     if ESPenabled then
  5566.                         espLoopFunc:Disconnect()
  5567.                         addedFunc:Disconnect()
  5568.                         ESPholder:Destroy()
  5569.                         repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5570.                         ESP(plr)
  5571.                         teamChange:Disconnect()
  5572.                     else
  5573.                         teamChange:Disconnect()
  5574.                     end
  5575.                 end)
  5576.                 local function espLoop()
  5577.                     if COREGUI:FindFirstChild(plr.Name..'_ESP') then
  5578.                         if plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid") and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
  5579.                             local pos = math.floor((getRoot(Players.LocalPlayer.Character).Position - getRoot(plr.Character).Position).magnitude)
  5580.                             TextLabel.Text = 'Name: '..plr.Name..' | Health: '..round(plr.Character:FindFirstChildOfClass('Humanoid').Health, 1)..' | Studs: '..pos
  5581.                         end
  5582.                     else
  5583.                         teamChange:Disconnect()
  5584.                         addedFunc:Disconnect()
  5585.                         espLoopFunc:Disconnect()
  5586.                     end
  5587.                 end
  5588.                 espLoopFunc = RunService.RenderStepped:Connect(espLoop)
  5589.             end
  5590.         end
  5591.     end)
  5592. end
  5593.  
  5594. function CHMS(plr)
  5595.     task.spawn(function()
  5596.         for i,v in pairs(COREGUI:GetChildren()) do
  5597.             if v.Name == plr.Name..'_CHMS' then
  5598.                 v:Destroy()
  5599.             end
  5600.         end
  5601.         wait()
  5602.         if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not COREGUI:FindFirstChild(plr.Name..'_CHMS') then
  5603.             local ESPholder = Instance.new("Folder")
  5604.             ESPholder.Name = plr.Name..'_CHMS'
  5605.             ESPholder.Parent = COREGUI
  5606.             repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5607.             for b,n in pairs (plr.Character:GetChildren()) do
  5608.                 if (n:IsA("BasePart")) then
  5609.                     local a = Instance.new("BoxHandleAdornment")
  5610.                     a.Name = plr.Name
  5611.                     a.Parent = ESPholder
  5612.                     a.Adornee = n
  5613.                     a.AlwaysOnTop = true
  5614.                     a.ZIndex = 10
  5615.                     a.Size = n.Size
  5616.                     a.Transparency = espTransparency
  5617.                     a.Color = plr.TeamColor
  5618.                 end
  5619.             end
  5620.             local addedFunc
  5621.             local teamChange
  5622.             local CHMSremoved
  5623.             addedFunc = plr.CharacterAdded:Connect(function()
  5624.                 if CHMSenabled then
  5625.                     ESPholder:Destroy()
  5626.                     teamChange:Disconnect()
  5627.                     repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5628.                     CHMS(plr)
  5629.                     addedFunc:Disconnect()
  5630.                 else
  5631.                     teamChange:Disconnect()
  5632.                     addedFunc:Disconnect()
  5633.                 end
  5634.             end)
  5635.             teamChange = plr:GetPropertyChangedSignal("TeamColor"):Connect(function()
  5636.                 if CHMSenabled then
  5637.                     ESPholder:Destroy()
  5638.                     addedFunc:Disconnect()
  5639.                     repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5640.                     CHMS(plr)
  5641.                     teamChange:Disconnect()
  5642.                 else
  5643.                     teamChange:Disconnect()
  5644.                 end
  5645.             end)
  5646.             CHMSremoved = ESPholder.AncestryChanged:Connect(function()
  5647.                 teamChange:Disconnect()
  5648.                 addedFunc:Disconnect()
  5649.                 CHMSremoved:Disconnect()
  5650.             end)
  5651.         end
  5652.     end)
  5653. end
  5654.  
  5655. function Locate(plr)
  5656.     task.spawn(function()
  5657.         for i,v in pairs(COREGUI:GetChildren()) do
  5658.             if v.Name == plr.Name..'_LC' then
  5659.                 v:Destroy()
  5660.             end
  5661.         end
  5662.         wait()
  5663.         if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not COREGUI:FindFirstChild(plr.Name..'_LC') then
  5664.             local ESPholder = Instance.new("Folder")
  5665.             ESPholder.Name = plr.Name..'_LC'
  5666.             ESPholder.Parent = COREGUI
  5667.             repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5668.             for b,n in pairs (plr.Character:GetChildren()) do
  5669.                 if (n:IsA("BasePart")) then
  5670.                     local a = Instance.new("BoxHandleAdornment")
  5671.                     a.Name = plr.Name
  5672.                     a.Parent = ESPholder
  5673.                     a.Adornee = n
  5674.                     a.AlwaysOnTop = true
  5675.                     a.ZIndex = 10
  5676.                     a.Size = n.Size
  5677.                     a.Transparency = espTransparency
  5678.                     a.Color = plr.TeamColor
  5679.                 end
  5680.             end
  5681.             if plr.Character and plr.Character:FindFirstChild('Head') then
  5682.                 local BillboardGui = Instance.new("BillboardGui")
  5683.                 local TextLabel = Instance.new("TextLabel")
  5684.                 BillboardGui.Adornee = plr.Character.Head
  5685.                 BillboardGui.Name = plr.Name
  5686.                 BillboardGui.Parent = ESPholder
  5687.                 BillboardGui.Size = UDim2.new(0, 100, 0, 150)
  5688.                 BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
  5689.                 BillboardGui.AlwaysOnTop = true
  5690.                 TextLabel.Parent = BillboardGui
  5691.                 TextLabel.BackgroundTransparency = 1
  5692.                 TextLabel.Position = UDim2.new(0, 0, 0, -50)
  5693.                 TextLabel.Size = UDim2.new(0, 100, 0, 100)
  5694.                 TextLabel.Font = Enum.Font.SourceSansSemibold
  5695.                 TextLabel.TextSize = 20
  5696.                 TextLabel.TextColor3 = Color3.new(1, 1, 1)
  5697.                 TextLabel.TextStrokeTransparency = 0
  5698.                 TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
  5699.                 TextLabel.Text = 'Name: '..plr.Name
  5700.                 TextLabel.ZIndex = 10
  5701.                 local lcLoopFunc
  5702.                 local addedFunc
  5703.                 local teamChange
  5704.                 addedFunc = plr.CharacterAdded:Connect(function()
  5705.                     if ESPholder ~= nil and ESPholder.Parent ~= nil then
  5706.                         lcLoopFunc:Disconnect()
  5707.                         teamChange:Disconnect()
  5708.                         ESPholder:Destroy()
  5709.                         repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5710.                         Locate(plr)
  5711.                         addedFunc:Disconnect()
  5712.                     else
  5713.                         teamChange:Disconnect()
  5714.                         addedFunc:Disconnect()
  5715.                     end
  5716.                 end)
  5717.                 teamChange = plr:GetPropertyChangedSignal("TeamColor"):Connect(function()
  5718.                     if ESPholder ~= nil and ESPholder.Parent ~= nil then
  5719.                         lcLoopFunc:Disconnect()
  5720.                         addedFunc:Disconnect()
  5721.                         ESPholder:Destroy()
  5722.                         repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5723.                         Locate(plr)
  5724.                         teamChange:Disconnect()
  5725.                     else
  5726.                         teamChange:Disconnect()
  5727.                     end
  5728.                 end)
  5729.                 local function lcLoop()
  5730.                     if COREGUI:FindFirstChild(plr.Name..'_LC') then
  5731.                         if plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid") and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
  5732.                             local pos = math.floor((getRoot(Players.LocalPlayer.Character).Position - getRoot(plr.Character).Position).magnitude)
  5733.                             TextLabel.Text = 'Name: '..plr.Name..' | Health: '..round(plr.Character:FindFirstChildOfClass('Humanoid').Health, 1)..' | Studs: '..pos
  5734.                         end
  5735.                     else
  5736.                         teamChange:Disconnect()
  5737.                         addedFunc:Disconnect()
  5738.                         lcLoopFunc:Disconnect()
  5739.                     end
  5740.                 end
  5741.                 lcLoopFunc = RunService.RenderStepped:Connect(lcLoop)
  5742.             end
  5743.         end
  5744.     end)
  5745. end
  5746.  
  5747. local bindsGUI = KeybindEditor
  5748. local awaitingInput = false
  5749. local keySelected = false
  5750.  
  5751. function refreshbinds()
  5752.     if Holder_2 then
  5753.         Holder_2:ClearAllChildren()
  5754.         Holder_2.CanvasSize = UDim2.new(0, 0, 0, 10)
  5755.         for i = 1, #binds do
  5756.             local YSize = 25
  5757.             local Position = ((i * YSize) - YSize)
  5758.             local newbind = Example_2:Clone()
  5759.             newbind.Parent = Holder_2
  5760.             newbind.Visible = true
  5761.             newbind.Position = UDim2.new(0,0,0, Position + 5)
  5762.             table.insert(shade2,newbind)
  5763.             table.insert(shade2,newbind.Text)
  5764.             table.insert(text1,newbind.Text)
  5765.             table.insert(shade3,newbind.Text.Delete)
  5766.             table.insert(text2,newbind.Text.Delete)
  5767.             local input = tostring(binds[i].KEY)
  5768.             local key
  5769.             if input == 'RightClick' or input == 'LeftClick' then
  5770.                 key = input
  5771.             else
  5772.                 key = input:sub(14)
  5773.             end
  5774.             if binds[i].TOGGLE then
  5775.                 newbind.Text.Text = key.." > "..binds[i].COMMAND.." / "..binds[i].TOGGLE
  5776.             else
  5777.                 newbind.Text.Text = key.." > "..binds[i].COMMAND.."  "..(binds[i].ISKEYUP and "(keyup)" or "(keydown)")
  5778.             end
  5779.             Holder_2.CanvasSize = UDim2.new(0,0,0, Position + 30)
  5780.             newbind.Text.Delete.MouseButton1Click:Connect(function()
  5781.                 unkeybind(binds[i].COMMAND,binds[i].KEY)
  5782.             end)
  5783.         end
  5784.     end
  5785. end
  5786.  
  5787. refreshbinds()
  5788.  
  5789. toggleOn = {}
  5790.  
  5791. function unkeybind(cmd,key)
  5792.     for i = #binds,1,-1 do
  5793.         if binds[i].COMMAND == cmd and binds[i].KEY == key then
  5794.             toggleOn[binds[i]] = nil
  5795.             table.remove(binds, i)
  5796.         end
  5797.     end
  5798.     refreshbinds()
  5799.     updatesaves()
  5800.     if key == 'RightClick' or key == 'LeftClick' then
  5801.         notify('Keybinds Updated','Unbinded '..key..' from '..cmd)
  5802.     else
  5803.         notify('Keybinds Updated','Unbinded '..key:sub(14)..' from '..cmd)
  5804.     end
  5805. end
  5806.  
  5807. PositionsFrame.Delete.MouseButton1Click:Connect(function()
  5808.     execCmd('cpos')
  5809. end)
  5810.  
  5811. function refreshwaypoints()
  5812.     if #WayPoints > 0 or #pWayPoints > 0 then
  5813.         PositionsHint:Destroy()
  5814.     end
  5815.     if Holder_4 then
  5816.         Holder_4:ClearAllChildren()
  5817.         Holder_4.CanvasSize = UDim2.new(0, 0, 0, 10)
  5818.         local YSize = 25
  5819.         local num = 1
  5820.         for i = 1, #WayPoints do
  5821.             local Position = ((num * YSize) - YSize)
  5822.             local newpoint = Example_4:Clone()
  5823.             newpoint.Parent = Holder_4
  5824.             newpoint.Visible = true
  5825.             newpoint.Position = UDim2.new(0,0,0, Position + 5)
  5826.             newpoint.Text.Text = WayPoints[i].NAME
  5827.             table.insert(shade2,newpoint)
  5828.             table.insert(shade2,newpoint.Text)
  5829.             table.insert(text1,newpoint.Text)
  5830.             table.insert(shade3,newpoint.Text.Delete)
  5831.             table.insert(text2,newpoint.Text.Delete)
  5832.             table.insert(shade3,newpoint.Text.TP)
  5833.             table.insert(text2,newpoint.Text.TP)
  5834.             Holder_4.CanvasSize = UDim2.new(0,0,0, Position + 30)
  5835.             newpoint.Text.Delete.MouseButton1Click:Connect(function()
  5836.                 execCmd('dpos '..WayPoints[i].NAME)
  5837.             end)
  5838.             newpoint.Text.TP.MouseButton1Click:Connect(function()
  5839.                 execCmd("loadpos "..WayPoints[i].NAME)
  5840.             end)
  5841.             num = num+1
  5842.         end
  5843.         for i = 1, #pWayPoints do
  5844.             local Position = ((num * YSize) - YSize)
  5845.             local newpoint = Example_4:Clone()
  5846.             newpoint.Parent = Holder_4
  5847.             newpoint.Visible = true
  5848.             newpoint.Position = UDim2.new(0,0,0, Position + 5)
  5849.             newpoint.Text.Text = pWayPoints[i].NAME
  5850.             table.insert(shade2,newpoint)
  5851.             table.insert(shade2,newpoint.Text)
  5852.             table.insert(text1,newpoint.Text)
  5853.             table.insert(shade3,newpoint.Text.Delete)
  5854.             table.insert(text2,newpoint.Text.Delete)
  5855.             table.insert(shade3,newpoint.Text.TP)
  5856.             table.insert(text2,newpoint.Text.TP)
  5857.             Holder_4.CanvasSize = UDim2.new(0,0,0, Position + 30)
  5858.             newpoint.Text.Delete.MouseButton1Click:Connect(function()
  5859.                 execCmd('dpos '..pWayPoints[i].NAME)
  5860.             end)
  5861.             newpoint.Text.TP.MouseButton1Click:Connect(function()
  5862.                 execCmd("loadpos "..pWayPoints[i].NAME)
  5863.             end)
  5864.             num = num+1
  5865.         end
  5866.     end
  5867. end
  5868.  
  5869. refreshwaypoints()
  5870.  
  5871. function refreshaliases()
  5872.     if #aliases > 0 then
  5873.         AliasHint:Destroy()
  5874.     end
  5875.     if Holder_3 then
  5876.         Holder_3:ClearAllChildren()
  5877.         Holder_3.CanvasSize = UDim2.new(0, 0, 0, 10)
  5878.         for i = 1, #aliases do
  5879.             local YSize = 25
  5880.             local Position = ((i * YSize) - YSize)
  5881.             local newalias = Example_3:Clone()
  5882.             newalias.Parent = Holder_3
  5883.             newalias.Visible = true
  5884.             newalias.Position = UDim2.new(0,0,0, Position + 5)
  5885.             newalias.Text.Text = aliases[i].CMD.." > "..aliases[i].ALIAS
  5886.             table.insert(shade2,newalias)
  5887.             table.insert(shade2,newalias.Text)
  5888.             table.insert(text1,newalias.Text)
  5889.             table.insert(shade3,newalias.Text.Delete)
  5890.             table.insert(text2,newalias.Text.Delete)
  5891.             Holder_3.CanvasSize = UDim2.new(0,0,0, Position + 30)
  5892.             newalias.Text.Delete.MouseButton1Click:Connect(function()
  5893.                 execCmd('removealias '..aliases[i].ALIAS)
  5894.             end)
  5895.         end
  5896.     end
  5897. end
  5898.  
  5899. local bindChosenKeyUp = false
  5900.  
  5901. BindTo.MouseButton1Click:Connect(function()
  5902.     awaitingInput = true
  5903.     BindTo.Text = 'Press something'
  5904. end)
  5905.  
  5906. BindTriggerSelect.MouseButton1Click:Connect(function()
  5907.     bindChosenKeyUp = not bindChosenKeyUp
  5908.     BindTriggerSelect.Text = bindChosenKeyUp and "KeyUp" or "KeyDown"
  5909. end)
  5910.  
  5911. newToggle = false
  5912. Cmdbar_3.Parent.Visible = false
  5913. On_2.MouseButton1Click:Connect(function()
  5914.     if newToggle == false then newToggle = true
  5915.         On_2.BackgroundTransparency = 0
  5916.         Cmdbar_3.Parent.Visible = true
  5917.         BindTriggerSelect.Visible = false
  5918.     else newToggle = false
  5919.         On_2.BackgroundTransparency = 1
  5920.         Cmdbar_3.Parent.Visible = false
  5921.         BindTriggerSelect.Visible = true
  5922.     end
  5923. end)
  5924.  
  5925. Add_2.MouseButton1Click:Connect(function()
  5926.     if keySelected then
  5927.         if string.find(Cmdbar_2.Text, "\\\\") or string.find(Cmdbar_3.Text, "\\\\") then
  5928.             notify('Keybind Error','Only use one backslash to keybind multiple commands into one keybind or command')
  5929.         else
  5930.             if newToggle and Cmdbar_3.Text ~= '' and Cmdbar_2.text ~= '' then
  5931.                 addbind(Cmdbar_2.Text,keyPressed,false,Cmdbar_3.Text)
  5932.             elseif not newToggle and Cmdbar_2.text ~= '' then
  5933.                 addbind(Cmdbar_2.Text,keyPressed,bindChosenKeyUp)
  5934.             else
  5935.                 return
  5936.             end
  5937.             refreshbinds()
  5938.             updatesaves()
  5939.             if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  5940.                 notify('Keybinds Updated','Binded '..keyPressed..' to '..Cmdbar_2.Text..(newToggle and " / "..Cmdbar_3.Text or ""))
  5941.             else
  5942.                 notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to '..Cmdbar_2.Text..(newToggle and " / "..Cmdbar_3.Text or ""))
  5943.             end
  5944.         end
  5945.     end
  5946. end)
  5947.  
  5948. Exit_2.MouseButton1Click:Connect(function()
  5949.     Cmdbar_2.Text = 'Command'
  5950.     Cmdbar_3.Text = 'Command 2'
  5951.     BindTo.Text = 'Click to bind'
  5952.     bindChosenKeyUp = false
  5953.     BindTriggerSelect.Text = "KeyDown"
  5954.     keySelected = false
  5955.     KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  5956. end)
  5957.  
  5958. function onInputBegan(input,gameProcessed)
  5959.     if awaitingInput then
  5960.         if input.UserInputType == Enum.UserInputType.Keyboard then
  5961.             keyPressed = tostring(input.KeyCode)
  5962.             BindTo.Text = keyPressed:sub(14)
  5963.         elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  5964.             keyPressed = 'LeftClick'
  5965.             BindTo.Text = 'LeftClick'
  5966.         elseif input.UserInputType == Enum.UserInputType.MouseButton2 then
  5967.             keyPressed = 'RightClick'
  5968.             BindTo.Text = 'RightClick'
  5969.         end
  5970.         awaitingInput = false
  5971.         keySelected = true
  5972.     end
  5973.     if not gameProcessed and #binds > 0 then
  5974.         for i,v in pairs(binds) do
  5975.             if not v.ISKEYUP then
  5976.                 if (input.UserInputType == Enum.UserInputType.Keyboard and v.KEY:lower()==tostring(input.KeyCode):lower()) or (input.UserInputType == Enum.UserInputType.MouseButton1 and v.KEY:lower()=='leftclick') or (input.UserInputType == Enum.UserInputType.MouseButton2 and v.KEY:lower()=='rightclick') then
  5977.                     if v.TOGGLE then
  5978.                         local isOn = toggleOn[v] == true
  5979.                         toggleOn[v] = not isOn
  5980.                         if isOn then
  5981.                             execCmd(v.TOGGLE,Players.LocalPlayer)
  5982.                         else
  5983.                             execCmd(v.COMMAND,Players.LocalPlayer)
  5984.                         end
  5985.                     else
  5986.                         execCmd(v.COMMAND,Players.LocalPlayer)
  5987.                     end
  5988.                 end
  5989.             end
  5990.         end
  5991.     end
  5992. end
  5993.  
  5994. function onInputEnded(input,gameProcessed)
  5995.     if not gameProcessed and #binds > 0 then
  5996.         for i,v in pairs(binds) do
  5997.             if v.ISKEYUP then
  5998.                 if (input.UserInputType == Enum.UserInputType.Keyboard and v.KEY:lower()==tostring(input.KeyCode):lower()) or (input.UserInputType == Enum.UserInputType.MouseButton1 and v.KEY:lower()=='leftclick') or (input.UserInputType == Enum.UserInputType.MouseButton2 and v.KEY:lower()=='rightclick') then
  5999.                     execCmd(v.COMMAND,Players.LocalPlayer)
  6000.                 end
  6001.             end
  6002.         end
  6003.     end
  6004. end
  6005.  
  6006. UserInputService.InputBegan:Connect(onInputBegan)
  6007. UserInputService.InputEnded:Connect(onInputEnded)
  6008.  
  6009. ClickTP.Select.MouseButton1Click:Connect(function()
  6010.     if keySelected then
  6011.         addbind('clicktp',keyPressed,bindChosenKeyUp)
  6012.         refreshbinds()
  6013.         updatesaves()
  6014.         if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  6015.             notify('Keybinds Updated','Binded '..keyPressed..' to click tp')
  6016.         else
  6017.             notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to click tp')
  6018.         end
  6019.     end
  6020. end)
  6021.  
  6022. ClickDelete.Select.MouseButton1Click:Connect(function()
  6023.     if keySelected then
  6024.         addbind('clickdel',keyPressed,bindChosenKeyUp)
  6025.         refreshbinds()
  6026.         updatesaves()
  6027.         if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  6028.             notify('Keybinds Updated','Binded '..keyPressed..' to click delete')
  6029.         else
  6030.             notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to click delete')
  6031.         end
  6032.     end
  6033. end)
  6034.  
  6035. local function clicktpFunc()
  6036.     pcall(function()
  6037.         local character = Players.LocalPlayer.Character
  6038.         local humanoid = character:FindFirstChildOfClass("Humanoid")
  6039.         if humanoid and humanoid.SeatPart then
  6040.             humanoid.Sit = false
  6041.             wait(0.1)
  6042.         end
  6043.  
  6044.         local hipHeight = humanoid and humanoid.HipHeight > 0 and (humanoid.HipHeight + 1)
  6045.         local rootPart = getRoot(character)
  6046.         local rootPartPosition = rootPart.Position
  6047.         local hitPosition = IYMouse.Hit.Position
  6048.         local newCFrame = CFrame.new(
  6049.             hitPosition,
  6050.             Vector3.new(rootPartPosition.X, hitPosition.Y, rootPartPosition.Z)
  6051.         ) * CFrame.Angles(0, math.pi, 0)
  6052.  
  6053.         rootPart.CFrame = newCFrame + Vector3.new(0, hipHeight or 4, 0)
  6054.     end)
  6055. end
  6056.  
  6057. IYMouse.Button1Down:Connect(function()
  6058.     for i,v in pairs(binds) do
  6059.         if v.COMMAND == 'clicktp' then
  6060.             local input = v.KEY
  6061.             if input == 'RightClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) and Players.LocalPlayer.Character then
  6062.                 clicktpFunc()
  6063.             elseif input == 'LeftClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) and Players.LocalPlayer.Character then
  6064.                 clicktpFunc()
  6065.             elseif UserInputService:IsKeyDown(Enum.KeyCode[input:sub(14)]) and Players.LocalPlayer.Character then
  6066.                 clicktpFunc()
  6067.             end
  6068.         elseif v.COMMAND == 'clickdel' then
  6069.             local input = v.KEY
  6070.             if input == 'RightClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then
  6071.                 pcall(function() IYMouse.Target:Destroy() end)
  6072.             elseif input == 'LeftClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
  6073.                 pcall(function() IYMouse.Target:Destroy() end)
  6074.             elseif UserInputService:IsKeyDown(Enum.KeyCode[input:sub(14)]) then
  6075.                 pcall(function() IYMouse.Target:Destroy() end)
  6076.             end
  6077.         end
  6078.     end
  6079. end)
  6080.  
  6081. PluginsGUI = PluginEditor.background
  6082.  
  6083. function addPlugin(name)
  6084.     if name:lower() == 'plugin file name' or name:lower() == 'iy_fe.iy' or name == 'iy_fe' then
  6085.         notify('Plugin Error','Please enter a valid plugin')
  6086.     else
  6087.         local file
  6088.         local fileName
  6089.         if name:sub(-3) == '.iy' then
  6090.             pcall(function() file = readfile(name) end)
  6091.             fileName = name
  6092.         else
  6093.             pcall(function() file = readfile(name..'.iy') end)
  6094.             fileName = name..'.iy'
  6095.         end
  6096.         if file then
  6097.             if not FindInTable(PluginsTable, fileName) then
  6098.                 table.insert(PluginsTable, fileName)
  6099.                 LoadPlugin(fileName)
  6100.                 refreshplugins()
  6101.                 pcall(eventEditor.Refresh)
  6102.             else
  6103.                 notify('Plugin Error','This plugin is already added')
  6104.             end
  6105.         else
  6106.             notify('Plugin Error','Cannot locate file "'..fileName..'". Is the file in the correct folder?')
  6107.         end
  6108.     end
  6109. end
  6110.  
  6111. function deletePlugin(name)
  6112.     local pName = name..'.iy'
  6113.     if name:sub(-3) == '.iy' then
  6114.         pName = name
  6115.     end
  6116.     for i = #cmds,1,-1 do
  6117.         if cmds[i].PLUGIN == pName then
  6118.             table.remove(cmds, i)
  6119.         end
  6120.     end
  6121.     for i,v in pairs(CMDsF:GetChildren()) do
  6122.         if v.Name == 'PLUGIN_'..pName then
  6123.             v:Destroy()
  6124.         end
  6125.     end
  6126.     for i,v in pairs(PluginsTable) do
  6127.         if v == pName then
  6128.             table.remove(PluginsTable, i)
  6129.             notify('Removed Plugin',pName..' was removed')
  6130.         end
  6131.     end
  6132.     IndexContents('',true)
  6133.     refreshplugins()
  6134. end
  6135.  
  6136. function refreshplugins(dontSave)
  6137.     if #PluginsTable > 0 then
  6138.         PluginsHint:Destroy()
  6139.     end
  6140.     if Holder_5 then
  6141.         Holder_5:ClearAllChildren()
  6142.         Holder_5.CanvasSize = UDim2.new(0, 0, 0, 10)
  6143.         for i,v in pairs(PluginsTable) do
  6144.             local pName = v
  6145.             local YSize = 25
  6146.             local Position = ((i * YSize) - YSize)
  6147.             local newplugin = Example_5:Clone()
  6148.             newplugin.Parent = Holder_5
  6149.             newplugin.Visible = true
  6150.             newplugin.Position = UDim2.new(0,0,0, Position + 5)
  6151.             newplugin.Text.Text = pName
  6152.             table.insert(shade2,newplugin)
  6153.             table.insert(shade2,newplugin.Text)
  6154.             table.insert(text1,newplugin.Text)
  6155.             table.insert(shade3,newplugin.Text.Delete)
  6156.             table.insert(text2,newplugin.Text.Delete)
  6157.             Holder_5.CanvasSize = UDim2.new(0,0,0, Position + 30)
  6158.             newplugin.Text.Delete.MouseButton1Click:Connect(function()
  6159.                 deletePlugin(pName)
  6160.             end)
  6161.         end
  6162.         if not dontSave then
  6163.             updatesaves()
  6164.         end
  6165.     end
  6166. end
  6167.  
  6168. local PluginCache
  6169. function LoadPlugin(val,startup)
  6170.     local plugin
  6171.  
  6172.     function CatchedPluginLoad()
  6173.         plugin = loadfile(val)()
  6174.     end
  6175.  
  6176.     function handlePluginError(plerror)
  6177.         notify('Plugin Error','An error occurred with the plugin, "'..val..'" and it could not be loaded')
  6178.         if FindInTable(PluginsTable,val) then
  6179.             for i,v in pairs(PluginsTable) do
  6180.                 if v == val then
  6181.                     table.remove(PluginsTable,i)
  6182.                 end
  6183.             end
  6184.         end
  6185.         updatesaves()
  6186.  
  6187.         print("Original Error: "..tostring(plerror))
  6188.         print("Plugin Error, stack traceback: "..tostring(debug.traceback()))
  6189.  
  6190.         plugin = nil
  6191.  
  6192.         return false
  6193.     end
  6194.  
  6195.     xpcall(CatchedPluginLoad, handlePluginError)
  6196.  
  6197.     if plugin ~= nil then
  6198.         if not startup then
  6199.             notify('Loaded Plugin',"Name: "..plugin["PluginName"].."\n".."Description: "..plugin["PluginDescription"])
  6200.         end
  6201.         addcmdtext('',val)
  6202.         addcmdtext(string.upper('--'..plugin["PluginName"]),val,plugin["PluginDescription"])
  6203.         if plugin["Commands"] then
  6204.             for i,v in pairs(plugin["Commands"]) do
  6205.                 local cmdExt = ''
  6206.                 local cmdName = i
  6207.                 local function handleNames()
  6208.                     cmdName = i
  6209.                     if findCmd(cmdName..cmdExt) then
  6210.                         if isNumber(cmdExt) then
  6211.                             cmdExt = cmdExt+1
  6212.                         else
  6213.                             cmdExt = 1
  6214.                         end
  6215.                         handleNames()
  6216.                     else
  6217.                         cmdName = cmdName..cmdExt
  6218.                     end
  6219.                 end
  6220.                 handleNames()
  6221.                 addcmd(cmdName, v["Aliases"], v["Function"], val)
  6222.                 if v["ListName"] then
  6223.                     local newName = v.ListName
  6224.                     local cmdNames = {i,unpack(v.Aliases)}
  6225.                     for i,v in pairs(cmdNames) do
  6226.                         newName = newName:gsub(v,v..cmdExt)
  6227.                     end
  6228.                     addcmdtext(newName,val,v["Description"])
  6229.                 else
  6230.                     addcmdtext(cmdName,val,v["Description"])
  6231.                 end
  6232.             end
  6233.         end
  6234.         IndexContents('',true)
  6235.     elseif plugin == nil then
  6236.         plugin = nil
  6237.     end
  6238. end
  6239.  
  6240. function FindPlugins()
  6241.     if PluginsTable ~= nil and type(PluginsTable) == "table" then
  6242.         for i,v in pairs(PluginsTable) do
  6243.             LoadPlugin(v,true)
  6244.         end
  6245.         refreshplugins(true)
  6246.     end
  6247. end
  6248.  
  6249. AddPlugin.MouseButton1Click:Connect(function()
  6250.     addPlugin(PluginsGUI.FileName.Text)
  6251. end)
  6252.  
  6253. Exit_3.MouseButton1Click:Connect(function()
  6254.     PluginEditor:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  6255.     FileName.Text = 'Plugin File Name'
  6256. end)
  6257.  
  6258. Add_3.MouseButton1Click:Connect(function()
  6259.     PluginEditor:TweenPosition(UDim2.new(0.5, -180, 0, 310), "InOut", "Quart", 0.5, true, nil)
  6260. end)
  6261.  
  6262. Plugins.MouseButton1Click:Connect(function()
  6263.     if writefileExploit() then
  6264.         PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  6265.         wait(0.5)
  6266.         SettingsHolder.Visible = false
  6267.     else
  6268.         notify('Incompatible Exploit','Your exploit is unable to use plugins (missing read/writefile)')
  6269.     end
  6270. end)
  6271.  
  6272. Close_4.MouseButton1Click:Connect(function()
  6273.     SettingsHolder.Visible = true
  6274.     PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  6275. end)
  6276.  
  6277. local TeleportCheck = false
  6278. Players.LocalPlayer.OnTeleport:Connect(function(State)
  6279.     if KeepInfYield and (not TeleportCheck) and queueteleport then
  6280.         TeleportCheck = true
  6281.         queueteleport("loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()")
  6282.     end
  6283. end)
  6284.  
  6285. addcmd('addalias',{},function(args, speaker)
  6286.     if #args < 2 then return end
  6287.     local cmd = string.lower(args[1])
  6288.     local alias = string.lower(args[2])
  6289.     for i,v in pairs(cmds) do
  6290.         if v.NAME:lower()==cmd or FindInTable(v.ALIAS,cmd) then
  6291.             customAlias[alias] = v
  6292.             aliases[#aliases + 1] = {CMD = cmd, ALIAS = alias}
  6293.             notify('Aliases Modified',"Added "..alias.." as an alias to "..cmd)
  6294.             updatesaves()
  6295.             refreshaliases()
  6296.             break
  6297.         end
  6298.     end
  6299. end)
  6300.  
  6301. addcmd('removealias',{},function(args, speaker)
  6302.     if #args < 1 then return end
  6303.     local alias = string.lower(args[1])
  6304.     if customAlias[alias] then
  6305.         local cmd = customAlias[alias].NAME
  6306.         customAlias[alias] = nil
  6307.         for i = #aliases,1,-1 do
  6308.             if aliases[i].ALIAS == tostring(alias) then
  6309.                 table.remove(aliases, i)
  6310.             end
  6311.         end
  6312.         notify('Aliases Modified',"Removed the alias "..alias.." from "..cmd)
  6313.         updatesaves()
  6314.         refreshaliases()
  6315.     end
  6316. end)
  6317.  
  6318. addcmd('clraliases',{},function(args, speaker)
  6319.     customAlias = {}
  6320.     aliases = {}
  6321.     notify('Aliases Modified','Removed all aliases')
  6322.     updatesaves()
  6323.     refreshaliases()
  6324. end)
  6325.  
  6326. addcmd('discord', {'support', 'help'}, function(args, speaker)
  6327.     if everyClipboard then
  6328.         toClipboard('https://discord.com/invite/dYHag43eeU')
  6329.         notify('Discord Invite', 'Copied to clipboard!\ndiscord.gg/dYHag43eeU')
  6330.     else
  6331.         notify('Discord Invite', 'discord.gg/dYHag43eeU')
  6332.     end
  6333.     if httprequest then
  6334.         httprequest({
  6335.             Url = 'http://127.0.0.1:6463/rpc?v=1',
  6336.             Method = 'POST',
  6337.             Headers = {
  6338.                 ['Content-Type'] = 'application/json',
  6339.                 Origin = 'https://discord.com'
  6340.             },
  6341.             Body = HttpService:JSONEncode({
  6342.                 cmd = 'INVITE_BROWSER',
  6343.                 nonce = HttpService:GenerateGUID(false),
  6344.                 args = {code = 'dYHag43eeU'}
  6345.             })
  6346.         })
  6347.     end
  6348. end)
  6349.  
  6350. addcmd('keepiy', {}, function(args, speaker)
  6351.     if queueteleport then
  6352.         KeepInfYield = true
  6353.         updatesaves()
  6354.     else
  6355.         notify('Incompatible Exploit','Your exploit does not support this command (missing queue_on_teleport)')
  6356.     end
  6357. end)
  6358.  
  6359. addcmd('unkeepiy', {}, function(args, speaker)
  6360.     if queueteleport then
  6361.         KeepInfYield = false
  6362.         updatesaves()
  6363.     else
  6364.         notify('Incompatible Exploit','Your exploit does not support this command (missing queue_on_teleport)')
  6365.     end
  6366. end)
  6367.  
  6368. addcmd('togglekeepiy', {}, function(args, speaker)
  6369.     if queueteleport then
  6370.         KeepInfYield = not KeepInfYield
  6371.         updatesaves()
  6372.     else
  6373.         notify('Incompatible Exploit','Your exploit does not support this command (missing queue_on_teleport)')
  6374.     end
  6375. end)
  6376.  
  6377. local canOpenServerinfo = true
  6378. addcmd('serverinfo',{'info','sinfo'},function(args, speaker)
  6379.     if not canOpenServerinfo then return end
  6380.     canOpenServerinfo = false
  6381.     task.spawn(function()
  6382.         local FRAME = Instance.new("Frame")
  6383.         local shadow = Instance.new("Frame")
  6384.         local PopupText = Instance.new("TextLabel")
  6385.         local Exit = Instance.new("TextButton")
  6386.         local ExitImage = Instance.new("ImageLabel")
  6387.         local background = Instance.new("Frame")
  6388.         local TextLabel = Instance.new("TextLabel")
  6389.         local TextLabel2 = Instance.new("TextLabel")
  6390.         local TextLabel3 = Instance.new("TextLabel")
  6391.         local Time = Instance.new("TextLabel")
  6392.         local appearance = Instance.new("TextLabel")
  6393.         local maxplayers = Instance.new("TextLabel")
  6394.         local name = Instance.new("TextLabel")
  6395.         local placeid = Instance.new("TextLabel")
  6396.         local playerid = Instance.new("TextLabel")
  6397.         local players = Instance.new("TextLabel")
  6398.         local CopyApp = Instance.new("TextButton")
  6399.         local CopyPlrID = Instance.new("TextButton")
  6400.         local CopyPlcID = Instance.new("TextButton")
  6401.         local CopyPlcName = Instance.new("TextButton")
  6402.  
  6403.         FRAME.Name = randomString()
  6404.         FRAME.Parent = PARENT
  6405.         FRAME.Active = true
  6406.         FRAME.BackgroundTransparency = 1
  6407.         FRAME.Position = UDim2.new(0.5, -130, 0, -500)
  6408.         FRAME.Size = UDim2.new(0, 250, 0, 20)
  6409.         FRAME.ZIndex = 10
  6410.         dragGUI(FRAME)
  6411.  
  6412.         shadow.Name = "shadow"
  6413.         shadow.Parent = FRAME
  6414.         shadow.BackgroundColor3 = currentShade2
  6415.         shadow.BorderSizePixel = 0
  6416.         shadow.Size = UDim2.new(0, 250, 0, 20)
  6417.         shadow.ZIndex = 10
  6418.         table.insert(shade2,shadow)
  6419.  
  6420.         PopupText.Name = "PopupText"
  6421.         PopupText.Parent = shadow
  6422.         PopupText.BackgroundTransparency = 1
  6423.         PopupText.Size = UDim2.new(1, 0, 0.95, 0)
  6424.         PopupText.ZIndex = 10
  6425.         PopupText.Font = Enum.Font.SourceSans
  6426.         PopupText.TextSize = 14
  6427.         PopupText.Text = "Server"
  6428.         PopupText.TextColor3 = currentText1
  6429.         PopupText.TextWrapped = true
  6430.         table.insert(text1,PopupText)
  6431.  
  6432.         Exit.Name = "Exit"
  6433.         Exit.Parent = shadow
  6434.         Exit.BackgroundTransparency = 1
  6435.         Exit.Position = UDim2.new(1, -20, 0, 0)
  6436.         Exit.Size = UDim2.new(0, 20, 0, 20)
  6437.         Exit.Text = ""
  6438.         Exit.ZIndex = 10
  6439.  
  6440.         ExitImage.Parent = Exit
  6441.         ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
  6442.         ExitImage.BackgroundTransparency = 1
  6443.         ExitImage.Position = UDim2.new(0, 5, 0, 5)
  6444.         ExitImage.Size = UDim2.new(0, 10, 0, 10)
  6445.         ExitImage.Image = "rbxassetid://5054663650"
  6446.         ExitImage.ZIndex = 10
  6447.  
  6448.         background.Name = "background"
  6449.         background.Parent = FRAME
  6450.         background.Active = true
  6451.         background.BackgroundColor3 = currentShade1
  6452.         background.BorderSizePixel = 0
  6453.         background.Position = UDim2.new(0, 0, 1, 0)
  6454.         background.Size = UDim2.new(0, 250, 0, 250)
  6455.         background.ZIndex = 10
  6456.         table.insert(shade1,background)
  6457.  
  6458.         TextLabel.Name = "Text Label"
  6459.         TextLabel.Parent = background
  6460.         TextLabel.BackgroundTransparency = 1
  6461.         TextLabel.BorderSizePixel = 0
  6462.         TextLabel.Position = UDim2.new(0, 5, 0, 80)
  6463.         TextLabel.Size = UDim2.new(0, 100, 0, 20)
  6464.         TextLabel.ZIndex = 10
  6465.         TextLabel.Font = Enum.Font.SourceSansLight
  6466.         TextLabel.TextSize = 20
  6467.         TextLabel.Text = "Run Time:"
  6468.         TextLabel.TextColor3 = currentText1
  6469.         TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  6470.         table.insert(text1,TextLabel)
  6471.  
  6472.         TextLabel2.Name = "Text Label2"
  6473.         TextLabel2.Parent = background
  6474.         TextLabel2.BackgroundTransparency = 1
  6475.         TextLabel2.BorderSizePixel = 0
  6476.         TextLabel2.Position = UDim2.new(0, 5, 0, 130)
  6477.         TextLabel2.Size = UDim2.new(0, 100, 0, 20)
  6478.         TextLabel2.ZIndex = 10
  6479.         TextLabel2.Font = Enum.Font.SourceSansLight
  6480.         TextLabel2.TextSize = 20
  6481.         TextLabel2.Text = "Statistics:"
  6482.         TextLabel2.TextColor3 = currentText1
  6483.         TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
  6484.         table.insert(text1,TextLabel2)
  6485.  
  6486.         TextLabel3.Name = "Text Label3"
  6487.         TextLabel3.Parent = background
  6488.         TextLabel3.BackgroundTransparency = 1
  6489.         TextLabel3.BorderSizePixel = 0
  6490.         TextLabel3.Position = UDim2.new(0, 5, 0, 10)
  6491.         TextLabel3.Size = UDim2.new(0, 100, 0, 20)
  6492.         TextLabel3.ZIndex = 10
  6493.         TextLabel3.Font = Enum.Font.SourceSansLight
  6494.         TextLabel3.TextSize = 20
  6495.         TextLabel3.Text = "Local Player:"
  6496.         TextLabel3.TextColor3 = currentText1
  6497.         TextLabel3.TextXAlignment = Enum.TextXAlignment.Left
  6498.         table.insert(text1,TextLabel3)
  6499.  
  6500.         Time.Name = "Time"
  6501.         Time.Parent = background
  6502.         Time.BackgroundTransparency = 1
  6503.         Time.BorderSizePixel = 0
  6504.         Time.Position = UDim2.new(0, 5, 0, 105)
  6505.         Time.Size = UDim2.new(0, 100, 0, 20)
  6506.         Time.ZIndex = 10
  6507.         Time.Font = Enum.Font.SourceSans
  6508.         Time.FontSize = Enum.FontSize.Size14
  6509.         Time.Text = "LOADING"
  6510.         Time.TextColor3 = currentText1
  6511.         Time.TextXAlignment = Enum.TextXAlignment.Left
  6512.         table.insert(text1,Time)
  6513.  
  6514.         appearance.Name = "appearance"
  6515.         appearance.Parent = background
  6516.         appearance.BackgroundTransparency = 1
  6517.         appearance.BorderSizePixel = 0
  6518.         appearance.Position = UDim2.new(0, 5, 0, 55)
  6519.         appearance.Size = UDim2.new(0, 100, 0, 20)
  6520.         appearance.ZIndex = 10
  6521.         appearance.Font = Enum.Font.SourceSans
  6522.         appearance.FontSize = Enum.FontSize.Size14
  6523.         appearance.Text = "Appearance: LOADING"
  6524.         appearance.TextColor3 = currentText1
  6525.         appearance.TextXAlignment = Enum.TextXAlignment.Left
  6526.         table.insert(text1,appearance)
  6527.  
  6528.         maxplayers.Name = "maxplayers"
  6529.         maxplayers.Parent = background
  6530.         maxplayers.BackgroundTransparency = 1
  6531.         maxplayers.BorderSizePixel = 0
  6532.         maxplayers.Position = UDim2.new(0, 5, 0, 175)
  6533.         maxplayers.Size = UDim2.new(0, 100, 0, 20)
  6534.         maxplayers.ZIndex = 10
  6535.         maxplayers.Font = Enum.Font.SourceSans
  6536.         maxplayers.FontSize = Enum.FontSize.Size14
  6537.         maxplayers.Text = "LOADING"
  6538.         maxplayers.TextColor3 = currentText1
  6539.         maxplayers.TextXAlignment = Enum.TextXAlignment.Left
  6540.         table.insert(text1,maxplayers)
  6541.  
  6542.         name.Name = "name"
  6543.         name.Parent = background
  6544.         name.BackgroundTransparency = 1
  6545.         name.BorderSizePixel = 0
  6546.         name.Position = UDim2.new(0, 5, 0, 215)
  6547.         name.Size = UDim2.new(0, 240, 0, 30)
  6548.         name.ZIndex = 10
  6549.         name.Font = Enum.Font.SourceSans
  6550.         name.FontSize = Enum.FontSize.Size14
  6551.         name.Text = "Place Name: LOADING"
  6552.         name.TextColor3 = currentText1
  6553.         name.TextWrapped = true
  6554.         name.TextXAlignment = Enum.TextXAlignment.Left
  6555.         name.TextYAlignment = Enum.TextYAlignment.Top
  6556.         table.insert(text1,name)
  6557.  
  6558.         placeid.Name = "placeid"
  6559.         placeid.Parent = background
  6560.         placeid.BackgroundTransparency = 1
  6561.         placeid.BorderSizePixel = 0
  6562.         placeid.Position = UDim2.new(0, 5, 0, 195)
  6563.         placeid.Size = UDim2.new(0, 100, 0, 20)
  6564.         placeid.ZIndex = 10
  6565.         placeid.Font = Enum.Font.SourceSans
  6566.         placeid.FontSize = Enum.FontSize.Size14
  6567.         placeid.Text = "Place ID: LOADING"
  6568.         placeid.TextColor3 = currentText1
  6569.         placeid.TextXAlignment = Enum.TextXAlignment.Left
  6570.         table.insert(text1,placeid)
  6571.  
  6572.         playerid.Name = "playerid"
  6573.         playerid.Parent = background
  6574.         playerid.BackgroundTransparency = 1
  6575.         playerid.BorderSizePixel = 0
  6576.         playerid.Position = UDim2.new(0, 5, 0, 35)
  6577.         playerid.Size = UDim2.new(0, 100, 0, 20)
  6578.         playerid.ZIndex = 10
  6579.         playerid.Font = Enum.Font.SourceSans
  6580.         playerid.FontSize = Enum.FontSize.Size14
  6581.         playerid.Text = "Player ID: LOADING"
  6582.         playerid.TextColor3 = currentText1
  6583.         playerid.TextXAlignment = Enum.TextXAlignment.Left
  6584.         table.insert(text1,playerid)
  6585.  
  6586.         players.Name = "players"
  6587.         players.Parent = background
  6588.         players.BackgroundTransparency = 1
  6589.         players.BorderSizePixel = 0
  6590.         players.Position = UDim2.new(0, 5, 0, 155)
  6591.         players.Size = UDim2.new(0, 100, 0, 20)
  6592.         players.ZIndex = 10
  6593.         players.Font = Enum.Font.SourceSans
  6594.         players.FontSize = Enum.FontSize.Size14
  6595.         players.Text = "LOADING"
  6596.         players.TextColor3 = currentText1
  6597.         players.TextXAlignment = Enum.TextXAlignment.Left
  6598.         table.insert(text1,players)
  6599.  
  6600.         CopyApp.Name = "CopyApp"
  6601.         CopyApp.Parent = background
  6602.         CopyApp.BackgroundColor3 = currentShade2
  6603.         CopyApp.BorderSizePixel = 0
  6604.         CopyApp.Position = UDim2.new(0, 210, 0, 55)
  6605.         CopyApp.Size = UDim2.new(0, 35, 0, 20)
  6606.         CopyApp.Font = Enum.Font.SourceSans
  6607.         CopyApp.TextSize = 14
  6608.         CopyApp.Text = "Copy"
  6609.         CopyApp.TextColor3 = currentText1
  6610.         CopyApp.ZIndex = 10
  6611.         table.insert(shade2,CopyApp)
  6612.         table.insert(text1,CopyApp)
  6613.  
  6614.         CopyPlrID.Name = "CopyPlrID"
  6615.         CopyPlrID.Parent = background
  6616.         CopyPlrID.BackgroundColor3 = currentShade2
  6617.         CopyPlrID.BorderSizePixel = 0
  6618.         CopyPlrID.Position = UDim2.new(0, 210, 0, 35)
  6619.         CopyPlrID.Size = UDim2.new(0, 35, 0, 20)
  6620.         CopyPlrID.Font = Enum.Font.SourceSans
  6621.         CopyPlrID.TextSize = 14
  6622.         CopyPlrID.Text = "Copy"
  6623.         CopyPlrID.TextColor3 = currentText1
  6624.         CopyPlrID.ZIndex = 10
  6625.         table.insert(shade2,CopyPlrID)
  6626.         table.insert(text1,CopyPlrID)
  6627.  
  6628.         CopyPlcID.Name = "CopyPlcID"
  6629.         CopyPlcID.Parent = background
  6630.         CopyPlcID.BackgroundColor3 = currentShade2
  6631.         CopyPlcID.BorderSizePixel = 0
  6632.         CopyPlcID.Position = UDim2.new(0, 210, 0, 195)
  6633.         CopyPlcID.Size = UDim2.new(0, 35, 0, 20)
  6634.         CopyPlcID.Font = Enum.Font.SourceSans
  6635.         CopyPlcID.TextSize = 14
  6636.         CopyPlcID.Text = "Copy"
  6637.         CopyPlcID.TextColor3 = currentText1
  6638.         CopyPlcID.ZIndex = 10
  6639.         table.insert(shade2,CopyPlcID)
  6640.         table.insert(text1,CopyPlcID)
  6641.  
  6642.         CopyPlcName.Name = "CopyPlcName"
  6643.         CopyPlcName.Parent = background
  6644.         CopyPlcName.BackgroundColor3 = currentShade2
  6645.         CopyPlcName.BorderSizePixel = 0
  6646.         CopyPlcName.Position = UDim2.new(0, 210, 0, 215)
  6647.         CopyPlcName.Size = UDim2.new(0, 35, 0, 20)
  6648.         CopyPlcName.Font = Enum.Font.SourceSans
  6649.         CopyPlcName.TextSize = 14
  6650.         CopyPlcName.Text = "Copy"
  6651.         CopyPlcName.TextColor3 = currentText1
  6652.         CopyPlcName.ZIndex = 10
  6653.         table.insert(shade2,CopyPlcName)
  6654.         table.insert(text1,CopyPlcName)
  6655.  
  6656.         local SINFOGUI = background
  6657.         FRAME:TweenPosition(UDim2.new(0.5, -130, 0, 100), "InOut", "Quart", 0.5, true, nil)
  6658.         wait(0.5)
  6659.         Exit.MouseButton1Click:Connect(function()
  6660.             FRAME:TweenPosition(UDim2.new(0.5, -130, 0, -500), "InOut", "Quart", 0.5, true, nil)
  6661.             wait(0.6)
  6662.             FRAME:Destroy()
  6663.             canOpenServerinfo = true
  6664.         end)
  6665.         local Asset = MarketplaceService:GetProductInfo(PlaceId)
  6666.         SINFOGUI.name.Text = "Place Name: " .. Asset.Name
  6667.         SINFOGUI.playerid.Text = "Player ID: " ..speaker.UserId
  6668.         SINFOGUI.maxplayers.Text = Players.MaxPlayers.. " Players Max"
  6669.         SINFOGUI.placeid.Text = "Place ID: " ..PlaceId
  6670.  
  6671.         CopyApp.MouseButton1Click:Connect(function()
  6672.             toClipboard(speaker.CharacterAppearanceId)
  6673.         end)
  6674.         CopyPlrID.MouseButton1Click:Connect(function()
  6675.             toClipboard(speaker.UserId)
  6676.         end)
  6677.         CopyPlcID.MouseButton1Click:Connect(function()
  6678.             toClipboard(PlaceId)
  6679.         end)
  6680.         CopyPlcName.MouseButton1Click:Connect(function()
  6681.             toClipboard(Asset.Name)
  6682.         end)
  6683.  
  6684.         repeat
  6685.             players = Players:GetPlayers()
  6686.             SINFOGUI.players.Text = #players.. " Player(s)"
  6687.             SINFOGUI.appearance.Text = "Appearance: " ..speaker.CharacterAppearanceId
  6688.             local seconds = math.floor(workspace.DistributedGameTime)
  6689.             local minutes = math.floor(workspace.DistributedGameTime / 60)
  6690.             local hours = math.floor(workspace.DistributedGameTime / 60 / 60)
  6691.             local seconds = seconds - (minutes * 60)
  6692.             local minutes = minutes - (hours * 60)
  6693.             if hours < 1 then if minutes < 1 then
  6694.                     SINFOGUI.Time.Text = seconds .. " Second(s)" else
  6695.                     SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)"
  6696.                 end
  6697.             else
  6698.                 SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
  6699.             end
  6700.             wait(1)
  6701.         until SINFOGUI.Parent == nil
  6702.     end)
  6703. end)
  6704.  
  6705. addcmd('jobid',{},function(args, speaker)
  6706.     local jobId = 'Roblox.GameLauncher.joinGameInstance('..PlaceId..', "'..JobId..'")'
  6707.     toClipboard(jobId)
  6708. end)
  6709.  
  6710. addcmd('notifyjobid',{},function(args, speaker)
  6711.     notify('JobId / PlaceId',JobId..' / '..PlaceId)
  6712. end)
  6713.  
  6714. addcmd('breakloops',{'break'},function(args, speaker)
  6715.     lastBreakTime = tick()
  6716. end)
  6717.  
  6718. addcmd('gametp',{'gameteleport'},function(args, speaker)
  6719.     TeleportService:Teleport(args[1])
  6720. end)
  6721.  
  6722. addcmd("rejoin", {"rj"}, function(args, speaker)
  6723.     if #Players:GetPlayers() <= 1 then
  6724.         Players.LocalPlayer:Kick("\nRejoining...")
  6725.         wait()
  6726.         TeleportService:Teleport(PlaceId, Players.LocalPlayer)
  6727.     else
  6728.         TeleportService:TeleportToPlaceInstance(PlaceId, JobId, Players.LocalPlayer)
  6729.     end
  6730. end)
  6731.  
  6732. addcmd("autorejoin", {"autorj"}, function(args, speaker)
  6733.     GuiService.ErrorMessageChanged:Connect(function()
  6734.         execCmd("rejoin")
  6735.     end)
  6736.     notify("Auto Rejoin", "Auto rejoin enabled")
  6737. end)
  6738.  
  6739. addcmd("serverhop", {"shop"}, function(args, speaker)
  6740.     -- thanks to NoobSploit for fixing
  6741.     if httprequest then
  6742.         local servers = {}
  6743.         local req = httprequest({Url = string.format("https://games.roblox.com/v1/games/%d/servers/Public?sortOrder=Desc&limit=100&excludeFullGames=true", PlaceId)})
  6744.         local body = HttpService:JSONDecode(req.Body)
  6745.  
  6746.         if body and body.data then
  6747.             for i, v in next, body.data do
  6748.                 if type(v) == "table" and tonumber(v.playing) and tonumber(v.maxPlayers) and v.playing < v.maxPlayers and v.id ~= JobId then
  6749.                     table.insert(servers, 1, v.id)
  6750.                 end
  6751.             end
  6752.         end
  6753.  
  6754.         if #servers > 0 then
  6755.             TeleportService:TeleportToPlaceInstance(PlaceId, servers[math.random(1, #servers)], Players.LocalPlayer)
  6756.         else
  6757.             return notify("Serverhop", "Couldn't find a server.")
  6758.         end
  6759.     else
  6760.         notify("Incompatible Exploit", "Your exploit does not support this command (missing request)")
  6761.     end
  6762. end)
  6763.  
  6764. addcmd('joinplayer',{'joinp'},function(args, speaker)
  6765.     local retries = 0
  6766.     function ToServer(User,Place)  
  6767.         if args[2] == nil then Place = PlaceId end
  6768.         if not pcall(function()
  6769.                 local FoundUser, UserId = pcall(function()
  6770.                     if tonumber(User) then
  6771.                         return tonumber(User)
  6772.                     end
  6773.  
  6774.                     return Players:GetUserIdFromNameAsync(User)
  6775.                 end)
  6776.                 if not FoundUser then
  6777.                     notify('Join Error','Username/UserID does not exist')
  6778.                 else
  6779.                     notify('Join Player','Loading servers. Hold on a second.')
  6780.                     local URL2 = ("https://games.roblox.com/v1/games/"..Place.."/servers/Public?sortOrder=Asc&limit=100")
  6781.                     local Http = HttpService:JSONDecode(game:HttpGet(URL2))
  6782.                     local GUID
  6783.  
  6784.                     function tablelength(T)
  6785.                         local count = 0
  6786.                         for _ in pairs(T) do count = count + 1 end
  6787.                         return count
  6788.                     end
  6789.  
  6790.                     for i=1,tonumber(tablelength(Http.data)) do
  6791.                         for j,k in pairs(Http.data[i].playerIds) do
  6792.                             if k == UserId then
  6793.                                 GUID = Http.data[i].id
  6794.                             end
  6795.                         end
  6796.                     end
  6797.  
  6798.                     if GUID ~= nil then
  6799.                         notify('Join Player','Joining '..User)
  6800.                         TeleportService:TeleportToPlaceInstance(Place,GUID,Players.LocalPlayer)
  6801.                     else
  6802.                         notify('Join Error','Unable to join user.')
  6803.                     end
  6804.                 end
  6805.             end)
  6806.         then
  6807.             if retries < 3 then
  6808.                 retries = retries + 1
  6809.                 print('ERROR retrying '..retries..'/3')
  6810.                 notify('Join Error','Error while trying to join. Retrying '..retries..'/3.')
  6811.                 ToServer(User,Place)
  6812.             else
  6813.                 notify('Join Error','Error while trying to join.')
  6814.             end
  6815.         end
  6816.     end
  6817.     ToServer(args[1],args[2])
  6818. end)
  6819.  
  6820. addcmd("exit", {}, function(args, speaker)
  6821.     game:Shutdown()
  6822. end)
  6823.  
  6824. local Noclipping = nil
  6825. addcmd('noclip',{},function(args, speaker)
  6826.     Clip = false
  6827.     wait(0.1)
  6828.     local function NoclipLoop()
  6829.         if Clip == false and speaker.Character ~= nil then
  6830.             for _, child in pairs(speaker.Character:GetDescendants()) do
  6831.                 if child:IsA("BasePart") and child.CanCollide == true and child.Name ~= floatName then
  6832.                     child.CanCollide = false
  6833.                 end
  6834.             end
  6835.         end
  6836.     end
  6837.     Noclipping = RunService.Stepped:Connect(NoclipLoop)
  6838. end)
  6839.  
  6840. addcmd('clip',{'unnoclip'},function(args, speaker)
  6841.     if Noclipping then
  6842.         Noclipping:Disconnect()
  6843.     end
  6844.     Clip = true
  6845. end)
  6846.  
  6847. addcmd('togglenoclip',{},function(args, speaker)
  6848.     if Clip then
  6849.         execCmd('noclip')
  6850.     else
  6851.         execCmd('clip')
  6852.     end
  6853. end)
  6854.  
  6855. FLYING = false
  6856. QEfly = true
  6857. iyflyspeed = 1
  6858. vehicleflyspeed = 1
  6859. function sFLY(vfly)
  6860.     repeat wait() until Players.LocalPlayer and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  6861.     repeat wait() until IYMouse
  6862.     if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect() end
  6863.  
  6864.     local T = getRoot(Players.LocalPlayer.Character)
  6865.     local CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  6866.     local lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  6867.     local SPEED = 0
  6868.  
  6869.     local function FLY()
  6870.         FLYING = true
  6871.         local BG = Instance.new('BodyGyro')
  6872.         local BV = Instance.new('BodyVelocity')
  6873.         BG.P = 9e4
  6874.         BG.Parent = T
  6875.         BV.Parent = T
  6876.         BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  6877.         BG.cframe = T.CFrame
  6878.         BV.velocity = Vector3.new(0, 0, 0)
  6879.         BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  6880.         task.spawn(function()
  6881.             repeat wait()
  6882.                 if not vfly and Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  6883.                     Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  6884.                 end
  6885.                 if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0 then
  6886.                     SPEED = 50
  6887.                 elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0) and SPEED ~= 0 then
  6888.                     SPEED = 0
  6889.                 end
  6890.                 if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 or (CONTROL.Q + CONTROL.E) ~= 0 then
  6891.                     BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  6892.                     lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  6893.                 elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and (CONTROL.Q + CONTROL.E) == 0 and SPEED ~= 0 then
  6894.                     BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  6895.                 else
  6896.                     BV.velocity = Vector3.new(0, 0, 0)
  6897.                 end
  6898.                 BG.cframe = workspace.CurrentCamera.CoordinateFrame
  6899.             until not FLYING
  6900.             CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  6901.             lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  6902.             SPEED = 0
  6903.             BG:Destroy()
  6904.             BV:Destroy()
  6905.             if Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  6906.                 Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  6907.             end
  6908.         end)
  6909.     end
  6910.     flyKeyDown = IYMouse.KeyDown:Connect(function(KEY)
  6911.         if KEY:lower() == 'w' then
  6912.             CONTROL.F = (vfly and vehicleflyspeed or iyflyspeed)
  6913.         elseif KEY:lower() == 's' then
  6914.             CONTROL.B = - (vfly and vehicleflyspeed or iyflyspeed)
  6915.         elseif KEY:lower() == 'a' then
  6916.             CONTROL.L = - (vfly and vehicleflyspeed or iyflyspeed)
  6917.         elseif KEY:lower() == 'd' then
  6918.             CONTROL.R = (vfly and vehicleflyspeed or iyflyspeed)
  6919.         elseif QEfly and KEY:lower() == 'e' then
  6920.             CONTROL.Q = (vfly and vehicleflyspeed or iyflyspeed)*2
  6921.         elseif QEfly and KEY:lower() == 'q' then
  6922.             CONTROL.E = -(vfly and vehicleflyspeed or iyflyspeed)*2
  6923.         end
  6924.         pcall(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Track end)
  6925.     end)
  6926.     flyKeyUp = IYMouse.KeyUp:Connect(function(KEY)
  6927.         if KEY:lower() == 'w' then
  6928.             CONTROL.F = 0
  6929.         elseif KEY:lower() == 's' then
  6930.             CONTROL.B = 0
  6931.         elseif KEY:lower() == 'a' then
  6932.             CONTROL.L = 0
  6933.         elseif KEY:lower() == 'd' then
  6934.             CONTROL.R = 0
  6935.         elseif KEY:lower() == 'e' then
  6936.             CONTROL.Q = 0
  6937.         elseif KEY:lower() == 'q' then
  6938.             CONTROL.E = 0
  6939.         end
  6940.     end)
  6941.     FLY()
  6942. end
  6943.  
  6944. function NOFLY()
  6945.     FLYING = false
  6946.     if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect() end
  6947.     if Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  6948.         Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  6949.     end
  6950.     pcall(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Custom end)
  6951. end
  6952.  
  6953. local velocityHandlerName = randomString()
  6954. local gyroHandlerName = randomString()
  6955. local mfly1
  6956. local mfly2
  6957.  
  6958. local unmobilefly = function(speaker)
  6959.     pcall(function()
  6960.         FLYING = false
  6961.         local root = getRoot(speaker.Character)
  6962.         root:FindFirstChild(velocityHandlerName):Destroy()
  6963.         root:FindFirstChild(gyroHandlerName):Destroy()
  6964.         speaker.Character:FindFirstChildWhichIsA("Humanoid").PlatformStand = false
  6965.         mfly1:Disconnect()
  6966.         mfly2:Disconnect()
  6967.     end)
  6968. end
  6969.  
  6970. local mobilefly = function(speaker, vfly)
  6971.     unmobilefly(speaker)
  6972.     FLYING = true
  6973.  
  6974.     local root = getRoot(speaker.Character)
  6975.     local camera = workspace.CurrentCamera
  6976.     local v3none = Vector3.new()
  6977.     local v3zero = Vector3.new(0, 0, 0)
  6978.     local v3inf = Vector3.new(9e9, 9e9, 9e9)
  6979.  
  6980.     local controlModule = require(speaker.PlayerScripts:WaitForChild("PlayerModule"):WaitForChild("ControlModule"))
  6981.     local bv = Instance.new("BodyVelocity")
  6982.     bv.Name = velocityHandlerName
  6983.     bv.Parent = root
  6984.     bv.MaxForce = v3zero
  6985.     bv.Velocity = v3zero
  6986.  
  6987.     local bg = Instance.new("BodyGyro")
  6988.     bg.Name = gyroHandlerName
  6989.     bg.Parent = root
  6990.     bg.MaxTorque = v3inf
  6991.     bg.P = 1000
  6992.     bg.D = 50
  6993.  
  6994.     mfly1 = speaker.CharacterAdded:Connect(function()
  6995.         local bv = Instance.new("BodyVelocity")
  6996.         bv.Name = velocityHandlerName
  6997.         bv.Parent = root
  6998.         bv.MaxForce = v3zero
  6999.         bv.Velocity = v3zero
  7000.  
  7001.         local bg = Instance.new("BodyGyro")
  7002.         bg.Name = gyroHandlerName
  7003.         bg.Parent = root
  7004.         bg.MaxTorque = v3inf
  7005.         bg.P = 1000
  7006.         bg.D = 50
  7007.     end)
  7008.  
  7009.     mfly2 = RunService.RenderStepped:Connect(function()
  7010.         root = getRoot(speaker.Character)
  7011.         camera = workspace.CurrentCamera
  7012.         if speaker.Character:FindFirstChildWhichIsA("Humanoid") and root and root:FindFirstChild(velocityHandlerName) and root:FindFirstChild(gyroHandlerName) then
  7013.             local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  7014.             local VelocityHandler = root:FindFirstChild(velocityHandlerName)
  7015.             local GyroHandler = root:FindFirstChild(gyroHandlerName)
  7016.  
  7017.             VelocityHandler.MaxForce = v3inf
  7018.             GyroHandler.MaxTorque = v3inf
  7019.             if not vfly then humanoid.PlatformStand = true end
  7020.             GyroHandler.CFrame = camera.CoordinateFrame
  7021.             VelocityHandler.Velocity = v3none
  7022.  
  7023.             local direction = controlModule:GetMoveVector()
  7024.             if direction.X > 0 then
  7025.                 VelocityHandler.Velocity = VelocityHandler.Velocity + camera.CFrame.RightVector * (direction.X * ((vfly and vehicleflyspeed or iyflyspeed) * 50))
  7026.             end
  7027.             if direction.X < 0 then
  7028.                 VelocityHandler.Velocity = VelocityHandler.Velocity + camera.CFrame.RightVector * (direction.X * ((vfly and vehicleflyspeed or iyflyspeed) * 50))
  7029.             end
  7030.             if direction.Z > 0 then
  7031.                 VelocityHandler.Velocity = VelocityHandler.Velocity - camera.CFrame.LookVector * (direction.Z * ((vfly and vehicleflyspeed or iyflyspeed) * 50))
  7032.             end
  7033.             if direction.Z < 0 then
  7034.                 VelocityHandler.Velocity = VelocityHandler.Velocity - camera.CFrame.LookVector * (direction.Z * ((vfly and vehicleflyspeed or iyflyspeed) * 50))
  7035.             end
  7036.         end
  7037.     end)
  7038. end
  7039.  
  7040. addcmd('fly',{},function(args, speaker)
  7041.     if not IsOnMobile then
  7042.         NOFLY()
  7043.         wait()
  7044.         sFLY()
  7045.     else
  7046.         mobilefly(speaker)
  7047.     end
  7048.     if args[1] and isNumber(args[1]) then
  7049.         iyflyspeed = args[1]
  7050.     end
  7051. end)
  7052.  
  7053. addcmd('flyspeed',{'flysp'},function(args, speaker)
  7054.     local speed = args[1] or 1
  7055.     if isNumber(speed) then
  7056.         iyflyspeed = speed
  7057.     end
  7058. end)
  7059.  
  7060. addcmd('unfly',{'nofly','novfly','unvehiclefly','novehiclefly','unvfly'},function(args, speaker)
  7061.     if not IsOnMobile then NOFLY() else unmobilefly(speaker) end
  7062. end)
  7063.  
  7064. addcmd('vfly',{'vehiclefly'},function(args, speaker)
  7065.     if not IsOnMobile then
  7066.         NOFLY()
  7067.         wait()
  7068.         sFLY(true)
  7069.     else
  7070.         mobilefly(speaker, true)
  7071.     end
  7072.     if args[1] and isNumber(args[1]) then
  7073.         vehicleflyspeed = args[1]
  7074.     end
  7075. end)
  7076.  
  7077. addcmd('togglevfly',{},function(args, speaker)
  7078.     if FLYING then
  7079.         if not IsOnMobile then NOFLY() else unmobilefly(speaker) end
  7080.     else
  7081.         if not IsOnMobile then sFLY(true) else mobilefly(speaker, true) end
  7082.     end
  7083. end)
  7084.  
  7085. addcmd('vflyspeed',{'vflysp','vehicleflyspeed','vehicleflysp'},function(args, speaker)
  7086.     local speed = args[1] or 1
  7087.     if isNumber(speed) then
  7088.         vehicleflyspeed = speed
  7089.     end
  7090. end)
  7091.  
  7092. addcmd('qefly',{'flyqe'},function(args, speaker)
  7093.     if args[1] == 'false' then
  7094.         QEfly = false
  7095.     else
  7096.         QEfly = true
  7097.     end
  7098. end)
  7099.  
  7100. addcmd('togglefly',{},function(args, speaker)
  7101.     if FLYING then
  7102.         if not IsOnMobile then NOFLY() else unmobilefly(speaker) end
  7103.     else
  7104.         if not IsOnMobile then sFLY() else mobilefly(speaker) end
  7105.     end
  7106. end)
  7107.  
  7108. CFspeed = 50
  7109. addcmd('cframefly', {'cfly'}, function(args, speaker)
  7110.     -- Full credit to peyton#9148 (apeyton)
  7111.     speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  7112.     local Head = speaker.Character:WaitForChild("Head")
  7113.     Head.Anchored = true
  7114.     if CFloop then CFloop:Disconnect() end
  7115.     CFloop = RunService.Heartbeat:Connect(function(deltaTime)
  7116.         local moveDirection = speaker.Character:FindFirstChildOfClass('Humanoid').MoveDirection * (CFspeed * deltaTime)
  7117.         local headCFrame = Head.CFrame
  7118.         local cameraCFrame = workspace.CurrentCamera.CFrame
  7119.         local cameraOffset = headCFrame:ToObjectSpace(cameraCFrame).Position
  7120.         cameraCFrame = cameraCFrame * CFrame.new(-cameraOffset.X, -cameraOffset.Y, -cameraOffset.Z + 1)
  7121.         local cameraPosition = cameraCFrame.Position
  7122.         local headPosition = headCFrame.Position
  7123.  
  7124.         local objectSpaceVelocity = CFrame.new(cameraPosition, Vector3.new(headPosition.X, cameraPosition.Y, headPosition.Z)):VectorToObjectSpace(moveDirection)
  7125.         Head.CFrame = CFrame.new(headPosition) * (cameraCFrame - cameraPosition) * CFrame.new(objectSpaceVelocity)
  7126.     end)
  7127. end)
  7128.  
  7129. addcmd('uncframefly',{'uncfly'},function(args, speaker)
  7130.     if CFloop then
  7131.         CFloop:Disconnect()
  7132.         speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  7133.         local Head = speaker.Character:WaitForChild("Head")
  7134.         Head.Anchored = false
  7135.     end
  7136. end)
  7137.  
  7138. addcmd('cframeflyspeed',{'cflyspeed'},function(args, speaker)
  7139.     if isNumber(args[1]) then
  7140.         CFspeed = args[1]
  7141.     end
  7142. end)
  7143.  
  7144. Floating = false
  7145. floatName = randomString()
  7146. addcmd('float', {'platform'},function(args, speaker)
  7147.     Floating = true
  7148.     local pchar = speaker.Character
  7149.     if pchar and not pchar:FindFirstChild(floatName) then
  7150.         task.spawn(function()
  7151.             local Float = Instance.new('Part')
  7152.             Float.Name = floatName
  7153.             Float.Parent = pchar
  7154.             Float.Transparency = 1
  7155.             Float.Size = Vector3.new(2,0.2,1.5)
  7156.             Float.Anchored = true
  7157.             local FloatValue = -3.1
  7158.             Float.CFrame = getRoot(pchar).CFrame * CFrame.new(0,FloatValue,0)
  7159.             notify('Float','Float Enabled (Q = down & E = up)')
  7160.             qUp = IYMouse.KeyUp:Connect(function(KEY)
  7161.                 if KEY == 'q' then
  7162.                     FloatValue = FloatValue + 0.5
  7163.                 end
  7164.             end)
  7165.             eUp = IYMouse.KeyUp:Connect(function(KEY)
  7166.                 if KEY == 'e' then
  7167.                     FloatValue = FloatValue - 0.5
  7168.                 end
  7169.             end)
  7170.             qDown = IYMouse.KeyDown:Connect(function(KEY)
  7171.                 if KEY == 'q' then
  7172.                     FloatValue = FloatValue - 0.5
  7173.                 end
  7174.             end)
  7175.             eDown = IYMouse.KeyDown:Connect(function(KEY)
  7176.                 if KEY == 'e' then
  7177.                     FloatValue = FloatValue + 0.5
  7178.                 end
  7179.             end)
  7180.             floatDied = speaker.Character:FindFirstChildOfClass('Humanoid').Died:Connect(function()
  7181.                 FloatingFunc:Disconnect()
  7182.                 Float:Destroy()
  7183.                 qUp:Disconnect()
  7184.                 eUp:Disconnect()
  7185.                 qDown:Disconnect()
  7186.                 eDown:Disconnect()
  7187.                 floatDied:Disconnect()
  7188.             end)
  7189.             local function FloatPadLoop()
  7190.                 if pchar:FindFirstChild(floatName) and getRoot(pchar) then
  7191.                     Float.CFrame = getRoot(pchar).CFrame * CFrame.new(0,FloatValue,0)
  7192.                 else
  7193.                     FloatingFunc:Disconnect()
  7194.                     Float:Destroy()
  7195.                     qUp:Disconnect()
  7196.                     eUp:Disconnect()
  7197.                     qDown:Disconnect()
  7198.                     eDown:Disconnect()
  7199.                     floatDied:Disconnect()
  7200.                 end
  7201.             end        
  7202.             FloatingFunc = RunService.Heartbeat:Connect(FloatPadLoop)
  7203.         end)
  7204.     end
  7205. end)
  7206.  
  7207. addcmd('unfloat',{'nofloat','unplatform','noplatform'},function(args, speaker)
  7208.     Floating = false
  7209.     local pchar = speaker.Character
  7210.     notify('Float','Float Disabled')
  7211.     if pchar:FindFirstChild(floatName) then
  7212.         pchar:FindFirstChild(floatName):Destroy()
  7213.     end
  7214.     if floatDied then
  7215.         FloatingFunc:Disconnect()
  7216.         qUp:Disconnect()
  7217.         eUp:Disconnect()
  7218.         qDown:Disconnect()
  7219.         eDown:Disconnect()
  7220.         floatDied:Disconnect()
  7221.     end
  7222. end)
  7223.  
  7224. addcmd('togglefloat',{},function(args, speaker)
  7225.     if Floating then
  7226.         execCmd('unfloat')
  7227.     else
  7228.         execCmd('float')
  7229.     end
  7230. end)
  7231.  
  7232. swimming = false
  7233. local oldgrav = workspace.Gravity
  7234. local swimbeat = nil
  7235. addcmd('swim',{},function(args, speaker)
  7236.     if not swimming and speaker and speaker.Character and speaker.Character:FindFirstChildWhichIsA("Humanoid") then
  7237.         oldgrav = workspace.Gravity
  7238.         workspace.Gravity = 0
  7239.         local swimDied = function()
  7240.             workspace.Gravity = oldgrav
  7241.             swimming = false
  7242.         end
  7243.         local Humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  7244.         gravReset = Humanoid.Died:Connect(swimDied)
  7245.         local enums = Enum.HumanoidStateType:GetEnumItems()
  7246.         table.remove(enums, table.find(enums, Enum.HumanoidStateType.None))
  7247.         for i, v in pairs(enums) do
  7248.             Humanoid:SetStateEnabled(v, false)
  7249.         end
  7250.         Humanoid:ChangeState(Enum.HumanoidStateType.Swimming)
  7251.         swimbeat = RunService.Heartbeat:Connect(function()
  7252.             pcall(function()
  7253.                 speaker.Character.HumanoidRootPart.Velocity = ((Humanoid.MoveDirection ~= Vector3.new() or UserInputService:IsKeyDown(Enum.KeyCode.Space)) and speaker.Character.HumanoidRootPart.Velocity or Vector3.new())
  7254.             end)
  7255.         end)
  7256.         swimming = true
  7257.     end
  7258. end)
  7259.  
  7260. addcmd('unswim',{'noswim'},function(args, speaker)
  7261.     if speaker and speaker.Character and speaker.Character:FindFirstChildWhichIsA("Humanoid") then
  7262.         workspace.Gravity = oldgrav
  7263.         swimming = false
  7264.         if gravReset then
  7265.             gravReset:Disconnect()
  7266.         end
  7267.         if swimbeat ~= nil then
  7268.             swimbeat:Disconnect()
  7269.             swimbeat = nil
  7270.         end
  7271.         local Humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  7272.         local enums = Enum.HumanoidStateType:GetEnumItems()
  7273.         table.remove(enums, table.find(enums, Enum.HumanoidStateType.None))
  7274.         for i, v in pairs(enums) do
  7275.             Humanoid:SetStateEnabled(v, true)
  7276.         end
  7277.     end
  7278. end)
  7279.  
  7280. addcmd('toggleswim',{},function(args, speaker)
  7281.     if swimming then
  7282.         execCmd('unswim')
  7283.     else
  7284.         execCmd('swim')
  7285.     end
  7286. end)
  7287.  
  7288. addcmd('setwaypoint',{'swp','setwp','spos','saveposition','savepos'},function(args, speaker)
  7289.     local WPName = tostring(getstring(1))
  7290.     if getRoot(speaker.Character) then
  7291.         notify('Modified Waypoints',"Created waypoint: "..getstring(1))
  7292.         local torso = getRoot(speaker.Character)
  7293.         WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}, GAME = PlaceId}
  7294.         if AllWaypoints ~= nil then
  7295.             AllWaypoints[#AllWaypoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}, GAME = PlaceId}
  7296.         end
  7297.     end
  7298.     refreshwaypoints()
  7299.     updatesaves()
  7300. end)
  7301.  
  7302. addcmd('waypointpos',{'wpp','setwaypointposition','setpos','setwaypoint','setwaypointpos'},function(args, speaker)
  7303.     local WPName = tostring(getstring(1))
  7304.     if getRoot(speaker.Character) then
  7305.         notify('Modified Waypoints',"Created waypoint: "..getstring(1))
  7306.         WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {args[2], args[3], args[4]}, GAME = PlaceId}
  7307.         if AllWaypoints ~= nil then
  7308.             AllWaypoints[#AllWaypoints + 1] = {NAME = WPName, COORD = {args[2], args[3], args[4]}, GAME = PlaceId}
  7309.         end
  7310.     end
  7311.     refreshwaypoints()
  7312.     updatesaves()
  7313. end)
  7314.  
  7315. addcmd('waypoints',{'positions'},function(args, speaker)
  7316.     if SettingsOpen == false then SettingsOpen = true
  7317.         Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.5, true, nil)
  7318.         CMDsF.Visible = false
  7319.     end
  7320.     KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  7321.     AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  7322.     PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  7323.     PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  7324.     wait(0.5)
  7325.     SettingsHolder.Visible = false
  7326.     maximizeHolder()
  7327. end)
  7328.  
  7329. waypointParts = {}
  7330. addcmd('showwaypoints',{'showwp','showwps'},function(args, speaker)
  7331.     execCmd('hidewaypoints')
  7332.     wait()
  7333.     for i,_ in pairs(WayPoints) do
  7334.         local x = WayPoints[i].COORD[1]
  7335.         local y = WayPoints[i].COORD[2]
  7336.         local z = WayPoints[i].COORD[3]
  7337.         local part = Instance.new("Part")
  7338.         part.Size = Vector3.new(5,5,5)
  7339.         part.CFrame = CFrame.new(x,y,z)
  7340.         part.Parent = workspace
  7341.         part.Anchored = true
  7342.         part.CanCollide = false
  7343.         table.insert(waypointParts,part)
  7344.         local view = Instance.new("BoxHandleAdornment")
  7345.         view.Adornee = part
  7346.         view.AlwaysOnTop = true
  7347.         view.ZIndex = 10
  7348.         view.Size = part.Size
  7349.         view.Parent = part
  7350.     end
  7351.     for i,v in pairs(pWayPoints) do
  7352.         local view = Instance.new("BoxHandleAdornment")
  7353.         view.Adornee = pWayPoints[i].COORD[1]
  7354.         view.AlwaysOnTop = true
  7355.         view.ZIndex = 10
  7356.         view.Size = pWayPoints[i].COORD[1].Size
  7357.         view.Parent = pWayPoints[i].COORD[1]
  7358.         table.insert(waypointParts,view)
  7359.     end
  7360. end)
  7361.  
  7362. addcmd('hidewaypoints',{'hidewp','hidewps'},function(args, speaker)
  7363.     for i,v in pairs(waypointParts) do
  7364.         v:Destroy()
  7365.     end
  7366.     waypointParts = {}
  7367. end)
  7368.  
  7369. addcmd('waypoint',{'wp','lpos','loadposition','loadpos'},function(args, speaker)
  7370.     local WPName = tostring(getstring(1))
  7371.     if speaker.Character then
  7372.         for i,_ in pairs(WayPoints) do
  7373.             if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7374.                 local x = WayPoints[i].COORD[1]
  7375.                 local y = WayPoints[i].COORD[2]
  7376.                 local z = WayPoints[i].COORD[3]
  7377.                 getRoot(speaker.Character).CFrame = CFrame.new(x,y,z)
  7378.             end
  7379.         end
  7380.         for i,_ in pairs(pWayPoints) do
  7381.             if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7382.                 getRoot(speaker.Character).CFrame = CFrame.new(pWayPoints[i].COORD[1].Position)
  7383.             end
  7384.         end
  7385.     end
  7386. end)
  7387.  
  7388. tweenSpeed = 1
  7389. addcmd('tweenspeed',{'tspeed'},function(args, speaker)
  7390.     local newSpeed = args[1] or 1
  7391.     if tonumber(newSpeed) then
  7392.         tweenSpeed = tonumber(newSpeed)
  7393.     end
  7394. end)
  7395.  
  7396. addcmd('tweenwaypoint',{'twp'},function(args, speaker)
  7397.     local WPName = tostring(getstring(1))
  7398.     if speaker.Character then
  7399.         for i,_ in pairs(WayPoints) do
  7400.             local x = WayPoints[i].COORD[1]
  7401.             local y = WayPoints[i].COORD[2]
  7402.             local z = WayPoints[i].COORD[3]
  7403.             if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7404.                 TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(x,y,z)}):Play()
  7405.             end
  7406.         end
  7407.         for i,_ in pairs(pWayPoints) do
  7408.             if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7409.                 TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(pWayPoints[i].COORD[1].Position)}):Play()
  7410.             end
  7411.         end
  7412.     end
  7413. end)
  7414.  
  7415. addcmd('walktowaypoint',{'wtwp'},function(args, speaker)
  7416.     local WPName = tostring(getstring(1))
  7417.     if speaker.Character then
  7418.         for i,_ in pairs(WayPoints) do
  7419.             local x = WayPoints[i].COORD[1]
  7420.             local y = WayPoints[i].COORD[2]
  7421.             local z = WayPoints[i].COORD[3]
  7422.             if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7423.                 if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  7424.                     speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  7425.                     wait(.1)
  7426.                 end
  7427.                 speaker.Character:FindFirstChildOfClass('Humanoid').WalkToPoint = Vector3.new(x,y,z)
  7428.             end
  7429.         end
  7430.         for i,_ in pairs(pWayPoints) do
  7431.             if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7432.                 if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  7433.                     speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  7434.                     wait(.1)
  7435.                 end
  7436.                 speaker.Character:FindFirstChildOfClass('Humanoid').WalkToPoint = Vector3.new(pWayPoints[i].COORD[1].Position)
  7437.             end
  7438.         end
  7439.     end
  7440. end)
  7441.  
  7442. addcmd('deletewaypoint',{'dwp','dpos','deleteposition','deletepos'},function(args, speaker)
  7443.     for i,v in pairs(WayPoints) do
  7444.         if v.NAME:lower() == tostring(getstring(1)):lower() then
  7445.             notify('Modified Waypoints',"Deleted waypoint: " .. v.NAME)
  7446.             table.remove(WayPoints, i)
  7447.         end
  7448.     end
  7449.     if AllWaypoints ~= nil and #AllWaypoints > 0 then
  7450.         for i,v in pairs(AllWaypoints) do
  7451.             if v.NAME:lower() == tostring(getstring(1)):lower() then
  7452.                 if not v.GAME or v.GAME == PlaceId then
  7453.                     table.remove(AllWaypoints, i)
  7454.                 end
  7455.             end
  7456.         end
  7457.     end
  7458.     for i,v in pairs(pWayPoints) do
  7459.         if v.NAME:lower() == tostring(getstring(1)):lower() then
  7460.             notify('Modified Waypoints',"Deleted waypoint: " .. v.NAME)
  7461.             table.remove(pWayPoints, i)
  7462.         end
  7463.     end
  7464.     refreshwaypoints()
  7465.     updatesaves()
  7466. end)
  7467.  
  7468. addcmd('clearwaypoints',{'cwp','clearpositions','cpos','clearpos'},function(args, speaker)
  7469.     WayPoints = {}
  7470.     pWayPoints = {}
  7471.     refreshwaypoints()
  7472.     updatesaves()
  7473.     AllWaypoints = {}
  7474.     notify('Modified Waypoints','Removed all waypoints')
  7475. end)
  7476.  
  7477. addcmd('cleargamewaypoints',{'cgamewp'},function(args, speaker)
  7478.     for i,v in pairs(WayPoints) do
  7479.         if v.GAME == PlaceId then
  7480.             table.remove(WayPoints, i)
  7481.         end
  7482.     end
  7483.     if AllWaypoints ~= nil and #AllWaypoints > 0 then
  7484.         for i,v in pairs(AllWaypoints) do
  7485.             if v.GAME == PlaceId then
  7486.                 table.remove(AllWaypoints, i)
  7487.             end
  7488.         end
  7489.     end
  7490.     for i,v in pairs(pWayPoints) do
  7491.         if v.GAME == PlaceId then
  7492.             table.remove(pWayPoints, i)
  7493.         end
  7494.     end
  7495.     refreshwaypoints()
  7496.     updatesaves()
  7497.     notify('Modified Waypoints','Deleted game waypoints')
  7498. end)
  7499.  
  7500.  
  7501. local coreGuiTypeNames = {
  7502.     -- predefined aliases
  7503.     ["inventory"] = Enum.CoreGuiType.Backpack,
  7504.     ["leaderboard"] = Enum.CoreGuiType.PlayerList,
  7505.     ["emotes"] = Enum.CoreGuiType.EmotesMenu
  7506. }
  7507.  
  7508. -- Load the full list of enums
  7509. for _, enumItem in ipairs(Enum.CoreGuiType:GetEnumItems()) do
  7510.     coreGuiTypeNames[enumItem.Name:lower()] = enumItem
  7511. end
  7512.  
  7513. addcmd('enable',{},function(args, speaker)
  7514.     local input = args[1] and args[1]:lower()
  7515.     if input then
  7516.         if input == "reset" then
  7517.             StarterGui:SetCore("ResetButtonCallback", true)
  7518.         else
  7519.             local coreGuiType = coreGuiTypeNames[input]
  7520.             if coreGuiType then
  7521.                 StarterGui:SetCoreGuiEnabled(coreGuiType, true)
  7522.             end
  7523.         end
  7524.     end
  7525. end)
  7526.  
  7527. addcmd('disable',{},function(args, speaker)
  7528.     local input = args[1] and args[1]:lower()
  7529.     if input then
  7530.         if input == "reset" then
  7531.             StarterGui:SetCore("ResetButtonCallback", false)
  7532.         else
  7533.             local coreGuiType = coreGuiTypeNames[input]
  7534.             if coreGuiType then
  7535.                 StarterGui:SetCoreGuiEnabled(coreGuiType, false)
  7536.             end
  7537.         end
  7538.     end
  7539. end)
  7540.  
  7541.  
  7542. local invisGUIS = {}
  7543. addcmd('showguis',{},function(args, speaker)
  7544.     for i,v in pairs(speaker:FindFirstChildWhichIsA("PlayerGui"):GetDescendants()) do
  7545.         if (v:IsA("Frame") or v:IsA("ImageLabel") or v:IsA("ScrollingFrame")) and not v.Visible then
  7546.             v.Visible = true
  7547.             if not FindInTable(invisGUIS,v) then
  7548.                 table.insert(invisGUIS,v)
  7549.             end
  7550.         end
  7551.     end
  7552. end)
  7553.  
  7554. addcmd('unshowguis',{},function(args, speaker)
  7555.     for i,v in pairs(invisGUIS) do
  7556.         v.Visible = false
  7557.     end
  7558.     invisGUIS = {}
  7559. end)
  7560.  
  7561. local hiddenGUIS = {}
  7562. addcmd('hideguis',{},function(args, speaker)
  7563.     for i,v in pairs(speaker:FindFirstChildWhichIsA("PlayerGui"):GetDescendants()) do
  7564.         if (v:IsA("Frame") or v:IsA("ImageLabel") or v:IsA("ScrollingFrame")) and v.Visible then
  7565.             v.Visible = false
  7566.             if not FindInTable(hiddenGUIS,v) then
  7567.                 table.insert(hiddenGUIS,v)
  7568.             end
  7569.         end
  7570.     end
  7571. end)
  7572.  
  7573. addcmd('unhideguis',{},function(args, speaker)
  7574.     for i,v in pairs(hiddenGUIS) do
  7575.         v.Visible = true
  7576.     end
  7577.     hiddenGUIS = {}
  7578. end)
  7579.  
  7580. function deleteGuisAtPos()
  7581.     pcall(function()
  7582.         local guisAtPosition = Players.LocalPlayer.PlayerGui:GetGuiObjectsAtPosition(IYMouse.X, IYMouse.Y)
  7583.         for _, gui in pairs(guisAtPosition) do
  7584.             if gui.Visible == true then
  7585.                 gui:Destroy()
  7586.             end
  7587.         end
  7588.     end)
  7589. end
  7590.  
  7591. local deleteGuiInput
  7592. addcmd('guidelete',{},function(args, speaker)
  7593.     deleteGuiInput = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  7594.         if not gameProcessedEvent then
  7595.             if input.KeyCode == Enum.KeyCode.Backspace then
  7596.                 deleteGuisAtPos()
  7597.             end
  7598.         end
  7599.     end)
  7600.     notify('GUI Delete Enabled','Hover over a GUI and press backspace to delete it')
  7601. end)
  7602.  
  7603. addcmd('unguidelete',{'noguidelete'},function(args, speaker)
  7604.     if deleteGuiInput then deleteGuiInput:Disconnect() end
  7605.     notify('GUI Delete Disabled','GUI backspace delete has been disabled')
  7606. end)
  7607.  
  7608. local wasStayOpen = StayOpen
  7609. addcmd('hideiy',{},function(args, speaker)
  7610.     isHidden = true
  7611.     wasStayOpen = StayOpen
  7612.     if StayOpen == true then
  7613.         StayOpen = false
  7614.         On.BackgroundTransparency = 1
  7615.     end
  7616.     minimizeNum = 0
  7617.     minimizeHolder()
  7618.     if not (args[1] and tostring(args[1]) == 'nonotify') then notify('IY Hidden','You can press the prefix key to access the command bar') end
  7619. end)
  7620.  
  7621. addcmd('showiy',{'unhideiy'},function(args, speaker)
  7622.     isHidden = false
  7623.     minimizeNum = -20
  7624.     if wasStayOpen then
  7625.         maximizeHolder()
  7626.         StayOpen = true
  7627.         On.BackgroundTransparency = 0
  7628.     else
  7629.         minimizeHolder()
  7630.     end
  7631. end)
  7632.  
  7633. addcmd('rec', {'record'}, function(args, speaker)
  7634.     return COREGUI:ToggleRecording()
  7635. end)
  7636.  
  7637. addcmd('screenshot', {'scrnshot'}, function(args, speaker)
  7638.     return COREGUI:TakeScreenshot()
  7639. end)
  7640.  
  7641. addcmd('togglefs', {'togglefullscreen'}, function(args, speaker)
  7642.     return GuiService:ToggleFullscreen()
  7643. end)
  7644.  
  7645. addcmd('inspect', {'examine'}, function(args, speaker)
  7646.     for _, v in ipairs(getPlayer(args[1], speaker)) do
  7647.         GuiService:CloseInspectMenu()
  7648.         GuiService:InspectPlayerFromUserId(Players[v].UserId)
  7649.     end
  7650. end)
  7651.  
  7652. addcmd("savegame", {"saveplace"}, function(args, speaker)
  7653.     if saveinstance then
  7654.         notify("Loading", "Downloading game. This will take a while")
  7655.         saveinstance()
  7656.         notify("Game Saved", "Saved place to the workspace folder within your exploit folder.")
  7657.     else
  7658.         notify("Incompatible Exploit", "Your exploit does not support this command (missing saveinstance)")
  7659.     end
  7660. end)
  7661.  
  7662. addcmd('clearerror',{'clearerrors'},function(args, speaker)
  7663.     GuiService:ClearError()
  7664. end)
  7665.  
  7666. addcmd('clientantikick',{'antikick'},function(args, speaker)
  7667.     if not hookmetamethod then
  7668.         return notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)')
  7669.     end
  7670.     local LocalPlayer = Players.LocalPlayer
  7671.     local oldhmmi
  7672.     local oldhmmnc
  7673.     oldhmmi = hookmetamethod(game, "__index", function(self, method)
  7674.         if self == LocalPlayer and method:lower() == "kick" then
  7675.             return error("Expected ':' not '.' calling member function Kick", 2)
  7676.         end
  7677.         return oldhmmi(self, method)
  7678.     end)
  7679.     oldhmmnc = hookmetamethod(game, "__namecall", function(self, ...)
  7680.         if self == LocalPlayer and getnamecallmethod():lower() == "kick" then
  7681.             return
  7682.         end
  7683.         return oldhmmnc(self, ...)
  7684.     end)
  7685.  
  7686.     notify('Client Antikick','Client anti kick is now active (only effective on localscript kick)')
  7687. end)
  7688.  
  7689. allow_rj = true
  7690. addcmd('clientantiteleport',{'antiteleport'},function(args, speaker)
  7691.     if not hookmetamethod then
  7692.         return notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)')
  7693.     end
  7694.     local TeleportService = TeleportService
  7695.     local oldhmmi
  7696.     local oldhmmnc
  7697.     oldhmmi = hookmetamethod(game, "__index", function(self, method)
  7698.         if self == TeleportService then
  7699.             if method:lower() == "teleport" then
  7700.                 return error("Expected ':' not '.' calling member function Kick", 2)
  7701.             elseif method == "TeleportToPlaceInstance" then
  7702.                 return error("Expected ':' not '.' calling member function TeleportToPlaceInstance", 2)
  7703.             end
  7704.         end
  7705.         return oldhmmi(self, method)
  7706.     end)
  7707.     oldhmmnc = hookmetamethod(game, "__namecall", function(self, ...)
  7708.         if self == TeleportService and getnamecallmethod():lower() == "teleport" or getnamecallmethod() == "TeleportToPlaceInstance" then
  7709.             return
  7710.         end
  7711.         return oldhmmnc(self, ...)
  7712.     end)
  7713.  
  7714.     notify('Client AntiTP','Client anti teleport is now active (only effective on localscript teleport)')
  7715. end)
  7716.  
  7717. addcmd('allowrejoin',{'allowrj'},function(args, speaker)
  7718.     if args[1] and args[1] == 'false' then
  7719.         allow_rj = false
  7720.         notify('Client AntiTP','Allow rejoin set to false')
  7721.     else
  7722.         allow_rj = true
  7723.         notify('Client AntiTP','Allow rejoin set to true')
  7724.     end
  7725. end)
  7726.  
  7727. addcmd('cancelteleport',{'canceltp'},function(args, speaker)
  7728.     TeleportService:TeleportCancel()
  7729. end)
  7730.  
  7731. addcmd('volume',{'vol'},function(args, speaker)
  7732.     local level = args[1]/10
  7733.     UserSettings():GetService("UserGameSettings").MasterVolume = level
  7734. end)
  7735.  
  7736. addcmd('antilag',{'boostfps','lowgraphics'},function(args, speaker)
  7737.     local Terrain = workspace:FindFirstChildOfClass('Terrain')
  7738.     Terrain.WaterWaveSize = 0
  7739.     Terrain.WaterWaveSpeed = 0
  7740.     Terrain.WaterReflectance = 0
  7741.     Terrain.WaterTransparency = 0
  7742.     Lighting.GlobalShadows = false
  7743.     Lighting.FogEnd = 9e9
  7744.     settings().Rendering.QualityLevel = 1
  7745.     for i,v in pairs(game:GetDescendants()) do
  7746.         if v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("MeshPart") or v:IsA("CornerWedgePart") or v:IsA("TrussPart") then
  7747.             v.Material = "Plastic"
  7748.             v.Reflectance = 0
  7749.         elseif v:IsA("Decal") then
  7750.             v.Transparency = 1
  7751.         elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  7752.             v.Lifetime = NumberRange.new(0)
  7753.         elseif v:IsA("Explosion") then
  7754.             v.BlastPressure = 1
  7755.             v.BlastRadius = 1
  7756.         end
  7757.     end
  7758.     for i,v in pairs(Lighting:GetDescendants()) do
  7759.         if v:IsA("BlurEffect") or v:IsA("SunRaysEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("BloomEffect") or v:IsA("DepthOfFieldEffect") then
  7760.             v.Enabled = false
  7761.         end
  7762.     end
  7763.     workspace.DescendantAdded:Connect(function(child)
  7764.         task.spawn(function()
  7765.             if child:IsA('ForceField') then
  7766.                 RunService.Heartbeat:Wait()
  7767.                 child:Destroy()
  7768.             elseif child:IsA('Sparkles') then
  7769.                 RunService.Heartbeat:Wait()
  7770.                 child:Destroy()
  7771.             elseif child:IsA('Smoke') or child:IsA('Fire') then
  7772.                 RunService.Heartbeat:Wait()
  7773.                 child:Destroy()
  7774.             end
  7775.         end)
  7776.     end)
  7777. end)
  7778.  
  7779. addcmd('setfpscap', {'fpscap', 'maxfps'}, function(args, speaker)
  7780.     if setfpscap and type(setfpscap) == "function" then
  7781.         local num = args[1] or 1e6
  7782.         if num == 'none' then
  7783.             return setfpscap(1e6)
  7784.         elseif num > 0 then
  7785.             return setfpscap(num)
  7786.         else
  7787.             return notify('Invalid argument', "Please provide a number above 0 or 'none'.")
  7788.         end
  7789.     else
  7790.         return notify('Incompatible Exploit', 'Your exploit does not support this command (missing setfpscap)')
  7791.     end
  7792. end)
  7793.  
  7794. addcmd('notify',{},function(args, speaker)
  7795.     notify(getstring(1))
  7796. end)
  7797.  
  7798. addcmd('lastcommand',{'lastcmd'},function(args, speaker)
  7799.     if cmdHistory[1]:sub(1,11) ~= 'lastcommand' and cmdHistory[1]:sub(1,7) ~= 'lastcmd' then
  7800.         execCmd(cmdHistory[1])
  7801.     end
  7802. end)
  7803.  
  7804. addcmd('esp',{},function(args, speaker)
  7805.     if not CHMSenabled then
  7806.         ESPenabled = true
  7807.         for i,v in pairs(Players:GetPlayers()) do
  7808.             if v.Name ~= speaker.Name then
  7809.                 ESP(v)
  7810.             end
  7811.         end
  7812.     else
  7813.         notify('ESP','Disable chams (nochams) before using esp')
  7814.     end
  7815. end)
  7816.  
  7817. addcmd('noesp',{'unesp'},function(args, speaker)
  7818.     ESPenabled = false
  7819.     for i,c in pairs(COREGUI:GetChildren()) do
  7820.         if string.sub(c.Name, -4) == '_ESP' then
  7821.             c:Destroy()
  7822.         end
  7823.     end
  7824. end)
  7825.  
  7826. addcmd('esptransparency',{},function(args, speaker)
  7827.     espTransparency = (args[1] and isNumber(args[1]) and args[1]) or 0.3
  7828.     updatesaves()
  7829. end)
  7830.  
  7831. local espParts = {}
  7832. local partEspTrigger = nil
  7833. function partAdded(part)
  7834.     if #espParts > 0 then
  7835.         if FindInTable(espParts,part.Name:lower()) then
  7836.             local a = Instance.new("BoxHandleAdornment")
  7837.             a.Name = part.Name:lower().."_PESP"
  7838.             a.Parent = part
  7839.             a.Adornee = part
  7840.             a.AlwaysOnTop = true
  7841.             a.ZIndex = 0
  7842.             a.Size = part.Size
  7843.             a.Transparency = espTransparency
  7844.             a.Color = BrickColor.new("Lime green")
  7845.         end
  7846.     else
  7847.         partEspTrigger:Disconnect()
  7848.         partEspTrigger = nil
  7849.     end
  7850. end
  7851.  
  7852. addcmd('partesp',{},function(args, speaker)
  7853.     local partEspName = getstring(1):lower()
  7854.     if not FindInTable(espParts,partEspName) then
  7855.         table.insert(espParts,partEspName)
  7856.         for i,v in pairs(workspace:GetDescendants()) do
  7857.             if v:IsA("BasePart") and v.Name:lower() == partEspName then
  7858.                 local a = Instance.new("BoxHandleAdornment")
  7859.                 a.Name = partEspName.."_PESP"
  7860.                 a.Parent = v
  7861.                 a.Adornee = v
  7862.                 a.AlwaysOnTop = true
  7863.                 a.ZIndex = 0
  7864.                 a.Size = v.Size
  7865.                 a.Transparency = espTransparency
  7866.                 a.Color = BrickColor.new("Lime green")
  7867.             end
  7868.         end
  7869.     end
  7870.     if partEspTrigger == nil then
  7871.         partEspTrigger = workspace.DescendantAdded:Connect(partAdded)
  7872.     end
  7873. end)
  7874.  
  7875. addcmd('unpartesp',{'nopartesp'},function(args, speaker)
  7876.     if args[1] then
  7877.         local partEspName = getstring(1):lower()
  7878.         if FindInTable(espParts,partEspName) then
  7879.             table.remove(espParts, GetInTable(espParts, partEspName))
  7880.         end
  7881.         for i,v in pairs(workspace:GetDescendants()) do
  7882.             if v:IsA("BoxHandleAdornment") and v.Name == partEspName..'_PESP' then
  7883.                 v:Destroy()
  7884.             end
  7885.         end
  7886.     else
  7887.         partEspTrigger:Disconnect()
  7888.         partEspTrigger = nil
  7889.         espParts = {}
  7890.         for i,v in pairs(workspace:GetDescendants()) do
  7891.             if v:IsA("BoxHandleAdornment") and v.Name:sub(-5) == '_PESP' then
  7892.                 v:Destroy()
  7893.             end
  7894.         end
  7895.     end
  7896. end)
  7897.  
  7898. addcmd('chams',{},function(args, speaker)
  7899.     if not ESPenabled then
  7900.         CHMSenabled = true
  7901.         for i,v in pairs(Players:GetPlayers()) do
  7902.             if v.Name ~= speaker.Name then
  7903.                 CHMS(v)
  7904.             end
  7905.         end
  7906.     else
  7907.         notify('Chams','Disable ESP (noesp) before using chams')
  7908.     end
  7909. end)
  7910.  
  7911. addcmd('nochams',{'unchams'},function(args, speaker)
  7912.     CHMSenabled = false
  7913.     for i,v in pairs(Players:GetPlayers()) do
  7914.         local chmsplr = v
  7915.         for i,c in pairs(COREGUI:GetChildren()) do
  7916.             if c.Name == chmsplr.Name..'_CHMS' then
  7917.                 c:Destroy()
  7918.             end
  7919.         end
  7920.     end
  7921. end)
  7922.  
  7923. addcmd('locate',{},function(args, speaker)
  7924.     local players = getPlayer(args[1], speaker)
  7925.     for i,v in pairs(players) do
  7926.         Locate(Players[v])
  7927.     end
  7928. end)
  7929.  
  7930. addcmd('nolocate',{'unlocate'},function(args, speaker)
  7931.     local players = getPlayer(args[1], speaker)
  7932.     if args[1] then
  7933.         for i,v in pairs(players) do
  7934.             for i,c in pairs(COREGUI:GetChildren()) do
  7935.                 if c.Name == Players[v].Name..'_LC' then
  7936.                     c:Destroy()
  7937.                 end
  7938.             end
  7939.         end
  7940.     else
  7941.         for i,c in pairs(COREGUI:GetChildren()) do
  7942.             if string.sub(c.Name, -3) == '_LC' then
  7943.                 c:Destroy()
  7944.             end
  7945.         end
  7946.     end
  7947. end)
  7948.  
  7949. viewing = nil
  7950. addcmd('view',{'spectate'},function(args, speaker)
  7951.     StopFreecam()
  7952.     local players = getPlayer(args[1], speaker)
  7953.     for i,v in pairs(players) do
  7954.         if viewDied then
  7955.             viewDied:Disconnect()
  7956.             viewChanged:Disconnect()
  7957.         end
  7958.         viewing = Players[v]
  7959.         workspace.CurrentCamera.CameraSubject = viewing.Character
  7960.         notify('Spectate','Viewing ' .. Players[v].Name)
  7961.         local function viewDiedFunc()
  7962.             repeat wait() until Players[v].Character ~= nil and getRoot(Players[v].Character)
  7963.             workspace.CurrentCamera.CameraSubject = viewing.Character
  7964.         end
  7965.         viewDied = Players[v].CharacterAdded:Connect(viewDiedFunc)
  7966.         local function viewChangedFunc()
  7967.             workspace.CurrentCamera.CameraSubject = viewing.Character
  7968.         end
  7969.         viewChanged = workspace.CurrentCamera:GetPropertyChangedSignal("CameraSubject"):Connect(viewChangedFunc)
  7970.     end
  7971. end)
  7972.  
  7973. addcmd('viewpart',{'viewp'},function(args, speaker)
  7974.     StopFreecam()
  7975.     if args[1] then
  7976.         for i,v in pairs(workspace:GetDescendants()) do
  7977.             if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  7978.                 wait(0.1)
  7979.                 workspace.CurrentCamera.CameraSubject = v
  7980.             end
  7981.         end
  7982.     end
  7983. end)
  7984.  
  7985. addcmd('unview',{'unspectate'},function(args, speaker)
  7986.     StopFreecam()
  7987.     if viewing ~= nil then
  7988.         viewing = nil
  7989.         notify('Spectate','View turned off')
  7990.     end
  7991.     if viewDied then
  7992.         viewDied:Disconnect()
  7993.         viewChanged:Disconnect()
  7994.     end
  7995.     workspace.CurrentCamera.CameraSubject = speaker.Character
  7996. end)
  7997.  
  7998.  
  7999. fcRunning = false
  8000. local Camera = workspace.CurrentCamera
  8001. workspace:GetPropertyChangedSignal("CurrentCamera"):Connect(function()
  8002.     local newCamera = workspace.CurrentCamera
  8003.     if newCamera then
  8004.         Camera = newCamera
  8005.     end
  8006. end)
  8007.  
  8008. local INPUT_PRIORITY = Enum.ContextActionPriority.High.Value
  8009.  
  8010. Spring = {} do
  8011.     Spring.__index = Spring
  8012.  
  8013.     function Spring.new(freq, pos)
  8014.         local self = setmetatable({}, Spring)
  8015.         self.f = freq
  8016.         self.p = pos
  8017.         self.v = pos*0
  8018.         return self
  8019.     end
  8020.  
  8021.     function Spring:Update(dt, goal)
  8022.         local f = self.f*2*math.pi
  8023.         local p0 = self.p
  8024.         local v0 = self.v
  8025.  
  8026.         local offset = goal - p0
  8027.         local decay = math.exp(-f*dt)
  8028.  
  8029.         local p1 = goal + (v0*dt - offset*(f*dt + 1))*decay
  8030.         local v1 = (f*dt*(offset*f - v0) + v0)*decay
  8031.  
  8032.         self.p = p1
  8033.         self.v = v1
  8034.  
  8035.         return p1
  8036.     end
  8037.  
  8038.     function Spring:Reset(pos)
  8039.         self.p = pos
  8040.         self.v = pos*0
  8041.     end
  8042. end
  8043.  
  8044. local cameraPos = Vector3.new()
  8045. local cameraRot = Vector2.new()
  8046.  
  8047. local velSpring = Spring.new(5, Vector3.new())
  8048. local panSpring = Spring.new(5, Vector2.new())
  8049.  
  8050. Input = {} do
  8051.  
  8052.     keyboard = {
  8053.         W = 0,
  8054.         A = 0,
  8055.         S = 0,
  8056.         D = 0,
  8057.         E = 0,
  8058.         Q = 0,
  8059.         Up = 0,
  8060.         Down = 0,
  8061.         LeftShift = 0,
  8062.     }
  8063.  
  8064.     mouse = {
  8065.         Delta = Vector2.new(),
  8066.     }
  8067.  
  8068.     NAV_KEYBOARD_SPEED = Vector3.new(1, 1, 1)
  8069.     PAN_MOUSE_SPEED = Vector2.new(1, 1)*(math.pi/64)
  8070.     NAV_ADJ_SPEED = 0.75
  8071.     NAV_SHIFT_MUL = 0.25
  8072.  
  8073.     navSpeed = 1
  8074.  
  8075.     function Input.Vel(dt)
  8076.         navSpeed = math.clamp(navSpeed + dt*(keyboard.Up - keyboard.Down)*NAV_ADJ_SPEED, 0.01, 4)
  8077.  
  8078.         local kKeyboard = Vector3.new(
  8079.             keyboard.D - keyboard.A,
  8080.             keyboard.E - keyboard.Q,
  8081.             keyboard.S - keyboard.W
  8082.         )*NAV_KEYBOARD_SPEED
  8083.  
  8084.         local shift = UserInputService:IsKeyDown(Enum.KeyCode.LeftShift)
  8085.  
  8086.         return (kKeyboard)*(navSpeed*(shift and NAV_SHIFT_MUL or 1))
  8087.     end
  8088.  
  8089.     function Input.Pan(dt)
  8090.         local kMouse = mouse.Delta*PAN_MOUSE_SPEED
  8091.         mouse.Delta = Vector2.new()
  8092.         return kMouse
  8093.     end
  8094.  
  8095.     do
  8096.         function Keypress(action, state, input)
  8097.             keyboard[input.KeyCode.Name] = state == Enum.UserInputState.Begin and 1 or 0
  8098.             return Enum.ContextActionResult.Sink
  8099.         end
  8100.  
  8101.         function MousePan(action, state, input)
  8102.             local delta = input.Delta
  8103.             mouse.Delta = Vector2.new(-delta.y, -delta.x)
  8104.             return Enum.ContextActionResult.Sink
  8105.         end
  8106.  
  8107.         function Zero(t)
  8108.             for k, v in pairs(t) do
  8109.                 t[k] = v*0
  8110.             end
  8111.         end
  8112.  
  8113.         function Input.StartCapture()
  8114.             ContextActionService:BindActionAtPriority("FreecamKeyboard",Keypress,false,INPUT_PRIORITY,
  8115.                 Enum.KeyCode.W,
  8116.                 Enum.KeyCode.A,
  8117.                 Enum.KeyCode.S,
  8118.                 Enum.KeyCode.D,
  8119.                 Enum.KeyCode.E,
  8120.                 Enum.KeyCode.Q,
  8121.                 Enum.KeyCode.Up,
  8122.                 Enum.KeyCode.Down
  8123.             )
  8124.             ContextActionService:BindActionAtPriority("FreecamMousePan",MousePan,false,INPUT_PRIORITY,Enum.UserInputType.MouseMovement)
  8125.         end
  8126.  
  8127.         function Input.StopCapture()
  8128.             navSpeed = 1
  8129.             Zero(keyboard)
  8130.             Zero(mouse)
  8131.             ContextActionService:UnbindAction("FreecamKeyboard")
  8132.             ContextActionService:UnbindAction("FreecamMousePan")
  8133.         end
  8134.     end
  8135. end
  8136.  
  8137. function GetFocusDistance(cameraFrame)
  8138.     local znear = 0.1
  8139.     local viewport = Camera.ViewportSize
  8140.     local projy = 2*math.tan(cameraFov/2)
  8141.     local projx = viewport.x/viewport.y*projy
  8142.     local fx = cameraFrame.rightVector
  8143.     local fy = cameraFrame.upVector
  8144.     local fz = cameraFrame.lookVector
  8145.  
  8146.     local minVect = Vector3.new()
  8147.     local minDist = 512
  8148.  
  8149.     for x = 0, 1, 0.5 do
  8150.         for y = 0, 1, 0.5 do
  8151.             local cx = (x - 0.5)*projx
  8152.             local cy = (y - 0.5)*projy
  8153.             local offset = fx*cx - fy*cy + fz
  8154.             local origin = cameraFrame.p + offset*znear
  8155.             local _, hit = workspace:FindPartOnRay(Ray.new(origin, offset.unit*minDist))
  8156.             local dist = (hit - origin).magnitude
  8157.             if minDist > dist then
  8158.                 minDist = dist
  8159.                 minVect = offset.unit
  8160.             end
  8161.         end
  8162.     end
  8163.  
  8164.     return fz:Dot(minVect)*minDist
  8165. end
  8166.  
  8167. local function StepFreecam(dt)
  8168.     local vel = velSpring:Update(dt, Input.Vel(dt))
  8169.     local pan = panSpring:Update(dt, Input.Pan(dt))
  8170.  
  8171.     local zoomFactor = math.sqrt(math.tan(math.rad(70/2))/math.tan(math.rad(cameraFov/2)))
  8172.  
  8173.     cameraRot = cameraRot + pan*Vector2.new(0.75, 1)*8*(dt/zoomFactor)
  8174.     cameraRot = Vector2.new(math.clamp(cameraRot.x, -math.rad(90), math.rad(90)), cameraRot.y%(2*math.pi))
  8175.  
  8176.     local cameraCFrame = CFrame.new(cameraPos)*CFrame.fromOrientation(cameraRot.x, cameraRot.y, 0)*CFrame.new(vel*Vector3.new(1, 1, 1)*64*dt)
  8177.     cameraPos = cameraCFrame.p
  8178.  
  8179.     Camera.CFrame = cameraCFrame
  8180.     Camera.Focus = cameraCFrame*CFrame.new(0, 0, -GetFocusDistance(cameraCFrame))
  8181.     Camera.FieldOfView = cameraFov
  8182. end
  8183.  
  8184. local PlayerState = {} do
  8185.     mouseBehavior = ""
  8186.     mouseIconEnabled = ""
  8187.     cameraType = ""
  8188.     cameraFocus = ""
  8189.     cameraCFrame = ""
  8190.     cameraFieldOfView = ""
  8191.  
  8192.     function PlayerState.Push()
  8193.         cameraFieldOfView = Camera.FieldOfView
  8194.         Camera.FieldOfView = 70
  8195.  
  8196.         cameraType = Camera.CameraType
  8197.         Camera.CameraType = Enum.CameraType.Custom
  8198.  
  8199.         cameraCFrame = Camera.CFrame
  8200.         cameraFocus = Camera.Focus
  8201.  
  8202.         mouseIconEnabled = UserInputService.MouseIconEnabled
  8203.         UserInputService.MouseIconEnabled = true
  8204.  
  8205.         mouseBehavior = UserInputService.MouseBehavior
  8206.         UserInputService.MouseBehavior = Enum.MouseBehavior.Default
  8207.     end
  8208.  
  8209.     function PlayerState.Pop()
  8210.         Camera.FieldOfView = 70
  8211.  
  8212.         Camera.CameraType = cameraType
  8213.         cameraType = nil
  8214.  
  8215.         Camera.CFrame = cameraCFrame
  8216.         cameraCFrame = nil
  8217.  
  8218.         Camera.Focus = cameraFocus
  8219.         cameraFocus = nil
  8220.  
  8221.         UserInputService.MouseIconEnabled = mouseIconEnabled
  8222.         mouseIconEnabled = nil
  8223.  
  8224.         UserInputService.MouseBehavior = mouseBehavior
  8225.         mouseBehavior = nil
  8226.     end
  8227. end
  8228.  
  8229. function StartFreecam(pos)
  8230.     if fcRunning then
  8231.         StopFreecam()
  8232.     end
  8233.     local cameraCFrame = Camera.CFrame
  8234.     if pos then
  8235.         cameraCFrame = pos
  8236.     end
  8237.     cameraRot = Vector2.new()
  8238.     cameraPos = cameraCFrame.p
  8239.     cameraFov = Camera.FieldOfView
  8240.  
  8241.     velSpring:Reset(Vector3.new())
  8242.     panSpring:Reset(Vector2.new())
  8243.  
  8244.     PlayerState.Push()
  8245.     RunService:BindToRenderStep("Freecam", Enum.RenderPriority.Camera.Value, StepFreecam)
  8246.     Input.StartCapture()
  8247.     fcRunning = true
  8248. end
  8249.  
  8250. function StopFreecam()
  8251.     if not fcRunning then return end
  8252.     Input.StopCapture()
  8253.     RunService:UnbindFromRenderStep("Freecam")
  8254.     PlayerState.Pop()
  8255.     workspace.Camera.FieldOfView = 70
  8256.     fcRunning = false
  8257. end
  8258.  
  8259. addcmd('freecam',{'fc'},function(args, speaker)
  8260.     StartFreecam()
  8261. end)
  8262.  
  8263. addcmd('freecampos',{'fcpos','fcp','freecamposition','fcposition'},function(args, speaker)
  8264.     if not args[1] then return end
  8265.     local freecamPos = CFrame.new(args[1],args[2],args[3])
  8266.     StartFreecam(freecamPos)
  8267. end)
  8268.  
  8269. addcmd('freecamwaypoint',{'fcwp'},function(args, speaker)
  8270.     local WPName = tostring(getstring(1))
  8271.     if speaker.Character then
  8272.         for i,_ in pairs(WayPoints) do
  8273.             local x = WayPoints[i].COORD[1]
  8274.             local y = WayPoints[i].COORD[2]
  8275.             local z = WayPoints[i].COORD[3]
  8276.             if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8277.                 StartFreecam(CFrame.new(x,y,z))
  8278.             end
  8279.         end
  8280.         for i,_ in pairs(pWayPoints) do
  8281.             if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8282.                 StartFreecam(CFrame.new(pWayPoints[i].COORD[1].Position))
  8283.             end
  8284.         end
  8285.     end
  8286. end)
  8287.  
  8288. addcmd('freecamgoto',{'fcgoto','freecamtp','fctp'},function(args, speaker)
  8289.     local players = getPlayer(args[1], speaker)
  8290.     for i,v in pairs(players) do
  8291.         StartFreecam(getRoot(Players[v].Character).CFrame)
  8292.     end
  8293. end)
  8294.  
  8295. addcmd('unfreecam',{'nofreecam','unfc','nofc'},function(args, speaker)
  8296.     StopFreecam()
  8297. end)
  8298.  
  8299. addcmd('freecamspeed',{'fcspeed'},function(args, speaker)
  8300.     local FCspeed = args[1] or 1
  8301.     if isNumber(FCspeed) then
  8302.         NAV_KEYBOARD_SPEED = Vector3.new(FCspeed, FCspeed, FCspeed)
  8303.     end
  8304. end)
  8305.  
  8306. addcmd('notifyfreecamposition',{'notifyfcpos'},function(args, speaker)
  8307.     if fcRunning then
  8308.         local X,Y,Z = workspace.CurrentCamera.CFrame.Position.X,workspace.CurrentCamera.CFrame.Position.Y,workspace.CurrentCamera.CFrame.Position.Z
  8309.         local Format, Round = string.format, math.round
  8310.         notify("Current Position", Format("%s, %s, %s", Round(X), Round(Y), Round(Z)))
  8311.     end
  8312. end)
  8313.  
  8314. addcmd('copyfreecamposition',{'copyfcpos'},function(args, speaker)
  8315.     if fcRunning then
  8316.         local X,Y,Z = workspace.CurrentCamera.CFrame.Position.X,workspace.CurrentCamera.CFrame.Position.Y,workspace.CurrentCamera.CFrame.Position.Z
  8317.         local Format, Round = string.format, math.round
  8318.         toClipboard(Format("%s, %s, %s", Round(X), Round(Y), Round(Z)))
  8319.     end
  8320. end)
  8321.  
  8322. addcmd('gotocamera',{'gotocam','tocam'},function(args, speaker)
  8323.     getRoot(speaker.Character).CFrame = workspace.Camera.CFrame
  8324. end)
  8325.  
  8326. addcmd('tweengotocamera',{'tweengotocam','tgotocam','ttocam'},function(args, speaker)
  8327.     TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = workspace.Camera.CFrame}):Play()
  8328. end)
  8329.  
  8330. addcmd('fov',{},function(args, speaker)
  8331.     local fov = args[1] or 70
  8332.     if isNumber(fov) then
  8333.         workspace.CurrentCamera.FieldOfView = fov
  8334.     end
  8335. end)
  8336.  
  8337. local preMaxZoom = Players.LocalPlayer.CameraMaxZoomDistance
  8338. local preMinZoom = Players.LocalPlayer.CameraMinZoomDistance
  8339. addcmd('lookat',{},function(args, speaker)
  8340.     if speaker.CameraMaxZoomDistance ~= 0.5 then
  8341.         preMaxZoom = speaker.CameraMaxZoomDistance
  8342.         preMinZoom = speaker.CameraMinZoomDistance
  8343.     end
  8344.     speaker.CameraMaxZoomDistance = 0.5
  8345.     speaker.CameraMinZoomDistance = 0.5
  8346.     wait()
  8347.     local players = getPlayer(args[1], speaker)
  8348.     for i,v in pairs(players) do
  8349.         local target = Players[v].Character
  8350.         if target and target:FindFirstChild('Head') then
  8351.             workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.p, target.Head.CFrame.p)
  8352.             wait(0.1)
  8353.         end
  8354.     end
  8355.     speaker.CameraMaxZoomDistance = preMaxZoom
  8356.     speaker.CameraMinZoomDistance = preMinZoom
  8357. end)
  8358.  
  8359. addcmd('fixcam',{'restorecam'},function(args, speaker)
  8360.     StopFreecam()
  8361.     execCmd('unview')
  8362.     workspace.CurrentCamera:remove()
  8363.     wait(.1)
  8364.     repeat wait() until speaker.Character ~= nil
  8365.     workspace.CurrentCamera.CameraSubject = speaker.Character:FindFirstChildWhichIsA('Humanoid')
  8366.     workspace.CurrentCamera.CameraType = "Custom"
  8367.     speaker.CameraMinZoomDistance = 0.5
  8368.     speaker.CameraMaxZoomDistance = 400
  8369.     speaker.CameraMode = "Classic"
  8370.     speaker.Character.Head.Anchored = false
  8371. end)
  8372.  
  8373. addcmd('enableshiftlock',{'enablesl','shiftlock'},function(args, speaker)
  8374.     speaker.DevEnableMouseLock = true
  8375.     notify('Shiftlock','Shift lock is now available')
  8376. end)
  8377.  
  8378. addcmd('firstp',{},function(args, speaker)
  8379.     speaker.CameraMode = "LockFirstPerson"
  8380. end)
  8381.  
  8382. addcmd('thirdp',{},function(args, speaker)
  8383.     speaker.CameraMode = "Classic"
  8384. end)
  8385.  
  8386. addcmd('noclipcam', {'nccam'}, function(args, speaker)
  8387.     local sc = (debug and debug.setconstant) or setconstant
  8388.     local gc = (debug and debug.getconstants) or getconstants
  8389.     if not sc or not getgc or not gc then
  8390.         return notify('Incompatible Exploit', 'Your exploit does not support this command (missing setconstant or getconstants or getgc)')
  8391.     end
  8392.     local pop = speaker.PlayerScripts.PlayerModule.CameraModule.ZoomController.Popper
  8393.     for _, v in pairs(getgc()) do
  8394.         if type(v) == 'function' and getfenv(v).script == pop then
  8395.             for i, v1 in pairs(gc(v)) do
  8396.                 if tonumber(v1) == .25 then
  8397.                     sc(v, i, 0)
  8398.                 elseif tonumber(v1) == 0 then
  8399.                     sc(v, i, .25)
  8400.                 end
  8401.             end
  8402.         end
  8403.     end
  8404. end)
  8405.  
  8406. addcmd('maxzoom',{},function(args, speaker)
  8407.     speaker.CameraMaxZoomDistance = args[1]
  8408. end)
  8409.  
  8410. addcmd('minzoom',{},function(args, speaker)
  8411.     speaker.CameraMinZoomDistance = args[1]
  8412. end)
  8413.  
  8414. addcmd('camdistance',{},function(args, speaker)
  8415.     local camMax = speaker.CameraMaxZoomDistance
  8416.     local camMin = speaker.CameraMinZoomDistance
  8417.     if camMax < tonumber(args[1]) then
  8418.         camMax = args[1]
  8419.     end
  8420.     speaker.CameraMaxZoomDistance = args[1]
  8421.     speaker.CameraMinZoomDistance = args[1]
  8422.     wait()
  8423.     speaker.CameraMaxZoomDistance = camMax
  8424.     speaker.CameraMinZoomDistance = camMin
  8425. end)
  8426.  
  8427. addcmd('unlockws',{'unlockworkspace'},function(args, speaker)
  8428.     for i,v in pairs(workspace:GetDescendants()) do
  8429.         if v:IsA("BasePart") then
  8430.             v.Locked = false
  8431.         end
  8432.     end
  8433. end)
  8434.  
  8435. addcmd('lockws',{'lockworkspace'},function(args, speaker)
  8436.     for i,v in pairs(workspace:GetDescendants()) do
  8437.         if v:IsA("BasePart") then
  8438.             v.Locked = true
  8439.         end
  8440.     end
  8441. end)
  8442.  
  8443. addcmd('delete',{'remove'},function(args, speaker)
  8444.     for i,v in pairs(workspace:GetDescendants()) do
  8445.         if v.Name:lower() == getstring(1):lower() then
  8446.             v:Destroy()
  8447.         end
  8448.     end
  8449.     notify('Item(s) Deleted','Deleted ' ..getstring(1))
  8450. end)
  8451.  
  8452. addcmd('deleteclass',{'removeclass','deleteclassname','removeclassname','dc'},function(args, speaker)
  8453.     for i,v in pairs(workspace:GetDescendants()) do
  8454.         if v.ClassName:lower() == getstring(1):lower() then
  8455.             v:Destroy()
  8456.         end
  8457.     end
  8458.     notify('Item(s) Deleted','Deleted items with ClassName ' ..getstring(1))
  8459. end)
  8460.  
  8461. addcmd('chardelete',{'charremove','cd'},function(args, speaker)
  8462.     for i,v in pairs(speaker.Character:GetDescendants()) do
  8463.         if v.Name:lower() == getstring(1):lower() then
  8464.             v:Destroy()
  8465.         end
  8466.     end
  8467.     notify('Item(s) Deleted','Deleted ' ..getstring(1))
  8468. end)
  8469.  
  8470. addcmd('chardeleteclass',{'charremoveclass','chardeleteclassname','charremoveclassname','cdc'},function(args, speaker)
  8471.     for i,v in pairs(speaker.Character:GetDescendants()) do
  8472.         if v.ClassName:lower() == getstring(1):lower() then
  8473.             v:Destroy()
  8474.         end
  8475.     end
  8476.     notify('Item(s) Deleted','Deleted items with ClassName ' ..getstring(1))
  8477. end)
  8478.  
  8479. addcmd('deletevelocity',{'dv','removevelocity','removeforces'},function(args, speaker)
  8480.     for i,v in pairs(speaker.Character:GetDescendants()) do
  8481.         if v:IsA("BodyVelocity") or v:IsA("BodyGyro") or v:IsA("RocketPropulsion") or v:IsA("BodyThrust") or v:IsA("BodyAngularVelocity") or v:IsA("AngularVelocity") or v:IsA("BodyForce") or v:IsA("VectorForce") or v:IsA("LineForce") then
  8482.             v:Destroy()
  8483.         end
  8484.     end
  8485. end)
  8486.  
  8487. addcmd('deleteinvisparts',{'deleteinvisibleparts','dip'},function(args, speaker)
  8488.     for i,v in pairs(workspace:GetDescendants()) do
  8489.         if v:IsA("BasePart") and v.Transparency == 1 and v.CanCollide then
  8490.             v:Destroy()
  8491.         end
  8492.     end
  8493. end)
  8494.  
  8495. local shownParts = {}
  8496. addcmd('invisibleparts',{'invisparts'},function(args, speaker)
  8497.     for i,v in pairs(workspace:GetDescendants()) do
  8498.         if v:IsA("BasePart") and v.Transparency == 1 then
  8499.             if not table.find(shownParts,v) then
  8500.                 table.insert(shownParts,v)
  8501.             end
  8502.             v.Transparency = 0
  8503.         end
  8504.     end
  8505. end)
  8506.  
  8507. addcmd('uninvisibleparts',{'uninvisparts'},function(args, speaker)
  8508.     for i,v in pairs(shownParts) do
  8509.         v.Transparency = 1
  8510.     end
  8511.     shownParts = {}
  8512. end)
  8513.  
  8514. addcmd('btools',{},function(args, speaker)
  8515.     for i = 1, 4 do
  8516.         local Tool = Instance.new("HopperBin")
  8517.         Tool.BinType = i
  8518.         Tool.Name = randomString()
  8519.         Tool.Parent = speaker:FindFirstChildOfClass("Backpack")
  8520.     end
  8521. end)
  8522.  
  8523. addcmd('f3x',{'fex'},function(args, speaker)
  8524.     loadstring(game:GetObjects("rbxassetid://6695644299")[1].Source)()
  8525. end)
  8526.  
  8527. addcmd('partpath',{'partname'},function(args, speaker)
  8528.     selectPart()
  8529. end)
  8530.  
  8531. addcmd('antiafk',{'antiidle'},function(args, speaker)
  8532.     local GC = getconnections or get_signal_cons
  8533.     if GC then
  8534.         for i,v in pairs(GC(Players.LocalPlayer.Idled)) do
  8535.             if v["Disable"] then
  8536.                 v["Disable"](v)
  8537.             elseif v["Disconnect"] then
  8538.                 v["Disconnect"](v)
  8539.             end
  8540.         end
  8541.     else
  8542.         local VirtualUser = cloneref(game:GetService("VirtualUser"))
  8543.         Players.LocalPlayer.Idled:Connect(function()
  8544.             VirtualUser:CaptureController()
  8545.             VirtualUser:ClickButton2(Vector2.new())
  8546.         end)
  8547.     end
  8548.     if not (args[1] and tostring(args[1]) == 'nonotify') then notify('Anti Idle','Anti idle is enabled') end
  8549. end)
  8550.  
  8551. addcmd("datalimit", {}, function(args, speaker)
  8552.     if tonumber(args[1]) then
  8553.         NetworkClient:SetOutgoingKBPSLimit(args[1])
  8554.     end
  8555. end)
  8556.  
  8557. addcmd("replicationlag", {"backtrack"}, function(args, speaker)
  8558.     if tonumber(args[1]) then
  8559.         settings():GetService("NetworkSettings").IncomingReplicationLag = args[1]
  8560.     end
  8561. end)
  8562.  
  8563. addcmd("noprompts", {"nopurchaseprompts"}, function(args, speaker)
  8564.     COREGUI.PurchasePrompt.Enabled = false
  8565. end)
  8566.  
  8567. addcmd("showprompts", {"showpurchaseprompts"}, function(args, speaker)
  8568.     COREGUI.PurchasePrompt.Enabled = true
  8569. end)
  8570.  
  8571. promptNewRig = function(speaker, rig)
  8572.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  8573.     if humanoid then
  8574.         AvatarEditorService:PromptSaveAvatar(humanoid.HumanoidDescription, Enum.HumanoidRigType[rig])
  8575.         local result = AvatarEditorService.PromptSaveAvatarCompleted:Wait()
  8576.         if result == Enum.AvatarPromptResult.Success then
  8577.             execCmd("reset")
  8578.         end
  8579.     end
  8580. end
  8581.  
  8582. addcmd("promptr6", {}, function(args, speaker)
  8583.     promptNewRig(speaker, "R6")
  8584. end)
  8585.  
  8586. addcmd("promptr15", {}, function(args, speaker)
  8587.     promptNewRig(speaker, "R15")
  8588. end)
  8589.  
  8590. addcmd("wallwalk", {"walkonwalls"}, function(args, speaker)
  8591.     loadstring(game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/wallwalker.lua"))()
  8592. end)
  8593.  
  8594. addcmd('age',{},function(args, speaker)
  8595.     local players = getPlayer(args[1], speaker)
  8596.     local ages = {}
  8597.     for i,v in pairs(players) do
  8598.         local p = Players[v]
  8599.         table.insert(ages, p.Name.."'s age is: "..p.AccountAge)
  8600.     end
  8601.     notify('Account Age',table.concat(ages, ',\n'))
  8602. end)
  8603.  
  8604. addcmd('chatage',{},function(args, speaker)
  8605.     local players = getPlayer(args[1], speaker)
  8606.     local ages = {}
  8607.     for i,v in pairs(players) do
  8608.         local p = Players[v]
  8609.         table.insert(ages, p.Name.."'s age is: "..p.AccountAge)
  8610.     end
  8611.     local chatString = table.concat(ages, ', ')
  8612.     chatMessage(chatString)
  8613. end)
  8614.  
  8615. addcmd('joindate',{'jd'},function(args, speaker)
  8616.     local players = getPlayer(args[1], speaker)
  8617.     local dates = {}
  8618.     notify("Loading",'Hold on a sec')
  8619.     for i,v in pairs(players) do
  8620.         local user = game:HttpGet("https://users.roblox.com/v1/users/"..Players[v].UserId)
  8621.         local json = HttpService:JSONDecode(user)
  8622.         local date = json["created"]:sub(1,10)
  8623.         local splitDates = string.split(date,"-")
  8624.         table.insert(dates,Players[v].Name.." joined: "..splitDates[2].."/"..splitDates[3].."/"..splitDates[1])
  8625.     end
  8626.     notify('Join Date (Month/Day/Year)',table.concat(dates, ',\n'))
  8627. end)
  8628.  
  8629. addcmd('chatjoindate',{'cjd'},function(args, speaker)
  8630.     local players = getPlayer(args[1], speaker)
  8631.     local dates = {}
  8632.     notify("Loading",'Hold on a sec')
  8633.     for i,v in pairs(players) do
  8634.         local user = game:HttpGet("https://users.roblox.com/v1/users/"..Players[v].UserId)
  8635.         local json = HttpService:JSONDecode(user)
  8636.         local date = json["created"]:sub(1,10)
  8637.         local splitDates = string.split(date,"-")
  8638.         table.insert(dates,Players[v].Name.." joined: "..splitDates[2].."/"..splitDates[3].."/"..splitDates[1])
  8639.     end
  8640.     local chatString = table.concat(dates, ', ')
  8641.     chatMessage(chatString)
  8642. end)
  8643.  
  8644. addcmd('copyname',{'copyuser'},function(args, speaker)
  8645.     local players = getPlayer(args[1], speaker)
  8646.     for i,v in pairs(players) do
  8647.         local name = tostring(Players[v].Name)
  8648.         toClipboard(name)
  8649.     end
  8650. end)
  8651.  
  8652. addcmd('userid',{'id'},function(args, speaker)
  8653.     local players = getPlayer(args[1], speaker)
  8654.     for i,v in pairs(players) do
  8655.         local id = tostring(Players[v].UserId)
  8656.         notify('User ID',id)
  8657.     end
  8658. end)
  8659.  
  8660. addcmd('copyid',{'copyuserid'},function(args, speaker)
  8661.     local players = getPlayer(args[1], speaker)
  8662.     for i,v in pairs(players) do
  8663.         local id = tostring(Players[v].UserId)
  8664.         toClipboard(id)
  8665.     end
  8666. end)
  8667.  
  8668. addcmd('creatorid',{'creator'},function(args, speaker)
  8669.     if game.CreatorType == Enum.CreatorType.User then
  8670.         notify('Creator ID',game.CreatorId)
  8671.     elseif game.CreatorType == Enum.CreatorType.Group then
  8672.         local OwnerID = GroupService:GetGroupInfoAsync(game.CreatorId).Owner.Id
  8673.         speaker.UserId = OwnerID
  8674.         notify('Creator ID',OwnerID)
  8675.     end
  8676. end)
  8677.  
  8678. addcmd('copycreatorid',{'copycreator'},function(args, speaker)
  8679.     if game.CreatorType == Enum.CreatorType.User then
  8680.         toClipboard(game.CreatorId)
  8681.         notify('Copied ID','Copied creator ID to clipboard')
  8682.     elseif game.CreatorType == Enum.CreatorType.Group then
  8683.         local OwnerID = GroupService:GetGroupInfoAsync(game.CreatorId).Owner.Id
  8684.         toClipboard(OwnerID)
  8685.         notify('Copied ID','Copied creator ID to clipboard')
  8686.     end
  8687. end)
  8688.  
  8689. addcmd('setcreatorid',{'setcreator'},function(args, speaker)
  8690.     if game.CreatorType == Enum.CreatorType.User then
  8691.         speaker.UserId = game.CreatorId
  8692.         notify('Set ID','Set UserId to '..game.CreatorId)
  8693.     elseif game.CreatorType == Enum.CreatorType.Group then
  8694.         local OwnerID = GroupService:GetGroupInfoAsync(game.CreatorId).Owner.Id
  8695.         speaker.UserId = OwnerID
  8696.         notify('Set ID','Set UserId to '..OwnerID)
  8697.     end
  8698. end)
  8699.  
  8700. addcmd('appearanceid',{'aid'},function(args, speaker)
  8701.     local players = getPlayer(args[1], speaker)
  8702.     for i,v in pairs(players) do
  8703.         local aid = tostring(Players[v].CharacterAppearanceId)
  8704.         notify('Appearance ID',aid)
  8705.     end
  8706. end)
  8707.  
  8708. addcmd('copyappearanceid',{'caid'},function(args, speaker)
  8709.     local players = getPlayer(args[1], speaker)
  8710.     for i,v in pairs(players) do
  8711.         local aid = tostring(Players[v].CharacterAppearanceId)
  8712.         toClipboard(aid)
  8713.     end
  8714. end)
  8715.  
  8716. addcmd('norender',{},function(args, speaker)
  8717.     RunService:Set3dRenderingEnabled(false)
  8718. end)
  8719.  
  8720. addcmd('render',{},function(args, speaker)
  8721.     RunService:Set3dRenderingEnabled(true)
  8722. end)
  8723.  
  8724. addcmd('2022materials',{'use2022materials'},function(args, speaker)
  8725.     if sethidden then
  8726.         sethidden(MaterialService, "Use2022Materials", true)
  8727.     else
  8728.         notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
  8729.     end
  8730. end)
  8731.  
  8732. addcmd('un2022materials',{'unuse2022materials'},function(args, speaker)
  8733.     if sethidden then
  8734.         sethidden(MaterialService, "Use2022Materials", false)
  8735.     else
  8736.         notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
  8737.     end
  8738. end)
  8739.  
  8740. addcmd('goto',{'to'},function(args, speaker)
  8741.     local players = getPlayer(args[1], speaker)
  8742.     for i,v in pairs(players)do
  8743.         if Players[v].Character ~= nil then
  8744.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8745.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8746.                 wait(.1)
  8747.             end
  8748.             getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0)
  8749.         end
  8750.     end
  8751.     execCmd('breakvelocity')
  8752. end)
  8753.  
  8754. addcmd('tweengoto',{'tgoto','tto','tweento'},function(args, speaker)
  8755.     local players = getPlayer(args[1], speaker)
  8756.     for i,v in pairs(players)do
  8757.         if Players[v].Character ~= nil then
  8758.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8759.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8760.                 wait(.1)
  8761.             end
  8762.             TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0)}):Play()
  8763.         end
  8764.     end
  8765.     execCmd('breakvelocity')
  8766. end)
  8767.  
  8768. addcmd('vehiclegoto',{'vgoto','vtp','vehicletp'},function(args, speaker)
  8769.     local players = getPlayer(args[1], speaker)
  8770.     for i,v in pairs(players)do
  8771.         if Players[v].Character ~= nil then
  8772.             local seat = speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart
  8773.             local vehicleModel = seat:FindFirstAncestorWhichIsA("Model")
  8774.             vehicleModel:MoveTo(getRoot(Players[v].Character).Position)
  8775.         end
  8776.     end
  8777. end)
  8778.  
  8779. addcmd('pulsetp',{'ptp'},function(args, speaker)
  8780.     local players = getPlayer(args[1], speaker)
  8781.     for i,v in pairs(players)do
  8782.         if Players[v].Character ~= nil then
  8783.             local startPos = getRoot(speaker.Character).CFrame
  8784.             local seconds = args[2] or 1
  8785.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8786.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8787.                 wait(.1)
  8788.             end
  8789.             getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0)
  8790.             wait(seconds)
  8791.             getRoot(speaker.Character).CFrame = startPos
  8792.         end
  8793.     end
  8794.     execCmd('breakvelocity')
  8795. end)
  8796.  
  8797. local vnoclipParts = {}
  8798. addcmd('vehiclenoclip',{'vnoclip'},function(args, speaker)
  8799.     vnoclipParts = {}
  8800.     local seat = speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart
  8801.     local vehicleModel = seat.Parent
  8802.     repeat
  8803.         if vehicleModel.ClassName ~= "Model" then
  8804.             vehicleModel = vehicleModel.Parent
  8805.         end
  8806.     until vehicleModel.ClassName == "Model"
  8807.     wait(0.1)
  8808.     execCmd('noclip')
  8809.     for i,v in pairs(vehicleModel:GetDescendants()) do
  8810.         if v:IsA("BasePart") and v.CanCollide then
  8811.             table.insert(vnoclipParts,v)
  8812.             v.CanCollide = false
  8813.         end
  8814.     end
  8815. end)
  8816.  
  8817. addcmd("vehicleclip", {"vclip", "unvnoclip", "unvehiclenoclip"}, function(args, speaker)
  8818.     execCmd("clip")
  8819.     for i, v in pairs(vnoclipParts) do
  8820.         v.CanCollide = true
  8821.     end
  8822.     vnoclipParts = {}
  8823. end)
  8824.  
  8825. addcmd("togglevnoclip", {}, function(args, speaker)
  8826.     execCmd(Clip and "vnoclip" or "vclip")
  8827. end)
  8828.  
  8829. addcmd('clientbring',{'cbring'},function(args, speaker)
  8830.     local players = getPlayer(args[1], speaker)
  8831.     for i,v in pairs(players)do
  8832.         if Players[v].Character ~= nil then
  8833.             if Players[v].Character:FindFirstChildOfClass('Humanoid') then
  8834.                 Players[v].Character:FindFirstChildOfClass('Humanoid').Sit = false
  8835.             end
  8836.             wait()
  8837.             getRoot(Players[v].Character).CFrame = getRoot(speaker.Character).CFrame + Vector3.new(3,1,0)
  8838.         end
  8839.     end
  8840. end)
  8841.  
  8842. local bringT = {}
  8843. addcmd('loopbring',{},function(args, speaker)
  8844.     local players = getPlayer(args[1], speaker)
  8845.     for i,v in pairs(players)do
  8846.         task.spawn(function()
  8847.             if Players[v].Name ~= speaker.Name and not FindInTable(bringT, Players[v].Name) then
  8848.                 table.insert(bringT, Players[v].Name)
  8849.                 local plrName = Players[v].Name
  8850.                 local pchar=Players[v].Character
  8851.                 local distance = 3
  8852.                 if args[2] and isNumber(args[2]) then
  8853.                     distance = args[2]
  8854.                 end
  8855.                 local lDelay = 0
  8856.                 if args[3] and isNumber(args[3]) then
  8857.                     lDelay = args[3]
  8858.                 end
  8859.                 repeat
  8860.                     for i,c in pairs(players) do
  8861.                         if Players:FindFirstChild(v) then
  8862.                             pchar = Players[v].Character
  8863.                             if pchar~= nil and Players[v].Character ~= nil and getRoot(pchar) and speaker.Character ~= nil and getRoot(speaker.Character) then
  8864.                                 getRoot(pchar).CFrame = getRoot(speaker.Character).CFrame + Vector3.new(distance,1,0)
  8865.                             end
  8866.                             wait(lDelay)
  8867.                         else
  8868.                             for a,b in pairs(bringT) do if b == plrName then table.remove(bringT, a) end end
  8869.                         end
  8870.                     end
  8871.                 until not FindInTable(bringT, plrName)
  8872.             end
  8873.         end)
  8874.     end
  8875. end)
  8876.  
  8877. addcmd('unloopbring',{'noloopbring'},function(args, speaker)
  8878.     local players = getPlayer(args[1], speaker)
  8879.     for i,v in pairs(players)do
  8880.         task.spawn(function()
  8881.             for a,b in pairs(bringT) do if b == Players[v].Name then table.remove(bringT, a) end end
  8882.         end)
  8883.     end
  8884. end)
  8885.  
  8886. local walkto = false
  8887. local waypointwalkto = false
  8888. addcmd('walkto',{'follow'},function(args, speaker)
  8889.     local players = getPlayer(args[1], speaker)
  8890.     for i,v in pairs(players)do
  8891.         if Players[v].Character ~= nil then
  8892.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8893.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8894.                 wait(.1)
  8895.             end
  8896.             walkto = true
  8897.             repeat wait()
  8898.                 speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(getRoot(Players[v].Character).Position)
  8899.             until Players[v].Character == nil or not getRoot(Players[v].Character) or walkto == false
  8900.         end
  8901.     end
  8902. end)
  8903.  
  8904. addcmd('pathfindwalkto',{'pathfindfollow'},function(args, speaker)
  8905.     walkto = false
  8906.     wait()
  8907.     local players = getPlayer(args[1], speaker)
  8908.     local hum = Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  8909.     local path = PathService:CreatePath()
  8910.     for i,v in pairs(players)do
  8911.         if Players[v].Character ~= nil then
  8912.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8913.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8914.                 wait(.1)
  8915.             end
  8916.             walkto = true
  8917.             repeat wait()
  8918.                 local success, response = pcall(function()
  8919.                     path:ComputeAsync(getRoot(speaker.Character).Position, getRoot(Players[v].Character).Position)
  8920.                     local waypoints = path:GetWaypoints()
  8921.                     local distance
  8922.                     for waypointIndex, waypoint in pairs(waypoints) do
  8923.                         local waypointPosition = waypoint.Position
  8924.                         hum:MoveTo(waypointPosition)
  8925.                         repeat
  8926.                             distance = (waypointPosition - hum.Parent.PrimaryPart.Position).magnitude
  8927.                             wait()
  8928.                         until
  8929.                         distance <= 5
  8930.                     end  
  8931.                 end)
  8932.                 if not success then
  8933.                     speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(getRoot(Players[v].Character).Position)
  8934.                 end
  8935.             until Players[v].Character == nil or not getRoot(Players[v].Character) or walkto == false
  8936.         end
  8937.     end
  8938. end)
  8939.  
  8940. addcmd('pathfindwalktowaypoint',{'pathfindwalktowp'},function(args, speaker)
  8941.     waypointwalkto = false
  8942.     wait()
  8943.     local WPName = tostring(getstring(1))
  8944.     local hum = Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  8945.     local path = PathService:CreatePath()
  8946.     if speaker.Character then
  8947.         for i,_ in pairs(WayPoints) do
  8948.             if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8949.                 if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8950.                     speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8951.                     wait(.1)
  8952.                 end
  8953.                 local TrueCoords = Vector3.new(WayPoints[i].COORD[1], WayPoints[i].COORD[2], WayPoints[i].COORD[3])
  8954.                 waypointwalkto = true
  8955.                 repeat wait()
  8956.                     local success, response = pcall(function()
  8957.                         path:ComputeAsync(getRoot(speaker.Character).Position, TrueCoords)
  8958.                         local waypoints = path:GetWaypoints()
  8959.                         local distance
  8960.                         for waypointIndex, waypoint in pairs(waypoints) do
  8961.                             local waypointPosition = waypoint.Position
  8962.                             hum:MoveTo(waypointPosition)
  8963.                             repeat
  8964.                                 distance = (waypointPosition - hum.Parent.PrimaryPart.Position).magnitude
  8965.                                 wait()
  8966.                             until
  8967.                             distance <= 5
  8968.                         end
  8969.                     end)
  8970.                     if not success then
  8971.                         speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(TrueCoords)
  8972.                     end
  8973.                 until not speaker.Character or waypointwalkto == false
  8974.             end
  8975.         end
  8976.         for i,_ in pairs(pWayPoints) do
  8977.             if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8978.                 if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8979.                     speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8980.                     wait(.1)
  8981.                 end
  8982.                 local TrueCoords = pWayPoints[i].COORD[1].Position
  8983.                 waypointwalkto = true
  8984.                 repeat wait()
  8985.                     local success, response = pcall(function()
  8986.                         path:ComputeAsync(getRoot(speaker.Character).Position, TrueCoords)
  8987.                         local waypoints = path:GetWaypoints()
  8988.                         local distance
  8989.                         for waypointIndex, waypoint in pairs(waypoints) do
  8990.                             local waypointPosition = waypoint.Position
  8991.                             hum:MoveTo(waypointPosition)
  8992.                             repeat
  8993.                                 distance = (waypointPosition - hum.Parent.PrimaryPart.Position).magnitude
  8994.                                 wait()
  8995.                             until
  8996.                             distance <= 5
  8997.                         end
  8998.                     end)
  8999.                     if not success then
  9000.                         speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(TrueCoords)
  9001.                     end
  9002.                 until not speaker.Character or waypointwalkto == false
  9003.             end
  9004.         end
  9005.     end
  9006. end)
  9007.  
  9008. addcmd('unwalkto',{'nowalkto','unfollow','nofollow'},function(args, speaker)
  9009.     walkto = false
  9010.     waypointwalkto = false
  9011. end)
  9012.  
  9013. addcmd("orbit", {}, function(args, speaker)
  9014.     execCmd("unorbit nonotify")
  9015.     local target = Players:FindFirstChild(getPlayer(args[1], speaker)[1])
  9016.     local root = getRoot(speaker.Character)
  9017.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  9018.     if target and target.Character and getRoot(target.Character) and root and humanoid then
  9019.         local rotation = 0
  9020.         local speed = tonumber(args[2]) or 0.2
  9021.         local distance = tonumber(args[3]) or 6
  9022.         orbit1 = RunService.Heartbeat:Connect(function()
  9023.             pcall(function()
  9024.                 rotation = rotation + speed
  9025.                 root.CFrame = CFrame.new(getRoot(target.Character).Position) * CFrame.Angles(0, math.rad(rotation), 0) * CFrame.new(distance, 0, 0)
  9026.             end)
  9027.         end)
  9028.         orbit2 = RunService.RenderStepped:Connect(function()
  9029.             pcall(function()
  9030.                 root.CFrame = CFrame.new(root.Position, getRoot(target.Character).Position)
  9031.             end)
  9032.         end)
  9033.         orbit3 = humanoid.Died:Connect(function() execCmd("unorbit") end)
  9034.         orbit4 = humanoid.Seated:Connect(function(value) if value then execCmd("unorbit") end end)
  9035.         notify("Orbit", "Started orbiting " .. formatUsername(target))
  9036.     end
  9037. end)
  9038.  
  9039. addcmd("unorbit", {}, function(args, speaker)
  9040.     if orbit1 then orbit1:Disconnect() end
  9041.     if orbit2 then orbit2:Disconnect() end
  9042.     if orbit3 then orbit3:Disconnect() end
  9043.     if orbit4 then orbit4:Disconnect() end
  9044.     if args[1] ~= "nonotify" then notify("Orbit", "Stopped orbiting player") end
  9045. end)
  9046.  
  9047. addcmd('freeze',{'fr'},function(args, speaker)
  9048.     local players = getPlayer(args[1], speaker)
  9049.     if players ~= nil then
  9050.         for i,v in pairs(players) do
  9051.             task.spawn(function()
  9052.                 for i, x in next, Players[v].Character:GetDescendants() do
  9053.                     if x:IsA("BasePart") and not x.Anchored then
  9054.                         x.Anchored = true
  9055.                     end
  9056.                 end
  9057.             end)
  9058.         end
  9059.     end
  9060. end)
  9061.  
  9062.  
  9063. addcmd('thaw',{'unfreeze','unfr'},function(args, speaker)
  9064.     local players = getPlayer(args[1], speaker)
  9065.     if players ~= nil then
  9066.         for i,v in pairs(players) do
  9067.             task.spawn(function()
  9068.                 for i, x in next, Players[v].Character:GetDescendants() do
  9069.                     if x.Name ~= floatName and x:IsA("BasePart") and x.Anchored then
  9070.                         x.Anchored = false
  9071.                     end
  9072.                 end
  9073.             end)
  9074.         end
  9075.     end
  9076. end)
  9077.  
  9078. oofing = false
  9079. addcmd('loopoof',{},function(args, speaker)
  9080.     oofing = true
  9081.     repeat wait(0.1)
  9082.         for i,v in pairs(Players:GetPlayers()) do
  9083.             if v.Character ~= nil and v.Character:FindFirstChild'Head' then
  9084.                 for _,x in pairs(v.Character.Head:GetChildren()) do
  9085.                     if x:IsA'Sound' then x.Playing = true end
  9086.                 end
  9087.             end
  9088.         end
  9089.     until oofing == false
  9090. end)
  9091.  
  9092. addcmd('unloopoof',{},function(args, speaker)
  9093.     oofing = false
  9094. end)
  9095.  
  9096. local notifiedRespectFiltering = false
  9097. addcmd('muteboombox',{},function(args, speaker)
  9098.     if not notifiedRespectFiltering and SoundService.RespectFilteringEnabled then notifiedRespectFiltering = true notify('RespectFilteringEnabled','RespectFilteringEnabled is set to true (the command will still work but may only be clientsided)') end
  9099.     local players = getPlayer(args[1], speaker)
  9100.     if players ~= nil then
  9101.         for i,v in pairs(players) do
  9102.             task.spawn(function()
  9103.                 for i, x in next, Players[v].Character:GetDescendants() do
  9104.                     if x:IsA("Sound") and x.Playing == true then
  9105.                         x.Playing = false
  9106.                     end
  9107.                 end
  9108.                 for i, x in next, Players[v]:FindFirstChildOfClass("Backpack"):GetDescendants() do
  9109.                     if x:IsA("Sound") and x.Playing == true then
  9110.                         x.Playing = false
  9111.                     end
  9112.                 end
  9113.             end)
  9114.         end
  9115.     end
  9116. end)
  9117.  
  9118. addcmd('unmuteboombox',{},function(args, speaker)
  9119.     if not notifiedRespectFiltering and SoundService.RespectFilteringEnabled then notifiedRespectFiltering = true notify('RespectFilteringEnabled','RespectFilteringEnabled is set to true (the command will still work but may only be clientsided)') end
  9120.     local players = getPlayer(args[1], speaker)
  9121.     if players ~= nil then
  9122.         for i,v in pairs(players) do
  9123.             task.spawn(function()
  9124.                 for i, x in next, Players[v].Character:GetDescendants() do
  9125.                     if x:IsA("Sound") and x.Playing == false then
  9126.                         x.Playing = true
  9127.                     end
  9128.                 end
  9129.             end)
  9130.         end
  9131.     end
  9132. end)
  9133.  
  9134. addcmd('reset',{},function(args, speaker)
  9135.     speaker.Character:FindFirstChildOfClass("Humanoid"):ChangeState(Enum.HumanoidStateType.Dead)
  9136. end)
  9137.  
  9138. addcmd('freezeanims',{},function(args, speaker)
  9139.     local Humanoid = speaker.Character:FindFirstChildOfClass("Humanoid") or speaker.Character:FindFirstChildOfClass("AnimationController")
  9140.     local ActiveTracks = Humanoid:GetPlayingAnimationTracks()
  9141.     for _, v in pairs(ActiveTracks) do
  9142.         v:AdjustSpeed(0)
  9143.     end
  9144. end)
  9145.  
  9146. addcmd('unfreezeanims',{},function(args, speaker)
  9147.     local Humanoid = speaker.Character:FindFirstChildOfClass("Humanoid") or speaker.Character:FindFirstChildOfClass("AnimationController")
  9148.     local ActiveTracks = Humanoid:GetPlayingAnimationTracks()
  9149.     for _, v in pairs(ActiveTracks) do
  9150.         v:AdjustSpeed(1)
  9151.     end
  9152. end)
  9153.  
  9154.  
  9155.  
  9156.  
  9157. addcmd('respawn',{},function(args, speaker)
  9158.     respawn(speaker)
  9159. end)
  9160.  
  9161. addcmd('refresh',{'re'},function(args, speaker)
  9162.     refresh(speaker)
  9163. end)
  9164.  
  9165. addcmd('god',{},function(args, speaker)
  9166.     local Cam = workspace.CurrentCamera
  9167.     local Pos, Char = Cam.CFrame, speaker.Character
  9168.     local Human = Char and Char.FindFirstChildWhichIsA(Char, "Humanoid")
  9169.     local nHuman = Human.Clone(Human)
  9170.     nHuman.Parent, speaker.Character = Char, nil
  9171.     nHuman.SetStateEnabled(nHuman, 15, false)
  9172.     nHuman.SetStateEnabled(nHuman, 1, false)
  9173.     nHuman.SetStateEnabled(nHuman, 0, false)
  9174.     nHuman.BreakJointsOnDeath, Human = true, Human.Destroy(Human)
  9175.     speaker.Character, Cam.CameraSubject, Cam.CFrame = Char, nHuman, wait() and Pos
  9176.     nHuman.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  9177.     local Script = Char.FindFirstChild(Char, "Animate")
  9178.     if Script then
  9179.         Script.Disabled = true
  9180.         wait()
  9181.         Script.Disabled = false
  9182.     end
  9183.     nHuman.Health = nHuman.MaxHealth
  9184. end)
  9185.  
  9186. invisRunning = false
  9187. addcmd('invisible',{'invis'},function(args, speaker)
  9188.     if invisRunning then return end
  9189.     invisRunning = true
  9190.     -- Full credit to AmokahFox @V3rmillion
  9191.     local Player = speaker
  9192.     repeat wait(.1) until Player.Character
  9193.     local Character = Player.Character
  9194.     Character.Archivable = true
  9195.     local IsInvis = false
  9196.     local IsRunning = true
  9197.     local InvisibleCharacter = Character:Clone()
  9198.     InvisibleCharacter.Parent = Lighting
  9199.     local Void = workspace.FallenPartsDestroyHeight
  9200.     InvisibleCharacter.Name = ""
  9201.     local CF
  9202.  
  9203.     local invisFix = RunService.Stepped:Connect(function()
  9204.         pcall(function()
  9205.             local IsInteger
  9206.             if tostring(Void):find'-' then
  9207.                 IsInteger = true
  9208.             else
  9209.                 IsInteger = false
  9210.             end
  9211.             local Pos = Player.Character.HumanoidRootPart.Position
  9212.             local Pos_String = tostring(Pos)
  9213.             local Pos_Seperate = Pos_String:split(', ')
  9214.             local X = tonumber(Pos_Seperate[1])
  9215.             local Y = tonumber(Pos_Seperate[2])
  9216.             local Z = tonumber(Pos_Seperate[3])
  9217.             if IsInteger == true then
  9218.                 if Y <= Void then
  9219.                     Respawn()
  9220.                 end
  9221.             elseif IsInteger == false then
  9222.                 if Y >= Void then
  9223.                     Respawn()
  9224.                 end
  9225.             end
  9226.         end)
  9227.     end)
  9228.  
  9229.     for i,v in pairs(InvisibleCharacter:GetDescendants())do
  9230.         if v:IsA("BasePart") then
  9231.             if v.Name == "HumanoidRootPart" then
  9232.                 v.Transparency = 1
  9233.             else
  9234.                 v.Transparency = .5
  9235.             end
  9236.         end
  9237.     end
  9238.  
  9239.     function Respawn()
  9240.         IsRunning = false
  9241.         if IsInvis == true then
  9242.             pcall(function()
  9243.                 Player.Character = Character
  9244.                 wait()
  9245.                 Character.Parent = workspace
  9246.                 Character:FindFirstChildWhichIsA'Humanoid':Destroy()
  9247.                 IsInvis = false
  9248.                 InvisibleCharacter.Parent = nil
  9249.                 invisRunning = false
  9250.             end)
  9251.         elseif IsInvis == false then
  9252.             pcall(function()
  9253.                 Player.Character = Character
  9254.                 wait()
  9255.                 Character.Parent = workspace
  9256.                 Character:FindFirstChildWhichIsA'Humanoid':Destroy()
  9257.                 TurnVisible()
  9258.             end)
  9259.         end
  9260.     end
  9261.  
  9262.     local invisDied
  9263.     invisDied = InvisibleCharacter:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
  9264.         Respawn()
  9265.         invisDied:Disconnect()
  9266.     end)
  9267.  
  9268.     if IsInvis == true then return end
  9269.     IsInvis = true
  9270.     CF = workspace.CurrentCamera.CFrame
  9271.     local CF_1 = Player.Character.HumanoidRootPart.CFrame
  9272.     Character:MoveTo(Vector3.new(0,math.pi*1000000,0))
  9273.     workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
  9274.     wait(.2)
  9275.     workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
  9276.     InvisibleCharacter = InvisibleCharacter
  9277.     Character.Parent = Lighting
  9278.     InvisibleCharacter.Parent = workspace
  9279.     InvisibleCharacter.HumanoidRootPart.CFrame = CF_1
  9280.     Player.Character = InvisibleCharacter
  9281.     execCmd('fixcam')
  9282.     Player.Character.Animate.Disabled = true
  9283.     Player.Character.Animate.Disabled = false
  9284.  
  9285.     function TurnVisible()
  9286.         if IsInvis == false then return end
  9287.         invisFix:Disconnect()
  9288.         invisDied:Disconnect()
  9289.         CF = workspace.CurrentCamera.CFrame
  9290.         Character = Character
  9291.         local CF_1 = Player.Character.HumanoidRootPart.CFrame
  9292.         Character.HumanoidRootPart.CFrame = CF_1
  9293.         InvisibleCharacter:Destroy()
  9294.         Player.Character = Character
  9295.         Character.Parent = workspace
  9296.         IsInvis = false
  9297.         Player.Character.Animate.Disabled = true
  9298.         Player.Character.Animate.Disabled = false
  9299.         invisDied = Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
  9300.             Respawn()
  9301.             invisDied:Disconnect()
  9302.         end)
  9303.         invisRunning = false
  9304.     end
  9305.     notify('Invisible','You now appear invisible to other players')
  9306. end)
  9307.  
  9308. addcmd("visible", {"vis"}, function(args, speaker)
  9309.     TurnVisible()
  9310. end)
  9311.  
  9312. addcmd("toggleinvis", {}, function(args, speaker)
  9313.     execCmd(invisRunning and "visible" or "invisible")
  9314. end)
  9315.  
  9316. addcmd('toolinvisible',{'toolinvis','tinvis'},function(args, speaker)
  9317.     local Char  = Players.LocalPlayer.Character
  9318.     local touched = false
  9319.     local tpdback = false
  9320.     local box = Instance.new('Part')
  9321.     box.Anchored = true
  9322.     box.CanCollide = true
  9323.     box.Size = Vector3.new(10,1,10)
  9324.     box.Position = Vector3.new(0,10000,0)
  9325.     box.Parent = workspace
  9326.     local boxTouched = box.Touched:connect(function(part)
  9327.         if (part.Parent.Name == Players.LocalPlayer.Name) then
  9328.             if touched == false then
  9329.                 touched = true
  9330.                 local function apply()
  9331.                     local no = Char.HumanoidRootPart:Clone()
  9332.                     wait(.25)
  9333.                     Char.HumanoidRootPart:Destroy()
  9334.                     no.Parent = Char
  9335.                     Char:MoveTo(loc)
  9336.                     touched = false
  9337.                 end
  9338.                 if Char then
  9339.                     apply()
  9340.                 end
  9341.             end
  9342.         end
  9343.     end)
  9344.     repeat wait() until Char
  9345.     local cleanUp
  9346.     cleanUp = Players.LocalPlayer.CharacterAdded:connect(function(char)
  9347.         boxTouched:Disconnect()
  9348.         box:Destroy()
  9349.         cleanUp:Disconnect()
  9350.     end)
  9351.     loc = Char.HumanoidRootPart.Position
  9352.     Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  9353. end)
  9354.  
  9355. addcmd("strengthen", {}, function(args, speaker)
  9356.     for _, child in pairs(speaker.Character:GetDescendants()) do
  9357.         if child.ClassName == "Part" then
  9358.             if args[1] then
  9359.                 child.CustomPhysicalProperties = PhysicalProperties.new(args[1], 0.3, 0.5)
  9360.             else
  9361.                 child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5)
  9362.             end
  9363.         end
  9364.     end
  9365. end)
  9366.  
  9367. addcmd("weaken", {}, function(args, speaker)
  9368.     for _, child in pairs(speaker.Character:GetDescendants()) do
  9369.         if child.ClassName == "Part" then
  9370.             if args[1] then
  9371.                 child.CustomPhysicalProperties = PhysicalProperties.new(-args[1], 0.3, 0.5)
  9372.             else
  9373.                 child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5)
  9374.             end
  9375.         end
  9376.     end
  9377. end)
  9378.  
  9379. addcmd("unweaken", {"unstrengthen"}, function(args, speaker)
  9380.     for _, child in pairs(speaker.Character:GetDescendants()) do
  9381.         if child.ClassName == "Part" then
  9382.             child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
  9383.         end
  9384.     end
  9385. end)
  9386.  
  9387. addcmd("breakvelocity", {}, function(args, speaker)
  9388.     local BeenASecond, V3 = false, Vector3.new(0, 0, 0)
  9389.     delay(1, function()
  9390.         BeenASecond = true
  9391.     end)
  9392.     while not BeenASecond do
  9393.         for _, v in ipairs(speaker.Character:GetDescendants()) do
  9394.             if v:IsA("BasePart") then
  9395.                 v.Velocity, v.RotVelocity = V3, V3
  9396.             end
  9397.         end
  9398.         wait()
  9399.     end
  9400. end)
  9401.  
  9402. addcmd('jpower',{'jumppower','jp'},function(args, speaker)
  9403.     local jpower = args[1] or 50
  9404.     if isNumber(jpower) then
  9405.         if speaker.Character:FindFirstChildOfClass('Humanoid').UseJumpPower then
  9406.             speaker.Character:FindFirstChildOfClass('Humanoid').JumpPower = jpower
  9407.         else
  9408.             speaker.Character:FindFirstChildOfClass('Humanoid').JumpHeight  = jpower
  9409.         end
  9410.     end
  9411. end)
  9412.  
  9413. addcmd("maxslopeangle", {"msa"}, function(args, speaker)
  9414.     local sangle = args[1] or 89
  9415.     if isNumber(sangle) then
  9416.         speaker.Character:FindFirstChildWhichIsA("Humanoid").MaxSlopeAngle = sangle
  9417.     end
  9418. end)
  9419.  
  9420. addcmd("gravity", {"grav"}, function(args, speaker)
  9421.     local grav = args[1] or 196.2
  9422.     if isNumber(grav) then
  9423.         workspace.Gravity = grav
  9424.     end
  9425. end)
  9426.  
  9427. addcmd("hipheight", {"hheight"}, function(args, speaker)
  9428.     speaker.Character:FindFirstChildWhichIsA("Humanoid").HipHeight = args[1] or (r15(speaker) and 2.1 or 0)
  9429. end)
  9430.  
  9431. addcmd("dance", {}, function(args, speaker)
  9432.     pcall(execCmd, "undance")
  9433.     local dances = {"27789359", "30196114", "248263260", "45834924", "33796059", "28488254", "52155728"}
  9434.     if r15(speaker) then
  9435.         dances = {"3333432454", "4555808220", "4049037604", "4555782893", "10214311282", "10714010337", "10713981723", "10714372526", "10714076981", "10714392151", "11444443576"}
  9436.     end
  9437.     local animation = Instance.new("Animation")
  9438.     animation.AnimationId = "rbxassetid://" .. dances[math.random(1, #dances)]
  9439.     danceTrack = speaker.Character:FindFirstChildWhichIsA("Humanoid"):LoadAnimation(animation)
  9440.     danceTrack.Looped = true
  9441.     danceTrack:Play()
  9442. end)
  9443.  
  9444. addcmd("undance", {"nodance"}, function(args, speaker)
  9445.     danceTrack:Stop()
  9446.     danceTrack:Destroy()
  9447. end)
  9448.  
  9449. addcmd('nolimbs',{'rlimbs'},function(args, speaker)
  9450.     if r15(speaker) then
  9451.         for i,v in pairs(speaker.Character:GetChildren()) do
  9452.             if v:IsA("BasePart") and
  9453.                 v.Name == "RightUpperLeg" or
  9454.                 v.Name == "LeftUpperLeg" or
  9455.                 v.Name == "RightUpperArm" or
  9456.                 v.Name == "LeftUpperArm" then
  9457.                 v:Destroy()
  9458.             end
  9459.         end
  9460.     else
  9461.         for i,v in pairs(speaker.Character:GetChildren()) do
  9462.             if v:IsA("BasePart") and
  9463.                 v.Name == "Right Leg" or
  9464.                 v.Name == "Left Leg" or
  9465.                 v.Name == "Right Arm" or
  9466.                 v.Name == "Left Arm" then
  9467.                 v:Destroy()
  9468.             end
  9469.         end
  9470.     end
  9471. end)
  9472.  
  9473. addcmd('noarms',{'rarms'},function(args, speaker)
  9474.     if r15(speaker) then
  9475.         for i,v in pairs(speaker.Character:GetChildren()) do
  9476.             if v:IsA("BasePart") and
  9477.                 v.Name == "RightUpperArm" or
  9478.                 v.Name == "LeftUpperArm" then
  9479.                 v:Destroy()
  9480.             end
  9481.         end
  9482.     else
  9483.         for i,v in pairs(speaker.Character:GetChildren()) do
  9484.             if v:IsA("BasePart") and
  9485.                 v.Name == "Right Arm" or
  9486.                 v.Name == "Left Arm" then
  9487.                 v:Destroy()
  9488.             end
  9489.         end
  9490.     end
  9491. end)
  9492.  
  9493. addcmd('nolegs',{'rlegs'},function(args, speaker)
  9494.     if r15(speaker) then
  9495.         for i,v in pairs(speaker.Character:GetChildren()) do
  9496.             if v:IsA("BasePart") and
  9497.                 v.Name == "RightUpperLeg" or
  9498.                 v.Name == "LeftUpperLeg" then
  9499.                 v:Destroy()
  9500.             end
  9501.         end
  9502.     else
  9503.         for i,v in pairs(speaker.Character:GetChildren()) do
  9504.             if v:IsA("BasePart") and
  9505.                 v.Name == "Right Leg" or
  9506.                 v.Name == "Left Leg" then
  9507.                 v:Destroy()
  9508.             end
  9509.         end
  9510.     end
  9511. end)
  9512.  
  9513. addcmd("sit", {}, function(args, speaker)
  9514.     speaker.Character:FindFirstChildWhichIsA("Humanoid").Sit = true
  9515. end)
  9516.  
  9517. addcmd("lay", {"laydown"}, function(args, speaker)
  9518.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  9519.     humanoid.Sit = true
  9520.     task.wait(0.1)
  9521.     humanoid.RootPart.CFrame = humanoid.RootPart.CFrame * CFrame.Angles(math.pi * 0.5, 0, 0)
  9522.     for _, v in ipairs(humanoid:GetPlayingAnimationTracks()) do
  9523.         v:Stop()
  9524.     end
  9525. end)
  9526.  
  9527. addcmd("sitwalk", {}, function(args, speaker)
  9528.     local anims = speaker.Character.Animate
  9529.     local sit = anims.sit:FindFirstChildWhichIsA("Animation").AnimationId
  9530.     anims.idle:FindFirstChildWhichIsA("Animation").AnimationId = sit
  9531.     anims.walk:FindFirstChildWhichIsA("Animation").AnimationId = sit
  9532.     anims.run:FindFirstChildWhichIsA("Animation").AnimationId = sit
  9533.     anims.jump:FindFirstChildWhichIsA("Animation").AnimationId = sit
  9534.     speaker.Character:FindFirstChildWhichIsA("Humanoid").HipHeight = not r15(speaker) and -1.5 or 0.5
  9535. end)
  9536.  
  9537. function noSitFunc()
  9538.     wait()
  9539.     if Players.LocalPlayer.Character:FindFirstChildWhichIsA("Humanoid").Sit then
  9540.         Players.LocalPlayer.Character:FindFirstChildWhichIsA("Humanoid").Sit = false
  9541.     end
  9542. end
  9543. addcmd("nosit", {}, function(args, speaker)
  9544.     if noSit then noSit:Disconnect() nositDied:Disconnect() end
  9545.     noSit = Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid'):GetPropertyChangedSignal("Sit"):Connect(noSitFunc)
  9546.     local function nositDiedFunc()
  9547.         repeat wait() until speaker.Character ~= nil and speaker.Character:FindFirstChildOfClass("Humanoid")
  9548.         noSit:Disconnect()
  9549.         noSit = Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid'):GetPropertyChangedSignal("Sit"):Connect(noSitFunc)
  9550.     end
  9551.     nositDied = speaker.CharacterAdded:Connect(nositDiedFunc)
  9552. end)
  9553.  
  9554. addcmd("unnosit", {}, function(args, speaker)
  9555.     if noSit then noSit:Disconnect() nositDied:Disconnect() end
  9556. end)
  9557.  
  9558. addcmd("jump", {}, function(args, speaker)
  9559.     speaker.Character:FindFirstChildWhichIsA("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping)
  9560. end)
  9561.  
  9562. local infJump
  9563. infJumpDebounce = false
  9564. addcmd("infjump", {"infinitejump"}, function(args, speaker)
  9565.     if infJump then infJump:Disconnect() end
  9566.     infJumpDebounce = false
  9567.     infJump = UserInputService.JumpRequest:Connect(function()
  9568.         if not infJumpDebounce then
  9569.             infJumpDebounce = true
  9570.             speaker.Character:FindFirstChildWhichIsA("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping)
  9571.             wait()
  9572.             infJumpDebounce = false
  9573.         end
  9574.     end)
  9575. end)
  9576.  
  9577. addcmd("uninfjump", {"uninfinitejump", "noinfjump", "noinfinitejump"}, function(args, speaker)
  9578.     if infJump then infJump:Disconnect() end
  9579.     infJumpDebounce = false
  9580. end)
  9581.  
  9582. local flyjump
  9583. addcmd("flyjump", {}, function(args, speaker)
  9584.     if flyjump then flyjump:Disconnect() end
  9585.     flyjump = UserInputService.JumpRequest:Connect(function()
  9586.         speaker.Character:FindFirstChildWhichIsA("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping)
  9587.     end)
  9588. end)
  9589.  
  9590. addcmd("unflyjump", {"noflyjump"}, function(args, speaker)
  9591.     if flyjump then flyjump:Disconnect() end
  9592. end)
  9593.  
  9594. local HumanModCons = {}
  9595. addcmd('autojump',{'ajump'},function(args, speaker)
  9596.     local Char = speaker.Character
  9597.     local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  9598.     local function autoJump()
  9599.         if Char and Human then
  9600.             local check1 = workspace:FindPartOnRay(Ray.new(Human.RootPart.Position-Vector3.new(0,1.5,0), Human.RootPart.CFrame.lookVector*3), Human.Parent)
  9601.             local check2 = workspace:FindPartOnRay(Ray.new(Human.RootPart.Position+Vector3.new(0,1.5,0), Human.RootPart.CFrame.lookVector*3), Human.Parent)
  9602.             if check1 or check2 then
  9603.                 Human.Jump = true
  9604.             end
  9605.         end
  9606.     end
  9607.     autoJump()
  9608.     HumanModCons.ajLoop = (HumanModCons.ajLoop and HumanModCons.ajLoop:Disconnect() and false) or RunService.RenderStepped:Connect(autoJump)
  9609.     HumanModCons.ajCA = (HumanModCons.ajCA and HumanModCons.ajCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
  9610.         Char, Human = nChar, nChar:WaitForChild("Humanoid")
  9611.         autoJump()
  9612.         HumanModCons.ajLoop = (HumanModCons.ajLoop and HumanModCons.ajLoop:Disconnect() and false) or RunService.RenderStepped:Connect(autoJump)
  9613.     end)
  9614. end)
  9615.  
  9616. addcmd('unautojump',{'noautojump', 'noajump', 'unajump'},function(args, speaker)
  9617.     HumanModCons.ajLoop = (HumanModCons.ajLoop and HumanModCons.ajLoop:Disconnect() and false) or nil
  9618.     HumanModCons.ajCA = (HumanModCons.ajCA and HumanModCons.ajCA:Disconnect() and false) or nil
  9619. end)
  9620.  
  9621. addcmd('edgejump',{'ejump'},function(args, speaker)
  9622.     local Char = speaker.Character
  9623.     local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  9624.     -- Full credit to NoelGamer06 @V3rmillion
  9625.     local state
  9626.     local laststate
  9627.     local lastcf
  9628.     local function edgejump()
  9629.         if Char and Human then
  9630.             laststate = state
  9631.             state = Human:GetState()
  9632.             if laststate ~= state and state == Enum.HumanoidStateType.Freefall and laststate ~= Enum.HumanoidStateType.Jumping then
  9633.                 Char.HumanoidRootPart.CFrame = lastcf
  9634.                 Char.HumanoidRootPart.Velocity = Vector3.new(Char.HumanoidRootPart.Velocity.X, Human.JumpPower or Human.JumpHeight, Char.HumanoidRootPart.Velocity.Z)
  9635.             end
  9636.             lastcf = Char.HumanoidRootPart.CFrame
  9637.         end
  9638.     end
  9639.     edgejump()
  9640.     HumanModCons.ejLoop = (HumanModCons.ejLoop and HumanModCons.ejLoop:Disconnect() and false) or RunService.RenderStepped:Connect(edgejump)
  9641.     HumanModCons.ejCA = (HumanModCons.ejCA and HumanModCons.ejCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
  9642.         Char, Human = nChar, nChar:WaitForChild("Humanoid")
  9643.         edgejump()
  9644.         HumanModCons.ejLoop = (HumanModCons.ejLoop and HumanModCons.ejLoop:Disconnect() and false) or RunService.RenderStepped:Connect(edgejump)
  9645.     end)
  9646. end)
  9647.  
  9648. addcmd('unedgejump',{'noedgejump', 'noejump', 'unejump'},function(args, speaker)
  9649.     HumanModCons.ejLoop = (HumanModCons.ejLoop and HumanModCons.ejLoop:Disconnect() and false) or nil
  9650.     HumanModCons.ejCA = (HumanModCons.ejCA and HumanModCons.ejCA:Disconnect() and false) or nil
  9651. end)
  9652.  
  9653. addcmd('team',{},function(args, speaker)
  9654.     local teamname = nil
  9655.     for a,b in pairs(Teams:GetChildren()) do
  9656.         local L_name = b.Name:lower()
  9657.         local F = L_name:find(getstring(1))
  9658.         if F == 1 then
  9659.             teamname = b
  9660.         end
  9661.     end
  9662.     speaker.Team = teamname
  9663. end)
  9664.  
  9665. addcmd('nobgui',{'unbgui','nobillboardgui','unbillboardgui','noname','rohg'},function(args, speaker)
  9666.     for i,v in pairs(speaker.Character:GetDescendants())do
  9667.         if v:IsA("BillboardGui") or v:IsA("SurfaceGui") then
  9668.             v:Destroy()
  9669.         end
  9670.     end
  9671. end)
  9672.  
  9673. addcmd('loopnobgui',{'loopunbgui','loopnobillboardgui','loopunbillboardgui','loopnoname','looprohg'},function(args, speaker)
  9674.     for i,v in pairs(speaker.Character:GetDescendants())do
  9675.         if v:IsA("BillboardGui") or v:IsA("SurfaceGui") then
  9676.             v:Destroy()
  9677.         end
  9678.     end
  9679.     local function charPartAdded(part)
  9680.         if part:IsA("BillboardGui") or part:IsA("SurfaceGui") then
  9681.             wait()
  9682.             part:Destroy()
  9683.         end
  9684.     end
  9685.     charPartTrigger = speaker.Character.DescendantAdded:Connect(charPartAdded)
  9686. end)
  9687.  
  9688. addcmd('unloopnobgui',{'unloopunbgui','unloopnobillboardgui','unloopunbillboardgui','unloopnoname','unlooprohg'},function(args, speaker)
  9689.     if charPartTrigger then
  9690.         charPartTrigger:Disconnect()
  9691.     end
  9692. end)
  9693.  
  9694. addcmd('spasm',{},function(args, speaker)
  9695.     if not r15(speaker) then
  9696.         local pchar=speaker.Character
  9697.         local AnimationId = "33796059"
  9698.         SpasmAnim = Instance.new("Animation")
  9699.         SpasmAnim.AnimationId = "rbxassetid://"..AnimationId
  9700.         Spasm = pchar:FindFirstChildOfClass('Humanoid'):LoadAnimation(SpasmAnim)
  9701.         Spasm:Play()
  9702.         Spasm:AdjustSpeed(99)
  9703.     else
  9704.         notify('R6 Required','This command requires the r6 rig type')
  9705.     end
  9706. end)
  9707.  
  9708. addcmd('unspasm',{'nospasm'},function(args, speaker)
  9709.     Spasm:Stop()
  9710.     SpasmAnim:Destroy()
  9711. end)
  9712.  
  9713. addcmd('headthrow',{},function(args, speaker)
  9714.     if not r15(speaker) then
  9715.         local AnimationId = "35154961"
  9716.         local Anim = Instance.new("Animation")
  9717.         Anim.AnimationId = "rbxassetid://"..AnimationId
  9718.         local k = speaker.Character:FindFirstChildOfClass('Humanoid'):LoadAnimation(Anim)
  9719.         k:Play(0)
  9720.         k:AdjustSpeed(1)
  9721.     else
  9722.         notify('R6 Required','This command requires the r6 rig type')
  9723.     end
  9724. end)
  9725.  
  9726. addcmd('animation',{'anim'},function(args, speaker)
  9727.     if not r15(speaker) then
  9728.         local pchar=speaker.Character
  9729.         local AnimationId = tostring(args[1])
  9730.         local Anim = Instance.new("Animation")
  9731.         Anim.AnimationId = "rbxassetid://"..AnimationId
  9732.         local k = pchar:FindFirstChildOfClass('Humanoid'):LoadAnimation(Anim)
  9733.         k:Play()
  9734.         if args[2] then
  9735.             k:AdjustSpeed(tostring(args[2]))
  9736.         end
  9737.     else
  9738.         notify('R6 Required','This command requires the r6 rig type')
  9739.     end
  9740. end)
  9741.  
  9742. addcmd('noanim',{},function(args, speaker)
  9743.     speaker.Character.Animate.Disabled = true
  9744. end)
  9745.  
  9746. addcmd('reanim',{},function(args, speaker)
  9747.     speaker.Character.Animate.Disabled = false
  9748. end)
  9749.  
  9750. addcmd('animspeed',{},function(args, speaker)
  9751.     local Char = speaker.Character
  9752.     local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
  9753.  
  9754.     for i,v in next, Hum:GetPlayingAnimationTracks() do
  9755.         v:AdjustSpeed(tonumber(args[1] or 1))
  9756.     end
  9757. end)
  9758.  
  9759. addcmd('copyanimation',{'copyanim','copyemote'},function(args, speaker)
  9760.     local players = getPlayer(args[1], speaker)
  9761.     for _,v in ipairs(players)do
  9762.         local char = Players[v].Character
  9763.         for _, v1 in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetPlayingAnimationTracks()) do
  9764.             v1:Stop()
  9765.         end
  9766.         for _, v1 in pairs(Players[v].Character:FindFirstChildOfClass('Humanoid'):GetPlayingAnimationTracks()) do
  9767.             if not string.find(v1.Animation.AnimationId, "507768375") then
  9768.                 local ANIM = speaker.Character:FindFirstChildOfClass('Humanoid'):LoadAnimation(v1.Animation)
  9769.                 ANIM:Play(.1, 1, v1.Speed)
  9770.                 ANIM.TimePosition = v1.TimePosition
  9771.                 task.spawn(function()
  9772.                     v1.Stopped:Wait()
  9773.                     ANIM:Stop()
  9774.                     ANIM:Destroy()
  9775.                 end)
  9776.             end
  9777.         end
  9778.     end
  9779. end)
  9780.  
  9781. addcmd("copyanimationid", {"copyanimid", "copyemoteid"}, function(args, speaker)
  9782.     local copyAnimId = function(player)
  9783.         local found = "Animations Copied"
  9784.  
  9785.         for _, v in pairs(player.Character:FindFirstChildWhichIsA("Humanoid"):GetPlayingAnimationTracks()) do
  9786.             local animationId = v.Animation.AnimationId
  9787.             local assetId = animationId:find("rbxassetid://") and animationId:match("%d+")
  9788.  
  9789.             if not string.find(animationId, "507768375") and not string.find(animationId, "180435571") then
  9790.                 if assetId then
  9791.                     local success, result = pcall(function()
  9792.                         return MarketplaceService:GetProductInfo(tonumber(assetId)).Name
  9793.                     end)
  9794.                     local name = success and result or "Failed to get name"
  9795.                     found = found .. "\n\nName: " .. name .. "\nAnimation Id: " .. animationId
  9796.                 else
  9797.                     found = found .. "\n\nAnimation Id: " .. animationId
  9798.                 end
  9799.             end
  9800.         end
  9801.  
  9802.         if found ~= "Animations Copied" then
  9803.             toClipboard(found)
  9804.         else
  9805.             notify("Animations", "No animations to copy")
  9806.         end
  9807.     end
  9808.  
  9809.     if args[1] then
  9810.         copyAnimId(Players[getPlayer(args[1], speaker)[1]])
  9811.     else
  9812.         copyAnimId(speaker)
  9813.     end
  9814. end)
  9815.  
  9816. addcmd('stopanimations',{'stopanims','stopanim'},function(args, speaker)
  9817.     local Char = speaker.Character
  9818.     local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
  9819.  
  9820.     for i,v in next, Hum:GetPlayingAnimationTracks() do
  9821.         v:Stop()
  9822.     end
  9823. end)
  9824.  
  9825. addcmd('refreshanimations', {'refreshanimation', 'refreshanims', 'refreshanim'}, function(args, speaker)
  9826.     local Char = speaker.Character or speaker.CharacterAdded:Wait()
  9827.     local Human = Char and Char:WaitForChild('Humanoid', 15)
  9828.     local Animate = Char and Char:WaitForChild('Animate', 15)
  9829.     if not Human or not Animate then
  9830.         return notify('Refresh Animations', 'Failed to get Animate/Humanoid')
  9831.     end
  9832.     Animate.Disabled = true
  9833.     for _, v in ipairs(Human:GetPlayingAnimationTracks()) do
  9834.         v:Stop()
  9835.     end
  9836.     Animate.Disabled = false
  9837. end)
  9838.  
  9839. addcmd('allowcustomanim', {'allowcustomanimations'}, function(args, speaker)
  9840.     StarterPlayer.AllowCustomAnimations = true
  9841.     execCmd('refreshanimations')
  9842. end)
  9843.  
  9844. addcmd('unallowcustomanim', {'unallowcustomanimations'}, function(args, speaker)
  9845.     StarterPlayer.AllowCustomAnimations = false
  9846.     execCmd('refreshanimations')
  9847. end)
  9848.  
  9849. addcmd('loopanimation', {'loopanim'},function(args, speaker)
  9850.     local Char = speaker.Character
  9851.     local Human = Char and Char.FindFirstChildWhichIsA(Char, "Humanoid")
  9852.     for _, v in ipairs(Human.GetPlayingAnimationTracks(Human)) do
  9853.         v.Looped = true
  9854.     end
  9855. end)
  9856.  
  9857. addcmd('tpposition',{'tppos'},function(args, speaker)
  9858.     if #args < 3 then return end
  9859.     local tpX,tpY,tpZ = tonumber((args[1]:gsub(",", ""))),tonumber((args[2]:gsub(",", ""))),tonumber((args[3]:gsub(",", "")))
  9860.     local char = speaker.Character
  9861.     if char and getRoot(char) then
  9862.         getRoot(char).CFrame = CFrame.new(tpX,tpY,tpZ)
  9863.     end
  9864. end)
  9865.  
  9866. addcmd('tweentpposition',{'ttppos'},function(args, speaker)
  9867.     if #args < 3 then return end
  9868.     local tpX,tpY,tpZ = tonumber((args[1]:gsub(",", ""))),tonumber((args[2]:gsub(",", ""))),tonumber((args[3]:gsub(",", "")))
  9869.     local char = speaker.Character
  9870.     if char and getRoot(char) then
  9871.         TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(tpX,tpY,tpZ)}):Play()
  9872.     end
  9873. end)
  9874.  
  9875. addcmd('offset',{},function(args, speaker)
  9876.     if #args < 3 then
  9877.         return
  9878.     end
  9879.     if speaker.Character then
  9880.         speaker.Character:TranslateBy(Vector3.new(tonumber(args[1]) or 0, tonumber(args[2]) or 0, tonumber(args[3]) or 0))
  9881.     end
  9882. end)
  9883.  
  9884. addcmd('tweenoffset',{'toffset'},function(args, speaker)
  9885.     if #args < 3 then return end
  9886.     local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
  9887.     local char = speaker.Character
  9888.     if char and getRoot(char) then
  9889.         TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(tpX,tpY,tpZ)}):Play()
  9890.     end
  9891. end)
  9892.  
  9893. addcmd('clickteleport',{},function(args, speaker)
  9894.     if speaker == Players.LocalPlayer then
  9895.         notify('Click TP','Go to Settings>Keybinds>Add to set up click tp')
  9896.     end
  9897. end)
  9898.  
  9899. addcmd('tptool', {'teleporttool'}, function(args, speaker)
  9900.     local TpTool = Instance.new("Tool")
  9901.     TpTool.Name = "Teleport Tool"
  9902.     TpTool.RequiresHandle = false
  9903.     TpTool.Parent = speaker.Backpack
  9904.     TpTool.Activated:Connect(function()
  9905.         local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
  9906.         local HRP = Char and Char:FindFirstChild("HumanoidRootPart")
  9907.         if not Char or not HRP then
  9908.             return warn("Failed to find HumanoidRootPart")
  9909.         end
  9910.         HRP.CFrame = CFrame.new(IYMouse.Hit.X, IYMouse.Hit.Y + 3, IYMouse.Hit.Z, select(4, HRP.CFrame:components()))
  9911.     end)
  9912. end)
  9913.  
  9914. addcmd('clickdelete',{},function(args, speaker)
  9915.     if speaker == Players.LocalPlayer then
  9916.         notify('Click Delete','Go to Settings>Keybinds>Add to set up click delete')
  9917.     end
  9918. end)
  9919.  
  9920. addcmd('getposition',{'getpos','notifypos','notifyposition'},function(args, speaker)
  9921.     local players = getPlayer(args[1], speaker)
  9922.     for i,v in pairs(players)do
  9923.         local char = Players[v].Character
  9924.         local pos = char and (getRoot(char) or char:FindFirstChildWhichIsA("BasePart"))
  9925.         pos = pos and pos.Position
  9926.         if not pos then
  9927.             return notify('Getposition Error','Missing character')
  9928.         end
  9929.         local roundedPos = math.round(pos.X) .. ", " .. math.round(pos.Y) .. ", " .. math.round(pos.Z)
  9930.         notify('Current Position',roundedPos)
  9931.     end
  9932. end)
  9933.  
  9934. addcmd('copyposition',{'copypos'},function(args, speaker)
  9935.     local players = getPlayer(args[1], speaker)
  9936.     for i,v in pairs(players)do
  9937.         local char = Players[v].Character
  9938.         local pos = char and (getRoot(char) or char:FindFirstChildWhichIsA("BasePart"))
  9939.         pos = pos and pos.Position
  9940.         if not pos then
  9941.             return notify('Getposition Error','Missing character')
  9942.         end
  9943.         local roundedPos = math.round(pos.X) .. ", " .. math.round(pos.Y) .. ", " .. math.round(pos.Z)
  9944.         toClipboard(roundedPos)
  9945.     end
  9946. end)
  9947.  
  9948. addcmd('walktopos',{'walktoposition'},function(args, speaker)
  9949.     if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  9950.         speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  9951.         wait(.1)
  9952.     end
  9953.     speaker.Character:FindFirstChildOfClass('Humanoid').WalkToPoint = Vector3.new(args[1],args[2],args[3])
  9954. end)
  9955.  
  9956. addcmd('speed',{'ws','walkspeed'},function(args, speaker)
  9957.     if args[2] then
  9958.         local speed = args[2] or 16
  9959.         if isNumber(speed) then
  9960.             speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
  9961.         end
  9962.     else
  9963.         local speed = args[1] or 16
  9964.         if isNumber(speed) then
  9965.             speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
  9966.         end
  9967.     end
  9968. end)
  9969.  
  9970. addcmd('spoofspeed',{'spoofws','spoofwalkspeed'},function(args, speaker)
  9971.     if args[1] and isNumber(args[1]) then
  9972.         if hookmetamethod then
  9973.             local char = speaker.Character
  9974.             local setspeed;
  9975.             local index; index = hookmetamethod(game, "__index", function(self, key)
  9976.                 local keyclean = key:gsub("\0", "")
  9977.                 if (keyclean == "WalkSpeed" or keyclean == "walkSpeed") and self:IsA("Humanoid") and self:IsDescendantOf(char) and not checkcaller() then
  9978.                     return setspeed or args[1]
  9979.                 end
  9980.                 return index(self, key)
  9981.             end)
  9982.             local newindex; newindex = hookmetamethod(game, "__newindex", function(self, key, value)
  9983.                 local keyclean = string.gsub(key, "\0", "")
  9984.                 if (keyclean == "WalkSpeed" or keyclean == "walkSpeed") and self:IsA("Humanoid") and self:IsDescendantOf(char) and not checkcaller() then
  9985.                     setspeed = tonumber(value)
  9986.                     return setspeed
  9987.                 end
  9988.                 return newindex(self, key, value)
  9989.             end)
  9990.         else
  9991.             notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)')
  9992.         end
  9993.     end
  9994. end)
  9995.  
  9996. addcmd('loopspeed',{'loopws'},function(args, speaker)
  9997.     local speed = args[1] or 16
  9998.     if args[2] then
  9999.         speed = args[2] or 16
  10000.     end
  10001.     if isNumber(speed) then
  10002.         local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
  10003.         local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  10004.         local function WalkSpeedChange()
  10005.             if Char and Human then
  10006.                 Human.WalkSpeed = speed
  10007.             end
  10008.         end
  10009.         WalkSpeedChange()
  10010.         HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("WalkSpeed"):Connect(WalkSpeedChange)
  10011.         HumanModCons.wsCA = (HumanModCons.wsCA and HumanModCons.wsCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
  10012.             Char, Human = nChar, nChar:WaitForChild("Humanoid")
  10013.             WalkSpeedChange()
  10014.             HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("WalkSpeed"):Connect(WalkSpeedChange)
  10015.         end)
  10016.     end
  10017. end)
  10018.  
  10019. addcmd('unloopspeed',{'unloopws'},function(args, speaker)
  10020.     HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or nil
  10021.     HumanModCons.wsCA = (HumanModCons.wsCA and HumanModCons.wsCA:Disconnect() and false) or nil
  10022. end)
  10023.  
  10024. addcmd('spoofjumppower',{'spoofjp'},function(args, speaker)
  10025.     if args[1] and isNumber(args[1]) then
  10026.         if hookmetamethod then
  10027.             local char = speaker.Character
  10028.             local setpower;
  10029.             local index; index = hookmetamethod(game, "__index", function(self, key)
  10030.                 local keyclean = key:gsub("\0", "")
  10031.                 if (keyclean == "JumpPower" or keyclean == "jumpPower") and self:IsA("Humanoid") and self:IsDescendantOf(char) and not checkcaller() then
  10032.                     return setpower or args[1]
  10033.                 end
  10034.                 return index(self, key)
  10035.             end)
  10036.             local newindex; newindex = hookmetamethod(game, "__newindex", function(self, key, value)
  10037.                 local keyclean = string.gsub(key, "\0", "")
  10038.                 if (keyclean == "JumpPower" or keyclean == "jumpPower") and self:IsA("Humanoid") and self:IsDescendantOf(char) and not checkcaller() then
  10039.                     setpower = tonumber(value)
  10040.                     return setpower
  10041.                 end
  10042.                 return newindex(self, key, value)
  10043.             end)
  10044.         else
  10045.             notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)')
  10046.         end
  10047.     end
  10048. end)
  10049.  
  10050. addcmd('loopjumppower',{'loopjp','loopjpower'},function(args, speaker)
  10051.     local jpower = args[1] or 50
  10052.     if isNumber(jpower) then
  10053.         local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
  10054.         local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  10055.         local function JumpPowerChange()
  10056.             if Char and Human then
  10057.                 if speaker.Character:FindFirstChildOfClass('Humanoid').UseJumpPower then
  10058.                     speaker.Character:FindFirstChildOfClass('Humanoid').JumpPower = jpower
  10059.                 else
  10060.                     speaker.Character:FindFirstChildOfClass('Humanoid').JumpHeight  = jpower
  10061.                 end
  10062.             end
  10063.         end
  10064.         JumpPowerChange()
  10065.         HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("JumpPower"):Connect(JumpPowerChange)
  10066.         HumanModCons.jpCA = (HumanModCons.jpCA and HumanModCons.jpCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
  10067.             Char, Human = nChar, nChar:WaitForChild("Humanoid")
  10068.             JumpPowerChange()
  10069.             HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("JumpPower"):Connect(JumpPowerChange)
  10070.         end)
  10071.     end
  10072. end)
  10073.  
  10074. addcmd('unloopjumppower',{'unloopjp','unloopjpower'},function(args, speaker)
  10075.     local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
  10076.     local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  10077.     HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or nil
  10078.     HumanModCons.jpCA = (HumanModCons.jpCA and HumanModCons.jpCA:Disconnect() and false) or nil
  10079.     if Char and Human then
  10080.         if speaker.Character:FindFirstChildOfClass('Humanoid').UseJumpPower then
  10081.             speaker.Character:FindFirstChildOfClass('Humanoid').JumpPower = 50
  10082.         else
  10083.             speaker.Character:FindFirstChildOfClass('Humanoid').JumpHeight  = 50
  10084.         end
  10085.     end
  10086. end)
  10087.  
  10088. addcmd('tools',{'gears'},function(args, speaker)
  10089.     local function copy(instance)
  10090.         for i,c in pairs(instance:GetChildren())do
  10091.             if c:IsA('Tool') or c:IsA('HopperBin') then
  10092.                 c:Clone().Parent = speaker:FindFirstChildOfClass("Backpack")
  10093.             end
  10094.             copy(c)
  10095.         end
  10096.     end
  10097.     copy(Lighting)
  10098.     local function copy(instance)
  10099.         for i,c in pairs(instance:GetChildren())do
  10100.             if c:IsA('Tool') or c:IsA('HopperBin') then
  10101.                 c:Clone().Parent = speaker:FindFirstChildOfClass("Backpack")
  10102.             end
  10103.             copy(c)
  10104.         end
  10105.     end
  10106.     copy(ReplicatedStorage)
  10107.     notify('Tools','Copied tools from ReplicatedStorage and Lighting')
  10108. end)
  10109.  
  10110. addcmd('notools',{'rtools','clrtools','removetools','deletetools','dtools'},function(args, speaker)
  10111.     for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetDescendants()) do
  10112.         if v:IsA('Tool') or v:IsA('HopperBin') then
  10113.             v:Destroy()
  10114.         end
  10115.     end
  10116.     for i,v in pairs(speaker.Character:GetDescendants()) do
  10117.         if v:IsA('Tool') or v:IsA('HopperBin') then
  10118.             v:Destroy()
  10119.         end
  10120.     end
  10121. end)
  10122.  
  10123. addcmd('deleteselectedtool',{'dst'},function(args, speaker)
  10124.     for i,v in pairs(speaker.Character:GetDescendants()) do
  10125.         if v:IsA('Tool') or v:IsA('HopperBin') then
  10126.             v:Destroy()
  10127.         end
  10128.     end
  10129. end)
  10130.  
  10131. addcmd("console", {}, function(args, speaker)
  10132.     StarterGui:SetCore("DevConsoleVisible", true)
  10133. end)
  10134.  
  10135. addcmd('oldconsole',{},function(args, speaker)
  10136.     -- Thanks wally!!
  10137.     notify("Loading",'Hold on a sec')
  10138.     local _, str = pcall(function()
  10139.         return game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/console.lua", true)
  10140.     end)
  10141.  
  10142.     local s, e = loadstring(str)
  10143.     if typeof(s) ~= "function" then
  10144.         return
  10145.     end
  10146.  
  10147.     local success, message = pcall(s)
  10148.     if (not success) then
  10149.         if printconsole then
  10150.             printconsole(message)
  10151.         elseif printoutput then
  10152.             printoutput(message)
  10153.         end
  10154.     end
  10155.     wait(1)
  10156.     notify('Console','Press F9 to open the console')
  10157. end)
  10158.  
  10159. addcmd('explorer', {'dex'}, function(args, speaker)
  10160.     notify('Loading', 'Hold on a sec')
  10161.     loadstring(game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/dex.lua"))()
  10162. end)
  10163.  
  10164. addcmd('olddex', {'odex'}, function(args, speaker)
  10165.     notify('Loading old explorer', 'Hold on a sec')
  10166.  
  10167.     local getobjects = function(a)
  10168.         local Objects = {}
  10169.         if a then
  10170.             local b = InsertService:LoadLocalAsset(a)
  10171.             if b then
  10172.                 table.insert(Objects, b)
  10173.             end
  10174.         end
  10175.         return Objects
  10176.     end
  10177.  
  10178.     local Dex = getobjects("rbxassetid://10055842438")[1]
  10179.     Dex.Parent = PARENT
  10180.  
  10181.     local function Load(Obj, Url)
  10182.         local function GiveOwnGlobals(Func, Script)
  10183.             -- Fix for this edit of dex being poorly made
  10184.             -- I (Alex) would like to commemorate whoever added this dex in somehow finding the worst dex to ever exist
  10185.             local Fenv, RealFenv, FenvMt = {}, {
  10186.                 script = Script,
  10187.                 getupvalue = function(a, b)
  10188.                     return nil -- force it to use globals
  10189.                 end,
  10190.                 getreg = function() -- It loops registry for some idiotic reason so stop it from doing that and just use a global
  10191.                     return {} -- force it to use globals
  10192.                 end,
  10193.                 getprops = getprops or function(inst)
  10194.                     if getproperties then
  10195.                         local props = getproperties(inst)
  10196.                         if props[1] and gethiddenproperty then
  10197.                             local results = {}
  10198.                             for _,name in pairs(props) do
  10199.                                 local success, res = pcall(gethiddenproperty, inst, name)
  10200.                                 if success then
  10201.                                     results[name] = res
  10202.                                 end
  10203.                             end
  10204.  
  10205.                             return results
  10206.                         end
  10207.  
  10208.                         return props
  10209.                     end
  10210.  
  10211.                     return {}
  10212.                 end
  10213.             }, {}
  10214.             FenvMt.__index = function(a,b)
  10215.                 return RealFenv[b] == nil and getgenv()[b] or RealFenv[b]
  10216.             end
  10217.             FenvMt.__newindex = function(a, b, c)
  10218.                 if RealFenv[b] == nil then
  10219.                     getgenv()[b] = c
  10220.                 else
  10221.                     RealFenv[b] = c
  10222.                 end
  10223.             end
  10224.             setmetatable(Fenv, FenvMt)
  10225.             pcall(setfenv, Func, Fenv)
  10226.             return Func
  10227.         end
  10228.  
  10229.         local function LoadScripts(_, Script)
  10230.             if Script:IsA("LocalScript") then
  10231.                 task.spawn(function()
  10232.                     GiveOwnGlobals(loadstring(Script.Source,"="..Script:GetFullName()), Script)()
  10233.                 end)
  10234.             end
  10235.             table.foreach(Script:GetChildren(), LoadScripts)
  10236.         end
  10237.  
  10238.         LoadScripts(nil, Obj)
  10239.     end
  10240.  
  10241.     Load(Dex)
  10242. end)
  10243.  
  10244. addcmd('remotespy',{'rspy'},function(args, speaker)
  10245.     notify("Loading",'Hold on a sec')
  10246.     -- Full credit to exx, creator of SimpleSpy
  10247.     -- also thanks to NoobSploit for fixing
  10248.     loadstring(game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/SimpleSpyV3/main.lua"))()
  10249. end)
  10250.  
  10251. addcmd('audiologger',{'alogger'},function(args, speaker)
  10252.     notify("Loading",'Hold on a sec')
  10253.     loadstring(game:HttpGet(('https://raw.githubusercontent.com/infyiff/backup/main/audiologger.lua'),true))()
  10254. end)
  10255.  
  10256. local loopgoto = nil
  10257. addcmd('loopgoto',{},function(args, speaker)
  10258.     local players = getPlayer(args[1], speaker)
  10259.     for i,v in pairs(players)do
  10260.         loopgoto = nil
  10261.         if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10262.             speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10263.             wait(.1)
  10264.         end
  10265.         loopgoto = Players[v]
  10266.         local distance = 3
  10267.         if args[2] and isNumber(args[2]) then
  10268.             distance = args[2]
  10269.         end
  10270.         local lDelay = 0
  10271.         if args[3] and isNumber(args[3]) then
  10272.             lDelay = args[3]
  10273.         end
  10274.         repeat
  10275.             if Players:FindFirstChild(v) then
  10276.                 if Players[v].Character ~= nil then
  10277.                     getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(distance,1,0)
  10278.                 end
  10279.                 wait(lDelay)
  10280.             else
  10281.                 loopgoto = nil
  10282.             end
  10283.         until loopgoto ~= Players[v]
  10284.     end
  10285. end)
  10286.  
  10287. addcmd('unloopgoto',{'noloopgoto'},function(args, speaker)
  10288.     loopgoto = nil
  10289. end)
  10290.  
  10291. addcmd('headsit',{},function(args, speaker)
  10292.     local players = getPlayer(args[1], speaker)
  10293.     if headSit then headSit:Disconnect() end
  10294.     for i,v in pairs(players)do
  10295.         speaker.Character:FindFirstChildOfClass('Humanoid').Sit = true
  10296.         headSit = RunService.Heartbeat:Connect(function()
  10297.             if Players:FindFirstChild(Players[v].Name) and Players[v].Character ~= nil and getRoot(Players[v].Character) and getRoot(speaker.Character) and speaker.Character:FindFirstChildOfClass('Humanoid').Sit == true then
  10298.                 getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame * CFrame.Angles(0,math.rad(0),0)* CFrame.new(0,1.6,0.4)
  10299.             else
  10300.                 headSit:Disconnect()
  10301.             end
  10302.         end)
  10303.     end
  10304. end)
  10305.  
  10306. addcmd('chat',{'say'},function(args, speaker)
  10307.     local cString = getstring(1)
  10308.     chatMessage(cString)
  10309. end)
  10310.  
  10311.  
  10312. spamming = false
  10313. spamspeed = 1
  10314. addcmd('spam',{},function(args, speaker)
  10315.     spamming = true
  10316.     local spamstring = getstring(1)
  10317.     repeat wait(spamspeed)
  10318.         chatMessage(spamstring)
  10319.     until spamming == false
  10320. end)
  10321.  
  10322. addcmd('nospam',{'unspam'},function(args, speaker)
  10323.     spamming = false
  10324. end)
  10325.  
  10326. addcmd('whisper',{'pm'},function(args, speaker)
  10327.     local players = getPlayer(args[1], speaker)
  10328.     for i,v in pairs(players)do
  10329.         task.spawn(function()
  10330.             local plrName = Players[v].Name
  10331.             local pmstring = getstring(2)
  10332.             chatMessage("/w "..plrName.." "..pmstring)
  10333.         end)
  10334.     end
  10335. end)
  10336.  
  10337. pmspamming = {}
  10338. addcmd('pmspam',{},function(args, speaker)
  10339.     local players = getPlayer(args[1], speaker)
  10340.     for i,v in pairs(players)do
  10341.         task.spawn(function()
  10342.             local plrName = Players[v].Name
  10343.             if FindInTable(pmspamming, plrName) then return end
  10344.             table.insert(pmspamming, plrName)
  10345.             local pmspamstring = getstring(2)
  10346.             repeat
  10347.                 if Players:FindFirstChild(v) then
  10348.                     wait(spamspeed)
  10349.                     chatMessage("/w "..plrName.." "..pmspamstring)
  10350.                 else
  10351.                     for a,b in pairs(pmspamming) do if b == plrName then table.remove(pmspamming, a) end end
  10352.                 end
  10353.             until not FindInTable(pmspamming, plrName)
  10354.         end)
  10355.     end
  10356. end)
  10357.  
  10358. addcmd('nopmspam',{'unpmspam'},function(args, speaker)
  10359.     local players = getPlayer(args[1], speaker)
  10360.     for i,v in pairs(players)do
  10361.         task.spawn(function()
  10362.             for a,b in pairs(pmspamming) do
  10363.                 if b == Players[v].Name then
  10364.                     table.remove(pmspamming, a)
  10365.                 end
  10366.             end
  10367.         end)
  10368.     end
  10369. end)
  10370.  
  10371. addcmd('spamspeed',{},function(args, speaker)
  10372.     local speed = args[1] or 1
  10373.     if isNumber(speed) then
  10374.         spamspeed = speed
  10375.     end
  10376. end)
  10377.  
  10378. addcmd('bubblechat',{},function(args, speaker)
  10379.     ChatService.BubbleChatEnabled = true
  10380. end)
  10381.  
  10382. addcmd('unbubblechat',{'nobubblechat'},function(args, speaker)
  10383.     ChatService.BubbleChatEnabled = false
  10384. end)
  10385.  
  10386. addcmd('safechat',{},function(args, speaker)
  10387.     speaker:SetSuperSafeChat(true)
  10388. end)
  10389.  
  10390. addcmd('nosafechat',{'disablesafechat','unsafechat'},function(args, speaker)
  10391.     speaker:SetSuperSafeChat(false)
  10392. end)
  10393.  
  10394. addcmd('blockhead',{},function(args, speaker)
  10395.     speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy()
  10396. end)
  10397.  
  10398. addcmd('blockhats',{},function(args, speaker)
  10399.     for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do
  10400.         for i,c in pairs(v:GetDescendants()) do
  10401.             if c:IsA("SpecialMesh") then
  10402.                 c:Destroy()
  10403.             end
  10404.         end
  10405.     end
  10406. end)
  10407.  
  10408. addcmd('blocktool',{},function(args, speaker)
  10409.     for _,v in pairs(speaker.Character:GetChildren()) do
  10410.         if v:IsA("Tool") or v:IsA("HopperBin") then
  10411.             for i,c in pairs(v:GetDescendants()) do
  10412.                 if c:IsA("SpecialMesh") then
  10413.                     c:Destroy()
  10414.                 end
  10415.             end
  10416.         end
  10417.     end
  10418. end)
  10419.  
  10420. addcmd('creeper',{},function(args, speaker)
  10421.     if r15(speaker) then
  10422.         speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy()
  10423.         speaker.Character.LeftUpperArm:Destroy()
  10424.         speaker.Character.RightUpperArm:Destroy()
  10425.         speaker.Character:FindFirstChildOfClass("Humanoid"):RemoveAccessories()
  10426.     else
  10427.         speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy()
  10428.         speaker.Character["Left Arm"]:Destroy()
  10429.         speaker.Character["Right Arm"]:Destroy()
  10430.         speaker.Character:FindFirstChildOfClass("Humanoid"):RemoveAccessories()
  10431.     end
  10432. end)
  10433.  
  10434. function getTorso(x)
  10435.     x = x or Players.LocalPlayer.Character
  10436.     return x:FindFirstChild("Torso") or x:FindFirstChild("UpperTorso") or x:FindFirstChild("LowerTorso") or x:FindFirstChild("HumanoidRootPart")
  10437. end
  10438.  
  10439. addcmd("bang", {"rape"}, function(args, speaker)
  10440.     execCmd("unbang")
  10441.     wait()
  10442.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  10443.     bangAnim = Instance.new("Animation")
  10444.     bangAnim.AnimationId = not r15(speaker) and "rbxassetid://148840371" or "rbxassetid://5918726674"
  10445.     bang = humanoid:LoadAnimation(bangAnim)
  10446.     bang:Play(0.1, 1, 1)
  10447.     bang:AdjustSpeed(args[2] or 3)
  10448.     bangDied = humanoid.Died:Connect(function()
  10449.         bang:Stop()
  10450.         bangAnim:Destroy()
  10451.         bangDied:Disconnect()
  10452.         bangLoop:Disconnect()
  10453.     end)
  10454.     if args[1] then
  10455.         local players = getPlayer(args[1], speaker)
  10456.         for _, v in pairs(players) do
  10457.             local bangplr = Players[v].Name
  10458.             local bangOffet = CFrame.new(0, 0, 1.1)
  10459.             bangLoop = RunService.Stepped:Connect(function()
  10460.                 pcall(function()
  10461.                     local otherRoot = getTorso(Players[bangplr].Character)
  10462.                     getRoot(speaker.Character).CFrame = otherRoot.CFrame * bangOffet
  10463.                 end)
  10464.             end)
  10465.         end
  10466.     end
  10467. end)
  10468.  
  10469. addcmd("unbang", {"unrape"}, function(args, speaker)
  10470.     if bangDied then
  10471.         bangDied:Disconnect()
  10472.         bang:Stop()
  10473.         bangAnim:Destroy()
  10474.         bangLoop:Disconnect()
  10475.     end
  10476. end)
  10477.  
  10478. addcmd('carpet',{},function(args, speaker)
  10479.     if not r15(speaker) then
  10480.         execCmd('uncarpet')
  10481.         wait()
  10482.         local players = getPlayer(args[1], speaker)
  10483.         for i,v in pairs(players)do
  10484.             carpetAnim = Instance.new("Animation")
  10485.             carpetAnim.AnimationId = "rbxassetid://282574440"
  10486.             carpet = speaker.Character:FindFirstChildOfClass('Humanoid'):LoadAnimation(carpetAnim)
  10487.             carpet:Play(.1, 1, 1)
  10488.             local carpetplr = Players[v].Name
  10489.             carpetDied = speaker.Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
  10490.                 carpetLoop:Disconnect()
  10491.                 carpet:Stop()
  10492.                 carpetAnim:Destroy()
  10493.                 carpetDied:Disconnect()
  10494.             end)
  10495.             carpetLoop = RunService.Heartbeat:Connect(function()
  10496.                 pcall(function()
  10497.                     getRoot(Players.LocalPlayer.Character).CFrame = getRoot(Players[carpetplr].Character).CFrame
  10498.                 end)
  10499.             end)
  10500.         end
  10501.     else
  10502.         notify('R6 Required','This command requires the r6 rig type')
  10503.     end
  10504. end)
  10505.  
  10506. addcmd('uncarpet',{'nocarpet'},function(args, speaker)
  10507.     if carpetLoop then
  10508.         carpetLoop:Disconnect()
  10509.         carpetDied:Disconnect()
  10510.         carpet:Stop()
  10511.         carpetAnim:Destroy()
  10512.     end
  10513. end)
  10514.  
  10515. addcmd('friend',{},function(args, speaker)
  10516.     local players = getPlayer(args[1], speaker)
  10517.     for i,v in pairs(players)do
  10518.         speaker:RequestFriendship(v)
  10519.     end
  10520. end)
  10521.  
  10522. addcmd('unfriend',{},function(args, speaker)
  10523.     local players = getPlayer(args[1], speaker)
  10524.     for i,v in pairs(players)do
  10525.         speaker:RevokeFriendship(v)
  10526.     end
  10527. end)
  10528.  
  10529. addcmd('bringpart',{},function(args, speaker)
  10530.     for i,v in pairs(workspace:GetDescendants()) do
  10531.         if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10532.             v.CFrame = getRoot(speaker.Character).CFrame
  10533.         end
  10534.     end
  10535. end)
  10536.  
  10537. addcmd('bringpartclass',{'bpc'},function(args, speaker)
  10538.     for i,v in pairs(workspace:GetDescendants()) do
  10539.         if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10540.             v.CFrame = getRoot(speaker.Character).CFrame
  10541.         end
  10542.     end
  10543. end)
  10544.  
  10545. gotopartDelay = 0.1
  10546. addcmd('gotopart',{'topart'},function(args, speaker)
  10547.     for i,v in pairs(workspace:GetDescendants()) do
  10548.         if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10549.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10550.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10551.                 wait(.1)
  10552.             end
  10553.             wait(gotopartDelay)
  10554.             getRoot(speaker.Character).CFrame = v.CFrame
  10555.         end
  10556.     end
  10557. end)
  10558.  
  10559. addcmd('tweengotopart',{'tgotopart','ttopart'},function(args, speaker)
  10560.     for i,v in pairs(workspace:GetDescendants()) do
  10561.         if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10562.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10563.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10564.                 wait(.1)
  10565.             end
  10566.             wait(gotopartDelay)
  10567.             TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = v.CFrame}):Play()
  10568.         end
  10569.     end
  10570. end)
  10571.  
  10572. addcmd('gotopartclass',{'gpc'},function(args, speaker)
  10573.     for i,v in pairs(workspace:GetDescendants()) do
  10574.         if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10575.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10576.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10577.                 wait(.1)
  10578.             end
  10579.             wait(gotopartDelay)
  10580.             getRoot(speaker.Character).CFrame = v.CFrame
  10581.         end
  10582.     end
  10583. end)
  10584.  
  10585. addcmd('tweengotopartclass',{'tgpc'},function(args, speaker)
  10586.     for i,v in pairs(workspace:GetDescendants()) do
  10587.         if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10588.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10589.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10590.                 wait(.1)
  10591.             end
  10592.             wait(gotopartDelay)
  10593.             TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = v.CFrame}):Play()
  10594.         end
  10595.     end
  10596. end)
  10597.  
  10598. addcmd('gotomodel',{'tomodel'},function(args, speaker)
  10599.     for i,v in pairs(workspace:GetDescendants()) do
  10600.         if v.Name:lower() == getstring(1):lower() and v:IsA("Model") then
  10601.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10602.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10603.                 wait(.1)
  10604.             end
  10605.             wait(gotopartDelay)
  10606.             getRoot(speaker.Character).CFrame = v:GetModelCFrame()
  10607.         end
  10608.     end
  10609. end)
  10610.  
  10611. addcmd('tweengotomodel',{'tgotomodel','ttomodel'},function(args, speaker)
  10612.     for i,v in pairs(workspace:GetDescendants()) do
  10613.         if v.Name:lower() == getstring(1):lower() and v:IsA("Model") then
  10614.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10615.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10616.                 wait(.1)
  10617.             end
  10618.             wait(gotopartDelay)
  10619.             TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = v:GetModelCFrame()}):Play()
  10620.         end
  10621.     end
  10622. end)
  10623.  
  10624. addcmd('gotopartdelay',{},function(args, speaker)
  10625.     local gtpDelay = args[1] or 0.1
  10626.     if isNumber(gtpDelay) then
  10627.         gotopartDelay = gtpDelay
  10628.     end
  10629. end)
  10630.  
  10631. addcmd('noclickdetectorlimits',{'nocdlimits','removecdlimits'},function(args, speaker)
  10632.     for i,v in ipairs(workspace:GetDescendants()) do
  10633.         if v:IsA("ClickDetector") then
  10634.             v.MaxActivationDistance = math.huge
  10635.         end
  10636.     end
  10637. end)
  10638.  
  10639. addcmd('fireclickdetectors',{'firecd','firecds'}, function(args, speaker)
  10640.     if fireclickdetector then
  10641.         if args[1] then
  10642.             local name = getstring(1)
  10643.             for _, descendant in ipairs(workspace:GetDescendants()) do
  10644.                 if descendant:IsA("ClickDetector") and descendant.Name == name or descandant.Parent.Name == name then
  10645.                     fireclickdetector(descendant)
  10646.                 end
  10647.             end
  10648.         else
  10649.             for _, descendant in ipairs(workspace:GetDescendants()) do
  10650.                 if descendant:IsA("ClickDetector") then
  10651.                     fireclickdetector(descendant)
  10652.                 end
  10653.             end
  10654.         end
  10655.     else
  10656.         notify("Incompatible Exploit", "Your exploit does not support this command (missing fireclickdetector)")
  10657.     end
  10658. end)
  10659.  
  10660. addcmd('noproximitypromptlimits',{'nopplimits','removepplimits'},function(args, speaker)
  10661.     for i,v in pairs(workspace:GetDescendants()) do
  10662.         if v:IsA("ProximityPrompt") then
  10663.             v.MaxActivationDistance = math.huge
  10664.         end
  10665.     end
  10666. end)
  10667.  
  10668. addcmd('fireproximityprompts',{'firepp'},function(args, speaker)
  10669.     if fireproximityprompt then
  10670.         if args[1] then
  10671.             local name = getstring(1)
  10672.             for _, descendant in ipairs(workspace:GetDescendants()) do
  10673.                 if descendant:IsA("ProximityPrompt") and descendant.Name == name or descandant.Parent.Name == name then
  10674.                     fireproximityprompt(descendant)
  10675.                 end
  10676.             end
  10677.         else
  10678.             for _, descendant in ipairs(workspace:GetDescendants()) do
  10679.                 if descendant:IsA("ProximityPrompt") then
  10680.                     fireproximityprompt(descendant)
  10681.                 end
  10682.             end
  10683.         end
  10684.     else
  10685.         notify("Incompatible Exploit", "Your exploit does not support this command (missing fireproximityprompt)")
  10686.     end
  10687. end)
  10688.  
  10689. local PromptButtonHoldBegan = nil
  10690. addcmd('instantproximityprompts',{'instantpp'},function(args, speaker)
  10691.     if fireproximityprompt then
  10692.         execCmd("uninstantproximityprompts")
  10693.         wait(0.1)
  10694.         PromptButtonHoldBegan = ProximityPromptService.PromptButtonHoldBegan:Connect(function(prompt)
  10695.             fireproximityprompt(prompt)
  10696.         end)
  10697.     else
  10698.         notify('Incompatible Exploit','Your exploit does not support this command (missing fireproximityprompt)')
  10699.     end
  10700. end)
  10701.  
  10702. addcmd('uninstantproximityprompts',{'uninstantpp'},function(args, speaker)
  10703.     if PromptButtonHoldBegan ~= nil then
  10704.         PromptButtonHoldBegan:Disconnect()
  10705.         PromptButtonHoldBegan = nil
  10706.     end
  10707. end)
  10708.  
  10709. addcmd('notifyping',{'ping'},function(args, speaker)
  10710.     notify("Ping", math.round(speaker:GetNetworkPing() * 1000) .. "ms")
  10711. end)
  10712.  
  10713. addcmd('grabtools', {}, function(args, speaker)
  10714.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  10715.     for _, child in ipairs(workspace:GetChildren()) do
  10716.         if speaker.Character and child:IsA("BackpackItem") and child:FindFirstChild("Handle") then
  10717.             humanoid:EquipTool(child)
  10718.         end
  10719.     end
  10720.  
  10721.     if grabtoolsFunc then
  10722.         grabtoolsFunc:Disconnect()
  10723.     end
  10724.  
  10725.     grabtoolsFunc = workspace.ChildAdded:Connect(function(child)
  10726.         if speaker.Character and child:IsA("BackpackItem") and child:FindFirstChild("Handle") then
  10727.             humanoid:EquipTool(child)
  10728.         end
  10729.     end)
  10730.  
  10731.     notify("Grabtools", "Picking up any dropped tools")
  10732. end)
  10733.  
  10734. addcmd('nograbtools',{'ungrabtools'},function(args, speaker)
  10735.     if grabtoolsFunc then
  10736.         grabtoolsFunc:Disconnect()
  10737.     end
  10738.  
  10739.     notify("Grabtools", "Grabtools has been disabled")
  10740. end)
  10741.  
  10742. local specifictoolremoval = {}
  10743. addcmd('removespecifictool',{},function(args, speaker)
  10744.     if args[1] and speaker:FindFirstChildOfClass("Backpack") then
  10745.         local tool = string.lower(getstring(1))
  10746.         local RST = RunService.RenderStepped:Connect(function()
  10747.             if speaker:FindFirstChildOfClass("Backpack") then
  10748.                 for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
  10749.                     if v.Name:lower() == tool then
  10750.                         v:Remove()
  10751.                     end
  10752.                 end
  10753.             end
  10754.         end)
  10755.         specifictoolremoval[tool] = RST
  10756.     end
  10757. end)
  10758.  
  10759. addcmd('unremovespecifictool',{},function(args, speaker)
  10760.     if args[1] then
  10761.         local tool = string.lower(getstring(1))
  10762.         if specifictoolremoval[tool] ~= nil then
  10763.             specifictoolremoval[tool]:Disconnect()
  10764.             specifictoolremoval[tool] = nil
  10765.         end
  10766.     end
  10767. end)
  10768.  
  10769. addcmd('clearremovespecifictool',{},function(args, speaker)
  10770.     for obj in pairs(specifictoolremoval) do
  10771.         specifictoolremoval[obj]:Disconnect()
  10772.         specifictoolremoval[obj] = nil
  10773.     end
  10774. end)
  10775.  
  10776. addcmd('light',{},function(args, speaker)
  10777.     local light = Instance.new("PointLight")
  10778.     light.Parent = getRoot(speaker.Character)
  10779.     light.Range = 30
  10780.     if args[1] then
  10781.         light.Brightness = args[2]
  10782.         light.Range = args[1]
  10783.     else
  10784.         light.Brightness = 5
  10785.     end
  10786. end)
  10787.  
  10788. addcmd('unlight',{'nolight'},function(args, speaker)
  10789.     for i,v in pairs(speaker.Character:GetDescendants()) do
  10790.         if v.ClassName == "PointLight" then
  10791.             v:Destroy()
  10792.         end
  10793.     end
  10794. end)
  10795.  
  10796. addcmd('copytools',{},function(args, speaker)
  10797.     local players = getPlayer(args[1], speaker)
  10798.     for i,v in pairs(players)do
  10799.         task.spawn(function()
  10800.             for i,v in pairs(Players[v]:FindFirstChildOfClass("Backpack"):GetChildren()) do
  10801.                 if v:IsA('Tool') or v:IsA('HopperBin') then
  10802.                     v:Clone().Parent = speaker:FindFirstChildOfClass("Backpack")
  10803.                 end
  10804.             end
  10805.         end)
  10806.     end
  10807. end)
  10808.  
  10809. addcmd('naked',{},function(args, speaker)
  10810.     for i,v in pairs(speaker.Character:GetDescendants()) do
  10811.         if v:IsA("Clothing") or v:IsA("ShirtGraphic") then
  10812.             v:Destroy()
  10813.         end
  10814.     end
  10815. end)
  10816.  
  10817. addcmd('noface',{'removeface'},function(args, speaker)
  10818.     for i,v in pairs(speaker.Character:GetDescendants()) do
  10819.         if v:IsA("Decal") and v.Name == 'face' then
  10820.             v:Destroy()
  10821.         end
  10822.     end
  10823. end)
  10824.  
  10825. addcmd('spawnpoint',{'spawn'},function(args, speaker)
  10826.     spawnpos = getRoot(speaker.Character).CFrame
  10827.     spawnpoint = true
  10828.     spDelay = tonumber(args[1]) or 0.1
  10829.     notify('Spawn Point','Spawn point created at '..tostring(spawnpos))
  10830. end)
  10831.  
  10832. addcmd('nospawnpoint',{'nospawn','removespawnpoint'},function(args, speaker)
  10833.     spawnpoint = false
  10834.     notify('Spawn Point','Removed spawn point')
  10835. end)
  10836.  
  10837. addcmd('flashback',{'diedtp'},function(args, speaker)
  10838.     if lastDeath ~= nil then
  10839.         if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10840.             speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10841.             wait(.1)
  10842.         end
  10843.         getRoot(speaker.Character).CFrame = lastDeath
  10844.     end
  10845. end)
  10846.  
  10847. addcmd('hatspin',{'spinhats'},function(args, speaker)
  10848.     execCmd('unhatspin')
  10849.     wait(.5)
  10850.     for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do
  10851.         local keep = Instance.new("BodyPosition") keep.Name = randomString() keep.Parent = v.Handle
  10852.         local spin = Instance.new("BodyAngularVelocity") spin.Name = randomString() spin.Parent = v.Handle
  10853.         v.Handle:FindFirstChildOfClass("Weld"):Destroy()
  10854.         if args[1] then
  10855.             spin.AngularVelocity = Vector3.new(0, args[1], 0)
  10856.             spin.MaxTorque = Vector3.new(0, args[1] * 2, 0)
  10857.         else
  10858.             spin.AngularVelocity = Vector3.new(0, 100, 0)
  10859.             spin.MaxTorque = Vector3.new(0, 200, 0)
  10860.         end
  10861.         keep.P = 30000
  10862.         keep.D = 50
  10863.         spinhats = RunService.Stepped:Connect(function()
  10864.             pcall(function()
  10865.                 keep.Position = Players.LocalPlayer.Character.Head.Position
  10866.             end)
  10867.         end)
  10868.     end
  10869. end)
  10870.  
  10871. addcmd('unhatspin',{'unspinhats'},function(args, speaker)
  10872.     if spinhats then
  10873.         spinhats:Disconnect()
  10874.     end
  10875.     for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do
  10876.         v.Parent = workspace
  10877.         for i,c in pairs(v.Handle) do
  10878.             if c:IsA("BodyPosition") or c:IsA("BodyAngularVelocity") then
  10879.                 c:Destroy()
  10880.             end
  10881.         end
  10882.         wait()
  10883.         v.Parent = speaker.Character
  10884.     end
  10885. end)
  10886.  
  10887. addcmd('clearhats',{'cleanhats'},function(args, speaker)
  10888.     if firetouchinterest then
  10889.         local Player = Players.LocalPlayer
  10890.         local Character = Player.Character
  10891.         local Old = Character:FindFirstChild("HumanoidRootPart").CFrame
  10892.         local Hats = {}
  10893.  
  10894.         for _, child in ipairs(workspace:GetChildren()) do
  10895.             if child:IsA("Accessory") then
  10896.                 table.insert(Hats, child)
  10897.             end
  10898.         end
  10899.  
  10900.         for _, accessory in ipairs(Character:FindFirstChildOfClass("Humanoid"):GetAccessories()) do
  10901.             accessory:Destroy()
  10902.         end
  10903.  
  10904.         for i = 1, #Hats do
  10905.             repeat RunService.Heartbeat:wait() until Hats[i]
  10906.             firetouchinterest(Hats[i].Handle,Character:FindFirstChild("HumanoidRootPart"),0)
  10907.             repeat RunService.Heartbeat:wait() until Character:FindFirstChildOfClass("Accessory")
  10908.             Character:FindFirstChildOfClass("Accessory"):Destroy()
  10909.             repeat RunService.Heartbeat:wait() until not Character:FindFirstChildOfClass("Accessory")
  10910.         end
  10911.  
  10912.         execCmd("reset")
  10913.  
  10914.         Player.CharacterAdded:Wait()
  10915.  
  10916.         for i = 1,20 do
  10917.             RunService.Heartbeat:Wait()
  10918.             if Player.Character:FindFirstChild("HumanoidRootPart") then
  10919.                 Player.Character:FindFirstChild("HumanoidRootPart").CFrame = Old
  10920.             end
  10921.         end
  10922.     else
  10923.         notify("Incompatible Exploit","Your exploit does not support this command (missing firetouchinterest)")
  10924.     end
  10925. end)
  10926.  
  10927. addcmd('split',{},function(args, speaker)
  10928.     if r15(speaker) then
  10929.         speaker.Character.UpperTorso.Waist:Destroy()
  10930.     else
  10931.         notify('R15 Required','This command requires the r15 rig type')
  10932.     end
  10933. end)
  10934.  
  10935. addcmd('nilchar',{},function(args, speaker)
  10936.     if speaker.Character ~= nil then
  10937.         speaker.Character.Parent = nil
  10938.     end
  10939. end)
  10940.  
  10941. addcmd('unnilchar',{'nonilchar'},function(args, speaker)
  10942.     if speaker.Character ~= nil then
  10943.         speaker.Character.Parent = workspace
  10944.     end
  10945. end)
  10946.  
  10947. addcmd('noroot',{'removeroot','rroot'},function(args, speaker)
  10948.     if speaker.Character ~= nil then
  10949.         local char = Players.LocalPlayer.Character
  10950.         char.Parent = nil
  10951.         char.HumanoidRootPart:Destroy()
  10952.         char.Parent = workspace
  10953.     end
  10954. end)
  10955.  
  10956. addcmd('replaceroot',{'replacerootpart'},function(args, speaker)
  10957.     if speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then
  10958.         local Char = speaker.Character
  10959.         local OldParent = Char.Parent
  10960.         local HRP = Char and Char:FindFirstChild("HumanoidRootPart")
  10961.         local OldPos = HRP.CFrame
  10962.         Char.Parent = game
  10963.         local HRP1 = HRP:Clone()
  10964.         HRP1.Parent = Char
  10965.         HRP = HRP:Destroy()
  10966.         HRP1.CFrame = OldPos
  10967.         Char.Parent = OldParent
  10968.     end
  10969. end)
  10970.  
  10971. addcmd('clearcharappearance',{'clearchar','clrchar'},function(args, speaker)
  10972.     speaker:ClearCharacterAppearance()
  10973. end)
  10974.  
  10975. addcmd('equiptools',{},function(args, speaker)
  10976.     for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
  10977.         if v:IsA("Tool") or v:IsA("HopperBin") then
  10978.             v.Parent = speaker.Character
  10979.         end
  10980.     end
  10981. end)
  10982.  
  10983. addcmd('unequiptools',{},function(args, speaker)
  10984.     speaker.Character:FindFirstChildOfClass('Humanoid'):UnequipTools()
  10985. end)
  10986.  
  10987. local function GetHandleTools(p)
  10988.     p = p or Players.LocalPlayer
  10989.     local r = {}
  10990.     for _, v in ipairs(p.Character and p.Character:GetChildren() or {}) do
  10991.         if v.IsA(v, "BackpackItem") and v.FindFirstChild(v, "Handle") then
  10992.             r[#r + 1] = v
  10993.         end
  10994.     end
  10995.     for _, v in ipairs(p.Backpack:GetChildren()) do
  10996.         if v.IsA(v, "BackpackItem") and v.FindFirstChild(v, "Handle") then
  10997.             r[#r + 1] = v
  10998.         end
  10999.     end
  11000.     return r
  11001. end
  11002. addcmd('dupetools', {'clonetools'}, function(args, speaker)
  11003.     local LOOP_NUM = tonumber(args[1]) or 1
  11004.     local OrigPos = speaker.Character.HumanoidRootPart.Position
  11005.     local Tools, TempPos = {}, Vector3.new(math.random(-2e5, 2e5), 2e5, math.random(-2e5, 2e5))
  11006.     for i = 1, LOOP_NUM do
  11007.         local Human = speaker.Character:WaitForChild("Humanoid")
  11008.         wait(.1, Human.Parent:MoveTo(TempPos))
  11009.         Human.RootPart.Anchored = speaker:ClearCharacterAppearance(wait(.1)) or true
  11010.         local t = GetHandleTools(speaker)
  11011.         while #t > 0 do
  11012.             for _, v in ipairs(t) do
  11013.                 task.spawn(function()
  11014.                     for _ = 1, 25 do
  11015.                         v.Parent = speaker.Character
  11016.                         v.Handle.Anchored = true
  11017.                     end
  11018.                     for _ = 1, 5 do
  11019.                         v.Parent = workspace
  11020.                     end
  11021.                     table.insert(Tools, v.Handle)
  11022.                 end)
  11023.             end
  11024.             t = GetHandleTools(speaker)
  11025.         end
  11026.         wait(.1)
  11027.         speaker.Character = speaker.Character:Destroy()
  11028.         speaker.CharacterAdded:Wait():WaitForChild("Humanoid").Parent:MoveTo(LOOP_NUM == i and OrigPos or TempPos, wait(.1))
  11029.         if i == LOOP_NUM or i % 5 == 0 then
  11030.             local HRP = speaker.Character.HumanoidRootPart
  11031.             if type(firetouchinterest) == "function" then
  11032.                 for _, v in ipairs(Tools) do
  11033.                     v.Anchored = not firetouchinterest(v, HRP, 1, firetouchinterest(v, HRP, 0)) and false or false
  11034.                 end
  11035.             else
  11036.                 for _, v in ipairs(Tools) do
  11037.                     task.spawn(function()
  11038.                         local x = v.CanCollide
  11039.                         v.CanCollide = false
  11040.                         v.Anchored = false
  11041.                         for _ = 1, 10 do
  11042.                             v.CFrame = HRP.CFrame
  11043.                             wait()
  11044.                         end
  11045.                         v.CanCollide = x
  11046.                     end)
  11047.                 end
  11048.             end
  11049.             wait(.1)
  11050.             Tools = {}
  11051.         end
  11052.         TempPos = TempPos + Vector3.new(10, math.random(-5, 5), 0)
  11053.     end
  11054. end)
  11055.  
  11056. local RS = RunService.RenderStepped
  11057. addcmd('givetool', {'givetools'}, function(args, speaker)
  11058.     local v = Players[getPlayer(args[1], speaker)[1]].Character
  11059.     workspace.CurrentCamera.CameraSubject = v
  11060.     local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
  11061.     local hum = Char and Char:FindFirstChildWhichIsA('Humanoid')
  11062.     local hrp = hum and hum.RootPart
  11063.     local hrppos = hrp.CFrame
  11064.     hum = hum:Destroy() or hum:Clone()
  11065.     hum.Parent = Char
  11066.     hum:ClearAllChildren()
  11067.     speaker:ClearCharacterAppearance()
  11068.     task.spawn(function()
  11069.         speaker.CharacterAdded:Wait():WaitForChild('Humanoid').RootPart.CFrame = wait() and hrppos
  11070.     end)
  11071.     local vHRP = getRoot(v)
  11072.     while Char and Char.Parent and vHRP and vHRP.Parent do
  11073.         local Tools = false
  11074.         for _, v in ipairs(Char:GetChildren()) do
  11075.             if v:IsA('BackpackItem') and v:FindFirstChild('Handle') then
  11076.                 Tools = true
  11077.                 firetouchinterest(v.Handle, vHRP, 0)
  11078.                 firetouchinterest(v.Handle, vHRP, 1)
  11079.             end
  11080.         end
  11081.         if not Tools then
  11082.             break
  11083.         end
  11084.         hrp.CFrame = vHRP.CFrame
  11085.         RS:Wait()
  11086.     end
  11087.     execCmd('re')
  11088. end)
  11089.  
  11090. addcmd('touchinterests', {'touchinterest', 'firetouchinterests', 'firetouchinterest'}, function(args, speaker)
  11091.     if not firetouchinterest then
  11092.         notify("Incompatible Exploit", "Your exploit does not support this command (missing firetouchinterest)")
  11093.         return
  11094.     end
  11095.  
  11096.     local root = getRoot(speaker.Character) or speaker.Character:FindFirstChildWhichIsA("BasePart")
  11097.  
  11098.     local function touch(x)
  11099.         x = x:FindFirstAncestorWhichIsA("Part")
  11100.         if x then
  11101.             if firetouchinterest then
  11102.                 task.spawn(function()
  11103.                     firetouchinterest(x, root, 1)
  11104.                     wait()
  11105.                     firetouchinterest(x, root, 0)
  11106.                 end)
  11107.             end
  11108.             x.CFrame = root.CFrame
  11109.         end
  11110.     end
  11111.  
  11112.     if args[1] then
  11113.         local name = getstring(1)
  11114.         for _, descendant in ipairs(workspace:GetDescendants()) do
  11115.             if descendant:IsA("TouchTransmitter") and descendant.Name == name or descandant.Parent.Name == name then
  11116.                 touch(descendant)
  11117.             end
  11118.         end
  11119.     else
  11120.         for _, descendant in ipairs(workspace:GetDescendants()) do
  11121.             if descendant:IsA("TouchTransmitter") then
  11122.                 touch(descendant)
  11123.             end
  11124.         end
  11125.     end
  11126. end)
  11127.  
  11128. addcmd('fullbright',{'fb','fullbrightness'},function(args, speaker)
  11129.     Lighting.Brightness = 2
  11130.     Lighting.ClockTime = 14
  11131.     Lighting.FogEnd = 100000
  11132.     Lighting.GlobalShadows = false
  11133.     Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128)
  11134. end)
  11135.  
  11136. addcmd('loopfullbright',{'loopfb'},function(args, speaker)
  11137.     if brightLoop then
  11138.         brightLoop:Disconnect()
  11139.     end
  11140.     local function brightFunc()
  11141.         Lighting.Brightness = 2
  11142.         Lighting.ClockTime = 14
  11143.         Lighting.FogEnd = 100000
  11144.         Lighting.GlobalShadows = false
  11145.         Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128)
  11146.     end
  11147.  
  11148.     brightLoop = RunService.RenderStepped:Connect(brightFunc)
  11149. end)
  11150.  
  11151. addcmd('unloopfullbright',{'unloopfb'},function(args, speaker)
  11152.     if brightLoop then
  11153.         brightLoop:Disconnect()
  11154.     end
  11155. end)
  11156.  
  11157. addcmd('ambient',{},function(args, speaker)
  11158.     Lighting.Ambient = Color3.new(args[1],args[2],args[3])
  11159.     Lighting.OutdoorAmbient = Color3.new(args[1],args[2],args[3])
  11160. end)
  11161.  
  11162. addcmd('day',{},function(args, speaker)
  11163.     Lighting.ClockTime = 14
  11164. end)
  11165.  
  11166. addcmd('night',{},function(args, speaker)
  11167.     Lighting.ClockTime = 0
  11168. end)
  11169.  
  11170. addcmd('nofog',{},function(args, speaker)
  11171.     Lighting.FogEnd = 100000
  11172.     for i,v in pairs(Lighting:GetDescendants()) do
  11173.         if v:IsA("Atmosphere") then
  11174.             v:Destroy()
  11175.         end
  11176.     end
  11177. end)
  11178.  
  11179. addcmd('brightness',{},function(args, speaker)
  11180.     Lighting.Brightness = args[1]
  11181. end)
  11182.  
  11183. addcmd('globalshadows',{'gshadows'},function(args, speaker)
  11184.     Lighting.GlobalShadows = true
  11185. end)
  11186.  
  11187. addcmd('unglobalshadows',{'nogshadows','ungshadows','noglobalshadows'},function(args, speaker)
  11188.     Lighting.GlobalShadows = false
  11189. end)
  11190.  
  11191. origsettings = {abt = Lighting.Ambient, oabt = Lighting.OutdoorAmbient, brt = Lighting.Brightness, time = Lighting.ClockTime, fe = Lighting.FogEnd, fs = Lighting.FogStart, gs = Lighting.GlobalShadows}
  11192.  
  11193. addcmd('restorelighting',{'rlighting'},function(args, speaker)
  11194.     Lighting.Ambient = origsettings.abt
  11195.     Lighting.OutdoorAmbient = origsettings.oabt
  11196.     Lighting.Brightness = origsettings.brt
  11197.     Lighting.ClockTime = origsettings.time
  11198.     Lighting.FogEnd = origsettings.fe
  11199.     Lighting.FogStart = origsettings.fs
  11200.     Lighting.GlobalShadows = origsettings.gs
  11201. end)
  11202.  
  11203. addcmd('stun',{'platformstand'},function(args, speaker)
  11204.     speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  11205. end)
  11206.  
  11207. addcmd('unstun',{'nostun','unplatformstand','noplatformstand'},function(args, speaker)
  11208.     speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  11209. end)
  11210.  
  11211. addcmd('norotate',{'noautorotate'},function(args, speaker)
  11212.     speaker.Character:FindFirstChildOfClass('Humanoid').AutoRotate  = false
  11213. end)
  11214.  
  11215. addcmd('unnorotate',{'autorotate'},function(args, speaker)
  11216.     speaker.Character:FindFirstChildOfClass('Humanoid').AutoRotate  = true
  11217. end)
  11218.  
  11219. addcmd('enablestate',{},function(args, speaker)
  11220.     local x = args[1]
  11221.     if not tonumber(x) then
  11222.         local x = Enum.HumanoidStateType[args[1]]
  11223.     end
  11224.     speaker.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(x, true)
  11225. end)
  11226.  
  11227. addcmd('disablestate',{},function(args, speaker)
  11228.     local x = args[1]
  11229.     if not tonumber(x) then
  11230.         local x = Enum.HumanoidStateType[args[1]]
  11231.     end
  11232.     speaker.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(x, false)
  11233. end)
  11234.  
  11235. addcmd('drophats',{'drophat'},function(args, speaker)
  11236.     if speaker.Character then
  11237.         for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do
  11238.             v.Parent = workspace
  11239.         end
  11240.     end
  11241. end)
  11242.  
  11243. addcmd('deletehats',{'nohats','rhats'},function(args, speaker)
  11244.     for i,v in next, speaker.Character:GetDescendants() do
  11245.         if v:IsA("Accessory") then
  11246.             for i,p in next, v:GetDescendants() do
  11247.                 if p:IsA("Weld") then
  11248.                     p:Destroy()
  11249.                 end
  11250.             end
  11251.         end
  11252.     end
  11253. end)
  11254.  
  11255. addcmd('droptools',{'droptool'},function(args, speaker)
  11256.     for i,v in pairs(Players.LocalPlayer.Backpack:GetChildren()) do
  11257.         if v:IsA("Tool") then
  11258.             v.Parent = Players.LocalPlayer.Character
  11259.         end
  11260.     end
  11261.     wait()
  11262.     for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do
  11263.         if v:IsA("Tool") then
  11264.             v.Parent = workspace
  11265.         end
  11266.     end
  11267. end)
  11268.  
  11269. addcmd('droppabletools',{},function(args, speaker)
  11270.     if speaker.Character then
  11271.         for _,obj in pairs(speaker.Character:GetChildren()) do
  11272.             if obj:IsA("Tool") then
  11273.                 obj.CanBeDropped = true
  11274.             end
  11275.         end
  11276.     end
  11277.     if speaker:FindFirstChildOfClass("Backpack") then
  11278.         for _,obj in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
  11279.             if obj:IsA("Tool") then
  11280.                 obj.CanBeDropped = true
  11281.             end
  11282.         end
  11283.     end
  11284. end)
  11285.  
  11286. local currentToolSize = ""
  11287. local currentGripPos = ""
  11288. addcmd('reach',{},function(args, speaker)
  11289.     execCmd('unreach')
  11290.     wait()
  11291.     for i,v in pairs(speaker.Character:GetDescendants()) do
  11292.         if v:IsA("Tool") then
  11293.             if args[1] then
  11294.                 currentToolSize = v.Handle.Size
  11295.                 currentGripPos = v.GripPos
  11296.                 local a = Instance.new("SelectionBox")
  11297.                 a.Name = "SelectionBoxCreated"
  11298.                 a.Parent = v.Handle
  11299.                 a.Adornee = v.Handle
  11300.                 v.Handle.Massless = true
  11301.                 v.Handle.Size = Vector3.new(0.5,0.5,args[1])
  11302.                 v.GripPos = Vector3.new(0,0,0)
  11303.                 speaker.Character:FindFirstChildOfClass('Humanoid'):UnequipTools()
  11304.             else
  11305.                 currentToolSize = v.Handle.Size
  11306.                 currentGripPos = v.GripPos
  11307.                 local a = Instance.new("SelectionBox")
  11308.                 a.Name = "SelectionBoxCreated"
  11309.                 a.Parent = v.Handle
  11310.                 a.Adornee = v.Handle
  11311.                 v.Handle.Massless = true
  11312.                 v.Handle.Size = Vector3.new(0.5,0.5,60)
  11313.                 v.GripPos = Vector3.new(0,0,0)
  11314.                 speaker.Character:FindFirstChildOfClass('Humanoid'):UnequipTools()
  11315.             end
  11316.         end
  11317.     end
  11318. end)
  11319.  
  11320. addcmd("boxreach", {}, function(args, speaker)
  11321.     execCmd("unreach")
  11322.     wait()
  11323.     for i, v in pairs(speaker.Character:GetDescendants()) do
  11324.         if v:IsA("Tool") then
  11325.             local size = tonumber(args[1]) or 60
  11326.             currentToolSize = v.Handle.Size
  11327.             currentGripPos = v.GripPos
  11328.             local a = Instance.new("SelectionBox")
  11329.             a.Name = "SelectionBoxCreated"
  11330.             a.Parent = v.Handle
  11331.             a.Adornee = v.Handle
  11332.             v.Handle.Massless = true
  11333.             v.Handle.Size = Vector3.new(size, size, size)
  11334.             v.GripPos = Vector3.new(0, 0, 0)
  11335.             speaker.Character:FindFirstChildOfClass("Humanoid"):UnequipTools()
  11336.         end
  11337.     end
  11338. end)
  11339.  
  11340. addcmd('unreach',{'noreach','unboxreach'},function(args, speaker)
  11341.     for i,v in pairs(speaker.Character:GetDescendants()) do
  11342.         if v:IsA("Tool") then
  11343.             v.Handle.Size = currentToolSize
  11344.             v.GripPos = currentGripPos
  11345.             v.Handle.SelectionBoxCreated:Destroy()
  11346.         end
  11347.     end
  11348. end)
  11349.  
  11350. addcmd('grippos',{},function(args, speaker)
  11351.     for i,v in pairs(speaker.Character:GetDescendants()) do
  11352.         if v:IsA("Tool") then
  11353.             v.Parent = speaker:FindFirstChildOfClass("Backpack")
  11354.             v.GripPos = Vector3.new(args[1],args[2],args[3])
  11355.             v.Parent = speaker.Character
  11356.         end
  11357.     end
  11358. end)
  11359.  
  11360. addcmd('usetools', {}, function(args, speaker)
  11361.     local Backpack = speaker:FindFirstChildOfClass("Backpack")
  11362.     local ammount = tonumber(args[1]) or 1
  11363.     local delay_ = tonumber(args[2]) or false
  11364.     for _, v in ipairs(Backpack:GetChildren()) do
  11365.         v.Parent = speaker.Character
  11366.         task.spawn(function()
  11367.             for _ = 1, ammount do
  11368.                 v:Activate()
  11369.                 if delay_ then
  11370.                     wait(delay_)
  11371.                 end
  11372.             end
  11373.             v.Parent = Backpack
  11374.         end)
  11375.     end
  11376. end)
  11377.  
  11378. addcmd('logs',{},function(args, speaker)
  11379.     logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  11380. end)
  11381.  
  11382. addcmd('chatlogs',{'clogs'},function(args, speaker)
  11383.     join.Visible = false
  11384.     chat.Visible = true
  11385.     table.remove(shade3,table.find(shade3,selectChat))
  11386.     table.remove(shade2,table.find(shade2,selectJoin))
  11387.     table.insert(shade2,selectChat)
  11388.     table.insert(shade3,selectJoin)
  11389.     selectJoin.BackgroundColor3 = currentShade3
  11390.     selectChat.BackgroundColor3 = currentShade2
  11391.     logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  11392. end)
  11393.  
  11394. addcmd('joinlogs',{'jlogs'},function(args, speaker)
  11395.     chat.Visible = false
  11396.     join.Visible = true
  11397.     table.remove(shade3,table.find(shade3,selectJoin))
  11398.     table.remove(shade2,table.find(shade2,selectChat))
  11399.     table.insert(shade2,selectJoin)
  11400.     table.insert(shade3,selectChat)
  11401.     selectChat.BackgroundColor3 = currentShade3
  11402.     selectJoin.BackgroundColor3 = currentShade2
  11403.     logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  11404. end)
  11405.  
  11406. addcmd("antichatlogs", {"antichatlogger"}, function(args, speaker)
  11407.     if not isLegacyChat then
  11408.         return notify("antichatlogs", "Game needs the legacy chat")
  11409.     end
  11410.     local MessagePosted, _ = pcall(function()
  11411.         rawset(require(speaker:FindFirstChild("PlayerScripts"):FindFirstChild("ChatScript").ChatMain), "MessagePosted", {
  11412.             ["fire"] = function(msg)
  11413.                 return msg
  11414.             end,
  11415.             ["wait"] = function()
  11416.                 return
  11417.             end,
  11418.             ["connect"] = function()
  11419.                 return
  11420.             end
  11421.         })
  11422.     end)
  11423.     notify("antichatlogs", MessagePosted and "Enabled" or "Failed to enable antichatlogs")
  11424. end)
  11425.  
  11426. flinging = false
  11427. addcmd('fling',{},function(args, speaker)
  11428.     flinging = false
  11429.     for _, child in pairs(speaker.Character:GetDescendants()) do
  11430.         if child:IsA("BasePart") then
  11431.             child.CustomPhysicalProperties = PhysicalProperties.new(math.huge, 0.3, 0.5)
  11432.         end
  11433.     end
  11434.     execCmd('noclip')
  11435.     wait(.1)
  11436.     local bambam = Instance.new("BodyAngularVelocity")
  11437.     bambam.Name = randomString()
  11438.     bambam.Parent = getRoot(speaker.Character)
  11439.     bambam.AngularVelocity = Vector3.new(0,99999,0)
  11440.     bambam.MaxTorque = Vector3.new(0,math.huge,0)
  11441.     bambam.P = math.huge
  11442.     local Char = speaker.Character:GetChildren()
  11443.     for i, v in next, Char do
  11444.         if v:IsA("BasePart") then
  11445.             v.CanCollide = false
  11446.             v.Massless = true
  11447.             v.Velocity = Vector3.new(0, 0, 0)
  11448.         end
  11449.     end
  11450.     flinging = true
  11451.     local function flingDiedF()
  11452.         execCmd('unfling')
  11453.     end
  11454.     flingDied = speaker.Character:FindFirstChildOfClass('Humanoid').Died:Connect(flingDiedF)
  11455.     repeat
  11456.         bambam.AngularVelocity = Vector3.new(0,99999,0)
  11457.         wait(.2)
  11458.         bambam.AngularVelocity = Vector3.new(0,0,0)
  11459.         wait(.1)
  11460.     until flinging == false
  11461. end)
  11462.  
  11463. addcmd('unfling',{'nofling'},function(args, speaker)
  11464.     execCmd('clip')
  11465.     if flingDied then
  11466.         flingDied:Disconnect()
  11467.     end
  11468.     flinging = false
  11469.     wait(.1)
  11470.     local speakerChar = speaker.Character
  11471.     if not speakerChar or not getRoot(speakerChar) then return end
  11472.     for i,v in pairs(getRoot(speakerChar):GetChildren()) do
  11473.         if v.ClassName == 'BodyAngularVelocity' then
  11474.             v:Destroy()
  11475.         end
  11476.     end
  11477.     for _, child in pairs(speakerChar:GetDescendants()) do
  11478.         if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  11479.             child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
  11480.         end
  11481.     end
  11482. end)
  11483.  
  11484. addcmd('togglefling',{},function(args, speaker)
  11485.     if flinging then
  11486.         execCmd('unfling')
  11487.     else
  11488.         execCmd('fling')
  11489.     end
  11490. end)
  11491.  
  11492. addcmd("flyfling", {}, function(args, speaker)
  11493.     execCmd("unvehiclefly\\unfling\\unnoclip")
  11494.     wait()
  11495.     execCmd("vehiclefly\\fling\\noclip")
  11496. end)
  11497.  
  11498. addcmd("unflyfling", {}, function(args, speaker)
  11499.     execCmd("unvehiclefly\\unfling\\unnoclip\\breakvelocity")
  11500. end)
  11501.  
  11502. addcmd("toggleflyfling", {}, function(args, speaker)
  11503.     execCmd(flinging and "unflyfling" or "flyfling")
  11504. end)
  11505.  
  11506. walkflinging = false
  11507. addcmd("walkfling", {}, function(args, speaker)
  11508.     execCmd("unwalkfling")
  11509.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  11510.     if humanoid then
  11511.         humanoid.Died:Connect(function()
  11512.             execCmd("unwalkfling")
  11513.         end)
  11514.     end
  11515.  
  11516.     execCmd("noclip")
  11517.     walkflinging = true
  11518.     repeat RunService.Heartbeat:Wait()
  11519.         local character = speaker.Character
  11520.         local root = getRoot(character)
  11521.         local vel, movel = nil, 0.1
  11522.  
  11523.         while not (character and character.Parent and root and root.Parent) do
  11524.             RunService.Heartbeat:Wait()
  11525.             character = speaker.Character
  11526.             root = getRoot(character)
  11527.         end
  11528.  
  11529.         vel = root.Velocity
  11530.         root.Velocity = vel * 1000000 + Vector3.new(0, 1000000, 0)
  11531.  
  11532.         RunService.RenderStepped:Wait()
  11533.         if character and character.Parent and root and root.Parent then
  11534.             root.Velocity = vel
  11535.         end
  11536.  
  11537.         RunService.Stepped:Wait()
  11538.         if character and character.Parent and root and root.Parent then
  11539.             root.Velocity = vel + Vector3.new(0, movel, 0)
  11540.             movel = movel * -1
  11541.         end
  11542.     until walkflinging == false
  11543. end)
  11544.  
  11545. addcmd("unwalkfling", {"nowalkfling"}, function(args, speaker)
  11546.     walkflinging = false
  11547.     execCmd("unnoclip")
  11548. end)
  11549.  
  11550. addcmd("togglewalkfling", {}, function(args, speaker)
  11551.     execCmd(walkflinging and "unwalkfling" or "walkfling")
  11552. end)
  11553.  
  11554. addcmd('invisfling',{},function(args, speaker)
  11555.     local ch = speaker.Character
  11556.     local prt=Instance.new("Model")
  11557.     prt.Parent = speaker.Character
  11558.     local z1 = Instance.new("Part")
  11559.     z1.Name="Torso"
  11560.     z1.CanCollide = false
  11561.     z1.Anchored = true
  11562.     local z2 = Instance.new("Part")
  11563.     z2.Name="Head"
  11564.     z2.Parent = prt
  11565.     z2.Anchored = true
  11566.     z2.CanCollide = false
  11567.     local z3 =Instance.new("Humanoid")
  11568.     z3.Name="Humanoid"
  11569.     z3.Parent = prt
  11570.     z1.Position = Vector3.new(0,9999,0)
  11571.     speaker.Character=prt
  11572.     wait(3)
  11573.     speaker.Character=ch
  11574.     wait(3)
  11575.     local Hum = Instance.new("Humanoid")
  11576.     z2:Clone()
  11577.     Hum.Parent = speaker.Character
  11578.     local root =  getRoot(speaker.Character)
  11579.     for i,v in pairs(speaker.Character:GetChildren()) do
  11580.         if v ~= root and  v.Name ~= "Humanoid" then
  11581.             v:Destroy()
  11582.         end
  11583.     end
  11584.     root.Transparency = 0
  11585.     root.Color = Color3.new(1, 1, 1)
  11586.     local invisflingStepped
  11587.     invisflingStepped = RunService.Stepped:Connect(function()
  11588.         if speaker.Character and getRoot(speaker.Character) then
  11589.             getRoot(speaker.Character).CanCollide = false
  11590.         else
  11591.             invisflingStepped:Disconnect()
  11592.         end
  11593.     end)
  11594.     sFLY()
  11595.     workspace.CurrentCamera.CameraSubject = root
  11596.     local bambam = Instance.new("BodyThrust")
  11597.     bambam.Parent = getRoot(speaker.Character)
  11598.     bambam.Force = Vector3.new(99999,99999*10,99999)
  11599.     bambam.Location = getRoot(speaker.Character).Position
  11600. end)
  11601.  
  11602. addcmd("antifling", {}, function(args, speaker)
  11603.     if antifling then
  11604.         antifling:Disconnect()
  11605.         antifling = nil
  11606.     end
  11607.     antifling = RunService.Stepped:Connect(function()
  11608.         for _, player in pairs(Players:GetPlayers()) do
  11609.             if player ~= speaker and player.Character then
  11610.                 for _, v in pairs(player.Character:GetDescendants()) do
  11611.                     if v:IsA("BasePart") then
  11612.                         v.CanCollide = false
  11613.                     end
  11614.                 end
  11615.             end
  11616.         end
  11617.     end)
  11618. end)
  11619.  
  11620. addcmd("unantifling", {}, function(args, speaker)
  11621.     if antifling then
  11622.         antifling:Disconnect()
  11623.         antifling = nil
  11624.     end
  11625. end)
  11626.  
  11627. addcmd("toggleantifling", {}, function(args, speaker)
  11628.     execCmd(antifling and "unantifling" or "antifling")
  11629. end)
  11630.  
  11631. function attach(speaker,target)
  11632.     if tools(speaker) then
  11633.         local char = speaker.Character
  11634.         local tchar = target.Character
  11635.         local hum = speaker.Character:FindFirstChildOfClass("Humanoid")
  11636.         local hrp = getRoot(speaker.Character)
  11637.         local hrp2 = getRoot(target.Character)
  11638.         hum.Name = "1"
  11639.         local newHum = hum:Clone()
  11640.         newHum.Parent = char
  11641.         newHum.Name = "Humanoid"
  11642.         wait()
  11643.         hum:Destroy()
  11644.         workspace.CurrentCamera.CameraSubject = char
  11645.         newHum.DisplayDistanceType = "None"
  11646.         local tool = speaker:FindFirstChildOfClass("Backpack"):FindFirstChildOfClass("Tool") or speaker.Character:FindFirstChildOfClass("Tool")
  11647.         tool.Parent = char
  11648.         hrp.CFrame = hrp2.CFrame * CFrame.new(0, 0, 0) * CFrame.new(math.random(-100, 100)/200,math.random(-100, 100)/200,math.random(-100, 100)/200)
  11649.         local n = 0
  11650.         repeat
  11651.             wait(.1)
  11652.             n = n + 1
  11653.             hrp.CFrame = hrp2.CFrame
  11654.         until (tool.Parent ~= char or not hrp or not hrp2 or not hrp.Parent or not hrp2.Parent or n > 250) and n > 2
  11655.     else
  11656.         notify('Tool Required','You need to have an item in your inventory to use this command')
  11657.     end
  11658. end
  11659.  
  11660. addcmd('attach',{},function(args, speaker)
  11661.     local players = getPlayer(args[1], speaker)
  11662.     for i,v in pairs(players) do
  11663.         attach(speaker,Players[v])
  11664.     end
  11665. end)
  11666.  
  11667. function kill(speaker,target,fast)
  11668.     if tools(speaker) then
  11669.         if target ~= nil then
  11670.             local NormPos = getRoot(speaker.Character).CFrame
  11671.             if not fast then
  11672.                 refresh(speaker)
  11673.                 wait()
  11674.                 repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character)
  11675.                 wait(0.3)
  11676.             end
  11677.             local hrp = getRoot(speaker.Character)
  11678.             attach(speaker,target)
  11679.             repeat
  11680.                 wait()
  11681.                 hrp.CFrame = CFrame.new(999999, workspace.FallenPartsDestroyHeight + 5,999999)
  11682.             until not getRoot(target.Character) or not getRoot(speaker.Character)
  11683.             speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos
  11684.         end
  11685.     else
  11686.         notify('Tool Required','You need to have an item in your inventory to use this command')
  11687.     end
  11688. end
  11689.  
  11690. addcmd('kill',{'fekill'},function(args, speaker)
  11691.     local players = getPlayer(args[1], speaker)
  11692.     for i,v in pairs(players) do
  11693.         kill(speaker,Players[v])
  11694.     end
  11695. end)
  11696.  
  11697. addcmd('handlekill', {'hkill'}, function(args, speaker)
  11698.     if not firetouchinterest then
  11699.         return notify('Incompatible Exploit', 'Your exploit does not support this command (missing firetouchinterest)')
  11700.     end
  11701.     local RS = RunService.RenderStepped
  11702.     local Tool = speaker.Character.FindFirstChildWhichIsA(speaker.Character, "Tool")
  11703.     local Handle = Tool and Tool.FindFirstChild(Tool, "Handle")
  11704.     if not Tool or not Handle then
  11705.         return notify("Handle Kill", "You need to hold a \"Tool\" that does damage on touch. For example the default \"Sword\" tool.")
  11706.     end
  11707.     for _, v in ipairs(getPlayer(args[1], speaker)) do
  11708.         v = Players[v]
  11709.         task.spawn(function()
  11710.             while Tool and speaker.Character and v.Character and Tool.Parent == speaker.Character do
  11711.                 local Human = v.Character.FindFirstChildWhichIsA(v.Character, "Humanoid")
  11712.                 if not Human or Human.Health <= 0 then
  11713.                     break
  11714.                 end
  11715.                 for _, v1 in ipairs(v.Character.GetChildren(v.Character)) do
  11716.                     v1 = ((v1.IsA(v1, "BasePart") and firetouchinterest(Handle, v1, 1, (RS.Wait(RS) and nil) or firetouchinterest(Handle, v1, 0)) and nil) or v1) or v1
  11717.                 end
  11718.             end
  11719.             notify("Handle Kill Stopped!", v.Name .. " died/left or you unequipped the tool!")
  11720.         end)
  11721.     end
  11722. end)
  11723.  
  11724. local hb = RunService.Heartbeat
  11725. addcmd('tpwalk', {'teleportwalk'}, function(args, speaker)
  11726.     tpwalking = true
  11727.     local chr = speaker.Character
  11728.     local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  11729.     while tpwalking and chr and hum and hum.Parent do
  11730.         local delta = hb:Wait()
  11731.         if hum.MoveDirection.Magnitude > 0 then
  11732.             if args[1] and isNumber(args[1]) then
  11733.                 chr:TranslateBy(hum.MoveDirection * tonumber(args[1]) * delta * 10)
  11734.             else
  11735.                 chr:TranslateBy(hum.MoveDirection * delta * 10)
  11736.             end
  11737.         end
  11738.     end
  11739. end)
  11740. addcmd('untpwalk', {'unteleportwalk'}, function(args, speaker)
  11741.     tpwalking = false
  11742. end)
  11743.  
  11744. addcmd('fastkill',{'fastfekill'},function(args, speaker)
  11745.     local players = getPlayer(args[1], speaker)
  11746.     for i,v in pairs(players) do
  11747.         kill(speaker,Players[v],true)
  11748.     end
  11749. end)
  11750.  
  11751. function bring(speaker,target,fast)
  11752.     if tools(speaker) then
  11753.         if target ~= nil then
  11754.             local NormPos = getRoot(speaker.Character).CFrame
  11755.             if not fast then
  11756.                 refresh(speaker)
  11757.                 wait()
  11758.                 repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character)
  11759.                 wait(0.3)
  11760.             end
  11761.             local hrp = getRoot(speaker.Character)
  11762.             attach(speaker,target)
  11763.             repeat
  11764.                 wait()
  11765.                 hrp.CFrame = NormPos
  11766.             until not getRoot(target.Character) or not getRoot(speaker.Character)
  11767.             speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos
  11768.         end
  11769.     else
  11770.         notify('Tool Required','You need to have an item in your inventory to use this command')
  11771.     end
  11772. end
  11773.  
  11774. addcmd('bring',{'febring'},function(args, speaker)
  11775.     local players = getPlayer(args[1], speaker)
  11776.     for i,v in pairs(players) do
  11777.         bring(speaker,Players[v])
  11778.     end
  11779. end)
  11780.  
  11781. addcmd('fastbring',{'fastfebring'},function(args, speaker)
  11782.     local players = getPlayer(args[1], speaker)
  11783.     for i,v in pairs(players) do
  11784.         bring(speaker,Players[v],true)
  11785.     end
  11786. end)
  11787.  
  11788. function teleport(speaker,target,target2,fast)
  11789.     if tools(speaker) then
  11790.         if target ~= nil then
  11791.             local NormPos = getRoot(speaker.Character).CFrame
  11792.             if not fast then
  11793.                 refresh(speaker)
  11794.                 wait()
  11795.                 repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character)
  11796.                 wait(0.3)
  11797.             end
  11798.             local hrp = getRoot(speaker.Character)
  11799.             local hrp2 = getRoot(target2.Character)
  11800.             attach(speaker,target)
  11801.             repeat
  11802.                 wait()
  11803.                 hrp.CFrame = hrp2.CFrame
  11804.             until not getRoot(target.Character) or not getRoot(speaker.Character)
  11805.             wait(1)
  11806.             speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos
  11807.         end
  11808.     else
  11809.         notify('Tool Required','You need to have an item in your inventory to use this command')
  11810.     end
  11811. end
  11812.  
  11813. addcmd('tp',{'teleport'},function(args, speaker)
  11814.     local players1=getPlayer(args[1], speaker)
  11815.     local players2=getPlayer(args[2], speaker)
  11816.     for i,v in pairs(players1)do
  11817.         if getRoot(Players[v].Character) and getRoot(Players[players2[1]].Character) then
  11818.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  11819.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  11820.                 wait(.1)
  11821.             end
  11822.             teleport(speaker,Players[v],Players[players2[1]])
  11823.         end
  11824.     end
  11825. end)
  11826.  
  11827. addcmd('fasttp',{'fastteleport'},function(args, speaker)
  11828.     local players1=getPlayer(args[1], speaker)
  11829.     local players2=getPlayer(args[2], speaker)
  11830.     for i,v in pairs(players1)do
  11831.         if getRoot(Players[v].Character) and getRoot(Players[players2[1]].Character) then
  11832.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  11833.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  11834.                 wait(.1)
  11835.             end
  11836.             teleport(speaker,Players[v],Players[players2[1]],true)
  11837.         end
  11838.     end
  11839. end)
  11840.  
  11841. addcmd('spin',{},function(args, speaker)
  11842.     local spinSpeed = 20
  11843.     if args[1] and isNumber(args[1]) then
  11844.         spinSpeed = args[1]
  11845.     end
  11846.     for i,v in pairs(getRoot(speaker.Character):GetChildren()) do
  11847.         if v.Name == "Spinning" then
  11848.             v:Destroy()
  11849.         end
  11850.     end
  11851.     local Spin = Instance.new("BodyAngularVelocity")
  11852.     Spin.Name = "Spinning"
  11853.     Spin.Parent = getRoot(speaker.Character)
  11854.     Spin.MaxTorque = Vector3.new(0, math.huge, 0)
  11855.     Spin.AngularVelocity = Vector3.new(0,spinSpeed,0)
  11856. end)
  11857.  
  11858. addcmd('unspin',{},function(args, speaker)
  11859.     for i,v in pairs(getRoot(speaker.Character):GetChildren()) do
  11860.         if v.Name == "Spinning" then
  11861.             v:Destroy()
  11862.         end
  11863.     end
  11864. end)
  11865.  
  11866. xrayEnabled = false
  11867. xray = function()
  11868.     for _, v in pairs(workspace:GetDescendants()) do
  11869.         if v:IsA("BasePart") and not v.Parent:FindFirstChildWhichIsA("Humanoid") and not v.Parent.Parent:FindFirstChildWhichIsA("Humanoid") then
  11870.             v.LocalTransparencyModifier = xrayEnabled and 0.5 or 0
  11871.         end
  11872.     end
  11873. end
  11874.  
  11875. addcmd("xray", {}, function(args, speaker)
  11876.     xrayEnabled = true
  11877.     xray()
  11878. end)
  11879.  
  11880. addcmd("unxray", {"noxray"}, function(args, speaker)
  11881.     xrayEnabled = false
  11882.     xray()
  11883. end)
  11884.  
  11885. addcmd("togglexray", {}, function(args, speaker)
  11886.     xrayEnabled = not xrayEnabled
  11887.     xray()
  11888. end)
  11889.  
  11890. addcmd("loopxray", {}, function(args, speaker)
  11891.     if xrayLoop then
  11892.         xrayLoop:Disconnect()
  11893.     end
  11894.     xrayLoop = RunService.RenderStepped:Connect(function()
  11895.         xrayEnabled = true
  11896.         xray()
  11897.     end)
  11898. end)
  11899.  
  11900. addcmd("unloopxray", {}, function(args, speaker)
  11901.     if xrayLoop then
  11902.         xrayLoop:Disconnect()
  11903.     end
  11904. end)
  11905.  
  11906. local walltpTouch = nil
  11907. addcmd('walltp',{},function(args, speaker)
  11908.     local torso
  11909.     if r15(speaker) then
  11910.         torso = speaker.Character.UpperTorso
  11911.     else
  11912.         torso = speaker.Character.Torso
  11913.     end
  11914.     local function touchedFunc(hit)
  11915.         local Root = getRoot(speaker.Character)
  11916.         if hit:IsA("BasePart") and hit.Position.Y > Root.Position.Y - speaker.Character:FindFirstChildOfClass('Humanoid').HipHeight then
  11917.             local hitP = getRoot(hit.Parent)
  11918.             if hitP ~= nil then
  11919.                 Root.CFrame = hit.CFrame * CFrame.new(Root.CFrame.lookVector.X,hitP.Size.Z/2 + speaker.Character:FindFirstChildOfClass('Humanoid').HipHeight,Root.CFrame.lookVector.Z)
  11920.             elseif hitP == nil then
  11921.                 Root.CFrame = hit.CFrame * CFrame.new(Root.CFrame.lookVector.X,hit.Size.Y/2 + speaker.Character:FindFirstChildOfClass('Humanoid').HipHeight,Root.CFrame.lookVector.Z)
  11922.             end
  11923.         end
  11924.     end
  11925.     walltpTouch = torso.Touched:Connect(touchedFunc)
  11926. end)
  11927.  
  11928. addcmd('unwalltp',{'nowalltp'},function(args, speaker)
  11929.     if walltpTouch then
  11930.         walltpTouch:Disconnect()
  11931.     end
  11932. end)
  11933.  
  11934. autoclicking = false
  11935. addcmd('autoclick',{},function(args, speaker)
  11936.     if mouse1press and mouse1release then
  11937.         execCmd('unautoclick')
  11938.         wait()
  11939.         local clickDelay = 0.1
  11940.         local releaseDelay = 0.1
  11941.         if args[1] and isNumber(args[1]) then clickDelay = args[1] end
  11942.         if args[2] and isNumber(args[2]) then releaseDelay = args[2] end
  11943.         autoclicking = true
  11944.         cancelAutoClick = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  11945.             if not gameProcessedEvent then
  11946.                 if (input.KeyCode == Enum.KeyCode.Backspace and UserInputService:IsKeyDown(Enum.KeyCode.Equals)) or (input.KeyCode == Enum.KeyCode.Equals and UserInputService:IsKeyDown(Enum.KeyCode.Backspace)) then
  11947.                     autoclicking = false
  11948.                     cancelAutoClick:Disconnect()
  11949.                 end
  11950.             end
  11951.         end)
  11952.         notify('Auto Clicker',"Press [backspace] and [=] at the same time to stop")
  11953.         repeat wait(clickDelay)
  11954.             mouse1press()
  11955.             wait(releaseDelay)
  11956.             mouse1release()
  11957.         until autoclicking == false
  11958.     else
  11959.         notify('Auto Clicker',"Your exploit doesn't have the ability to use the autoclick")
  11960.     end
  11961. end)
  11962.  
  11963. addcmd('unautoclick',{'noautoclick'},function(args, speaker)
  11964.     autoclicking = false
  11965.     if cancelAutoClick then cancelAutoClick:Disconnect() end
  11966. end)
  11967.  
  11968. addcmd('mousesensitivity',{'ms'},function(args, speaker)
  11969.     UserInputService.MouseDeltaSensitivity = args[1]
  11970. end)
  11971.  
  11972. local nameBox = nil
  11973. local nbSelection = nil
  11974. addcmd('hovername',{},function(args, speaker)
  11975.     execCmd('unhovername')
  11976.     wait()
  11977.     nameBox = Instance.new("TextLabel")
  11978.     nameBox.Name = randomString()
  11979.     nameBox.Parent = PARENT
  11980.     nameBox.BackgroundTransparency = 1
  11981.     nameBox.Size = UDim2.new(0,200,0,30)
  11982.     nameBox.Font = Enum.Font.Code
  11983.     nameBox.TextSize = 16
  11984.     nameBox.Text = ""
  11985.     nameBox.TextColor3 = Color3.new(1, 1, 1)
  11986.     nameBox.TextStrokeTransparency = 0
  11987.     nameBox.TextXAlignment = Enum.TextXAlignment.Left
  11988.     nameBox.ZIndex = 10
  11989.     nbSelection = Instance.new('SelectionBox')
  11990.     nbSelection.Name = randomString()
  11991.     nbSelection.LineThickness = 0.03
  11992.     nbSelection.Color3 = Color3.new(1, 1, 1)
  11993.     local function updateNameBox()
  11994.         local t
  11995.         local target = IYMouse.Target
  11996.  
  11997.         if target then
  11998.             local humanoid = target.Parent:FindFirstChildOfClass("Humanoid") or target.Parent.Parent:FindFirstChildOfClass("Humanoid")
  11999.             if humanoid then
  12000.                 t = humanoid.Parent
  12001.             end
  12002.         end
  12003.  
  12004.         if t ~= nil then
  12005.             local x = IYMouse.X
  12006.             local y = IYMouse.Y
  12007.             local xP
  12008.             local yP
  12009.             if IYMouse.X > 200 then
  12010.                 xP = x - 205
  12011.                 nameBox.TextXAlignment = Enum.TextXAlignment.Right
  12012.             else
  12013.                 xP = x + 25
  12014.                 nameBox.TextXAlignment = Enum.TextXAlignment.Left
  12015.             end
  12016.             nameBox.Position = UDim2.new(0, xP, 0, y)
  12017.             nameBox.Text = t.Name
  12018.             nameBox.Visible = true
  12019.             nbSelection.Parent = t
  12020.             nbSelection.Adornee = t
  12021.         else
  12022.             nameBox.Visible = false
  12023.             nbSelection.Parent = nil
  12024.             nbSelection.Adornee = nil
  12025.         end
  12026.     end
  12027.     nbUpdateFunc = IYMouse.Move:Connect(updateNameBox)
  12028. end)
  12029.  
  12030. addcmd('unhovername',{'nohovername'},function(args, speaker)
  12031.     if nbUpdateFunc then
  12032.         nbUpdateFunc:Disconnect()
  12033.         nameBox:Destroy()
  12034.         nbSelection:Destroy()
  12035.     end
  12036. end)
  12037.  
  12038. addcmd('headsize',{},function(args, speaker)
  12039.     local players = getPlayer(args[1], speaker)
  12040.     for i,v in pairs(players) do
  12041.         if Players[v] ~= speaker and Players[v].Character:FindFirstChild('Head') then
  12042.             local sizeArg = tonumber(args[2])
  12043.             local Size = Vector3.new(sizeArg,sizeArg,sizeArg)
  12044.             local Head = Players[v].Character:FindFirstChild('Head')
  12045.             if Head:IsA("BasePart") then
  12046.                 if not args[2] or sizeArg == 1 then
  12047.                     Head.Size = Vector3.new(2,1,1)
  12048.                 else
  12049.                     Head.Size = Size
  12050.                 end
  12051.             end
  12052.         end
  12053.     end
  12054. end)
  12055.  
  12056. addcmd('hitbox',{},function(args, speaker)
  12057.     local players = getPlayer(args[1], speaker)
  12058.     for i,v in pairs(players) do
  12059.         if Players[v] ~= speaker and Players[v].Character:FindFirstChild('HumanoidRootPart') then
  12060.             local sizeArg = tonumber(args[2])
  12061.             local Size = Vector3.new(sizeArg,sizeArg,sizeArg)
  12062.             local Root = Players[v].Character:FindFirstChild('HumanoidRootPart')
  12063.             if Root:IsA("BasePart") then
  12064.                 if not args[2] or sizeArg == 1 then
  12065.                     Root.Size = Vector3.new(2,1,1)
  12066.                     Root.Transparency = 0.4
  12067.                 else
  12068.                     Root.Size = Size
  12069.                     Root.Transparency = 0.4
  12070.                 end
  12071.             end
  12072.         end
  12073.     end
  12074. end)
  12075.  
  12076. addcmd('stareat',{'stare'},function(args, speaker)
  12077.     local players = getPlayer(args[1], speaker)
  12078.     for i,v in pairs(players) do
  12079.         if stareLoop then
  12080.             stareLoop:Disconnect()
  12081.         end
  12082.         if not Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and Players[v].Character:FindFirstChild("HumanoidRootPart") then return end
  12083.         local function stareFunc()
  12084.             if Players.LocalPlayer.Character.PrimaryPart and Players:FindFirstChild(v) and Players[v].Character ~= nil and Players[v].Character:FindFirstChild("HumanoidRootPart") then
  12085.                 local chrPos=Players.LocalPlayer.Character.PrimaryPart.Position
  12086.                 local tPos=Players[v].Character:FindFirstChild("HumanoidRootPart").Position
  12087.                 local modTPos=Vector3.new(tPos.X,chrPos.Y,tPos.Z)
  12088.                 local newCF=CFrame.new(chrPos,modTPos)
  12089.                 Players.LocalPlayer.Character:SetPrimaryPartCFrame(newCF)
  12090.             elseif not Players:FindFirstChild(v) then
  12091.                 stareLoop:Disconnect()
  12092.             end
  12093.         end
  12094.  
  12095.         stareLoop = RunService.RenderStepped:Connect(stareFunc)
  12096.     end
  12097. end)
  12098.  
  12099. addcmd('unstareat',{'unstare','nostare','nostareat'},function(args, speaker)
  12100.     if stareLoop then
  12101.         stareLoop:Disconnect()
  12102.     end
  12103. end)
  12104.  
  12105. RolewatchData = {Group = 0, Role = "", Leave = false}
  12106. RolewatchConnection = Players.PlayerAdded:Connect(function(player)
  12107.     if RolewatchData.Group == 0 then return end
  12108.     if player:IsInGroup(RolewatchData.Group) then
  12109.         if tostring(player:GetRoleInGroup(RolewatchData.Group)):lower() == RolewatchData.Role:lower() then
  12110.             if RolewatchData.Leave == true then
  12111.                 Players.LocalPlayer:Kick("\n\nRolewatch\nPlayer \"" .. tostring(player.Name) .. "\" has joined with the Role \"" .. RolewatchData.Role .. "\"\n")
  12112.             else
  12113.                 notify("Rolewatch", "Player \"" .. tostring(player.Name) .. "\" has joined with the Role \"" .. RolewatchData.Role .. "\"")
  12114.             end
  12115.         end
  12116.     end
  12117. end)
  12118.  
  12119. addcmd("rolewatch", {}, function(args, speaker)
  12120.     local groupId = tonumber(args[1] or 0)
  12121.     local roleName = args[2] and tostring(getstring(2))
  12122.     if groupId and roleName then
  12123.         RolewatchData.Group = groupId
  12124.         RolewatchData.Role = roleName
  12125.         notify("Rolewatch", "Watching Group ID \"" .. tostring(groupId) .. "\" for Role \"" .. roleName .. "\"")
  12126.     end
  12127. end)
  12128.  
  12129. addcmd("rolewatchstop", {}, function(args, speaker)
  12130.     RolewatchData.Group = 0
  12131.     RolewatchData.Role = ""
  12132.     RolewatchData.Leave = false
  12133.     notify("Rolewatch", "Disabled")
  12134. end)
  12135.  
  12136. addcmd("rolewatchleave", {"unrolewatch"}, function(args, speaker)
  12137.     RolewatchData.Leave = not RolewatchData.Leave
  12138.     notify("Rolewatch", RolewatchData.Leave and "Leave has been Enabled" or "Leave has been Disabled")
  12139. end)
  12140.  
  12141. staffRoles = {"mod", "admin", "staff", "dev", "founder", "owner", "supervis", "manager", "management", "executive", "president", "chairman", "chairwoman", "chairperson", "director"}
  12142.  
  12143. getStaffRole = function(player)
  12144.     local playerRole = player:GetRoleInGroup(game.CreatorId)
  12145.     local result = {Role = playerRole, Staff = false}
  12146.     if player:IsInGroup(1200769) then
  12147.         result.Role = "Roblox Employee"
  12148.         result.Staff = true
  12149.     end
  12150.     for _, role in pairs(staffRoles) do
  12151.         if string.find(string.lower(playerRole), role) then
  12152.             result.Staff = true
  12153.         end
  12154.     end
  12155.     return result
  12156. end
  12157.  
  12158. addcmd("staffwatch", {}, function(args, speaker)
  12159.     if staffwatchjoin then
  12160.         staffwatchjoin:Disconnect()
  12161.     end
  12162.     if game.CreatorType == Enum.CreatorType.Group then
  12163.         local found = {}
  12164.         staffwatchjoin = Players.PlayerAdded:Connect(function(player)
  12165.             local result = getStaffRole(player)
  12166.             if result.Staff then
  12167.                 notify("Staffwatch", formatUsername(player) .. " is a " .. result.Role)
  12168.             end
  12169.         end)
  12170.         for _, player in pairs(Players:GetPlayers()) do
  12171.             local result = getStaffRole(player)
  12172.             if result.Staff then
  12173.                 table.insert(found, formatUsername(player) .. " is a " .. result.Role)
  12174.             end
  12175.         end
  12176.         if #found > 0 then
  12177.             notify("Staffwatch", table.concat(found, ",\n"))
  12178.         else
  12179.             notify("Staffwatch", "Enabled")
  12180.         end
  12181.     else
  12182.         notify("Staffwatch", "Game is not owned by a Group")
  12183.     end
  12184. end)
  12185.  
  12186. addcmd("unstaffwatch", {}, function(args, speaker)
  12187.     if staffwatchjoin then
  12188.         staffwatchjoin:Disconnect()
  12189.     end
  12190.     notify("Staffwatch", "Disabled")
  12191. end)
  12192.  
  12193. addcmd('removeterrain',{'rterrain','noterrain'},function(args, speaker)
  12194.     workspace:FindFirstChildOfClass('Terrain'):Clear()
  12195. end)
  12196.  
  12197. addcmd('clearnilinstances',{'nonilinstances','cni'},function(args, speaker)
  12198.     if getnilinstances then
  12199.         for i,v in pairs(getnilinstances()) do
  12200.             v:Destroy()
  12201.         end
  12202.     else
  12203.         notify('Incompatible Exploit','Your exploit does not support this command (missing getnilinstances)')
  12204.     end
  12205. end)
  12206.  
  12207. addcmd('destroyheight',{'dh'},function(args, speaker)
  12208.     local dh = args[1] or -500
  12209.     if isNumber(dh) then
  12210.         workspace.FallenPartsDestroyHeight = dh
  12211.     end
  12212. end)
  12213.  
  12214. OrgDestroyHeight = workspace.FallenPartsDestroyHeight
  12215. addcmd("fakeout", {}, function(args, speaker)
  12216.     local root = getRoot(speaker.Character)
  12217.     local oldpos = root.CFrame
  12218.     workspace.FallenPartsDestroyHeight = 0/1/0
  12219.     root.CFrame = CFrame.new(Vector3.new(0, OrgDestroyHeight - 25, 0))
  12220.     wait(1)
  12221.     root.CFrame = oldpos
  12222.     workspace.FallenPartsDestroyHeight = OrgDestroyHeight
  12223. end)
  12224.  
  12225. antivoidloop = false
  12226. addcmd("antivoid", {}, function(args, speaker)
  12227.     execCmd("unantivoid nonotify")
  12228.     wait()
  12229.     antivoidloop = RunService.Stepped:Connect(function()
  12230.         local root = getRoot(speaker.Character)
  12231.         if root and root.Position.Y <= OrgDestroyHeight + 25 then
  12232.             root.Velocity = root.Velocity + Vector3.new(0, 250, 0)
  12233.         end
  12234.     end)
  12235.     notify("antivoid", "Enabled")
  12236. end)
  12237.  
  12238. addcmd("unantivoid", {"noantivoid"}, function(args, speaker)
  12239.     antivoidloop:Disconnect()
  12240.     antivoidloop = nil
  12241.     if args[1] ~= "nonotify" then notify("antivoid", "Disabled") end
  12242. end)
  12243.  
  12244. addcmd('trip',{},function(args, speaker)
  12245.     if speaker and speaker.Character and speaker.Character:FindFirstChildOfClass("Humanoid") and getRoot(speaker.Character) then
  12246.         local hum = speaker.Character:FindFirstChildOfClass("Humanoid")
  12247.         local root = getRoot(speaker.Character)
  12248.         hum:ChangeState(0)
  12249.         root.Velocity = root.CFrame.LookVector * 30
  12250.     end
  12251. end)
  12252.  
  12253. addcmd("removeads", {"adblock"}, function(args, speaker)
  12254.     while wait() do
  12255.         pcall(function()
  12256.             for i, v in pairs(workspace:GetDescendants()) do
  12257.                 if v:IsA("PackageLink") then
  12258.                     if v.Parent:FindFirstChild("ADpart") then
  12259.                         v.Parent:Destroy()
  12260.                     end
  12261.                     if v.Parent:FindFirstChild("AdGuiAdornee") then
  12262.                         v.Parent.Parent:Destroy()
  12263.                     end
  12264.                 end
  12265.             end
  12266.         end)
  12267.     end
  12268. end)
  12269.  
  12270. local freezingua = nil
  12271. frozenParts = {}
  12272. addcmd('freezeunanchored',{'freezeua'},function(args, speaker)
  12273.     local badnames = {
  12274.         "Head",
  12275.         "UpperTorso",
  12276.         "LowerTorso",
  12277.         "RightUpperArm",
  12278.         "LeftUpperArm",
  12279.         "RightLowerArm",
  12280.         "LeftLowerArm",
  12281.         "RightHand",
  12282.         "LeftHand",
  12283.         "RightUpperLeg",
  12284.         "LeftUpperLeg",
  12285.         "RightLowerLeg",
  12286.         "LeftLowerLeg",
  12287.         "RightFoot",
  12288.         "LeftFoot",
  12289.         "Torso",
  12290.         "Right Arm",
  12291.         "Left Arm",
  12292.         "Right Leg",
  12293.         "Left Leg",
  12294.         "HumanoidRootPart"
  12295.     }
  12296.     local function FREEZENOOB(v)
  12297.         if v:IsA("BasePart" or "UnionOperation") and v.Anchored == false then
  12298.             local BADD = false
  12299.             for i = 1,#badnames do
  12300.                 if v.Name == badnames[i] then
  12301.                     BADD = true
  12302.                 end
  12303.             end
  12304.             if speaker.Character and v:IsDescendantOf(speaker.Character) then
  12305.                 BADD = true
  12306.             end
  12307.             if BADD == false then
  12308.                 for i,c in pairs(v:GetChildren()) do
  12309.                     if c:IsA("BodyPosition") or c:IsA("BodyGyro") then
  12310.                         c:Destroy()
  12311.                     end
  12312.                 end
  12313.                 local bodypos = Instance.new("BodyPosition")
  12314.                 bodypos.Parent = v
  12315.                 bodypos.Position = v.Position
  12316.                 bodypos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  12317.                 local bodygyro = Instance.new("BodyGyro")
  12318.                 bodygyro.Parent = v
  12319.                 bodygyro.CFrame = v.CFrame
  12320.                 bodygyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  12321.                 if not table.find(frozenParts,v) then
  12322.                     table.insert(frozenParts,v)
  12323.                 end
  12324.             end
  12325.         end
  12326.     end
  12327.     for i,v in pairs(workspace:GetDescendants()) do
  12328.         FREEZENOOB(v)
  12329.     end
  12330.     freezingua = workspace.DescendantAdded:Connect(FREEZENOOB)
  12331. end)
  12332.  
  12333. addcmd('thawunanchored',{'thawua','unfreezeunanchored','unfreezeua'},function(args, speaker)
  12334.     if freezingua then
  12335.         freezingua:Disconnect()
  12336.     end
  12337.     for i,v in pairs(frozenParts) do
  12338.         for i,c in pairs(v:GetChildren()) do
  12339.             if c:IsA("BodyPosition") or c:IsA("BodyGyro") then
  12340.                 c:Destroy()
  12341.             end
  12342.         end
  12343.     end
  12344.     frozenParts = {}
  12345. end)
  12346.  
  12347. addcmd('tpunanchored',{'tpua'},function(args, speaker)
  12348.     local players = getPlayer(args[1], speaker)
  12349.     for i,v in pairs(players) do
  12350.         local Forces = {}
  12351.         for _,part in pairs(workspace:GetDescendants()) do
  12352.             if Players[v].Character:FindFirstChild('Head') and part:IsA("BasePart" or "UnionOperation" or "Model") and part.Anchored == false and not part:IsDescendantOf(speaker.Character) and part.Name == "Torso" == false and part.Name == "Head" == false and part.Name == "Right Arm" == false and part.Name == "Left Arm" == false and part.Name == "Right Leg" == false and part.Name == "Left Leg" == false and part.Name == "HumanoidRootPart" == false then
  12353.                 for i,c in pairs(part:GetChildren()) do
  12354.                     if c:IsA("BodyPosition") or c:IsA("BodyGyro") then
  12355.                         c:Destroy()
  12356.                     end
  12357.                 end
  12358.                 local ForceInstance = Instance.new("BodyPosition")
  12359.                 ForceInstance.Parent = part
  12360.                 ForceInstance.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  12361.                 table.insert(Forces, ForceInstance)
  12362.                 if not table.find(frozenParts,part) then
  12363.                     table.insert(frozenParts,part)
  12364.                 end
  12365.             end
  12366.         end
  12367.         for i,c in pairs(Forces) do
  12368.             c.Position = Players[v].Character.Head.Position
  12369.         end
  12370.     end
  12371. end)
  12372.  
  12373. keycodeMap = {
  12374.     ["0"] = 0x30,
  12375.     ["1"] = 0x31,
  12376.     ["2"] = 0x32,
  12377.     ["3"] = 0x33,
  12378.     ["4"] = 0x34,
  12379.     ["5"] = 0x35,
  12380.     ["6"] = 0x36,
  12381.     ["7"] = 0x37,
  12382.     ["8"] = 0x38,
  12383.     ["9"] = 0x39,
  12384.     ["a"] = 0x41,
  12385.     ["b"] = 0x42,
  12386.     ["c"] = 0x43,
  12387.     ["d"] = 0x44,
  12388.     ["e"] = 0x45,
  12389.     ["f"] = 0x46,
  12390.     ["g"] = 0x47,
  12391.     ["h"] = 0x48,
  12392.     ["i"] = 0x49,
  12393.     ["j"] = 0x4A,
  12394.     ["k"] = 0x4B,
  12395.     ["l"] = 0x4C,
  12396.     ["m"] = 0x4D,
  12397.     ["n"] = 0x4E,
  12398.     ["o"] = 0x4F,
  12399.     ["p"] = 0x50,
  12400.     ["q"] = 0x51,
  12401.     ["r"] = 0x52,
  12402.     ["s"] = 0x53,
  12403.     ["t"] = 0x54,
  12404.     ["u"] = 0x55,
  12405.     ["v"] = 0x56,
  12406.     ["w"] = 0x57,
  12407.     ["x"] = 0x58,
  12408.     ["y"] = 0x59,
  12409.     ["z"] = 0x5A,
  12410.     ["enter"] = 0x0D,
  12411.     ["shift"] = 0x10,
  12412.     ["ctrl"] = 0x11,
  12413.     ["alt"] = 0x12,
  12414.     ["pause"] = 0x13,
  12415.     ["capslock"] = 0x14,
  12416.     ["spacebar"] = 0x20,
  12417.     ["space"] = 0x20,
  12418.     ["pageup"] = 0x21,
  12419.     ["pagedown"] = 0x22,
  12420.     ["end"] = 0x23,
  12421.     ["home"] = 0x24,
  12422.     ["left"] = 0x25,
  12423.     ["up"] = 0x26,
  12424.     ["right"] = 0x27,
  12425.     ["down"] = 0x28,
  12426.     ["insert"] = 0x2D,
  12427.     ["delete"] = 0x2E,
  12428.     ["f1"] = 0x70,
  12429.     ["f2"] = 0x71,
  12430.     ["f3"] = 0x72,
  12431.     ["f4"] = 0x73,
  12432.     ["f5"] = 0x74,
  12433.     ["f6"] = 0x75,
  12434.     ["f7"] = 0x76,
  12435.     ["f8"] = 0x77,
  12436.     ["f9"] = 0x78,
  12437.     ["f10"] = 0x79,
  12438.     ["f11"] = 0x7A,
  12439.     ["f12"] = 0x7B,
  12440. }
  12441. autoKeyPressing = false
  12442. cancelAutoKeyPress = nil
  12443.  
  12444. addcmd('autokeypress',{'keypress'},function(args, speaker)
  12445.     if keypress and keyrelease and args[1] then
  12446.         local code = keycodeMap[args[1]:lower()]
  12447.         if not code then notify('Auto Key Press',"Invalid key") return end
  12448.         execCmd('unautokeypress')
  12449.         wait()
  12450.         local clickDelay = 0.1
  12451.         local releaseDelay = 0.1
  12452.         if args[2] and isNumber(args[2]) then clickDelay = args[2] end
  12453.         if args[3] and isNumber(args[3]) then releaseDelay = args[3] end
  12454.         autoKeyPressing = true
  12455.         cancelAutoKeyPress = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  12456.             if not gameProcessedEvent then
  12457.                 if (input.KeyCode == Enum.KeyCode.Backspace and UserInputService:IsKeyDown(Enum.KeyCode.Equals)) or (input.KeyCode == Enum.KeyCode.Equals and UserInputService:IsKeyDown(Enum.KeyCode.Backspace)) then
  12458.                     autoKeyPressing = false
  12459.                     cancelAutoKeyPress:Disconnect()
  12460.                 end
  12461.             end
  12462.         end)
  12463.         notify('Auto Key Press',"Press [backspace] and [=] at the same time to stop")
  12464.         repeat wait(clickDelay)
  12465.             keypress(code)
  12466.             wait(releaseDelay)
  12467.             keyrelease(code)
  12468.         until autoKeyPressing == false
  12469.         if cancelAutoKeyPress then cancelAutoKeyPress:Disconnect() keyrelease(code) end
  12470.     else
  12471.         notify('Auto Key Press',"Your exploit doesn't have the ability to use auto key press")
  12472.     end
  12473. end)
  12474.  
  12475. addcmd('unautokeypress',{'noautokeypress','unkeypress','nokeypress'},function(args, speaker)
  12476.     autoKeyPressing = false
  12477.     if cancelAutoKeyPress then cancelAutoKeyPress:Disconnect() end
  12478. end)
  12479.  
  12480. addcmd('addplugin',{'plugin'},function(args, speaker)
  12481.     addPlugin(getstring(1))
  12482. end)
  12483.  
  12484. addcmd('removeplugin',{'deleteplugin'},function(args, speaker)
  12485.     deletePlugin(getstring(1))
  12486. end)
  12487.  
  12488. addcmd('reloadplugin',{},function(args, speaker)
  12489.     local pluginName = getstring(1)
  12490.     deletePlugin(pluginName)
  12491.     wait(1)
  12492.     addPlugin(pluginName)
  12493. end)
  12494.  
  12495. addcmd('removecmd',{'deletecmd'},function(args, speaker)
  12496.     removecmd(args[1])
  12497. end)
  12498.  
  12499. if IsOnMobile then
  12500.     local QuickCapture = Instance.new("TextButton")
  12501.     local UICorner = Instance.new("UICorner")
  12502.     QuickCapture.Name = randomString()
  12503.     QuickCapture.Parent = PARENT
  12504.     QuickCapture.BackgroundColor3 = Color3.fromRGB(0, 85, 255)
  12505.     QuickCapture.BackgroundTransparency = 0.14
  12506.     QuickCapture.Position = UDim2.new(0.489, 0, 0, 0)
  12507.     QuickCapture.Size = UDim2.new(0, 32, 0, 33)
  12508.     QuickCapture.Font = Enum.Font.SourceSansBold
  12509.     QuickCapture.Text = "IY"
  12510.     QuickCapture.TextColor3 = Color3.fromRGB(255, 255, 255)
  12511.     QuickCapture.TextSize = 20.000
  12512.     QuickCapture.TextWrapped = true
  12513.     QuickCapture.Draggable = true
  12514.     UICorner.Name = randomString()
  12515.     UICorner.CornerRadius = UDim.new(0.5, 0)
  12516.     UICorner.Parent = QuickCapture
  12517.     QuickCapture.MouseButton1Click:Connect(function()
  12518.         Cmdbar:CaptureFocus()
  12519.         maximizeHolder()
  12520.     end)
  12521.     table.insert(shade1, QuickCapture)
  12522.     table.insert(text1, QuickCapture)
  12523. end
  12524.  
  12525. updateColors(currentShade1,shade1)
  12526. updateColors(currentShade2,shade2)
  12527. updateColors(currentShade3,shade3)
  12528. updateColors(currentText1,text1)
  12529. updateColors(currentText2,text2)
  12530. updateColors(currentScroll,scroll)
  12531.  
  12532. if PluginsTable ~= nil or PluginsTable ~= {} then
  12533.     FindPlugins(PluginsTable)
  12534. end
  12535.  
  12536. -- Events
  12537. eventEditor.RegisterEvent("OnExecute")
  12538. eventEditor.RegisterEvent("OnSpawn",{
  12539.     {Type="Player",Name="Player Filter ($1)"}
  12540. })
  12541. eventEditor.RegisterEvent("OnDied",{
  12542.     {Type="Player",Name="Player Filter ($1)"}
  12543. })
  12544. eventEditor.RegisterEvent("OnDamage",{
  12545.     {Type="Player",Name="Player Filter ($1)"},
  12546.     {Type="Number",Name="Below Health ($2)"}
  12547. })
  12548. eventEditor.RegisterEvent("OnKilled",{
  12549.     {Type="Player",Name="Victim Player ($1)"},
  12550.     {Type="Player",Name="Killer Player ($2)",Default = 1}
  12551. })
  12552. eventEditor.RegisterEvent("OnJoin",{
  12553.     {Type="Player",Name="Player Filter ($1)",Default = 1}
  12554. })
  12555. eventEditor.RegisterEvent("OnLeave",{
  12556.     {Type="Player",Name="Player Filter ($1)",Default = 1}
  12557. })
  12558. eventEditor.RegisterEvent("OnChatted",{
  12559.     {Type="Player",Name="Player Filter ($1)",Default = 1},
  12560.     {Type="String",Name="Message Filter ($2)"}
  12561. })
  12562.  
  12563. function hookCharEvents(plr,instant)
  12564.     task.spawn(function()
  12565.         local char = plr.Character
  12566.         if not char then return end
  12567.  
  12568.         local humanoid = char:WaitForChild("Humanoid",10)
  12569.         if not humanoid then return end
  12570.  
  12571.         local oldHealth = humanoid.Health
  12572.         humanoid.HealthChanged:Connect(function(health)
  12573.             local change = math.abs(oldHealth - health)
  12574.             if oldHealth > health then
  12575.                 eventEditor.FireEvent("OnDamage",plr.Name,tonumber(health))
  12576.             end
  12577.             oldHealth = health
  12578.         end)
  12579.  
  12580.         humanoid.Died:Connect(function()
  12581.             eventEditor.FireEvent("OnDied",plr.Name)
  12582.  
  12583.             local killedBy = humanoid:FindFirstChild("creator")
  12584.             if killedBy and killedBy.Value and killedBy.Value.Parent then
  12585.                 eventEditor.FireEvent("OnKilled",plr.Name,killedBy.Name)
  12586.             end
  12587.         end)
  12588.     end)
  12589. end
  12590.  
  12591. Players.PlayerAdded:Connect(function(plr)
  12592.     eventEditor.FireEvent("OnJoin",plr.Name)
  12593.     if isLegacyChat then plr.Chatted:Connect(function(msg) eventEditor.FireEvent("OnChatted",tostring(plr),msg) end) end
  12594.     plr.CharacterAdded:Connect(function() eventEditor.FireEvent("OnSpawn",tostring(plr)) hookCharEvents(plr) end)
  12595.     JoinLog(plr)
  12596.     if isLegacyChat then ChatLog(plr) end
  12597.     if ESPenabled then
  12598.         repeat wait(1) until plr.Character and getRoot(plr.Character)
  12599.         ESP(plr)
  12600.     end
  12601.     if CHMSenabled then
  12602.         repeat wait(1) until plr.Character and getRoot(plr.Character)
  12603.         CHMS(plr)
  12604.     end
  12605. end)
  12606.  
  12607. if not isLegacyChat then
  12608.     TextChatService.MessageReceived:Connect(function(message)
  12609.         if message.TextSource then
  12610.             local player = Players:GetPlayerByUserId(message.TextSource.UserId)
  12611.             if not player then return end
  12612.  
  12613.             if logsEnabled == true then
  12614.                 CreateLabel(player.Name, message.Text)
  12615.             end
  12616.             if player.UserId == Players.LocalPlayer.UserId then
  12617.                 do_exec(message.Text, Players.LocalPlayer)
  12618.             end
  12619.             eventEditor.FireEvent("OnChatted", player.Name, message.Text)
  12620.         end
  12621.     end)
  12622. end
  12623.  
  12624. for _,plr in pairs(Players:GetPlayers()) do
  12625.     pcall(function()
  12626.         plr.CharacterAdded:Connect(function() eventEditor.FireEvent("OnSpawn",tostring(plr)) hookCharEvents(plr) end)
  12627.         hookCharEvents(plr)
  12628.     end)
  12629. end
  12630.  
  12631. if spawnCmds and #spawnCmds > 0 then
  12632.     for i,v in pairs(spawnCmds) do
  12633.         eventEditor.AddCmd("OnSpawn",{v.COMMAND or "",{0},v.DELAY or 0})
  12634.     end
  12635.     updatesaves()
  12636. end
  12637.  
  12638. if loadedEventData then eventEditor.LoadData(loadedEventData) end
  12639. eventEditor.Refresh()
  12640.  
  12641. eventEditor.FireEvent("OnExecute")
  12642.  
  12643. if aliases and #aliases > 0 then
  12644.     local cmdMap = {}
  12645.     for i,v in pairs(cmds) do
  12646.         cmdMap[v.NAME:lower()] = v
  12647.         for _,alias in pairs(v.ALIAS) do
  12648.             cmdMap[alias:lower()] = v
  12649.         end
  12650.     end
  12651.     for i = 1, #aliases do
  12652.         local cmd = string.lower(aliases[i].CMD)
  12653.         local alias = string.lower(aliases[i].ALIAS)
  12654.         if cmdMap[cmd] then
  12655.             customAlias[alias] = cmdMap[cmd]
  12656.         end
  12657.     end
  12658.     refreshaliases()
  12659. end
  12660.  
  12661. IYMouse.Move:Connect(checkTT)
  12662.  
  12663. task.spawn(function()
  12664.     local success, latestVersionInfo = pcall(function()
  12665.         local versionJson = game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/version')
  12666.         return HttpService:JSONDecode(versionJson)
  12667.     end)
  12668.  
  12669.     if success then
  12670.         if currentVersion ~= latestVersionInfo.Version then
  12671.             notify('Outdated','Get the new version at infyiff.github.io')
  12672.         end
  12673.  
  12674.         if latestVersionInfo.Announcement and latestVersionInfo.Announcement ~= '' then
  12675.             local AnnGUI = Instance.new("Frame")
  12676.             local background = Instance.new("Frame")
  12677.             local TextBox = Instance.new("TextLabel")
  12678.             local shadow = Instance.new("Frame")
  12679.             local PopupText = Instance.new("TextLabel")
  12680.             local Exit = Instance.new("TextButton")
  12681.             local ExitImage = Instance.new("ImageLabel")
  12682.  
  12683.             AnnGUI.Name = randomString()
  12684.             AnnGUI.Parent = PARENT
  12685.             AnnGUI.Active = true
  12686.             AnnGUI.BackgroundTransparency = 1
  12687.             AnnGUI.Position = UDim2.new(0.5, -180, 0, -500)
  12688.             AnnGUI.Size = UDim2.new(0, 360, 0, 20)
  12689.             AnnGUI.ZIndex = 10
  12690.  
  12691.             background.Name = "background"
  12692.             background.Parent = AnnGUI
  12693.             background.Active = true
  12694.             background.BackgroundColor3 = currentShade1
  12695.             background.BorderSizePixel = 0
  12696.             background.Position = UDim2.new(0, 0, 0, 20)
  12697.             background.Size = UDim2.new(0, 360, 0, 150)
  12698.             background.ZIndex = 10
  12699.  
  12700.             TextBox.Parent = background
  12701.             TextBox.BackgroundTransparency = 1
  12702.             TextBox.Position = UDim2.new(0, 5, 0, 5)
  12703.             TextBox.Size = UDim2.new(0, 350, 0, 140)
  12704.             TextBox.Font = Enum.Font.SourceSans
  12705.             TextBox.TextSize = 18
  12706.             TextBox.TextWrapped = true
  12707.             TextBox.Text = Announcement
  12708.             TextBox.TextColor3 = currentText1
  12709.             TextBox.TextXAlignment = Enum.TextXAlignment.Left
  12710.             TextBox.TextYAlignment = Enum.TextYAlignment.Top
  12711.             TextBox.ZIndex = 10
  12712.  
  12713.             shadow.Name = "shadow"
  12714.             shadow.Parent = AnnGUI
  12715.             shadow.BackgroundColor3 = currentShade2
  12716.             shadow.BorderSizePixel = 0
  12717.             shadow.Size = UDim2.new(0, 360, 0, 20)
  12718.             shadow.ZIndex = 10
  12719.  
  12720.             PopupText.Name = "PopupText"
  12721.             PopupText.Parent = shadow
  12722.             PopupText.BackgroundTransparency = 1
  12723.             PopupText.Size = UDim2.new(1, 0, 0.95, 0)
  12724.             PopupText.ZIndex = 10
  12725.             PopupText.Font = Enum.Font.SourceSans
  12726.             PopupText.TextSize = 14
  12727.             PopupText.Text = "Server Announcement"
  12728.             PopupText.TextColor3 = currentText1
  12729.             PopupText.TextWrapped = true
  12730.  
  12731.             Exit.Name = "Exit"
  12732.             Exit.Parent = shadow
  12733.             Exit.BackgroundTransparency = 1
  12734.             Exit.Position = UDim2.new(1, -20, 0, 0)
  12735.             Exit.Size = UDim2.new(0, 20, 0, 20)
  12736.             Exit.Text = ""
  12737.             Exit.ZIndex = 10
  12738.  
  12739.             ExitImage.Parent = Exit
  12740.             ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
  12741.             ExitImage.BackgroundTransparency = 1
  12742.             ExitImage.Position = UDim2.new(0, 5, 0, 5)
  12743.             ExitImage.Size = UDim2.new(0, 10, 0, 10)
  12744.             ExitImage.Image = "rbxassetid://5054663650"
  12745.             ExitImage.ZIndex = 10
  12746.  
  12747.             wait(1)
  12748.             AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil)
  12749.  
  12750.             Exit.MouseButton1Click:Connect(function()
  12751.                 AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  12752.                 wait(0.6)
  12753.                 AnnGUI:Destroy()
  12754.             end)
  12755.         end
  12756.     end
  12757. end)
  12758.  
  12759. task.spawn(function()
  12760.     wait()
  12761.     Credits:TweenPosition(UDim2.new(0, 0, 0.9, 0), "Out", "Quart", 0.2)
  12762.     Logo:TweenSizeAndPosition(UDim2.new(0, 175, 0, 175), UDim2.new(0, 37, 0, 45), "Out", "Quart", 0.3)
  12763.     wait(1)
  12764.     local OutInfo = TweenInfo.new(1.6809, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 0, false, 0)
  12765.     TweenService:Create(Logo, OutInfo, {ImageTransparency = 1}):Play()
  12766.     TweenService:Create(IntroBackground, OutInfo, {BackgroundTransparency = 1}):Play()
  12767.     Credits:TweenPosition(UDim2.new(0, 0, 0.9, 30), "Out", "Quart", 0.2)
  12768.     wait(0.2)
  12769.     Logo:Destroy()
  12770.     Credits:Destroy()
  12771.     IntroBackground:Destroy()
  12772.     minimizeHolder()
  12773.     if IsOnMobile then notify("Unstable Device", "On mobile, Elmas may have issues or features that are not functioning correctly.") end
  12774. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement