2AreYouMental110

infinite yield (modified for Total Roblox Drama)

Sep 7th, 2023
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 455.24 KB | None | 0 0
  1. if IY_LOADED and not _G.IY_DEBUG == true then
  2.     -- error("Infinite Yield is already running!", 0)
  3.     return
  4. end
  5.  
  6. pcall(function() getgenv().IY_LOADED = true end)
  7.  
  8. COREGUI = game:GetService("CoreGui")
  9. if not game:IsLoaded() then
  10.     local notLoaded = Instance.new("Message")
  11.     notLoaded.Parent = COREGUI
  12.     notLoaded.Text = 'Infinite Yield is waiting for the game to load'
  13.     game.Loaded:Wait()
  14.     notLoaded:Destroy()
  15. end
  16.  
  17. currentVersion = '5.9.3'
  18.  
  19. Players = game:GetService("Players")
  20.  
  21. Holder = Instance.new("Frame")
  22. Title = Instance.new("TextLabel")
  23. Dark = Instance.new("Frame")
  24. Cmdbar = Instance.new("TextBox")
  25. CMDsF = Instance.new("ScrollingFrame")
  26. cmdListLayout = Instance.new("UIListLayout")
  27. SettingsButton = Instance.new("ImageButton")
  28. ColorsButton = Instance.new("ImageButton")
  29. Settings = Instance.new("Frame")
  30. Prefix = Instance.new("TextLabel")
  31. PrefixBox = Instance.new("TextBox")
  32. Keybinds = Instance.new("TextLabel")
  33. StayOpen = Instance.new("TextLabel")
  34. Button = Instance.new("Frame")
  35. On = Instance.new("TextButton")
  36. Positions = Instance.new("TextLabel")
  37. EventBind = Instance.new("TextLabel")
  38. Plugins = Instance.new("TextLabel")
  39. Example = Instance.new("TextButton")
  40. Notification = Instance.new("Frame")
  41. Title_2 = Instance.new("TextLabel")
  42. Text_2 = Instance.new("TextLabel")
  43. CloseButton = Instance.new("TextButton")
  44. CloseImage = Instance.new("ImageLabel")
  45. PinButton = Instance.new("TextButton")
  46. PinImage = Instance.new("ImageLabel")
  47. Tooltip = Instance.new("Frame")
  48. Title_3 = Instance.new("TextLabel")
  49. Description = Instance.new("TextLabel")
  50. IntroBackground = Instance.new("Frame")
  51. Logo = Instance.new("ImageLabel")
  52. Credits = Instance.new("TextBox")
  53. KeybindsFrame = Instance.new("Frame")
  54. Close = Instance.new("TextButton")
  55. Add = Instance.new("TextButton")
  56. Delete = Instance.new("TextButton")
  57. Holder_2 = Instance.new("ScrollingFrame")
  58. Example_2 = Instance.new("Frame")
  59. Text_3 = Instance.new("TextLabel")
  60. Delete_2 = Instance.new("TextButton")
  61. KeybindEditor = Instance.new("Frame")
  62. background_2 = Instance.new("Frame")
  63. Dark_3 = Instance.new("Frame")
  64. Directions = Instance.new("TextLabel")
  65. BindTo = Instance.new("TextButton")
  66. TriggerLabel = Instance.new("TextLabel")
  67. BindTriggerSelect = Instance.new("TextButton")
  68. Add_2 = Instance.new("TextButton")
  69. Toggles = Instance.new("ScrollingFrame")
  70. ClickTP  = Instance.new("TextLabel")
  71. Select = Instance.new("TextButton")
  72. ClickDelete = Instance.new("TextLabel")
  73. Select_2 = Instance.new("TextButton")
  74. Cmdbar_2 = Instance.new("TextBox")
  75. Cmdbar_3 = Instance.new("TextBox")
  76. CreateToggle = Instance.new("TextLabel")
  77. Button_2 = Instance.new("Frame")
  78. On_2 = Instance.new("TextButton")
  79. shadow_2 = Instance.new("Frame")
  80. PopupText_2 = Instance.new("TextLabel")
  81. Exit_2 = Instance.new("TextButton")
  82. ExitImage_2 = Instance.new("ImageLabel")
  83. PositionsFrame = Instance.new("Frame")
  84. Close_3 = Instance.new("TextButton")
  85. Delete_5 = Instance.new("TextButton")
  86. Part = Instance.new("TextButton")
  87. Holder_4 = Instance.new("ScrollingFrame")
  88. Example_4 = Instance.new("Frame")
  89. Text_5 = Instance.new("TextLabel")
  90. Delete_6 = Instance.new("TextButton")
  91. TP = Instance.new("TextButton")
  92. AliasesFrame = Instance.new("Frame")
  93. Close_2 = Instance.new("TextButton")
  94. Delete_3 = Instance.new("TextButton")
  95. Holder_3 = Instance.new("ScrollingFrame")
  96. Example_3 = Instance.new("Frame")
  97. Text_4 = Instance.new("TextLabel")
  98. Delete_4 = Instance.new("TextButton")
  99. Aliases = Instance.new("TextLabel")
  100. PluginsFrame = Instance.new("Frame")
  101. Close_4 = Instance.new("TextButton")
  102. Add_3 = Instance.new("TextButton")
  103. Holder_5 = Instance.new("ScrollingFrame")
  104. Example_5 = Instance.new("Frame")
  105. Text_6 = Instance.new("TextLabel")
  106. Delete_7 = Instance.new("TextButton")
  107. PluginEditor = Instance.new("Frame")
  108. background_3 = Instance.new("Frame")
  109. Dark_2 = Instance.new("Frame")
  110. Img = Instance.new("ImageButton")
  111. AddPlugin = Instance.new("TextButton")
  112. FileName = Instance.new("TextBox")
  113. About = Instance.new("TextLabel")
  114. Directions_2 = Instance.new("TextLabel")
  115. shadow_3 = Instance.new("Frame")
  116. PopupText_3 = Instance.new("TextLabel")
  117. Exit_3 = Instance.new("TextButton")
  118. ExitImage_3 = Instance.new("ImageLabel")
  119. AliasHint = Instance.new("TextLabel")
  120. PluginsHint = Instance.new("TextLabel")
  121. PositionsHint = Instance.new("TextLabel")
  122. ToPartFrame = Instance.new("Frame")
  123. background_4 = Instance.new("Frame")
  124. ChoosePart = Instance.new("TextButton")
  125. CopyPath = Instance.new("TextButton")
  126. Directions_3 = Instance.new("TextLabel")
  127. Path = Instance.new("TextLabel")
  128. shadow_4 = Instance.new("Frame")
  129. PopupText_5 = Instance.new("TextLabel")
  130. Exit_4 = Instance.new("TextButton")
  131. ExitImage_5 = Instance.new("ImageLabel")
  132. logs = Instance.new("Frame")
  133. shadow = Instance.new("Frame")
  134. Hide = Instance.new("TextButton")
  135. ImageLabel = Instance.new("ImageLabel")
  136. PopupText = Instance.new("TextLabel")
  137. Exit = Instance.new("TextButton")
  138. ImageLabel_2 = Instance.new("ImageLabel")
  139. background = Instance.new("Frame")
  140. chat = Instance.new("Frame")
  141. Clear = Instance.new("TextButton")
  142. SaveChatlogs = Instance.new("TextButton")
  143. Toggle = Instance.new("TextButton")
  144. scroll_2 = Instance.new("ScrollingFrame")
  145. join = Instance.new("Frame")
  146. Toggle_2 = Instance.new("TextButton")
  147. Clear_2 = Instance.new("TextButton")
  148. scroll_3 = Instance.new("ScrollingFrame")
  149. listlayout = Instance.new("UIListLayout",scroll_3)
  150. selectChat = Instance.new("TextButton")
  151. selectJoin = Instance.new("TextButton")
  152.  
  153. function randomString()
  154.     local length = math.random(10,20)
  155.     local array = {}
  156.     for i = 1, length do
  157.         array[i] = string.char(math.random(32, 126))
  158.     end
  159.     return table.concat(array)
  160. end
  161.  
  162. PARENT = nil
  163. if get_hidden_gui or gethui then
  164.     local hiddenUI = get_hidden_gui or gethui
  165.     local Main = Instance.new("ScreenGui")
  166.     Main.Name = randomString()
  167.     Main.Parent = hiddenUI()
  168.     PARENT = Main
  169. elseif (not is_sirhurt_closure) and (syn and syn.protect_gui) then
  170.     local Main = Instance.new("ScreenGui")
  171.     Main.Name = randomString()
  172.     syn.protect_gui(Main)
  173.     Main.Parent = COREGUI
  174.     PARENT = Main
  175. elseif COREGUI:FindFirstChild('RobloxGui') then
  176.     PARENT = COREGUI.RobloxGui
  177. else
  178.     local Main = Instance.new("ScreenGui")
  179.     Main.Name = randomString()
  180.     Main.Parent = COREGUI
  181.     PARENT = Main
  182. end
  183.  
  184. shade1 = {}
  185. shade2 = {}
  186. shade3 = {}
  187. text1 = {}
  188. text2 = {}
  189. scroll = {}
  190.  
  191. Holder.Name = randomString()
  192. Holder.Parent = PARENT
  193. Holder.Active = true
  194. Holder.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  195. Holder.BorderSizePixel = 0
  196. Holder.Position = UDim2.new(1, -250, 1, -220)
  197. Holder.Size = UDim2.new(0, 250, 0, 220)
  198. Holder.ZIndex = 10
  199. table.insert(shade2,Holder)
  200.  
  201. Title.Name = "Title"
  202. Title.Parent = Holder
  203. Title.Active = true
  204. Title.BackgroundColor3 = Color3.fromRGB(36,36,37)
  205. Title.BorderSizePixel = 0
  206. Title.Size = UDim2.new(0, 250, 0, 20)
  207. Title.Font = Enum.Font.SourceSans
  208. Title.TextSize = 18
  209. Title.Text = "Infinite Yield FE (MODIFIED FOR TRD) v" .. currentVersion
  210.  
  211. do
  212.     local emoji = ({
  213.         ["01 01"] = "🎆",
  214.         [(function(Year)
  215.             local A = math.floor(Year/100)
  216.             local B = math.floor((13+8*A)/25)
  217.             local C = (15-B+A-math.floor(A/4))%30
  218.             local D = (4+A-math.floor(A/4))%7
  219.             local E = (19*(Year%19)+C)%30
  220.             local F = (2*(Year%4)+4*(Year%7)+6*E+D)%7
  221.             local G = (22+E+F)
  222.             if E == 29 and F == 6 then
  223.                 return "04 19"
  224.             elseif E == 28 and F == 6 then
  225.                 return "04 18"
  226.             elseif 31 < G then
  227.                 return ("04 %02d"):format(G-31)
  228.             end
  229.             return ("03 %02d"):format(G)
  230.         end)(tonumber(os.date"%Y"))] = "🥚",
  231.         ["10 31"] = "🎃",
  232.         ["12 25"] = "🎄"
  233.     })[os.date("%m %d")]
  234.     if emoji then
  235.         Title.Text = ("%s %s %s"):format(emoji, Title.Text, emoji)
  236.     end
  237. end
  238.  
  239. Title.TextColor3 = Color3.new(1, 1, 1)
  240. Title.ZIndex = 10
  241. table.insert(shade1,Title)
  242. table.insert(text1,Title)
  243.  
  244. Dark.Name = "Dark"
  245. Dark.Parent = Holder
  246. Dark.Active = true
  247. Dark.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  248. Dark.BorderSizePixel = 0
  249. Dark.Position = UDim2.new(0, 0, 0, 45)
  250. Dark.Size = UDim2.new(0, 250, 0, 175)
  251. Dark.ZIndex = 10
  252. table.insert(shade1,Dark)
  253.  
  254. Cmdbar.Name = "Cmdbar"
  255. Cmdbar.Parent = Holder
  256. Cmdbar.BackgroundTransparency = 1
  257. Cmdbar.BorderSizePixel = 0
  258. Cmdbar.Position = UDim2.new(0, 5, 0, 20)
  259. Cmdbar.Size = UDim2.new(0, 240, 0, 25)
  260. Cmdbar.Font = Enum.Font.SourceSans
  261. Cmdbar.TextSize = 18
  262. Cmdbar.TextXAlignment = Enum.TextXAlignment.Left
  263. Cmdbar.TextColor3 = Color3.new(1, 1, 1)
  264. Cmdbar.Text = ""
  265. Cmdbar.ZIndex = 10
  266. Cmdbar.PlaceholderText = "Command Bar"
  267.  
  268. CMDsF.Name = "CMDs"
  269. CMDsF.Parent = Holder
  270. CMDsF.BackgroundTransparency = 1
  271. CMDsF.BorderSizePixel = 0
  272. CMDsF.Position = UDim2.new(0, 5, 0, 45)
  273. CMDsF.Size = UDim2.new(0, 245, 0, 175)
  274. CMDsF.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  275. CMDsF.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  276. CMDsF.CanvasSize = UDim2.new(0, 0, 0, 0)
  277. CMDsF.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  278. CMDsF.ScrollBarThickness = 8
  279. CMDsF.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  280. CMDsF.VerticalScrollBarInset = 'Always'
  281. CMDsF.ZIndex = 10
  282. table.insert(scroll,CMDsF)
  283.  
  284. cmdListLayout.Parent = CMDsF
  285.  
  286. SettingsButton.Name = "SettingsButton"
  287. SettingsButton.Parent = Holder
  288. SettingsButton.BackgroundTransparency = 1
  289. SettingsButton.Position = UDim2.new(0, 230, 0, 0)
  290. SettingsButton.Size = UDim2.new(0, 20, 0, 20)
  291. SettingsButton.Image = "rbxassetid://1204397029"
  292. SettingsButton.ZIndex = 10
  293.  
  294. ReferenceButton = Instance.new("ImageButton")
  295. ReferenceButton.Name = "ReferenceButton"
  296. ReferenceButton.Parent = Holder
  297. ReferenceButton.BackgroundTransparency = 1
  298. ReferenceButton.Position = UDim2.new(0, 212, 0, 2)
  299. ReferenceButton.Size = UDim2.new(0, 16, 0, 16)
  300. ReferenceButton.Image = "rbxassetid://3523243755"
  301. ReferenceButton.ZIndex = 10
  302.  
  303. Settings.Name = "Settings"
  304. Settings.Parent = Holder
  305. Settings.Active = true
  306. Settings.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  307. Settings.BorderSizePixel = 0
  308. Settings.Position = UDim2.new(0, 0, 0, 220)
  309. Settings.Size = UDim2.new(0, 250, 0, 175)
  310. Settings.ZIndex = 10
  311. table.insert(shade1,Settings)
  312.  
  313. SettingsHolder = Instance.new("ScrollingFrame")
  314. SettingsHolder.Name = "Holder"
  315. SettingsHolder.Parent = Settings
  316. SettingsHolder.BackgroundTransparency = 1
  317. SettingsHolder.BorderSizePixel = 0
  318. SettingsHolder.Size = UDim2.new(1,0,1,0)
  319. SettingsHolder.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  320. SettingsHolder.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  321. SettingsHolder.CanvasSize = UDim2.new(0, 0, 0, 235)
  322. SettingsHolder.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  323. SettingsHolder.ScrollBarThickness = 8
  324. SettingsHolder.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  325. SettingsHolder.VerticalScrollBarInset = 'Always'
  326. SettingsHolder.ZIndex = 10
  327. table.insert(scroll,SettingsHolder)
  328.  
  329. Prefix.Name = "Prefix"
  330. Prefix.Parent = SettingsHolder
  331. Prefix.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  332. Prefix.BorderSizePixel = 0
  333. Prefix.BackgroundTransparency = 1
  334. Prefix.Position = UDim2.new(0, 5, 0, 5)
  335. Prefix.Size = UDim2.new(1, -10, 0, 20)
  336. Prefix.Font = Enum.Font.SourceSans
  337. Prefix.TextSize = 14
  338. Prefix.Text = "Prefix"
  339. Prefix.TextColor3 = Color3.new(1, 1, 1)
  340. Prefix.TextXAlignment = Enum.TextXAlignment.Left
  341. Prefix.ZIndex = 10
  342. table.insert(shade2,Prefix)
  343. table.insert(text1,Prefix)
  344.  
  345. PrefixBox.Name = "PrefixBox"
  346. PrefixBox.Parent = Prefix
  347. PrefixBox.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  348. PrefixBox.BorderSizePixel = 0
  349. PrefixBox.Position = UDim2.new(1, -20, 0, 0)
  350. PrefixBox.Size = UDim2.new(0, 20, 0, 20)
  351. PrefixBox.Font = Enum.Font.SourceSansBold
  352. PrefixBox.TextSize = 14
  353. PrefixBox.Text = ''
  354. PrefixBox.TextColor3 = Color3.new(0, 0, 0)
  355. PrefixBox.ZIndex = 10
  356. table.insert(shade3,PrefixBox)
  357. table.insert(text2,PrefixBox)
  358.  
  359. function makeSettingsButton(name,iconID,off)
  360.     local button = Instance.new("TextButton")
  361.     button.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  362.     button.BorderSizePixel = 0
  363.     button.Position = UDim2.new(0,0,0,0)
  364.     button.Size = UDim2.new(1,0,0,25)
  365.     button.Text = ""
  366.     button.ZIndex = 10
  367.     local icon = Instance.new("ImageLabel")
  368.     icon.Name = "Icon"
  369.     icon.Parent = button
  370.     icon.Position = UDim2.new(0,5,0,5)
  371.     icon.Size = UDim2.new(0,16,0,16)
  372.     icon.BackgroundTransparency = 1
  373.     icon.Image = iconID
  374.     icon.ZIndex = 10
  375.     if off then
  376.         icon.ScaleType = Enum.ScaleType.Crop
  377.         icon.ImageRectSize = Vector2.new(16,16)
  378.         icon.ImageRectOffset = Vector2.new(off,0)
  379.     end
  380.     local label = Instance.new("TextLabel")
  381.     label.Name = "ButtonLabel"
  382.     label.Parent = button
  383.     label.BackgroundTransparency = 1
  384.     label.Text = name
  385.     label.Position = UDim2.new(0,28,0,0)
  386.     label.Size = UDim2.new(1,-28,1,0)
  387.     label.Font = Enum.Font.SourceSans
  388.     label.TextColor3 = Color3.new(1, 1, 1)
  389.     label.TextSize = 14
  390.     label.ZIndex = 10
  391.     label.TextXAlignment = Enum.TextXAlignment.Left
  392.     table.insert(shade2,button)
  393.     table.insert(text1,label)
  394.     return button
  395. end
  396.  
  397. ColorsButton = makeSettingsButton("Edit Theme","rbxassetid://4911962991")
  398. ColorsButton.Position = UDim2.new(0,5,0,55)
  399. ColorsButton.Size = UDim2.new(1,-10,0,25)
  400. ColorsButton.Name = "Colors"
  401. ColorsButton.Parent = SettingsHolder
  402.  
  403. Keybinds = makeSettingsButton("Edit Keybinds","rbxassetid://129697930")
  404. Keybinds.Position = UDim2.new(0, 5, 0, 85)
  405. Keybinds.Size = UDim2.new(1, -10, 0, 25)
  406. Keybinds.Name = "Keybinds"
  407. Keybinds.Parent = SettingsHolder
  408.  
  409. Aliases = makeSettingsButton("Edit Aliases","rbxassetid://5147488658")
  410. Aliases.Position = UDim2.new(0, 5, 0, 115)
  411. Aliases.Size = UDim2.new(1, -10, 0, 25)
  412. Aliases.Name = "Aliases"
  413. Aliases.Parent = SettingsHolder
  414.  
  415. StayOpen.Name = "StayOpen"
  416. StayOpen.Parent = SettingsHolder
  417. StayOpen.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  418. StayOpen.BorderSizePixel = 0
  419. StayOpen.BackgroundTransparency = 1
  420. StayOpen.Position = UDim2.new(0, 5, 0, 30)
  421. StayOpen.Size = UDim2.new(1, -10, 0, 20)
  422. StayOpen.Font = Enum.Font.SourceSans
  423. StayOpen.TextSize = 14
  424. StayOpen.Text = "Keep Menu Open"
  425. StayOpen.TextColor3 = Color3.new(1, 1, 1)
  426. StayOpen.TextXAlignment = Enum.TextXAlignment.Left
  427. StayOpen.ZIndex = 10
  428. table.insert(shade2,StayOpen)
  429. table.insert(text1,StayOpen)
  430.  
  431. Button.Name = "Button"
  432. Button.Parent = StayOpen
  433. Button.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  434. Button.BorderSizePixel = 0
  435. Button.Position = UDim2.new(1, -20, 0, 0)
  436. Button.Size = UDim2.new(0, 20, 0, 20)
  437. Button.ZIndex = 10
  438. table.insert(shade3,Button)
  439.  
  440. On.Name = "On"
  441. On.Parent = Button
  442. On.BackgroundColor3 = Color3.fromRGB(150, 150, 151)
  443. On.BackgroundTransparency = 1
  444. On.BorderSizePixel = 0
  445. On.Position = UDim2.new(0, 2, 0, 2)
  446. On.Size = UDim2.new(0, 16, 0, 16)
  447. On.Font = Enum.Font.SourceSans
  448. On.FontSize = Enum.FontSize.Size14
  449. On.Text = ""
  450. On.TextColor3 = Color3.new(0, 0, 0)
  451. On.ZIndex = 10
  452.  
  453. Positions = makeSettingsButton("Edit/Goto Waypoints","rbxassetid://5147488592")
  454. Positions.Position = UDim2.new(0, 5, 0, 145)
  455. Positions.Size = UDim2.new(1, -10, 0, 25)
  456. Positions.Name = "Waypoints"
  457. Positions.Parent = SettingsHolder
  458.  
  459. EventBind = makeSettingsButton("Edit Event Binds","rbxassetid://5147695474",759)
  460. EventBind.Position = UDim2.new(0, 5, 0, 205)
  461. EventBind.Size = UDim2.new(1, -10, 0, 25)
  462. EventBind.Name = "EventBinds"
  463. EventBind.Parent = SettingsHolder
  464.  
  465. Plugins = makeSettingsButton("Manage Plugins","rbxassetid://5147695474",743)
  466. Plugins.Position = UDim2.new(0, 5, 0, 175)
  467. Plugins.Size = UDim2.new(1, -10, 0, 25)
  468. Plugins.Name = "Plugins"
  469. Plugins.Parent = SettingsHolder
  470.  
  471. Example.Name = "Example"
  472. Example.Parent = Holder
  473. Example.BackgroundTransparency = 1
  474. Example.BorderSizePixel = 0
  475. Example.Size = UDim2.new(0, 190, 0, 20)
  476. Example.Visible = false
  477. Example.Font = Enum.Font.SourceSans
  478. Example.TextSize = 18
  479. Example.Text = "Example"
  480. Example.TextColor3 = Color3.new(1, 1, 1)
  481. Example.TextXAlignment = Enum.TextXAlignment.Left
  482. Example.ZIndex = 10
  483. table.insert(text1,Example)
  484.  
  485. Notification.Name = randomString()
  486. Notification.Parent = PARENT
  487. Notification.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  488. Notification.BorderSizePixel = 0
  489. Notification.Position = UDim2.new(1, -500, 1, 20)
  490. Notification.Size = UDim2.new(0, 250, 0, 100)
  491. Notification.ZIndex = 10
  492. table.insert(shade1,Notification)
  493.  
  494. Title_2.Name = "Title"
  495. Title_2.Parent = Notification
  496. Title_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  497. Title_2.BorderSizePixel = 0
  498. Title_2.Size = UDim2.new(0, 250, 0, 20)
  499. Title_2.Font = Enum.Font.SourceSans
  500. Title_2.TextSize = 14
  501. Title_2.Text = "Notification Title"
  502. Title_2.TextColor3 = Color3.new(1, 1, 1)
  503. Title_2.ZIndex = 10
  504. table.insert(shade2,Title_2)
  505. table.insert(text1,Title_2)
  506.  
  507. Text_2.Name = "Text"
  508. Text_2.Parent = Notification
  509. Text_2.BackgroundTransparency = 1
  510. Text_2.BorderSizePixel = 0
  511. Text_2.Position = UDim2.new(0, 5, 0, 25)
  512. Text_2.Size = UDim2.new(0, 240, 0, 75)
  513. Text_2.Font = Enum.Font.SourceSans
  514. Text_2.TextSize = 16
  515. Text_2.Text = "Notification Text"
  516. Text_2.TextColor3 = Color3.new(1, 1, 1)
  517. Text_2.TextWrapped = true
  518. Text_2.ZIndex = 10
  519. table.insert(text1,Text_2)
  520.  
  521. CloseButton.Name = "CloseButton"
  522. CloseButton.Parent = Notification
  523. CloseButton.BackgroundTransparency = 1
  524. CloseButton.Position = UDim2.new(1, -20, 0, 0)
  525. CloseButton.Size = UDim2.new(0, 20, 0, 20)
  526. CloseButton.Text = ""
  527. CloseButton.ZIndex = 10
  528.  
  529. CloseImage.Parent = CloseButton
  530. CloseImage.BackgroundColor3 = Color3.new(1, 1, 1)
  531. CloseImage.BackgroundTransparency = 1
  532. CloseImage.Position = UDim2.new(0, 5, 0, 5)
  533. CloseImage.Size = UDim2.new(0, 10, 0, 10)
  534. CloseImage.Image = "rbxassetid://5054663650"
  535. CloseImage.ZIndex = 10
  536.  
  537. PinButton.Name = "PinButton"
  538. PinButton.Parent = Notification
  539. PinButton.BackgroundTransparency = 1
  540. PinButton.Size = UDim2.new(0, 20, 0, 20)
  541. PinButton.ZIndex = 10
  542. PinButton.Text = ""
  543.  
  544. PinImage.Parent = PinButton
  545. PinImage.BackgroundColor3 = Color3.new(1, 1, 1)
  546. PinImage.BackgroundTransparency = 1
  547. PinImage.Position = UDim2.new(0, 3, 0, 3)
  548. PinImage.Size = UDim2.new(0, 14, 0, 14)
  549. PinImage.ZIndex = 10
  550. PinImage.Image = "rbxassetid://6234691350"
  551.  
  552. Tooltip.Name = randomString()
  553. Tooltip.Parent = PARENT
  554. Tooltip.Active = true
  555. Tooltip.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  556. Tooltip.BackgroundTransparency = 0.1
  557. Tooltip.BorderSizePixel = 0
  558. Tooltip.Size = UDim2.new(0, 200, 0, 96)
  559. Tooltip.Visible = false
  560. Tooltip.ZIndex = 10
  561. table.insert(shade1,Tooltip)
  562.  
  563. Title_3.Name = "Title"
  564. Title_3.Parent = Tooltip
  565. Title_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  566. Title_3.BackgroundTransparency = 0.1
  567. Title_3.BorderSizePixel = 0
  568. Title_3.Size = UDim2.new(0, 200, 0, 20)
  569. Title_3.Font = Enum.Font.SourceSans
  570. Title_3.TextSize = 14
  571. Title_3.Text = ""
  572. Title_3.TextColor3 = Color3.new(1, 1, 1)
  573. Title_3.TextTransparency = 0.1
  574. Title_3.ZIndex = 10
  575. table.insert(shade2,Title_3)
  576. table.insert(text1,Title_3)
  577.  
  578. Description.Name = "Description"
  579. Description.Parent = Tooltip
  580. Description.BackgroundTransparency = 1
  581. Description.BorderSizePixel = 0
  582. Description.Size = UDim2.new(0,180,0,72)
  583. Description.Position = UDim2.new(0,10,0,18)
  584. Description.Font = Enum.Font.SourceSans
  585. Description.TextSize = 16
  586. Description.Text = ""
  587. Description.TextColor3 = Color3.new(1, 1, 1)
  588. Description.TextTransparency = 0.1
  589. Description.TextWrapped = true
  590. Description.ZIndex = 10
  591. table.insert(text1,Description)
  592.  
  593. IntroBackground.Name = "IntroBackground"
  594. IntroBackground.Parent = Holder
  595. IntroBackground.Active = true
  596. IntroBackground.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  597. IntroBackground.BorderSizePixel = 0
  598. IntroBackground.Position = UDim2.new(0, 0, 0, 45)
  599. IntroBackground.Size = UDim2.new(0, 250, 0, 175)
  600. IntroBackground.ZIndex = 10
  601.  
  602. Logo.Name = "Logo"
  603. Logo.Parent = Holder
  604. Logo.BackgroundTransparency = 1
  605. Logo.BorderSizePixel = 0
  606. Logo.Position = UDim2.new(0, 125, 0, 127)
  607. Logo.Size = UDim2.new(0, 10, 0, 10)
  608. Logo.Image = "rbxassetid://1352543873"
  609. Logo.ImageTransparency = 0
  610. Logo.ZIndex = 10
  611.  
  612. Credits.Name = "Credits"
  613. Credits.Parent = Holder
  614. Credits.BackgroundTransparency = 1
  615. Credits.BorderSizePixel = 0
  616. Credits.Position = UDim2.new(0, 0, 0.9, 30)
  617. Credits.Size = UDim2.new(0, 250, 0, 20)
  618. Credits.Font = Enum.Font.SourceSansLight
  619. Credits.FontSize = Enum.FontSize.Size18
  620. Credits.Text = "Edge // Zwolf // Moon // Toon"
  621. Credits.TextColor3 = Color3.new(1, 1, 1)
  622. Credits.ZIndex = 10
  623.  
  624. KeybindsFrame.Name = "KeybindsFrame"
  625. KeybindsFrame.Parent = Settings
  626. KeybindsFrame.Active = true
  627. KeybindsFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  628. KeybindsFrame.BorderSizePixel = 0
  629. KeybindsFrame.Position = UDim2.new(0, 0, 0, 175)
  630. KeybindsFrame.Size = UDim2.new(0, 250, 0, 175)
  631. KeybindsFrame.ZIndex = 10
  632. table.insert(shade1,KeybindsFrame)
  633.  
  634. Close.Name = "Close"
  635. Close.Parent = KeybindsFrame
  636. Close.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  637. Close.BorderSizePixel = 0
  638. Close.Position = UDim2.new(0, 205, 0, 150)
  639. Close.Size = UDim2.new(0, 40, 0, 20)
  640. Close.Font = Enum.Font.SourceSans
  641. Close.TextSize = 14
  642. Close.Text = "Close"
  643. Close.TextColor3 = Color3.new(1, 1, 1)
  644. Close.ZIndex = 10
  645. table.insert(shade2,Close)
  646. table.insert(text1,Close)
  647.  
  648. Add.Name = "Add"
  649. Add.Parent = KeybindsFrame
  650. Add.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  651. Add.BorderSizePixel = 0
  652. Add.Position = UDim2.new(0, 5, 0, 150)
  653. Add.Size = UDim2.new(0, 40, 0, 20)
  654. Add.Font = Enum.Font.SourceSans
  655. Add.TextSize = 14
  656. Add.Text = "Add"
  657. Add.TextColor3 = Color3.new(1, 1, 1)
  658. Add.ZIndex = 10
  659. table.insert(shade2,Add)
  660. table.insert(text1,Add)
  661.  
  662. Delete.Name = "Delete"
  663. Delete.Parent = KeybindsFrame
  664. Delete.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  665. Delete.BorderSizePixel = 0
  666. Delete.Position = UDim2.new(0, 50, 0, 150)
  667. Delete.Size = UDim2.new(0, 40, 0, 20)
  668. Delete.Font = Enum.Font.SourceSans
  669. Delete.TextSize = 14
  670. Delete.Text = "Clear"
  671. Delete.TextColor3 = Color3.new(1, 1, 1)
  672. Delete.ZIndex = 10
  673. table.insert(shade2,Delete)
  674. table.insert(text1,Delete)
  675.  
  676. Holder_2.Name = "Holder"
  677. Holder_2.Parent = KeybindsFrame
  678. Holder_2.BackgroundTransparency = 1
  679. Holder_2.BorderSizePixel = 0
  680. Holder_2.Position = UDim2.new(0, 0, 0, 0)
  681. Holder_2.Size = UDim2.new(0, 250, 0, 145)
  682. Holder_2.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  683. Holder_2.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  684. Holder_2.CanvasSize = UDim2.new(0, 0, 0, 0)
  685. Holder_2.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  686. Holder_2.ScrollBarThickness = 0
  687. Holder_2.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  688. Holder_2.VerticalScrollBarInset = 'Always'
  689. Holder_2.ZIndex = 10
  690.  
  691. Example_2.Name = "Example"
  692. Example_2.Parent = KeybindsFrame
  693. Example_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  694. Example_2.BorderSizePixel = 0
  695. Example_2.Size = UDim2.new(0, 10, 0, 20)
  696. Example_2.Visible = false
  697. Example_2.ZIndex = 10
  698. table.insert(shade2,Example_2)
  699.  
  700. Text_3.Name = "Text"
  701. Text_3.Parent = Example_2
  702. Text_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  703. Text_3.BorderSizePixel = 0
  704. Text_3.Position = UDim2.new(0, 10, 0, 0)
  705. Text_3.Size = UDim2.new(0, 240, 0, 20)
  706. Text_3.Font = Enum.Font.SourceSans
  707. Text_3.TextSize = 14
  708. Text_3.Text = "nom"
  709. Text_3.TextColor3 = Color3.new(1, 1, 1)
  710. Text_3.TextXAlignment = Enum.TextXAlignment.Left
  711. Text_3.ZIndex = 10
  712. table.insert(shade2,Text_3)
  713. table.insert(text1,Text_3)
  714.  
  715. Delete_2.Name = "Delete"
  716. Delete_2.Parent = Text_3
  717. Delete_2.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  718. Delete_2.BorderSizePixel = 0
  719. Delete_2.Position = UDim2.new(0, 200, 0, 0)
  720. Delete_2.Size = UDim2.new(0, 40, 0, 20)
  721. Delete_2.Font = Enum.Font.SourceSans
  722. Delete_2.TextSize = 14
  723. Delete_2.Text = "Delete"
  724. Delete_2.TextColor3 = Color3.new(0, 0, 0)
  725. Delete_2.ZIndex = 10
  726. table.insert(shade3,Delete_2)
  727. table.insert(text2,Delete_2)
  728.  
  729. KeybindEditor.Name = randomString()
  730. KeybindEditor.Parent = PARENT
  731. KeybindEditor.Active = true
  732. KeybindEditor.BackgroundTransparency = 1
  733. KeybindEditor.Position = UDim2.new(0.5, -180, 0, -500)
  734. KeybindEditor.Size = UDim2.new(0, 360, 0, 20)
  735. KeybindEditor.ZIndex = 10
  736.  
  737. background_2.Name = "background"
  738. background_2.Parent = KeybindEditor
  739. background_2.Active = true
  740. background_2.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  741. background_2.BorderSizePixel = 0
  742. background_2.Position = UDim2.new(0, 0, 0, 20)
  743. background_2.Size = UDim2.new(0, 360, 0, 185)
  744. background_2.ZIndex = 10
  745. table.insert(shade1,background_2)
  746.  
  747. Dark_3.Name = "Dark"
  748. Dark_3.Parent = background_2
  749. Dark_3.Active = true
  750. Dark_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  751. Dark_3.BorderSizePixel = 0
  752. Dark_3.Position = UDim2.new(0, 135, 0, 0)
  753. Dark_3.Size = UDim2.new(0, 2, 0, 185)
  754. Dark_3.ZIndex = 10
  755. table.insert(shade2,Dark_3)
  756.  
  757. Directions.Name = "Directions"
  758. Directions.Parent = background_2
  759. Directions.BackgroundTransparency = 1
  760. Directions.BorderSizePixel = 0
  761. Directions.Position = UDim2.new(0, 10, 0, 15)
  762. Directions.Size = UDim2.new(0, 115, 0, 90)
  763. Directions.ZIndex = 10
  764. Directions.Font = Enum.Font.SourceSans
  765. Directions.Text = "Click the button below and press a key/mouse button. Then select what you want to bind it to."
  766. Directions.TextColor3 = Color3.fromRGB(255, 255, 255)
  767. Directions.TextSize = 14.000
  768. Directions.TextWrapped = true
  769. Directions.TextYAlignment = Enum.TextYAlignment.Top
  770. table.insert(text1,Directions)
  771.  
  772. BindTo.Name = "BindTo"
  773. BindTo.Parent = background_2
  774. BindTo.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  775. BindTo.BorderSizePixel = 0
  776. BindTo.Position = UDim2.new(0, 10, 0, 95)
  777. BindTo.Size = UDim2.new(0, 115, 0, 50)
  778. BindTo.ZIndex = 10
  779. BindTo.Font = Enum.Font.SourceSans
  780. BindTo.Text = "Click to bind"
  781. BindTo.TextColor3 = Color3.fromRGB(255, 255, 255)
  782. BindTo.TextSize = 16.000
  783. table.insert(shade2,BindTo)
  784. table.insert(text1,BindTo)
  785.  
  786. TriggerLabel.Name = "TriggerLabel"
  787. TriggerLabel.Parent = background_2
  788. TriggerLabel.BackgroundTransparency = 1
  789. TriggerLabel.Position = UDim2.new(0, 10, 0, 155)
  790. TriggerLabel.Size = UDim2.new(0, 45, 0, 20)
  791. TriggerLabel.ZIndex = 10
  792. TriggerLabel.Font = Enum.Font.SourceSans
  793. TriggerLabel.Text = "Trigger:"
  794. TriggerLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  795. TriggerLabel.TextSize = 14.000
  796. TriggerLabel.TextXAlignment = Enum.TextXAlignment.Left
  797. table.insert(text1,TriggerLabel)
  798.  
  799. BindTriggerSelect.Name = "BindTo"
  800. BindTriggerSelect.Parent = background_2
  801. BindTriggerSelect.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  802. BindTriggerSelect.BorderSizePixel = 0
  803. BindTriggerSelect.Position = UDim2.new(0, 60, 0, 155)
  804. BindTriggerSelect.Size = UDim2.new(0, 65, 0, 20)
  805. BindTriggerSelect.ZIndex = 10
  806. BindTriggerSelect.Font = Enum.Font.SourceSans
  807. BindTriggerSelect.Text = "KeyDown"
  808. BindTriggerSelect.TextColor3 = Color3.fromRGB(255, 255, 255)
  809. BindTriggerSelect.TextSize = 16.000
  810. table.insert(shade2,BindTriggerSelect)
  811. table.insert(text1,BindTriggerSelect)
  812.  
  813. Add_2.Name = "Add"
  814. Add_2.Parent = background_2
  815. Add_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  816. Add_2.BorderSizePixel = 0
  817. Add_2.Position = UDim2.new(0, 310, 0, 35)
  818. Add_2.Size = UDim2.new(0, 40, 0, 20)
  819. Add_2.ZIndex = 10
  820. Add_2.Font = Enum.Font.SourceSans
  821. Add_2.Text = "Add"
  822. Add_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  823. Add_2.TextSize = 14.000
  824. table.insert(shade2,Add_2)
  825. table.insert(text1,Add_2)
  826.  
  827. Toggles.Name = "Toggles"
  828. Toggles.Parent = background_2
  829. Toggles.BackgroundTransparency = 1
  830. Toggles.BorderSizePixel = 0
  831. Toggles.Position = UDim2.new(0, 150, 0, 125)
  832. Toggles.Size = UDim2.new(0, 200, 0, 50)
  833. Toggles.ZIndex = 10
  834. Toggles.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  835. Toggles.CanvasSize = UDim2.new(0, 0, 0, 50)
  836. Toggles.ScrollBarThickness = 8
  837. Toggles.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  838. Toggles.VerticalScrollBarInset = Enum.ScrollBarInset.Always
  839. table.insert(scroll,Toggles)
  840.  
  841. ClickTP.Name = "Click TP (Hold Key & Click)"
  842. ClickTP.Parent = Toggles
  843. ClickTP.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  844. ClickTP.BorderSizePixel = 0
  845. ClickTP.Size = UDim2.new(0, 200, 0, 20)
  846. ClickTP.ZIndex = 10
  847. ClickTP.Font = Enum.Font.SourceSans
  848. ClickTP.Text = "    Click TP (Hold Key & Click)"
  849. ClickTP.TextColor3 = Color3.fromRGB(255, 255, 255)
  850. ClickTP.TextSize = 14.000
  851. ClickTP.TextXAlignment = Enum.TextXAlignment.Left
  852. table.insert(shade2,ClickTP)
  853. table.insert(text1,ClickTP)
  854.  
  855. Select.Name = "Select"
  856. Select.Parent = ClickTP
  857. Select.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  858. Select.BorderSizePixel = 0
  859. Select.Position = UDim2.new(0, 160, 0, 0)
  860. Select.Size = UDim2.new(0, 40, 0, 20)
  861. Select.ZIndex = 10
  862. Select.Font = Enum.Font.SourceSans
  863. Select.Text = "Add"
  864. Select.TextColor3 = Color3.fromRGB(0, 0, 0)
  865. Select.TextSize = 14.000
  866. table.insert(shade3,Select)
  867. table.insert(text2,Select)
  868.  
  869. ClickDelete.Name = "Click Delete (Hold Key & Click)"
  870. ClickDelete.Parent = Toggles
  871. ClickDelete.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  872. ClickDelete.BorderSizePixel = 0
  873. ClickDelete.Position = UDim2.new(0, 0, 0, 25)
  874. ClickDelete.Size = UDim2.new(0, 200, 0, 20)
  875. ClickDelete.ZIndex = 10
  876. ClickDelete.Font = Enum.Font.SourceSans
  877. ClickDelete.Text = "    Click Delete (Hold Key & Click)"
  878. ClickDelete.TextColor3 = Color3.fromRGB(255, 255, 255)
  879. ClickDelete.TextSize = 14.000
  880. ClickDelete.TextXAlignment = Enum.TextXAlignment.Left
  881. table.insert(shade2,ClickDelete)
  882. table.insert(text1,ClickDelete)
  883.  
  884. Select_2.Name = "Select"
  885. Select_2.Parent = ClickDelete
  886. Select_2.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  887. Select_2.BorderSizePixel = 0
  888. Select_2.Position = UDim2.new(0, 160, 0, 0)
  889. Select_2.Size = UDim2.new(0, 40, 0, 20)
  890. Select_2.ZIndex = 10
  891. Select_2.Font = Enum.Font.SourceSans
  892. Select_2.Text = "Add"
  893. Select_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  894. Select_2.TextSize = 14.000
  895. table.insert(shade3,Select_2)
  896. table.insert(text2,Select_2)
  897.  
  898. Cmdbar_2.Name = "Cmdbar_2"
  899. Cmdbar_2.Parent = background_2
  900. Cmdbar_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  901. Cmdbar_2.BorderSizePixel = 0
  902. Cmdbar_2.Position = UDim2.new(0, 150, 0, 35)
  903. Cmdbar_2.Size = UDim2.new(0, 150, 0, 20)
  904. Cmdbar_2.ZIndex = 10
  905. Cmdbar_2.Font = Enum.Font.SourceSans
  906. Cmdbar_2.PlaceholderText = "Command"
  907. Cmdbar_2.Text = ""
  908. Cmdbar_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  909. Cmdbar_2.TextSize = 14.000
  910. Cmdbar_2.TextXAlignment = Enum.TextXAlignment.Left
  911.  
  912. Cmdbar_3.Name = "Cmdbar_3"
  913. Cmdbar_3.Parent = background_2
  914. Cmdbar_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  915. Cmdbar_3.BorderSizePixel = 0
  916. Cmdbar_3.Position = UDim2.new(0, 150, 0, 60)
  917. Cmdbar_3.Size = UDim2.new(0, 150, 0, 20)
  918. Cmdbar_3.ZIndex = 10
  919. Cmdbar_3.Font = Enum.Font.SourceSans
  920. Cmdbar_3.PlaceholderText = "Command 2"
  921. Cmdbar_3.Text = ""
  922. Cmdbar_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  923. Cmdbar_3.TextSize = 14.000
  924. Cmdbar_3.TextXAlignment = Enum.TextXAlignment.Left
  925.  
  926. CreateToggle.Name = "CreateToggle"
  927. CreateToggle.Parent = background_2
  928. CreateToggle.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  929. CreateToggle.BackgroundTransparency = 1
  930. CreateToggle.BorderSizePixel = 0
  931. CreateToggle.Position = UDim2.new(0, 152, 0, 10)
  932. CreateToggle.Size = UDim2.new(0, 198, 0, 20)
  933. CreateToggle.ZIndex = 10
  934. CreateToggle.Font = Enum.Font.SourceSans
  935. CreateToggle.Text = "Create Toggle"
  936. CreateToggle.TextColor3 = Color3.fromRGB(255, 255, 255)
  937. CreateToggle.TextSize = 14.000
  938. CreateToggle.TextXAlignment = Enum.TextXAlignment.Left
  939. table.insert(text1,CreateToggle)
  940.  
  941. Button_2.Name = "Button"
  942. Button_2.Parent = CreateToggle
  943. Button_2.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  944. Button_2.BorderSizePixel = 0
  945. Button_2.Position = UDim2.new(1, -20, 0, 0)
  946. Button_2.Size = UDim2.new(0, 20, 0, 20)
  947. Button_2.ZIndex = 10
  948. table.insert(shade3,Button_2)
  949.  
  950. On_2.Name = "On"
  951. On_2.Parent = Button_2
  952. On_2.BackgroundColor3 = Color3.fromRGB(150, 150, 151)
  953. On_2.BackgroundTransparency = 1
  954. On_2.BorderSizePixel = 0
  955. On_2.Position = UDim2.new(0, 2, 0, 2)
  956. On_2.Size = UDim2.new(0, 16, 0, 16)
  957. On_2.ZIndex = 10
  958. On_2.Font = Enum.Font.SourceSans
  959. On_2.Text = ""
  960. On_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  961. On_2.TextSize = 14.000
  962.  
  963. shadow_2.Name = "shadow"
  964. shadow_2.Parent = KeybindEditor
  965. shadow_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  966. shadow_2.BorderSizePixel = 0
  967. shadow_2.Size = UDim2.new(0, 360, 0, 20)
  968. shadow_2.ZIndex = 10
  969. table.insert(shade2,shadow_2)
  970.  
  971. PopupText_2.Name = "PopupText_2"
  972. PopupText_2.Parent = shadow_2
  973. PopupText_2.BackgroundTransparency = 1
  974. PopupText_2.Size = UDim2.new(1, 0, 0.949999988, 0)
  975. PopupText_2.ZIndex = 10
  976. PopupText_2.Font = Enum.Font.SourceSans
  977. PopupText_2.Text = "Set Keybinds"
  978. PopupText_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  979. PopupText_2.TextSize = 14.000
  980. PopupText_2.TextWrapped = true
  981. table.insert(text1,PopupText_2)
  982.  
  983. Exit_2.Name = "Exit_2"
  984. Exit_2.Parent = shadow_2
  985. Exit_2.BackgroundTransparency = 1
  986. Exit_2.Position = UDim2.new(1, -20, 0, 0)
  987. Exit_2.Size = UDim2.new(0, 20, 0, 20)
  988. Exit_2.ZIndex = 10
  989. Exit_2.Text = ""
  990.  
  991. ExitImage_2.Parent = Exit_2
  992. ExitImage_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  993. ExitImage_2.BackgroundTransparency = 1
  994. ExitImage_2.Position = UDim2.new(0, 5, 0, 5)
  995. ExitImage_2.Size = UDim2.new(0, 10, 0, 10)
  996. ExitImage_2.ZIndex = 10
  997. ExitImage_2.Image = "rbxassetid://5054663650"
  998.  
  999. PositionsFrame.Name = "PositionsFrame"
  1000. PositionsFrame.Parent = Settings
  1001. PositionsFrame.Active = true
  1002. PositionsFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1003. PositionsFrame.BorderSizePixel = 0
  1004. PositionsFrame.Size = UDim2.new(0, 250, 0, 175)
  1005. PositionsFrame.Position = UDim2.new(0, 0, 0, 175)
  1006. PositionsFrame.ZIndex = 10
  1007. table.insert(shade1,PositionsFrame)
  1008.  
  1009. Close_3.Name = "Close"
  1010. Close_3.Parent = PositionsFrame
  1011. Close_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1012. Close_3.BorderSizePixel = 0
  1013. Close_3.Position = UDim2.new(0, 205, 0, 150)
  1014. Close_3.Size = UDim2.new(0, 40, 0, 20)
  1015. Close_3.Font = Enum.Font.SourceSans
  1016. Close_3.TextSize = 14
  1017. Close_3.Text = "Close"
  1018. Close_3.TextColor3 = Color3.new(1, 1, 1)
  1019. Close_3.ZIndex = 10
  1020. table.insert(shade2,Close_3)
  1021. table.insert(text1,Close_3)
  1022.  
  1023. Delete_5.Name = "Delete"
  1024. Delete_5.Parent = PositionsFrame
  1025. Delete_5.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1026. Delete_5.BorderSizePixel = 0
  1027. Delete_5.Position = UDim2.new(0, 50, 0, 150)
  1028. Delete_5.Size = UDim2.new(0, 40, 0, 20)
  1029. Delete_5.Font = Enum.Font.SourceSans
  1030. Delete_5.TextSize = 14
  1031. Delete_5.Text = "Clear"
  1032. Delete_5.TextColor3 = Color3.new(1, 1, 1)
  1033. Delete_5.ZIndex = 10
  1034. table.insert(shade2,Delete_5)
  1035. table.insert(text1,Delete_5)
  1036.  
  1037. Part.Name = "PartGoto"
  1038. Part.Parent = PositionsFrame
  1039. Part.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1040. Part.BorderSizePixel = 0
  1041. Part.Position = UDim2.new(0, 5, 0, 150)
  1042. Part.Size = UDim2.new(0, 40, 0, 20)
  1043. Part.Font = Enum.Font.SourceSans
  1044. Part.TextSize = 14
  1045. Part.Text = "Part"
  1046. Part.TextColor3 = Color3.new(1, 1, 1)
  1047. Part.ZIndex = 10
  1048. table.insert(shade2,Part)
  1049. table.insert(text1,Part)
  1050.  
  1051. Holder_4.Name = "Holder"
  1052. Holder_4.Parent = PositionsFrame
  1053. Holder_4.BackgroundTransparency = 1
  1054. Holder_4.BorderSizePixel = 0
  1055. Holder_4.Position = UDim2.new(0, 0, 0, 0)
  1056. Holder_4.Selectable = false
  1057. Holder_4.Size = UDim2.new(0, 250, 0, 145)
  1058. Holder_4.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  1059. Holder_4.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1060. Holder_4.CanvasSize = UDim2.new(0, 0, 0, 0)
  1061. Holder_4.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1062. Holder_4.ScrollBarThickness = 0
  1063. Holder_4.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1064. Holder_4.VerticalScrollBarInset = 'Always'
  1065. Holder_4.ZIndex = 10
  1066.  
  1067. Example_4.Name = "Example"
  1068. Example_4.Parent = PositionsFrame
  1069. Example_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1070. Example_4.BorderSizePixel = 0
  1071. Example_4.Size = UDim2.new(0, 10, 0, 20)
  1072. Example_4.Visible = false
  1073. Example_4.Position = UDim2.new(0, 0, 0, -5)
  1074. Example_4.ZIndex = 10
  1075. table.insert(shade2,Example_4)
  1076.  
  1077. Text_5.Name = "Text"
  1078. Text_5.Parent = Example_4
  1079. Text_5.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1080. Text_5.BorderSizePixel = 0
  1081. Text_5.Position = UDim2.new(0, 10, 0, 0)
  1082. Text_5.Size = UDim2.new(0, 240, 0, 20)
  1083. Text_5.Font = Enum.Font.SourceSans
  1084. Text_5.TextSize = 14
  1085. Text_5.Text = "Position"
  1086. Text_5.TextColor3 = Color3.new(1, 1, 1)
  1087. Text_5.TextXAlignment = Enum.TextXAlignment.Left
  1088. Text_5.ZIndex = 10
  1089. table.insert(shade2,Text_5)
  1090. table.insert(text1,Text_5)
  1091.  
  1092. Delete_6.Name = "Delete"
  1093. Delete_6.Parent = Text_5
  1094. Delete_6.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  1095. Delete_6.BorderSizePixel = 0
  1096. Delete_6.Position = UDim2.new(0, 200, 0, 0)
  1097. Delete_6.Size = UDim2.new(0, 40, 0, 20)
  1098. Delete_6.Font = Enum.Font.SourceSans
  1099. Delete_6.TextSize = 14
  1100. Delete_6.Text = "Delete"
  1101. Delete_6.TextColor3 = Color3.new(0, 0, 0)
  1102. Delete_6.ZIndex = 10
  1103. table.insert(shade3,Delete_6)
  1104. table.insert(text2,Delete_6)
  1105.  
  1106. TP.Name = "TP"
  1107. TP.Parent = Text_5
  1108. TP.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  1109. TP.BorderSizePixel = 0
  1110. TP.Position = UDim2.new(0, 155, 0, 0)
  1111. TP.Size = UDim2.new(0, 40, 0, 20)
  1112. TP.Font = Enum.Font.SourceSans
  1113. TP.TextSize = 14
  1114. TP.Text = "Goto"
  1115. TP.TextColor3 = Color3.new(0, 0, 0)
  1116. TP.ZIndex = 10
  1117. table.insert(shade3,TP)
  1118. table.insert(text2,TP)
  1119.  
  1120. AliasesFrame.Name = "AliasesFrame"
  1121. AliasesFrame.Parent = Settings
  1122. AliasesFrame.Active = true
  1123. AliasesFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1124. AliasesFrame.BorderSizePixel = 0
  1125. AliasesFrame.Position = UDim2.new(0, 0, 0, 175)
  1126. AliasesFrame.Size = UDim2.new(0, 250, 0, 175)
  1127. AliasesFrame.ZIndex = 10
  1128. table.insert(shade1,AliasesFrame)
  1129.  
  1130. Close_2.Name = "Close"
  1131. Close_2.Parent = AliasesFrame
  1132. Close_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1133. Close_2.BorderSizePixel = 0
  1134. Close_2.Position = UDim2.new(0, 205, 0, 150)
  1135. Close_2.Size = UDim2.new(0, 40, 0, 20)
  1136. Close_2.Font = Enum.Font.SourceSans
  1137. Close_2.TextSize = 14
  1138. Close_2.Text = "Close"
  1139. Close_2.TextColor3 = Color3.new(1, 1, 1)
  1140. Close_2.ZIndex = 10
  1141. table.insert(shade2,Close_2)
  1142. table.insert(text1,Close_2)
  1143.  
  1144. Delete_3.Name = "Delete"
  1145. Delete_3.Parent = AliasesFrame
  1146. Delete_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1147. Delete_3.BorderSizePixel = 0
  1148. Delete_3.Position = UDim2.new(0, 5, 0, 150)
  1149. Delete_3.Size = UDim2.new(0, 40, 0, 20)
  1150. Delete_3.Font = Enum.Font.SourceSans
  1151. Delete_3.TextSize = 14
  1152. Delete_3.Text = "Clear"
  1153. Delete_3.TextColor3 = Color3.new(1, 1, 1)
  1154. Delete_3.ZIndex = 10
  1155. table.insert(shade2,Delete_3)
  1156. table.insert(text1,Delete_3)
  1157.  
  1158. Holder_3.Name = "Holder"
  1159. Holder_3.Parent = AliasesFrame
  1160. Holder_3.BackgroundTransparency = 1
  1161. Holder_3.BorderSizePixel = 0
  1162. Holder_3.Position = UDim2.new(0, 0, 0, 0)
  1163. Holder_3.Size = UDim2.new(0, 250, 0, 145)
  1164. Holder_3.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  1165. Holder_3.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1166. Holder_3.CanvasSize = UDim2.new(0, 0, 0, 0)
  1167. Holder_3.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1168. Holder_3.ScrollBarThickness = 0
  1169. Holder_3.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1170. Holder_3.VerticalScrollBarInset = 'Always'
  1171. Holder_3.ZIndex = 10
  1172.  
  1173. Example_3.Name = "Example"
  1174. Example_3.Parent = AliasesFrame
  1175. Example_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1176. Example_3.BorderSizePixel = 0
  1177. Example_3.Size = UDim2.new(0, 10, 0, 20)
  1178. Example_3.Visible = false
  1179. Example_3.ZIndex = 10
  1180. table.insert(shade2,Example_3)
  1181.  
  1182. Text_4.Name = "Text"
  1183. Text_4.Parent = Example_3
  1184. Text_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1185. Text_4.BorderSizePixel = 0
  1186. Text_4.Position = UDim2.new(0, 10, 0, 0)
  1187. Text_4.Size = UDim2.new(0, 240, 0, 20)
  1188. Text_4.Font = Enum.Font.SourceSans
  1189. Text_4.TextSize = 14
  1190. Text_4.Text = "honk"
  1191. Text_4.TextColor3 = Color3.new(1, 1, 1)
  1192. Text_4.TextXAlignment = Enum.TextXAlignment.Left
  1193. Text_4.ZIndex = 10
  1194. table.insert(shade2,Text_4)
  1195. table.insert(text1,Text_4)
  1196.  
  1197. Delete_4.Name = "Delete"
  1198. Delete_4.Parent = Text_4
  1199. Delete_4.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  1200. Delete_4.BorderSizePixel = 0
  1201. Delete_4.Position = UDim2.new(0, 200, 0, 0)
  1202. Delete_4.Size = UDim2.new(0, 40, 0, 20)
  1203. Delete_4.Font = Enum.Font.SourceSans
  1204. Delete_4.TextSize = 14
  1205. Delete_4.Text = "Delete"
  1206. Delete_4.TextColor3 = Color3.new(0, 0, 0)
  1207. Delete_4.ZIndex = 10
  1208. table.insert(shade3,Delete_4)
  1209. table.insert(text2,Delete_4)
  1210.  
  1211. PluginsFrame.Name = "PluginsFrame"
  1212. PluginsFrame.Parent = Settings
  1213. PluginsFrame.Active = true
  1214. PluginsFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1215. PluginsFrame.BorderSizePixel = 0
  1216. PluginsFrame.Position = UDim2.new(0, 0, 0, 175)
  1217. PluginsFrame.Size = UDim2.new(0, 250, 0, 175)
  1218. PluginsFrame.ZIndex = 10
  1219. table.insert(shade1,PluginsFrame)
  1220.  
  1221. Close_4.Name = "Close"
  1222. Close_4.Parent = PluginsFrame
  1223. Close_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1224. Close_4.BorderSizePixel = 0
  1225. Close_4.Position = UDim2.new(0, 205, 0, 150)
  1226. Close_4.Size = UDim2.new(0, 40, 0, 20)
  1227. Close_4.Font = Enum.Font.SourceSans
  1228. Close_4.TextSize = 14
  1229. Close_4.Text = "Close"
  1230. Close_4.TextColor3 = Color3.new(1, 1, 1)
  1231. Close_4.ZIndex = 10
  1232. table.insert(shade2,Close_4)
  1233. table.insert(text1,Close_4)
  1234.  
  1235. Add_3.Name = "Add"
  1236. Add_3.Parent = PluginsFrame
  1237. Add_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1238. Add_3.BorderSizePixel = 0
  1239. Add_3.Position = UDim2.new(0, 5, 0, 150)
  1240. Add_3.Size = UDim2.new(0, 40, 0, 20)
  1241. Add_3.Font = Enum.Font.SourceSans
  1242. Add_3.TextSize = 14
  1243. Add_3.Text = "Add"
  1244. Add_3.TextColor3 = Color3.new(1, 1, 1)
  1245. Add_3.ZIndex = 10
  1246. table.insert(shade2,Add_3)
  1247. table.insert(text1,Add_3)
  1248.  
  1249. Holder_5.Name = "Holder"
  1250. Holder_5.Parent = PluginsFrame
  1251. Holder_5.BackgroundTransparency = 1
  1252. Holder_5.BorderSizePixel = 0
  1253. Holder_5.Position = UDim2.new(0, 0, 0, 0)
  1254. Holder_5.Selectable = false
  1255. Holder_5.Size = UDim2.new(0, 250, 0, 145)
  1256. Holder_5.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  1257. Holder_5.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1258. Holder_5.CanvasSize = UDim2.new(0, 0, 0, 0)
  1259. Holder_5.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1260. Holder_5.ScrollBarThickness = 0
  1261. Holder_5.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1262. Holder_5.VerticalScrollBarInset = 'Always'
  1263. Holder_5.ZIndex = 10
  1264.  
  1265. Example_5.Name = "Example"
  1266. Example_5.Parent = PluginsFrame
  1267. Example_5.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1268. Example_5.BorderSizePixel = 0
  1269. Example_5.Size = UDim2.new(0, 10, 0, 20)
  1270. Example_5.Visible = false
  1271. Example_5.ZIndex = 10
  1272. table.insert(shade2,Example_5)
  1273.  
  1274. Text_6.Name = "Text"
  1275. Text_6.Parent = Example_5
  1276. Text_6.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1277. Text_6.BorderSizePixel = 0
  1278. Text_6.Position = UDim2.new(0, 10, 0, 0)
  1279. Text_6.Size = UDim2.new(0, 240, 0, 20)
  1280. Text_6.Font = Enum.Font.SourceSans
  1281. Text_6.TextSize = 14
  1282. Text_6.Text = "F4 > Toggle Fly"
  1283. Text_6.TextColor3 = Color3.new(1, 1, 1)
  1284. Text_6.TextXAlignment = Enum.TextXAlignment.Left
  1285. Text_6.ZIndex = 10
  1286. table.insert(shade2,Text_6)
  1287. table.insert(text1,Text_6)
  1288.  
  1289. Delete_7.Name = "Delete"
  1290. Delete_7.Parent = Text_6
  1291. Delete_7.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  1292. Delete_7.BorderSizePixel = 0
  1293. Delete_7.Position = UDim2.new(0, 200, 0, 0)
  1294. Delete_7.Size = UDim2.new(0, 40, 0, 20)
  1295. Delete_7.Font = Enum.Font.SourceSans
  1296. Delete_7.TextSize = 14
  1297. Delete_7.Text = "Delete"
  1298. Delete_7.TextColor3 = Color3.new(0, 0, 0)
  1299. Delete_7.ZIndex = 10
  1300. table.insert(shade3,Delete_7)
  1301. table.insert(text2,Delete_7)
  1302.  
  1303. PluginEditor.Name = randomString()
  1304. PluginEditor.Parent = PARENT
  1305. PluginEditor.BorderSizePixel = 0
  1306. PluginEditor.Active = true
  1307. PluginEditor.BackgroundTransparency = 1
  1308. PluginEditor.Position = UDim2.new(0.5, -180, 0, -500)
  1309. PluginEditor.Size = UDim2.new(0, 360, 0, 20)
  1310. PluginEditor.ZIndex = 10
  1311.  
  1312. background_3.Name = "background"
  1313. background_3.Parent = PluginEditor
  1314. background_3.Active = true
  1315. background_3.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1316. background_3.BorderSizePixel = 0
  1317. background_3.Position = UDim2.new(0, 0, 0, 20)
  1318. background_3.Size = UDim2.new(0, 360, 0, 160)
  1319. background_3.ZIndex = 10
  1320. table.insert(shade1,background_3)
  1321.  
  1322. Dark_2.Name = "Dark"
  1323. Dark_2.Parent = background_3
  1324. Dark_2.Active = true
  1325. Dark_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1326. Dark_2.BorderSizePixel = 0
  1327. Dark_2.Position = UDim2.new(0, 222, 0, 0)
  1328. Dark_2.Size = UDim2.new(0, 2, 0, 160)
  1329. Dark_2.ZIndex = 10
  1330. table.insert(shade2,Dark_2)
  1331.  
  1332. Img.Name = "Img"
  1333. Img.Parent = background_3
  1334. Img.BackgroundTransparency = 1
  1335. Img.Position = UDim2.new(0, 242, 0, 3)
  1336. Img.Size = UDim2.new(0, 100, 0, 95)
  1337. Img.Image = "rbxassetid://4113050383"
  1338. Img.ZIndex = 10
  1339.  
  1340. AddPlugin.Name = "AddPlugin"
  1341. AddPlugin.Parent = background_3
  1342. AddPlugin.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1343. AddPlugin.BorderSizePixel = 0
  1344. AddPlugin.Position = UDim2.new(0, 235, 0, 100)
  1345. AddPlugin.Size = UDim2.new(0, 115, 0, 50)
  1346. AddPlugin.Font = Enum.Font.SourceSans
  1347. AddPlugin.TextSize = 14
  1348. AddPlugin.Text = "Add Plugin"
  1349. AddPlugin.TextColor3 = Color3.new(1, 1, 1)
  1350. AddPlugin.ZIndex = 10
  1351. table.insert(shade2,AddPlugin)
  1352. table.insert(text1,AddPlugin)
  1353.  
  1354. FileName.Name = "FileName"
  1355. FileName.Parent = background_3
  1356. FileName.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1357. FileName.BorderSizePixel = 0
  1358. FileName.Position = UDim2.new(0.028, 0, 0.625, 0)
  1359. FileName.Size = UDim2.new(0, 200, 0, 50)
  1360. FileName.Font = Enum.Font.SourceSans
  1361. FileName.TextSize = 14
  1362. FileName.Text = "Plugin File Name"
  1363. FileName.TextColor3 = Color3.new(1, 1, 1)
  1364. FileName.ZIndex = 10
  1365. table.insert(shade2,FileName)
  1366. table.insert(text1,FileName)
  1367.  
  1368. About.Name = "About"
  1369. About.Parent = background_3
  1370. About.BackgroundTransparency = 1
  1371. About.BorderSizePixel = 0
  1372. About.Position = UDim2.new(0, 17, 0, 10)
  1373. About.Size = UDim2.new(0, 187, 0, 49)
  1374. About.Font = Enum.Font.SourceSans
  1375. About.TextSize = 14
  1376. About.Text = "Plugins are .iy files and should be located in the 'workspace' folder of your exploit."
  1377. About.TextColor3 = Color3.fromRGB(255, 255, 255)
  1378. About.TextWrapped = true
  1379. About.TextYAlignment = Enum.TextYAlignment.Top
  1380. About.ZIndex = 10
  1381. table.insert(text1,About)
  1382.  
  1383. Directions_2.Name = "Directions"
  1384. Directions_2.Parent = background_3
  1385. Directions_2.BackgroundTransparency = 1
  1386. Directions_2.BorderSizePixel = 0
  1387. Directions_2.Position = UDim2.new(0, 17, 0, 60)
  1388. Directions_2.Size = UDim2.new(0, 187, 0, 49)
  1389. Directions_2.Font = Enum.Font.SourceSans
  1390. Directions_2.TextSize = 14
  1391. Directions_2.Text = "Type the name of the plugin file you want to add below."
  1392. Directions_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  1393. Directions_2.TextWrapped = true
  1394. Directions_2.TextYAlignment = Enum.TextYAlignment.Top
  1395. Directions_2.ZIndex = 10
  1396. table.insert(text1,Directions_2)
  1397.  
  1398. shadow_3.Name = "shadow"
  1399. shadow_3.Parent = PluginEditor
  1400. shadow_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1401. shadow_3.BorderSizePixel = 0
  1402. shadow_3.Size = UDim2.new(0, 360, 0, 20)
  1403. shadow_3.ZIndex = 10
  1404. table.insert(shade2,shadow_3)
  1405.  
  1406. PopupText_3.Name = "PopupText"
  1407. PopupText_3.Parent = shadow_3
  1408. PopupText_3.BackgroundTransparency = 1
  1409. PopupText_3.Size = UDim2.new(1, 0, 0.95, 0)
  1410. PopupText_3.ZIndex = 10
  1411. PopupText_3.Font = Enum.Font.SourceSans
  1412. PopupText_3.TextSize = 14
  1413. PopupText_3.Text = "Add Plugins"
  1414. PopupText_3.TextColor3 = Color3.new(1, 1, 1)
  1415. PopupText_3.TextWrapped = true
  1416. table.insert(text1,PopupText_3)
  1417.  
  1418. Exit_3.Name = "Exit"
  1419. Exit_3.Parent = shadow_3
  1420. Exit_3.BackgroundTransparency = 1
  1421. Exit_3.Position = UDim2.new(1, -20, 0, 0)
  1422. Exit_3.Size = UDim2.new(0, 20, 0, 20)
  1423. Exit_3.Text = ""
  1424. Exit_3.ZIndex = 10
  1425.  
  1426. ExitImage_3.Parent = Exit_3
  1427. ExitImage_3.BackgroundColor3 = Color3.new(1, 1, 1)
  1428. ExitImage_3.BackgroundTransparency = 1
  1429. ExitImage_3.Position = UDim2.new(0, 5, 0, 5)
  1430. ExitImage_3.Size = UDim2.new(0, 10, 0, 10)
  1431. ExitImage_3.Image = "rbxassetid://5054663650"
  1432. ExitImage_3.ZIndex = 10
  1433.  
  1434. AliasHint.Name = "AliasHint"
  1435. AliasHint.Parent = AliasesFrame
  1436. AliasHint.BackgroundTransparency = 1
  1437. AliasHint.BorderSizePixel = 0
  1438. AliasHint.Position = UDim2.new(0, 25, 0, 40)
  1439. AliasHint.Size = UDim2.new(0, 200, 0, 50)
  1440. AliasHint.Font = Enum.Font.SourceSansItalic
  1441. AliasHint.TextSize = 16
  1442. AliasHint.Text = "Add aliases by using the 'addalias' command"
  1443. AliasHint.TextColor3 = Color3.new(1, 1, 1)
  1444. AliasHint.TextStrokeColor3 = Color3.new(1, 1, 1)
  1445. AliasHint.TextWrapped = true
  1446. AliasHint.ZIndex = 10
  1447. table.insert(text1,AliasHint)
  1448.  
  1449. PluginsHint.Name = "PluginsHint"
  1450. PluginsHint.Parent = PluginsFrame
  1451. PluginsHint.BackgroundTransparency = 1
  1452. PluginsHint.BorderSizePixel = 0
  1453. PluginsHint.Position = UDim2.new(0, 25, 0, 40)
  1454. PluginsHint.Size = UDim2.new(0, 200, 0, 50)
  1455. PluginsHint.Font = Enum.Font.SourceSansItalic
  1456. PluginsHint.TextSize = 16
  1457. PluginsHint.Text = "Download plugins from the IY Discord (discord.io/infiniteyield)"
  1458. PluginsHint.TextColor3 = Color3.new(1, 1, 1)
  1459. PluginsHint.TextStrokeColor3 = Color3.new(1, 1, 1)
  1460. PluginsHint.TextWrapped = true
  1461. PluginsHint.ZIndex = 10
  1462. table.insert(text1,PluginsHint)
  1463.  
  1464. PositionsHint.Name = "PositionsHint"
  1465. PositionsHint.Parent = PositionsFrame
  1466. PositionsHint.BackgroundTransparency = 1
  1467. PositionsHint.BorderSizePixel = 0
  1468. PositionsHint.Position = UDim2.new(0, 25, 0, 40)
  1469. PositionsHint.Size = UDim2.new(0, 200, 0, 70)
  1470. PositionsHint.Font = Enum.Font.SourceSansItalic
  1471. PositionsHint.TextSize = 16
  1472. PositionsHint.Text = "Use the 'swp' or 'setwaypoint' command to add a position using your character (NOTE: Part teleports will not save)"
  1473. PositionsHint.TextColor3 = Color3.new(1, 1, 1)
  1474. PositionsHint.TextStrokeColor3 = Color3.new(1, 1, 1)
  1475. PositionsHint.TextWrapped = true
  1476. PositionsHint.ZIndex = 10
  1477. table.insert(text1,PositionsHint)
  1478.  
  1479. ToPartFrame.Name = randomString()
  1480. ToPartFrame.Parent = PARENT
  1481. ToPartFrame.Active = true
  1482. ToPartFrame.BackgroundTransparency = 1
  1483. ToPartFrame.Position = UDim2.new(0.5, -180, 0, -500)
  1484. ToPartFrame.Size = UDim2.new(0, 360, 0, 20)
  1485. ToPartFrame.ZIndex = 10
  1486.  
  1487. background_4.Name = "background"
  1488. background_4.Parent = ToPartFrame
  1489. background_4.Active = true
  1490. background_4.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1491. background_4.BorderSizePixel = 0
  1492. background_4.Position = UDim2.new(0, 0, 0, 20)
  1493. background_4.Size = UDim2.new(0, 360, 0, 117)
  1494. background_4.ZIndex = 10
  1495. table.insert(shade1,background_4)
  1496.  
  1497. ChoosePart.Name = "ChoosePart"
  1498. ChoosePart.Parent = background_4
  1499. ChoosePart.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1500. ChoosePart.BorderSizePixel = 0
  1501. ChoosePart.Position = UDim2.new(0, 100, 0, 55)
  1502. ChoosePart.Size = UDim2.new(0, 75, 0, 30)
  1503. ChoosePart.Font = Enum.Font.SourceSans
  1504. ChoosePart.TextSize = 14
  1505. ChoosePart.Text = "Select Part"
  1506. ChoosePart.TextColor3 = Color3.new(1, 1, 1)
  1507. ChoosePart.ZIndex = 10
  1508. table.insert(shade2,ChoosePart)
  1509. table.insert(text1,ChoosePart)
  1510.  
  1511. CopyPath.Name = "CopyPath"
  1512. CopyPath.Parent = background_4
  1513. CopyPath.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1514. CopyPath.BorderSizePixel = 0
  1515. CopyPath.Position = UDim2.new(0, 185, 0, 55)
  1516. CopyPath.Size = UDim2.new(0, 75, 0, 30)
  1517. CopyPath.Font = Enum.Font.SourceSans
  1518. CopyPath.TextSize = 14
  1519. CopyPath.Text = "Copy Path"
  1520. CopyPath.TextColor3 = Color3.new(1, 1, 1)
  1521. CopyPath.ZIndex = 10
  1522. table.insert(shade2,CopyPath)
  1523. table.insert(text1,CopyPath)
  1524.  
  1525. Directions_3.Name = "Directions"
  1526. Directions_3.Parent = background_4
  1527. Directions_3.BackgroundTransparency = 1
  1528. Directions_3.BorderSizePixel = 0
  1529. Directions_3.Position = UDim2.new(0, 51, 0, 17)
  1530. Directions_3.Size = UDim2.new(0, 257, 0, 32)
  1531. Directions_3.Font = Enum.Font.SourceSans
  1532. Directions_3.TextSize = 14
  1533. Directions_3.Text = 'Click on a part and then click the "Select Part" button below to set it as a teleport location'
  1534. Directions_3.TextColor3 = Color3.new(1, 1, 1)
  1535. Directions_3.TextWrapped = true
  1536. Directions_3.TextYAlignment = Enum.TextYAlignment.Top
  1537. Directions_3.ZIndex = 10
  1538. table.insert(text1,Directions_3)
  1539.  
  1540. Path.Name = "Path"
  1541. Path.Parent = background_4
  1542. Path.BackgroundTransparency = 1
  1543. Path.BorderSizePixel = 0
  1544. Path.Position = UDim2.new(0, 0, 0, 94)
  1545. Path.Size = UDim2.new(0, 360, 0, 16)
  1546. Path.Font = Enum.Font.SourceSansItalic
  1547. Path.TextSize = 14
  1548. Path.Text = ""
  1549. Path.TextColor3 = Color3.new(1, 1, 1)
  1550. Path.TextScaled = true
  1551. Path.TextWrapped = true
  1552. Path.TextYAlignment = Enum.TextYAlignment.Top
  1553. Path.ZIndex = 10
  1554. table.insert(text1,Path)
  1555.  
  1556. shadow_4.Name = "shadow"
  1557. shadow_4.Parent = ToPartFrame
  1558. shadow_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1559. shadow_4.BorderSizePixel = 0
  1560. shadow_4.Size = UDim2.new(0, 360, 0, 20)
  1561. shadow_4.ZIndex = 10
  1562. table.insert(shade2,shadow_4)
  1563.  
  1564. PopupText_5.Name = "PopupText"
  1565. PopupText_5.Parent = shadow_4
  1566. PopupText_5.BackgroundTransparency = 1
  1567. PopupText_5.Size = UDim2.new(1, 0, 0.95, 0)
  1568. PopupText_5.ZIndex = 10
  1569. PopupText_5.Font = Enum.Font.SourceSans
  1570. PopupText_5.TextSize = 14
  1571. PopupText_5.Text = "Teleport to Part"
  1572. PopupText_5.TextColor3 = Color3.new(1, 1, 1)
  1573. PopupText_5.TextWrapped = true
  1574. table.insert(text1,PopupText_5)
  1575.  
  1576. Exit_4.Name = "Exit"
  1577. Exit_4.Parent = shadow_4
  1578. Exit_4.BackgroundTransparency = 1
  1579. Exit_4.Position = UDim2.new(1, -20, 0, 0)
  1580. Exit_4.Size = UDim2.new(0, 20, 0, 20)
  1581. Exit_4.Text = ""
  1582. Exit_4.ZIndex = 10
  1583.  
  1584. ExitImage_5.Parent = Exit_4
  1585. ExitImage_5.BackgroundColor3 = Color3.new(1, 1, 1)
  1586. ExitImage_5.BackgroundTransparency = 1
  1587. ExitImage_5.Position = UDim2.new(0, 5, 0, 5)
  1588. ExitImage_5.Size = UDim2.new(0, 10, 0, 10)
  1589. ExitImage_5.Image = "rbxassetid://5054663650"
  1590. ExitImage_5.ZIndex = 10
  1591.  
  1592. logs.Name = randomString()
  1593. logs.Parent = PARENT
  1594. logs.Active = true
  1595. logs.BackgroundTransparency = 1
  1596. logs.Position = UDim2.new(0, 0, 1, 10)
  1597. logs.Size = UDim2.new(0, 338, 0, 20)
  1598. logs.ZIndex = 10
  1599.  
  1600. shadow.Name = "shadow"
  1601. shadow.Parent = logs
  1602. shadow.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1603. shadow.BorderSizePixel = 0
  1604. shadow.Position = UDim2.new(0, 0, 0.00999999978, 0)
  1605. shadow.Size = UDim2.new(0, 338, 0, 20)
  1606. shadow.ZIndex = 10
  1607. table.insert(shade2,shadow)
  1608.  
  1609. Hide.Name = "Hide"
  1610. Hide.Parent = shadow
  1611. Hide.BackgroundTransparency = 1
  1612. Hide.Position = UDim2.new(1, -40, 0, 0)
  1613. Hide.Size = UDim2.new(0, 20, 0, 20)
  1614. Hide.ZIndex = 10
  1615. Hide.Text = ""
  1616.  
  1617. ImageLabel.Parent = Hide
  1618. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  1619. ImageLabel.BackgroundTransparency = 1
  1620. ImageLabel.Position = UDim2.new(0, 3, 0, 3)
  1621. ImageLabel.Size = UDim2.new(0, 14, 0, 14)
  1622. ImageLabel.Image = "rbxassetid://2406617031"
  1623. ImageLabel.ZIndex = 10
  1624.  
  1625. PopupText.Name = "PopupText"
  1626. PopupText.Parent = shadow
  1627. PopupText.BackgroundTransparency = 1
  1628. PopupText.Size = UDim2.new(1, 0, 0.949999988, 0)
  1629. PopupText.ZIndex = 10
  1630. PopupText.Font = Enum.Font.SourceSans
  1631. PopupText.FontSize = Enum.FontSize.Size14
  1632. PopupText.Text = "Logs"
  1633. PopupText.TextColor3 = Color3.new(1, 1, 1)
  1634. PopupText.TextWrapped = true
  1635. table.insert(text1,PopupText)
  1636.  
  1637. Exit.Name = "Exit"
  1638. Exit.Parent = shadow
  1639. Exit.BackgroundTransparency = 1
  1640. Exit.Position = UDim2.new(1, -20, 0, 0)
  1641. Exit.Size = UDim2.new(0, 20, 0, 20)
  1642. Exit.ZIndex = 10
  1643. Exit.Text = ""
  1644.  
  1645. ImageLabel_2.Parent = Exit
  1646. ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  1647. ImageLabel_2.BackgroundTransparency = 1
  1648. ImageLabel_2.Position = UDim2.new(0, 5, 0, 5)
  1649. ImageLabel_2.Size = UDim2.new(0, 10, 0, 10)
  1650. ImageLabel_2.Image = "rbxassetid://5054663650"
  1651. ImageLabel_2.ZIndex = 10
  1652.  
  1653. background.Name = "background"
  1654. background.Parent = logs
  1655. background.Active = true
  1656. background.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098)
  1657. background.BorderSizePixel = 0
  1658. background.ClipsDescendants = true
  1659. background.Position = UDim2.new(0, 0, 1, 0)
  1660. background.Size = UDim2.new(0, 338, 0, 245)
  1661. background.ZIndex = 10
  1662.  
  1663. chat.Name = "chat"
  1664. chat.Parent = background
  1665. chat.Active = true
  1666. chat.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098)
  1667. chat.BorderSizePixel = 0
  1668. chat.ClipsDescendants = true
  1669. chat.Size = UDim2.new(0, 338, 0, 245)
  1670. chat.ZIndex = 10
  1671. table.insert(shade1,chat)
  1672.  
  1673. Clear.Name = "Clear"
  1674. Clear.Parent = chat
  1675. Clear.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1676. Clear.BorderSizePixel = 0
  1677. Clear.Position = UDim2.new(0, 5, 0, 220)
  1678. Clear.Size = UDim2.new(0, 50, 0, 20)
  1679. Clear.ZIndex = 10
  1680. Clear.Font = Enum.Font.SourceSans
  1681. Clear.FontSize = Enum.FontSize.Size14
  1682. Clear.Text = "Clear"
  1683. Clear.TextColor3 = Color3.new(1, 1, 1)
  1684. table.insert(shade2,Clear)
  1685. table.insert(text1,Clear)
  1686.  
  1687. SaveChatlogs.Name = "SaveChatlogs"
  1688. SaveChatlogs.Parent = chat
  1689. SaveChatlogs.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1690. SaveChatlogs.BorderSizePixel = 0
  1691. SaveChatlogs.Position = UDim2.new(0, 258, 0, 220)
  1692. SaveChatlogs.Size = UDim2.new(0, 75, 0, 20)
  1693. SaveChatlogs.ZIndex = 10
  1694. SaveChatlogs.Font = Enum.Font.SourceSans
  1695. SaveChatlogs.FontSize = Enum.FontSize.Size14
  1696. SaveChatlogs.Text = "Save To .txt"
  1697. SaveChatlogs.TextColor3 = Color3.new(1, 1, 1)
  1698. table.insert(shade2,SaveChatlogs)
  1699. table.insert(text1,SaveChatlogs)
  1700.  
  1701. Toggle.Name = "Toggle"
  1702. Toggle.Parent = chat
  1703. Toggle.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1704. Toggle.BorderSizePixel = 0
  1705. Toggle.Position = UDim2.new(0, 60, 0, 220)
  1706. Toggle.Size = UDim2.new(0, 66, 0, 20)
  1707. Toggle.ZIndex = 10
  1708. Toggle.Font = Enum.Font.SourceSans
  1709. Toggle.FontSize = Enum.FontSize.Size14
  1710. Toggle.Text = "Disabled"
  1711. Toggle.TextColor3 = Color3.new(1, 1, 1)
  1712. table.insert(shade2,Toggle)
  1713. table.insert(text1,Toggle)
  1714.  
  1715. scroll_2.Name = "scroll"
  1716. scroll_2.Parent = chat
  1717. scroll_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1718. scroll_2.BorderSizePixel = 0
  1719. scroll_2.Position = UDim2.new(0, 5, 0, 25)
  1720. scroll_2.Size = UDim2.new(0, 328, 0, 190)
  1721. scroll_2.ZIndex = 10
  1722. scroll_2.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1723. scroll_2.CanvasSize = UDim2.new(0, 0, 0, 10)
  1724. scroll_2.ScrollBarThickness = 8
  1725. scroll_2.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1726. table.insert(scroll,scroll_2)
  1727. table.insert(shade2,scroll_2)
  1728.  
  1729. join.Name = "join"
  1730. join.Parent = background
  1731. join.Active = true
  1732. join.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098)
  1733. join.BorderSizePixel = 0
  1734. join.ClipsDescendants = true
  1735. join.Size = UDim2.new(0, 338, 0, 245)
  1736. join.Visible = false
  1737. join.ZIndex = 10
  1738. table.insert(shade1,join)
  1739.  
  1740. Toggle_2.Name = "Toggle"
  1741. Toggle_2.Parent = join
  1742. Toggle_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1743. Toggle_2.BorderSizePixel = 0
  1744. Toggle_2.Position = UDim2.new(0, 60, 0, 220)
  1745. Toggle_2.Size = UDim2.new(0, 66, 0, 20)
  1746. Toggle_2.ZIndex = 10
  1747. Toggle_2.Font = Enum.Font.SourceSans
  1748. Toggle_2.FontSize = Enum.FontSize.Size14
  1749. Toggle_2.Text = "Disabled"
  1750. Toggle_2.TextColor3 = Color3.new(1, 1, 1)
  1751. table.insert(shade2,Toggle_2)
  1752. table.insert(text1,Toggle_2)
  1753.  
  1754. Clear_2.Name = "Clear"
  1755. Clear_2.Parent = join
  1756. Clear_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1757. Clear_2.BorderSizePixel = 0
  1758. Clear_2.Position = UDim2.new(0, 5, 0, 220)
  1759. Clear_2.Size = UDim2.new(0, 50, 0, 20)
  1760. Clear_2.ZIndex = 10
  1761. Clear_2.Font = Enum.Font.SourceSans
  1762. Clear_2.FontSize = Enum.FontSize.Size14
  1763. Clear_2.Text = "Clear"
  1764. Clear_2.TextColor3 = Color3.new(1, 1, 1)
  1765. table.insert(shade2,Clear_2)
  1766. table.insert(text1,Clear_2)
  1767.  
  1768. scroll_3.Name = "scroll"
  1769. scroll_3.Parent = join
  1770. scroll_3.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1771. scroll_3.BorderSizePixel = 0
  1772. scroll_3.Position = UDim2.new(0, 5, 0, 25)
  1773. scroll_3.Size = UDim2.new(0, 328, 0, 190)
  1774. scroll_3.ZIndex = 10
  1775. scroll_3.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1776. scroll_3.CanvasSize = UDim2.new(0, 0, 0, 10)
  1777. scroll_3.ScrollBarThickness = 8
  1778. scroll_3.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1779. table.insert(scroll,scroll_3)
  1780. table.insert(shade2,scroll_3)
  1781.  
  1782. selectChat.Name = "selectChat"
  1783. selectChat.Parent = background
  1784. selectChat.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1785. selectChat.BorderSizePixel = 0
  1786. selectChat.Position = UDim2.new(0, 5, 0, 5)
  1787. selectChat.Size = UDim2.new(0, 164, 0, 20)
  1788. selectChat.ZIndex = 10
  1789. selectChat.Font = Enum.Font.SourceSans
  1790. selectChat.FontSize = Enum.FontSize.Size14
  1791. selectChat.Text = "Chat Logs"
  1792. selectChat.TextColor3 = Color3.new(1, 1, 1)
  1793. table.insert(shade2,selectChat)
  1794. table.insert(text1,selectChat)
  1795.  
  1796. selectJoin.Name = "selectJoin"
  1797. selectJoin.Parent = background
  1798. selectJoin.BackgroundColor3 = Color3.new(0.305882, 0.305882, 0.309804)
  1799. selectJoin.BorderSizePixel = 0
  1800. selectJoin.Position = UDim2.new(0, 169, 0, 5)
  1801. selectJoin.Size = UDim2.new(0, 164, 0, 20)
  1802. selectJoin.ZIndex = 10
  1803. selectJoin.Font = Enum.Font.SourceSans
  1804. selectJoin.FontSize = Enum.FontSize.Size14
  1805. selectJoin.Text = "Join Logs"
  1806. selectJoin.TextColor3 = Color3.new(1, 1, 1)
  1807. table.insert(shade3,selectJoin)
  1808. table.insert(text1,selectJoin)
  1809.  
  1810. function create(data)
  1811.     local insts = {}
  1812.     for i,v in pairs(data) do insts[v[1]] = Instance.new(v[2]) end
  1813.  
  1814.     for _,v in pairs(data) do
  1815.         for prop,val in pairs(v[3]) do
  1816.             if type(val) == "table" then
  1817.                 insts[v[1]][prop] = insts[val[1]]
  1818.             else
  1819.                 insts[v[1]][prop] = val
  1820.             end
  1821.         end
  1822.     end
  1823.  
  1824.     return insts[1]
  1825. end
  1826.  
  1827. local textService = game:GetService("TextService")
  1828. ViewportTextBox = (function()
  1829.  
  1830.     local funcs = {}
  1831.     funcs.Update = function(self)
  1832.         local cursorPos = self.TextBox.CursorPosition
  1833.         local text = self.TextBox.Text
  1834.         if text == "" then self.TextBox.Position = UDim2.new(0,2,0,0) return end
  1835.         if cursorPos == -1 then return end
  1836.  
  1837.         local cursorText = text:sub(1,cursorPos-1)
  1838.         local pos = nil
  1839.         local leftEnd = -self.TextBox.Position.X.Offset
  1840.         local rightEnd = leftEnd + self.View.AbsoluteSize.X
  1841.  
  1842.         local totalTextSize = textService:GetTextSize(text,self.TextBox.TextSize,self.TextBox.Font,Vector2.new(999999999,100)).X
  1843.         local cursorTextSize = textService:GetTextSize(cursorText,self.TextBox.TextSize,self.TextBox.Font,Vector2.new(999999999,100)).X
  1844.  
  1845.         if cursorTextSize > rightEnd then
  1846.             pos = math.max(-2,cursorTextSize - self.View.AbsoluteSize.X + 2)
  1847.         elseif cursorTextSize < leftEnd then
  1848.             pos = math.max(-2,cursorTextSize-2)
  1849.         elseif totalTextSize < rightEnd then
  1850.             pos = math.max(-2,totalTextSize - self.View.AbsoluteSize.X + 2)
  1851.         end
  1852.  
  1853.         if pos then
  1854.             self.TextBox.Position = UDim2.new(0,-pos,0,0)
  1855.             self.TextBox.Size = UDim2.new(1,pos,1,0)
  1856.         end
  1857.     end
  1858.  
  1859.     local mt = {}
  1860.     mt.__index = funcs
  1861.  
  1862.     local function convert(textbox)
  1863.         local obj = setmetatable({OffsetX = 0, TextBox = textbox},mt)
  1864.  
  1865.         local view = Instance.new("Frame")
  1866.         view.BackgroundTransparency = textbox.BackgroundTransparency
  1867.         view.BackgroundColor3 = textbox.BackgroundColor3
  1868.         view.BorderSizePixel = textbox.BorderSizePixel
  1869.         view.BorderColor3 = textbox.BorderColor3
  1870.         view.Position = textbox.Position
  1871.         view.Size = textbox.Size
  1872.         view.ClipsDescendants = true
  1873.         view.Name = textbox.Name
  1874.         view.ZIndex = 10
  1875.         textbox.BackgroundTransparency = 1
  1876.         textbox.Position = UDim2.new(0,4,0,0)
  1877.         textbox.Size = UDim2.new(1,-8,1,0)
  1878.         textbox.TextXAlignment = Enum.TextXAlignment.Left
  1879.         textbox.Name = "Input"
  1880.         table.insert(text1,textbox)
  1881.         table.insert(shade2,view)
  1882.  
  1883.         obj.View = view
  1884.  
  1885.         textbox.Changed:Connect(function(prop)
  1886.             if prop == "Text" or prop == "CursorPosition" or prop == "AbsoluteSize" then
  1887.                 obj:Update()
  1888.             end
  1889.         end)
  1890.  
  1891.         obj:Update()
  1892.  
  1893.         view.Parent = textbox.Parent
  1894.         textbox.Parent = view
  1895.  
  1896.         return obj
  1897.     end
  1898.  
  1899.     return {convert = convert}
  1900. end)()
  1901.  
  1902. ViewportTextBox.convert(Cmdbar).View.ZIndex = 10
  1903. ViewportTextBox.convert(Cmdbar_2).View.ZIndex = 10
  1904. ViewportTextBox.convert(Cmdbar_3).View.ZIndex = 10
  1905.  
  1906. IYMouse = Players.LocalPlayer:GetMouse()
  1907. UserInputService = game:GetService("UserInputService")
  1908. TweenService = game:GetService("TweenService")
  1909. HttpService = game:GetService("HttpService")
  1910. MarketplaceService = game:GetService("MarketplaceService")
  1911. RunService = game:GetService("RunService")
  1912. TeleportService = game:GetService("TeleportService")
  1913. StarterGui = game:GetService("StarterGui")
  1914. GuiService = game:GetService("GuiService")
  1915. Lighting = game:GetService("Lighting")
  1916. ContextActionService = game:GetService("ContextActionService")
  1917. NetworkClient = game:GetService("NetworkClient")
  1918. ReplicatedStorage = game:GetService("ReplicatedStorage")
  1919. GroupService = game:GetService("GroupService")
  1920. PathService = game:GetService("PathfindingService")
  1921. SoundService = game:GetService("SoundService")
  1922. Teams = game:GetService("Teams")
  1923. StarterPlayer = game:GetService("StarterPlayer")
  1924. InsertService = game:GetService("InsertService")
  1925. ChatService = game:GetService("Chat")
  1926. ProximityPromptService = game:GetService("ProximityPromptService")
  1927. StatsService = game:GetService("Stats")
  1928. MaterialService = game:GetService("MaterialService")
  1929.  
  1930. sethidden = sethiddenproperty or set_hidden_property or set_hidden_prop
  1931. gethidden = gethiddenproperty or get_hidden_property or get_hidden_prop
  1932. queueteleport = (syn and syn.queue_on_teleport) or queue_on_teleport or (fluxus and fluxus.queue_on_teleport)
  1933. httprequest = (syn and syn.request) or (http and http.request) or http_request or (fluxus and fluxus.request) or request
  1934. PlaceId, JobId = game.PlaceId, game.JobId
  1935. local IsOnMobile = table.find({Enum.Platform.IOS, Enum.Platform.Android}, UserInputService:GetPlatform())
  1936.  
  1937. function writefileExploit()
  1938.     if writefile then
  1939.         return true
  1940.     end
  1941. end
  1942.  
  1943. function isNumber(str)
  1944.     if tonumber(str) ~= nil or str == 'inf' then
  1945.         return true
  1946.     end
  1947. end
  1948.  
  1949. function getRoot(char)
  1950.     local rootPart = char:FindFirstChild('HumanoidRootPart') or char:FindFirstChild('Torso') or char:FindFirstChild('UpperTorso')
  1951.     return rootPart
  1952. end
  1953.  
  1954. function tools(plr)
  1955.     if plr:FindFirstChildOfClass("Backpack"):FindFirstChildOfClass('Tool') or plr.Character:FindFirstChildOfClass('Tool') then
  1956.         return true
  1957.     end
  1958. end
  1959.  
  1960. function r15(plr)
  1961.     if plr.Character:FindFirstChildOfClass('Humanoid').RigType == Enum.HumanoidRigType.R15 then
  1962.         return true
  1963.     end
  1964. end
  1965.  
  1966. function toClipboard(String)
  1967.     local clipBoard = setclipboard or toclipboard or set_clipboard or (Clipboard and Clipboard.set)
  1968.     if clipBoard then
  1969.         clipBoard(String)
  1970.         notify('Clipboard','Copied to clipboard')
  1971.     else
  1972.         notify('Clipboard',"Your exploit doesn't have the ability to use the clipboard")
  1973.     end
  1974. end
  1975.  
  1976. function getHierarchy(obj)
  1977.     local fullname
  1978.     local period
  1979.  
  1980.     if string.find(obj.Name,' ') then
  1981.         fullname = '["'..obj.Name..'"]'
  1982.         period = false
  1983.     else
  1984.         fullname = obj.Name
  1985.         period = true
  1986.     end
  1987.  
  1988.     local getS = obj
  1989.     local parent = obj
  1990.     local service = ''
  1991.  
  1992.     if getS.Parent ~= game then
  1993.         repeat
  1994.             getS = getS.Parent
  1995.             service = getS.ClassName
  1996.         until getS.Parent == game
  1997.     end
  1998.  
  1999.     if parent.Parent ~= getS then
  2000.         repeat
  2001.             parent = parent.Parent
  2002.             if string.find(tostring(parent),' ') then
  2003.                 if period then
  2004.                     fullname = '["'..parent.Name..'"].'..fullname
  2005.                 else
  2006.                     fullname = '["'..parent.Name..'"]'..fullname
  2007.                 end
  2008.                 period = false
  2009.             else
  2010.                 if period then
  2011.                     fullname = parent.Name..'.'..fullname
  2012.                 else
  2013.                     fullname = parent.Name..''..fullname
  2014.                 end
  2015.                 period = true
  2016.             end
  2017.         until parent.Parent == getS
  2018.     elseif string.find(tostring(parent),' ') then
  2019.         fullname = '["'..parent.Name..'"]'
  2020.         period = false
  2021.     end
  2022.  
  2023.     if period then
  2024.         return 'game:GetService("'..service..'").'..fullname
  2025.     else
  2026.         return 'game:GetService("'..service..'")'..fullname
  2027.     end
  2028. end
  2029.  
  2030. AllWaypoints = {}
  2031.  
  2032. local cooldown = false
  2033. function writefileCooldown(name,data)
  2034.     task.spawn(function()
  2035.         if not cooldown then
  2036.             cooldown = true
  2037.             writefile(name, data)
  2038.         else
  2039.             repeat wait() until cooldown == false
  2040.             writefileCooldown(name,data)
  2041.         end
  2042.         wait(3)
  2043.         cooldown = false
  2044.     end)
  2045. end
  2046.  
  2047. function dragGUI(gui)
  2048.     task.spawn(function()
  2049.         local dragging
  2050.         local dragInput
  2051.         local dragStart = Vector3.new(0,0,0)
  2052.         local startPos
  2053.         local function update(input)
  2054.             local delta = input.Position - dragStart
  2055.             local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  2056.             TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  2057.         end
  2058.         gui.InputBegan:Connect(function(input)
  2059.             if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  2060.                 dragging = true
  2061.                 dragStart = input.Position
  2062.                 startPos = gui.Position
  2063.  
  2064.                 input.Changed:Connect(function()
  2065.                     if input.UserInputState == Enum.UserInputState.End then
  2066.                         dragging = false
  2067.                     end
  2068.                 end)
  2069.             end
  2070.         end)
  2071.         gui.InputChanged:Connect(function(input)
  2072.             if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  2073.                 dragInput = input
  2074.             end
  2075.         end)
  2076.         UserInputService.InputChanged:Connect(function(input)
  2077.             if input == dragInput and dragging then
  2078.                 update(input)
  2079.             end
  2080.         end)
  2081.     end)
  2082. end
  2083.  
  2084. dragGUI(logs)
  2085. dragGUI(KeybindEditor)
  2086. dragGUI(PluginEditor)
  2087. dragGUI(ToPartFrame)
  2088.  
  2089. eventEditor = (function()
  2090.     local events = {}
  2091.  
  2092.     local function registerEvent(name,sets)
  2093.         events[name] = {
  2094.             commands = {},
  2095.             sets = sets or {}
  2096.         }
  2097.     end
  2098.  
  2099.     local onEdited = nil
  2100.  
  2101.     local function fireEvent(name,...)
  2102.         local args = {...}
  2103.         local event = events[name]
  2104.         if event then
  2105.             for i,cmd in pairs(event.commands) do
  2106.                 local metCondition = true
  2107.                 for idx,set in pairs(event.sets) do
  2108.                     local argVal = args[idx]
  2109.                     local cmdSet = cmd[2][idx]
  2110.                     local condType = set.Type
  2111.                     if condType == "Player" then
  2112.                         if cmdSet == 0 then
  2113.                             metCondition = metCondition and (tostring(Players.LocalPlayer) == argVal)
  2114.                         elseif cmdSet ~= 1 then
  2115.                             metCondition = metCondition and table.find(getPlayer(cmdSet,Players.LocalPlayer),argVal)
  2116.                         end
  2117.                     elseif condType == "String" then
  2118.                         if cmdSet ~= 0 then
  2119.                             metCondition = metCondition and string.find(argVal:lower(),cmdSet:lower())
  2120.                         end
  2121.                     elseif condType == "Number" then
  2122.                         if cmdSet ~= 0 then
  2123.                             metCondition = metCondition and tonumber(argVal)<=tonumber(cmdSet)
  2124.                         end
  2125.                     end
  2126.                     if not metCondition then break end
  2127.                 end
  2128.  
  2129.                 if metCondition then
  2130.                     pcall(task.spawn(function()
  2131.                         local cmdStr = cmd[1]
  2132.                         for count,arg in pairs(args) do
  2133.                             cmdStr = cmdStr:gsub("%$"..count,arg)
  2134.                         end
  2135.                         wait(cmd[3] or 0)
  2136.                         execCmd(cmdStr)
  2137.                     end))
  2138.                 end
  2139.             end
  2140.         end
  2141.     end
  2142.  
  2143.     local main = create({
  2144.         {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,}},
  2145.         {2,"Frame",{BackgroundColor3=currentShade2,BorderSizePixel=0,Name="TopBar",Parent={1},Size=UDim2.new(1,0,0,20),ZIndex=10,}},
  2146.         {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,}},
  2147.         {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,}},
  2148.         {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,}},
  2149.         {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,}},
  2150.         {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,}},
  2151.         {8,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={7},Size=UDim2.new(1,0,1,0),ZIndex=10,}},
  2152.         {9,"UIListLayout",{Parent={8},SortOrder=2,}},
  2153.         {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,}},
  2154.         {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,}},
  2155.         {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,}},
  2156.         {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,}},
  2157.         {14,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={13},Size=UDim2.new(1,0,1,0),ZIndex=10,}},
  2158.         {15,"UIListLayout",{Parent={14},SortOrder=2,}},
  2159.         {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,}},
  2160.         {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,}},
  2161.         {18,"Folder",{Name="Templates",Parent={10},}},
  2162.         {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,}},
  2163.         {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,}},
  2164.         {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,}},
  2165.         {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,}},
  2166.         {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,}},
  2167.         {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,}},
  2168.         {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,}},
  2169.         {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,}},
  2170.         {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,}},
  2171.         {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,}},
  2172.         {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,}},
  2173.         {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,}},
  2174.         {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,}},
  2175.         {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,}},
  2176.         {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,}},
  2177.         {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,}},
  2178.         {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,}},
  2179.         {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,}},
  2180.         {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,}},
  2181.         {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,}},
  2182.         {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,}},
  2183.         {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,}},
  2184.         {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,}},
  2185.         {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,}},
  2186.         {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,}},
  2187.         {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,}},
  2188.         {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,}},
  2189.         {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,}},
  2190.         {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,}},
  2191.         {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,}},
  2192.         {41,"Frame",{BackgroundColor3=currentShade1,BorderSizePixel=0,ClipsDescendants=true,Name="EventTemplate",Parent={6},Size=UDim2.new(1,0,0,20),Visible=false,ZIndex=10,}},
  2193.         {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,}},
  2194.         {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,}},
  2195.         {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,}},
  2196.         {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,}},
  2197.         {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,}},
  2198.         {47,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={44},Size=UDim2.new(1,0,1,-20),ZIndex=10,}},
  2199.         {48,"UIListLayout",{Parent={47},SortOrder=2,}},
  2200.         {49,"Frame",{currentShade1,BorderSizePixel=0,ClipsDescendants=true,Name="CmdTemplate",Parent={6},Size=UDim2.new(1,0,0,20),Visible=false,ZIndex=10,}},
  2201.         {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,}},
  2202.         {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,}},
  2203.         {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,}},
  2204.         {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,}},
  2205.     })
  2206.     main.Name = randomString()
  2207.     local mainFrame = main:WaitForChild("Content")
  2208.     local eventList = mainFrame:WaitForChild("List")
  2209.     local eventListHolder = eventList:WaitForChild("Holder")
  2210.     local cmdTemplate = mainFrame:WaitForChild("CmdTemplate")
  2211.     local eventTemplate = mainFrame:WaitForChild("EventTemplate")
  2212.     local settingsFrame = mainFrame:WaitForChild("Settings"):WaitForChild("Slider")
  2213.     local settingsTemplates = mainFrame.Settings:WaitForChild("Templates")
  2214.     local settingsList = settingsFrame:WaitForChild("List"):WaitForChild("Holder")
  2215.     table.insert(shade2,main.TopBar) table.insert(shade1,mainFrame) table.insert(shade2,eventTemplate)
  2216.     table.insert(text1,eventTemplate.EventName) table.insert(shade1,eventTemplate.Cmds.Add) table.insert(shade1,cmdTemplate)
  2217.     table.insert(text1,cmdTemplate.TextBox) table.insert(shade2,cmdTemplate.Delete) table.insert(shade2,cmdTemplate.Settings)
  2218.     table.insert(scroll,mainFrame.List) table.insert(shade1,settingsFrame) table.insert(shade2,settingsFrame.Line)
  2219.     table.insert(shade2,settingsFrame.Close) table.insert(scroll,settingsFrame.List) table.insert(shade2,settingsTemplates.DelayEditor.Secs)
  2220.     table.insert(text1,settingsTemplates.DelayEditor.Secs) table.insert(text1,settingsTemplates.DelayEditor.Secs.Label) table.insert(text1,settingsTemplates.Players.Title)
  2221.     table.insert(shade3,settingsTemplates.Players.CustomButton) table.insert(shade2,settingsTemplates.Players.Custom) table.insert(text1,settingsTemplates.Players.Custom)
  2222.     table.insert(shade3,settingsTemplates.Players.Any.Button) table.insert(shade3,settingsTemplates.Players.Me.Button) table.insert(text1,settingsTemplates.Players.Any)
  2223.     table.insert(text1,settingsTemplates.Players.Me) table.insert(text1,settingsTemplates.Strings.Title) table.insert(text1,settingsTemplates.Strings.Any)
  2224.     table.insert(shade3,settingsTemplates.Strings.Any.Button) table.insert(shade3,settingsTemplates.Strings.CustomButton) table.insert(text1,settingsTemplates.Strings.Custom)
  2225.     table.insert(shade2,settingsTemplates.Strings.Custom)
  2226.     table.insert(text1,settingsTemplates.Players.Me) table.insert(text1,settingsTemplates.Numbers.Title) table.insert(text1,settingsTemplates.Numbers.Any)
  2227.     table.insert(shade3,settingsTemplates.Numbers.Any.Button) table.insert(shade3,settingsTemplates.Numbers.CustomButton) table.insert(text1,settingsTemplates.Numbers.Custom)
  2228.     table.insert(shade2,settingsTemplates.Numbers.Custom)
  2229.  
  2230.     local tweenInf = TweenInfo.new(0.25,Enum.EasingStyle.Quart,Enum.EasingDirection.Out)
  2231.  
  2232.     local currentlyEditingCmd = nil
  2233.  
  2234.     settingsFrame:WaitForChild("Close").MouseButton1Click:Connect(function()
  2235.         settingsFrame:TweenPosition(UDim2.new(0,-150,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
  2236.     end)
  2237.  
  2238.     local function resizeList()
  2239.         local size = 0
  2240.  
  2241.         for i,v in pairs(eventListHolder:GetChildren()) do
  2242.             if v.Name == "EventTemplate" then
  2243.                 size = size + 20
  2244.                 if v.Expand.Rotation == 90 then
  2245.                     size = size + 20*(1+(#events[v.EventName:GetAttribute("RawName")].commands or 0))
  2246.                 end
  2247.             end
  2248.         end
  2249.  
  2250.         TweenService:Create(eventList,tweenInf,{CanvasSize = UDim2.new(0,0,0,size)}):Play()
  2251.  
  2252.         if size > eventList.AbsoluteSize.Y then
  2253.             eventListHolder.Size = UDim2.new(1,-8,1,0)
  2254.         else
  2255.             eventListHolder.Size = UDim2.new(1,0,1,0)
  2256.         end
  2257.     end
  2258.  
  2259.     local function resizeSettingsList()
  2260.         local size = 0
  2261.  
  2262.         for i,v in pairs(settingsList:GetChildren()) do
  2263.             if v:IsA("Frame") then
  2264.                 size = size + v.AbsoluteSize.Y
  2265.             end
  2266.         end
  2267.  
  2268.         settingsList.Parent.CanvasSize = UDim2.new(0,0,0,size)
  2269.  
  2270.         if size > settingsList.Parent.AbsoluteSize.Y then
  2271.             settingsList.Size = UDim2.new(1,-8,1,0)
  2272.         else
  2273.             settingsList.Size = UDim2.new(1,0,1,0)
  2274.         end
  2275.     end
  2276.  
  2277.     local function setupCheckbox(button,callback)
  2278.         local enabled = button.On.BackgroundTransparency == 0
  2279.  
  2280.         local function update()
  2281.             button.On.BackgroundTransparency = (enabled and 0 or 1)
  2282.         end
  2283.  
  2284.         button.On.MouseButton1Click:Connect(function()
  2285.             enabled = not enabled
  2286.             update()
  2287.             if callback then callback(enabled) end
  2288.         end)
  2289.  
  2290.         return {
  2291.             Toggle = function(nocall) enabled = not enabled update() if not nocall and callback then callback(enabled) end end,
  2292.             Enable = function(nocall) if enabled then return end enabled = true update()if not nocall and callback then callback(enabled) end end,
  2293.             Disable = function(nocall) if not enabled then return end enabled = false update()if not nocall and callback then callback(enabled) end end,
  2294.             IsEnabled = function() return enabled end
  2295.         }
  2296.     end
  2297.  
  2298.     local function openSettingsEditor(event,cmd)
  2299.         currentlyEditingCmd = cmd
  2300.  
  2301.         for i,v in pairs(settingsList:GetChildren()) do if v:IsA("Frame") then v:Destroy() end end
  2302.  
  2303.         local delayEditor = settingsTemplates.DelayEditor:Clone()
  2304.         delayEditor.Secs.FocusLost:Connect(function()
  2305.             cmd[3] = tonumber(delayEditor.Secs.Text) or 0
  2306.             delayEditor.Secs.Text = cmd[3]
  2307.             if onEdited then onEdited() end
  2308.         end)
  2309.         delayEditor.Secs.Text = cmd[3]
  2310.         delayEditor.Visible = true
  2311.         table.insert(shade2,delayEditor.Secs)
  2312.         table.insert(text1,delayEditor.Secs)
  2313.         table.insert(text1,delayEditor.Secs.Label)
  2314.         delayEditor.Parent = settingsList
  2315.  
  2316.         for i,v in pairs(event.sets) do
  2317.             if v.Type == "Player" then
  2318.                 local template = settingsTemplates.Players:Clone()
  2319.                 template.Title.Text = v.Name or "Player"
  2320.  
  2321.                 local me,any,custom
  2322.  
  2323.                 me = setupCheckbox(template.Me.Button,function(on)
  2324.                     if not on then return end
  2325.                     any.Disable()
  2326.                     custom.Disable()
  2327.                     cmd[2][i] = 0
  2328.                     if onEdited then onEdited() end
  2329.                 end)
  2330.  
  2331.                 any = setupCheckbox(template.Any.Button,function(on)
  2332.                     if not on then return end
  2333.                     me.Disable()
  2334.                     custom.Disable()
  2335.                     cmd[2][i] = 1
  2336.                     if onEdited then onEdited() end
  2337.                 end)
  2338.  
  2339.                 local customTextBox = template.Custom
  2340.                 custom = setupCheckbox(template.CustomButton,function(on)
  2341.                     if not on then return end
  2342.                     me.Disable()
  2343.                     any.Disable()
  2344.                     cmd[2][i] = customTextBox.Text
  2345.                     if onEdited then onEdited() end
  2346.                 end)
  2347.  
  2348.                 ViewportTextBox.convert(customTextBox)
  2349.                 customTextBox.FocusLost:Connect(function()
  2350.                     if custom:IsEnabled() then
  2351.                         cmd[2][i] = customTextBox.Text
  2352.                         if onEdited then onEdited() end
  2353.                     end
  2354.                 end)
  2355.  
  2356.                 local cVal = cmd[2][i]
  2357.                 if cVal == 0 then
  2358.                     me:Enable()
  2359.                 elseif cVal == 1 then
  2360.                     any:Enable()
  2361.                 else
  2362.                     custom:Enable()
  2363.                     customTextBox.Text = cVal
  2364.                 end
  2365.  
  2366.                 template.Visible = true
  2367.                 table.insert(text1,template.Title)
  2368.                 table.insert(shade3,template.CustomButton)
  2369.                 table.insert(shade3,template.Any.Button)
  2370.                 table.insert(shade3,template.Me.Button)
  2371.                 table.insert(text1,template.Any)
  2372.                 table.insert(text1,template.Me)
  2373.                 template.Parent = settingsList
  2374.             elseif v.Type == "String" then
  2375.                 local template = settingsTemplates.Strings:Clone()
  2376.                 template.Title.Text = v.Name or "String"
  2377.  
  2378.                 local any,custom
  2379.  
  2380.                 any = setupCheckbox(template.Any.Button,function(on)
  2381.                     if not on then return end
  2382.                     custom.Disable()
  2383.                     cmd[2][i] = 0
  2384.                     if onEdited then onEdited() end
  2385.                 end)
  2386.  
  2387.                 local customTextBox = template.Custom
  2388.                 custom = setupCheckbox(template.CustomButton,function(on)
  2389.                     if not on then return end
  2390.                     any.Disable()
  2391.                     cmd[2][i] = customTextBox.Text
  2392.                     if onEdited then onEdited() end
  2393.                 end)
  2394.  
  2395.                 ViewportTextBox.convert(customTextBox)
  2396.                 customTextBox.FocusLost:Connect(function()
  2397.                     if custom:IsEnabled() then
  2398.                         cmd[2][i] = customTextBox.Text
  2399.                         if onEdited then onEdited() end
  2400.                     end
  2401.                 end)
  2402.  
  2403.                 local cVal = cmd[2][i]
  2404.                 if cVal == 0 then
  2405.                     any:Enable()
  2406.                 else
  2407.                     custom:Enable()
  2408.                     customTextBox.Text = cVal
  2409.                 end
  2410.  
  2411.                 template.Visible = true
  2412.                 table.insert(text1,template.Title)
  2413.                 table.insert(text1,template.Any)
  2414.                 table.insert(shade3,template.Any.Button)
  2415.                 table.insert(shade3,template.CustomButton)
  2416.                 template.Parent = settingsList
  2417.             elseif v.Type == "Number" then
  2418.                 local template = settingsTemplates.Numbers:Clone()
  2419.                 template.Title.Text = v.Name or "Number"
  2420.  
  2421.                 local any,custom
  2422.  
  2423.                 any = setupCheckbox(template.Any.Button,function(on)
  2424.                     if not on then return end
  2425.                     custom.Disable()
  2426.                     cmd[2][i] = 0
  2427.                     if onEdited then onEdited() end
  2428.                 end)
  2429.  
  2430.                 local customTextBox = template.Custom
  2431.                 custom = setupCheckbox(template.CustomButton,function(on)
  2432.                     if not on then return end
  2433.                     any.Disable()
  2434.                     cmd[2][i] = customTextBox.Text
  2435.                     if onEdited then onEdited() end
  2436.                 end)
  2437.  
  2438.                 ViewportTextBox.convert(customTextBox)
  2439.                 customTextBox.FocusLost:Connect(function()
  2440.                     cmd[2][i] = tonumber(customTextBox.Text) or 0
  2441.                     customTextBox.Text = cmd[2][i]
  2442.                     if custom:IsEnabled() then
  2443.                         if onEdited then onEdited() end
  2444.                     end
  2445.                 end)
  2446.  
  2447.                 local cVal = cmd[2][i]
  2448.                 if cVal == 0 then
  2449.                     any:Enable()
  2450.                 else
  2451.                     custom:Enable()
  2452.                     customTextBox.Text = cVal
  2453.                 end
  2454.  
  2455.                 template.Visible = true
  2456.                 table.insert(text1,template.Title)
  2457.                 table.insert(text1,template.Any)
  2458.                 table.insert(shade3,template.Any.Button)
  2459.                 table.insert(shade3,template.CustomButton)
  2460.                 template.Parent = settingsList
  2461.             end
  2462.         end
  2463.         resizeSettingsList()
  2464.         settingsFrame:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
  2465.     end
  2466.  
  2467.     local function defaultSettings(ev)
  2468.         local res = {}
  2469.  
  2470.         for i,v in pairs(ev.sets) do
  2471.             if v.Type == "Player" then
  2472.                 res[#res+1] = v.Default or 0
  2473.             elseif v.Type == "String" then
  2474.                 res[#res+1] = v.Default or 0
  2475.             elseif v.Type == "Number" then
  2476.                 res[#res+1] = v.Default or 0
  2477.             end
  2478.         end
  2479.  
  2480.         return res
  2481.     end
  2482.  
  2483.     local function refreshList()
  2484.         for i,v in pairs(eventListHolder:GetChildren()) do if v:IsA("Frame") then v:Destroy() end end
  2485.  
  2486.         for name,event in pairs(events) do
  2487.             local eventF = eventTemplate:Clone()
  2488.             eventF.EventName.Text = name
  2489.             eventF.Visible = true
  2490.             eventF.EventName:SetAttribute("RawName", name)
  2491.             table.insert(shade2,eventF)
  2492.             table.insert(text1,eventF.EventName)
  2493.             table.insert(shade1,eventF.Cmds.Add)
  2494.  
  2495.             local expanded = false
  2496.             eventF.Expand.MouseButton1Down:Connect(function()
  2497.                 expanded = not expanded
  2498.                 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)
  2499.                 eventF.Expand.Rotation = expanded and 90 or 0
  2500.                 resizeList()
  2501.             end)
  2502.  
  2503.             local function refreshCommands()
  2504.                 for i,v in pairs(eventF.Cmds.Holder:GetChildren()) do
  2505.                     if v.Name == "CmdTemplate" then
  2506.                         v:Destroy()
  2507.                     end
  2508.                 end
  2509.  
  2510.                 eventF.EventName.Text = name..(#event.commands > 0 and " ("..#event.commands..")" or "")
  2511.  
  2512.                 for i,cmd in pairs(event.commands) do
  2513.                     local cmdF = cmdTemplate:Clone()
  2514.                     local cmdTextBox = cmdF.TextBox
  2515.                     ViewportTextBox.convert(cmdTextBox)
  2516.                     cmdTextBox.Text = cmd[1]
  2517.                     cmdF.Visible = true
  2518.                     table.insert(shade1,cmdF)
  2519.                     table.insert(shade2,cmdF.Delete)
  2520.                     table.insert(shade2,cmdF.Settings)
  2521.  
  2522.                     cmdTextBox.FocusLost:Connect(function()
  2523.                         event.commands[i] = {cmdTextBox.Text,cmd[2],cmd[3]}
  2524.                         if onEdited then onEdited() end
  2525.                     end)
  2526.  
  2527.                     cmdF.Settings.MouseButton1Click:Connect(function()
  2528.                         openSettingsEditor(event,cmd)
  2529.                     end)
  2530.  
  2531.                     cmdF.Delete.MouseButton1Click:Connect(function()
  2532.                         table.remove(event.commands,i)
  2533.                         refreshCommands()
  2534.                         resizeList()
  2535.  
  2536.                         if currentlyEditingCmd == cmd then
  2537.                             settingsFrame:TweenPosition(UDim2.new(0,-150,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
  2538.                         end
  2539.                         if onEdited then onEdited() end
  2540.                     end)
  2541.  
  2542.                     cmdF.Parent = eventF.Cmds.Holder
  2543.                 end
  2544.  
  2545.                 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)
  2546.             end
  2547.  
  2548.             local newBox = eventF.Cmds.Add.TextBox
  2549.             ViewportTextBox.convert(newBox)
  2550.             newBox.FocusLost:Connect(function(enter)
  2551.                 if enter then
  2552.                     event.commands[#event.commands+1] = {newBox.Text,defaultSettings(event),0}
  2553.                     newBox.Text = ""
  2554.  
  2555.                     refreshCommands()
  2556.                     resizeList()
  2557.                     if onEdited then onEdited() end
  2558.                 end
  2559.             end)
  2560.  
  2561.             --eventF:GetPropertyChangedSignal("AbsoluteSize"):Connect(resizeList)
  2562.  
  2563.             eventF.Parent = eventListHolder
  2564.  
  2565.             refreshCommands()
  2566.         end
  2567.  
  2568.         resizeList()
  2569.     end
  2570.  
  2571.     local function saveData()
  2572.         local result = {}
  2573.         for i,v in pairs(events) do
  2574.             result[i] = v.commands
  2575.         end
  2576.         return HttpService:JSONEncode(result)
  2577.     end
  2578.  
  2579.     local function loadData(str)
  2580.         local data = HttpService:JSONDecode(str)
  2581.         for i,v in pairs(data) do
  2582.             if events[i] then
  2583.                 events[i].commands = v
  2584.             end
  2585.         end
  2586.     end
  2587.  
  2588.     local function addCmd(event,data)
  2589.         table.insert(events[event].commands,data)
  2590.     end
  2591.  
  2592.     local function setOnEdited(f)
  2593.         if type(f) == "function" then
  2594.             onEdited = f
  2595.         end
  2596.     end
  2597.  
  2598.     main.TopBar.Close.MouseButton1Click:Connect(function()
  2599.         main:TweenPosition(UDim2.new(0.5,-175,0,-500), "InOut", "Quart", 0.5, true, nil)
  2600.     end)
  2601.     dragGUI(main)
  2602.     main.Parent = PARENT
  2603.  
  2604.     return {
  2605.         RegisterEvent = registerEvent,
  2606.         FireEvent = fireEvent,
  2607.         Refresh = refreshList,
  2608.         SaveData = saveData,
  2609.         LoadData = loadData,
  2610.         AddCmd = addCmd,
  2611.         Frame = main,
  2612.         SetOnEdited = setOnEdited
  2613.     }
  2614. end)()
  2615.  
  2616. reference = (function()
  2617.     local main = create({
  2618.         {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,}},
  2619.         {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,}},
  2620.         {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,}},
  2621.         {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,}},
  2622.         {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,}},
  2623.         {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,}},
  2624.         {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,}},
  2625.         {8,"UIListLayout",{Parent={7},SortOrder=2,}},
  2626.         {9,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,429),ZIndex=10,}},
  2627.         {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,}},
  2628.         {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,}},
  2629.         {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,}},
  2630.         {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,}},
  2631.         {14,"UIListLayout",{Parent={13},SortOrder=2,}},
  2632.         {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,}},
  2633.         {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,}},
  2634.         {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,}},
  2635.         {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,}},
  2636.         {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,}},
  2637.         {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,}},
  2638.         {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,}},
  2639.         {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,}},
  2640.         {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,}},
  2641.         {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,}},
  2642.         {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,}},
  2643.         {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,}},
  2644.         {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,}},
  2645.         {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,}},
  2646.         {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,}},
  2647.         {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,}},
  2648.         {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,}},
  2649.         {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,}},
  2650.         {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,}},
  2651.         {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,}},
  2652.         {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,}},
  2653.         {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,}},
  2654.         {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,}},
  2655.         {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,}},
  2656.         {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,}},
  2657.         {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,}},
  2658.         {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,}},
  2659.         {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,}},
  2660.         {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,}},
  2661.         {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,}},
  2662.         {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,}},
  2663.         {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,}},
  2664.         {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,}},
  2665.         {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,}},
  2666.         {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,}},
  2667.         {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,}},
  2668.         {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,}},
  2669.         {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,}},
  2670.         {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,}},
  2671.         {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,}},
  2672.         {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,}},
  2673.         {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,}},
  2674.         {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,}},
  2675.         {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,}},
  2676.         {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,}},
  2677.         {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,}},
  2678.         {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,}},
  2679.         {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,}},
  2680.         {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,}},
  2681.         {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,}},
  2682.         {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,}},
  2683.         {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,}},
  2684.         {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,}},
  2685.         {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,}},
  2686.         {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,}},
  2687.         {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,}},
  2688.         {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,}},
  2689.         {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,}},
  2690.         {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,}},
  2691.         {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,}},
  2692.         {75,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,180),ZIndex=10,}},
  2693.         {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,}},
  2694.         {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,}},
  2695.         {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,}},
  2696.         {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,}},
  2697.         {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,}},
  2698.         {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,}},
  2699.         {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,}},
  2700.         {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,}},
  2701.         {84,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,154),ZIndex=10,}},
  2702.         {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,}},
  2703.         {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,}},
  2704.         {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,}},
  2705.         {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,}},
  2706.         {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,}},
  2707.         {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,}},
  2708.         {91,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,120),ZIndex=10,}},
  2709.         {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,}},
  2710.         {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,}},
  2711.         {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,}},
  2712.         {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,}},
  2713.         {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,}},
  2714.         {97,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,75),ZIndex=10,}},
  2715.         {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,}},
  2716.         {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,}},
  2717.         {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,}},
  2718.         {101,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,75),ZIndex=10,}},
  2719.         {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,}},
  2720.         {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,}},
  2721.         {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,}},
  2722.         {105,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,175),ZIndex=10,}},
  2723.         {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,}},
  2724.         {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,}},
  2725.         {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,}},
  2726.         {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,}},
  2727.         {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,}},
  2728.         {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,}},
  2729.         {112,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,105),ZIndex=10,}},
  2730.         {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,}},
  2731.         {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,}},
  2732.         {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,}},
  2733.         {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.io/infiniteyield)",TextColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),TextSize=16,ZIndex=10,}},
  2734.     })
  2735.     for i,v in pairs(main.Content.List:GetDescendants()) do
  2736.         if v:IsA("TextLabel") then
  2737.             table.insert(text1,v)
  2738.         end
  2739.     end
  2740.     table.insert(scroll,main.Content.List)
  2741.     table.insert(shade1,main.Content)
  2742.     table.insert(shade2,main.TopBar)
  2743.     main.Name = randomString()
  2744.     main.TopBar.Close.MouseButton1Click:Connect(function()
  2745.         main:TweenPosition(UDim2.new(0.5,-250,0,-500), "InOut", "Quart", 0.5, true, nil)
  2746.     end)
  2747.     local inviteButton = main:FindFirstChild("InviteButton",true)
  2748.     local lastPress = nil
  2749.     inviteButton.MouseButton1Click:Connect(function()
  2750.         local func = setclipboard or toclipboard or set_clipboard or (Clipboard and Clipboard.set)
  2751.         if func then
  2752.             func("https://discord.io/infiniteyield")
  2753.             inviteButton.Text = "Copied"
  2754.         else
  2755.             inviteButton.Text = "No Clipboard Function, type out the link"
  2756.         end
  2757.         local pressTime = tick()
  2758.         lastPress = pressTime
  2759.         wait(2)
  2760.         if lastPress ~= pressTime then return end
  2761.         inviteButton.Text = "Copy Discord Invite Link (https://discord.io/infiniteyield)"
  2762.     end)
  2763.     dragGUI(main)
  2764.     main.Parent = PARENT
  2765.  
  2766.     ReferenceButton.MouseButton1Click:Connect(function()
  2767.         main:TweenPosition(UDim2.new(0.5,-250,0.5,-150), "InOut", "Quart", 0.5, true, nil)
  2768.     end)
  2769. end)()
  2770.  
  2771. currentShade1 = Color3.fromRGB(36, 36, 37)
  2772. currentShade2 = Color3.fromRGB(46, 46, 47)
  2773. currentShade3 = Color3.fromRGB(78, 78, 79)
  2774. currentText1 = Color3.new(1, 1, 1)
  2775. currentText2 = Color3.new(0, 0, 0)
  2776. currentScroll = Color3.fromRGB(78,78,79)
  2777.  
  2778. defaultsettings = {
  2779.     prefix = ';';
  2780.     StayOpen = false;
  2781.     espTransparency = 0.3;
  2782.     keepIY = true;
  2783.     logsEnabled = false;
  2784.     jLogsEnabled = false;
  2785.     aliases = {};
  2786.     binds = {};
  2787.     WayPoints = {};
  2788.     PluginsTable = {};
  2789.     currentShade1 = {currentShade1.R,currentShade1.G,currentShade1.B};
  2790.     currentShade2 = {currentShade2.R,currentShade2.G,currentShade2.B};
  2791.     currentShade3 = {currentShade3.R,currentShade3.G,currentShade3.B};
  2792.     currentText1 = {currentText1.R,currentText1.G,currentText1.B};
  2793.     currentText2 = {currentText2.R,currentText2.G,currentText2.B};
  2794.     currentScroll = {currentScroll.R,currentScroll.G,currentScroll.B};
  2795.     eventBinds = eventEditor.SaveData()
  2796. }
  2797.  
  2798. defaults = HttpService:JSONEncode(defaultsettings)
  2799. nosaves = false
  2800.  
  2801. local loadedEventData = nil
  2802. function saves()
  2803.     if writefileExploit() then
  2804.         if pcall(function() readfile("IY_FE.iy") end) then
  2805.             if readfile("IY_FE.iy") ~= nil then
  2806.                 local success, response = pcall(function()
  2807.                     local json = HttpService:JSONDecode(readfile("IY_FE.iy"))
  2808.                     if json.prefix ~= nil then prefix = json.prefix else prefix = ';' end
  2809.                     if json.StayOpen ~= nil then StayOpen = json.StayOpen else StayOpen = false end
  2810.                     if json.keepIY ~= nil then KeepInfYield = json.keepIY else KeepInfYield = true end
  2811.                     if json.espTransparency ~= nil then espTransparency = json.espTransparency else espTransparency = 0.3 end
  2812.                     if json.logsEnabled ~= nil then logsEnabled = json.logsEnabled else logsEnabled = false end
  2813.                     if json.jLogsEnabled ~= nil then jLogsEnabled = json.jLogsEnabled else jLogsEnabled = false end
  2814.                     if json.aliases ~= nil then aliases = json.aliases else aliases = {} end
  2815.                     if json.binds ~= nil then binds = (json.binds or {}) else binds = {} end
  2816.                     if json.spawnCmds ~= nil then spawnCmds = json.spawnCmds end
  2817.                     if json.WayPoints ~= nil then AllWaypoints = json.WayPoints else WayPoints = {} AllWaypoints = {} end
  2818.                     if json.PluginsTable ~= nil then PluginsTable = json.PluginsTable else PluginsTable = {} end
  2819.                     if json.currentShade1 ~= nil then currentShade1 = Color3.new(json.currentShade1[1],json.currentShade1[2],json.currentShade1[3]) end
  2820.                     if json.currentShade2 ~= nil then currentShade2 = Color3.new(json.currentShade2[1],json.currentShade2[2],json.currentShade2[3]) end
  2821.                     if json.currentShade3 ~= nil then currentShade3 = Color3.new(json.currentShade3[1],json.currentShade3[2],json.currentShade3[3]) end
  2822.                     if json.currentText1 ~= nil then currentText1 = Color3.new(json.currentText1[1],json.currentText1[2],json.currentText1[3]) end
  2823.                     if json.currentText2 ~= nil then currentText2 = Color3.new(json.currentText2[1],json.currentText2[2],json.currentText2[3]) end
  2824.                     if json.currentScroll ~= nil then currentScroll = Color3.new(json.currentScroll[1],json.currentScroll[2],json.currentScroll[3]) end
  2825.                     if json.eventBinds ~= nil then loadedEventData = json.eventBinds end
  2826.                 end)
  2827.                 if not success then
  2828.                     warn("Save Json Error:", response)
  2829.                     warn("Overwriting Save File")
  2830.                     writefileCooldown("IY_FE.iy", defaults)
  2831.                     wait()
  2832.                     saves()
  2833.                 end
  2834.             else
  2835.                 writefileCooldown("IY_FE.iy", defaults)
  2836.                 wait()
  2837.                 saves()
  2838.             end
  2839.         else
  2840.             writefileCooldown("IY_FE.iy", defaults)
  2841.             wait()
  2842.             if pcall(function() readfile("IY_FE.iy") end) then
  2843.                 saves()
  2844.             else
  2845.                 nosaves = true
  2846.                 prefix = ';'
  2847.                 StayOpen = false
  2848.                 KeepInfYield = true
  2849.                 espTransparency = 0.3
  2850.                 logsEnabled = false
  2851.                 jLogsEnabled = false
  2852.                 aliases = {}
  2853.                 binds = {}
  2854.                 WayPoints = {}
  2855.                 PluginsTable = {}
  2856.  
  2857.                 local FileError = Instance.new("Frame")
  2858.                 local background = Instance.new("Frame")
  2859.                 local Directions = Instance.new("TextLabel")
  2860.                 local shadow = Instance.new("Frame")
  2861.                 local PopupText = Instance.new("TextLabel")
  2862.                 local Exit = Instance.new("TextButton")
  2863.                 local ExitImage = Instance.new("ImageLabel")
  2864.  
  2865.                 FileError.Name = randomString()
  2866.                 FileError.Parent = PARENT
  2867.                 FileError.Active = true
  2868.                 FileError.BackgroundTransparency = 1
  2869.                 FileError.Position = UDim2.new(0.5, -180, 0, 290)
  2870.                 FileError.Size = UDim2.new(0, 360, 0, 20)
  2871.                 FileError.ZIndex = 10
  2872.  
  2873.                 background.Name = "background"
  2874.                 background.Parent = FileError
  2875.                 background.Active = true
  2876.                 background.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  2877.                 background.BorderSizePixel = 0
  2878.                 background.Position = UDim2.new(0, 0, 0, 20)
  2879.                 background.Size = UDim2.new(0, 360, 0, 205)
  2880.                 background.ZIndex = 10
  2881.  
  2882.                 Directions.Name = "Directions"
  2883.                 Directions.Parent = background
  2884.                 Directions.BackgroundTransparency = 1
  2885.                 Directions.BorderSizePixel = 0
  2886.                 Directions.Position = UDim2.new(0, 10, 0, 10)
  2887.                 Directions.Size = UDim2.new(0, 340, 0, 185)
  2888.                 Directions.Font = Enum.Font.SourceSans
  2889.                 Directions.TextSize = 14
  2890.                 Directions.Text = "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 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."
  2891.                 Directions.TextColor3 = Color3.new(1, 1, 1)
  2892.                 Directions.TextWrapped = true
  2893.                 Directions.TextXAlignment = Enum.TextXAlignment.Left
  2894.                 Directions.TextYAlignment = Enum.TextYAlignment.Top
  2895.                 Directions.ZIndex = 10
  2896.  
  2897.                 shadow.Name = "shadow"
  2898.                 shadow.Parent = FileError
  2899.                 shadow.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2900.                 shadow.BorderSizePixel = 0
  2901.                 shadow.Size = UDim2.new(0, 360, 0, 20)
  2902.                 shadow.ZIndex = 10
  2903.  
  2904.                 PopupText.Name = "PopupText"
  2905.                 PopupText.Parent = shadow
  2906.                 PopupText.BackgroundTransparency = 1
  2907.                 PopupText.Size = UDim2.new(1, 0, 0.95, 0)
  2908.                 PopupText.ZIndex = 10
  2909.                 PopupText.Font = Enum.Font.SourceSans
  2910.                 PopupText.TextSize = 14
  2911.                 PopupText.Text = "File Error"
  2912.                 PopupText.TextColor3 = Color3.new(1, 1, 1)
  2913.                 PopupText.TextWrapped = true
  2914.  
  2915.                 Exit.Name = "Exit"
  2916.                 Exit.Parent = shadow
  2917.                 Exit.BackgroundTransparency = 1
  2918.                 Exit.Position = UDim2.new(1, -20, 0, 0)
  2919.                 Exit.Size = UDim2.new(0, 20, 0, 20)
  2920.                 Exit.Text = ""
  2921.                 Exit.ZIndex = 10
  2922.  
  2923.                 ExitImage.Parent = Exit
  2924.                 ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
  2925.                 ExitImage.BackgroundTransparency = 1
  2926.                 ExitImage.Position = UDim2.new(0, 5, 0, 5)
  2927.                 ExitImage.Size = UDim2.new(0, 10, 0, 10)
  2928.                 ExitImage.Image = "rbxassetid://5054663650"
  2929.                 ExitImage.ZIndex = 10
  2930.  
  2931.                 Exit.MouseButton1Click:Connect(function()
  2932.                     FileError:Destroy()
  2933.                 end)
  2934.             end
  2935.         end
  2936.     else
  2937.         prefix = ';'
  2938.         StayOpen = false
  2939.         KeepInfYield = true
  2940.         espTransparency = 0.3
  2941.         logsEnabled = false
  2942.         jLogsEnabled = false
  2943.         aliases = {}
  2944.         binds = {}
  2945.         WayPoints = {}
  2946.         PluginsTable = {}
  2947.     end
  2948. end
  2949.  
  2950. saves()
  2951.  
  2952. function updatesaves()
  2953.     if nosaves == false and writefileExploit() then
  2954.         local update = {
  2955.             prefix = prefix;
  2956.             StayOpen = StayOpen;
  2957.             keepIY = KeepInfYield;
  2958.             espTransparency = espTransparency;
  2959.             logsEnabled = logsEnabled;
  2960.             jLogsEnabled = jLogsEnabled;
  2961.             aliases = aliases;
  2962.             binds = binds or {};
  2963.             WayPoints = AllWaypoints;
  2964.             PluginsTable = PluginsTable;
  2965.             currentShade1 = {currentShade1.R,currentShade1.G,currentShade1.B};
  2966.             currentShade2 = {currentShade2.R,currentShade2.G,currentShade2.B};
  2967.             currentShade3 = {currentShade3.R,currentShade3.G,currentShade3.B};
  2968.             currentText1 = {currentText1.R,currentText1.G,currentText1.B};
  2969.             currentText2 = {currentText2.R,currentText2.G,currentText2.B};
  2970.             currentScroll = {currentScroll.R,currentScroll.G,currentScroll.B};
  2971.             eventBinds = eventEditor.SaveData()
  2972.         }
  2973.         writefileCooldown("IY_FE.iy", HttpService:JSONEncode(update))
  2974.     end
  2975. end
  2976.  
  2977. eventEditor.SetOnEdited(updatesaves)
  2978.  
  2979. pWayPoints = {}
  2980. WayPoints = {}
  2981.  
  2982. if #AllWaypoints > 0 then
  2983.     for i = 1, #AllWaypoints do
  2984.         if not AllWaypoints[i].GAME or AllWaypoints[i].GAME == PlaceId then
  2985.             WayPoints[#WayPoints + 1] = {NAME = AllWaypoints[i].NAME, COORD = {AllWaypoints[i].COORD[1], AllWaypoints[i].COORD[2], AllWaypoints[i].COORD[3]}, GAME = AllWaypoints[i].GAME}
  2986.         end
  2987.     end
  2988. end
  2989.  
  2990. if type(binds) ~= "table" then binds = {} end
  2991.  
  2992. function Time()
  2993.     local HOUR = math.floor((tick() % 86400) / 3600)
  2994.     local MINUTE = math.floor((tick() % 3600) / 60)
  2995.     local SECOND = math.floor(tick() % 60)
  2996.     local AP = HOUR > 11 and 'PM' or 'AM'
  2997.     HOUR = (HOUR % 12 == 0 and 12 or HOUR % 12)
  2998.     HOUR = HOUR < 10 and '0' .. HOUR or HOUR
  2999.     MINUTE = MINUTE < 10 and '0' .. MINUTE or MINUTE
  3000.     SECOND = SECOND < 10 and '0' .. SECOND or SECOND
  3001.     return HOUR .. ':' .. MINUTE .. ':' .. SECOND .. ' ' .. AP
  3002. end
  3003.  
  3004. PrefixBox.Text = prefix
  3005. local SettingsOpen = false
  3006. local isHidden = false
  3007.  
  3008. if StayOpen == false then
  3009.     On.BackgroundTransparency = 1
  3010. else
  3011.     On.BackgroundTransparency = 0
  3012. end
  3013.  
  3014. if logsEnabled then
  3015.     Toggle.Text = 'Enabled'
  3016. else
  3017.     Toggle.Text = 'Disabled'
  3018. end
  3019.  
  3020. if jLogsEnabled then
  3021.     Toggle_2.Text = 'Enabled'
  3022. else
  3023.     Toggle_2.Text = 'Disabled'
  3024. end
  3025.  
  3026. function maximizeHolder()
  3027.     if StayOpen == false then
  3028.         Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, -220), "InOut", "Quart", 0.2, true, nil)
  3029.     end
  3030. end
  3031.  
  3032. local minimizeNum = -20
  3033. function minimizeHolder()
  3034.     if StayOpen == false then
  3035.         Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, minimizeNum), "InOut", "Quart", 0.5, true, nil)
  3036.     end
  3037. end
  3038.  
  3039. function cmdbarHolder()
  3040.     if StayOpen == false then
  3041.         Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, -45), "InOut", "Quart", 0.5, true, nil)
  3042.     end
  3043. end
  3044.  
  3045. pinNotification = nil
  3046. local notifyCount = 0
  3047. function notify(text,text2,length)
  3048.     task.spawn(function()
  3049.         local LnotifyCount = notifyCount+1
  3050.         local notificationPinned = false
  3051.         notifyCount = notifyCount+1
  3052.         if pinNotification then pinNotification:Disconnect() end
  3053.         pinNotification = PinButton.MouseButton1Click:Connect(function()
  3054.             task.spawn(function()
  3055.                 pinNotification:Disconnect()
  3056.                 notificationPinned = true
  3057.                 Title_2.BackgroundTransparency = 1
  3058.                 wait(0.5)
  3059.                 Title_2.BackgroundTransparency = 0
  3060.             end)
  3061.         end)
  3062.         Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil)
  3063.         wait(0.6)
  3064.         local closepressed = false
  3065.         if text2 then
  3066.             Title_2.Text = text
  3067.             Text_2.Text = text2
  3068.         else
  3069.             Title_2.Text = 'Notification'
  3070.             Text_2.Text = text
  3071.         end
  3072.         Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, -100), "InOut", "Quart", 0.5, true, nil)
  3073.         CloseButton.MouseButton1Click:Connect(function()
  3074.             Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil)
  3075.             closepressed = true
  3076.             pinNotification:Disconnect()
  3077.         end)
  3078.         if length and isNumber(length) then
  3079.             wait(length)
  3080.         else
  3081.             wait(10)
  3082.         end
  3083.         if LnotifyCount == notifyCount then
  3084.             if closepressed == false and notificationPinned == false then
  3085.                 pinNotification:Disconnect()
  3086.                 Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil)
  3087.             end
  3088.             notifyCount = 0
  3089.         end
  3090.     end)
  3091. end
  3092.  
  3093. local lastMessage = nil
  3094. local lastLabel = nil
  3095. local dupeCount = 1
  3096. function CreateLabel(Name, Text)
  3097.     if lastMessage == Name..Text then
  3098.         dupeCount = dupeCount+1
  3099.         lastLabel.Text = Time()..' - ['..Name..']: '..Text..' (x'..dupeCount..')'
  3100.     else
  3101.         if dupeCount > 1 then dupeCount = 1 end
  3102.         if #scroll_2:GetChildren() >= 2546 then
  3103.             scroll_2:ClearAllChildren()
  3104.         end
  3105.         local alls = 0
  3106.         for i,v in pairs(scroll_2:GetChildren()) do
  3107.             if v then
  3108.                 alls = v.Size.Y.Offset + alls
  3109.             end
  3110.             if not v then
  3111.                 alls = 0
  3112.             end
  3113.         end
  3114.         local tl = Instance.new('TextLabel')
  3115.         lastMessage = Name..Text
  3116.         lastLabel = tl
  3117.         tl.Name = Name
  3118.         tl.Parent = scroll_2
  3119.         tl.ZIndex = 10
  3120.         tl.Text = Time().." - ["..Name.."]: "..Text
  3121.         tl.Size = UDim2.new(0,322,0,84)
  3122.         tl.BackgroundTransparency = 1
  3123.         tl.BorderSizePixel = 0
  3124.         tl.Font = "SourceSans"
  3125.         tl.Position = UDim2.new(-1,0,0,alls)
  3126.         tl.TextTransparency = 1
  3127.         tl.TextScaled = false
  3128.         tl.TextSize = 14
  3129.         tl.TextWrapped = true
  3130.         tl.TextXAlignment = "Left"
  3131.         tl.TextYAlignment = "Top"
  3132.         tl.TextColor3 = currentText1
  3133.         tl.Size = UDim2.new(0,322,0,tl.TextBounds.Y)
  3134.         table.insert(text1,tl)
  3135.         scroll_2.CanvasSize = UDim2.new(0,0,0,alls+tl.TextBounds.Y)
  3136.         scroll_2.CanvasPosition = Vector2.new(0,scroll_2.CanvasPosition.Y+tl.TextBounds.Y)
  3137.         tl:TweenPosition(UDim2.new(0,3,0,alls), 'In', 'Quint', 0.5)
  3138.         for i = 0,50 do wait(0.05)
  3139.             tl.TextTransparency = tl.TextTransparency - 0.05
  3140.         end
  3141.         tl.TextTransparency = 0
  3142.     end
  3143. end
  3144.  
  3145. function CreateJoinLabel(plr,ID)
  3146.     if #scroll_3:GetChildren() >= 2546 then
  3147.         scroll_3:ClearAllChildren()
  3148.     end
  3149.     local infoFrame = Instance.new("Frame")
  3150.     local info1 = Instance.new("TextLabel")
  3151.     local info2 = Instance.new("TextLabel")
  3152.     local ImageLabel_3 = Instance.new("ImageLabel")
  3153.     infoFrame.Name = randomString()
  3154.     infoFrame.Parent = scroll_3
  3155.     infoFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  3156.     infoFrame.BackgroundTransparency = 1
  3157.     infoFrame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  3158.     infoFrame.Size = UDim2.new(1, 0, 0, 50)
  3159.     info1.Name = randomString()
  3160.     info1.Parent = infoFrame
  3161.     info1.BackgroundTransparency = 1
  3162.     info1.BorderSizePixel = 0
  3163.     info1.Position = UDim2.new(0, 45, 0, 0)
  3164.     info1.Size = UDim2.new(0, 135, 1, 0)
  3165.     info1.ZIndex = 10
  3166.     info1.Font = Enum.Font.SourceSans
  3167.     info1.FontSize = Enum.FontSize.Size14
  3168.     info1.Text = "Username: "..plr.Name.."\nJoined Server: "..Time()
  3169.     info1.TextColor3 = Color3.new(1, 1, 1)
  3170.     info1.TextWrapped = true
  3171.     info1.TextXAlignment = Enum.TextXAlignment.Left
  3172.     info2.Name = randomString()
  3173.     info2.Parent = infoFrame
  3174.     info2.BackgroundTransparency = 1
  3175.     info2.BorderSizePixel = 0
  3176.     info2.Position = UDim2.new(0, 185, 0, 0)
  3177.     info2.Size = UDim2.new(0, 140, 1, -5)
  3178.     info2.ZIndex = 10
  3179.     info2.Font = Enum.Font.SourceSans
  3180.     info2.FontSize = Enum.FontSize.Size14
  3181.     info2.Text = "User ID: "..ID.."\nAccount Age: "..plr.AccountAge.."\nJoined Roblox: Loading..."
  3182.     info2.TextColor3 = Color3.new(1, 1, 1)
  3183.     info2.TextWrapped = true
  3184.     info2.TextXAlignment = Enum.TextXAlignment.Left
  3185.     info2.TextYAlignment = Enum.TextYAlignment.Center
  3186.     ImageLabel_3.Parent = infoFrame
  3187.     ImageLabel_3.BackgroundTransparency = 1
  3188.     ImageLabel_3.BorderSizePixel = 0
  3189.     ImageLabel_3.Size = UDim2.new(0, 45, 1, 0)
  3190.     ImageLabel_3.Image = Players:GetUserThumbnailAsync(ID, Enum.ThumbnailType.AvatarThumbnail, Enum.ThumbnailSize.Size420x420)
  3191.     scroll_3.CanvasSize = UDim2.new(0, 0, 0, listlayout.AbsoluteContentSize.Y)
  3192.     scroll_3.CanvasPosition = Vector2.new(0,scroll_2.CanvasPosition.Y+infoFrame.AbsoluteSize.Y)
  3193.     wait()
  3194.     local user = game:HttpGet("https://users.roblox.com/v1/users/"..ID)
  3195.     local json = HttpService:JSONDecode(user)
  3196.     local date = json["created"]:sub(1,10)
  3197.     local splitDates = string.split(date,"-")
  3198.     info2.Text = string.gsub(info2.Text, "Loading...",splitDates[2].."/"..splitDates[3].."/"..splitDates[1])
  3199. end
  3200.  
  3201. IYMouse.KeyDown:Connect(function(Key)
  3202.     if (Key==prefix) then
  3203.         Cmdbar:CaptureFocus()
  3204.         spawn(function()
  3205.             repeat Cmdbar.Text = '' until Cmdbar.Text == ''
  3206.         end)
  3207.         maximizeHolder()
  3208.     end
  3209. end)
  3210.  
  3211. local lastMinimizeReq = 0
  3212. Holder.MouseEnter:Connect(function()
  3213.     lastMinimizeReq = 0
  3214.     maximizeHolder()
  3215. end)
  3216.  
  3217. Holder.MouseLeave:Connect(function()
  3218.     if not Cmdbar:IsFocused() then
  3219.         local reqTime = tick()
  3220.         lastMinimizeReq = reqTime
  3221.         wait(1)
  3222.         if lastMinimizeReq ~= reqTime then return end
  3223.         if not Cmdbar:IsFocused() then
  3224.             minimizeHolder()
  3225.         end
  3226.     end
  3227. end)
  3228.  
  3229. function updateColors(color,ctype)
  3230.     if ctype == shade1 then
  3231.         for i,v in pairs(shade1) do
  3232.             v.BackgroundColor3 = color
  3233.         end
  3234.         currentShade1 = color
  3235.     elseif ctype == shade2 then
  3236.         for i,v in pairs(shade2) do
  3237.             v.BackgroundColor3 = color
  3238.         end
  3239.         currentShade2 = color
  3240.     elseif ctype == shade3 then
  3241.         for i,v in pairs(shade3) do
  3242.             v.BackgroundColor3 = color
  3243.         end
  3244.         currentShade3 = color
  3245.     elseif ctype == text1 then
  3246.         for i,v in pairs(text1) do
  3247.             v.TextColor3 = color
  3248.             if v:IsA("TextBox") then
  3249.                 v.PlaceholderColor3 = color
  3250.             end
  3251.         end
  3252.         currentText1 = color
  3253.     elseif ctype == text2 then
  3254.         for i,v in pairs(text2) do
  3255.             v.TextColor3 = color
  3256.         end
  3257.         currentText2 = color
  3258.     elseif ctype == scroll then
  3259.         for i,v in pairs(scroll) do
  3260.             v.ScrollBarImageColor3 = color
  3261.         end
  3262.         currentScroll = color
  3263.     end
  3264. end
  3265.  
  3266. local colorpickerOpen = false
  3267. ColorsButton.MouseButton1Click:Connect(function()
  3268.     cache_currentShade1 = currentShade1
  3269.     cache_currentShade2 = currentShade2
  3270.     cache_currentShade3 = currentShade3
  3271.     cache_currentText1 = currentText1
  3272.     cache_currentText2 = currentText2
  3273.     cache_currentScroll = currentScroll
  3274.     if not colorpickerOpen then
  3275.         colorpickerOpen = true
  3276.         picker = game:GetObjects("rbxassetid://4908465318")[1]
  3277.         picker.Name = randomString()
  3278.         picker.Parent = PARENT
  3279.  
  3280.         local ColorPicker do
  3281.             ColorPicker = {}
  3282.  
  3283.             ColorPicker.new = function()
  3284.                 local newMt = setmetatable({},{})
  3285.  
  3286.                 local pickerGui = picker.ColorPicker
  3287.                 local pickerTopBar = pickerGui.TopBar
  3288.                 local pickerExit = pickerTopBar.Exit
  3289.                 local pickerFrame = pickerGui.Content
  3290.                 local colorSpace = pickerFrame.ColorSpaceFrame.ColorSpace
  3291.                 local colorStrip = pickerFrame.ColorStrip
  3292.                 local previewFrame = pickerFrame.Preview
  3293.                 local basicColorsFrame = pickerFrame.BasicColors
  3294.                 local customColorsFrame = pickerFrame.CustomColors
  3295.                 local defaultButton = pickerFrame.Default
  3296.                 local cancelButton = pickerFrame.Cancel
  3297.                 local shade1Button = pickerFrame.Shade1
  3298.                 local shade2Button = pickerFrame.Shade2
  3299.                 local shade3Button = pickerFrame.Shade3
  3300.                 local text1Button = pickerFrame.Text1
  3301.                 local text2Button = pickerFrame.Text2
  3302.                 local scrollButton = pickerFrame.Scroll
  3303.  
  3304.                 local colorScope = colorSpace.Scope
  3305.                 local colorArrow = pickerFrame.ArrowFrame.Arrow
  3306.  
  3307.                 local hueInput = pickerFrame.Hue.Input
  3308.                 local satInput = pickerFrame.Sat.Input
  3309.                 local valInput = pickerFrame.Val.Input
  3310.  
  3311.                 local redInput = pickerFrame.Red.Input
  3312.                 local greenInput = pickerFrame.Green.Input
  3313.                 local blueInput = pickerFrame.Blue.Input
  3314.  
  3315.                 local mouse = IYMouse
  3316.  
  3317.                 local hue,sat,val = 0,0,1
  3318.                 local red,green,blue = 1,1,1
  3319.                 local chosenColor = Color3.new(0,0,0)
  3320.  
  3321.                 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)}
  3322.                 local customColors = {}
  3323.  
  3324.                 dragGUI(picker)
  3325.  
  3326.                 local function updateColor(noupdate)
  3327.                     local relativeX,relativeY,relativeStripY = 219 - hue*219, 199 - sat*199, 199 - val*199
  3328.                     local hsvColor = Color3.fromHSV(hue,sat,val)
  3329.  
  3330.                     if noupdate == 2 or not noupdate then
  3331.                         hueInput.Text = tostring(math.ceil(359*hue))
  3332.                         satInput.Text = tostring(math.ceil(255*sat))
  3333.                         valInput.Text = tostring(math.floor(255*val))
  3334.                     end
  3335.                     if noupdate == 1 or not noupdate then
  3336.                         redInput.Text = tostring(math.floor(255*red))
  3337.                         greenInput.Text = tostring(math.floor(255*green))
  3338.                         blueInput.Text = tostring(math.floor(255*blue))
  3339.                     end
  3340.  
  3341.                     chosenColor = Color3.new(red,green,blue)
  3342.  
  3343.                     colorScope.Position = UDim2.new(0,relativeX-9,0,relativeY-9)
  3344.                     colorStrip.ImageColor3 = Color3.fromHSV(hue,sat,1)
  3345.                     colorArrow.Position = UDim2.new(0,-2,0,relativeStripY-4)
  3346.                     previewFrame.BackgroundColor3 = chosenColor
  3347.  
  3348.                     newMt.Color = chosenColor
  3349.                     if newMt.Changed then newMt:Changed(chosenColor) end
  3350.                 end
  3351.  
  3352.                 local function colorSpaceInput()
  3353.                     local relativeX = mouse.X - colorSpace.AbsolutePosition.X
  3354.                     local relativeY = mouse.Y - colorSpace.AbsolutePosition.Y
  3355.  
  3356.                     if relativeX < 0 then relativeX = 0 elseif relativeX > 219 then relativeX = 219 end
  3357.                     if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
  3358.  
  3359.                     hue = (219 - relativeX)/219
  3360.                     sat = (199 - relativeY)/199
  3361.  
  3362.                     local hsvColor = Color3.fromHSV(hue,sat,val)
  3363.                     red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  3364.  
  3365.                     updateColor()
  3366.                 end
  3367.  
  3368.                 local function colorStripInput()
  3369.                     local relativeY = mouse.Y - colorStrip.AbsolutePosition.Y
  3370.  
  3371.                     if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
  3372.  
  3373.                     val = (199 - relativeY)/199
  3374.  
  3375.                     local hsvColor = Color3.fromHSV(hue,sat,val)
  3376.                     red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  3377.  
  3378.                     updateColor()
  3379.                 end
  3380.  
  3381.                 local function hookButtons(frame,func)
  3382.                     frame.ArrowFrame.Up.InputBegan:Connect(function(input)
  3383.                         if input.UserInputType == Enum.UserInputType.MouseMovement then
  3384.                             frame.ArrowFrame.Up.BackgroundTransparency = 0.5
  3385.                         elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  3386.                             local releaseEvent,runEvent
  3387.  
  3388.                             local startTime = tick()
  3389.                             local pressing = true
  3390.                             local startNum = tonumber(frame.Text)
  3391.  
  3392.                             if not startNum then return end
  3393.  
  3394.                             releaseEvent = UserInputService.InputEnded:Connect(function(input)
  3395.                                 if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  3396.                                 releaseEvent:Disconnect()
  3397.                                 pressing = false
  3398.                             end)
  3399.  
  3400.                             startNum = startNum + 1
  3401.                             func(startNum)
  3402.                             while pressing do
  3403.                                 if tick()-startTime > 0.3 then
  3404.                                     startNum = startNum + 1
  3405.                                     func(startNum)
  3406.                                 end
  3407.                                 wait(0.1)
  3408.                             end
  3409.                         end
  3410.                     end)
  3411.  
  3412.                     frame.ArrowFrame.Up.InputEnded:Connect(function(input)
  3413.                         if input.UserInputType == Enum.UserInputType.MouseMovement then
  3414.                             frame.ArrowFrame.Up.BackgroundTransparency = 1
  3415.                         end
  3416.                     end)
  3417.  
  3418.                     frame.ArrowFrame.Down.InputBegan:Connect(function(input)
  3419.                         if input.UserInputType == Enum.UserInputType.MouseMovement then
  3420.                             frame.ArrowFrame.Down.BackgroundTransparency = 0.5
  3421.                         elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  3422.                             local releaseEvent,runEvent
  3423.  
  3424.                             local startTime = tick()
  3425.                             local pressing = true
  3426.                             local startNum = tonumber(frame.Text)
  3427.  
  3428.                             if not startNum then return end
  3429.  
  3430.                             releaseEvent = UserInputService.InputEnded:Connect(function(input)
  3431.                                 if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  3432.                                 releaseEvent:Disconnect()
  3433.                                 pressing = false
  3434.                             end)
  3435.  
  3436.                             startNum = startNum - 1
  3437.                             func(startNum)
  3438.                             while pressing do
  3439.                                 if tick()-startTime > 0.3 then
  3440.                                     startNum = startNum - 1
  3441.                                     func(startNum)
  3442.                                 end
  3443.                                 wait(0.1)
  3444.                             end
  3445.                         end
  3446.                     end)
  3447.  
  3448.                     frame.ArrowFrame.Down.InputEnded:Connect(function(input)
  3449.                         if input.UserInputType == Enum.UserInputType.MouseMovement then
  3450.                             frame.ArrowFrame.Down.BackgroundTransparency = 1
  3451.                         end
  3452.                     end)
  3453.                 end
  3454.  
  3455.                 colorSpace.InputBegan:Connect(function(input)
  3456.                     if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3457.                         local releaseEvent,mouseEvent
  3458.  
  3459.                         releaseEvent = UserInputService.InputEnded:Connect(function(input)
  3460.                             if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  3461.                             releaseEvent:Disconnect()
  3462.                             mouseEvent:Disconnect()
  3463.                         end)
  3464.  
  3465.                         mouseEvent = UserInputService.InputChanged:Connect(function(input)
  3466.                             if input.UserInputType == Enum.UserInputType.MouseMovement then
  3467.                                 colorSpaceInput()
  3468.                             end
  3469.                         end)
  3470.  
  3471.                         colorSpaceInput()
  3472.                     end
  3473.                 end)
  3474.  
  3475.                 colorStrip.InputBegan:Connect(function(input)
  3476.                     if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3477.                         local releaseEvent,mouseEvent
  3478.  
  3479.                         releaseEvent = UserInputService.InputEnded:Connect(function(input)
  3480.                             if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  3481.                             releaseEvent:Disconnect()
  3482.                             mouseEvent:Disconnect()
  3483.                         end)
  3484.  
  3485.                         mouseEvent = UserInputService.InputChanged:Connect(function(input)
  3486.                             if input.UserInputType == Enum.UserInputType.MouseMovement then
  3487.                                 colorStripInput()
  3488.                             end
  3489.                         end)
  3490.  
  3491.                         colorStripInput()
  3492.                     end
  3493.                 end)
  3494.  
  3495.                 local function updateHue(str)
  3496.                     local num = tonumber(str)
  3497.                     if num then
  3498.                         hue = math.clamp(math.floor(num),0,359)/359
  3499.                         local hsvColor = Color3.fromHSV(hue,sat,val)
  3500.                         red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  3501.                         hueInput.Text = tostring(hue*359)
  3502.                         updateColor(1)
  3503.                     end
  3504.                 end
  3505.                 hueInput.FocusLost:Connect(function() updateHue(hueInput.Text) end) hookButtons(hueInput,updateHue)
  3506.  
  3507.                 local function updateSat(str)
  3508.                     local num = tonumber(str)
  3509.                     if num then
  3510.                         sat = math.clamp(math.floor(num),0,255)/255
  3511.                         local hsvColor = Color3.fromHSV(hue,sat,val)
  3512.                         red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  3513.                         satInput.Text = tostring(sat*255)
  3514.                         updateColor(1)
  3515.                     end
  3516.                 end
  3517.                 satInput.FocusLost:Connect(function() updateSat(satInput.Text) end) hookButtons(satInput,updateSat)
  3518.  
  3519.                 local function updateVal(str)
  3520.                     local num = tonumber(str)
  3521.                     if num then
  3522.                         val = math.clamp(math.floor(num),0,255)/255
  3523.                         local hsvColor = Color3.fromHSV(hue,sat,val)
  3524.                         red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  3525.                         valInput.Text = tostring(val*255)
  3526.                         updateColor(1)
  3527.                     end
  3528.                 end
  3529.                 valInput.FocusLost:Connect(function() updateVal(valInput.Text) end) hookButtons(valInput,updateVal)
  3530.  
  3531.                 local function updateRed(str)
  3532.                     local num = tonumber(str)
  3533.                     if num then
  3534.                         red = math.clamp(math.floor(num),0,255)/255
  3535.                         local newColor = Color3.new(red,green,blue)
  3536.                         hue,sat,val = Color3.toHSV(newColor)
  3537.                         redInput.Text = tostring(red*255)
  3538.                         updateColor(2)
  3539.                     end
  3540.                 end
  3541.                 redInput.FocusLost:Connect(function() updateRed(redInput.Text) end) hookButtons(redInput,updateRed)
  3542.  
  3543.                 local function updateGreen(str)
  3544.                     local num = tonumber(str)
  3545.                     if num then
  3546.                         green = math.clamp(math.floor(num),0,255)/255
  3547.                         local newColor = Color3.new(red,green,blue)
  3548.                         hue,sat,val = Color3.toHSV(newColor)
  3549.                         greenInput.Text = tostring(green*255)
  3550.                         updateColor(2)
  3551.                     end
  3552.                 end
  3553.                 greenInput.FocusLost:Connect(function() updateGreen(greenInput.Text) end) hookButtons(greenInput,updateGreen)
  3554.  
  3555.                 local function updateBlue(str)
  3556.                     local num = tonumber(str)
  3557.                     if num then
  3558.                         blue = math.clamp(math.floor(num),0,255)/255
  3559.                         local newColor = Color3.new(red,green,blue)
  3560.                         hue,sat,val = Color3.toHSV(newColor)
  3561.                         blueInput.Text = tostring(blue*255)
  3562.                         updateColor(2)
  3563.                     end
  3564.                 end
  3565.                 blueInput.FocusLost:Connect(function() updateBlue(blueInput.Text) end) hookButtons(blueInput,updateBlue)
  3566.  
  3567.                 local colorChoice = Instance.new("TextButton")
  3568.                 colorChoice.Name = "Choice"
  3569.                 colorChoice.Size = UDim2.new(0,25,0,18)
  3570.                 colorChoice.BorderColor3 = Color3.new(96/255,96/255,96/255)
  3571.                 colorChoice.Text = ""
  3572.                 colorChoice.AutoButtonColor = false
  3573.                 colorChoice.ZIndex = 10
  3574.  
  3575.                 local row = 0
  3576.                 local column = 0
  3577.                 for i,v in pairs(basicColors) do
  3578.                     local newColor = colorChoice:Clone()
  3579.                     newColor.BackgroundColor3 = v
  3580.                     newColor.Position = UDim2.new(0,1 + 30*column,0,21 + 23*row)
  3581.  
  3582.                     newColor.MouseButton1Click:Connect(function()
  3583.                         red,green,blue = v.r,v.g,v.b
  3584.                         local newColor = Color3.new(red,green,blue)
  3585.                         hue,sat,val = Color3.toHSV(newColor)
  3586.                         updateColor()
  3587.                     end)   
  3588.  
  3589.                     newColor.Parent = basicColorsFrame
  3590.                     column = column + 1
  3591.                     if column == 6 then row = row + 1 column = 0 end
  3592.                 end
  3593.  
  3594.                 row = 0
  3595.                 column = 0
  3596.                 for i = 1,12 do
  3597.                     local color = customColors[i] or Color3.new(0,0,0)
  3598.                     local newColor = colorChoice:Clone()
  3599.                     newColor.BackgroundColor3 = color
  3600.                     newColor.Position = UDim2.new(0,1 + 30*column,0,20 + 23*row)
  3601.  
  3602.                     newColor.MouseButton1Click:Connect(function()
  3603.                         local curColor = customColors[i] or Color3.new(0,0,0)
  3604.                         red,green,blue = curColor.r,curColor.g,curColor.b
  3605.                         hue,sat,val = Color3.toHSV(curColor)
  3606.                         updateColor()
  3607.                     end)
  3608.  
  3609.                     newColor.MouseButton2Click:Connect(function()
  3610.                         customColors[i] = chosenColor
  3611.                         newColor.BackgroundColor3 = chosenColor
  3612.                     end)
  3613.  
  3614.                     newColor.Parent = customColorsFrame
  3615.                     column = column + 1
  3616.                     if column == 6 then row = row + 1 column = 0 end
  3617.                 end
  3618.  
  3619.                 shade1Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade1) end end)
  3620.                 shade1Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade1Button.BackgroundTransparency = 0.4 end end)
  3621.                 shade1Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade1Button.BackgroundTransparency = 0 end end)
  3622.  
  3623.                 shade2Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade2) end end)
  3624.                 shade2Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade2Button.BackgroundTransparency = 0.4 end end)
  3625.                 shade2Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade2Button.BackgroundTransparency = 0 end end)
  3626.  
  3627.                 shade3Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade3) end end)
  3628.                 shade3Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade3Button.BackgroundTransparency = 0.4 end end)
  3629.                 shade3Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade3Button.BackgroundTransparency = 0 end end)
  3630.  
  3631.                 text1Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,text1) end end)
  3632.                 text1Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text1Button.BackgroundTransparency = 0.4 end end)
  3633.                 text1Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text1Button.BackgroundTransparency = 0 end end)
  3634.  
  3635.                 text2Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,text2) end end)
  3636.                 text2Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text2Button.BackgroundTransparency = 0.4 end end)
  3637.                 text2Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text2Button.BackgroundTransparency = 0 end end)
  3638.  
  3639.                 scrollButton.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,scroll) end end)
  3640.                 scrollButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then scrollButton.BackgroundTransparency = 0.4 end end)
  3641.                 scrollButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then scrollButton.BackgroundTransparency = 0 end end)
  3642.  
  3643.                 cancelButton.MouseButton1Click:Connect(function() if newMt.Cancel then newMt:Cancel() end end)
  3644.                 cancelButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0.4 end end)
  3645.                 cancelButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0 end end)
  3646.  
  3647.                 defaultButton.MouseButton1Click:Connect(function() if newMt.Default then newMt:Default() end end)
  3648.                 defaultButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0.4 end end)
  3649.                 defaultButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0 end end)
  3650.  
  3651.                 pickerExit.MouseButton1Click:Connect(function()
  3652.                     picker:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil)
  3653.                 end)
  3654.  
  3655.                 updateColor()
  3656.  
  3657.                 newMt.SetColor = function(self,color)
  3658.                     red,green,blue = color.r,color.g,color.b
  3659.                     hue,sat,val = Color3.toHSV(color)
  3660.                     updateColor()
  3661.                 end
  3662.  
  3663.                 return newMt
  3664.             end
  3665.         end
  3666.  
  3667.         picker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil)
  3668.  
  3669.         local Npicker = ColorPicker.new()
  3670.         Npicker.Confirm = function(self,color,ctype) updateColors(color,ctype) wait() updatesaves() end
  3671.         Npicker.Cancel = function(self)
  3672.             updateColors(cache_currentShade1,shade1)
  3673.             updateColors(cache_currentShade2,shade2)
  3674.             updateColors(cache_currentShade3,shade3)
  3675.             updateColors(cache_currentText1,text1)
  3676.             updateColors(cache_currentText2,text2)
  3677.             updateColors(cache_currentScroll,scroll)
  3678.             wait()
  3679.             updatesaves()
  3680.         end
  3681.         Npicker.Default = function(self)
  3682.             updateColors(Color3.fromRGB(36, 36, 37),shade1)
  3683.             updateColors(Color3.fromRGB(46, 46, 47),shade2)
  3684.             updateColors(Color3.fromRGB(78, 78, 79),shade3)
  3685.             updateColors(Color3.new(1, 1, 1),text1)
  3686.             updateColors(Color3.new(0, 0, 0),text2)
  3687.             updateColors(Color3.fromRGB(78,78,79),scroll)
  3688.             wait()
  3689.             updatesaves()
  3690.         end
  3691.     else
  3692.         picker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil)
  3693.     end
  3694. end)
  3695.  
  3696.  
  3697. SettingsButton.MouseButton1Click:Connect(function()
  3698.     if SettingsOpen == false then SettingsOpen = true
  3699.         Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.5, true, nil)
  3700.         CMDsF.Visible = false
  3701.     else SettingsOpen = false
  3702.         CMDsF.Visible = true
  3703.         Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.5, true, nil)
  3704.     end
  3705. end)
  3706.  
  3707. On.MouseButton1Click:Connect(function()
  3708.     if isHidden == false then
  3709.         if StayOpen == false then
  3710.             StayOpen = true
  3711.             On.BackgroundTransparency = 0
  3712.         else
  3713.             StayOpen = false
  3714.             On.BackgroundTransparency = 1
  3715.         end
  3716.         updatesaves()
  3717.     end
  3718. end)
  3719.  
  3720. Clear.MouseButton1Down:Connect(function()
  3721.     for _, child in pairs(scroll_2:GetChildren()) do
  3722.         child:Destroy()
  3723.     end
  3724.     scroll_2.CanvasSize = UDim2.new(0, 0, 0, 10)
  3725. end)
  3726.  
  3727. Clear_2.MouseButton1Down:Connect(function()
  3728.     for _, child in pairs(scroll_3:GetChildren()) do
  3729.         child:Destroy()
  3730.     end
  3731.     scroll_3.CanvasSize = UDim2.new(0, 0, 0, 10)
  3732. end)
  3733.  
  3734. Toggle.MouseButton1Down:Connect(function()
  3735.     if logsEnabled then
  3736.         logsEnabled = false
  3737.         Toggle.Text = 'Disabled'
  3738.         updatesaves()
  3739.     else
  3740.         logsEnabled = true
  3741.         Toggle.Text = 'Enabled'
  3742.         updatesaves()
  3743.     end
  3744. end)
  3745.  
  3746. Toggle_2.MouseButton1Down:Connect(function()
  3747.     if jLogsEnabled then
  3748.         jLogsEnabled = false
  3749.         Toggle_2.Text = 'Disabled'
  3750.         updatesaves()
  3751.     else
  3752.         jLogsEnabled = true
  3753.         Toggle_2.Text = 'Enabled'
  3754.         updatesaves()
  3755.     end
  3756. end)
  3757.  
  3758. selectChat.MouseButton1Down:Connect(function()
  3759.     join.Visible = false
  3760.     chat.Visible = true
  3761.     table.remove(shade3,table.find(shade3,selectChat))
  3762.     table.remove(shade2,table.find(shade2,selectJoin))
  3763.     table.insert(shade2,selectChat)
  3764.     table.insert(shade3,selectJoin)
  3765.     selectJoin.BackgroundColor3 = currentShade3
  3766.     selectChat.BackgroundColor3 = currentShade2
  3767. end)
  3768.  
  3769. selectJoin.MouseButton1Down:Connect(function()
  3770.     chat.Visible = false
  3771.     join.Visible = true
  3772.     table.remove(shade3,table.find(shade3,selectJoin))
  3773.     table.remove(shade2,table.find(shade2,selectChat))
  3774.     table.insert(shade2,selectJoin)
  3775.     table.insert(shade3,selectChat)
  3776.     selectChat.BackgroundColor3 = currentShade3
  3777.     selectJoin.BackgroundColor3 = currentShade2
  3778. end)
  3779.  
  3780. if not writefileExploit() then
  3781.     notify('Saves','Your exploit does not support read/write file. Your settings will not save.')
  3782. end
  3783.  
  3784. ChatLog = function(plr)
  3785.     plr.Chatted:Connect(function(Message)
  3786.         if logsEnabled == true then
  3787.             if game.ReplicatedStorage:FindFirstChild("Season") and game.ReplicatedStorage.Season:FindFirstChild("Players") and game.ReplicatedStorage.Season.Players:FindFirstChild(plr.Name) then
  3788.                 CreateLabel(plr.Name.." | "..game.ReplicatedStorage.Season.Players[plr.Name].Value,Message)
  3789.             else
  3790.                 CreateLabel(plr.Name,Message)
  3791.             end
  3792.         end
  3793.     end)
  3794. end
  3795.  
  3796. JoinLog = function(plr)
  3797.     if jLogsEnabled == true then
  3798.         CreateJoinLabel(plr,plr.UserId)
  3799.     end
  3800. end
  3801.  
  3802. local CleanFileName = function(str)
  3803.     local gsub = string.gsub
  3804.     return gsub(str, "[*\\?:<>|]+", "")
  3805. end
  3806. if writefileExploit() then
  3807.     makefolder(CleanFileName(MarketplaceService:GetProductInfo(PlaceId).Name))
  3808.    
  3809. end
  3810. SaveChatlogs.MouseButton1Down:Connect(function()
  3811.     if writefileExploit() then
  3812.         if #scroll_2:GetChildren() > 0 then
  3813.             notify("Loading",'Hold on a sec')
  3814.             local placeName = CleanFileName(MarketplaceService:GetProductInfo(PlaceId).Name)
  3815.             local writelogs = '-- Infinite Yield Chat logs for "'..placeName..'"\n'
  3816.             for _, child in pairs(scroll_2:GetChildren()) do
  3817.                 writelogs = writelogs..'\n'..child.Text
  3818.             end
  3819.             local writelogsFile = tostring(writelogs)
  3820.             local fileext = 0
  3821.             local function nameFile()
  3822.                 local file
  3823.                 pcall(function() file = readfile(placeName..' Chat Logs ('..fileext..').txt') end)
  3824.                 if file then
  3825.                     fileext = fileext+1
  3826.                     nameFile()
  3827.                 else
  3828.                     writefileCooldown(placeName.."/"..placeName..' Chat Logs ('..fileext..').txt', writelogsFile)
  3829.                 end
  3830.             end
  3831.             nameFile()
  3832.             notify('Chat Logs','Saved chat logs to the workspace folder within your exploit folder.')
  3833.         end
  3834.     else
  3835.         notify('Chat Logs','Your exploit does not support write file. You cannot save chat logs.')
  3836.     end
  3837. end)
  3838.  
  3839. for _, plr in pairs(Players:GetChildren()) do
  3840.     if plr.ClassName == "Player" then
  3841.         ChatLog(plr)
  3842.     end
  3843. end
  3844.  
  3845. Players.PlayerRemoving:Connect(function(player)
  3846.     if ESPenabled or CHMSenabled or COREGUI:FindFirstChild(player.Name..'_LC') then
  3847.         for i,v in pairs(COREGUI:GetChildren()) do
  3848.             if v.Name == player.Name..'_ESP' or v.Name == player.Name..'_LC' or v.Name == player.Name..'_CHMS' then
  3849.                 v:Destroy()
  3850.             end
  3851.         end
  3852.     end
  3853.     if viewing ~= nil and player == viewing then
  3854.         workspace.CurrentCamera.CameraSubject = Players.LocalPlayer.Character
  3855.         viewing = nil
  3856.         if viewDied then
  3857.             viewDied:Disconnect()
  3858.             viewChanged:Disconnect()
  3859.         end
  3860.         notify('Spectate','View turned off (player left)')
  3861.     end
  3862. end)
  3863.  
  3864. Exit.MouseButton1Down:Connect(function()
  3865.     logs:TweenPosition(UDim2.new(0, 0, 1, 10), "InOut", "Quart", 0.3, true, nil)
  3866. end)
  3867.  
  3868. Hide.MouseButton1Down:Connect(function()
  3869.     if logs.Position ~= UDim2.new(0, 0, 1, -20) then
  3870.         logs:TweenPosition(UDim2.new(0, 0, 1, -20), "InOut", "Quart", 0.3, true, nil)
  3871.     else
  3872.         logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  3873.     end
  3874. end)
  3875.  
  3876. EventBind.MouseButton1Click:Connect(function()
  3877.     eventEditor.Frame:TweenPosition(UDim2.new(0.5,-175,0.5,-101), "InOut", "Quart", 0.5, true, nil)
  3878. end)
  3879.  
  3880. Keybinds.MouseButton1Click:Connect(function()
  3881.     KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  3882.     wait(0.5)
  3883.     SettingsHolder.Visible = false
  3884. end)
  3885.  
  3886. Close.MouseButton1Click:Connect(function()
  3887.     SettingsHolder.Visible = true
  3888.     KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  3889. end)
  3890.  
  3891. Keybinds.MouseButton1Click:Connect(function()
  3892.     KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  3893.     wait(0.5)
  3894.     SettingsHolder.Visible = false
  3895. end)
  3896.  
  3897. Add.MouseButton1Click:Connect(function()
  3898.     KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0, 260), "InOut", "Quart", 0.5, true, nil)
  3899. end)
  3900.  
  3901. Delete.MouseButton1Click:Connect(function()
  3902.     binds = {}
  3903.     refreshbinds()
  3904.     updatesaves()
  3905.     notify('Keybinds Updated','Removed all keybinds')
  3906. end)
  3907.  
  3908. Close_2.MouseButton1Click:Connect(function()
  3909.     SettingsHolder.Visible = true
  3910.     AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  3911. end)
  3912.  
  3913. Aliases.MouseButton1Click:Connect(function()
  3914.     AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  3915.     wait(0.5)
  3916.     SettingsHolder.Visible = false
  3917. end)
  3918.  
  3919. Close_3.MouseButton1Click:Connect(function()
  3920.     SettingsHolder.Visible = true
  3921.     PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  3922. end)
  3923.  
  3924. Positions.MouseButton1Click:Connect(function()
  3925.     PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  3926.     wait(0.5)
  3927.     SettingsHolder.Visible = false
  3928. end)
  3929.  
  3930. local selectionBox = Instance.new("SelectionBox")
  3931. selectionBox.Name = randomString()
  3932. selectionBox.Color3 = Color3.new(255,255,255)
  3933. selectionBox.Adornee = nil
  3934. selectionBox.Parent = PARENT
  3935.  
  3936. local selected = Instance.new("SelectionBox")
  3937. selected.Name = randomString()
  3938. selected.Color3 = Color3.new(0,166,0)
  3939. selected.Adornee = nil
  3940. selected.Parent = PARENT
  3941.  
  3942. local ActivateHighlight = nil
  3943. local ClickSelect = nil
  3944. function selectPart()
  3945.     ToPartFrame:TweenPosition(UDim2.new(0.5, -180, 0, 335), "InOut", "Quart", 0.5, true, nil)
  3946.     local function HighlightPart()
  3947.         if selected.Adornee ~= IYMouse.Target then
  3948.             selectionBox.Adornee = IYMouse.Target
  3949.         else
  3950.             selectionBox.Adornee = nil
  3951.         end
  3952.     end
  3953.     ActivateHighlight = IYMouse.Move:Connect(HighlightPart)
  3954.     local function SelectPart()
  3955.         if IYMouse.Target ~= nil then
  3956.             selected.Adornee = IYMouse.Target
  3957.             Path.Text = getHierarchy(IYMouse.Target)
  3958.         end
  3959.     end
  3960.     ClickSelect = IYMouse.Button1Down:Connect(SelectPart)
  3961. end
  3962.  
  3963. Part.MouseButton1Click:Connect(function()
  3964.     selectPart()
  3965. end)
  3966.  
  3967. Exit_4.MouseButton1Click:Connect(function()
  3968.     ToPartFrame:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  3969.     if ActivateHighlight then
  3970.         ActivateHighlight:Disconnect()
  3971.     end
  3972.     if ClickSelect then
  3973.         ClickSelect:Disconnect()
  3974.     end
  3975.     selectionBox.Adornee = nil
  3976.     selected.Adornee = nil
  3977.     Path.Text = ""
  3978. end)
  3979.  
  3980. CopyPath.MouseButton1Click:Connect(function()
  3981.     if Path.Text ~= "" then
  3982.         toClipboard(Path.Text)
  3983.     else
  3984.         notify('Copy Path','Select a part to copy its path')
  3985.     end
  3986. end)
  3987.  
  3988. ChoosePart.MouseButton1Click:Connect(function()
  3989.     if Path.Text ~= "" then
  3990.         local tpNameExt = ''
  3991.         local function handleWpNames()
  3992.             local FoundDupe = false
  3993.             for i,v in pairs(pWayPoints) do
  3994.                 if v.NAME:lower() == selected.Adornee.Name:lower()..tpNameExt then
  3995.                     FoundDupe = true
  3996.                 end
  3997.             end
  3998.             if not FoundDupe then
  3999.                 notify('Modified Waypoints',"Created waypoint: "..selected.Adornee.Name..tpNameExt)
  4000.                 pWayPoints[#pWayPoints + 1] = {NAME = selected.Adornee.Name..tpNameExt, COORD = {selected.Adornee}}
  4001.             else
  4002.                 if isNumber(tpNameExt) then
  4003.                     tpNameExt = tpNameExt+1
  4004.                 else
  4005.                     tpNameExt = 1
  4006.                 end
  4007.                 handleWpNames()
  4008.             end
  4009.         end
  4010.         handleWpNames()
  4011.         refreshwaypoints()
  4012.     else
  4013.         notify('Part Selection','Select a part first')
  4014.     end
  4015. end)
  4016.  
  4017. cmds={}
  4018. customAlias = {}
  4019. Delete_3.MouseButton1Click:Connect(function()
  4020.     customAlias = {}
  4021.     aliases = {}
  4022.     notify('Aliases Modified','Removed all aliases')
  4023.     updatesaves()
  4024.     refreshaliases()
  4025. end)
  4026.  
  4027. PrefixBox:GetPropertyChangedSignal("Text"):Connect(function()
  4028.     prefix = PrefixBox.Text
  4029.     Cmdbar.PlaceholderText = "Command Bar ("..prefix..")"
  4030.     updatesaves()
  4031. end)
  4032.  
  4033. function CamViewport()
  4034.     if workspace.CurrentCamera then
  4035.         return workspace.CurrentCamera.ViewportSize.X
  4036.     end
  4037. end
  4038.  
  4039. function UpdateToViewport()
  4040.     if Holder.Position.X.Offset < -CamViewport() then
  4041.         Holder:TweenPosition(UDim2.new(1, -CamViewport(), Holder.Position.Y.Scale, Holder.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
  4042.         Notification:TweenPosition(UDim2.new(1, -CamViewport() + 250, Notification.Position.Y.Scale, Notification.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
  4043.     end
  4044. end
  4045. CameraChanged = workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):Connect(UpdateToViewport)
  4046.  
  4047. function updateCamera(child, parent)
  4048.     if parent ~= workspace then
  4049.         CamMoved:Disconnect()
  4050.         CameraChanged:Disconnect()
  4051.         repeat wait() until workspace.CurrentCamera
  4052.         CameraChanged = workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):Connect(UpdateToViewport)
  4053.         CamMoved = workspace.CurrentCamera.AncestryChanged:Connect(updateCamera)
  4054.     end
  4055. end
  4056. CamMoved = workspace.CurrentCamera.AncestryChanged:Connect(updateCamera)
  4057.  
  4058. function dragMain(dragpoint,gui)
  4059.     task.spawn(function()
  4060.         local dragging
  4061.         local dragInput
  4062.         local dragStart = Vector3.new(0,0,0)
  4063.         local startPos
  4064.         local function update(input)
  4065.             local pos = -250
  4066.             local delta = input.Position - dragStart
  4067.             if startPos.X.Offset + delta.X <= -500 then
  4068.                 local Position = UDim2.new(1, -250, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  4069.                 TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position}):Play()
  4070.                 pos = 250
  4071.             else
  4072.                 local Position = UDim2.new(1, -500, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  4073.                 TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position}):Play()
  4074.                 pos = -250
  4075.             end
  4076.             if startPos.X.Offset + delta.X <= -250 and -CamViewport() <= startPos.X.Offset + delta.X then
  4077.                 local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, gui.Position.Y.Scale, gui.Position.Y.Offset)
  4078.                 TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  4079.                 local Position2 = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X + pos, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  4080.                 TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position2}):Play()
  4081.             elseif startPos.X.Offset + delta.X > -500 then
  4082.                 local Position = UDim2.new(1, -250, gui.Position.Y.Scale, gui.Position.Y.Offset)
  4083.                 TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  4084.             elseif -CamViewport() > startPos.X.Offset + delta.X then
  4085.                 gui:TweenPosition(UDim2.new(1, -CamViewport(), gui.Position.Y.Scale, gui.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
  4086.                 local Position = UDim2.new(1, -CamViewport(), gui.Position.Y.Scale, gui.Position.Y.Offset)
  4087.                 TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  4088.                 local Position2 = UDim2.new(1, -CamViewport() + 250, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  4089.                 TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position2}):Play()
  4090.             end
  4091.         end
  4092.         dragpoint.InputBegan:Connect(function(input)
  4093.             if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  4094.                 dragging = true
  4095.                 dragStart = input.Position
  4096.                 startPos = gui.Position
  4097.  
  4098.                 input.Changed:Connect(function()
  4099.                     if input.UserInputState == Enum.UserInputState.End then
  4100.                         dragging = false
  4101.                     end
  4102.                 end)
  4103.             end
  4104.         end)
  4105.         dragpoint.InputChanged:Connect(function(input)
  4106.             if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  4107.                 dragInput = input
  4108.             end
  4109.         end)
  4110.         UserInputService.InputChanged:Connect(function(input)
  4111.             if input == dragInput and dragging then
  4112.                 update(input)
  4113.             end
  4114.         end)
  4115.     end)
  4116. end
  4117.  
  4118. dragMain(Title,Holder)
  4119.  
  4120. Match = function(name,str)
  4121.     str = str:gsub("%W", "%%%1")
  4122.     return name:lower():find(str:lower()) and true
  4123. end
  4124.  
  4125. local canvasPos = Vector2.new(0,0)
  4126. local topCommand = nil
  4127. IndexContents = function(str,bool,cmdbar,Ianim)
  4128.     CMDsF.CanvasPosition = Vector2.new(0,0)
  4129.     local SizeY = 0
  4130.     local indexnum = 0
  4131.     local frame = CMDsF
  4132.     topCommand = nil
  4133.     local chunks = {}
  4134.     if str:sub(#str,#str) == "\\" then str = "" end
  4135.     for w in string.gmatch(str,"[^\\]+") do
  4136.         table.insert(chunks,w)
  4137.     end
  4138.     if #chunks > 0 then str = chunks[#chunks] end
  4139.     if str:sub(1,1) == "!" then str = str:sub(2) end
  4140.     for i,v in next, frame:GetChildren() do
  4141.         if v:IsA("TextButton") then
  4142.             if bool then
  4143.                 if Match(v.Text,str) then
  4144.                     indexnum = indexnum + 1
  4145.                     v.Visible = true
  4146.                     if topCommand == nil then
  4147.                         topCommand = v.Text
  4148.                     end
  4149.                 else
  4150.                     v.Visible = false
  4151.                 end
  4152.             else
  4153.                 v.Visible = true
  4154.                 if topCommand == nil then
  4155.                     topCommand = v.Text
  4156.                 end
  4157.             end
  4158.         end
  4159.     end
  4160.     frame.CanvasSize = UDim2.new(0,0,0,cmdListLayout.AbsoluteContentSize.Y)
  4161.     if not Ianim then
  4162.         if indexnum == 0 or string.find(str, " ") then
  4163.             if not cmdbar then
  4164.                 minimizeHolder()
  4165.             elseif cmdbar then
  4166.                 cmdbarHolder()
  4167.             end
  4168.         else
  4169.             maximizeHolder()
  4170.         end
  4171.     else
  4172.         minimizeHolder()
  4173.     end
  4174. end
  4175.  
  4176. PlayerGui = Players.LocalPlayer:FindFirstChildOfClass("PlayerGui")
  4177. local chatbox
  4178. task.spawn(function()
  4179.     local success, result = pcall(function() chatbox = game.WaitForChild(PlayerGui, "Chat").Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar end)
  4180.     if success then
  4181.         local function chatboxFocused()
  4182.             canvasPos = CMDsF.CanvasPosition
  4183.         end
  4184.         local chatboxFocusedC = chatbox.Focused:Connect(chatboxFocused)
  4185.  
  4186.         local function Index()
  4187.             if chatbox.Text:lower():sub(1,1) == prefix then
  4188.                 if SettingsOpen == true then
  4189.                     wait(0.2)
  4190.                     CMDsF.Visible = true
  4191.                     Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil)
  4192.                 end
  4193.                 IndexContents(PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(2),true)
  4194.             else
  4195.                 minimizeHolder()
  4196.                 if SettingsOpen == true then
  4197.                     wait(0.2)
  4198.                     Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.2, true, nil)
  4199.                     CMDsF.Visible = false
  4200.                 end
  4201.             end
  4202.         end
  4203.         local chatboxFunc = chatbox:GetPropertyChangedSignal("Text"):Connect(Index)
  4204.  
  4205.         local function chatboxFocusLost(enterpressed)
  4206.             if not enterpressed or chatbox.Text:lower():sub(1,1) ~= prefix then
  4207.                 IndexContents('',true)
  4208.             end
  4209.             CMDsF.CanvasPosition = canvasPos
  4210.             minimizeHolder()
  4211.         end
  4212.         local chatboxFocusLostC = chatbox.FocusLost:Connect(chatboxFocusLost)
  4213.  
  4214.         PlayerGui:WaitForChild("Chat").Frame.ChatBarParentFrame.ChildAdded:Connect(function(newbar)
  4215.             wait()
  4216.             if newbar:FindFirstChild('BoxFrame') then
  4217.                 chatbox = PlayerGui:WaitForChild("Chat").Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar
  4218.                 if chatboxFocusedC then chatboxFocusedC:Disconnect() end
  4219.                 chatboxFocusedC = chatbox.Focused:Connect(chatboxFocused)
  4220.                 if chatboxFunc then chatboxFunc:Disconnect() end
  4221.                 chatboxFunc = chatbox:GetPropertyChangedSignal("Text"):Connect(Index)
  4222.                 if chatboxFocusLostC then chatboxFocusLostC:Disconnect() end
  4223.                 chatboxFocusLostC = chatbox.FocusLost:Connect(chatboxFocusLost)
  4224.             end
  4225.         end)
  4226.         --else
  4227.         --print('Custom chat detected. Will not provide suggestions for commands typed in the chat.')
  4228.     end
  4229. end)
  4230.  
  4231. function autoComplete(str,curText)
  4232.     local endingChar = {"[", "/", "(", " "}
  4233.     local stop = 0
  4234.     for i=1,#str do
  4235.         local c = str:sub(i,i)
  4236.         if table.find(endingChar, c) then
  4237.             stop = i
  4238.             break
  4239.         end
  4240.     end
  4241.     curText = curText or Cmdbar.Text
  4242.     local subPos = 0
  4243.     local pos = 1
  4244.     local findRes = string.find(curText,"\\",pos)
  4245.     while findRes do
  4246.         subPos = findRes
  4247.         pos = findRes+1
  4248.         findRes = string.find(curText,"\\",pos)
  4249.     end
  4250.     if curText:sub(subPos+1,subPos+1) == "!" then subPos = subPos + 1 end
  4251.     Cmdbar.Text = curText:sub(1,subPos) .. str:sub(1, stop - 1)..' '
  4252.     wait()
  4253.     Cmdbar.Text = Cmdbar.Text:gsub( '\t', '' )
  4254.     Cmdbar.CursorPosition = #Cmdbar.Text+1--1020
  4255. end
  4256.  
  4257. CMDs = {}
  4258. CMDs[#CMDs + 1] = {NAME = 'discord / support / help', DESC = 'Invite to the Infinite Yield support server.'}
  4259. CMDs[#CMDs + 1] = {NAME = 'console', DESC = 'Loads old Roblox console'}
  4260. CMDs[#CMDs + 1] = {NAME = 'explorer / dex', DESC = 'Opens DEX by Moon'}
  4261. CMDs[#CMDs + 1] = {NAME = 'olddex / odex', DESC = 'Opens Old DEX by Moon'}
  4262. CMDs[#CMDs + 1] = {NAME = 'remotespy / rspy', DESC = 'Opens Simple Spy V3'}
  4263. CMDs[#CMDs + 1] = {NAME = 'audiologger / alogger', DESC = 'Opens Edges audio logger'}
  4264. CMDs[#CMDs + 1] = {NAME = 'serverinfo / info', DESC = 'Gives you info about the server'}
  4265. CMDs[#CMDs + 1] = {NAME = 'jobid', DESC = 'Copies the games JobId to your clipboard'}
  4266. CMDs[#CMDs + 1] = {NAME = 'notifyjobid', DESC = 'Notifies you the games JobId'}
  4267. CMDs[#CMDs + 1] = {NAME = 'rejoin / rj', DESC = 'Makes you rejoin the game'}
  4268. CMDs[#CMDs + 1] = {NAME = 'autorejoin / autorj', DESC = 'Automatically rejoins the server if you get kicked/disconnected'}
  4269. CMDs[#CMDs + 1] = {NAME = 'serverhop / shop', DESC = 'Teleports you to a different server'}
  4270. CMDs[#CMDs + 1] = {NAME = 'joinplayer [username / ID] [place ID]', DESC = 'Joins a specific players server'}
  4271. CMDs[#CMDs + 1] = {NAME = 'gameteleport / gametp [place ID]', DESC = 'Joins a game by ID'}
  4272. CMDs[#CMDs + 1] = {NAME = 'antiidle / antiafk', DESC = 'Prevents the game from kicking you for being idle/afk'}
  4273. CMDs[#CMDs + 1] = {NAME = 'datalimit [num]', DESC = 'Set outgoing KBPS limit'}
  4274. CMDs[#CMDs + 1] = {NAME = 'replicationlag / backtrack [num]', DESC = 'Set IncomingReplicationLag'}
  4275. CMDs[#CMDs + 1] = {NAME = 'creatorid / creator', DESC = 'Notifies you the creators ID'}
  4276. CMDs[#CMDs + 1] = {NAME = 'copycreatorid / copycreator', DESC = 'Copies the creators ID to your clipboard'}
  4277. CMDs[#CMDs + 1] = {NAME = 'setcreatorid / setcreator', DESC = 'Sets your userid to the creators ID'}
  4278. CMDs[#CMDs + 1] = {NAME = 'noprompts', DESC = 'Prevents the game from showing you purchase/premium prompts'}
  4279. CMDs[#CMDs + 1] = {NAME = 'showprompts', DESC = 'Allows the game to show purchase/premium prompts again'}
  4280. CMDs[#CMDs + 1] = {NAME = 'enable [inventory/playerlist/chat/reset/emotes/all]', DESC = 'Toggles visibility of coregui items'}
  4281. CMDs[#CMDs + 1] = {NAME = 'disable [inventory/playerlist/chat/reset/emotes/all]', DESC = 'Toggles visibility of coregui items'}
  4282. CMDs[#CMDs + 1] = {NAME = 'showguis', DESC = 'Shows any invisible GUIs'}
  4283. CMDs[#CMDs + 1] = {NAME = 'unshowguis', DESC = 'Undoes showguis'}
  4284. CMDs[#CMDs + 1] = {NAME = 'hideguis', DESC = 'Hides any GUIs in PlayerGui'}
  4285. CMDs[#CMDs + 1] = {NAME = 'unhideguis', DESC = 'Undoes hideguis'}
  4286. CMDs[#CMDs + 1] = {NAME = 'guidelete', DESC = 'Enables backspace to delete GUI'}
  4287. CMDs[#CMDs + 1] = {NAME = 'unguidelete / noguidelete', DESC = 'Disables guidelete'}
  4288. CMDs[#CMDs + 1] = {NAME = 'hideiy', DESC = 'Hides the main IY GUI'}
  4289. CMDs[#CMDs + 1] = {NAME = 'showiy / unhideiy', DESC = 'Shows IY again'}
  4290. CMDs[#CMDs + 1] = {NAME = 'keepiy', DESC = 'Auto execute IY when you teleport through servers'}
  4291. CMDs[#CMDs + 1] = {NAME = 'unkeepiy', DESC = 'Disable keepiy'}
  4292. CMDs[#CMDs + 1] = {NAME = 'togglekeepiy', DESC = 'Toggle keepiy'}
  4293. CMDs[#CMDs + 1] = {NAME = 'savegame / saveplace', DESC = 'Uses saveinstance to save the game'}
  4294. CMDs[#CMDs + 1] = {NAME = 'clearerror', DESC = 'Clears the annoying box and blur when a game kicks you'}
  4295. CMDs[#CMDs + 1] = {NAME = 'clientantikick / antikick (CLIENT)', DESC = 'Prevents localscripts from kicking you'}
  4296. CMDs[#CMDs + 1] = {NAME = 'clientantiteleport / antiteleport (CLIENT)', DESC = 'Prevents localscripts from teleporting you'}
  4297. CMDs[#CMDs + 1] = {NAME = 'allowrejoin / allowrj [true/false] (CLIENT)', DESC = 'Changes if antiteleport allows you to rejoin or not'}
  4298. CMDs[#CMDs + 1] = {NAME = 'cancelteleport / canceltp', DESC = 'Cancels teleports in progress'}
  4299. CMDs[#CMDs + 1] = {NAME = 'volume / vol [0-10]', DESC = 'Adjusts your game volume on a scale of 0 to 10'}
  4300. CMDs[#CMDs + 1] = {NAME = 'antilag / boostfps / lowgraphics', DESC = 'Lowers game quality to boost FPS'}
  4301. CMDs[#CMDs + 1] = {NAME = 'record / rec', DESC = 'Starts roblox recorder'}
  4302. CMDs[#CMDs + 1] = {NAME = 'screenshot / scrnshot', DESC = 'Takes a screenshot'}
  4303. CMDs[#CMDs + 1] = {NAME = 'togglefullscreen / togglefs', DESC = 'Toggles fullscreen'}
  4304. CMDs[#CMDs + 1] = {NAME = 'notify [text]', DESC = 'Sends you a notification with the provided text'}
  4305. CMDs[#CMDs + 1] = {NAME = 'lastcommand / lastcmd', DESC = 'Executes the previous command used'}
  4306. CMDs[#CMDs + 1] = {NAME = 'exit', DESC = 'Kills roblox process'}
  4307. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4308. CMDs[#CMDs + 1] = {NAME = 'noclip', DESC = 'Go through objects'}
  4309. CMDs[#CMDs + 1] = {NAME = 'unnoclip / clip', DESC = 'Disables noclip'}
  4310. CMDs[#CMDs + 1] = {NAME = 'fly [speed]', DESC = 'Makes you fly'}
  4311. CMDs[#CMDs + 1] = {NAME = 'unfly', DESC = 'Disables fly'}
  4312. CMDs[#CMDs + 1] = {NAME = 'flyspeed [num]', DESC = 'Set fly speed (default is 20)'}
  4313. CMDs[#CMDs + 1] = {NAME = 'vehiclefly / vfly [speed]', DESC = 'Makes you fly in a vehicle'}
  4314. CMDs[#CMDs + 1] = {NAME = 'unvehiclefly / unvfly', DESC = 'Disables vehicle fly'}
  4315. CMDs[#CMDs + 1] = {NAME = 'vehicleflyspeed  / vflyspeed [num]', DESC = 'Set vehicle fly speed'}
  4316. CMDs[#CMDs + 1] = {NAME = 'cframefly / cfly [speed]', DESC = 'Makes you fly, bypassing some anti cheats (works on mobile)'}
  4317. CMDs[#CMDs + 1] = {NAME = 'uncframefly / uncfly', DESC = 'Disables cfly'}
  4318. CMDs[#CMDs + 1] = {NAME = 'cframeflyspeed  / cflyspeed [num]', DESC = 'Sets cfly speed'}
  4319. CMDs[#CMDs + 1] = {NAME = 'qefly [true / false]', DESC = 'enables or disables the Q and E hotkeys for fly'}
  4320. CMDs[#CMDs + 1] = {NAME = 'vehiclenoclip / vnoclip', DESC = 'Turns off vehicle collision'}
  4321. CMDs[#CMDs + 1] = {NAME = 'vehicleclip / vclip / unvnoclip', DESC = 'Enables vehicle collision'}
  4322. CMDs[#CMDs + 1] = {NAME = 'float /  platform', DESC = 'Spawns a platform beneath you causing you to float'}
  4323. CMDs[#CMDs + 1] = {NAME = 'unfloat / noplatform', DESC = 'Removes the platform'}
  4324. CMDs[#CMDs + 1] = {NAME = 'swim', DESC = 'Allows you to swim in the air'}
  4325. CMDs[#CMDs + 1] = {NAME = 'unswim / noswim', DESC = 'Stops you from swimming everywhere'}
  4326. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4327. CMDs[#CMDs + 1] = {NAME = 'setwaypoint / swp [name]', DESC = 'Sets a waypoint at your position'}
  4328. CMDs[#CMDs + 1] = {NAME = 'waypointpos / wpp [name] [X Y Z]', DESC = 'Sets a waypoint with specified coordinates'}
  4329. CMDs[#CMDs + 1] = {NAME = 'waypoints', DESC = 'Shows a list of currently active waypoints'}
  4330. CMDs[#CMDs + 1] = {NAME = 'showwaypoints / showwp', DESC = 'Shows all currently set waypoints'}
  4331. CMDs[#CMDs + 1] = {NAME = 'hidewaypoints / hidewp', DESC = 'Hides shown waypoints'}
  4332. CMDs[#CMDs + 1] = {NAME = 'waypoint / wp [name]', DESC = 'Teleports player to a waypoint'}
  4333. CMDs[#CMDs + 1] = {NAME = 'tweenwaypoint / twp [name]', DESC = 'Tweens player to a waypoint'}
  4334. CMDs[#CMDs + 1] = {NAME = 'walktowaypoint / wtwp [name]', DESC = 'Walks player to a waypoint'}
  4335. CMDs[#CMDs + 1] = {NAME = 'deletewaypoint / dwp [name]', DESC = 'Deletes a waypoint'}
  4336. CMDs[#CMDs + 1] = {NAME = 'clearwaypoints / cwp', DESC = 'Clears all waypoints'}
  4337. CMDs[#CMDs + 1] = {NAME = 'cleargamewaypoints / cgamewp', DESC = 'Clears all waypoints for the game you are in'}
  4338. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4339. CMDs[#CMDs + 1] = {NAME = 'goto [plr]', DESC = 'Go to a player'}
  4340. CMDs[#CMDs + 1] = {NAME = 'tweengoto / tgoto [plr]', DESC = 'Tween to a player (bypasses some anti cheats)'}
  4341. CMDs[#CMDs + 1] = {NAME = 'tweenspeed / tspeed [num]', DESC = 'Sets how fast all tween commands go (default is 1)'}
  4342. CMDs[#CMDs + 1] = {NAME = 'vehiclegoto / vgoto [plr]', DESC = 'Go to a player while in a vehicle'}
  4343. CMDs[#CMDs + 1] = {NAME = 'loopgoto [plr] [distance] [delay]', DESC = 'Loop teleport to a player'}
  4344. CMDs[#CMDs + 1] = {NAME = 'unloopgoto', DESC = 'Stops teleporting you to a player'}
  4345. CMDs[#CMDs + 1] = {NAME = 'pulsetp / ptp [plr] [seconds]', DESC = 'Teleports you to a player for a specified ammount of time'}
  4346. CMDs[#CMDs + 1] = {NAME = 'clientbring / cbring [plr] (CLIENT)', DESC = 'Bring a player'}
  4347. CMDs[#CMDs + 1] = {NAME = 'loopbring [plr] [distance] [delay] (CLIENT)', DESC = 'Loop brings a player to you (useful for killing)'}
  4348. CMDs[#CMDs + 1] = {NAME = 'unloopbring [plr]', DESC = 'Undoes loopbring'}
  4349. CMDs[#CMDs + 1] = {NAME = 'freeze / fr [plr] (CLIENT)', DESC = 'Freezes a player'}
  4350. CMDs[#CMDs + 1] = {NAME = 'freezeanims', DESC = 'Freezes your animations / pauses your animations - Does not work on default animations'}
  4351. CMDs[#CMDs + 1] = {NAME = 'unfreezeanims', DESC = 'Unfreezes your animations / plays your animations'}
  4352. CMDs[#CMDs + 1] = {NAME = 'thaw / unfr [plr] (CLIENT)', DESC = 'Unfreezes a player'}
  4353. CMDs[#CMDs + 1] = {NAME = 'tpposition / tppos [X Y Z]', DESC = 'Teleports you to certain coordinates'}
  4354. CMDs[#CMDs + 1] = {NAME = 'tweentpposition / ttppos [X Y Z]', DESC = 'Tween to coordinates (bypasses some anti cheats)'}
  4355. CMDs[#CMDs + 1] = {NAME = 'offset [X Y Z]', DESC = 'Offsets you by certain coordinates'}
  4356. CMDs[#CMDs + 1] = {NAME = 'tweenoffset / toffset [X Y Z]', DESC = 'Tween offset (bypasses some anti cheats)'}
  4357. CMDs[#CMDs + 1] = {NAME = 'notifyposition / notifypos [plr]', DESC = 'Notifies you the coordinates of a character'}
  4358. CMDs[#CMDs + 1] = {NAME = 'copyposition / copypos [plr]', DESC = 'Copies the coordinates of a character to your clipboard'}
  4359. CMDs[#CMDs + 1] = {NAME = 'walktoposition / walktopos [X Y Z]', DESC = 'Makes you walk to a coordinate'}
  4360. CMDs[#CMDs + 1] = {NAME = 'spawnpoint / spawn [delay]', DESC = 'Sets a position where you will spawn'}
  4361. CMDs[#CMDs + 1] = {NAME = 'nospawnpoint / nospawn', DESC = 'Removes your custom spawn point'}
  4362. CMDs[#CMDs + 1] = {NAME = 'flashback / diedtp', DESC = 'Teleports you to where you last died'}
  4363. CMDs[#CMDs + 1] = {NAME = 'walltp', DESC = 'Teleports you above/over any wall you run into'}
  4364. CMDs[#CMDs + 1] = {NAME = 'nowalltp / unwalltp', DESC = 'Disables walltp'}
  4365. CMDs[#CMDs + 1] = {NAME = 'teleporttool / tptool', DESC = 'Gives you a teleport tool'}
  4366. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4367. CMDs[#CMDs + 1] = {NAME = 'logs', DESC = 'Opens the logs GUI'}
  4368. CMDs[#CMDs + 1] = {NAME = 'chatlogs / clogs', DESC = 'Log what people say or whisper'}
  4369. CMDs[#CMDs + 1] = {NAME = 'joinlogs / jlogs', DESC = 'Log when people join'}
  4370. CMDs[#CMDs + 1] = {NAME = 'chat / say [text]', DESC = 'Makes you chat a string (possible mute bypass)'}
  4371. CMDs[#CMDs + 1] = {NAME = 'spam [text]', DESC = 'Makes you spam the chat'}
  4372. CMDs[#CMDs + 1] = {NAME = 'unspam', DESC = 'Turns off spam'}
  4373. CMDs[#CMDs + 1] = {NAME = 'whisper / pm [plr] [text]', DESC = 'Makes you whisper a string to someone (possible mute bypass)'}
  4374. CMDs[#CMDs + 1] = {NAME = 'pmspam [plr] [text]', DESC = 'Makes you spam a players whispers'}
  4375. CMDs[#CMDs + 1] = {NAME = 'unpmspam [plr]', DESC = 'Turns off pm spam'}
  4376. CMDs[#CMDs + 1] = {NAME = 'spamspeed [num]', DESC = 'How quickly you spam (default is 1)'}
  4377. CMDs[#CMDs + 1] = {NAME = 'bubblechat (CLIENT)', DESC = 'Enables bubble chat for your client'}
  4378. CMDs[#CMDs + 1] = {NAME = 'unbubblechat / nobubblechat', DESC = 'Disables the bubblechat command'}
  4379. CMDs[#CMDs + 1] = {NAME = 'safechat', DESC = 'Enables safe chat'}
  4380. CMDs[#CMDs + 1] = {NAME = 'nosafechat / disablesafechat', DESC = 'Disables safechat'}
  4381. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4382. CMDs[#CMDs + 1] = {NAME = 'esp', DESC = 'View all players and their status'}
  4383. CMDs[#CMDs + 1] = {NAME = 'noesp / unesp', DESC = 'Removes esp'}
  4384. CMDs[#CMDs + 1] = {NAME = 'esptransparency [number]', DESC = 'Changes the transparency of esp related commands'}
  4385. CMDs[#CMDs + 1] = {NAME = 'partesp [part name]', DESC = 'Highlights a part'}
  4386. CMDs[#CMDs + 1] = {NAME = 'unpartesp / nopartesp [part name]', DESC = 'removes partesp'}
  4387. CMDs[#CMDs + 1] = {NAME = 'chams', DESC = 'ESP but without text in the way'}
  4388. CMDs[#CMDs + 1] = {NAME = 'nochams / unchams', DESC = 'Removes chams'}
  4389. CMDs[#CMDs + 1] = {NAME = 'locate [plr]', DESC = 'View a single player and their status'}
  4390. CMDs[#CMDs + 1] = {NAME = 'unlocate / nolocate [plr]', DESC = 'Removes locate'}
  4391. CMDs[#CMDs + 1] = {NAME = 'xray', DESC = 'Makes all parts in workspace transparent'}
  4392. CMDs[#CMDs + 1] = {NAME = 'unxray / noxray', DESC = 'Restores transparency'}
  4393. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4394. CMDs[#CMDs + 1] = {NAME = 'spectate / view [plr]', DESC = 'View a player'}
  4395. CMDs[#CMDs + 1] = {NAME = 'viewpart / viewp [part name]', DESC = 'View a part'}
  4396. CMDs[#CMDs + 1] = {NAME = 'unspectate / unview', DESC = 'Stops viewing player'}
  4397. CMDs[#CMDs + 1] = {NAME = 'freecam / fc', DESC = 'Allows you to freely move camera around the game'}
  4398. CMDs[#CMDs + 1] = {NAME = 'freecampos / fcpos [X Y Z]', DESC = 'Moves / opens freecam in a certain position'}
  4399. CMDs[#CMDs + 1] = {NAME = 'freecamwaypoint / fcwp [name]', DESC = 'Moves / opens freecam to a waypoint'}
  4400. CMDs[#CMDs + 1] = {NAME = 'freecamgoto / fcgoto / fctp [plr]', DESC = 'Moves / opens freecam to a player'}
  4401. CMDs[#CMDs + 1] = {NAME = 'unfreecam / unfc', DESC = 'Disables freecam'}
  4402. CMDs[#CMDs + 1] = {NAME = 'freecamspeed / fcspeed [num]', DESC = 'Adjusts freecam speed (default is 1)'}
  4403. CMDs[#CMDs + 1] = {NAME = 'notifyfreecamposition / notifyfcpos', DESC = 'Noitifies you your freecam coordinates'}
  4404. CMDs[#CMDs + 1] = {NAME = 'copyfreecamposition / copyfcpos', DESC = 'Copies your freecam coordinates to your clipboard'}
  4405. CMDs[#CMDs + 1] = {NAME = 'gotocamera / gotocam', DESC = 'Teleports you to the location of your camera'}
  4406. CMDs[#CMDs + 1] = {NAME = 'tweengotocam / tgotocam', DESC = 'Tweens you to the location of your camera'}
  4407. CMDs[#CMDs + 1] = {NAME = 'firstp', DESC = 'Forces camera to go into first person'}
  4408. CMDs[#CMDs + 1] = {NAME = 'thirdp', DESC = 'Allows camera to go into third person'}
  4409. CMDs[#CMDs + 1] = {NAME = 'noclipcam / nccam', DESC = 'Allows camera to go through objects like walls'}
  4410. CMDs[#CMDs + 1] = {NAME = 'maxzoom [num]', DESC = 'Maximum camera zoom'}
  4411. CMDs[#CMDs + 1] = {NAME = 'minzoom [num]', DESC = 'Minimum camera zoom'}
  4412. CMDs[#CMDs + 1] = {NAME = 'camdistance [num]', DESC = 'Changes camera distance from your player'}
  4413. CMDs[#CMDs + 1] = {NAME = 'fov [num]', DESC = 'Adjusts field of view (default is 70)'}
  4414. CMDs[#CMDs + 1] = {NAME = 'fixcam / restorecam', DESC = 'Fixes camera'}
  4415. CMDs[#CMDs + 1] = {NAME = 'enableshiftlock / enablesl', DESC = 'Enables the shift lock option'}
  4416. CMDs[#CMDs + 1] = {NAME = 'lookat [plr]', DESC = 'Moves your camera view to a player'}
  4417. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4418. CMDs[#CMDs + 1] = {NAME = 'btools (CLIENT)', DESC = 'Gives you building tools (DOES NOT REPLICATE)'}
  4419. CMDs[#CMDs + 1] = {NAME = 'f3x (CLIENT)', DESC = 'Gives you F3X building tools (DOES NOT REPLICATE)'}
  4420. CMDs[#CMDs + 1] = {NAME = 'partname / partpath', DESC = 'Allows you to click a part to see its path & name'}
  4421. CMDs[#CMDs + 1] = {NAME = 'delete [instance name] (CLIENT)', DESC = 'Removes any part with a certain name from the workspace (DOES NOT REPLICATE)'}
  4422. CMDs[#CMDs + 1] = {NAME = 'deleteclass / dc [class name] (CLIENT)', DESC = 'Removes any part with a certain classname from the workspace (DOES NOT REPLICATE)'}
  4423. CMDs[#CMDs + 1] = {NAME = 'lockworkspace / lockws', DESC = 'Locks the whole workspace'}
  4424. CMDs[#CMDs + 1] = {NAME = 'unlockworkspace / unlockws', DESC = 'Unlocks the whole workspace'}
  4425. CMDs[#CMDs + 1] = {NAME = 'invisibleparts / invisparts (CLIENT)', DESC = 'Shows invisible parts'}
  4426. CMDs[#CMDs + 1] = {NAME = 'uninvisibleparts / uninvisparts (CLIENT)', DESC = 'Makes parts affected by invisparts return to normal'}
  4427. CMDs[#CMDs + 1] = {NAME = 'deleteinvisparts / dip (CLIENT)', DESC = 'Deletes invisible parts'}
  4428. CMDs[#CMDs + 1] = {NAME = 'gotopart [part name]', DESC = 'Moves your character to a part or multiple parts'}
  4429. CMDs[#CMDs + 1] = {NAME = 'tweengotopart / tgotopart [part name]', DESC = 'Tweens your character to a part or multiple parts'}
  4430. CMDs[#CMDs + 1] = {NAME = 'gotopartclass / gpc [class name]', DESC = 'Moves your character to a part or multiple parts based on classname'}
  4431. CMDs[#CMDs + 1] = {NAME = 'tweengotopartclass / tgpc [class name]', DESC = 'Tweens your character to a part or multiple parts based on classname'}
  4432. CMDs[#CMDs + 1] = {NAME = 'gotomodel [part name]', DESC = 'Moves your character to a model or multiple models'}
  4433. CMDs[#CMDs + 1] = {NAME = 'tweengotomodel / tgotomodel [part name]', DESC = 'Tweens your character to a model or multiple models'}
  4434. CMDs[#CMDs + 1] = {NAME = 'gotopartdelay / gotomodeldelay [num]', DESC = 'Adjusts how quickly you teleport to each part (default is 0.1)'}
  4435. CMDs[#CMDs + 1] = {NAME = 'bringpart [part name] (CLIENT)', DESC = 'Moves a part or multiple parts to your character'}
  4436. CMDs[#CMDs + 1] = {NAME = 'bringpartclass / bpc [class name] (CLIENT)', DESC = 'Moves a part or multiple parts to your character based on classname'}
  4437. CMDs[#CMDs + 1] = {NAME = 'noclickdetectorlimits / nocdlimits', DESC = 'Sets all click detectors MaxActivationDistance to math.huge'}
  4438. CMDs[#CMDs + 1] = {NAME = 'fireclickdetectors / firecd [name]', DESC = 'Uses all click detectors in a game or uses the optional name'}
  4439. CMDs[#CMDs + 1] = {NAME = 'firetouchinterests / touchinterests [name]', DESC = 'Uses all touchinterests in a game or uses the optional name'}
  4440. CMDs[#CMDs + 1] = {NAME = 'noproximitypromptlimits / nopplimits', DESC = 'Sets all proximity prompts MaxActivationDistance to math.huge'}
  4441. CMDs[#CMDs + 1] = {NAME = 'fireproximityprompts / firepp [name]', DESC = 'Uses all proximity prompts in a game or uses the optional name'}
  4442. CMDs[#CMDs + 1] = {NAME = 'instantproximityprompts / instantpp', DESC = 'Disable the cooldown for proximity prompts'}
  4443. CMDs[#CMDs + 1] = {NAME = 'uninstantproximityprompts / uninstantpp', DESC = 'Undo the cooldown removal'}
  4444. CMDs[#CMDs + 1] = {NAME = 'tpunanchored / tpua [plr]', DESC = 'Teleports unanchored parts to a player'}
  4445. CMDs[#CMDs + 1] = {NAME = 'animsunanchored / freezeua', DESC = 'Freezes unanchored parts'}
  4446. CMDs[#CMDs + 1] = {NAME = 'thawunanchored / thawua / unfreezeua', DESC = 'Thaws unanchored parts'}
  4447. CMDs[#CMDs + 1] = {NAME = 'removeterrain / rterrain / noterrain', DESC = 'Removes all terrain'}
  4448. CMDs[#CMDs + 1] = {NAME = 'clearnilinstances / nonilinstances / cni', DESC = 'Removes nil instances'}
  4449. CMDs[#CMDs + 1] = {NAME = 'destroyheight / dh [num]', DESC = 'Sets FallenPartsDestroyHeight'}
  4450. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4451. CMDs[#CMDs + 1] = {NAME = 'fullbright / fb (CLIENT)', DESC = 'Makes the map brighter / more visible'}
  4452. CMDs[#CMDs + 1] = {NAME = 'loopfullbright / loopfb (CLIENT)', DESC = 'Makes the map brighter / more visible but looped'}
  4453. CMDs[#CMDs + 1] = {NAME = 'unloopfullbright / unloopfb', DESC = 'Unloops fullbright'}
  4454. CMDs[#CMDs + 1] = {NAME = 'ambient [num] [num] [num] (CLIENT)', DESC = 'Changes ambient'}
  4455. CMDs[#CMDs + 1] = {NAME = 'day (CLIENT)', DESC = 'Changes the time to day for the client'}
  4456. CMDs[#CMDs + 1] = {NAME = 'night (CLIENT)', DESC = 'Changes the time to night for the client'}
  4457. CMDs[#CMDs + 1] = {NAME = 'nofog (CLIENT)', DESC = 'Removes fog'}
  4458. CMDs[#CMDs + 1] = {NAME = 'brightness [num] (CLIENT)', DESC = 'Changes the brightness lighting property'}
  4459. CMDs[#CMDs + 1] = {NAME = 'globalshadows / gshadows (CLIENT)', DESC = 'Enables global shadows'}
  4460. CMDs[#CMDs + 1] = {NAME = 'noglobalshadows / nogshadows (CLIENT)', DESC = 'Disables global shadows'}
  4461. CMDs[#CMDs + 1] = {NAME = 'restorelighting / rlighting', DESC = 'Restores Lighting properties'}
  4462. CMDs[#CMDs + 1] = {NAME = 'light [radius] [brightness] (CLIENT)', DESC = 'Gives your player dynamic light'}
  4463. CMDs[#CMDs + 1] = {NAME = 'nolight / unlight', DESC = 'Removes dynamic light from your player'}
  4464. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4465. CMDs[#CMDs + 1] = {NAME = 'inspect / examine [plr]', DESC = 'Opens InspectMenu for a certain player'}
  4466. CMDs[#CMDs + 1] = {NAME = 'age [plr]', DESC = 'Tells you the age of a player'}
  4467. CMDs[#CMDs + 1] = {NAME = 'chatage [plr]', DESC = 'Chats the age of a player'}
  4468. CMDs[#CMDs + 1] = {NAME = 'joindate / jd [plr]', DESC = 'Tells you the date the player joined Roblox'}
  4469. CMDs[#CMDs + 1] = {NAME = 'chatjoindate / cjd [plr]', DESC = 'Chats the date the player joined Roblox'}
  4470. CMDs[#CMDs + 1] = {NAME = 'copyname / copyuser [plr]', DESC = 'Copies a players full username to your clipboard'}
  4471. CMDs[#CMDs + 1] = {NAME = 'userid / id [plr]', DESC = 'Notifies a players user ID'}
  4472. CMDs[#CMDs + 1] = {NAME = 'copyuserid / copyid [plr]', DESC = 'Copies a players user ID to your clipboard'}
  4473. CMDs[#CMDs + 1] = {NAME = 'appearanceid / aid [plr]', DESC = 'Notifies a players appearance ID'}
  4474. CMDs[#CMDs + 1] = {NAME = 'copyappearanceid / caid [plr]', DESC = 'Copies a players appearance ID to your clipboard'}
  4475. CMDs[#CMDs + 1] = {NAME = 'bang [plr] [speed]', DESC = 'owo'}
  4476. CMDs[#CMDs + 1] = {NAME = 'unbang', DESC = 'uwu'}
  4477. CMDs[#CMDs + 1] = {NAME = 'carpet [plr]', DESC = 'Be someones carpet'}
  4478. CMDs[#CMDs + 1] = {NAME = 'uncarpet', DESC = 'Undoes carpet'}
  4479. CMDs[#CMDs + 1] = {NAME = 'friend [plr]', DESC = 'Sends a friend request to certain players'}
  4480. CMDs[#CMDs + 1] = {NAME = 'unfriend [plr]', DESC = 'Unfriends certain players'}
  4481. CMDs[#CMDs + 1] = {NAME = 'headsit [plr]', DESC = 'Sit on a players head'}
  4482. CMDs[#CMDs + 1] = {NAME = 'walkto / follow [plr]', DESC = 'Follow a player'}
  4483. CMDs[#CMDs + 1] = {NAME = 'pathfindwalkto / pathfindfollow [plr]', DESC = 'Follow a player using pathfinding'}
  4484. CMDs[#CMDs + 1] = {NAME = 'pathfindwalktowaypoint / pathfindwalktowp [waypoint]', DESC = 'Walk to a waypoint using pathfinding'}
  4485. CMDs[#CMDs + 1] = {NAME = 'unwalkto / unfollow', DESC = 'Stops following a player'}
  4486. CMDs[#CMDs + 1] = {NAME = 'stareat / stare [plr]', DESC = 'Stare / look at a player'}
  4487. CMDs[#CMDs + 1] = {NAME = 'unstareat / unstare [plr]', DESC = 'Disables stareat'}
  4488. CMDs[#CMDs + 1] = {NAME = 'rolewatch [group id] [role name]', DESC = 'Notify if someone from a watched group joins the server'}
  4489. CMDs[#CMDs + 1] = {NAME = 'rolewatchstop / unrolewatch', DESC = 'Disable Rolewatch'}
  4490. CMDs[#CMDs + 1] = {NAME = 'rolewatchleave', DESC = 'Toggle if you should leave the game if someone from a watched group joins the server'}
  4491. CMDs[#CMDs + 1] = {NAME = 'attach [plr] (TOOL)', DESC = 'Attaches you to a player (YOU NEED A TOOL)'}
  4492. CMDs[#CMDs + 1] = {NAME = 'kill [plr] (TOOL)', DESC = 'Kills a player (YOU NEED A TOOL)'}
  4493. CMDs[#CMDs + 1] = {NAME = 'fastkill [plr] (TOOL)', DESC = 'Kills a player (less reliable) (YOU NEED A TOOL)'}
  4494. CMDs[#CMDs + 1] = {NAME = 'handlekill / hkill [plr] (TOOL)', DESC = 'Kills a player using tool damage (YOU NEED A TOOL)'}
  4495. CMDs[#CMDs + 1] = {NAME = 'bring [plr] (TOOL)', DESC = 'Brings a player (YOU NEED A TOOL)'}
  4496. CMDs[#CMDs + 1] = {NAME = 'fastbring [plr] (TOOL)', DESC = 'Brings a player (less reliable) (YOU NEED A TOOL)'}
  4497. CMDs[#CMDs + 1] = {NAME = 'teleport / tp [plr] [plr] (TOOL)', DESC = 'Teleports a player to another player (YOU NEED A TOOL)'}
  4498. CMDs[#CMDs + 1] = {NAME = 'fastteleport / fasttp [plr] [plr] (TOOL)', DESC = 'Teleports a player to another player (less reliable) (YOU NEED A TOOL)'}
  4499. CMDs[#CMDs + 1] = {NAME = 'fling', DESC = 'Flings anyone you touch'}
  4500. CMDs[#CMDs + 1] = {NAME = 'unfling', DESC = 'Disables the fling command'}
  4501. CMDs[#CMDs + 1] = {NAME = 'invisfling', DESC = 'Enables invisible fling'}
  4502. CMDs[#CMDs + 1] = {NAME = 'loopoof', DESC = 'Loops everyones character sounds (everyone can hear)'}
  4503. CMDs[#CMDs + 1] = {NAME = 'unloopoof', DESC = 'Stops the oof chaos'}
  4504. CMDs[#CMDs + 1] = {NAME = 'muteboombox [plr]', DESC = 'Mutes someones boombox'}
  4505. CMDs[#CMDs + 1] = {NAME = 'unmuteboombox [plr]', DESC = 'Unmutes someones boombox'}
  4506. CMDs[#CMDs + 1] = {NAME = 'hitbox [plr] [size]', DESC = 'Expands the hitbox for players HumanoidRootPart (default is 1)'}
  4507. CMDs[#CMDs + 1] = {NAME = 'headsize [plr] [size]', DESC = 'Expands the head size for players Head (default is 1)'}
  4508. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4509. CMDs[#CMDs + 1] = {NAME = 'reset', DESC = 'Resets your character normally'}
  4510. CMDs[#CMDs + 1] = {NAME = 'respawn', DESC = 'Respawns you'}
  4511. CMDs[#CMDs + 1] = {NAME = 'refresh / re', DESC = 'Respawns and brings you back to the same position'}
  4512. CMDs[#CMDs + 1] = {NAME = 'god', DESC = 'Makes your character difficult to kill in most games'}
  4513. CMDs[#CMDs + 1] = {NAME = 'invisible / invis', DESC = 'Makes you invisible to other players'}
  4514. CMDs[#CMDs + 1] = {NAME = 'visible / vis', DESC = 'Makes you visible to other players'}
  4515. CMDs[#CMDs + 1] = {NAME = 'toolinvisible / toolinvis / tinvis', DESC = 'Makes you invisible to other players and able to use tools'}
  4516. CMDs[#CMDs + 1] = {NAME = 'speed / ws / walkspeed [num]', DESC = 'Change your walkspeed'}
  4517. CMDs[#CMDs + 1] = {NAME = 'spoofspeed / spoofws [num]', DESC = 'Spoofs your WalkSpeed on the Client'}
  4518. CMDs[#CMDs + 1] = {NAME = 'loopspeed / loopws [num]', DESC = 'Loops your walkspeed'}
  4519. CMDs[#CMDs + 1] = {NAME = 'unloopspeed / unloopws', DESC = 'Turns off loopspeed'}
  4520. CMDs[#CMDs + 1] = {NAME = 'hipheight / hheight [num]', DESC = 'Adjusts hip height'}
  4521. CMDs[#CMDs + 1] = {NAME = 'jumppower / jpower / jp [num]', DESC = 'Change a players jump height'}
  4522. CMDs[#CMDs + 1] = {NAME = 'spoofjumppower / spoofjp [num]', DESC = 'Spoofs your JumpPower on the Client'}
  4523. CMDs[#CMDs + 1] = {NAME = 'loopjumppower / loopjp [num]', DESC = 'Loops your jump height'}
  4524. CMDs[#CMDs + 1] = {NAME = 'unloopjumppower / unloopjp', DESC = 'Turns off loopjumppower'}
  4525. CMDs[#CMDs + 1] = {NAME = 'maxslopeangle / msa [num]', DESC = 'Adjusts MaxSlopeAngle'}
  4526. CMDs[#CMDs + 1] = {NAME = 'gravity / grav [num] (CLIENT)', DESC = 'Change your gravity'}
  4527. CMDs[#CMDs + 1] = {NAME = 'sit', DESC = 'Makes your character sit'}
  4528. CMDs[#CMDs + 1] = {NAME = 'lay / laydown', DESC = 'Makes your character lay down'}
  4529. CMDs[#CMDs + 1] = {NAME = 'sitwalk', DESC = 'Makes your character sit while still being able to walk'}
  4530. CMDs[#CMDs + 1] = {NAME = 'nosit', DESC = 'Prevents your character from sitting'}
  4531. CMDs[#CMDs + 1] = {NAME = 'unnosit', DESC = 'Disables nosit'}
  4532. CMDs[#CMDs + 1] = {NAME = 'jump', DESC = 'Makes your character jump'}
  4533. CMDs[#CMDs + 1] = {NAME = 'infinitejump / infjump', DESC = 'Allows you to jump before hitting the ground'}
  4534. CMDs[#CMDs + 1] = {NAME = 'uninfinitejump / uninfjump', DESC = 'Disables infjump'}
  4535. CMDs[#CMDs + 1] = {NAME = 'flyjump', DESC = 'Allows you to hold space to fly up'}
  4536. CMDs[#CMDs + 1] = {NAME = 'unflyjump', DESC = 'Disables flyjump'}
  4537. CMDs[#CMDs + 1] = {NAME = 'autojump / ajump', DESC = 'Automatically jumps when you run into an object'}
  4538. CMDs[#CMDs + 1] = {NAME = 'unautojump / unajump', DESC = 'Disables autojump'}
  4539. CMDs[#CMDs + 1] = {NAME = 'edgejump / ejump', DESC = 'Automatically jumps when you get to the edge of an object'}
  4540. CMDs[#CMDs + 1] = {NAME = 'unedgejump / unejump', DESC = 'Disables edgejump'}
  4541. CMDs[#CMDs + 1] = {NAME = 'platformstand / stun', DESC = 'Enables PlatformStand'}
  4542. CMDs[#CMDs + 1] = {NAME = 'unplatformstand / unstun', DESC = 'Disables PlatformStand'}
  4543. CMDs[#CMDs + 1] = {NAME = 'norotate / noautorotate', DESC = 'Disables AutoRotate'}
  4544. CMDs[#CMDs + 1] = {NAME = 'unnorotate / autorotate', DESC = 'Enables AutoRotate'}
  4545. CMDs[#CMDs + 1] = {NAME = 'enablestate [StateType]', DESC = 'Enables a humanoid state type'}
  4546. CMDs[#CMDs + 1] = {NAME = 'disablestate [StateType]', DESC = 'Disables a humanoid state type'}
  4547. CMDs[#CMDs + 1] = {NAME = 'team [team name] (CLIENT)', DESC = 'Changes your team. Sometimes fools localscripts.'}
  4548. CMDs[#CMDs + 1] = {NAME = 'nobillboardgui / nobgui / noname', DESC = 'Removes billboard and surface guis from your players (i.e. name guis at cafes)'}
  4549. CMDs[#CMDs + 1] = {NAME = 'loopnobgui / loopnoname', DESC = 'Loop removes billboard and surface guis from your players (i.e. name guis at cafes)'}
  4550. CMDs[#CMDs + 1] = {NAME = 'unloopnobgui / unloopnoname', DESC = 'Disables loopnobgui'}
  4551. CMDs[#CMDs + 1] = {NAME = 'nohead / headless', DESC = 'Removes your head (uses simulation radius)'}
  4552. CMDs[#CMDs + 1] = {NAME = 'noarms', DESC = 'Removes your arms'}
  4553. CMDs[#CMDs + 1] = {NAME = 'nolegs', DESC = 'Removes your legs'}
  4554. CMDs[#CMDs + 1] = {NAME = 'nolimbs', DESC = 'Removes your limbs'}
  4555. CMDs[#CMDs + 1] = {NAME = 'naked (CLIENT)', DESC = 'Removes your clothing'}
  4556. CMDs[#CMDs + 1] = {NAME = 'noface / removeface', DESC = 'Removes your face'}
  4557. CMDs[#CMDs + 1] = {NAME = 'blockhead', DESC = 'Turns your head into a block'}
  4558. CMDs[#CMDs + 1] = {NAME = 'blockhats', DESC = 'Turns your hats into blocks'}
  4559. CMDs[#CMDs + 1] = {NAME = 'blocktool', DESC = 'Turns the currently selected tool into a block'}
  4560. CMDs[#CMDs + 1] = {NAME = 'creeper', DESC = 'Makes you look like a creeper'}
  4561. CMDs[#CMDs + 1] = {NAME = 'drophats', DESC = 'Drops your hats'}
  4562. CMDs[#CMDs + 1] = {NAME = 'nohats / deletehats / rhats', DESC = 'Deletes your hats'}
  4563. CMDs[#CMDs + 1] = {NAME = 'hatspin / spinhats', DESC = 'Spins your characters accessories'}
  4564. CMDs[#CMDs + 1] = {NAME = 'unhatspin / unspinhats', DESC = 'Undoes spinhats'}
  4565. CMDs[#CMDs + 1] = {NAME = 'clearhats / cleanhats', DESC = 'Clears hats in the workspace'}
  4566. CMDs[#CMDs + 1] = {NAME = 'chardelete / cd [instance name]', DESC = 'Removes any part with a certain name from your character'}
  4567. CMDs[#CMDs + 1] = {NAME = 'chardeleteclass / cdc [class name]', DESC = 'Removes any part with a certain classname from your character'}
  4568. CMDs[#CMDs + 1] = {NAME = 'deletevelocity / dv / removeforces', DESC = 'Removes any velocity / force instances in your character'}
  4569. CMDs[#CMDs + 1] = {NAME = 'weaken [num]', DESC = 'Makes your character less dense'}
  4570. CMDs[#CMDs + 1] = {NAME = 'unweaken', DESC = 'Sets your characters CustomPhysicalProperties to default'}
  4571. CMDs[#CMDs + 1] = {NAME = 'strengthen [num]', DESC = 'Makes your character more dense (CustomPhysicalProperties)'}
  4572. CMDs[#CMDs + 1] = {NAME = 'unstrengthen', DESC = 'Sets your characters CustomPhysicalProperties to default'}
  4573. CMDs[#CMDs + 1] = {NAME = 'breakvelocity', DESC = 'Sets your characters velocity to 0'}
  4574. CMDs[#CMDs + 1] = {NAME = 'spin [speed]', DESC = 'Spins your character'}
  4575. CMDs[#CMDs + 1] = {NAME = 'unspin', DESC = 'Disables spin'}
  4576. CMDs[#CMDs + 1] = {NAME = 'vr', DESC = 'Loads CLOVR by Abacaxl'}
  4577. CMDs[#CMDs + 1] = {NAME = 'split', DESC = 'Splits your character in half'}
  4578. CMDs[#CMDs + 1] = {NAME = 'nilchar', DESC = 'Sets your characters parent to nil'}
  4579. CMDs[#CMDs + 1] = {NAME = 'unnilchar / nonilchar', DESC = 'Sets your characters parent to workspace'}
  4580. CMDs[#CMDs + 1] = {NAME = 'noroot / removeroot / rroot', DESC = 'Removes your characters HumanoidRootPart'}
  4581. CMDs[#CMDs + 1] = {NAME = 'replaceroot', DESC = 'Replaces your characters HumanoidRootPart'}
  4582. CMDs[#CMDs + 1] = {NAME = 'clearcharappearance / clearchar / clrchar', DESC = 'Removes all accessory, shirt, pants, charactermesh, and bodycolors'}
  4583. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4584. CMDs[#CMDs + 1] = {NAME = 'animation / anim [ID] [speed]', DESC = 'Makes your character perform an animation (must be by roblox to replicate)'}
  4585. CMDs[#CMDs + 1] = {NAME = 'dance', DESC = 'Makes you  d a n c e'}
  4586. CMDs[#CMDs + 1] = {NAME = 'undance', DESC = 'Stops dance animations'}
  4587. CMDs[#CMDs + 1] = {NAME = 'spasm', DESC = 'Makes you  c r a z y'}
  4588. CMDs[#CMDs + 1] = {NAME = 'unspasm', DESC = 'Stops spasm'}
  4589. CMDs[#CMDs + 1] = {NAME = 'headthrow', DESC = 'Simply makes you throw your head'}
  4590. CMDs[#CMDs + 1] = {NAME = 'noanim', DESC = 'Disables your animations'}
  4591. CMDs[#CMDs + 1] = {NAME = 'reanim', DESC = 'Restores your animations'}
  4592. CMDs[#CMDs + 1] = {NAME = 'animspeed [num]', DESC = 'Changes the speed of your current animation'}
  4593. CMDs[#CMDs + 1] = {NAME = 'copyanimation / copyanim / copyemote [plr]', DESC = 'Copies someone elses animation'}
  4594. CMDs[#CMDs + 1] = {NAME = 'loopanimation / loopanim', DESC = 'Loops your current animation'}
  4595. CMDs[#CMDs + 1] = {NAME = 'stopanimations / stopanims', DESC = 'Stops running animations'}
  4596. CMDs[#CMDs + 1] = {NAME = 'refreshanimations / refreshanims', DESC = 'Refreshes animations'}
  4597. CMDs[#CMDs + 1] = {NAME = 'allowcustomanim / allowcustomanimations', DESC = 'Lets you use custom animation packs instead'}
  4598. CMDs[#CMDs + 1] = {NAME = 'unallowcustomanim / unallowcustomanimations', DESC = 'Doesn\'t let you use custom animation packs instead'}
  4599. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4600. CMDs[#CMDs + 1] = {NAME = 'autoclick [click delay] [release delay]', DESC = 'Automatically clicks your mouse with a set delay'}
  4601. CMDs[#CMDs + 1] = {NAME = 'unautoclick / noautoclick', DESC = 'Turns off autoclick'}
  4602. CMDs[#CMDs + 1] = {NAME = 'autokeypress [key] [down delay] [up delay]', DESC = 'Automatically presses a key with a set delay'}
  4603. CMDs[#CMDs + 1] = {NAME = 'unautokeypress', DESC = 'Stops autokeypress'}
  4604. CMDs[#CMDs + 1] = {NAME = 'hovername', DESC = 'Shows a players username when your mouse is hovered over them'}
  4605. CMDs[#CMDs + 1] = {NAME = 'unhovername / nohovername', DESC = 'Turns off hovername'}
  4606. CMDs[#CMDs + 1] = {NAME = 'mousesensitivity / ms [0-10]', DESC = 'Sets your mouse sensitivity (affects first person and right click drag) (default is 1)'}
  4607. CMDs[#CMDs + 1] = {NAME = 'clickdelete', DESC = 'Go to settings>Keybinds>Add for clicktp'}
  4608. CMDs[#CMDs + 1] = {NAME = 'clickteleport', DESC = 'Go to settings>Keybinds>Add for click tp'}
  4609. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4610. CMDs[#CMDs + 1] = {NAME = 'tools', DESC = 'Copies tools from ReplicatedStorage and Lighting'}
  4611. CMDs[#CMDs + 1] = {NAME = 'notools / removetools / deletetools', DESC = 'Removes tools from character and backpack'}
  4612. CMDs[#CMDs + 1] = {NAME = 'deleteselectedtool / dst', DESC = 'Removes any currently selected tools'}
  4613. CMDs[#CMDs + 1] = {NAME = 'grabtools', DESC = 'Automatically get tools that are dropped'}
  4614. CMDs[#CMDs + 1] = {NAME = 'ungrabtools / nograbtools', DESC = 'Disables grabtools'}
  4615. CMDs[#CMDs + 1] = {NAME = 'copytools [plr] (CLIENT)', DESC = 'Copies a players tools'}
  4616. CMDs[#CMDs + 1] = {NAME = 'dupetools / clonetools [num]', DESC = 'Duplicates your inventory tools a set ammount of times'}
  4617. CMDs[#CMDs + 1] = {NAME = 'givetool / givetools', DESC = 'Gives all the tools you\'re holding to [plr] using the attach method.'}
  4618. CMDs[#CMDs + 1] = {NAME = 'droptools', DESC = 'Drops your tools'}
  4619. CMDs[#CMDs + 1] = {NAME = 'droppabletools', DESC = 'Makes your tools droppable'}
  4620. CMDs[#CMDs + 1] = {NAME = 'equiptools', DESC = 'Equips every tool in your inventory at once'}
  4621. CMDs[#CMDs + 1] = {NAME = 'unequiptools', DESC = 'Unequips every tool you are currently holding at once'}
  4622. CMDs[#CMDs + 1] = {NAME = 'removespecifictool [name]', DESC = 'Automatically remove a specific tool from your inventory'}
  4623. CMDs[#CMDs + 1] = {NAME = 'unremovespecifictool [name]', DESC = 'Stops removing a specific tool from your inventory'}
  4624. CMDs[#CMDs + 1] = {NAME = 'clearremovespecifictool', DESC = 'Stop removing all specific tools from your inventory'}
  4625. CMDs[#CMDs + 1] = {NAME = 'reach [num]', DESC = 'Increases the hitbox of your held tool'}
  4626. CMDs[#CMDs + 1] = {NAME = 'unreach / noreach', DESC = 'Turns off reach'}
  4627. CMDs[#CMDs + 1] = {NAME = 'grippos [X Y Z]', DESC = 'Changes your current tools grip position'}
  4628. CMDs[#CMDs + 1] = {NAME = 'usetools [ammount] [delay]', DESC = 'Activates all tools in your backpack at the same time'}
  4629. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4630. CMDs[#CMDs + 1] = {NAME = 'addalias [cmd] [alias]', DESC = 'Adds an alias to a command'}
  4631. CMDs[#CMDs + 1] = {NAME = 'removealias [alias]', DESC = 'Removes a custom alias'}
  4632. CMDs[#CMDs + 1] = {NAME = 'clraliases', DESC = 'Removes all custom aliases'}
  4633. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4634. CMDs[#CMDs + 1] = {NAME = 'addplugin / plugin [name]', DESC = 'Add a plugin via command'}
  4635. CMDs[#CMDs + 1] = {NAME = 'removeplugin / deleteplugin [name]', DESC = 'Remove a plugin via command'}
  4636. CMDs[#CMDs + 1] = {NAME = 'reloadplugin [name]', DESC = 'Reloads a plugin'}
  4637. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4638. CMDs[#CMDs + 1] = {NAME = 'breakloops / break (cmd loops)', DESC = 'Stops any cmd loops (;100^1^cmd)'}
  4639. CMDs[#CMDs + 1] = {NAME = 'removecmd / deletecmd', DESC = 'Removes a command until the admin is reloaded'}
  4640. CMDs[#CMDs + 1] = {NAME = 'tpwalk / teleportwalk [num]', DESC = 'Teleports you to your move direction'}
  4641. CMDs[#CMDs + 1] = {NAME = 'untpwalk / unteleportwalk', DESC = 'Undoes tpwalk / teleportwalk'}
  4642. CMDs[#CMDs + 1] = {NAME = 'notifyping / ping', DESC = 'Notify yourself your ping'}
  4643. CMDs[#CMDs + 1] = {NAME = 'trip', DESC = 'Makes your character fall over'}
  4644. CMDs[#CMDs + 1] = {NAME = 'norender', DESC = 'Disable 3d Rendering to decrease the amount of CPU the client uses'}
  4645. CMDs[#CMDs + 1] = {NAME = 'render', DESC = 'Enable 3d Rendering'}
  4646. CMDs[#CMDs + 1] = {NAME = 'use2022materials / 2022materials', DESC = 'Enables 2022 material textures'}
  4647. CMDs[#CMDs + 1] = {NAME = 'unuse2022materials / un2022materials', DESC = 'Disables 2022 material textures'}
  4648. wait()
  4649.  
  4650. for i = 1, #CMDs do
  4651.     local newcmd = Example:Clone()
  4652.     newcmd.Parent = CMDsF
  4653.     newcmd.Visible = false
  4654.     newcmd.Text = CMDs[i].NAME
  4655.     newcmd.Name = "CMD"
  4656.     table.insert(text1, newcmd)
  4657.     if CMDs[i].DESC ~= "" then
  4658.         newcmd:SetAttribute("Title", CMDs[i].NAME)
  4659.         newcmd:SetAttribute("Desc", CMDs[i].DESC)
  4660.         newcmd.MouseButton1Down:Connect(function()
  4661.             if not IsOnMobile and newcmd.Visible and newcmd.TextTransparency == 0 then
  4662.                 local currentText = Cmdbar.Text
  4663.                 Cmdbar:CaptureFocus()
  4664.                 autoComplete(newcmd.Text, currentText)
  4665.                 maximizeHolder()
  4666.             end
  4667.         end)
  4668.     end
  4669. end
  4670.  
  4671. IndexContents("", true)
  4672.  
  4673. function checkTT()
  4674.     local t
  4675.     local guisAtPosition = COREGUI:GetGuiObjectsAtPosition(IYMouse.X, IYMouse.Y)
  4676.  
  4677.     for _, gui in pairs(guisAtPosition) do
  4678.         if gui.Parent == CMDsF then
  4679.             t = gui
  4680.         end
  4681.     end
  4682.  
  4683.     if t ~= nil and t:GetAttribute("Title") ~= nil then
  4684.         local x = IYMouse.X
  4685.         local y = IYMouse.Y
  4686.         local xP
  4687.         local yP
  4688.         if IYMouse.X > 200 then
  4689.             xP = x - 201
  4690.         else
  4691.             xP = x + 21
  4692.         end
  4693.         if IYMouse.Y > (IYMouse.ViewSizeY-96) then
  4694.             yP = y - 97
  4695.         else
  4696.             yP = y
  4697.         end
  4698.         Tooltip.Position = UDim2.new(0, xP, 0, yP)
  4699.         Description.Text = t:GetAttribute("Desc")
  4700.         if t:GetAttribute("Title") ~= nil then
  4701.             Title_3.Text = t:GetAttribute("Title")
  4702.         else
  4703.             Title_3.Text = ''
  4704.         end
  4705.         Tooltip.Visible = true
  4706.     else
  4707.         Tooltip.Visible = false
  4708.     end
  4709. end
  4710.  
  4711. function FindInTable(tbl,val)
  4712.     if tbl == nil then return false end
  4713.     for _,v in pairs(tbl) do
  4714.         if v == val then return true end
  4715.     end
  4716.     return false
  4717. end
  4718.  
  4719. function GetInTable(Table, Name)
  4720.     for i = 1, #Table do
  4721.         if Table[i] == Name then
  4722.             return i
  4723.         end
  4724.     end
  4725.     return false
  4726. end
  4727.  
  4728. function respawn(plr)
  4729.     if invisRunning then TurnVisible() end
  4730.     local char = plr.Character
  4731.     if char:FindFirstChildOfClass("Humanoid") then char:FindFirstChildOfClass("Humanoid"):ChangeState(15) end
  4732.     char:ClearAllChildren()
  4733.     local newChar = Instance.new("Model")
  4734.     newChar.Parent = workspace
  4735.     plr.Character = newChar
  4736.     wait()
  4737.     plr.Character = char
  4738.     newChar:Destroy()
  4739. end
  4740.  
  4741. local refreshCmd = false
  4742. function refresh(plr)
  4743.     refreshCmd = true
  4744.     local Human = plr.Character and plr.Character:FindFirstChildOfClass("Humanoid", true)
  4745.     local pos = Human and Human.RootPart and Human.RootPart.CFrame
  4746.     local pos1 = workspace.CurrentCamera.CFrame
  4747.     respawn(plr)
  4748.     task.spawn(function()
  4749.         plr.CharacterAdded:Wait():WaitForChild("Humanoid").RootPart.CFrame, workspace.CurrentCamera.CFrame = pos, wait() and pos1
  4750.         refreshCmd = false
  4751.     end)
  4752. end
  4753.  
  4754. local lastDeath
  4755.  
  4756. function onDied()
  4757.     task.spawn(function()
  4758.         if pcall(function() Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') end) and Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  4759.             Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').Died:Connect(function()
  4760.                 if getRoot(Players.LocalPlayer.Character) then
  4761.                     lastDeath = getRoot(Players.LocalPlayer.Character).CFrame
  4762.                 end
  4763.             end)
  4764.         else
  4765.             wait(2)
  4766.             onDied()
  4767.         end
  4768.     end)
  4769. end
  4770.  
  4771. Clip = true
  4772. spDelay = 0.1
  4773. Players.LocalPlayer.CharacterAdded:Connect(function()
  4774.     NOFLY()
  4775.     Floating = false
  4776.  
  4777.     if not Clip then
  4778.         execCmd('clip')
  4779.     end
  4780.  
  4781.     repeat wait() until getRoot(Players.LocalPlayer.Character)
  4782.  
  4783.     pcall(function()
  4784.         if spawnpoint and not refreshCmd and spawnpos ~= nil then
  4785.             wait(spDelay)
  4786.             getRoot(Players.LocalPlayer.Character).CFrame = spawnpos
  4787.         end
  4788.     end)
  4789.  
  4790.     onDied()
  4791. end)
  4792.  
  4793. onDied()
  4794.  
  4795. function getstring(begin)
  4796.     local start = begin-1
  4797.     local AA = '' for i,v in pairs(cargs) do
  4798.         if i > start then
  4799.             if AA ~= '' then
  4800.                 AA = AA .. ' ' .. v
  4801.             else
  4802.                 AA = AA .. v
  4803.             end
  4804.         end
  4805.     end
  4806.     return AA
  4807. end
  4808.  
  4809. findCmd=function(cmd_name)
  4810.     for i,v in pairs(cmds)do
  4811.         if v.NAME:lower()==cmd_name:lower() or FindInTable(v.ALIAS,cmd_name:lower()) then
  4812.             return v
  4813.         end
  4814.     end
  4815.     return customAlias[cmd_name:lower()]
  4816. end
  4817.  
  4818. function splitString(str,delim)
  4819.     local broken = {}
  4820.     if delim == nil then delim = "," end
  4821.     for w in string.gmatch(str,"[^"..delim.."]+") do
  4822.         table.insert(broken,w)
  4823.     end
  4824.     return broken
  4825. end
  4826.  
  4827. cmdHistory = {}
  4828. local lastCmds = {}
  4829. local historyCount = 0
  4830. local split=" "
  4831. local lastBreakTime = 0
  4832. function execCmd(cmdStr,speaker,store)
  4833.     cmdStr = cmdStr:gsub("%s+$","")
  4834.     task.spawn(function()
  4835.         local rawCmdStr = cmdStr
  4836.         cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%")
  4837.         local commandsToRun = splitString(cmdStr,"\\")
  4838.         for i,v in pairs(commandsToRun) do
  4839.             v = string.gsub(v,"%%BackSlash%%","\\")
  4840.             local x,y,num = v:find("^(%d+)%^")
  4841.             local cmdDelay = 0
  4842.             local infTimes = false
  4843.             if num then
  4844.                 v = v:sub(y+1)
  4845.                 local x,y,del = v:find("^([%d%.]+)%^")
  4846.                 if del then
  4847.                     v = v:sub(y+1)
  4848.                     cmdDelay = tonumber(del) or 0
  4849.                 end
  4850.             else
  4851.                 local x,y = v:find("^inf%^")
  4852.                 if x then
  4853.                     infTimes = true
  4854.                     v = v:sub(y+1)
  4855.                     local x,y,del = v:find("^([%d%.]+)%^")
  4856.                     if del then
  4857.                         v = v:sub(y+1)
  4858.                         del = tonumber(del) or 1
  4859.                         cmdDelay = (del > 0 and del or 1)
  4860.                     else
  4861.                         cmdDelay = 1
  4862.                     end
  4863.                 end
  4864.             end
  4865.             num = tonumber(num or 1)
  4866.  
  4867.             if v:sub(1,1) == "!" then
  4868.                 local chunks = splitString(v:sub(2),split)
  4869.                 if chunks[1] and lastCmds[chunks[1]] then v = lastCmds[chunks[1]] end
  4870.             end
  4871.  
  4872.             local args = splitString(v,split)
  4873.             local cmdName = args[1]
  4874.             local cmd = findCmd(cmdName)
  4875.             if cmd then
  4876.                 table.remove(args,1)
  4877.                 cargs = args
  4878.                 if not speaker then speaker = Players.LocalPlayer end
  4879.                 if store then
  4880.                     if speaker == Players.LocalPlayer then
  4881.                         if cmdHistory[1] ~= rawCmdStr and rawCmdStr:sub(1,11) ~= 'lastcommand' and rawCmdStr:sub(1,7) ~= 'lastcmd' then
  4882.                             table.insert(cmdHistory,1,rawCmdStr)
  4883.                         end
  4884.                     end
  4885.                     if #cmdHistory > 30 then table.remove(cmdHistory) end
  4886.  
  4887.                     lastCmds[cmdName] = v
  4888.                 end
  4889.                 local cmdStartTime = tick()
  4890.                 if infTimes then
  4891.                     while lastBreakTime < cmdStartTime do
  4892.                         local success,err = pcall(cmd.FUNC,args, speaker)
  4893.                         if not success and _G.IY_DEBUG then
  4894.                             warn("Command Error:", cmdName, err)
  4895.                         end
  4896.                         wait(cmdDelay)
  4897.                     end
  4898.                 else
  4899.                     for rep = 1,num do
  4900.                         if lastBreakTime > cmdStartTime then break end
  4901.                         local success,err = pcall(function()
  4902.                             cmd.FUNC(args, speaker)
  4903.                         end)
  4904.                         if not success and _G.IY_DEBUG then
  4905.                             warn("Command Error:", cmdName, err)
  4906.                         end
  4907.                         if cmdDelay ~= 0 then wait(cmdDelay) end
  4908.                     end
  4909.                 end
  4910.             end
  4911.         end
  4912.     end)
  4913. end
  4914.  
  4915. function addcmd(name,alias,func,plgn)
  4916.     cmds[#cmds+1]=
  4917.         {
  4918.             NAME=name;
  4919.             ALIAS=alias or {};
  4920.             FUNC=func;
  4921.             PLUGIN=plgn;
  4922.         }
  4923. end
  4924.  
  4925. function removecmd(cmd)
  4926.     if cmd ~= " " then
  4927.         for i = #cmds,1,-1 do
  4928.             if cmds[i].NAME == cmd or FindInTable(cmds[i].ALIAS,cmd) then
  4929.                 table.remove(cmds, i)
  4930.                 for a,c in pairs(CMDsF:GetChildren()) do
  4931.                     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
  4932.                         c.TextTransparency = 0.7
  4933.                         c.MouseButton1Click:Connect(function()
  4934.                             notify(c.Text, "Command has been disabled by you or a plugin")
  4935.                         end)
  4936.                     end
  4937.                 end
  4938.             end
  4939.         end
  4940.     end
  4941. end
  4942.  
  4943. function addbind(cmd,key,iskeyup,toggle)
  4944.     if toggle then
  4945.         binds[#binds+1]=
  4946.             {
  4947.                 COMMAND=cmd;
  4948.                 KEY=key;
  4949.                 ISKEYUP=iskeyup;
  4950.                 TOGGLE = toggle;
  4951.             }
  4952.     else
  4953.         binds[#binds+1]=
  4954.             {
  4955.                 COMMAND=cmd;
  4956.                 KEY=key;
  4957.                 ISKEYUP=iskeyup;
  4958.             }
  4959.     end
  4960. end
  4961.  
  4962. function addcmdtext(text,name,desc)
  4963.     local newcmd = Example:Clone()
  4964.     local tooltipText = tostring(text)
  4965.     local tooltipDesc = tostring(desc)
  4966.     newcmd.Parent = CMDsF
  4967.     newcmd.Visible = false
  4968.     newcmd.Text = text
  4969.     newcmd.Name = 'PLUGIN_'..name
  4970.     table.insert(text1,newcmd)
  4971.     if desc and desc ~= '' then
  4972.         newcmd:SetAttribute("Title", tooltipText)
  4973.         newcmd:SetAttribute("Desc", tooltipDesc)
  4974.         newcmd.MouseButton1Down:Connect(function()
  4975.             if newcmd.Visible and newcmd.TextTransparency == 0 then
  4976.                 Cmdbar:CaptureFocus()
  4977.                 autoComplete(newcmd.Text)
  4978.                 maximizeHolder()
  4979.             end
  4980.         end)
  4981.     end
  4982. end
  4983.  
  4984. local WorldToScreen = function(Object)
  4985.     local ObjectVector = workspace.CurrentCamera:WorldToScreenPoint(Object.Position)
  4986.     return Vector2.new(ObjectVector.X, ObjectVector.Y)
  4987. end
  4988.  
  4989. local MousePositionToVector2 = function()
  4990.     return Vector2.new(IYMouse.X, IYMouse.Y)
  4991. end
  4992.  
  4993. local GetClosestPlayerFromCursor = function()
  4994.     local found = nil
  4995.     local ClosestDistance = math.huge
  4996.     for i, v in pairs(Players:GetPlayers()) do
  4997.         if v ~= Players.LocalPlayer and v.Character and v.Character:FindFirstChildOfClass("Humanoid") then
  4998.             for k, x in pairs(v.Character:GetChildren()) do
  4999.                 if string.find(x.Name, "Torso") then
  5000.                     local Distance = (WorldToScreen(x) - MousePositionToVector2()).Magnitude
  5001.                     if Distance < ClosestDistance then
  5002.                         ClosestDistance = Distance
  5003.                         found = v
  5004.                     end
  5005.                 end
  5006.             end
  5007.         end
  5008.     end
  5009.     return found
  5010. end
  5011.  
  5012. SpecialPlayerCases = {
  5013.     ["all"] = function(speaker) return Players:GetPlayers() end,
  5014.     ["others"] = function(speaker)
  5015.         local plrs = {}
  5016.         for i,v in pairs(Players:GetPlayers()) do
  5017.             if v ~= speaker then
  5018.                 table.insert(plrs,v)
  5019.             end
  5020.         end
  5021.         return plrs
  5022.     end,
  5023.     ["me"] = function(speaker)return {speaker} end,
  5024.     ["#(%d+)"] = function(speaker,args,currentList)
  5025.         local returns = {}
  5026.         local randAmount = tonumber(args[1])
  5027.         local players = {unpack(currentList)}
  5028.         for i = 1,randAmount do
  5029.             if #players == 0 then break end
  5030.             local randIndex = math.random(1,#players)
  5031.             table.insert(returns,players[randIndex])
  5032.             table.remove(players,randIndex)
  5033.         end
  5034.         return returns
  5035.     end,
  5036.     ["random"] = function(speaker,args,currentList)
  5037.         local players = Players:GetPlayers()
  5038.         local localplayer = Players.LocalPlayer
  5039.         table.remove(players, table.find(players, localplayer))
  5040.         return {players[math.random(1,#players)]}
  5041.     end,
  5042.     ["%%(.+)"] = function(speaker,args)
  5043.         local returns = {}
  5044.         local team = args[1]
  5045.         for _,plr in pairs(Players:GetPlayers()) do
  5046.             if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then
  5047.                 table.insert(returns,plr)
  5048.             end
  5049.         end
  5050.         return returns
  5051.     end,
  5052.     ["allies"] = function(speaker)
  5053.         local returns = {}
  5054.         local team = speaker.Team
  5055.         for _,plr in pairs(Players:GetPlayers()) do
  5056.             if plr.Team == team then
  5057.                 table.insert(returns,plr)
  5058.             end
  5059.         end
  5060.         return returns
  5061.     end,
  5062.     ["enemies"] = function(speaker)
  5063.         local returns = {}
  5064.         local team = speaker.Team
  5065.         for _,plr in pairs(Players:GetPlayers()) do
  5066.             if plr.Team ~= team then
  5067.                 table.insert(returns,plr)
  5068.             end
  5069.         end
  5070.         return returns
  5071.     end,
  5072.     ["team"] = function(speaker)
  5073.         local returns = {}
  5074.         local team = speaker.Team
  5075.         for _,plr in pairs(Players:GetPlayers()) do
  5076.             if plr.Team == team then
  5077.                 table.insert(returns,plr)
  5078.             end
  5079.         end
  5080.         return returns
  5081.     end,
  5082.     ["nonteam"] = function(speaker)
  5083.         local returns = {}
  5084.         local team = speaker.Team
  5085.         for _,plr in pairs(Players:GetPlayers()) do
  5086.             if plr.Team ~= team then
  5087.                 table.insert(returns,plr)
  5088.             end
  5089.         end
  5090.         return returns
  5091.     end,
  5092.     ["friends"] = function(speaker,args)
  5093.         local returns = {}
  5094.         for _,plr in pairs(Players:GetPlayers()) do
  5095.             if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  5096.                 table.insert(returns,plr)
  5097.             end
  5098.         end
  5099.         return returns
  5100.     end,
  5101.     ["nonfriends"] = function(speaker,args)
  5102.         local returns = {}
  5103.         for _,plr in pairs(Players:GetPlayers()) do
  5104.             if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  5105.                 table.insert(returns,plr)
  5106.             end
  5107.         end
  5108.         return returns
  5109.     end,
  5110.     ["guests"] = function(speaker,args)
  5111.         local returns = {}
  5112.         for _,plr in pairs(Players:GetPlayers()) do
  5113.             if plr.Guest then
  5114.                 table.insert(returns,plr)
  5115.             end
  5116.         end
  5117.         return returns
  5118.     end,
  5119.     ["bacons"] = function(speaker,args)
  5120.         local returns = {}
  5121.         for _,plr in pairs(Players:GetPlayers()) do
  5122.             if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then
  5123.                 table.insert(returns,plr)
  5124.             end
  5125.         end
  5126.         return returns
  5127.     end,
  5128.     ["age(%d+)"] = function(speaker,args)
  5129.         local returns = {}
  5130.         local age = tonumber(args[1])
  5131.         if not age == nil then return end
  5132.         for _,plr in pairs(Players:GetPlayers()) do
  5133.             if plr.AccountAge <= age then
  5134.                 table.insert(returns,plr)
  5135.             end
  5136.         end
  5137.         return returns
  5138.     end,
  5139.     ["nearest"] = function(speaker,args,currentList)
  5140.         local speakerChar = speaker.Character
  5141.         if not speakerChar or not getRoot(speakerChar) then return end
  5142.         local lowest = math.huge
  5143.         local NearestPlayer = nil
  5144.         for _,plr in pairs(currentList) do
  5145.             if plr ~= speaker and plr.Character then
  5146.                 local distance = plr:DistanceFromCharacter(getRoot(speakerChar).Position)
  5147.                 if distance < lowest then
  5148.                     lowest = distance
  5149.                     NearestPlayer = {plr}
  5150.                 end
  5151.             end
  5152.         end
  5153.         return NearestPlayer
  5154.     end,
  5155.     ["farthest"] = function(speaker,args,currentList)
  5156.         local speakerChar = speaker.Character
  5157.         if not speakerChar or not getRoot(speakerChar) then return end
  5158.         local highest = 0
  5159.         local Farthest = nil
  5160.         for _,plr in pairs(currentList) do
  5161.             if plr ~= speaker and plr.Character then
  5162.                 local distance = plr:DistanceFromCharacter(getRoot(speakerChar).Position)
  5163.                 if distance > highest then
  5164.                     highest = distance
  5165.                     Farthest = {plr}
  5166.                 end
  5167.             end
  5168.         end
  5169.         return Farthest
  5170.     end,
  5171.     ["group(%d+)"] = function(speaker,args)
  5172.         local returns = {}
  5173.         local groupID = tonumber(args[1])
  5174.         for _,plr in pairs(Players:GetPlayers()) do
  5175.             if plr:IsInGroup(groupID) then  
  5176.                 table.insert(returns,plr)
  5177.             end
  5178.         end
  5179.         return returns
  5180.     end,
  5181.     ["alive"] = function(speaker,args)
  5182.         local returns = {}
  5183.         for _,plr in pairs(Players:GetPlayers()) do
  5184.             if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") and plr.Character:FindFirstChildOfClass("Humanoid").Health > 0 then
  5185.                 table.insert(returns,plr)
  5186.             end
  5187.         end
  5188.         return returns
  5189.     end,
  5190.     ["dead"] = function(speaker,args)
  5191.         local returns = {}
  5192.         for _,plr in pairs(Players:GetPlayers()) do
  5193.             if (not plr.Character or not plr.Character:FindFirstChildOfClass("Humanoid")) or plr.Character:FindFirstChildOfClass("Humanoid").Health <= 0 then
  5194.                 table.insert(returns,plr)
  5195.             end
  5196.         end
  5197.         return returns
  5198.     end,
  5199.     ["rad(%d+)"] = function(speaker,args)
  5200.         local returns = {}
  5201.         local radius = tonumber(args[1])
  5202.         local speakerChar = speaker.Character
  5203.         if not speakerChar or not getRoot(speakerChar) then return end
  5204.         for _,plr in pairs(Players:GetPlayers()) do
  5205.             if plr.Character and getRoot(plr.Character) then
  5206.                 local magnitude = (getRoot(plr.Character).Position-getRoot(speakerChar).Position).magnitude
  5207.                 if magnitude <= radius then table.insert(returns,plr) end
  5208.             end
  5209.         end
  5210.         return returns
  5211.     end,
  5212.     ["cursor"] = function(speaker)
  5213.         local plrs = {}
  5214.         local v = GetClosestPlayerFromCursor()
  5215.         if v ~= nil then table.insert(plrs, v) end
  5216.         return plrs
  5217.     end,
  5218.     ["npcs"] = function(speaker,args)
  5219.         local returns = {}
  5220.         for _, v in pairs(workspace:GetDescendants()) do
  5221.             if v:IsA("Model") and getRoot(v) and v:FindFirstChildWhichIsA("Humanoid") and Players:GetPlayerFromCharacter(v) == nil then
  5222.                 local clone = Instance.new("Player")
  5223.                 clone.Name = v.Name .. " - " .. v:FindFirstChildWhichIsA("Humanoid").DisplayName
  5224.                 clone.Character = v
  5225.                 table.insert(returns, clone)
  5226.             end
  5227.         end
  5228.         return returns
  5229.     end,
  5230. }
  5231.  
  5232. function toTokens(str)
  5233.     local tokens = {}
  5234.     for op,name in string.gmatch(str,"([+-])([^+-]+)") do
  5235.         table.insert(tokens,{Operator = op,Name = name})
  5236.     end
  5237.     return tokens
  5238. end
  5239.  
  5240. function onlyIncludeInTable(tab,matches)
  5241.     local matchTable = {}
  5242.     local resultTable = {}
  5243.     for i,v in pairs(matches) do matchTable[v.Name] = true end
  5244.     for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end
  5245.     return resultTable
  5246. end
  5247.  
  5248. function removeTableMatches(tab,matches)
  5249.     local matchTable = {}
  5250.     local resultTable = {}
  5251.     for i,v in pairs(matches) do matchTable[v.Name] = true end
  5252.     for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end
  5253.     return resultTable
  5254. end
  5255.  
  5256. function getPlayersByName(Name)
  5257.     local Name,Len,Found = string.lower(Name),#Name,{}
  5258.     for _,v in pairs(Players:GetPlayers()) do
  5259.         if Name:sub(0,1) == '@' then
  5260.             if string.sub(string.lower(v.Name),1,Len-1) == Name:sub(2) then
  5261.                 table.insert(Found,v)
  5262.             end
  5263.         else
  5264.             if string.sub(string.lower(v.Name),1,Len) == Name or string.sub(string.lower(v.DisplayName),1,Len) == Name then
  5265.                 table.insert(Found,v)
  5266.             end
  5267.         end
  5268.     end
  5269.     return Found
  5270. end
  5271.  
  5272. function getPlayer(list,speaker)
  5273.     if list == nil then return {speaker.Name} end
  5274.     local nameList = splitString(list,",")
  5275.  
  5276.     local foundList = {}
  5277.  
  5278.     for _,name in pairs(nameList) do
  5279.         if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end
  5280.         local tokens = toTokens(name)
  5281.         local initialPlayers = Players:GetPlayers()
  5282.  
  5283.         for i,v in pairs(tokens) do
  5284.             if v.Operator == "+" then
  5285.                 local tokenContent = v.Name
  5286.                 local foundCase = false
  5287.                 for regex,case in pairs(SpecialPlayerCases) do
  5288.                     local matches = {string.match(tokenContent,"^"..regex.."$")}
  5289.                     if #matches > 0 then
  5290.                         foundCase = true
  5291.                         initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers))
  5292.                     end
  5293.                 end
  5294.                 if not foundCase then
  5295.                     initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent))
  5296.                 end
  5297.             else
  5298.                 local tokenContent = v.Name
  5299.                 local foundCase = false
  5300.                 for regex,case in pairs(SpecialPlayerCases) do
  5301.                     local matches = {string.match(tokenContent,"^"..regex.."$")}
  5302.                     if #matches > 0 then
  5303.                         foundCase = true
  5304.                         initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers))
  5305.                     end
  5306.                 end
  5307.                 if not foundCase then
  5308.                     initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent))
  5309.                 end
  5310.             end
  5311.         end
  5312.  
  5313.         for i,v in pairs(initialPlayers) do table.insert(foundList,v) end
  5314.     end
  5315.  
  5316.     local foundNames = {}
  5317.     for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end
  5318.  
  5319.     return foundNames
  5320. end
  5321.  
  5322. getprfx=function(strn)
  5323.     if strn:sub(1,string.len(prefix))==prefix then return{'cmd',string.len(prefix)+1}
  5324.     end return
  5325. end
  5326.  
  5327. function do_exec(str, plr)
  5328.     str = str:gsub('/e ', '')
  5329.     local t = getprfx(str)
  5330.     if not t then return end
  5331.     str = str:sub(t[2])
  5332.     if t[1]=='cmd' then
  5333.         execCmd(str, plr, true)
  5334.         IndexContents('',true,false,true)
  5335.         CMDsF.CanvasPosition = canvasPos
  5336.     end
  5337. end
  5338.  
  5339. lastTextBoxString,lastTextBoxCon,lastEnteredString = nil,nil,nil
  5340.  
  5341. UserInputService.TextBoxFocused:Connect(function(obj)
  5342.     if lastTextBoxCon then lastTextBoxCon:Disconnect() end
  5343.     if obj == Cmdbar then lastTextBoxString = nil return end
  5344.     lastTextBoxString = obj.Text
  5345.     lastTextBoxCon = obj:GetPropertyChangedSignal("Text"):Connect(function()
  5346.         if not (UserInputService:IsKeyDown(Enum.KeyCode.Return) or UserInputService:IsKeyDown(Enum.KeyCode.KeypadEnter)) then
  5347.             lastTextBoxString = obj.Text
  5348.         end
  5349.     end)
  5350. end)
  5351.  
  5352. UserInputService.InputBegan:Connect(function(input,gameProcessed)
  5353.     if gameProcessed then
  5354.         if Cmdbar and Cmdbar:IsFocused() then
  5355.             if input.KeyCode == Enum.KeyCode.Up then
  5356.                 historyCount = historyCount + 1
  5357.                 if historyCount > #cmdHistory then historyCount = #cmdHistory end
  5358.                 Cmdbar.Text = cmdHistory[historyCount] or ""
  5359.                 Cmdbar.CursorPosition = 1020
  5360.             elseif input.KeyCode == Enum.KeyCode.Down then
  5361.                 historyCount = historyCount - 1
  5362.                 if historyCount < 0 then historyCount = 0 end
  5363.                 Cmdbar.Text = cmdHistory[historyCount] or ""
  5364.                 Cmdbar.CursorPosition = 1020
  5365.             end
  5366.         elseif input.KeyCode == Enum.KeyCode.Return or input.KeyCode == Enum.KeyCode.KeypadEnter then
  5367.             lastEnteredString = lastTextBoxString
  5368.         end
  5369.     end
  5370. end)
  5371.  
  5372. Players.LocalPlayer.Chatted:Connect(function()
  5373.     wait()
  5374.     if lastEnteredString then
  5375.         local message = lastEnteredString
  5376.         lastEnteredString = nil
  5377.         do_exec(message, Players.LocalPlayer)
  5378.     end
  5379. end)
  5380.  
  5381. Cmdbar.PlaceholderText = "Command Bar ("..prefix..")"
  5382. Cmdbar:GetPropertyChangedSignal("Text"):Connect(function()
  5383.     if Cmdbar:IsFocused() then
  5384.         IndexContents(Cmdbar.Text,true,true)
  5385.     end
  5386. end)
  5387.  
  5388. local tabComplete = nil
  5389. tabAllowed = true
  5390. Cmdbar.FocusLost:Connect(function(enterpressed)
  5391.     if enterpressed then
  5392.         local cmdbarText = Cmdbar.Text:gsub("^"..prefix,"")
  5393.         execCmd(cmdbarText,Players.LocalPlayer,true)
  5394.     end
  5395.     if tabComplete then tabComplete:Disconnect() end
  5396.     wait()
  5397.     if not Cmdbar:IsFocused() then
  5398.         Cmdbar.Text = ""
  5399.         IndexContents('',true,false,true)
  5400.         if SettingsOpen == true then
  5401.             wait(0.2)
  5402.             Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.2, true, nil)
  5403.             CMDsF.Visible = false
  5404.         end
  5405.     end
  5406.     CMDsF.CanvasPosition = canvasPos
  5407. end)
  5408.  
  5409. Cmdbar.Focused:Connect(function()
  5410.     historyCount = 0
  5411.     canvasPos = CMDsF.CanvasPosition
  5412.     if SettingsOpen == true then
  5413.         wait(0.2)
  5414.         CMDsF.Visible = true
  5415.         Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil)
  5416.     end
  5417.     tabComplete = UserInputService.InputBegan:Connect(function(input,gameProcessed)
  5418.         if Cmdbar:IsFocused() then
  5419.             if tabAllowed == true and input.KeyCode == Enum.KeyCode.Tab and topCommand ~= nil then
  5420.                 autoComplete(topCommand)
  5421.             end
  5422.         else
  5423.             tabComplete:Disconnect()
  5424.         end
  5425.     end)
  5426. end)
  5427.  
  5428. ESPenabled = false
  5429. CHMSenabled = false
  5430.  
  5431. function round(num, numDecimalPlaces)
  5432.     local mult = 10^(numDecimalPlaces or 0)
  5433.     return math.floor(num * mult + 0.5) / mult
  5434. end
  5435.  
  5436. function ESP(plr)
  5437.     task.spawn(function()
  5438.         for i,v in pairs(COREGUI:GetChildren()) do
  5439.             if v.Name == plr.Name..'_ESP' then
  5440.                 v:Destroy()
  5441.             end
  5442.         end
  5443.         wait()
  5444.         if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not COREGUI:FindFirstChild(plr.Name..'_ESP') then
  5445.             local ESPholder = Instance.new("Folder")
  5446.             ESPholder.Name = plr.Name..'_ESP'
  5447.             ESPholder.Parent = COREGUI
  5448.             repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5449.             for b,n in pairs (plr.Character:GetChildren()) do
  5450.                 if (n:IsA("BasePart")) then
  5451.                     local a = Instance.new("BoxHandleAdornment")
  5452.                     a.Name = plr.Name
  5453.                     a.Parent = ESPholder
  5454.                     a.Adornee = n
  5455.                     a.AlwaysOnTop = true
  5456.                     a.ZIndex = 10
  5457.                     a.Size = n.Size
  5458.                     a.Transparency = espTransparency
  5459.                     a.Color = plr.TeamColor
  5460.                 end
  5461.             end
  5462.             if plr.Character and plr.Character:FindFirstChild('Head') then
  5463.                 local BillboardGui = Instance.new("BillboardGui")
  5464.                 local TextLabel = Instance.new("TextLabel")
  5465.                 BillboardGui.Adornee = plr.Character.Head
  5466.                 BillboardGui.Name = plr.Name
  5467.                 BillboardGui.Parent = ESPholder
  5468.                 BillboardGui.Size = UDim2.new(0, 100, 0, 150)
  5469.                 BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
  5470.                 BillboardGui.AlwaysOnTop = true
  5471.                 TextLabel.Parent = BillboardGui
  5472.                 TextLabel.BackgroundTransparency = 1
  5473.                 TextLabel.Position = UDim2.new(0, 0, 0, -50)
  5474.                 TextLabel.Size = UDim2.new(0, 100, 0, 100)
  5475.                 TextLabel.Font = Enum.Font.SourceSansSemibold
  5476.                 TextLabel.TextSize = 20
  5477.                 TextLabel.TextColor3 = Color3.new(1, 1, 1)
  5478.                 TextLabel.TextStrokeTransparency = 0
  5479.                 TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
  5480.                 TextLabel.Text = 'Name: '..plr.Name
  5481.                 TextLabel.ZIndex = 10
  5482.                 local espLoopFunc
  5483.                 local teamChange
  5484.                 local addedFunc
  5485.                 addedFunc = plr.CharacterAdded:Connect(function()
  5486.                     if ESPenabled then
  5487.                         espLoopFunc:Disconnect()
  5488.                         teamChange:Disconnect()
  5489.                         ESPholder:Destroy()
  5490.                         repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5491.                         ESP(plr)
  5492.                         addedFunc:Disconnect()
  5493.                     else
  5494.                         teamChange:Disconnect()
  5495.                         addedFunc:Disconnect()
  5496.                     end
  5497.                 end)
  5498.                 teamChange = plr:GetPropertyChangedSignal("TeamColor"):Connect(function()
  5499.                     if ESPenabled then
  5500.                         espLoopFunc:Disconnect()
  5501.                         addedFunc:Disconnect()
  5502.                         ESPholder:Destroy()
  5503.                         repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5504.                         ESP(plr)
  5505.                         teamChange:Disconnect()
  5506.                     else
  5507.                         teamChange:Disconnect()
  5508.                     end
  5509.                 end)
  5510.                 local function espLoop()
  5511.                     if COREGUI:FindFirstChild(plr.Name..'_ESP') then
  5512.                         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
  5513.                             local pos = math.floor((getRoot(Players.LocalPlayer.Character).Position - getRoot(plr.Character).Position).magnitude)
  5514.                             TextLabel.Text = 'Name: '..plr.Name..' | Health: '..round(plr.Character:FindFirstChildOfClass('Humanoid').Health, 1)..' | Studs: '..pos
  5515.                         end
  5516.                     else
  5517.                         teamChange:Disconnect()
  5518.                         addedFunc:Disconnect()
  5519.                         espLoopFunc:Disconnect()
  5520.                     end
  5521.                 end
  5522.                 espLoopFunc = RunService.RenderStepped:Connect(espLoop)
  5523.             end
  5524.         end
  5525.     end)
  5526. end
  5527.  
  5528. function CHMS(plr)
  5529.     task.spawn(function()
  5530.         for i,v in pairs(COREGUI:GetChildren()) do
  5531.             if v.Name == plr.Name..'_CHMS' then
  5532.                 v:Destroy()
  5533.             end
  5534.         end
  5535.         wait()
  5536.         if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not COREGUI:FindFirstChild(plr.Name..'_CHMS') then
  5537.             local ESPholder = Instance.new("Folder")
  5538.             ESPholder.Name = plr.Name..'_CHMS'
  5539.             ESPholder.Parent = COREGUI
  5540.             repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5541.             for b,n in pairs (plr.Character:GetChildren()) do
  5542.                 if (n:IsA("BasePart")) then
  5543.                     local a = Instance.new("BoxHandleAdornment")
  5544.                     a.Name = plr.Name
  5545.                     a.Parent = ESPholder
  5546.                     a.Adornee = n
  5547.                     a.AlwaysOnTop = true
  5548.                     a.ZIndex = 10
  5549.                     a.Size = n.Size
  5550.                     a.Transparency = espTransparency
  5551.                     a.Color = plr.TeamColor
  5552.                 end
  5553.             end
  5554.             local addedFunc
  5555.             local teamChange
  5556.             local CHMSremoved
  5557.             addedFunc = plr.CharacterAdded:Connect(function()
  5558.                 if CHMSenabled then
  5559.                     ESPholder:Destroy()
  5560.                     teamChange:Disconnect()
  5561.                     repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5562.                     CHMS(plr)
  5563.                     addedFunc:Disconnect()
  5564.                 else
  5565.                     teamChange:Disconnect()
  5566.                     addedFunc:Disconnect()
  5567.                 end
  5568.             end)
  5569.             teamChange = plr:GetPropertyChangedSignal("TeamColor"):Connect(function()
  5570.                 if CHMSenabled then
  5571.                     ESPholder:Destroy()
  5572.                     addedFunc:Disconnect()
  5573.                     repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5574.                     CHMS(plr)
  5575.                     teamChange:Disconnect()
  5576.                 else
  5577.                     teamChange:Disconnect()
  5578.                 end
  5579.             end)
  5580.             CHMSremoved = ESPholder.AncestryChanged:Connect(function()
  5581.                 teamChange:Disconnect()
  5582.                 addedFunc:Disconnect()
  5583.                 CHMSremoved:Disconnect()
  5584.             end)
  5585.         end
  5586.     end)
  5587. end
  5588.  
  5589. function Locate(plr)
  5590.     task.spawn(function()
  5591.         for i,v in pairs(COREGUI:GetChildren()) do
  5592.             if v.Name == plr.Name..'_LC' then
  5593.                 v:Destroy()
  5594.             end
  5595.         end
  5596.         wait()
  5597.         if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not COREGUI:FindFirstChild(plr.Name..'_LC') then
  5598.             local ESPholder = Instance.new("Folder")
  5599.             ESPholder.Name = plr.Name..'_LC'
  5600.             ESPholder.Parent = COREGUI
  5601.             repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5602.             for b,n in pairs (plr.Character:GetChildren()) do
  5603.                 if (n:IsA("BasePart")) then
  5604.                     local a = Instance.new("BoxHandleAdornment")
  5605.                     a.Name = plr.Name
  5606.                     a.Parent = ESPholder
  5607.                     a.Adornee = n
  5608.                     a.AlwaysOnTop = true
  5609.                     a.ZIndex = 10
  5610.                     a.Size = n.Size
  5611.                     a.Transparency = espTransparency
  5612.                     a.Color = plr.TeamColor
  5613.                 end
  5614.             end
  5615.             if plr.Character and plr.Character:FindFirstChild('Head') then
  5616.                 local BillboardGui = Instance.new("BillboardGui")
  5617.                 local TextLabel = Instance.new("TextLabel")
  5618.                 BillboardGui.Adornee = plr.Character.Head
  5619.                 BillboardGui.Name = plr.Name
  5620.                 BillboardGui.Parent = ESPholder
  5621.                 BillboardGui.Size = UDim2.new(0, 100, 0, 150)
  5622.                 BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
  5623.                 BillboardGui.AlwaysOnTop = true
  5624.                 TextLabel.Parent = BillboardGui
  5625.                 TextLabel.BackgroundTransparency = 1
  5626.                 TextLabel.Position = UDim2.new(0, 0, 0, -50)
  5627.                 TextLabel.Size = UDim2.new(0, 100, 0, 100)
  5628.                 TextLabel.Font = Enum.Font.SourceSansSemibold
  5629.                 TextLabel.TextSize = 20
  5630.                 TextLabel.TextColor3 = Color3.new(1, 1, 1)
  5631.                 TextLabel.TextStrokeTransparency = 0
  5632.                 TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
  5633.                 TextLabel.Text = 'Name: '..plr.Name
  5634.                 TextLabel.ZIndex = 10
  5635.                 local lcLoopFunc
  5636.                 local addedFunc
  5637.                 local teamChange
  5638.                 addedFunc = plr.CharacterAdded:Connect(function()
  5639.                     if ESPholder ~= nil and ESPholder.Parent ~= nil then
  5640.                         lcLoopFunc:Disconnect()
  5641.                         teamChange:Disconnect()
  5642.                         ESPholder:Destroy()
  5643.                         repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5644.                         Locate(plr)
  5645.                         addedFunc:Disconnect()
  5646.                     else
  5647.                         teamChange:Disconnect()
  5648.                         addedFunc:Disconnect()
  5649.                     end
  5650.                 end)
  5651.                 teamChange = plr:GetPropertyChangedSignal("TeamColor"):Connect(function()
  5652.                     if ESPholder ~= nil and ESPholder.Parent ~= nil then
  5653.                         lcLoopFunc:Disconnect()
  5654.                         addedFunc:Disconnect()
  5655.                         ESPholder:Destroy()
  5656.                         repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5657.                         Locate(plr)
  5658.                         teamChange:Disconnect()
  5659.                     else
  5660.                         teamChange:Disconnect()
  5661.                     end
  5662.                 end)
  5663.                 local function lcLoop()
  5664.                     if COREGUI:FindFirstChild(plr.Name..'_LC') then
  5665.                         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
  5666.                             local pos = math.floor((getRoot(Players.LocalPlayer.Character).Position - getRoot(plr.Character).Position).magnitude)
  5667.                             TextLabel.Text = 'Name: '..plr.Name..' | Health: '..round(plr.Character:FindFirstChildOfClass('Humanoid').Health, 1)..' | Studs: '..pos
  5668.                         end
  5669.                     else
  5670.                         teamChange:Disconnect()
  5671.                         addedFunc:Disconnect()
  5672.                         lcLoopFunc:Disconnect()
  5673.                     end
  5674.                 end
  5675.                 lcLoopFunc = RunService.RenderStepped:Connect(lcLoop)
  5676.             end
  5677.         end
  5678.     end)
  5679. end
  5680.  
  5681. local bindsGUI = KeybindEditor
  5682. local awaitingInput = false
  5683. local keySelected = false
  5684.  
  5685. function refreshbinds()
  5686.     if Holder_2 then
  5687.         Holder_2:ClearAllChildren()
  5688.         Holder_2.CanvasSize = UDim2.new(0, 0, 0, 10)
  5689.         for i = 1, #binds do
  5690.             local YSize = 25
  5691.             local Position = ((i * YSize) - YSize)
  5692.             local newbind = Example_2:Clone()
  5693.             newbind.Parent = Holder_2
  5694.             newbind.Visible = true
  5695.             newbind.Position = UDim2.new(0,0,0, Position + 5)
  5696.             table.insert(shade2,newbind)
  5697.             table.insert(shade2,newbind.Text)
  5698.             table.insert(text1,newbind.Text)
  5699.             table.insert(shade3,newbind.Text.Delete)
  5700.             table.insert(text2,newbind.Text.Delete)
  5701.             local input = tostring(binds[i].KEY)
  5702.             local key
  5703.             if input == 'RightClick' or input == 'LeftClick' then
  5704.                 key = input
  5705.             else
  5706.                 key = input:sub(14)
  5707.             end
  5708.             if binds[i].TOGGLE then
  5709.                 newbind.Text.Text = key.." > "..binds[i].COMMAND.." / "..binds[i].TOGGLE
  5710.             else
  5711.                 newbind.Text.Text = key.." > "..binds[i].COMMAND.."  "..(binds[i].ISKEYUP and "(keyup)" or "(keydown)")
  5712.             end
  5713.             Holder_2.CanvasSize = UDim2.new(0,0,0, Position + 30)
  5714.             newbind.Text.Delete.MouseButton1Click:Connect(function()
  5715.                 unkeybind(binds[i].COMMAND,binds[i].KEY)
  5716.             end)
  5717.         end
  5718.     end
  5719. end
  5720.  
  5721. refreshbinds()
  5722.  
  5723. toggleOn = {}
  5724.  
  5725. function unkeybind(cmd,key)
  5726.     for i = #binds,1,-1 do
  5727.         if binds[i].COMMAND == cmd and binds[i].KEY == key then
  5728.             toggleOn[binds[i]] = nil
  5729.             table.remove(binds, i)
  5730.         end
  5731.     end
  5732.     refreshbinds()
  5733.     updatesaves()
  5734.     if key == 'RightClick' or key == 'LeftClick' then
  5735.         notify('Keybinds Updated','Unbinded '..key..' from '..cmd)
  5736.     else
  5737.         notify('Keybinds Updated','Unbinded '..key:sub(14)..' from '..cmd)
  5738.     end
  5739. end
  5740.  
  5741. PositionsFrame.Delete.MouseButton1Click:Connect(function()
  5742.     execCmd('cpos')
  5743. end)
  5744.  
  5745. function refreshwaypoints()
  5746.     if #WayPoints > 0 or #pWayPoints > 0 then
  5747.         PositionsHint:Destroy()
  5748.     end
  5749.     if Holder_4 then
  5750.         Holder_4:ClearAllChildren()
  5751.         Holder_4.CanvasSize = UDim2.new(0, 0, 0, 10)
  5752.         local YSize = 25
  5753.         local num = 1
  5754.         for i = 1, #WayPoints do
  5755.             local Position = ((num * YSize) - YSize)
  5756.             local newpoint = Example_4:Clone()
  5757.             newpoint.Parent = Holder_4
  5758.             newpoint.Visible = true
  5759.             newpoint.Position = UDim2.new(0,0,0, Position + 5)
  5760.             newpoint.Text.Text = WayPoints[i].NAME
  5761.             table.insert(shade2,newpoint)
  5762.             table.insert(shade2,newpoint.Text)
  5763.             table.insert(text1,newpoint.Text)
  5764.             table.insert(shade3,newpoint.Text.Delete)
  5765.             table.insert(text2,newpoint.Text.Delete)
  5766.             table.insert(shade3,newpoint.Text.TP)
  5767.             table.insert(text2,newpoint.Text.TP)
  5768.             Holder_4.CanvasSize = UDim2.new(0,0,0, Position + 30)
  5769.             newpoint.Text.Delete.MouseButton1Click:Connect(function()
  5770.                 execCmd('dpos '..WayPoints[i].NAME)
  5771.             end)
  5772.             newpoint.Text.TP.MouseButton1Click:Connect(function()
  5773.                 execCmd("loadpos "..WayPoints[i].NAME)
  5774.             end)
  5775.             num = num+1
  5776.         end
  5777.         for i = 1, #pWayPoints do
  5778.             local Position = ((num * YSize) - YSize)
  5779.             local newpoint = Example_4:Clone()
  5780.             newpoint.Parent = Holder_4
  5781.             newpoint.Visible = true
  5782.             newpoint.Position = UDim2.new(0,0,0, Position + 5)
  5783.             newpoint.Text.Text = pWayPoints[i].NAME
  5784.             table.insert(shade2,newpoint)
  5785.             table.insert(shade2,newpoint.Text)
  5786.             table.insert(text1,newpoint.Text)
  5787.             table.insert(shade3,newpoint.Text.Delete)
  5788.             table.insert(text2,newpoint.Text.Delete)
  5789.             table.insert(shade3,newpoint.Text.TP)
  5790.             table.insert(text2,newpoint.Text.TP)
  5791.             Holder_4.CanvasSize = UDim2.new(0,0,0, Position + 30)
  5792.             newpoint.Text.Delete.MouseButton1Click:Connect(function()
  5793.                 execCmd('dpos '..pWayPoints[i].NAME)
  5794.             end)
  5795.             newpoint.Text.TP.MouseButton1Click:Connect(function()
  5796.                 execCmd("loadpos "..pWayPoints[i].NAME)
  5797.             end)
  5798.             num = num+1
  5799.         end
  5800.     end
  5801. end
  5802.  
  5803. refreshwaypoints()
  5804.  
  5805. function refreshaliases()
  5806.     if #aliases > 0 then
  5807.         AliasHint:Destroy()
  5808.     end
  5809.     if Holder_3 then
  5810.         Holder_3:ClearAllChildren()
  5811.         Holder_3.CanvasSize = UDim2.new(0, 0, 0, 10)
  5812.         for i = 1, #aliases do
  5813.             local YSize = 25
  5814.             local Position = ((i * YSize) - YSize)
  5815.             local newalias = Example_3:Clone()
  5816.             newalias.Parent = Holder_3
  5817.             newalias.Visible = true
  5818.             newalias.Position = UDim2.new(0,0,0, Position + 5)
  5819.             newalias.Text.Text = aliases[i].CMD.." > "..aliases[i].ALIAS
  5820.             table.insert(shade2,newalias)
  5821.             table.insert(shade2,newalias.Text)
  5822.             table.insert(text1,newalias.Text)
  5823.             table.insert(shade3,newalias.Text.Delete)
  5824.             table.insert(text2,newalias.Text.Delete)
  5825.             Holder_3.CanvasSize = UDim2.new(0,0,0, Position + 30)
  5826.             newalias.Text.Delete.MouseButton1Click:Connect(function()
  5827.                 execCmd('removealias '..aliases[i].ALIAS)
  5828.             end)
  5829.         end
  5830.     end
  5831. end
  5832.  
  5833. local bindChosenKeyUp = false
  5834.  
  5835. BindTo.MouseButton1Click:Connect(function()
  5836.     awaitingInput = true
  5837.     BindTo.Text = 'Press something'
  5838. end)
  5839.  
  5840. BindTriggerSelect.MouseButton1Click:Connect(function()
  5841.     bindChosenKeyUp = not bindChosenKeyUp
  5842.     BindTriggerSelect.Text = bindChosenKeyUp and "KeyUp" or "KeyDown"
  5843. end)
  5844.  
  5845. newToggle = false
  5846. Cmdbar_3.Parent.Visible = false
  5847. On_2.MouseButton1Click:Connect(function()
  5848.     if newToggle == false then newToggle = true
  5849.         On_2.BackgroundTransparency = 0
  5850.         Cmdbar_3.Parent.Visible = true
  5851.         BindTriggerSelect.Visible = false
  5852.     else newToggle = false
  5853.         On_2.BackgroundTransparency = 1
  5854.         Cmdbar_3.Parent.Visible = false
  5855.         BindTriggerSelect.Visible = true
  5856.     end
  5857. end)
  5858.  
  5859. Add_2.MouseButton1Click:Connect(function()
  5860.     if keySelected then
  5861.         if string.find(Cmdbar_2.Text, "\\\\") or string.find(Cmdbar_3.Text, "\\\\") then
  5862.             notify('Keybind Error','Only use one backslash to keybind multiple commands into one keybind or command')
  5863.         else
  5864.             if newToggle and Cmdbar_3.Text ~= '' and Cmdbar_2.text ~= '' then
  5865.                 addbind(Cmdbar_2.Text,keyPressed,false,Cmdbar_3.Text)
  5866.             elseif not newToggle and Cmdbar_2.text ~= '' then
  5867.                 addbind(Cmdbar_2.Text,keyPressed,bindChosenKeyUp)
  5868.             else
  5869.                 return
  5870.             end
  5871.             refreshbinds()
  5872.             updatesaves()
  5873.             if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  5874.                 notify('Keybinds Updated','Binded '..keyPressed..' to '..Cmdbar_2.Text..(newToggle and " / "..Cmdbar_3.Text or ""))
  5875.             else
  5876.                 notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to '..Cmdbar_2.Text..(newToggle and " / "..Cmdbar_3.Text or ""))
  5877.             end
  5878.         end
  5879.     end
  5880. end)
  5881.  
  5882. Exit_2.MouseButton1Click:Connect(function()
  5883.     Cmdbar_2.Text = 'Command'
  5884.     Cmdbar_3.Text = 'Command 2'
  5885.     BindTo.Text = 'Click to bind'
  5886.     bindChosenKeyUp = false
  5887.     BindTriggerSelect.Text = "KeyDown"
  5888.     keySelected = false
  5889.     KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  5890. end)
  5891.  
  5892. function onInputBegan(input,gameProcessed)
  5893.     if awaitingInput then
  5894.         if input.UserInputType == Enum.UserInputType.Keyboard then
  5895.             keyPressed = tostring(input.KeyCode)
  5896.             BindTo.Text = keyPressed:sub(14)
  5897.         elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  5898.             keyPressed = 'LeftClick'
  5899.             BindTo.Text = 'LeftClick'
  5900.         elseif input.UserInputType == Enum.UserInputType.MouseButton2 then
  5901.             keyPressed = 'RightClick'
  5902.             BindTo.Text = 'RightClick'
  5903.         end
  5904.         awaitingInput = false
  5905.         keySelected = true
  5906.     end
  5907.     if not gameProcessed and #binds > 0 then
  5908.         for i,v in pairs(binds) do
  5909.             if not v.ISKEYUP then
  5910.                 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
  5911.                     if v.TOGGLE then
  5912.                         local isOn = toggleOn[v] == true
  5913.                         toggleOn[v] = not isOn
  5914.                         if isOn then
  5915.                             execCmd(v.TOGGLE,Players.LocalPlayer)
  5916.                         else
  5917.                             execCmd(v.COMMAND,Players.LocalPlayer)
  5918.                         end
  5919.                     else
  5920.                         execCmd(v.COMMAND,Players.LocalPlayer)
  5921.                     end
  5922.                 end
  5923.             end
  5924.         end
  5925.     end
  5926. end
  5927.  
  5928. function onInputEnded(input,gameProcessed)
  5929.     if not gameProcessed and #binds > 0 then
  5930.         for i,v in pairs(binds) do
  5931.             if v.ISKEYUP then
  5932.                 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
  5933.                     execCmd(v.COMMAND,Players.LocalPlayer)
  5934.                 end
  5935.             end
  5936.         end
  5937.     end
  5938. end
  5939.  
  5940. UserInputService.InputBegan:Connect(onInputBegan)
  5941. UserInputService.InputEnded:Connect(onInputEnded)
  5942.  
  5943. ClickTP.Select.MouseButton1Click:Connect(function()
  5944.     if keySelected then
  5945.         addbind('clicktp',keyPressed,bindChosenKeyUp)
  5946.         refreshbinds()
  5947.         updatesaves()
  5948.         if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  5949.             notify('Keybinds Updated','Binded '..keyPressed..' to click tp')
  5950.         else
  5951.             notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to click tp')
  5952.         end
  5953.     end
  5954. end)
  5955.  
  5956. ClickDelete.Select.MouseButton1Click:Connect(function()
  5957.     if keySelected then
  5958.         addbind('clickdel',keyPressed,bindChosenKeyUp)
  5959.         refreshbinds()
  5960.         updatesaves()
  5961.         if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  5962.             notify('Keybinds Updated','Binded '..keyPressed..' to click delete')
  5963.         else
  5964.             notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to click delete')
  5965.         end
  5966.     end
  5967. end)
  5968.  
  5969. local function clicktpFunc()
  5970.     pcall(function()
  5971.         local character = Players.LocalPlayer.Character
  5972.         local humanoid = character:FindFirstChildOfClass("Humanoid")
  5973.         if humanoid and humanoid.SeatPart then
  5974.             humanoid.Sit = false
  5975.             wait(0.1)
  5976.         end
  5977.        
  5978.         local hipHeight = humanoid and humanoid.HipHeight > 0 and (humanoid.HipHeight + 1)
  5979.         local rootPart = getRoot(character)
  5980.         local rootPartPosition = rootPart.Position
  5981.         local hitPosition = IYMouse.Hit.Position
  5982.         local newCFrame = CFrame.new(
  5983.             hitPosition,
  5984.             Vector3.new(rootPartPosition.X, hitPosition.Y, rootPartPosition.Z)
  5985.         ) * CFrame.Angles(0, math.pi, 0)
  5986.  
  5987.         rootPart.CFrame = newCFrame + Vector3.new(0, hipHeight or 4, 0)
  5988.     end)
  5989. end
  5990.  
  5991. IYMouse.Button1Down:Connect(function()
  5992.     for i,v in pairs(binds) do
  5993.         if v.COMMAND == 'clicktp' then
  5994.             local input = v.KEY
  5995.             if input == 'RightClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) and Players.LocalPlayer.Character then
  5996.                 clicktpFunc()
  5997.             elseif input == 'LeftClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) and Players.LocalPlayer.Character then
  5998.                 clicktpFunc()
  5999.             elseif UserInputService:IsKeyDown(Enum.KeyCode[input:sub(14)]) and Players.LocalPlayer.Character then
  6000.                 clicktpFunc()
  6001.             end
  6002.         elseif v.COMMAND == 'clickdel' then
  6003.             local input = v.KEY
  6004.             if input == 'RightClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then
  6005.                 pcall(function() IYMouse.Target:Destroy() end)
  6006.             elseif input == 'LeftClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
  6007.                 pcall(function() IYMouse.Target:Destroy() end)
  6008.             elseif UserInputService:IsKeyDown(Enum.KeyCode[input:sub(14)]) then
  6009.                 pcall(function() IYMouse.Target:Destroy() end)
  6010.             end
  6011.         end
  6012.     end
  6013. end)
  6014.  
  6015. PluginsGUI = PluginEditor.background
  6016.  
  6017. function addPlugin(name)
  6018.     if name:lower() == 'plugin file name' or name:lower() == 'iy_fe.iy' or name == 'iy_fe' then
  6019.         notify('Plugin Error','Please enter a valid plugin')
  6020.     else
  6021.         local file
  6022.         local fileName
  6023.         if name:sub(-3) == '.iy' then
  6024.             pcall(function() file = readfile(name) end)
  6025.             fileName = name
  6026.         else
  6027.             pcall(function() file = readfile(name..'.iy') end)
  6028.             fileName = name..'.iy'
  6029.         end
  6030.         if file then
  6031.             if not FindInTable(PluginsTable, fileName) then
  6032.                 table.insert(PluginsTable, fileName)
  6033.                 LoadPlugin(fileName)
  6034.                 refreshplugins()
  6035.                 pcall(eventEditor.Refresh)
  6036.             else
  6037.                 notify('Plugin Error','This plugin is already added')
  6038.             end
  6039.         else
  6040.             notify('Plugin Error','Cannot locate file "'..fileName..'". Is the file in the correct folder?')
  6041.         end
  6042.     end
  6043. end
  6044.  
  6045. function deletePlugin(name)
  6046.     local pName = name..'.iy'
  6047.     if name:sub(-3) == '.iy' then
  6048.         pName = name
  6049.     end
  6050.     for i = #cmds,1,-1 do
  6051.         if cmds[i].PLUGIN == pName then
  6052.             table.remove(cmds, i)
  6053.         end
  6054.     end
  6055.     for i,v in pairs(CMDsF:GetChildren()) do
  6056.         if v.Name == 'PLUGIN_'..pName then
  6057.             v:Destroy()
  6058.         end
  6059.     end
  6060.     for i,v in pairs(PluginsTable) do
  6061.         if v == pName then
  6062.             table.remove(PluginsTable, i)
  6063.             notify('Removed Plugin',pName..' was removed')
  6064.         end
  6065.     end
  6066.     IndexContents('',true)
  6067.     refreshplugins()
  6068. end
  6069.  
  6070. function refreshplugins(dontSave)
  6071.     if #PluginsTable > 0 then
  6072.         PluginsHint:Destroy()
  6073.     end
  6074.     if Holder_5 then
  6075.         Holder_5:ClearAllChildren()
  6076.         Holder_5.CanvasSize = UDim2.new(0, 0, 0, 10)
  6077.         for i,v in pairs(PluginsTable) do
  6078.             local pName = v
  6079.             local YSize = 25
  6080.             local Position = ((i * YSize) - YSize)
  6081.             local newplugin = Example_5:Clone()
  6082.             newplugin.Parent = Holder_5
  6083.             newplugin.Visible = true
  6084.             newplugin.Position = UDim2.new(0,0,0, Position + 5)
  6085.             newplugin.Text.Text = pName
  6086.             table.insert(shade2,newplugin)
  6087.             table.insert(shade2,newplugin.Text)
  6088.             table.insert(text1,newplugin.Text)
  6089.             table.insert(shade3,newplugin.Text.Delete)
  6090.             table.insert(text2,newplugin.Text.Delete)
  6091.             Holder_5.CanvasSize = UDim2.new(0,0,0, Position + 30)
  6092.             newplugin.Text.Delete.MouseButton1Click:Connect(function()
  6093.                 deletePlugin(pName)
  6094.             end)
  6095.         end
  6096.         if not dontSave then
  6097.             updatesaves()
  6098.         end
  6099.     end
  6100. end
  6101.  
  6102. local PluginCache
  6103. function LoadPlugin(val,startup)
  6104.     local plugin
  6105.  
  6106.     function CatchedPluginLoad()
  6107.         plugin = loadfile(val)()
  6108.     end
  6109.  
  6110.     function handlePluginError(plerror)
  6111.         notify('Plugin Error','An error occurred with the plugin, "'..val..'" and it could not be loaded')
  6112.         if FindInTable(PluginsTable,val) then
  6113.             for i,v in pairs(PluginsTable) do
  6114.                 if v == val then
  6115.                     table.remove(PluginsTable,i)
  6116.                 end
  6117.             end
  6118.         end
  6119.         updatesaves()
  6120.  
  6121.         print("Original Error: "..tostring(plerror))
  6122.         print("Plugin Error, stack traceback: "..tostring(debug.traceback()))
  6123.  
  6124.         plugin = nil
  6125.  
  6126.         return false
  6127.     end
  6128.  
  6129.     xpcall(CatchedPluginLoad, handlePluginError)
  6130.  
  6131.     if plugin ~= nil then
  6132.         if not startup then
  6133.             notify('Loaded Plugin',"Name: "..plugin["PluginName"].."\n".."Description: "..plugin["PluginDescription"])
  6134.         end
  6135.         addcmdtext('',val)
  6136.         addcmdtext(string.upper('--'..plugin["PluginName"]),val,plugin["PluginDescription"])
  6137.         if plugin["Commands"] then
  6138.             for i,v in pairs(plugin["Commands"]) do
  6139.                 local cmdExt = ''
  6140.                 local cmdName = i
  6141.                 local function handleNames()
  6142.                     cmdName = i
  6143.                     if findCmd(cmdName..cmdExt) then
  6144.                         if isNumber(cmdExt) then
  6145.                             cmdExt = cmdExt+1
  6146.                         else
  6147.                             cmdExt = 1
  6148.                         end
  6149.                         handleNames()
  6150.                     else
  6151.                         cmdName = cmdName..cmdExt
  6152.                     end
  6153.                 end
  6154.                 handleNames()
  6155.                 addcmd(cmdName, v["Aliases"], v["Function"], val)
  6156.                 if v["ListName"] then
  6157.                     local newName = v.ListName
  6158.                     local cmdNames = {i,unpack(v.Aliases)}
  6159.                     for i,v in pairs(cmdNames) do
  6160.                         newName = newName:gsub(v,v..cmdExt)
  6161.                     end
  6162.                     addcmdtext(newName,val,v["Description"])
  6163.                 else
  6164.                     addcmdtext(cmdName,val,v["Description"])
  6165.                 end
  6166.             end
  6167.         end
  6168.         IndexContents('',true)
  6169.     elseif plugin == nil then
  6170.         plugin = nil
  6171.     end
  6172. end
  6173.  
  6174. function FindPlugins()
  6175.     if PluginsTable ~= nil and type(PluginsTable) == "table" then
  6176.         for i,v in pairs(PluginsTable) do
  6177.             LoadPlugin(v,true)
  6178.         end
  6179.         refreshplugins(true)
  6180.     end
  6181. end
  6182.  
  6183. AddPlugin.MouseButton1Click:Connect(function()
  6184.     addPlugin(PluginsGUI.FileName.Text)
  6185. end)
  6186.  
  6187. Exit_3.MouseButton1Click:Connect(function()
  6188.     PluginEditor:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  6189.     FileName.Text = 'Plugin File Name'
  6190. end)
  6191.  
  6192. Add_3.MouseButton1Click:Connect(function()
  6193.     PluginEditor:TweenPosition(UDim2.new(0.5, -180, 0, 310), "InOut", "Quart", 0.5, true, nil)
  6194. end)
  6195.  
  6196. Plugins.MouseButton1Click:Connect(function()
  6197.     if writefileExploit() then
  6198.         PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  6199.         wait(0.5)
  6200.         SettingsHolder.Visible = false
  6201.     else
  6202.         notify('Incompatible Exploit','Your exploit is unable to use plugins (missing read/writefile)')
  6203.     end
  6204. end)
  6205.  
  6206. Close_4.MouseButton1Click:Connect(function()
  6207.     SettingsHolder.Visible = true
  6208.     PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  6209. end)
  6210.  
  6211. Players.LocalPlayer.OnTeleport:Connect(function(State)
  6212.     if State == Enum.TeleportState.Started then
  6213.         if KeepInfYield and queueteleport then
  6214.             queueteleport("loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()")
  6215.         end
  6216.     end
  6217. end)
  6218.  
  6219. addcmd('addalias',{},function(args, speaker)
  6220.     if #args < 2 then return end
  6221.     local cmd = string.lower(args[1])
  6222.     local alias = string.lower(args[2])
  6223.     for i,v in pairs(cmds) do
  6224.         if v.NAME:lower()==cmd or FindInTable(v.ALIAS,cmd) then
  6225.             customAlias[alias] = v
  6226.             aliases[#aliases + 1] = {CMD = cmd, ALIAS = alias}
  6227.             notify('Aliases Modified',"Added "..alias.." as an alias to "..cmd)
  6228.             updatesaves()
  6229.             refreshaliases()
  6230.             break
  6231.         end
  6232.     end
  6233. end)
  6234.  
  6235. addcmd('removealias',{},function(args, speaker)
  6236.     if #args < 1 then return end
  6237.     local alias = string.lower(args[1])
  6238.     if customAlias[alias] then
  6239.         local cmd = customAlias[alias].NAME
  6240.         customAlias[alias] = nil
  6241.         for i = #aliases,1,-1 do
  6242.             if aliases[i].ALIAS == tostring(alias) then
  6243.                 table.remove(aliases, i)
  6244.             end
  6245.         end
  6246.         notify('Aliases Modified',"Removed the alias "..alias.." from "..cmd)
  6247.         updatesaves()
  6248.         refreshaliases()
  6249.     end
  6250. end)
  6251.  
  6252. addcmd('clraliases',{},function(args, speaker)
  6253.     customAlias = {}
  6254.     aliases = {}
  6255.     notify('Aliases Modified','Removed all aliases')
  6256.     updatesaves()
  6257.     refreshaliases()
  6258. end)
  6259.  
  6260. addcmd('discord', {'support', 'help'}, function(args, speaker)
  6261.     if toClipboard then
  6262.         toClipboard('https://discord.com/invite/dYHag43eeU')
  6263.         notify('Discord Invite', 'Copied to clipboard!\ndiscord.gg/dYHag43eeU')
  6264.     else
  6265.         notify('Discord Invite', 'discord.gg/dYHag43eeU')
  6266.     end
  6267.     if httprequest then
  6268.         httprequest({
  6269.             Url = 'http://127.0.0.1:6463/rpc?v=1',
  6270.             Method = 'POST',
  6271.             Headers = {
  6272.                 ['Content-Type'] = 'application/json',
  6273.                 Origin = 'https://discord.com'
  6274.             },
  6275.             Body = HttpService:JSONEncode({
  6276.                 cmd = 'INVITE_BROWSER',
  6277.                 nonce = HttpService:GenerateGUID(false),
  6278.                 args = {code = 'dYHag43eeU'}
  6279.             })
  6280.         })
  6281.     end
  6282. end)
  6283.  
  6284. addcmd('keepiy', {}, function(args, speaker)
  6285.     if queueteleport then
  6286.         KeepInfYield = true
  6287.         updatesaves()
  6288.     else
  6289.         notify('Incompatible Exploit','Your exploit does not support this command (missing queue_on_teleport)')
  6290.     end
  6291. end)
  6292.  
  6293. addcmd('unkeepiy', {}, function(args, speaker)
  6294.     if queueteleport then
  6295.         KeepInfYield = false
  6296.         updatesaves()
  6297.     else
  6298.         notify('Incompatible Exploit','Your exploit does not support this command (missing queue_on_teleport)')
  6299.     end
  6300. end)
  6301.  
  6302. addcmd('toggleunkeepiy', {}, function(args, speaker)
  6303.     if queueteleport then
  6304.         KeepInfYield = not KeepInfYield
  6305.         updatesaves()
  6306.     else
  6307.         notify('Incompatible Exploit','Your exploit does not support this command (missing queue_on_teleport)')
  6308.     end
  6309. end)
  6310.  
  6311. local canOpenServerinfo = true
  6312. addcmd('serverinfo',{'info','sinfo'},function(args, speaker)
  6313.     if not canOpenServerinfo then return end
  6314.     canOpenServerinfo = false
  6315.     task.spawn(function()
  6316.         local FRAME = Instance.new("Frame")
  6317.         local shadow = Instance.new("Frame")
  6318.         local PopupText = Instance.new("TextLabel")
  6319.         local Exit = Instance.new("TextButton")
  6320.         local ExitImage = Instance.new("ImageLabel")
  6321.         local background = Instance.new("Frame")
  6322.         local TextLabel = Instance.new("TextLabel")
  6323.         local TextLabel2 = Instance.new("TextLabel")
  6324.         local TextLabel3 = Instance.new("TextLabel")
  6325.         local Time = Instance.new("TextLabel")
  6326.         local appearance = Instance.new("TextLabel")
  6327.         local maxplayers = Instance.new("TextLabel")
  6328.         local name = Instance.new("TextLabel")
  6329.         local placeid = Instance.new("TextLabel")
  6330.         local playerid = Instance.new("TextLabel")
  6331.         local players = Instance.new("TextLabel")
  6332.         local CopyApp = Instance.new("TextButton")
  6333.         local CopyPlrID = Instance.new("TextButton")
  6334.         local CopyPlcID = Instance.new("TextButton")
  6335.  
  6336.         FRAME.Name = randomString()
  6337.         FRAME.Parent = PARENT
  6338.         FRAME.Active = true
  6339.         FRAME.BackgroundTransparency = 1
  6340.         FRAME.Position = UDim2.new(0.5, -130, 0, -500)
  6341.         FRAME.Size = UDim2.new(0, 250, 0, 20)
  6342.         FRAME.ZIndex = 10
  6343.         dragGUI(FRAME)
  6344.  
  6345.         shadow.Name = "shadow"
  6346.         shadow.Parent = FRAME
  6347.         shadow.BackgroundColor3 = currentShade2
  6348.         shadow.BorderSizePixel = 0
  6349.         shadow.Size = UDim2.new(0, 250, 0, 20)
  6350.         shadow.ZIndex = 10
  6351.         table.insert(shade2,shadow)
  6352.  
  6353.         PopupText.Name = "PopupText"
  6354.         PopupText.Parent = shadow
  6355.         PopupText.BackgroundTransparency = 1
  6356.         PopupText.Size = UDim2.new(1, 0, 0.95, 0)
  6357.         PopupText.ZIndex = 10
  6358.         PopupText.Font = Enum.Font.SourceSans
  6359.         PopupText.TextSize = 14
  6360.         PopupText.Text = "Server"
  6361.         PopupText.TextColor3 = currentText1
  6362.         PopupText.TextWrapped = true
  6363.         table.insert(text1,PopupText)
  6364.  
  6365.         Exit.Name = "Exit"
  6366.         Exit.Parent = shadow
  6367.         Exit.BackgroundTransparency = 1
  6368.         Exit.Position = UDim2.new(1, -20, 0, 0)
  6369.         Exit.Size = UDim2.new(0, 20, 0, 20)
  6370.         Exit.Text = ""
  6371.         Exit.ZIndex = 10
  6372.  
  6373.         ExitImage.Parent = Exit
  6374.         ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
  6375.         ExitImage.BackgroundTransparency = 1
  6376.         ExitImage.Position = UDim2.new(0, 5, 0, 5)
  6377.         ExitImage.Size = UDim2.new(0, 10, 0, 10)
  6378.         ExitImage.Image = "rbxassetid://5054663650"
  6379.         ExitImage.ZIndex = 10
  6380.  
  6381.         background.Name = "background"
  6382.         background.Parent = FRAME
  6383.         background.Active = true
  6384.         background.BackgroundColor3 = currentShade1
  6385.         background.BorderSizePixel = 0
  6386.         background.Position = UDim2.new(0, 0, 1, 0)
  6387.         background.Size = UDim2.new(0, 250, 0, 250)
  6388.         background.ZIndex = 10
  6389.         table.insert(shade1,background)
  6390.  
  6391.         TextLabel.Name = "Text Label"
  6392.         TextLabel.Parent = background
  6393.         TextLabel.BackgroundTransparency = 1
  6394.         TextLabel.BorderSizePixel = 0
  6395.         TextLabel.Position = UDim2.new(0, 5, 0, 80)
  6396.         TextLabel.Size = UDim2.new(0, 100, 0, 20)
  6397.         TextLabel.ZIndex = 10
  6398.         TextLabel.Font = Enum.Font.SourceSansLight
  6399.         TextLabel.TextSize = 20
  6400.         TextLabel.Text = "Run Time:"
  6401.         TextLabel.TextColor3 = currentText1
  6402.         TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  6403.         table.insert(text1,TextLabel)
  6404.  
  6405.         TextLabel2.Name = "Text Label2"
  6406.         TextLabel2.Parent = background
  6407.         TextLabel2.BackgroundTransparency = 1
  6408.         TextLabel2.BorderSizePixel = 0
  6409.         TextLabel2.Position = UDim2.new(0, 5, 0, 130)
  6410.         TextLabel2.Size = UDim2.new(0, 100, 0, 20)
  6411.         TextLabel2.ZIndex = 10
  6412.         TextLabel2.Font = Enum.Font.SourceSansLight
  6413.         TextLabel2.TextSize = 20
  6414.         TextLabel2.Text = "Statistics:"
  6415.         TextLabel2.TextColor3 = currentText1
  6416.         TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
  6417.         table.insert(text1,TextLabel2)
  6418.  
  6419.         TextLabel3.Name = "Text Label3"
  6420.         TextLabel3.Parent = background
  6421.         TextLabel3.BackgroundTransparency = 1
  6422.         TextLabel3.BorderSizePixel = 0
  6423.         TextLabel3.Position = UDim2.new(0, 5, 0, 10)
  6424.         TextLabel3.Size = UDim2.new(0, 100, 0, 20)
  6425.         TextLabel3.ZIndex = 10
  6426.         TextLabel3.Font = Enum.Font.SourceSansLight
  6427.         TextLabel3.TextSize = 20
  6428.         TextLabel3.Text = "Local Player:"
  6429.         TextLabel3.TextColor3 = currentText1
  6430.         TextLabel3.TextXAlignment = Enum.TextXAlignment.Left
  6431.         table.insert(text1,TextLabel3)
  6432.  
  6433.         Time.Name = "Time"
  6434.         Time.Parent = background
  6435.         Time.BackgroundTransparency = 1
  6436.         Time.BorderSizePixel = 0
  6437.         Time.Position = UDim2.new(0, 5, 0, 105)
  6438.         Time.Size = UDim2.new(0, 100, 0, 20)
  6439.         Time.ZIndex = 10
  6440.         Time.Font = Enum.Font.SourceSans
  6441.         Time.FontSize = Enum.FontSize.Size14
  6442.         Time.Text = "LOADING"
  6443.         Time.TextColor3 = currentText1
  6444.         Time.TextXAlignment = Enum.TextXAlignment.Left
  6445.         table.insert(text1,Time)
  6446.  
  6447.         appearance.Name = "appearance"
  6448.         appearance.Parent = background
  6449.         appearance.BackgroundTransparency = 1
  6450.         appearance.BorderSizePixel = 0
  6451.         appearance.Position = UDim2.new(0, 5, 0, 55)
  6452.         appearance.Size = UDim2.new(0, 100, 0, 20)
  6453.         appearance.ZIndex = 10
  6454.         appearance.Font = Enum.Font.SourceSans
  6455.         appearance.FontSize = Enum.FontSize.Size14
  6456.         appearance.Text = "Appearance: LOADING"
  6457.         appearance.TextColor3 = currentText1
  6458.         appearance.TextXAlignment = Enum.TextXAlignment.Left
  6459.         table.insert(text1,appearance)
  6460.  
  6461.         maxplayers.Name = "maxplayers"
  6462.         maxplayers.Parent = background
  6463.         maxplayers.BackgroundTransparency = 1
  6464.         maxplayers.BorderSizePixel = 0
  6465.         maxplayers.Position = UDim2.new(0, 5, 0, 175)
  6466.         maxplayers.Size = UDim2.new(0, 100, 0, 20)
  6467.         maxplayers.ZIndex = 10
  6468.         maxplayers.Font = Enum.Font.SourceSans
  6469.         maxplayers.FontSize = Enum.FontSize.Size14
  6470.         maxplayers.Text = "LOADING"
  6471.         maxplayers.TextColor3 = currentText1
  6472.         maxplayers.TextXAlignment = Enum.TextXAlignment.Left
  6473.         table.insert(text1,maxplayers)
  6474.  
  6475.         name.Name = "name"
  6476.         name.Parent = background
  6477.         name.BackgroundTransparency = 1
  6478.         name.BorderSizePixel = 0
  6479.         name.Position = UDim2.new(0, 5, 0, 215)
  6480.         name.Size = UDim2.new(0, 240, 0, 30)
  6481.         name.ZIndex = 10
  6482.         name.Font = Enum.Font.SourceSans
  6483.         name.FontSize = Enum.FontSize.Size14
  6484.         name.Text = "Place Name: LOADING"
  6485.         name.TextColor3 = currentText1
  6486.         name.TextWrapped = true
  6487.         name.TextXAlignment = Enum.TextXAlignment.Left
  6488.         name.TextYAlignment = Enum.TextYAlignment.Top
  6489.         table.insert(text1,name)
  6490.  
  6491.         placeid.Name = "placeid"
  6492.         placeid.Parent = background
  6493.         placeid.BackgroundTransparency = 1
  6494.         placeid.BorderSizePixel = 0
  6495.         placeid.Position = UDim2.new(0, 5, 0, 195)
  6496.         placeid.Size = UDim2.new(0, 100, 0, 20)
  6497.         placeid.ZIndex = 10
  6498.         placeid.Font = Enum.Font.SourceSans
  6499.         placeid.FontSize = Enum.FontSize.Size14
  6500.         placeid.Text = "Place ID: LOADING"
  6501.         placeid.TextColor3 = currentText1
  6502.         placeid.TextXAlignment = Enum.TextXAlignment.Left
  6503.         table.insert(text1,placeid)
  6504.  
  6505.         playerid.Name = "playerid"
  6506.         playerid.Parent = background
  6507.         playerid.BackgroundTransparency = 1
  6508.         playerid.BorderSizePixel = 0
  6509.         playerid.Position = UDim2.new(0, 5, 0, 35)
  6510.         playerid.Size = UDim2.new(0, 100, 0, 20)
  6511.         playerid.ZIndex = 10
  6512.         playerid.Font = Enum.Font.SourceSans
  6513.         playerid.FontSize = Enum.FontSize.Size14
  6514.         playerid.Text = "Player ID: LOADING"
  6515.         playerid.TextColor3 = currentText1
  6516.         playerid.TextXAlignment = Enum.TextXAlignment.Left
  6517.         table.insert(text1,playerid)
  6518.  
  6519.         players.Name = "players"
  6520.         players.Parent = background
  6521.         players.BackgroundTransparency = 1
  6522.         players.BorderSizePixel = 0
  6523.         players.Position = UDim2.new(0, 5, 0, 155)
  6524.         players.Size = UDim2.new(0, 100, 0, 20)
  6525.         players.ZIndex = 10
  6526.         players.Font = Enum.Font.SourceSans
  6527.         players.FontSize = Enum.FontSize.Size14
  6528.         players.Text = "LOADING"
  6529.         players.TextColor3 = currentText1
  6530.         players.TextXAlignment = Enum.TextXAlignment.Left
  6531.         table.insert(text1,players)
  6532.  
  6533.         CopyApp.Name = "CopyApp"
  6534.         CopyApp.Parent = background
  6535.         CopyApp.BackgroundColor3 = currentShade2
  6536.         CopyApp.BorderSizePixel = 0
  6537.         CopyApp.Position = UDim2.new(0, 210, 0, 55)
  6538.         CopyApp.Size = UDim2.new(0, 35, 0, 20)
  6539.         CopyApp.Font = Enum.Font.SourceSans
  6540.         CopyApp.TextSize = 14
  6541.         CopyApp.Text = "Copy"
  6542.         CopyApp.TextColor3 = currentText1
  6543.         CopyApp.ZIndex = 10
  6544.         table.insert(shade2,CopyApp)
  6545.         table.insert(text1,CopyApp)
  6546.  
  6547.         CopyPlrID.Name = "CopyPlrID"
  6548.         CopyPlrID.Parent = background
  6549.         CopyPlrID.BackgroundColor3 = currentShade2
  6550.         CopyPlrID.BorderSizePixel = 0
  6551.         CopyPlrID.Position = UDim2.new(0, 210, 0, 35)
  6552.         CopyPlrID.Size = UDim2.new(0, 35, 0, 20)
  6553.         CopyPlrID.Font = Enum.Font.SourceSans
  6554.         CopyPlrID.TextSize = 14
  6555.         CopyPlrID.Text = "Copy"
  6556.         CopyPlrID.TextColor3 = currentText1
  6557.         CopyPlrID.ZIndex = 10
  6558.         table.insert(shade2,CopyPlrID)
  6559.         table.insert(text1,CopyPlrID)
  6560.  
  6561.         CopyPlcID.Name = "CopyPlcID"
  6562.         CopyPlcID.Parent = background
  6563.         CopyPlcID.BackgroundColor3 = currentShade2
  6564.         CopyPlcID.BorderSizePixel = 0
  6565.         CopyPlcID.Position = UDim2.new(0, 210, 0, 195)
  6566.         CopyPlcID.Size = UDim2.new(0, 35, 0, 20)
  6567.         CopyPlcID.Font = Enum.Font.SourceSans
  6568.         CopyPlcID.TextSize = 14
  6569.         CopyPlcID.Text = "Copy"
  6570.         CopyPlcID.TextColor3 = currentText1
  6571.         CopyPlcID.ZIndex = 10
  6572.         table.insert(shade2,CopyPlcID)
  6573.         table.insert(text1,CopyPlcID)
  6574.  
  6575.         local SINFOGUI = background
  6576.         FRAME:TweenPosition(UDim2.new(0.5, -130, 0, 100), "InOut", "Quart", 0.5, true, nil)
  6577.         wait(0.5)
  6578.         Exit.MouseButton1Click:Connect(function()
  6579.             FRAME:TweenPosition(UDim2.new(0.5, -130, 0, -500), "InOut", "Quart", 0.5, true, nil)
  6580.             wait(0.6)
  6581.             FRAME:Destroy()
  6582.             canOpenServerinfo = true
  6583.         end)
  6584.         local Asset = MarketplaceService:GetProductInfo(PlaceId)
  6585.         SINFOGUI.name.Text = "Place Name: " .. Asset.Name
  6586.         SINFOGUI.playerid.Text = "Player ID: " ..speaker.UserId
  6587.         SINFOGUI.maxplayers.Text = Players.MaxPlayers.. " Players Max"
  6588.         SINFOGUI.placeid.Text = "Place ID: " ..PlaceId
  6589.  
  6590.         CopyApp.MouseButton1Click:Connect(function()
  6591.             toClipboard(speaker.CharacterAppearanceId)
  6592.         end)
  6593.         CopyPlrID.MouseButton1Click:Connect(function()
  6594.             toClipboard(speaker.UserId)
  6595.         end)
  6596.         CopyPlcID.MouseButton1Click:Connect(function()
  6597.             toClipboard(PlaceId)
  6598.         end)
  6599.  
  6600.         repeat
  6601.             players = Players:GetPlayers()
  6602.             SINFOGUI.players.Text = #players.. " Player(s)"
  6603.             SINFOGUI.appearance.Text = "Appearance: " ..speaker.CharacterAppearanceId
  6604.             local seconds = math.floor(workspace.DistributedGameTime)
  6605.             local minutes = math.floor(workspace.DistributedGameTime / 60)
  6606.             local hours = math.floor(workspace.DistributedGameTime / 60 / 60)
  6607.             local seconds = seconds - (minutes * 60)
  6608.             local minutes = minutes - (hours * 60)
  6609.             if hours < 1 then if minutes < 1 then
  6610.                     SINFOGUI.Time.Text = seconds .. " Second(s)" else
  6611.                     SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)"
  6612.                 end
  6613.             else
  6614.                 SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
  6615.             end
  6616.             wait(1)
  6617.         until SINFOGUI.Parent == nil
  6618.     end)
  6619. end)
  6620.  
  6621. addcmd('jobid',{},function(args, speaker)
  6622.     local jobId = 'Roblox.GameLauncher.joinGameInstance('..PlaceId..', "'..JobId..'")'
  6623.     toClipboard(jobId)
  6624. end)
  6625.  
  6626. addcmd('notifyjobid',{},function(args, speaker)
  6627.     notify('JobId / PlaceId',JobId..' / '..PlaceId)
  6628. end)
  6629.  
  6630. addcmd('breakloops',{'break'},function(args, speaker)
  6631.     lastBreakTime = tick()
  6632. end)
  6633.  
  6634. addcmd('gametp',{'gameteleport'},function(args, speaker)
  6635.     TeleportService:Teleport(args[1])
  6636. end)
  6637.  
  6638. addcmd('rejoin',{'rj'},function(args, speaker)
  6639.     if #Players:GetPlayers() <= 1 then
  6640.         Players.LocalPlayer:Kick("\nRejoining...")
  6641.         wait()
  6642.         TeleportService:Teleport(PlaceId, Players.LocalPlayer)
  6643.     else
  6644.         TeleportService:TeleportToPlaceInstance(PlaceId, JobId, Players.LocalPlayer)
  6645.     end
  6646. end)
  6647.  
  6648. addcmd('autorejoin',{'autorj'},function(args, speaker)
  6649.     local Dir = COREGUI:FindFirstChild("RobloxPromptGui"):FindFirstChild("promptOverlay")
  6650.     Dir.DescendantAdded:Connect(function(Err)
  6651.         if Err.Name == "ErrorTitle" then
  6652.             Err:GetPropertyChangedSignal("Text"):Connect(function()
  6653.                 if Err.Text:sub(0, 12) == "Disconnected" then
  6654.                     if #Players:GetPlayers() <= 1 then
  6655.                         Players.LocalPlayer:Kick("\nRejoining...")
  6656.                         wait()
  6657.                         TeleportService:Teleport(PlaceId, Players.LocalPlayer)
  6658.                     else
  6659.                         TeleportService:TeleportToPlaceInstance(PlaceId, JobId, Players.LocalPlayer)
  6660.                     end
  6661.                 end
  6662.             end)
  6663.         end
  6664.     end)
  6665.     notify('Auto Rejoin','Auto rejoin enabled')
  6666. end)
  6667.  
  6668. addcmd('serverhop',{'shop'},function(args, speaker)
  6669.     -- thanks to NoobSploit for fixing
  6670.     if httprequest then
  6671.         local servers = {}
  6672.         local req = httprequest({Url = string.format("https://games.roblox.com/v1/games/%d/servers/Public?sortOrder=Desc&limit=100", PlaceId)})
  6673.         local body = HttpService:JSONDecode(req.Body)
  6674.         if body and body.data then
  6675.             for i, v in next, body.data do
  6676.                 if type(v) == "table" and tonumber(v.playing) and tonumber(v.maxPlayers) and v.playing < v.maxPlayers and v.id ~= JobId then
  6677.                     table.insert(servers, 1, v.id)
  6678.                 end
  6679.             end
  6680.         end
  6681.         if #servers > 0 then
  6682.             TeleportService:TeleportToPlaceInstance(PlaceId, servers[math.random(1, #servers)], Players.LocalPlayer)
  6683.         else
  6684.             return notify("Serverhop", "Couldn't find a server.")
  6685.         end
  6686.     end
  6687. end)
  6688.  
  6689. addcmd('joinplayer',{'joinp'},function(args, speaker)
  6690.     local retries = 0
  6691.     function ToServer(User,Place)  
  6692.         if args[2] == nil then Place = PlaceId end
  6693.         if not pcall(function()
  6694.                 local FoundUser, UserId = pcall(function()
  6695.                     if tonumber(User) then
  6696.                         return tonumber(User)
  6697.                     end
  6698.  
  6699.                     return Players:GetUserIdFromNameAsync(User)
  6700.                 end)
  6701.                 if not FoundUser then
  6702.                     notify('Join Error','Username/UserID does not exist')
  6703.                 else
  6704.                     notify('Join Player','Loading servers. Hold on a second.')
  6705.                     local URL2 = ("https://games.roblox.com/v1/games/"..Place.."/servers/Public?sortOrder=Asc&limit=100")
  6706.                     local Http = HttpService:JSONDecode(game:HttpGet(URL2))
  6707.                     local GUID
  6708.  
  6709.                     function tablelength(T)
  6710.                         local count = 0
  6711.                         for _ in pairs(T) do count = count + 1 end
  6712.                         return count
  6713.                     end
  6714.  
  6715.                     for i=1,tonumber(tablelength(Http.data)) do
  6716.                         for j,k in pairs(Http.data[i].playerIds) do
  6717.                             if k == UserId then
  6718.                                 GUID = Http.data[i].id
  6719.                             end
  6720.                         end
  6721.                     end
  6722.  
  6723.                     if GUID ~= nil then
  6724.                         notify('Join Player','Joining '..User)
  6725.                         TeleportService:TeleportToPlaceInstance(Place,GUID,Players.LocalPlayer)
  6726.                     else
  6727.                         notify('Join Error','Unable to join user.')
  6728.                     end
  6729.                 end
  6730.             end)
  6731.         then
  6732.             if retries < 3 then
  6733.                 retries = retries + 1
  6734.                 print('ERROR retrying '..retries..'/3')
  6735.                 notify('Join Error','Error while trying to join. Retrying '..retries..'/3.')
  6736.                 ToServer(User,Place)
  6737.             else
  6738.                 notify('Join Error','Error while trying to join.')
  6739.             end
  6740.         end
  6741.     end
  6742.     ToServer(args[1],args[2])
  6743. end)
  6744.  
  6745. addcmd('exit',{},function(args, speaker)
  6746.     game:shutdown()
  6747. end)
  6748.  
  6749. local Noclipping = nil
  6750. addcmd('noclip',{},function(args, speaker)
  6751.     Clip = false
  6752.     wait(0.1)
  6753.     local function NoclipLoop()
  6754.         if Clip == false and speaker.Character ~= nil then
  6755.             for _, child in pairs(speaker.Character:GetDescendants()) do
  6756.                 if child:IsA("BasePart") and child.CanCollide == true and child.Name ~= floatName then
  6757.                     child.CanCollide = false
  6758.                 end
  6759.             end
  6760.         end
  6761.     end
  6762.     Noclipping = RunService.Stepped:Connect(NoclipLoop)
  6763. end)
  6764.  
  6765. addcmd('clip',{'unnoclip'},function(args, speaker)
  6766.     if Noclipping then
  6767.         Noclipping:Disconnect()
  6768.     end
  6769.     Clip = true
  6770. end)
  6771.  
  6772. addcmd('togglenoclip',{},function(args, speaker)
  6773.     if Clip then
  6774.         execCmd('noclip')
  6775.     else
  6776.         execCmd('clip')
  6777.     end
  6778. end)
  6779.  
  6780. FLYING = false
  6781. QEfly = true
  6782. iyflyspeed = 1
  6783. vehicleflyspeed = 1
  6784. function sFLY(vfly)
  6785.     repeat wait() until Players.LocalPlayer and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  6786.     repeat wait() until IYMouse
  6787.     if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect() end
  6788.  
  6789.     local T = getRoot(Players.LocalPlayer.Character)
  6790.     local CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  6791.     local lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  6792.     local SPEED = 0
  6793.  
  6794.     local function FLY()
  6795.         FLYING = true
  6796.         local BG = Instance.new('BodyGyro')
  6797.         local BV = Instance.new('BodyVelocity')
  6798.         BG.P = 9e4
  6799.         BG.Parent = T
  6800.         BV.Parent = T
  6801.         BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  6802.         BG.cframe = T.CFrame
  6803.         BV.velocity = Vector3.new(0, 0, 0)
  6804.         BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  6805.         task.spawn(function()
  6806.             repeat wait()
  6807.                 if not vfly and Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  6808.                     Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  6809.                 end
  6810.                 if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0 then
  6811.                     SPEED = 50
  6812.                 elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0) and SPEED ~= 0 then
  6813.                     SPEED = 0
  6814.                 end
  6815.                 if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 or (CONTROL.Q + CONTROL.E) ~= 0 then
  6816.                     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
  6817.                     lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  6818.                 elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and (CONTROL.Q + CONTROL.E) == 0 and SPEED ~= 0 then
  6819.                     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
  6820.                 else
  6821.                     BV.velocity = Vector3.new(0, 0, 0)
  6822.                 end
  6823.                 BG.cframe = workspace.CurrentCamera.CoordinateFrame
  6824.             until not FLYING
  6825.             CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  6826.             lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  6827.             SPEED = 0
  6828.             BG:Destroy()
  6829.             BV:Destroy()
  6830.             if Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  6831.                 Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  6832.             end
  6833.         end)
  6834.     end
  6835.     flyKeyDown = IYMouse.KeyDown:Connect(function(KEY)
  6836.         if KEY:lower() == 'w' then
  6837.             CONTROL.F = (vfly and vehicleflyspeed or iyflyspeed)
  6838.         elseif KEY:lower() == 's' then
  6839.             CONTROL.B = - (vfly and vehicleflyspeed or iyflyspeed)
  6840.         elseif KEY:lower() == 'a' then
  6841.             CONTROL.L = - (vfly and vehicleflyspeed or iyflyspeed)
  6842.         elseif KEY:lower() == 'd' then
  6843.             CONTROL.R = (vfly and vehicleflyspeed or iyflyspeed)
  6844.         elseif QEfly and KEY:lower() == 'e' then
  6845.             CONTROL.Q = (vfly and vehicleflyspeed or iyflyspeed)*2
  6846.         elseif QEfly and KEY:lower() == 'q' then
  6847.             CONTROL.E = -(vfly and vehicleflyspeed or iyflyspeed)*2
  6848.         end
  6849.         pcall(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Track end)
  6850.     end)
  6851.     flyKeyUp = IYMouse.KeyUp:Connect(function(KEY)
  6852.         if KEY:lower() == 'w' then
  6853.             CONTROL.F = 0
  6854.         elseif KEY:lower() == 's' then
  6855.             CONTROL.B = 0
  6856.         elseif KEY:lower() == 'a' then
  6857.             CONTROL.L = 0
  6858.         elseif KEY:lower() == 'd' then
  6859.             CONTROL.R = 0
  6860.         elseif KEY:lower() == 'e' then
  6861.             CONTROL.Q = 0
  6862.         elseif KEY:lower() == 'q' then
  6863.             CONTROL.E = 0
  6864.         end
  6865.     end)
  6866.     FLY()
  6867. end
  6868.  
  6869. function NOFLY()
  6870.     FLYING = false
  6871.     if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect() end
  6872.     if Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  6873.         Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  6874.     end
  6875.     pcall(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Custom end)
  6876. end
  6877.  
  6878. local velocityHandlerName = randomString()
  6879. local gyroHandlerName = randomString()
  6880. local mfly1
  6881. local mfly2
  6882.  
  6883. local unmobilefly = function(speaker)
  6884.     pcall(function()
  6885.         FLYING = false
  6886.         local root = getRoot(speaker.Character)
  6887.         root:FindFirstChild(velocityHandlerName):Destroy()
  6888.         root:FindFirstChild(gyroHandlerName):Destroy()
  6889.         speaker.Character:FindFirstChildWhichIsA("Humanoid").PlatformStand = false
  6890.         mfly1:Disconnect()
  6891.         mfly2:Disconnect()
  6892.     end)
  6893. end
  6894.  
  6895. local mobilefly = function(speaker, vfly)
  6896.     unmobilefly(speaker)
  6897.     FLYING = true
  6898.  
  6899.     local root = getRoot(speaker.Character)
  6900.     local camera = workspace.CurrentCamera
  6901.     local v3none = Vector3.new()
  6902.     local v3zero = Vector3.new(0, 0, 0)
  6903.     local v3inf = Vector3.new(9e9, 9e9, 9e9)
  6904.  
  6905.     local controlModule = require(speaker.PlayerScripts:WaitForChild("PlayerModule"):WaitForChild("ControlModule"))
  6906.     local bv = Instance.new("BodyVelocity")
  6907.     bv.Name = velocityHandlerName
  6908.     bv.Parent = root
  6909.     bv.MaxForce = v3zero
  6910.     bv.Velocity = v3zero
  6911.  
  6912.     local bg = Instance.new("BodyGyro")
  6913.     bg.Name = gyroHandlerName
  6914.     bg.Parent = root
  6915.     bg.MaxTorque = v3inf
  6916.     bg.P = 1000
  6917.     bg.D = 50
  6918.  
  6919.     mfly1 = speaker.CharacterAdded:Connect(function()
  6920.         local bv = Instance.new("BodyVelocity")
  6921.         bv.Name = velocityHandlerName
  6922.         bv.Parent = root
  6923.         bv.MaxForce = v3zero
  6924.         bv.Velocity = v3zero
  6925.  
  6926.         local bg = Instance.new("BodyGyro")
  6927.         bg.Name = gyroHandlerName
  6928.         bg.Parent = root
  6929.         bg.MaxTorque = v3inf
  6930.         bg.P = 1000
  6931.         bg.D = 50
  6932.     end)
  6933.  
  6934.     mfly2 = RunService.RenderStepped:Connect(function()
  6935.         root = getRoot(speaker.Character)
  6936.         camera = workspace.CurrentCamera
  6937.         if speaker.Character:FindFirstChildWhichIsA("Humanoid") and root and root:FindFirstChild(velocityHandlerName) and root:FindFirstChild(gyroHandlerName) then
  6938.             local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  6939.             local VelocityHandler = root:FindFirstChild(velocityHandlerName)
  6940.             local GyroHandler = root:FindFirstChild(gyroHandlerName)
  6941.  
  6942.             VelocityHandler.MaxForce = v3inf
  6943.             GyroHandler.MaxTorque = v3inf
  6944.             if not vfly then humanoid.PlatformStand = true end
  6945.             GyroHandler.CFrame = camera.CoordinateFrame
  6946.             VelocityHandler.Velocity = v3none
  6947.  
  6948.             local direction = controlModule:GetMoveVector()
  6949.             if direction.X > 0 then
  6950.                 VelocityHandler.Velocity = VelocityHandler.Velocity + camera.CFrame.RightVector * (direction.X * ((vfly and vehicleflyspeed or iyflyspeed) * 50))
  6951.             end
  6952.             if direction.X < 0 then
  6953.                 VelocityHandler.Velocity = VelocityHandler.Velocity + camera.CFrame.RightVector * (direction.X * ((vfly and vehicleflyspeed or iyflyspeed) * 50))
  6954.             end
  6955.             if direction.Z > 0 then
  6956.                 VelocityHandler.Velocity = VelocityHandler.Velocity - camera.CFrame.LookVector * (direction.Z * ((vfly and vehicleflyspeed or iyflyspeed) * 50))
  6957.             end
  6958.             if direction.Z < 0 then
  6959.                 VelocityHandler.Velocity = VelocityHandler.Velocity - camera.CFrame.LookVector * (direction.Z * ((vfly and vehicleflyspeed or iyflyspeed) * 50))
  6960.             end
  6961.         end
  6962.     end)
  6963. end
  6964.  
  6965. addcmd('fly',{},function(args, speaker)
  6966.     if not IsOnMobile then
  6967.         NOFLY()
  6968.         wait()
  6969.         sFLY()
  6970.     else
  6971.         mobilefly(speaker)
  6972.     end
  6973.     if args[1] and isNumber(args[1]) then
  6974.         iyflyspeed = args[1]
  6975.     end
  6976. end)
  6977.  
  6978. addcmd('flyspeed',{'flysp'},function(args, speaker)
  6979.     local speed = args[1] or 1
  6980.     if isNumber(speed) then
  6981.         iyflyspeed = speed
  6982.     end
  6983. end)
  6984.  
  6985. addcmd('unfly',{'nofly','novfly','unvehiclefly','novehiclefly','unvfly'},function(args, speaker)
  6986.     if not IsOnMobile then NOFLY() else unmobilefly(speaker) end
  6987. end)
  6988.  
  6989. addcmd('vfly',{'vehiclefly'},function(args, speaker)
  6990.     if not IsOnMobile then
  6991.         NOFLY()
  6992.         wait()
  6993.         sFLY(true)
  6994.     else
  6995.         mobilefly(speaker, true)
  6996.     end
  6997.     if args[1] and isNumber(args[1]) then
  6998.         vehicleflyspeed = args[1]
  6999.     end
  7000. end)
  7001.  
  7002. addcmd('togglevfly',{},function(args, speaker)
  7003.     if FLYING then
  7004.         if not IsOnMobile then NOFLY() else unmobilefly(speaker) end
  7005.     else
  7006.         if not IsOnMobile then sFLY(true) else mobilefly(speaker, true) end
  7007.     end
  7008. end)
  7009.  
  7010. addcmd('vflyspeed',{'vflysp','vehicleflyspeed','vehicleflysp'},function(args, speaker)
  7011.     local speed = args[1] or 1
  7012.     if isNumber(speed) then
  7013.         vehicleflyspeed = speed
  7014.     end
  7015. end)
  7016.  
  7017. addcmd('qefly',{'flyqe'},function(args, speaker)
  7018.     if args[1] == 'false' then
  7019.         QEfly = false
  7020.     else
  7021.         QEfly = true
  7022.     end
  7023. end)
  7024.  
  7025. addcmd('togglefly',{},function(args, speaker)
  7026.     if FLYING then
  7027.         if not IsOnMobile then NOFLY() else unmobilefly(speaker) end
  7028.     else
  7029.         if not IsOnMobile then sFLY() else mobilefly(speaker) end
  7030.     end
  7031. end)
  7032.  
  7033. CFspeed = 50
  7034. addcmd('cframefly', {'cfly'}, function(args, speaker)
  7035.     -- Full credit to peyton#9148 (apeyton)
  7036.     speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  7037.     local Head = speaker.Character:WaitForChild("Head")
  7038.     Head.Anchored = true
  7039.     if CFloop then CFloop:Disconnect() end
  7040.     CFloop = RunService.Heartbeat:Connect(function(deltaTime)
  7041.         local moveDirection = speaker.Character:FindFirstChildOfClass('Humanoid').MoveDirection * (CFspeed * deltaTime)
  7042.         local headCFrame = Head.CFrame
  7043.         local cameraCFrame = workspace.CurrentCamera.CFrame
  7044.         local cameraOffset = headCFrame:ToObjectSpace(cameraCFrame).Position
  7045.         cameraCFrame = cameraCFrame * CFrame.new(-cameraOffset.X, -cameraOffset.Y, -cameraOffset.Z + 1)
  7046.         local cameraPosition = cameraCFrame.Position
  7047.         local headPosition = headCFrame.Position
  7048.  
  7049.         local objectSpaceVelocity = CFrame.new(cameraPosition, Vector3.new(headPosition.X, cameraPosition.Y, headPosition.Z)):VectorToObjectSpace(moveDirection)
  7050.         Head.CFrame = CFrame.new(headPosition) * (cameraCFrame - cameraPosition) * CFrame.new(objectSpaceVelocity)
  7051.     end)
  7052. end)
  7053.  
  7054. addcmd('uncframefly',{'uncfly'},function(args, speaker)
  7055.     if CFloop then
  7056.         CFloop:Disconnect()
  7057.         speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  7058.         local Head = speaker.Character:WaitForChild("Head")
  7059.         Head.Anchored = false
  7060.     end
  7061. end)
  7062.  
  7063. addcmd('cframeflyspeed',{'cflyspeed'},function(args, speaker)
  7064.     if isNumber(args[1]) then
  7065.         CFspeed = args[1]
  7066.     end
  7067. end)
  7068.  
  7069. Floating = false
  7070. floatName = randomString()
  7071. addcmd('float', {'platform'},function(args, speaker)
  7072.     Floating = true
  7073.     local pchar = speaker.Character
  7074.     if pchar and not pchar:FindFirstChild(floatName) then
  7075.         task.spawn(function()
  7076.             local Float = Instance.new('Part')
  7077.             Float.Name = floatName
  7078.             Float.Parent = pchar
  7079.             Float.Transparency = 1
  7080.             Float.Size = Vector3.new(2,0.2,1.5)
  7081.             Float.Anchored = true
  7082.             local FloatValue = -3.1
  7083.             Float.CFrame = getRoot(pchar).CFrame * CFrame.new(0,FloatValue,0)
  7084.             notify('Float','Float Enabled (Q = down & E = up)')
  7085.             qUp = IYMouse.KeyUp:Connect(function(KEY)
  7086.                 if KEY == 'q' then
  7087.                     FloatValue = FloatValue + 0.5
  7088.                 end
  7089.             end)
  7090.             eUp = IYMouse.KeyUp:Connect(function(KEY)
  7091.                 if KEY == 'e' then
  7092.                     FloatValue = FloatValue - 0.5
  7093.                 end
  7094.             end)
  7095.             qDown = IYMouse.KeyDown:Connect(function(KEY)
  7096.                 if KEY == 'q' then
  7097.                     FloatValue = FloatValue - 0.5
  7098.                 end
  7099.             end)
  7100.             eDown = IYMouse.KeyDown:Connect(function(KEY)
  7101.                 if KEY == 'e' then
  7102.                     FloatValue = FloatValue + 0.5
  7103.                 end
  7104.             end)
  7105.             floatDied = speaker.Character:FindFirstChildOfClass('Humanoid').Died:Connect(function()
  7106.                 FloatingFunc:Disconnect()
  7107.                 Float:Destroy()
  7108.                 qUp:Disconnect()
  7109.                 eUp:Disconnect()
  7110.                 qDown:Disconnect()
  7111.                 eDown:Disconnect()
  7112.                 floatDied:Disconnect()
  7113.             end)
  7114.             local function FloatPadLoop()
  7115.                 if pchar:FindFirstChild(floatName) and getRoot(pchar) then
  7116.                     Float.CFrame = getRoot(pchar).CFrame * CFrame.new(0,FloatValue,0)
  7117.                 else
  7118.                     FloatingFunc:Disconnect()
  7119.                     Float:Destroy()
  7120.                     qUp:Disconnect()
  7121.                     eUp:Disconnect()
  7122.                     qDown:Disconnect()
  7123.                     eDown:Disconnect()
  7124.                     floatDied:Disconnect()
  7125.                 end
  7126.             end        
  7127.             FloatingFunc = RunService.Heartbeat:Connect(FloatPadLoop)
  7128.         end)
  7129.     end
  7130. end)
  7131.  
  7132. addcmd('unfloat',{'nofloat','unplatform','noplatform'},function(args, speaker)
  7133.     Floating = false
  7134.     local pchar = speaker.Character
  7135.     notify('Float','Float Disabled')
  7136.     if pchar:FindFirstChild(floatName) then
  7137.         pchar:FindFirstChild(floatName):Destroy()
  7138.     end
  7139.     if floatDied then
  7140.         FloatingFunc:Disconnect()
  7141.         qUp:Disconnect()
  7142.         eUp:Disconnect()
  7143.         qDown:Disconnect()
  7144.         eDown:Disconnect()
  7145.         floatDied:Disconnect()
  7146.     end
  7147. end)
  7148.  
  7149. addcmd('togglefloat',{},function(args, speaker)
  7150.     if Floating then
  7151.         execCmd('unfloat')
  7152.     else
  7153.         execCmd('float')
  7154.     end
  7155. end)
  7156.  
  7157. swimming = false
  7158. local oldgrav = workspace.Gravity
  7159. local swimbeat = nil
  7160. addcmd('swim',{},function(args, speaker)
  7161.     if not swimming and speaker and speaker.Character and speaker.Character:FindFirstChildWhichIsA("Humanoid") then
  7162.         oldgrav = workspace.Gravity
  7163.         workspace.Gravity = 0
  7164.         local swimDied = function()
  7165.             workspace.Gravity = oldgrav
  7166.             swimming = false
  7167.         end
  7168.         local Humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  7169.         gravReset = Humanoid.Died:Connect(swimDied)
  7170.         local enums = Enum.HumanoidStateType:GetEnumItems()
  7171.         table.remove(enums, table.find(enums, Enum.HumanoidStateType.None))
  7172.         for i, v in pairs(enums) do
  7173.             Humanoid:SetStateEnabled(v, false)
  7174.         end
  7175.         Humanoid:ChangeState(Enum.HumanoidStateType.Swimming)
  7176.         swimbeat = RunService.Heartbeat:Connect(function()
  7177.             pcall(function()
  7178.                 speaker.Character.HumanoidRootPart.Velocity = ((Humanoid.MoveDirection ~= Vector3.new() or UserInputService:IsKeyDown(Enum.KeyCode.Space)) and speaker.Character.HumanoidRootPart.Velocity or Vector3.new())
  7179.             end)
  7180.         end)
  7181.         swimming = true
  7182.     end
  7183. end)
  7184.  
  7185. addcmd('unswim',{'noswim'},function(args, speaker)
  7186.     if speaker and speaker.Character and speaker.Character:FindFirstChildWhichIsA("Humanoid") then
  7187.         workspace.Gravity = oldgrav
  7188.         swimming = false
  7189.         if gravReset then
  7190.             gravReset:Disconnect()
  7191.         end
  7192.         if swimbeat ~= nil then
  7193.             swimbeat:Disconnect()
  7194.             swimbeat = nil
  7195.         end
  7196.         local Humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  7197.         local enums = Enum.HumanoidStateType:GetEnumItems()
  7198.         table.remove(enums, table.find(enums, Enum.HumanoidStateType.None))
  7199.         for i, v in pairs(enums) do
  7200.             Humanoid:SetStateEnabled(v, true)
  7201.         end
  7202.     end
  7203. end)
  7204.  
  7205. addcmd('toggleswim',{},function(args, speaker)
  7206.     if swimming then
  7207.         execCmd('unswim')
  7208.     else
  7209.         execCmd('swim')
  7210.     end
  7211. end)
  7212.  
  7213. addcmd('setwaypoint',{'swp','setwp','spos','saveposition','savepos'},function(args, speaker)
  7214.     local WPName = tostring(getstring(1))
  7215.     if getRoot(speaker.Character) then
  7216.         notify('Modified Waypoints',"Created waypoint: "..getstring(1))
  7217.         local torso = getRoot(speaker.Character)
  7218.         WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}, GAME = PlaceId}
  7219.         if AllWaypoints ~= nil then
  7220.             AllWaypoints[#AllWaypoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}, GAME = PlaceId}
  7221.         end
  7222.     end
  7223.     refreshwaypoints()
  7224.     updatesaves()
  7225. end)
  7226.  
  7227. addcmd('waypointpos',{'wpp','setwaypointposition','setpos','setwaypoint','setwaypointpos'},function(args, speaker)
  7228.     local WPName = tostring(getstring(1))
  7229.     if getRoot(speaker.Character) then
  7230.         notify('Modified Waypoints',"Created waypoint: "..getstring(1))
  7231.         WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {args[2], args[3], args[4]}, GAME = PlaceId}
  7232.         if AllWaypoints ~= nil then
  7233.             AllWaypoints[#AllWaypoints + 1] = {NAME = WPName, COORD = {args[2], args[3], args[4]}, GAME = PlaceId}
  7234.         end
  7235.     end
  7236.     refreshwaypoints()
  7237.     updatesaves()
  7238. end)
  7239.  
  7240. addcmd('waypoints',{'positions'},function(args, speaker)
  7241.     if SettingsOpen == false then SettingsOpen = true
  7242.         Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.5, true, nil)
  7243.         CMDsF.Visible = false
  7244.     end
  7245.     KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  7246.     AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  7247.     PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  7248.     PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  7249.     wait(0.5)
  7250.     SettingsHolder.Visible = false
  7251.     maximizeHolder()
  7252. end)
  7253.  
  7254. waypointParts = {}
  7255. addcmd('showwaypoints',{'showwp','showwps'},function(args, speaker)
  7256.     execCmd('hidewaypoints')
  7257.     wait()
  7258.     for i,_ in pairs(WayPoints) do
  7259.         local x = WayPoints[i].COORD[1]
  7260.         local y = WayPoints[i].COORD[2]
  7261.         local z = WayPoints[i].COORD[3]
  7262.         local part = Instance.new("Part")
  7263.         part.Size = Vector3.new(5,5,5)
  7264.         part.CFrame = CFrame.new(x,y,z)
  7265.         part.Parent = workspace
  7266.         part.Anchored = true
  7267.         part.CanCollide = false
  7268.         table.insert(waypointParts,part)
  7269.         local view = Instance.new("BoxHandleAdornment")
  7270.         view.Adornee = part
  7271.         view.AlwaysOnTop = true
  7272.         view.ZIndex = 10
  7273.         view.Size = part.Size
  7274.         view.Parent = part
  7275.     end
  7276.     for i,v in pairs(pWayPoints) do
  7277.         local view = Instance.new("BoxHandleAdornment")
  7278.         view.Adornee = pWayPoints[i].COORD[1]
  7279.         view.AlwaysOnTop = true
  7280.         view.ZIndex = 10
  7281.         view.Size = pWayPoints[i].COORD[1].Size
  7282.         view.Parent = pWayPoints[i].COORD[1]
  7283.         table.insert(waypointParts,view)
  7284.     end
  7285. end)
  7286.  
  7287. addcmd('hidewaypoints',{'hidewp','hidewps'},function(args, speaker)
  7288.     for i,v in pairs(waypointParts) do
  7289.         v:Destroy()
  7290.     end
  7291.     waypointParts = {}
  7292. end)
  7293.  
  7294. addcmd('waypoint',{'wp','lpos','loadposition','loadpos'},function(args, speaker)
  7295.     local WPName = tostring(getstring(1))
  7296.     if speaker.Character then
  7297.         for i,_ in pairs(WayPoints) do
  7298.             if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7299.                 local x = WayPoints[i].COORD[1]
  7300.                 local y = WayPoints[i].COORD[2]
  7301.                 local z = WayPoints[i].COORD[3]
  7302.                 getRoot(speaker.Character).CFrame = CFrame.new(x,y,z)
  7303.             end
  7304.         end
  7305.         for i,_ in pairs(pWayPoints) do
  7306.             if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7307.                 getRoot(speaker.Character).CFrame = CFrame.new(pWayPoints[i].COORD[1].Position)
  7308.             end
  7309.         end
  7310.     end
  7311. end)
  7312.  
  7313. tweenSpeed = 1
  7314. addcmd('tweenspeed',{'tspeed'},function(args, speaker)
  7315.     local newSpeed = args[1] or 1
  7316.     if tonumber(newSpeed) then
  7317.         tweenSpeed = tonumber(newSpeed)
  7318.     end
  7319. end)
  7320.  
  7321. addcmd('tweenwaypoint',{'twp'},function(args, speaker)
  7322.     local WPName = tostring(getstring(1))
  7323.     if speaker.Character then
  7324.         for i,_ in pairs(WayPoints) do
  7325.             local x = WayPoints[i].COORD[1]
  7326.             local y = WayPoints[i].COORD[2]
  7327.             local z = WayPoints[i].COORD[3]
  7328.             if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7329.                 TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(x,y,z)}):Play()
  7330.             end
  7331.         end
  7332.         for i,_ in pairs(pWayPoints) do
  7333.             if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7334.                 TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(pWayPoints[i].COORD[1].Position)}):Play()
  7335.             end
  7336.         end
  7337.     end
  7338. end)
  7339.  
  7340. addcmd('walktowaypoint',{'wtwp'},function(args, speaker)
  7341.     local WPName = tostring(getstring(1))
  7342.     if speaker.Character then
  7343.         for i,_ in pairs(WayPoints) do
  7344.             local x = WayPoints[i].COORD[1]
  7345.             local y = WayPoints[i].COORD[2]
  7346.             local z = WayPoints[i].COORD[3]
  7347.             if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7348.                 if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  7349.                     speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  7350.                     wait(.1)
  7351.                 end
  7352.                 speaker.Character:FindFirstChildOfClass('Humanoid').WalkToPoint = Vector3.new(x,y,z)
  7353.             end
  7354.         end
  7355.         for i,_ in pairs(pWayPoints) do
  7356.             if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7357.                 if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  7358.                     speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  7359.                     wait(.1)
  7360.                 end
  7361.                 speaker.Character:FindFirstChildOfClass('Humanoid').WalkToPoint = Vector3.new(pWayPoints[i].COORD[1].Position)
  7362.             end
  7363.         end
  7364.     end
  7365. end)
  7366.  
  7367. addcmd('deletewaypoint',{'dwp','dpos','deleteposition','deletepos'},function(args, speaker)
  7368.     for i,v in pairs(WayPoints) do
  7369.         if v.NAME:lower() == tostring(getstring(1)):lower() then
  7370.             notify('Modified Waypoints',"Deleted waypoint: " .. v.NAME)
  7371.             table.remove(WayPoints, i)
  7372.         end
  7373.     end
  7374.     if AllWaypoints ~= nil and #AllWaypoints > 0 then
  7375.         for i,v in pairs(AllWaypoints) do
  7376.             if v.NAME:lower() == tostring(getstring(1)):lower() then
  7377.                 if not v.GAME or v.GAME == PlaceId then
  7378.                     table.remove(AllWaypoints, i)
  7379.                 end
  7380.             end
  7381.         end
  7382.     end
  7383.     for i,v in pairs(pWayPoints) do
  7384.         if v.NAME:lower() == tostring(getstring(1)):lower() then
  7385.             notify('Modified Waypoints',"Deleted waypoint: " .. v.NAME)
  7386.             table.remove(pWayPoints, i)
  7387.         end
  7388.     end
  7389.     refreshwaypoints()
  7390.     updatesaves()
  7391. end)
  7392.  
  7393. addcmd('clearwaypoints',{'cwp','clearpositions','cpos','clearpos'},function(args, speaker)
  7394.     WayPoints = {}
  7395.     pWayPoints = {}
  7396.     refreshwaypoints()
  7397.     updatesaves()
  7398.     AllWaypoints = {}
  7399.     notify('Modified Waypoints','Removed all waypoints')
  7400. end)
  7401.  
  7402. addcmd('cleargamewaypoints',{'cgamewp'},function(args, speaker)
  7403.     for i,v in pairs(WayPoints) do
  7404.         if v.GAME == PlaceId then
  7405.             table.remove(WayPoints, i)
  7406.         end
  7407.     end
  7408.     if AllWaypoints ~= nil and #AllWaypoints > 0 then
  7409.         for i,v in pairs(AllWaypoints) do
  7410.             if v.GAME == PlaceId then
  7411.                 table.remove(AllWaypoints, i)
  7412.             end
  7413.         end
  7414.     end
  7415.     for i,v in pairs(pWayPoints) do
  7416.         if v.GAME == PlaceId then
  7417.             table.remove(pWayPoints, i)
  7418.         end
  7419.     end
  7420.     refreshwaypoints()
  7421.     updatesaves()
  7422.     notify('Modified Waypoints','Deleted game waypoints')
  7423. end)
  7424.  
  7425.  
  7426. local coreGuiTypeNames = {
  7427.     -- predefined aliases
  7428.     ["inventory"] = Enum.CoreGuiType.Backpack,
  7429.     ["leaderboard"] = Enum.CoreGuiType.PlayerList,
  7430.     ["emotes"] = Enum.CoreGuiType.EmotesMenu
  7431. }
  7432.  
  7433. -- Load the full list of enums
  7434. for _, enumItem in ipairs(Enum.CoreGuiType:GetEnumItems()) do
  7435.     coreGuiTypeNames[enumItem.Name:lower()] = enumItem
  7436. end
  7437.  
  7438. addcmd('enable',{},function(args, speaker)
  7439.     local input = args[1] and args[1]:lower()
  7440.     if input then
  7441.         if input == "reset" then
  7442.             StarterGui:SetCore("ResetButtonCallback", true)
  7443.         else
  7444.             local coreGuiType = coreGuiTypeNames[input]
  7445.             if coreGuiType then
  7446.                 StarterGui:SetCoreGuiEnabled(coreGuiType, true)
  7447.             end
  7448.         end
  7449.     end
  7450. end)
  7451.  
  7452. addcmd('disable',{},function(args, speaker)
  7453.     local input = args[1] and args[1]:lower()
  7454.     if input then
  7455.         if input == "reset" then
  7456.             StarterGui:SetCore("ResetButtonCallback", false)
  7457.         else
  7458.             local coreGuiType = coreGuiTypeNames[input]
  7459.             if coreGuiType then
  7460.                 StarterGui:SetCoreGuiEnabled(coreGuiType, false)
  7461.             end
  7462.         end
  7463.     end
  7464. end)
  7465.  
  7466.  
  7467. local invisGUIS = {}
  7468. addcmd('showguis',{},function(args, speaker)
  7469.     for i,v in pairs(speaker:FindFirstChildWhichIsA("PlayerGui"):GetDescendants()) do
  7470.         if (v:IsA("Frame") or v:IsA("ImageLabel") or v:IsA("ScrollingFrame")) and not v.Visible then
  7471.             v.Visible = true
  7472.             if not FindInTable(invisGUIS,v) then
  7473.                 table.insert(invisGUIS,v)
  7474.             end
  7475.         end
  7476.     end
  7477. end)
  7478.  
  7479. addcmd('unshowguis',{},function(args, speaker)
  7480.     for i,v in pairs(invisGUIS) do
  7481.         v.Visible = false
  7482.     end
  7483.     invisGUIS = {}
  7484. end)
  7485.  
  7486. local hiddenGUIS = {}
  7487. addcmd('hideguis',{},function(args, speaker)
  7488.     for i,v in pairs(speaker:FindFirstChildWhichIsA("PlayerGui"):GetDescendants()) do
  7489.         if (v:IsA("Frame") or v:IsA("ImageLabel") or v:IsA("ScrollingFrame")) and v.Visible then
  7490.             v.Visible = false
  7491.             if not FindInTable(hiddenGUIS,v) then
  7492.                 table.insert(hiddenGUIS,v)
  7493.             end
  7494.         end
  7495.     end
  7496. end)
  7497.  
  7498. addcmd('unhideguis',{},function(args, speaker)
  7499.     for i,v in pairs(hiddenGUIS) do
  7500.         v.Visible = true
  7501.     end
  7502.     hiddenGUIS = {}
  7503. end)
  7504.  
  7505. function deleteGuisAtPos()
  7506.     pcall(function()
  7507.         local guisAtPosition = Players.LocalPlayer.PlayerGui:GetGuiObjectsAtPosition(IYMouse.X, IYMouse.Y)
  7508.         for _, gui in pairs(guisAtPosition) do
  7509.             if gui.Visible == true then
  7510.                 gui:Destroy()
  7511.             end
  7512.         end
  7513.     end)
  7514. end
  7515.  
  7516. local deleteGuiInput
  7517. addcmd('guidelete',{},function(args, speaker)
  7518.     deleteGuiInput = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  7519.         if not gameProcessedEvent then
  7520.             if input.KeyCode == Enum.KeyCode.Backspace then
  7521.                 deleteGuisAtPos()
  7522.             end
  7523.         end
  7524.     end)
  7525.     notify('GUI Delete Enabled','Hover over a GUI and press backspace to delete it')
  7526. end)
  7527.  
  7528. addcmd('unguidelete',{'noguidelete'},function(args, speaker)
  7529.     if deleteGuiInput then deleteGuiInput:Disconnect() end
  7530.     notify('GUI Delete Disabled','GUI backspace delete has been disabled')
  7531. end)
  7532.  
  7533. local wasStayOpen = StayOpen
  7534. addcmd('hideiy',{},function(args, speaker)
  7535.     isHidden = true
  7536.     wasStayOpen = StayOpen
  7537.     if StayOpen == true then
  7538.         StayOpen = false
  7539.         On.BackgroundTransparency = 1
  7540.     end
  7541.     minimizeNum = 0
  7542.     minimizeHolder()
  7543.     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
  7544. end)
  7545.  
  7546. addcmd('showiy',{'unhideiy'},function(args, speaker)
  7547.     isHidden = false
  7548.     minimizeNum = -20
  7549.     if wasStayOpen then
  7550.         maximizeHolder()
  7551.         StayOpen = true
  7552.         On.BackgroundTransparency = 0
  7553.     else
  7554.         minimizeHolder()
  7555.     end
  7556. end)
  7557.  
  7558. addcmd('rec', {'record'}, function(args, speaker)
  7559.     return COREGUI:ToggleRecording()
  7560. end)
  7561.  
  7562. addcmd('screenshot', {'scrnshot'}, function(args, speaker)
  7563.     return COREGUI:TakeScreenshot()
  7564. end)
  7565.  
  7566. addcmd('togglefs', {'togglefullscreen'}, function(args, speaker)
  7567.     return GuiService:ToggleFullscreen()
  7568. end)
  7569.  
  7570. addcmd('inspect', {'examine'}, function(args, speaker)
  7571.     for _, v in ipairs(getPlayer(args[1], speaker)) do
  7572.         GuiService:CloseInspectMenu()
  7573.         GuiService:InspectPlayerFromUserId(Players[v].UserId)
  7574.     end
  7575. end)
  7576.  
  7577. addcmd('savegame',{'saveplace'},function(args, speaker)
  7578.     if saveinstance then
  7579.         notify("Loading","Downloading game. This will take a while")
  7580.         if getsynasset then
  7581.             saveinstance()
  7582.         else
  7583.             saveinstance(game)
  7584.         end
  7585.         notify('Game Saved','Saved place to the workspace folder within your exploit folder.')
  7586.     else
  7587.         notify('Incompatible Exploit','Your exploit does not support this command (missing saveinstance)')
  7588.     end
  7589. end)
  7590.  
  7591.  
  7592. addcmd('clearerror',{'clearerrors'},function(args, speaker)
  7593.     GuiService:ClearError()
  7594. end)
  7595.  
  7596. addcmd('clientantikick',{'antikick'},function(args, speaker)
  7597.     if not hookmetamethod then
  7598.         return notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)')
  7599.     end
  7600.     local LocalPlayer = Players.LocalPlayer
  7601.     local oldhmmi
  7602.     local oldhmmnc
  7603.     oldhmmi = hookmetamethod(game, "__index", function(self, method)
  7604.         if self == LocalPlayer and method:lower() == "kick" then
  7605.             return error("Expected ':' not '.' calling member function Kick", 2)
  7606.         end
  7607.         return oldhmmi(self, method)
  7608.     end)
  7609.     oldhmmnc = hookmetamethod(game, "__namecall", function(self, ...)
  7610.         if self == LocalPlayer and getnamecallmethod():lower() == "kick" then
  7611.             return
  7612.         end
  7613.         return oldhmmnc(self, ...)
  7614.     end)
  7615.  
  7616.     notify('Client Antikick','Client anti kick is now active (only effective on localscript kick)')
  7617. end)
  7618.  
  7619. allow_rj = true
  7620. addcmd('clientantiteleport',{'antiteleport'},function(args, speaker)
  7621.     if not hookmetamethod then
  7622.         return notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)')
  7623.     end
  7624.     local TeleportService = TeleportService
  7625.     local oldhmmi
  7626.     local oldhmmnc
  7627.     oldhmmi = hookmetamethod(game, "__index", function(self, method)
  7628.         if self == TeleportService then
  7629.             if method:lower() == "teleport" then
  7630.                 return error("Expected ':' not '.' calling member function Kick", 2)
  7631.             elseif method == "TeleportToPlaceInstance" then
  7632.                 return error("Expected ':' not '.' calling member function TeleportToPlaceInstance", 2)
  7633.             end
  7634.         end
  7635.         return oldhmmi(self, method)
  7636.     end)
  7637.     oldhmmnc = hookmetamethod(game, "__namecall", function(self, ...)
  7638.         if self == TeleportService and getnamecallmethod():lower() == "teleport" or getnamecallmethod() == "TeleportToPlaceInstance" then
  7639.             return
  7640.         end
  7641.         return oldhmmnc(self, ...)
  7642.     end)
  7643.  
  7644.     notify('Client AntiTP','Client anti teleport is now active (only effective on localscript teleport)')
  7645. end)
  7646.  
  7647. addcmd('allowrejoin',{'allowrj'},function(args, speaker)
  7648.     if args[1] and args[1] == 'false' then
  7649.         allow_rj = false
  7650.         notify('Client AntiTP','Allow rejoin set to false')
  7651.     else
  7652.         allow_rj = true
  7653.         notify('Client AntiTP','Allow rejoin set to true')
  7654.     end
  7655. end)
  7656.  
  7657. addcmd('cancelteleport',{'canceltp'},function(args, speaker)
  7658.     TeleportService:TeleportCancel()
  7659. end)
  7660.  
  7661. addcmd('volume',{'vol'},function(args, speaker)
  7662.     local level = args[1]/10
  7663.     UserSettings():GetService("UserGameSettings").MasterVolume = level
  7664. end)
  7665.  
  7666. addcmd('antilag',{'boostfps','lowgraphics'},function(args, speaker)
  7667.     local Terrain = workspace:FindFirstChildOfClass('Terrain')
  7668.     Terrain.WaterWaveSize = 0
  7669.     Terrain.WaterWaveSpeed = 0
  7670.     Terrain.WaterReflectance = 0
  7671.     Terrain.WaterTransparency = 0
  7672.     Lighting.GlobalShadows = false
  7673.     Lighting.FogEnd = 9e9
  7674.     settings().Rendering.QualityLevel = 1
  7675.     for i,v in pairs(game:GetDescendants()) do
  7676.         if v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("MeshPart") or v:IsA("CornerWedgePart") or v:IsA("TrussPart") then
  7677.             v.Material = "Plastic"
  7678.             v.Reflectance = 0
  7679.         elseif v:IsA("Decal") then
  7680.             v.Transparency = 1
  7681.         elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  7682.             v.Lifetime = NumberRange.new(0)
  7683.         elseif v:IsA("Explosion") then
  7684.             v.BlastPressure = 1
  7685.             v.BlastRadius = 1
  7686.         end
  7687.     end
  7688.     for i,v in pairs(Lighting:GetDescendants()) do
  7689.         if v:IsA("BlurEffect") or v:IsA("SunRaysEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("BloomEffect") or v:IsA("DepthOfFieldEffect") then
  7690.             v.Enabled = false
  7691.         end
  7692.     end
  7693.     workspace.DescendantAdded:Connect(function(child)
  7694.         task.spawn(function()
  7695.             if child:IsA('ForceField') then
  7696.                 RunService.Heartbeat:Wait()
  7697.                 child:Destroy()
  7698.             elseif child:IsA('Sparkles') then
  7699.                 RunService.Heartbeat:Wait()
  7700.                 child:Destroy()
  7701.             elseif child:IsA('Smoke') or child:IsA('Fire') then
  7702.                 RunService.Heartbeat:Wait()
  7703.                 child:Destroy()
  7704.             end
  7705.         end)
  7706.     end)
  7707. end)
  7708.  
  7709. addcmd('setfpscap', {'fpscap', 'maxfps'}, function(args, speaker)
  7710.     if setfpscap and type(setfpscap) == "function" then
  7711.         local num = args[1] or 1e6
  7712.         if num == 'none' then
  7713.             return setfpscap(1e6)
  7714.         elseif num > 0 then
  7715.             return setfpscap(num)
  7716.         else
  7717.             return notify('Invalid argument', "Please provide a number above 0 or 'none'.")
  7718.         end
  7719.     else
  7720.         return notify('Incompatible Exploit', 'Your exploit does not support this command (missing setfpscap)')
  7721.     end
  7722. end)
  7723.  
  7724. addcmd('notify',{},function(args, speaker)
  7725.     notify(getstring(1))
  7726. end)
  7727.  
  7728. addcmd('lastcommand',{'lastcmd'},function(args, speaker)
  7729.     if cmdHistory[1]:sub(1,11) ~= 'lastcommand' and cmdHistory[1]:sub(1,7) ~= 'lastcmd' then
  7730.         execCmd(cmdHistory[1])
  7731.     end
  7732. end)
  7733.  
  7734. addcmd('esp',{},function(args, speaker)
  7735.     if not CHMSenabled then
  7736.         ESPenabled = true
  7737.         for i,v in pairs(Players:GetChildren()) do
  7738.             if v.ClassName == "Player" and v.Name ~= speaker.Name then
  7739.                 ESP(v)
  7740.             end
  7741.         end
  7742.     else
  7743.         notify('ESP','Disable chams (nochams) before using esp')
  7744.     end
  7745. end)
  7746.  
  7747. addcmd('noesp',{'unesp'},function(args, speaker)
  7748.     ESPenabled = false
  7749.     for i,c in pairs(COREGUI:GetChildren()) do
  7750.         if string.sub(c.Name, -4) == '_ESP' then
  7751.             c:Destroy()
  7752.         end
  7753.     end
  7754. end)
  7755.  
  7756. addcmd('esptransparency',{},function(args, speaker)
  7757.     espTransparency = (args[1] and isNumber(args[1]) and args[1]) or 0.3
  7758.     updatesaves()
  7759. end)
  7760.  
  7761. local espParts = {}
  7762. local partEspTrigger = nil
  7763. function partAdded(part)
  7764.     if #espParts > 0 then
  7765.         if FindInTable(espParts,part.Name:lower()) then
  7766.             local a = Instance.new("BoxHandleAdornment")
  7767.             a.Name = part.Name:lower().."_PESP"
  7768.             a.Parent = part
  7769.             a.Adornee = part
  7770.             a.AlwaysOnTop = true
  7771.             a.ZIndex = 0
  7772.             a.Size = part.Size
  7773.             a.Transparency = espTransparency
  7774.             a.Color = BrickColor.new("Lime green")
  7775.         end
  7776.     else
  7777.         partEspTrigger:Disconnect()
  7778.         partEspTrigger = nil
  7779.     end
  7780. end
  7781.  
  7782. addcmd('partesp',{},function(args, speaker)
  7783.     local partEspName = getstring(1):lower()
  7784.     if not FindInTable(espParts,partEspName) then
  7785.         table.insert(espParts,partEspName)
  7786.         for i,v in pairs(workspace:GetDescendants()) do
  7787.             if v:IsA("BasePart") and v.Name:lower() == partEspName then
  7788.                 local a = Instance.new("BoxHandleAdornment")
  7789.                 a.Name = partEspName.."_PESP"
  7790.                 a.Parent = v
  7791.                 a.Adornee = v
  7792.                 a.AlwaysOnTop = true
  7793.                 a.ZIndex = 0
  7794.                 a.Size = v.Size
  7795.                 a.Transparency = espTransparency
  7796.                 a.Color = BrickColor.new("Lime green")
  7797.             end
  7798.         end
  7799.     end
  7800.     if partEspTrigger == nil then
  7801.         partEspTrigger = workspace.DescendantAdded:Connect(partAdded)
  7802.     end
  7803. end)
  7804.  
  7805. addcmd('unpartesp',{'nopartesp'},function(args, speaker)
  7806.     if args[1] then
  7807.         local partEspName = getstring(1):lower()
  7808.         if FindInTable(espParts,partEspName) then
  7809.             table.remove(espParts, GetInTable(espParts, partEspName))
  7810.         end
  7811.         for i,v in pairs(workspace:GetDescendants()) do
  7812.             if v:IsA("BoxHandleAdornment") and v.Name == partEspName..'_PESP' then
  7813.                 v:Destroy()
  7814.             end
  7815.         end
  7816.     else
  7817.         partEspTrigger:Disconnect()
  7818.         partEspTrigger = nil
  7819.         espParts = {}
  7820.         for i,v in pairs(workspace:GetDescendants()) do
  7821.             if v:IsA("BoxHandleAdornment") and v.Name:sub(-5) == '_PESP' then
  7822.                 v:Destroy()
  7823.             end
  7824.         end
  7825.     end
  7826. end)
  7827.  
  7828. addcmd('chams',{},function(args, speaker)
  7829.     if not ESPenabled then
  7830.         CHMSenabled = true
  7831.         for i,v in pairs(Players:GetChildren()) do
  7832.             if v.ClassName == "Player" and v.Name ~= speaker.Name then
  7833.                 CHMS(v)
  7834.             end
  7835.         end
  7836.     else
  7837.         notify('Chams','Disable ESP (noesp) before using chams')
  7838.     end
  7839. end)
  7840.  
  7841. addcmd('nochams',{'unchams'},function(args, speaker)
  7842.     CHMSenabled = false
  7843.     for i,v in pairs(Players:GetChildren()) do
  7844.         local chmsplr = v
  7845.         for i,c in pairs(COREGUI:GetChildren()) do
  7846.             if c.Name == chmsplr.Name..'_CHMS' then
  7847.                 c:Destroy()
  7848.             end
  7849.         end
  7850.     end
  7851. end)
  7852.  
  7853. addcmd('locate',{},function(args, speaker)
  7854.     local players = getPlayer(args[1], speaker)
  7855.     for i,v in pairs(players) do
  7856.         Locate(Players[v])
  7857.     end
  7858. end)
  7859.  
  7860. addcmd('nolocate',{'unlocate'},function(args, speaker)
  7861.     local players = getPlayer(args[1], speaker)
  7862.     if args[1] then
  7863.         for i,v in pairs(players) do
  7864.             for i,c in pairs(COREGUI:GetChildren()) do
  7865.                 if c.Name == Players[v].Name..'_LC' then
  7866.                     c:Destroy()
  7867.                 end
  7868.             end
  7869.         end
  7870.     else
  7871.         for i,c in pairs(COREGUI:GetChildren()) do
  7872.             if string.sub(c.Name, -3) == '_LC' then
  7873.                 c:Destroy()
  7874.             end
  7875.         end
  7876.     end
  7877. end)
  7878.  
  7879. viewing = nil
  7880. addcmd('view',{'spectate'},function(args, speaker)
  7881.     StopFreecam()
  7882.     local players = getPlayer(args[1], speaker)
  7883.     for i,v in pairs(players) do
  7884.         if viewDied then
  7885.             viewDied:Disconnect()
  7886.             viewChanged:Disconnect()
  7887.         end
  7888.         viewing = Players[v]
  7889.         workspace.CurrentCamera.CameraSubject = viewing.Character
  7890.         notify('Spectate','Viewing ' .. Players[v].Name)
  7891.         local function viewDiedFunc()
  7892.             repeat wait() until Players[v].Character ~= nil and getRoot(Players[v].Character)
  7893.             workspace.CurrentCamera.CameraSubject = viewing.Character
  7894.         end
  7895.         viewDied = Players[v].CharacterAdded:Connect(viewDiedFunc)
  7896.         local function viewChangedFunc()
  7897.             workspace.CurrentCamera.CameraSubject = viewing.Character
  7898.         end
  7899.         viewChanged = workspace.CurrentCamera:GetPropertyChangedSignal("CameraSubject"):Connect(viewChangedFunc)
  7900.     end
  7901. end)
  7902.  
  7903. addcmd('viewpart',{'viewp'},function(args, speaker)
  7904.     StopFreecam()
  7905.     if args[1] then
  7906.         for i,v in pairs(workspace:GetDescendants()) do
  7907.             if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  7908.                 wait(0.1)
  7909.                 workspace.CurrentCamera.CameraSubject = v
  7910.             end
  7911.         end
  7912.     end
  7913. end)
  7914.  
  7915. addcmd('unview',{'unspectate'},function(args, speaker)
  7916.     StopFreecam()
  7917.     if viewing ~= nil then
  7918.         viewing = nil
  7919.         notify('Spectate','View turned off')
  7920.     end
  7921.     if viewDied then
  7922.         viewDied:Disconnect()
  7923.         viewChanged:Disconnect()
  7924.     end
  7925.     workspace.CurrentCamera.CameraSubject = speaker.Character
  7926. end)
  7927.  
  7928.  
  7929. fcRunning = false
  7930. local Camera = workspace.CurrentCamera
  7931. workspace:GetPropertyChangedSignal("CurrentCamera"):Connect(function()
  7932.     local newCamera = workspace.CurrentCamera
  7933.     if newCamera then
  7934.         Camera = newCamera
  7935.     end
  7936. end)
  7937.  
  7938. local INPUT_PRIORITY = Enum.ContextActionPriority.High.Value
  7939.  
  7940. Spring = {} do
  7941.     Spring.__index = Spring
  7942.  
  7943.     function Spring.new(freq, pos)
  7944.         local self = setmetatable({}, Spring)
  7945.         self.f = freq
  7946.         self.p = pos
  7947.         self.v = pos*0
  7948.         return self
  7949.     end
  7950.  
  7951.     function Spring:Update(dt, goal)
  7952.         local f = self.f*2*math.pi
  7953.         local p0 = self.p
  7954.         local v0 = self.v
  7955.  
  7956.         local offset = goal - p0
  7957.         local decay = math.exp(-f*dt)
  7958.  
  7959.         local p1 = goal + (v0*dt - offset*(f*dt + 1))*decay
  7960.         local v1 = (f*dt*(offset*f - v0) + v0)*decay
  7961.  
  7962.         self.p = p1
  7963.         self.v = v1
  7964.  
  7965.         return p1
  7966.     end
  7967.  
  7968.     function Spring:Reset(pos)
  7969.         self.p = pos
  7970.         self.v = pos*0
  7971.     end
  7972. end
  7973.  
  7974. local cameraPos = Vector3.new()
  7975. local cameraRot = Vector2.new()
  7976.  
  7977. local velSpring = Spring.new(5, Vector3.new())
  7978. local panSpring = Spring.new(5, Vector2.new())
  7979.  
  7980. Input = {} do
  7981.  
  7982.     keyboard = {
  7983.         W = 0,
  7984.         A = 0,
  7985.         S = 0,
  7986.         D = 0,
  7987.         E = 0,
  7988.         Q = 0,
  7989.         Up = 0,
  7990.         Down = 0,
  7991.         LeftShift = 0,
  7992.     }
  7993.  
  7994.     mouse = {
  7995.         Delta = Vector2.new(),
  7996.     }
  7997.  
  7998.     NAV_KEYBOARD_SPEED = Vector3.new(1, 1, 1)
  7999.     PAN_MOUSE_SPEED = Vector2.new(1, 1)*(math.pi/64)
  8000.     NAV_ADJ_SPEED = 0.75
  8001.     NAV_SHIFT_MUL = 0.25
  8002.  
  8003.     navSpeed = 1
  8004.  
  8005.     function Input.Vel(dt)
  8006.         navSpeed = math.clamp(navSpeed + dt*(keyboard.Up - keyboard.Down)*NAV_ADJ_SPEED, 0.01, 4)
  8007.  
  8008.         local kKeyboard = Vector3.new(
  8009.             keyboard.D - keyboard.A,
  8010.             keyboard.E - keyboard.Q,
  8011.             keyboard.S - keyboard.W
  8012.         )*NAV_KEYBOARD_SPEED
  8013.  
  8014.         local shift = UserInputService:IsKeyDown(Enum.KeyCode.LeftShift)
  8015.  
  8016.         return (kKeyboard)*(navSpeed*(shift and NAV_SHIFT_MUL or 1))
  8017.     end
  8018.  
  8019.     function Input.Pan(dt)
  8020.         local kMouse = mouse.Delta*PAN_MOUSE_SPEED
  8021.         mouse.Delta = Vector2.new()
  8022.         return kMouse
  8023.     end
  8024.  
  8025.     do
  8026.         function Keypress(action, state, input)
  8027.             keyboard[input.KeyCode.Name] = state == Enum.UserInputState.Begin and 1 or 0
  8028.             return Enum.ContextActionResult.Sink
  8029.         end
  8030.  
  8031.         function MousePan(action, state, input)
  8032.             local delta = input.Delta
  8033.             mouse.Delta = Vector2.new(-delta.y, -delta.x)
  8034.             return Enum.ContextActionResult.Sink
  8035.         end
  8036.  
  8037.         function Zero(t)
  8038.             for k, v in pairs(t) do
  8039.                 t[k] = v*0
  8040.             end
  8041.         end
  8042.  
  8043.         function Input.StartCapture()
  8044.             ContextActionService:BindActionAtPriority("FreecamKeyboard",Keypress,false,INPUT_PRIORITY,
  8045.                 Enum.KeyCode.W,
  8046.                 Enum.KeyCode.A,
  8047.                 Enum.KeyCode.S,
  8048.                 Enum.KeyCode.D,
  8049.                 Enum.KeyCode.E,
  8050.                 Enum.KeyCode.Q,
  8051.                 Enum.KeyCode.Up,
  8052.                 Enum.KeyCode.Down
  8053.             )
  8054.             ContextActionService:BindActionAtPriority("FreecamMousePan",MousePan,false,INPUT_PRIORITY,Enum.UserInputType.MouseMovement)
  8055.         end
  8056.  
  8057.         function Input.StopCapture()
  8058.             navSpeed = 1
  8059.             Zero(keyboard)
  8060.             Zero(mouse)
  8061.             ContextActionService:UnbindAction("FreecamKeyboard")
  8062.             ContextActionService:UnbindAction("FreecamMousePan")
  8063.         end
  8064.     end
  8065. end
  8066.  
  8067. function GetFocusDistance(cameraFrame)
  8068.     local znear = 0.1
  8069.     local viewport = Camera.ViewportSize
  8070.     local projy = 2*math.tan(cameraFov/2)
  8071.     local projx = viewport.x/viewport.y*projy
  8072.     local fx = cameraFrame.rightVector
  8073.     local fy = cameraFrame.upVector
  8074.     local fz = cameraFrame.lookVector
  8075.  
  8076.     local minVect = Vector3.new()
  8077.     local minDist = 512
  8078.  
  8079.     for x = 0, 1, 0.5 do
  8080.         for y = 0, 1, 0.5 do
  8081.             local cx = (x - 0.5)*projx
  8082.             local cy = (y - 0.5)*projy
  8083.             local offset = fx*cx - fy*cy + fz
  8084.             local origin = cameraFrame.p + offset*znear
  8085.             local _, hit = workspace:FindPartOnRay(Ray.new(origin, offset.unit*minDist))
  8086.             local dist = (hit - origin).magnitude
  8087.             if minDist > dist then
  8088.                 minDist = dist
  8089.                 minVect = offset.unit
  8090.             end
  8091.         end
  8092.     end
  8093.  
  8094.     return fz:Dot(minVect)*minDist
  8095. end
  8096.  
  8097. local function StepFreecam(dt)
  8098.     local vel = velSpring:Update(dt, Input.Vel(dt))
  8099.     local pan = panSpring:Update(dt, Input.Pan(dt))
  8100.  
  8101.     local zoomFactor = math.sqrt(math.tan(math.rad(70/2))/math.tan(math.rad(cameraFov/2)))
  8102.  
  8103.     cameraRot = cameraRot + pan*Vector2.new(0.75, 1)*8*(dt/zoomFactor)
  8104.     cameraRot = Vector2.new(math.clamp(cameraRot.x, -math.rad(90), math.rad(90)), cameraRot.y%(2*math.pi))
  8105.  
  8106.     local cameraCFrame = CFrame.new(cameraPos)*CFrame.fromOrientation(cameraRot.x, cameraRot.y, 0)*CFrame.new(vel*Vector3.new(1, 1, 1)*64*dt)
  8107.     cameraPos = cameraCFrame.p
  8108.  
  8109.     Camera.CFrame = cameraCFrame
  8110.     Camera.Focus = cameraCFrame*CFrame.new(0, 0, -GetFocusDistance(cameraCFrame))
  8111.     Camera.FieldOfView = cameraFov
  8112. end
  8113.  
  8114. local PlayerState = {} do
  8115.     mouseBehavior = ""
  8116.     mouseIconEnabled = ""
  8117.     cameraType = ""
  8118.     cameraFocus = ""
  8119.     cameraCFrame = ""
  8120.     cameraFieldOfView = ""
  8121.  
  8122.     function PlayerState.Push()
  8123.         cameraFieldOfView = Camera.FieldOfView
  8124.         Camera.FieldOfView = 70
  8125.  
  8126.         cameraType = Camera.CameraType
  8127.         Camera.CameraType = Enum.CameraType.Custom
  8128.  
  8129.         cameraCFrame = Camera.CFrame
  8130.         cameraFocus = Camera.Focus
  8131.  
  8132.         mouseIconEnabled = UserInputService.MouseIconEnabled
  8133.         UserInputService.MouseIconEnabled = true
  8134.  
  8135.         mouseBehavior = UserInputService.MouseBehavior
  8136.         UserInputService.MouseBehavior = Enum.MouseBehavior.Default
  8137.     end
  8138.  
  8139.     function PlayerState.Pop()
  8140.         Camera.FieldOfView = 70
  8141.  
  8142.         Camera.CameraType = cameraType
  8143.         cameraType = nil
  8144.  
  8145.         Camera.CFrame = cameraCFrame
  8146.         cameraCFrame = nil
  8147.  
  8148.         Camera.Focus = cameraFocus
  8149.         cameraFocus = nil
  8150.  
  8151.         UserInputService.MouseIconEnabled = mouseIconEnabled
  8152.         mouseIconEnabled = nil
  8153.  
  8154.         UserInputService.MouseBehavior = mouseBehavior
  8155.         mouseBehavior = nil
  8156.     end
  8157. end
  8158.  
  8159. function StartFreecam(pos)
  8160.     if fcRunning then
  8161.         StopFreecam()
  8162.     end
  8163.     local cameraCFrame = Camera.CFrame
  8164.     if pos then
  8165.         cameraCFrame = pos
  8166.     end
  8167.     cameraRot = Vector2.new()
  8168.     cameraPos = cameraCFrame.p
  8169.     cameraFov = Camera.FieldOfView
  8170.  
  8171.     velSpring:Reset(Vector3.new())
  8172.     panSpring:Reset(Vector2.new())
  8173.  
  8174.     PlayerState.Push()
  8175.     RunService:BindToRenderStep("Freecam", Enum.RenderPriority.Camera.Value, StepFreecam)
  8176.     Input.StartCapture()
  8177.     fcRunning = true
  8178. end
  8179.  
  8180. function StopFreecam()
  8181.     if not fcRunning then return end
  8182.     Input.StopCapture()
  8183.     RunService:UnbindFromRenderStep("Freecam")
  8184.     PlayerState.Pop()
  8185.     workspace.Camera.FieldOfView = 70
  8186.     fcRunning = false
  8187. end
  8188.  
  8189. addcmd('freecam',{'fc'},function(args, speaker)
  8190.     StartFreecam()
  8191. end)
  8192.  
  8193. addcmd('freecampos',{'fcpos','fcp','freecamposition','fcposition'},function(args, speaker)
  8194.     if not args[1] then return end
  8195.     local freecamPos = CFrame.new(args[1],args[2],args[3])
  8196.     StartFreecam(freecamPos)
  8197. end)
  8198.  
  8199. addcmd('freecamwaypoint',{'fcwp'},function(args, speaker)
  8200.     local WPName = tostring(getstring(1))
  8201.     if speaker.Character then
  8202.         for i,_ in pairs(WayPoints) do
  8203.             local x = WayPoints[i].COORD[1]
  8204.             local y = WayPoints[i].COORD[2]
  8205.             local z = WayPoints[i].COORD[3]
  8206.             if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8207.                 StartFreecam(CFrame.new(x,y,z))
  8208.             end
  8209.         end
  8210.         for i,_ in pairs(pWayPoints) do
  8211.             if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8212.                 StartFreecam(CFrame.new(pWayPoints[i].COORD[1].Position))
  8213.             end
  8214.         end
  8215.     end
  8216. end)
  8217.  
  8218. addcmd('freecamgoto',{'fcgoto','freecamtp','fctp'},function(args, speaker)
  8219.     local players = getPlayer(args[1], speaker)
  8220.     for i,v in pairs(players) do
  8221.         StartFreecam(getRoot(Players[v].Character).CFrame)
  8222.     end
  8223. end)
  8224.  
  8225. addcmd('unfreecam',{'nofreecam','unfc','nofc'},function(args, speaker)
  8226.     StopFreecam()
  8227. end)
  8228.  
  8229. addcmd('freecamspeed',{'fcspeed'},function(args, speaker)
  8230.     local FCspeed = args[1] or 1
  8231.     if isNumber(FCspeed) then
  8232.         NAV_KEYBOARD_SPEED = Vector3.new(FCspeed, FCspeed, FCspeed)
  8233.     end
  8234. end)
  8235.  
  8236. addcmd('notifyfreecamposition',{'notifyfcpos'},function(args, speaker)
  8237.     if fcRunning then
  8238.         local X,Y,Z = workspace.CurrentCamera.CFrame.Position.X,workspace.CurrentCamera.CFrame.Position.Y,workspace.CurrentCamera.CFrame.Position.Z
  8239.         local Format, Round = string.format, math.round
  8240.         notify("Current Position", Format("%s, %s, %s", Round(X), Round(Y), Round(Z)))
  8241.     end
  8242. end)
  8243.  
  8244. addcmd('copyfreecamposition',{'copyfcpos'},function(args, speaker)
  8245.     if fcRunning then
  8246.         local X,Y,Z = workspace.CurrentCamera.CFrame.Position.X,workspace.CurrentCamera.CFrame.Position.Y,workspace.CurrentCamera.CFrame.Position.Z
  8247.         local Format, Round = string.format, math.round
  8248.         toClipboard(Format("%s, %s, %s", Round(X), Round(Y), Round(Z)))
  8249.     end
  8250. end)
  8251.  
  8252. addcmd('gotocamera',{'gotocam','tocam'},function(args, speaker)
  8253.     getRoot(speaker.Character).CFrame = workspace.Camera.CFrame
  8254. end)
  8255.  
  8256. addcmd('tweengotocamera',{'tweengotocam','tgotocam','ttocam'},function(args, speaker)
  8257.     TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = workspace.Camera.CFrame}):Play()
  8258. end)
  8259.  
  8260. addcmd('fov',{},function(args, speaker)
  8261.     local fov = args[1] or 70
  8262.     if isNumber(fov) then
  8263.         workspace.CurrentCamera.FieldOfView = fov
  8264.     end
  8265. end)
  8266.  
  8267. local preMaxZoom = Players.LocalPlayer.CameraMaxZoomDistance
  8268. local preMinZoom = Players.LocalPlayer.CameraMinZoomDistance
  8269. addcmd('lookat',{},function(args, speaker)
  8270.     if speaker.CameraMaxZoomDistance ~= 0.5 then
  8271.         preMaxZoom = speaker.CameraMaxZoomDistance
  8272.         preMinZoom = speaker.CameraMinZoomDistance
  8273.     end
  8274.     speaker.CameraMaxZoomDistance = 0.5
  8275.     speaker.CameraMinZoomDistance = 0.5
  8276.     wait()
  8277.     local players = getPlayer(args[1], speaker)
  8278.     for i,v in pairs(players) do
  8279.         local target = Players[v].Character
  8280.         if target and target:FindFirstChild('Head') then
  8281.             workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.p, target.Head.CFrame.p)
  8282.             wait(0.1)
  8283.         end
  8284.     end
  8285.     speaker.CameraMaxZoomDistance = preMaxZoom
  8286.     speaker.CameraMinZoomDistance = preMinZoom
  8287. end)
  8288.  
  8289. addcmd('fixcam',{'restorecam'},function(args, speaker)
  8290.     StopFreecam()
  8291.     execCmd('unview')
  8292.     workspace.CurrentCamera:remove()
  8293.     wait(.1)
  8294.     repeat wait() until speaker.Character ~= nil
  8295.     workspace.CurrentCamera.CameraSubject = speaker.Character:FindFirstChildWhichIsA('Humanoid')
  8296.     workspace.CurrentCamera.CameraType = "Custom"
  8297.     speaker.CameraMinZoomDistance = 0.5
  8298.     speaker.CameraMaxZoomDistance = 400
  8299.     speaker.CameraMode = "Classic"
  8300.     speaker.Character.Head.Anchored = false
  8301. end)
  8302.  
  8303. addcmd('enableshiftlock',{'enablesl','shiftlock'},function(args, speaker)
  8304.     speaker.DevEnableMouseLock = true
  8305.     notify('Shiftlock','Shift lock is now available')
  8306. end)
  8307.  
  8308. addcmd('firstp',{},function(args, speaker)
  8309.     speaker.CameraMode = "LockFirstPerson"
  8310. end)
  8311.  
  8312. addcmd('thirdp',{},function(args, speaker)
  8313.     speaker.CameraMode = "Classic"
  8314. end)
  8315.  
  8316. addcmd('noclipcam', {'nccam'}, function(args, speaker)
  8317.     local sc = (debug and debug.setconstant) or setconstant
  8318.     local gc = (debug and debug.getconstants) or getconstants
  8319.     if not sc or not getgc or not gc then
  8320.         return notify('Incompatible Exploit', 'Your exploit does not support this command (missing setconstant or getconstants or getgc)')
  8321.     end
  8322.     local pop = speaker.PlayerScripts.PlayerModule.CameraModule.ZoomController.Popper
  8323.     for _, v in pairs(getgc()) do
  8324.         if type(v) == 'function' and getfenv(v).script == pop then
  8325.             for i, v1 in pairs(gc(v)) do
  8326.                 if tonumber(v1) == .25 then
  8327.                     sc(v, i, 0)
  8328.                 elseif tonumber(v1) == 0 then
  8329.                     sc(v, i, .25)
  8330.                 end
  8331.             end
  8332.         end
  8333.     end
  8334. end)
  8335.  
  8336. addcmd('maxzoom',{},function(args, speaker)
  8337.     speaker.CameraMaxZoomDistance = args[1]
  8338. end)
  8339.  
  8340. addcmd('minzoom',{},function(args, speaker)
  8341.     speaker.CameraMinZoomDistance = args[1]
  8342. end)
  8343.  
  8344. addcmd('camdistance',{},function(args, speaker)
  8345.     local camMax = speaker.CameraMaxZoomDistance
  8346.     local camMin = speaker.CameraMinZoomDistance
  8347.     if camMax < tonumber(args[1]) then
  8348.         camMax = args[1]
  8349.     end
  8350.     speaker.CameraMaxZoomDistance = args[1]
  8351.     speaker.CameraMinZoomDistance = args[1]
  8352.     wait()
  8353.     speaker.CameraMaxZoomDistance = camMax
  8354.     speaker.CameraMinZoomDistance = camMin
  8355. end)
  8356.  
  8357. addcmd('unlockws',{'unlockworkspace'},function(args, speaker)
  8358.     for i,v in pairs(workspace:GetDescendants()) do
  8359.         if v:IsA("BasePart") then
  8360.             v.Locked = false
  8361.         end
  8362.     end
  8363. end)
  8364.  
  8365. addcmd('lockws',{'lockworkspace'},function(args, speaker)
  8366.     for i,v in pairs(workspace:GetDescendants()) do
  8367.         if v:IsA("BasePart") then
  8368.             v.Locked = true
  8369.         end
  8370.     end
  8371. end)
  8372.  
  8373. addcmd('delete',{'remove'},function(args, speaker)
  8374.     for i,v in pairs(workspace:GetDescendants()) do
  8375.         if v.Name:lower() == getstring(1):lower() then
  8376.             v:Destroy()
  8377.         end
  8378.     end
  8379.     notify('Item(s) Deleted','Deleted ' ..getstring(1))
  8380. end)
  8381.  
  8382. addcmd('deleteclass',{'removeclass','deleteclassname','removeclassname','dc'},function(args, speaker)
  8383.     for i,v in pairs(workspace:GetDescendants()) do
  8384.         if v.ClassName:lower() == getstring(1):lower() then
  8385.             v:Destroy()
  8386.         end
  8387.     end
  8388.     notify('Item(s) Deleted','Deleted items with ClassName ' ..getstring(1))
  8389. end)
  8390.  
  8391. addcmd('chardelete',{'charremove','cd'},function(args, speaker)
  8392.     for i,v in pairs(speaker.Character:GetDescendants()) do
  8393.         if v.Name:lower() == getstring(1):lower() then
  8394.             v:Destroy()
  8395.         end
  8396.     end
  8397.     notify('Item(s) Deleted','Deleted ' ..getstring(1))
  8398. end)
  8399.  
  8400. addcmd('chardeleteclass',{'charremoveclass','chardeleteclassname','charremoveclassname','cdc'},function(args, speaker)
  8401.     for i,v in pairs(speaker.Character:GetDescendants()) do
  8402.         if v.ClassName:lower() == getstring(1):lower() then
  8403.             v:Destroy()
  8404.         end
  8405.     end
  8406.     notify('Item(s) Deleted','Deleted items with ClassName ' ..getstring(1))
  8407. end)
  8408.  
  8409. addcmd('deletevelocity',{'dv','removevelocity','removeforces'},function(args, speaker)
  8410.     for i,v in pairs(speaker.Character:GetDescendants()) do
  8411.         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
  8412.             v:Destroy()
  8413.         end
  8414.     end
  8415. end)
  8416.  
  8417. addcmd('deleteinvisparts',{'deleteinvisibleparts','dip'},function(args, speaker)
  8418.     for i,v in pairs(workspace:GetDescendants()) do
  8419.         if v:IsA("BasePart") and v.Transparency == 1 and v.CanCollide then
  8420.             v:Destroy()
  8421.         end
  8422.     end
  8423. end)
  8424.  
  8425. local shownParts = {}
  8426. addcmd('invisibleparts',{'invisparts'},function(args, speaker)
  8427.     for i,v in pairs(workspace:GetDescendants()) do
  8428.         if v:IsA("BasePart") and v.Transparency == 1 then
  8429.             if not table.find(shownParts,v) then
  8430.                 table.insert(shownParts,v)
  8431.             end
  8432.             v.Transparency = 0
  8433.         end
  8434.     end
  8435. end)
  8436.  
  8437. addcmd('uninvisibleparts',{'uninvisparts'},function(args, speaker)
  8438.     for i,v in pairs(shownParts) do
  8439.         v.Transparency = 1
  8440.     end
  8441.     shownParts = {}
  8442. end)
  8443.  
  8444. addcmd('btools',{},function(args, speaker)
  8445.     for i = 1, 4 do
  8446.         local Tool = Instance.new("HopperBin")
  8447.         Tool.BinType = i
  8448.         Tool.Name = randomString()
  8449.         Tool.Parent = speaker:FindFirstChildOfClass("Backpack")
  8450.     end
  8451. end)
  8452.  
  8453. addcmd('f3x',{'fex'},function(args, speaker)
  8454.     loadstring(game:GetObjects("rbxassetid://6695644299")[1].Source)()
  8455. end)
  8456.  
  8457. addcmd('partpath',{'partname'},function(args, speaker)
  8458.     selectPart()
  8459. end)
  8460.  
  8461. addcmd('antiafk',{'antiidle'},function(args, speaker)
  8462.     local GC = getconnections or get_signal_cons
  8463.     if GC then
  8464.         for i,v in pairs(GC(Players.LocalPlayer.Idled)) do
  8465.             if v["Disable"] then
  8466.                 v["Disable"](v)
  8467.             elseif v["Disconnect"] then
  8468.                 v["Disconnect"](v)
  8469.             end
  8470.         end
  8471.     else
  8472.         Players.LocalPlayer.Idled:Connect(function()
  8473.             local VirtualUser = game:GetService("VirtualUser")
  8474.             VirtualUser:CaptureController()
  8475.             VirtualUser:ClickButton2(Vector2.new())
  8476.         end)
  8477.     end
  8478.     if not (args[1] and tostring(args[1]) == 'nonotify') then notify('Anti Idle','Anti idle is enabled') end
  8479. end)
  8480.  
  8481. addcmd('datalimit',{},function(args, speaker)
  8482.     if tonumber(args[1]) then
  8483.         NetworkClient:SetOutgoingKBPSLimit(args[1])
  8484.     end
  8485. end)
  8486.  
  8487. addcmd('replicationlag',{'backtrack'},function(args, speaker)
  8488.     if tonumber(args[1]) then
  8489.         settings():GetService("NetworkSettings").IncomingReplicationLag = args[1]
  8490.     end
  8491. end)
  8492.  
  8493. addcmd('noprompts', {'nopurchaseprompts'}, function(args, speaker)
  8494.     COREGUI.PurchasePrompt.Enabled = false
  8495. end)
  8496.  
  8497. addcmd('showprompts', {'showpurchaseprompts'}, function(args, speaker)
  8498.     COREGUI.PurchasePrompt.Enabled = true
  8499. end)
  8500.  
  8501. addcmd('age',{},function(args, speaker)
  8502.     local players = getPlayer(args[1], speaker)
  8503.     local ages = {}
  8504.     for i,v in pairs(players) do
  8505.         local p = Players[v]
  8506.         table.insert(ages, p.Name.."'s age is: "..p.AccountAge)
  8507.     end
  8508.     notify('Account Age',table.concat(ages, ',\n'))
  8509. end)
  8510.  
  8511. addcmd('chatage',{},function(args, speaker)
  8512.     local players = getPlayer(args[1], speaker)
  8513.     local ages = {}
  8514.     for i,v in pairs(players) do
  8515.         local p = Players[v]
  8516.         table.insert(ages, p.Name.."'s age is: "..p.AccountAge)
  8517.     end
  8518.     local chatString = table.concat(ages, ', ')
  8519.     ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(chatString, "All")
  8520. end)
  8521.  
  8522. addcmd('joindate',{'jd'},function(args, speaker)
  8523.     local players = getPlayer(args[1], speaker)
  8524.     local dates = {}
  8525.     notify("Loading",'Hold on a sec')
  8526.     for i,v in pairs(players) do
  8527.         local user = game:HttpGet("https://users.roblox.com/v1/users/"..Players[v].UserId)
  8528.         local json = HttpService:JSONDecode(user)
  8529.         local date = json["created"]:sub(1,10)
  8530.         local splitDates = string.split(date,"-")
  8531.         table.insert(dates,Players[v].Name.." joined: "..splitDates[2].."/"..splitDates[3].."/"..splitDates[1])
  8532.     end
  8533.     notify('Join Date (Month/Day/Year)',table.concat(dates, ',\n'))
  8534. end)
  8535.  
  8536. addcmd('chatjoindate',{'cjd'},function(args, speaker)
  8537.     local players = getPlayer(args[1], speaker)
  8538.     local dates = {}
  8539.     notify("Loading",'Hold on a sec')
  8540.     for i,v in pairs(players) do
  8541.         local user = game:HttpGet("https://users.roblox.com/v1/users/"..Players[v].UserId)
  8542.         local json = HttpService:JSONDecode(user)
  8543.         local date = json["created"]:sub(1,10)
  8544.         local splitDates = string.split(date,"-")
  8545.         table.insert(dates,Players[v].Name.." joined: "..splitDates[2].."/"..splitDates[3].."/"..splitDates[1])
  8546.     end
  8547.     local chatString = table.concat(dates, ', ')
  8548.     ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(chatString, "All")
  8549. end)
  8550.  
  8551. addcmd('copyname',{'copyuser'},function(args, speaker)
  8552.     local players = getPlayer(args[1], speaker)
  8553.     for i,v in pairs(players) do
  8554.         local name = tostring(Players[v].Name)
  8555.         toClipboard(name)
  8556.     end
  8557. end)
  8558.  
  8559. addcmd('userid',{'id'},function(args, speaker)
  8560.     local players = getPlayer(args[1], speaker)
  8561.     for i,v in pairs(players) do
  8562.         local id = tostring(Players[v].UserId)
  8563.         notify('User ID',id)
  8564.     end
  8565. end)
  8566.  
  8567. addcmd('copyid',{'copyuserid'},function(args, speaker)
  8568.     local players = getPlayer(args[1], speaker)
  8569.     for i,v in pairs(players) do
  8570.         local id = tostring(Players[v].UserId)
  8571.         toClipboard(id)
  8572.     end
  8573. end)
  8574.  
  8575. addcmd('creatorid',{'creator'},function(args, speaker)
  8576.     if game.CreatorType == Enum.CreatorType.User then
  8577.         notify('Creator ID',game.CreatorId)
  8578.     elseif game.CreatorType == Enum.CreatorType.Group then
  8579.         local OwnerID = GroupService:GetGroupInfoAsync(game.CreatorId).Owner.Id
  8580.         speaker.UserId = OwnerID
  8581.         notify('Creator ID',OwnerID)
  8582.     end
  8583. end)
  8584.  
  8585. addcmd('copycreatorid',{'copycreator'},function(args, speaker)
  8586.     if game.CreatorType == Enum.CreatorType.User then
  8587.         toClipboard(game.CreatorId)
  8588.         notify('Copied ID','Copied creator ID to clipboard')
  8589.     elseif game.CreatorType == Enum.CreatorType.Group then
  8590.         local OwnerID = GroupService:GetGroupInfoAsync(game.CreatorId).Owner.Id
  8591.         toClipboard(OwnerID)
  8592.         notify('Copied ID','Copied creator ID to clipboard')
  8593.     end
  8594. end)
  8595.  
  8596. addcmd('setcreatorid',{'setcreator'},function(args, speaker)
  8597.     if game.CreatorType == Enum.CreatorType.User then
  8598.         speaker.UserId = game.CreatorId
  8599.         notify('Set ID','Set UserId to '..game.CreatorId)
  8600.     elseif game.CreatorType == Enum.CreatorType.Group then
  8601.         local OwnerID = GroupService:GetGroupInfoAsync(game.CreatorId).Owner.Id
  8602.         speaker.UserId = OwnerID
  8603.         notify('Set ID','Set UserId to '..OwnerID)
  8604.     end
  8605. end)
  8606.  
  8607. addcmd('appearanceid',{'aid'},function(args, speaker)
  8608.     local players = getPlayer(args[1], speaker)
  8609.     for i,v in pairs(players) do
  8610.         local aid = tostring(Players[v].CharacterAppearanceId)
  8611.         notify('Appearance ID',aid)
  8612.     end
  8613. end)
  8614.  
  8615. addcmd('copyappearanceid',{'caid'},function(args, speaker)
  8616.     local players = getPlayer(args[1], speaker)
  8617.     for i,v in pairs(players) do
  8618.         local aid = tostring(Players[v].CharacterAppearanceId)
  8619.         toClipboard(aid)
  8620.     end
  8621. end)
  8622.  
  8623. addcmd('norender',{},function(args, speaker)
  8624.     RunService:Set3dRenderingEnabled(false)
  8625. end)
  8626.  
  8627. addcmd('render',{},function(args, speaker)
  8628.     RunService:Set3dRenderingEnabled(true)
  8629. end)
  8630.  
  8631. addcmd('2022materials',{'use2022materials'},function(args, speaker)
  8632.     if sethidden then
  8633.         sethidden(MaterialService, "Use2022Materials", true)
  8634.     else
  8635.         notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
  8636.     end
  8637. end)
  8638.  
  8639. addcmd('un2022materials',{'unuse2022materials'},function(args, speaker)
  8640.     if sethidden then
  8641.         sethidden(MaterialService, "Use2022Materials", false)
  8642.     else
  8643.         notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
  8644.     end
  8645. end)
  8646.  
  8647. addcmd('goto',{'to'},function(args, speaker)
  8648.     local players = getPlayer(args[1], speaker)
  8649.     for i,v in pairs(players)do
  8650.         if Players[v].Character ~= nil then
  8651.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8652.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8653.                 wait(.1)
  8654.             end
  8655.             getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0)
  8656.         end
  8657.     end
  8658.     execCmd('breakvelocity')
  8659. end)
  8660.  
  8661. addcmd('tweengoto',{'tgoto','tto','tweento'},function(args, speaker)
  8662.     local players = getPlayer(args[1], speaker)
  8663.     for i,v in pairs(players)do
  8664.         if Players[v].Character ~= nil then
  8665.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8666.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8667.                 wait(.1)
  8668.             end
  8669.             TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0)}):Play()
  8670.         end
  8671.     end
  8672.     execCmd('breakvelocity')
  8673. end)
  8674.  
  8675. addcmd('vehiclegoto',{'vgoto','vtp','vehicletp'},function(args, speaker)
  8676.     local players = getPlayer(args[1], speaker)
  8677.     for i,v in pairs(players)do
  8678.         if Players[v].Character ~= nil then
  8679.             local seat = speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart
  8680.             local vehicleModel = seat:FindFirstAncestorWhichIsA("Model")
  8681.             vehicleModel:MoveTo(getRoot(Players[v].Character).Position)
  8682.         end
  8683.     end
  8684. end)
  8685.  
  8686. addcmd('pulsetp',{'ptp'},function(args, speaker)
  8687.     local players = getPlayer(args[1], speaker)
  8688.     for i,v in pairs(players)do
  8689.         if Players[v].Character ~= nil then
  8690.             local startPos = getRoot(speaker.Character).CFrame
  8691.             local seconds = args[2] or 1
  8692.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8693.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8694.                 wait(.1)
  8695.             end
  8696.             getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0)
  8697.             wait(seconds)
  8698.             getRoot(speaker.Character).CFrame = startPos
  8699.         end
  8700.     end
  8701.     execCmd('breakvelocity')
  8702. end)
  8703.  
  8704. local vnoclipParts = {}
  8705. addcmd('vehiclenoclip',{'vnoclip'},function(args, speaker)
  8706.     vnoclipParts = {}
  8707.     local seat = speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart
  8708.     local vehicleModel = seat.Parent
  8709.     repeat
  8710.         if vehicleModel.ClassName ~= "Model" then
  8711.             vehicleModel = vehicleModel.Parent
  8712.         end
  8713.     until vehicleModel.ClassName == "Model"
  8714.     wait(0.1)
  8715.     execCmd('noclip')
  8716.     for i,v in pairs(vehicleModel:GetDescendants()) do
  8717.         if v:IsA("BasePart") and v.CanCollide then
  8718.             table.insert(vnoclipParts,v)
  8719.             v.CanCollide = false
  8720.         end
  8721.     end
  8722. end)
  8723.  
  8724. addcmd('vehicleclip',{'vclip','unvnoclip','unvehiclenoclip'},function(args, speaker)
  8725.     execCmd('clip')
  8726.     for i,v in pairs(vnoclipParts) do
  8727.         v.CanCollide = true
  8728.     end
  8729.     vnoclipParts = {}
  8730. end)
  8731.  
  8732. addcmd('togglevnoclip',{},function(args, speaker)
  8733.     if Clip then
  8734.         execCmd('vnoclip')
  8735.     else
  8736.         execCmd('vclip')
  8737.     end
  8738. end)
  8739.  
  8740. addcmd('clientbring',{'cbring'},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 Players[v].Character:FindFirstChildOfClass('Humanoid') then
  8745.                 Players[v].Character:FindFirstChildOfClass('Humanoid').Sit = false
  8746.             end
  8747.             wait()
  8748.             getRoot(Players[v].Character).CFrame = getRoot(speaker.Character).CFrame + Vector3.new(3,1,0)
  8749.         end
  8750.     end
  8751. end)
  8752.  
  8753. local bringT = {}
  8754. addcmd('loopbring',{},function(args, speaker)
  8755.     local players = getPlayer(args[1], speaker)
  8756.     for i,v in pairs(players)do
  8757.         task.spawn(function()
  8758.             if Players[v].Name ~= speaker.Name and not FindInTable(bringT, Players[v].Name) then
  8759.                 table.insert(bringT, Players[v].Name)
  8760.                 local plrName = Players[v].Name
  8761.                 local pchar=Players[v].Character
  8762.                 local distance = 3
  8763.                 if args[2] and isNumber(args[2]) then
  8764.                     distance = args[2]
  8765.                 end
  8766.                 local lDelay = 0
  8767.                 if args[3] and isNumber(args[3]) then
  8768.                     lDelay = args[3]
  8769.                 end
  8770.                 repeat
  8771.                     for i,c in pairs(players) do
  8772.                         if Players:FindFirstChild(v) then
  8773.                             pchar = Players[v].Character
  8774.                             if pchar~= nil and Players[v].Character ~= nil and getRoot(pchar) and speaker.Character ~= nil and getRoot(speaker.Character) then
  8775.                                 getRoot(pchar).CFrame = getRoot(speaker.Character).CFrame + Vector3.new(distance,1,0)
  8776.                             end
  8777.                             wait(lDelay)
  8778.                         else
  8779.                             for a,b in pairs(bringT) do if b == plrName then table.remove(bringT, a) end end
  8780.                         end
  8781.                     end
  8782.                 until not FindInTable(bringT, plrName)
  8783.             end
  8784.         end)
  8785.     end
  8786. end)
  8787.  
  8788. addcmd('unloopbring',{'noloopbring'},function(args, speaker)
  8789.     local players = getPlayer(args[1], speaker)
  8790.     for i,v in pairs(players)do
  8791.         task.spawn(function()
  8792.             for a,b in pairs(bringT) do if b == Players[v].Name then table.remove(bringT, a) end end
  8793.         end)
  8794.     end
  8795. end)
  8796.  
  8797. local walkto = false
  8798. local waypointwalkto = false
  8799. addcmd('walkto',{'follow'},function(args, speaker)
  8800.     local players = getPlayer(args[1], speaker)
  8801.     for i,v in pairs(players)do
  8802.         if Players[v].Character ~= nil then
  8803.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8804.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8805.                 wait(.1)
  8806.             end
  8807.             walkto = true
  8808.             repeat wait()
  8809.                 speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(getRoot(Players[v].Character).Position)
  8810.             until Players[v].Character == nil or not getRoot(Players[v].Character) or walkto == false
  8811.         end
  8812.     end
  8813. end)
  8814.  
  8815. addcmd('pathfindwalkto',{'pathfindfollow'},function(args, speaker)
  8816.     walkto = false
  8817.     wait()
  8818.     local players = getPlayer(args[1], speaker)
  8819.     local hum = Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  8820.     local path = PathService:CreatePath()
  8821.     for i,v in pairs(players)do
  8822.         if Players[v].Character ~= nil then
  8823.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8824.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8825.                 wait(.1)
  8826.             end
  8827.             walkto = true
  8828.             repeat wait()
  8829.                 local success, response = pcall(function()
  8830.                     path:ComputeAsync(getRoot(speaker.Character).Position, getRoot(Players[v].Character).Position)
  8831.                     local waypoints = path:GetWaypoints()
  8832.                     local distance
  8833.                     for waypointIndex, waypoint in pairs(waypoints) do
  8834.                         local waypointPosition = waypoint.Position
  8835.                         hum:MoveTo(waypointPosition)
  8836.                         repeat
  8837.                             distance = (waypointPosition - hum.Parent.PrimaryPart.Position).magnitude
  8838.                             wait()
  8839.                         until
  8840.                         distance <= 5
  8841.                     end  
  8842.                 end)
  8843.                 if not success then
  8844.                     speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(getRoot(Players[v].Character).Position)
  8845.                 end
  8846.             until Players[v].Character == nil or not getRoot(Players[v].Character) or walkto == false
  8847.         end
  8848.     end
  8849. end)
  8850.  
  8851. addcmd('pathfindwalktowaypoint',{'pathfindwalktowp'},function(args, speaker)
  8852.     waypointwalkto = false
  8853.     wait()
  8854.     local WPName = tostring(getstring(1))
  8855.     local hum = Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  8856.     local path = PathService:CreatePath()
  8857.     if speaker.Character then
  8858.         for i,_ in pairs(WayPoints) do
  8859.             if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8860.                 if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8861.                     speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8862.                     wait(.1)
  8863.                 end
  8864.                 local TrueCoords = Vector3.new(WayPoints[i].COORD[1], WayPoints[i].COORD[2], WayPoints[i].COORD[3])
  8865.                 waypointwalkto = true
  8866.                 repeat wait()
  8867.                     local success, response = pcall(function()
  8868.                         path:ComputeAsync(getRoot(speaker.Character).Position, TrueCoords)
  8869.                         local waypoints = path:GetWaypoints()
  8870.                         local distance
  8871.                         for waypointIndex, waypoint in pairs(waypoints) do
  8872.                             local waypointPosition = waypoint.Position
  8873.                             hum:MoveTo(waypointPosition)
  8874.                             repeat
  8875.                                 distance = (waypointPosition - hum.Parent.PrimaryPart.Position).magnitude
  8876.                                 wait()
  8877.                             until
  8878.                             distance <= 5
  8879.                         end
  8880.                     end)
  8881.                     if not success then
  8882.                         speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(TrueCoords)
  8883.                     end
  8884.                 until not speaker.Character or waypointwalkto == false
  8885.             end
  8886.         end
  8887.         for i,_ in pairs(pWayPoints) do
  8888.             if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8889.                 if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8890.                     speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8891.                     wait(.1)
  8892.                 end
  8893.                 local TrueCoords = pWayPoints[i].COORD[1].Position
  8894.                 waypointwalkto = true
  8895.                 repeat wait()
  8896.                     local success, response = pcall(function()
  8897.                         path:ComputeAsync(getRoot(speaker.Character).Position, TrueCoords)
  8898.                         local waypoints = path:GetWaypoints()
  8899.                         local distance
  8900.                         for waypointIndex, waypoint in pairs(waypoints) do
  8901.                             local waypointPosition = waypoint.Position
  8902.                             hum:MoveTo(waypointPosition)
  8903.                             repeat
  8904.                                 distance = (waypointPosition - hum.Parent.PrimaryPart.Position).magnitude
  8905.                                 wait()
  8906.                             until
  8907.                             distance <= 5
  8908.                         end
  8909.                     end)
  8910.                     if not success then
  8911.                         speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(TrueCoords)
  8912.                     end
  8913.                 until not speaker.Character or waypointwalkto == false
  8914.             end
  8915.         end
  8916.     end
  8917. end)
  8918.  
  8919. addcmd('unwalkto',{'nowalkto','unfollow','nofollow'},function(args, speaker)
  8920.     walkto = false
  8921.     waypointwalkto = false
  8922. end)
  8923.  
  8924. addcmd('freeze',{'fr'},function(args, speaker)
  8925.     local players = getPlayer(args[1], speaker)
  8926.     if players ~= nil then
  8927.         for i,v in pairs(players) do
  8928.             task.spawn(function()
  8929.                 for i, x in next, Players[v].Character:GetDescendants() do
  8930.                     if x:IsA("BasePart") and not x.Anchored then
  8931.                         x.Anchored = true
  8932.                     end
  8933.                 end
  8934.             end)
  8935.         end
  8936.     end
  8937. end)
  8938.  
  8939.  
  8940. addcmd('thaw',{'unfreeze','unfr'},function(args, speaker)
  8941.     local players = getPlayer(args[1], speaker)
  8942.     if players ~= nil then
  8943.         for i,v in pairs(players) do
  8944.             task.spawn(function()
  8945.                 for i, x in next, Players[v].Character:GetDescendants() do
  8946.                     if x.Name ~= floatName and x:IsA("BasePart") and x.Anchored then
  8947.                         x.Anchored = false
  8948.                     end
  8949.                 end
  8950.             end)
  8951.         end
  8952.     end
  8953. end)
  8954.  
  8955. oofing = false
  8956. addcmd('loopoof',{},function(args, speaker)
  8957.     oofing = true
  8958.     repeat wait(0.1)
  8959.         for i,v in pairs(Players:GetPlayers()) do
  8960.             if v.Character ~= nil and v.Character:FindFirstChild'Head' then
  8961.                 for _,x in pairs(v.Character.Head:GetChildren()) do
  8962.                     if x:IsA'Sound' then x.Playing = true end
  8963.                 end
  8964.             end
  8965.         end
  8966.     until oofing == false
  8967. end)
  8968.  
  8969. addcmd('unloopoof',{},function(args, speaker)
  8970.     oofing = false
  8971. end)
  8972.  
  8973. local notifiedRespectFiltering = false
  8974. addcmd('muteboombox',{},function(args, speaker)
  8975.     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
  8976.     local players = getPlayer(args[1], speaker)
  8977.     if players ~= nil then
  8978.         for i,v in pairs(players) do
  8979.             task.spawn(function()
  8980.                 for i, x in next, Players[v].Character:GetDescendants() do
  8981.                     if x:IsA("Sound") and x.Playing == true then
  8982.                         x.Playing = false
  8983.                     end
  8984.                 end
  8985.                 for i, x in next, Players[v]:FindFirstChildOfClass("Backpack"):GetDescendants() do
  8986.                     if x:IsA("Sound") and x.Playing == true then
  8987.                         x.Playing = false
  8988.                     end
  8989.                 end
  8990.             end)
  8991.         end
  8992.     end
  8993. end)
  8994.  
  8995. addcmd('unmuteboombox',{},function(args, speaker)
  8996.     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
  8997.     local players = getPlayer(args[1], speaker)
  8998.     if players ~= nil then
  8999.         for i,v in pairs(players) do
  9000.             task.spawn(function()
  9001.                 for i, x in next, Players[v].Character:GetDescendants() do
  9002.                     if x:IsA("Sound") and x.Playing == false then
  9003.                         x.Playing = true
  9004.                     end
  9005.                 end
  9006.             end)
  9007.         end
  9008.     end
  9009. end)
  9010.  
  9011. addcmd('reset',{},function(args, speaker)
  9012.     speaker.Character:FindFirstChildOfClass("Humanoid"):ChangeState(Enum.HumanoidStateType.Dead)
  9013. end)
  9014.  
  9015. addcmd('freezeanims',{},function(args, speaker)
  9016.     local Humanoid = speaker.Character:FindFirstChildOfClass("Humanoid") or speaker.Character:FindFirstChildOfClass("AnimationController")
  9017.     local ActiveTracks = Humanoid:GetPlayingAnimationTracks()
  9018.     for _, v in pairs(ActiveTracks) do
  9019.         v:AdjustSpeed(0)
  9020.     end
  9021. end)
  9022.  
  9023. addcmd('unfreezeanims',{},function(args, speaker)
  9024.     local Humanoid = speaker.Character:FindFirstChildOfClass("Humanoid") or speaker.Character:FindFirstChildOfClass("AnimationController")
  9025.     local ActiveTracks = Humanoid:GetPlayingAnimationTracks()
  9026.     for _, v in pairs(ActiveTracks) do
  9027.         v:AdjustSpeed(1)
  9028.     end
  9029. end)
  9030.  
  9031.  
  9032.  
  9033.  
  9034. addcmd('respawn',{},function(args, speaker)
  9035.     respawn(speaker)
  9036. end)
  9037.  
  9038. addcmd('refresh',{'re'},function(args, speaker)
  9039.     refresh(speaker)
  9040. end)
  9041.  
  9042. addcmd('god',{},function(args, speaker)
  9043.     local Cam = workspace.CurrentCamera
  9044.     local Pos, Char = Cam.CFrame, speaker.Character
  9045.     local Human = Char and Char.FindFirstChildWhichIsA(Char, "Humanoid")
  9046.     local nHuman = Human.Clone(Human)
  9047.     nHuman.Parent, speaker.Character = Char, nil
  9048.     nHuman.SetStateEnabled(nHuman, 15, false)
  9049.     nHuman.SetStateEnabled(nHuman, 1, false)
  9050.     nHuman.SetStateEnabled(nHuman, 0, false)
  9051.     nHuman.BreakJointsOnDeath, Human = true, Human.Destroy(Human)
  9052.     speaker.Character, Cam.CameraSubject, Cam.CFrame = Char, nHuman, wait() and Pos
  9053.     nHuman.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  9054.     local Script = Char.FindFirstChild(Char, "Animate")
  9055.     if Script then
  9056.         Script.Disabled = true
  9057.         wait()
  9058.         Script.Disabled = false
  9059.     end
  9060.     nHuman.Health = nHuman.MaxHealth
  9061. end)
  9062.  
  9063. invisRunning = false
  9064. addcmd('invisible',{'invis'},function(args, speaker)
  9065.     if invisRunning then return end
  9066.     invisRunning = true
  9067.     -- Full credit to AmokahFox @V3rmillion
  9068.     local Player = speaker
  9069.     repeat wait(.1) until Player.Character
  9070.     local Character = Player.Character
  9071.     Character.Archivable = true
  9072.     local IsInvis = false
  9073.     local IsRunning = true
  9074.     local InvisibleCharacter = Character:Clone()
  9075.     InvisibleCharacter.Parent = Lighting
  9076.     local Void = workspace.FallenPartsDestroyHeight
  9077.     InvisibleCharacter.Name = ""
  9078.     local CF
  9079.  
  9080.     local invisFix = RunService.Stepped:Connect(function()
  9081.         pcall(function()
  9082.             local IsInteger
  9083.             if tostring(Void):find'-' then
  9084.                 IsInteger = true
  9085.             else
  9086.                 IsInteger = false
  9087.             end
  9088.             local Pos = Player.Character.HumanoidRootPart.Position
  9089.             local Pos_String = tostring(Pos)
  9090.             local Pos_Seperate = Pos_String:split(', ')
  9091.             local X = tonumber(Pos_Seperate[1])
  9092.             local Y = tonumber(Pos_Seperate[2])
  9093.             local Z = tonumber(Pos_Seperate[3])
  9094.             if IsInteger == true then
  9095.                 if Y <= Void then
  9096.                     Respawn()
  9097.                 end
  9098.             elseif IsInteger == false then
  9099.                 if Y >= Void then
  9100.                     Respawn()
  9101.                 end
  9102.             end
  9103.         end)
  9104.     end)
  9105.  
  9106.     for i,v in pairs(InvisibleCharacter:GetDescendants())do
  9107.         if v:IsA("BasePart") then
  9108.             if v.Name == "HumanoidRootPart" then
  9109.                 v.Transparency = 1
  9110.             else
  9111.                 v.Transparency = .5
  9112.             end
  9113.         end
  9114.     end
  9115.  
  9116.     function Respawn()
  9117.         IsRunning = false
  9118.         if IsInvis == true then
  9119.             pcall(function()
  9120.                 Player.Character = Character
  9121.                 wait()
  9122.                 Character.Parent = workspace
  9123.                 Character:FindFirstChildWhichIsA'Humanoid':Destroy()
  9124.                 IsInvis = false
  9125.                 InvisibleCharacter.Parent = nil
  9126.                 invisRunning = false
  9127.             end)
  9128.         elseif IsInvis == false then
  9129.             pcall(function()
  9130.                 Player.Character = Character
  9131.                 wait()
  9132.                 Character.Parent = workspace
  9133.                 Character:FindFirstChildWhichIsA'Humanoid':Destroy()
  9134.                 TurnVisible()
  9135.             end)
  9136.         end
  9137.     end
  9138.  
  9139.     local invisDied
  9140.     invisDied = InvisibleCharacter:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
  9141.         Respawn()
  9142.         invisDied:Disconnect()
  9143.     end)
  9144.  
  9145.     if IsInvis == true then return end
  9146.     IsInvis = true
  9147.     CF = workspace.CurrentCamera.CFrame
  9148.     local CF_1 = Player.Character.HumanoidRootPart.CFrame
  9149.     Character:MoveTo(Vector3.new(0,math.pi*1000000,0))
  9150.     workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
  9151.     wait(.2)
  9152.     workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
  9153.     InvisibleCharacter = InvisibleCharacter
  9154.     Character.Parent = Lighting
  9155.     InvisibleCharacter.Parent = workspace
  9156.     InvisibleCharacter.HumanoidRootPart.CFrame = CF_1
  9157.     Player.Character = InvisibleCharacter
  9158.     execCmd('fixcam')
  9159.     Player.Character.Animate.Disabled = true
  9160.     Player.Character.Animate.Disabled = false
  9161.  
  9162.     function TurnVisible()
  9163.         if IsInvis == false then return end
  9164.         invisFix:Disconnect()
  9165.         invisDied:Disconnect()
  9166.         CF = workspace.CurrentCamera.CFrame
  9167.         Character = Character
  9168.         local CF_1 = Player.Character.HumanoidRootPart.CFrame
  9169.         Character.HumanoidRootPart.CFrame = CF_1
  9170.         InvisibleCharacter:Destroy()
  9171.         Player.Character = Character
  9172.         Character.Parent = workspace
  9173.         IsInvis = false
  9174.         Player.Character.Animate.Disabled = true
  9175.         Player.Character.Animate.Disabled = false
  9176.         invisDied = Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
  9177.             Respawn()
  9178.             invisDied:Disconnect()
  9179.         end)
  9180.         invisRunning = false
  9181.     end
  9182.     notify('Invisible','You now appear invisible to other players')
  9183. end)
  9184.  
  9185. addcmd('visible',{'vis'},function(args, speaker)
  9186.     TurnVisible()
  9187. end)
  9188.  
  9189. addcmd('toggleinvis',{},function(args, speaker)
  9190.     if invisRunning then
  9191.         execCmd('visible')
  9192.     else
  9193.         execCmd('invisible')
  9194.     end
  9195. end)
  9196.  
  9197. addcmd('toolinvisible',{'toolinvis','tinvis'},function(args, speaker)
  9198.     local Char  = Players.LocalPlayer.Character
  9199.     local touched = false
  9200.     local tpdback = false
  9201.     local box = Instance.new('Part')
  9202.     box.Anchored = true
  9203.     box.CanCollide = true
  9204.     box.Size = Vector3.new(10,1,10)
  9205.     box.Position = Vector3.new(0,10000,0)
  9206.     box.Parent = workspace
  9207.     local boxTouched = box.Touched:connect(function(part)
  9208.         if (part.Parent.Name == Players.LocalPlayer.Name) then
  9209.             if touched == false then
  9210.                 touched = true
  9211.                 local function apply()
  9212.                     local no = Char.HumanoidRootPart:Clone()
  9213.                     wait(.25)
  9214.                     Char.HumanoidRootPart:Destroy()
  9215.                     no.Parent = Char
  9216.                     Char:MoveTo(loc)
  9217.                     touched = false
  9218.                 end
  9219.                 if Char then
  9220.                     apply()
  9221.                 end
  9222.             end
  9223.         end
  9224.     end)
  9225.     repeat wait() until Char
  9226.     local cleanUp
  9227.     cleanUp = Players.LocalPlayer.CharacterAdded:connect(function(char)
  9228.         boxTouched:Disconnect()
  9229.         box:Destroy()
  9230.         cleanUp:Disconnect()
  9231.     end)
  9232.     loc = Char.HumanoidRootPart.Position
  9233.     Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  9234. end)
  9235.  
  9236. addcmd('strengthen',{},function(args, speaker)
  9237.     for _, child in pairs(speaker.Character:GetDescendants()) do
  9238.         if child.ClassName == "Part" then
  9239.             if args[1] then
  9240.                 child.CustomPhysicalProperties = PhysicalProperties.new(args[1], 0.3, 0.5)
  9241.             else
  9242.                 child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5)
  9243.             end
  9244.         end
  9245.     end
  9246. end)
  9247.  
  9248. addcmd('weaken',{},function(args, speaker)
  9249.     for _, child in pairs(speaker.Character:GetDescendants()) do
  9250.         if child.ClassName == "Part" then
  9251.             if args[1] then
  9252.                 child.CustomPhysicalProperties = PhysicalProperties.new(-args[1], 0.3, 0.5)
  9253.             else
  9254.                 child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5)
  9255.             end
  9256.         end
  9257.     end
  9258. end)
  9259.  
  9260. addcmd('unweaken',{'unstrengthen'},function(args, speaker)
  9261.     for _, child in pairs(speaker.Character:GetDescendants()) do
  9262.         if child.ClassName == "Part" then
  9263.             child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
  9264.         end
  9265.     end
  9266. end)
  9267.  
  9268. addcmd('breakvelocity', {}, function(args, speaker)
  9269.     local BeenASecond, V3 = false, Vector3.new(0, 0, 0)
  9270.     delay(1, function()
  9271.         BeenASecond = true
  9272.     end)
  9273.     while not BeenASecond do
  9274.         for _, v in ipairs(speaker.Character:GetDescendants()) do
  9275.             if v.IsA(v, "BasePart") then
  9276.                 v.Velocity, v.RotVelocity = V3, V3
  9277.             end
  9278.         end
  9279.         wait()
  9280.     end
  9281. end)
  9282.  
  9283. addcmd('jpower',{'jumppower','jp'},function(args, speaker)
  9284.     local jpower = args[1] or 50
  9285.     if isNumber(jpower) then
  9286.         if speaker.Character:FindFirstChildOfClass('Humanoid').UseJumpPower then
  9287.             speaker.Character:FindFirstChildOfClass('Humanoid').JumpPower = jpower
  9288.         else
  9289.             speaker.Character:FindFirstChildOfClass('Humanoid').JumpHeight  = jpower
  9290.         end
  9291.     end
  9292. end)
  9293.  
  9294. addcmd('maxslopeangle',{'msa'},function(args, speaker)
  9295.     local sangle = args[1] or 89
  9296.     if isNumber(sangle) then
  9297.         speaker.Character:FindFirstChildOfClass('Humanoid').MaxSlopeAngle = sangle
  9298.     end
  9299. end)
  9300.  
  9301. addcmd('gravity',{'grav'},function(args, speaker)
  9302.     local grav = args[1] or 196.2
  9303.     if isNumber(grav) then
  9304.         workspace.Gravity = grav
  9305.     end
  9306. end)
  9307.  
  9308. addcmd('hipheight',{'hheight'},function(args, speaker)
  9309.     speaker.Character:FindFirstChildWhichIsA('Humanoid').HipHeight = args[1] or (r15(speaker) and 2.1 or 0)
  9310. end)
  9311.  
  9312. addcmd("dance", {}, function(args, speaker)
  9313.     pcall(execCmd, "undance")
  9314.     local dances = {"27789359", "30196114", "248263260", "45834924", "33796059", "28488254", "52155728"}
  9315.     if r15(speaker) then
  9316.         dances = {"3333432454", "4555808220", "4049037604", "4555782893", "10214311282", "10714010337", "10713981723", "10714372526", "10714076981", "10714392151", "11444443576"}
  9317.     end
  9318.     local animation = Instance.new("Animation")
  9319.     animation.AnimationId = "rbxassetid://" .. dances[math.random(1, #dances)]
  9320.     danceTrack = speaker.Character:FindFirstChildWhichIsA("Humanoid"):LoadAnimation(animation)
  9321.     danceTrack.Looped = true
  9322.     danceTrack:Play()
  9323. end)
  9324.  
  9325. addcmd("undance", {"nodance"}, function(args, speaker)
  9326.     danceTrack:Stop()
  9327.     danceTrack:Destroy()
  9328. end)
  9329.  
  9330. addcmd('nolimbs',{'rlimbs'},function(args, speaker)
  9331.     if r15(speaker) then
  9332.         for i,v in pairs(speaker.Character:GetChildren()) do
  9333.             if v:IsA("BasePart") and
  9334.                 v.Name == "RightUpperLeg" or
  9335.                 v.Name == "LeftUpperLeg" or
  9336.                 v.Name == "RightUpperArm" or
  9337.                 v.Name == "LeftUpperArm" then
  9338.                 v:Destroy()
  9339.             end
  9340.         end
  9341.     else
  9342.         for i,v in pairs(speaker.Character:GetChildren()) do
  9343.             if v:IsA("BasePart") and
  9344.                 v.Name == "Right Leg" or
  9345.                 v.Name == "Left Leg" or
  9346.                 v.Name == "Right Arm" or
  9347.                 v.Name == "Left Arm" then
  9348.                 v:Destroy()
  9349.             end
  9350.         end
  9351.     end
  9352. end)
  9353.  
  9354. addcmd('nohead',{'rhead','headless'},function(args, speaker)
  9355.     if sethidden then
  9356.         -- Full credit to Thomas_Cornez#0272 @Discord
  9357.         local lplr = Players.LocalPlayer
  9358.         local char = lplr.Character
  9359.         local rigType = tostring(char:FindFirstChildOfClass('Humanoid').RigType) == "Enum.HumanoidRigType.R6" and 1 or tostring(char:FindFirstChildOfClass('Humanoid').RigType) == "Enum.HumanoidRigType.R15" and 2
  9360.  
  9361.         local speaker = Players.LocalPlayer
  9362.  
  9363.  
  9364.         local test = Instance.new("Model")
  9365.         local hum  = Instance.new("Humanoid")
  9366.         local animation = Instance.new("Model")
  9367.         local humanoidanimation = Instance.new("Humanoid")
  9368.         test.Parent = workspace
  9369.         hum.Parent = test
  9370.         animation.Parent = workspace
  9371.         humanoidanimation.Parent = animation
  9372.  
  9373.         lplr.Character = test
  9374.         wait(2)
  9375.         char:FindFirstChildOfClass('Humanoid').Animator.Parent = humanoidanimation
  9376.         char:FindFirstChildOfClass('Humanoid'):Destroy()
  9377.  
  9378.         char.Head:Destroy()
  9379.         wait(5)
  9380.         Players.LocalPlayer.Character = char
  9381.  
  9382.         local hum2 = Instance.new("Humanoid")
  9383.         hum2.Parent = char
  9384.         char:FindFirstChildOfClass("Humanoid").Jump = true
  9385.  
  9386.         humanoidanimation.Animator.Parent = hum2
  9387.         char.Animate.Disabled = true
  9388.         wait()
  9389.         char.Animate.Disabled = false
  9390.         wait()
  9391.  
  9392.         if rig == 1 then
  9393.             hum2.HipHeight = 0
  9394.         elseif rig == 2 then
  9395.             hum2.HipHeight = 2.19
  9396.         end
  9397.     else
  9398.         notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
  9399.     end
  9400. end)
  9401.  
  9402. addcmd('noarms',{'rarms'},function(args, speaker)
  9403.     if r15(speaker) then
  9404.         for i,v in pairs(speaker.Character:GetChildren()) do
  9405.             if v:IsA("BasePart") and
  9406.                 v.Name == "RightUpperArm" or
  9407.                 v.Name == "LeftUpperArm" then
  9408.                 v:Destroy()
  9409.             end
  9410.         end
  9411.     else
  9412.         for i,v in pairs(speaker.Character:GetChildren()) do
  9413.             if v:IsA("BasePart") and
  9414.                 v.Name == "Right Arm" or
  9415.                 v.Name == "Left Arm" then
  9416.                 v:Destroy()
  9417.             end
  9418.         end
  9419.     end
  9420. end)
  9421.  
  9422. addcmd('nolegs',{'rlegs'},function(args, speaker)
  9423.     if r15(speaker) then
  9424.         for i,v in pairs(speaker.Character:GetChildren()) do
  9425.             if v:IsA("BasePart") and
  9426.                 v.Name == "RightUpperLeg" or
  9427.                 v.Name == "LeftUpperLeg" then
  9428.                 v:Destroy()
  9429.             end
  9430.         end
  9431.     else
  9432.         for i,v in pairs(speaker.Character:GetChildren()) do
  9433.             if v:IsA("BasePart") and
  9434.                 v.Name == "Right Leg" or
  9435.                 v.Name == "Left Leg" then
  9436.                 v:Destroy()
  9437.             end
  9438.         end
  9439.     end
  9440. end)
  9441.  
  9442. addcmd("sit", {}, function(args, speaker)
  9443.     speaker.Character:FindFirstChildWhichIsA("Humanoid").Sit = true
  9444. end)
  9445.  
  9446. addcmd("lay", {"laydown"}, function(args, speaker)
  9447.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  9448.     humanoid.Sit = true
  9449.     task.wait(0.1)
  9450.     humanoid.RootPart.CFrame = humanoid.RootPart.CFrame * CFrame.Angles(math.pi * 0.5, 0, 0)
  9451.     for _, v in ipairs(humanoid:GetPlayingAnimationTracks()) do
  9452.         v:Stop()
  9453.     end
  9454. end)
  9455.  
  9456. addcmd("sitwalk", {}, function(args, speaker)
  9457.     local anims = speaker.Character.Animate
  9458.     local sit = anims.sit:FindFirstChildWhichIsA("Animation").AnimationId
  9459.     anims.idle:FindFirstChildWhichIsA("Animation").AnimationId = sit
  9460.     anims.walk:FindFirstChildWhichIsA("Animation").AnimationId = sit
  9461.     anims.run:FindFirstChildWhichIsA("Animation").AnimationId = sit
  9462.     anims.jump:FindFirstChildWhichIsA("Animation").AnimationId = sit
  9463.     speaker.Character:FindFirstChildWhichIsA("Humanoid").HipHeight = not r15(speaker) and -1.5 or 0.5
  9464. end)
  9465.  
  9466. function noSitFunc()
  9467.     wait()
  9468.     if Players.LocalPlayer.Character:FindFirstChildWhichIsA("Humanoid").Sit then
  9469.         Players.LocalPlayer.Character:FindFirstChildWhichIsA("Humanoid").Sit = false
  9470.     end
  9471. end
  9472. addcmd('nosit',{},function(args, speaker)
  9473.     if noSit then noSit:Disconnect() nositDied:Disconnect() end
  9474.     noSit = Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid'):GetPropertyChangedSignal("Sit"):Connect(noSitFunc)
  9475.     local function nositDiedFunc()
  9476.         repeat wait() until speaker.Character ~= nil and speaker.Character:FindFirstChildOfClass("Humanoid")
  9477.         noSit:Disconnect()
  9478.         noSit = Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid'):GetPropertyChangedSignal("Sit"):Connect(noSitFunc)
  9479.     end
  9480.     nositDied = speaker.CharacterAdded:Connect(nositDiedFunc)
  9481. end)
  9482.  
  9483. addcmd('unnosit',{},function(args, speaker)
  9484.     if noSit then noSit:Disconnect() nositDied:Disconnect() end
  9485. end)
  9486.  
  9487. addcmd('jump',{},function(args, speaker)
  9488.     speaker.Character:FindFirstChildOfClass("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping)
  9489. end)
  9490.  
  9491. local infJump
  9492. local infJumpDebounce = false
  9493. addcmd('infjump',{'infinitejump'},function(args, speaker)
  9494.     if infJump then infJump:Disconnect() end
  9495.     infJumpDebounce = false
  9496.     infJump = UserInputService.JumpRequest:Connect(function()
  9497.         if not infJumpDebounce then
  9498.             infJumpDebounce = true
  9499.             speaker.Character:FindFirstChildOfClass("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping)
  9500.             wait()
  9501.             infJumpDebounce = false
  9502.         end
  9503.     end)
  9504. end)
  9505.  
  9506. addcmd('uninfjump',{'uninfinitejump','noinfjump','noinfinitejump'},function(args, speaker)
  9507.     if infJump then infJump:Disconnect() end
  9508.     infJumpDebounce = false
  9509. end)
  9510.  
  9511. local flyjump
  9512. addcmd('flyjump',{},function(args, speaker)
  9513.     if flyjump then flyjump:Disconnect() end
  9514.     flyjump = UserInputService.JumpRequest:Connect(function()
  9515.         speaker.Character:FindFirstChildWhichIsA("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping)
  9516.     end)
  9517. end)
  9518.  
  9519. addcmd('unflyjump',{'noflyjump'},function(args, speaker)
  9520.     if flyjump then flyjump:Disconnect() end
  9521. end)
  9522.  
  9523. local HumanModCons = {}
  9524. addcmd('autojump',{'ajump'},function(args, speaker)
  9525.     local Char = speaker.Character
  9526.     local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  9527.     local function autoJump()
  9528.         if Char and Human then
  9529.             local check1 = workspace:FindPartOnRay(Ray.new(Human.RootPart.Position-Vector3.new(0,1.5,0), Human.RootPart.CFrame.lookVector*3), Human.Parent)
  9530.             local check2 = workspace:FindPartOnRay(Ray.new(Human.RootPart.Position+Vector3.new(0,1.5,0), Human.RootPart.CFrame.lookVector*3), Human.Parent)
  9531.             if check1 or check2 then
  9532.                 Human.Jump = true
  9533.             end
  9534.         end
  9535.     end
  9536.     autoJump()
  9537.     HumanModCons.ajLoop = (HumanModCons.ajLoop and HumanModCons.ajLoop:Disconnect() and false) or RunService.RenderStepped:Connect(autoJump)
  9538.     HumanModCons.ajCA = (HumanModCons.ajCA and HumanModCons.ajCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
  9539.         Char, Human = nChar, nChar:WaitForChild("Humanoid")
  9540.         autoJump()
  9541.         HumanModCons.ajLoop = (HumanModCons.ajLoop and HumanModCons.ajLoop:Disconnect() and false) or RunService.RenderStepped:Connect(autoJump)
  9542.     end)
  9543. end)
  9544.  
  9545. addcmd('unautojump',{'noautojump', 'noajump', 'unajump'},function(args, speaker)
  9546.     HumanModCons.ajLoop = (HumanModCons.ajLoop and HumanModCons.ajLoop:Disconnect() and false) or nil
  9547.     HumanModCons.ajCA = (HumanModCons.ajCA and HumanModCons.ajCA:Disconnect() and false) or nil
  9548. end)
  9549.  
  9550. addcmd('edgejump',{'ejump'},function(args, speaker)
  9551.     local Char = speaker.Character
  9552.     local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  9553.     -- Full credit to NoelGamer06 @V3rmillion
  9554.     local state
  9555.     local laststate
  9556.     local lastcf
  9557.     local function edgejump()
  9558.         if Char and Human then
  9559.             laststate = state
  9560.             state = Human:GetState()
  9561.             if laststate ~= state and state == Enum.HumanoidStateType.Freefall and laststate ~= Enum.HumanoidStateType.Jumping then
  9562.                 Char.HumanoidRootPart.CFrame = lastcf
  9563.                 Char.HumanoidRootPart.Velocity = Vector3.new(Char.HumanoidRootPart.Velocity.X, Human.JumpPower or Human.JumpHeight, Char.HumanoidRootPart.Velocity.Z)
  9564.             end
  9565.             lastcf = Char.HumanoidRootPart.CFrame
  9566.         end
  9567.     end
  9568.     edgejump()
  9569.     HumanModCons.ejLoop = (HumanModCons.ejLoop and HumanModCons.ejLoop:Disconnect() and false) or RunService.RenderStepped:Connect(edgejump)
  9570.     HumanModCons.ejCA = (HumanModCons.ejCA and HumanModCons.ejCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
  9571.         Char, Human = nChar, nChar:WaitForChild("Humanoid")
  9572.         edgejump()
  9573.         HumanModCons.ejLoop = (HumanModCons.ejLoop and HumanModCons.ejLoop:Disconnect() and false) or RunService.RenderStepped:Connect(edgejump)
  9574.     end)
  9575. end)
  9576.  
  9577. addcmd('unedgejump',{'noedgejump', 'noejump', 'unejump'},function(args, speaker)
  9578.     HumanModCons.ejLoop = (HumanModCons.ejLoop and HumanModCons.ejLoop:Disconnect() and false) or nil
  9579.     HumanModCons.ejCA = (HumanModCons.ejCA and HumanModCons.ejCA:Disconnect() and false) or nil
  9580. end)
  9581.  
  9582. addcmd('team',{},function(args, speaker)
  9583.     local teamname = nil
  9584.     for a,b in pairs(Teams:GetChildren()) do
  9585.         local L_name = b.Name:lower()
  9586.         local F = L_name:find(getstring(1))
  9587.         if F == 1 then
  9588.             teamname = b
  9589.         end
  9590.     end
  9591.     speaker.Team = teamname
  9592. end)
  9593.  
  9594. addcmd('nobgui',{'unbgui','nobillboardgui','unbillboardgui','noname','rohg'},function(args, speaker)
  9595.     for i,v in pairs(speaker.Character:GetDescendants())do
  9596.         if v:IsA("BillboardGui") or v:IsA("SurfaceGui") then
  9597.             v:Destroy()
  9598.         end
  9599.     end
  9600. end)
  9601.  
  9602. addcmd('loopnobgui',{'loopunbgui','loopnobillboardgui','loopunbillboardgui','loopnoname','looprohg'},function(args, speaker)
  9603.     for i,v in pairs(speaker.Character:GetDescendants())do
  9604.         if v:IsA("BillboardGui") or v:IsA("SurfaceGui") then
  9605.             v:Destroy()
  9606.         end
  9607.     end
  9608.     local function charPartAdded(part)
  9609.         if part:IsA("BillboardGui") or part:IsA("SurfaceGui") then
  9610.             wait()
  9611.             part:Destroy()
  9612.         end
  9613.     end
  9614.     charPartTrigger = speaker.Character.DescendantAdded:Connect(charPartAdded)
  9615. end)
  9616.  
  9617. addcmd('unloopnobgui',{'unloopunbgui','unloopnobillboardgui','unloopunbillboardgui','unloopnoname','unlooprohg'},function(args, speaker)
  9618.     if charPartTrigger then
  9619.         charPartTrigger:Disconnect()
  9620.     end
  9621. end)
  9622.  
  9623. addcmd('spasm',{},function(args, speaker)
  9624.     if not r15(speaker) then
  9625.         local pchar=speaker.Character
  9626.         local AnimationId = "33796059"
  9627.         SpasmAnim = Instance.new("Animation")
  9628.         SpasmAnim.AnimationId = "rbxassetid://"..AnimationId
  9629.         Spasm = pchar:FindFirstChildOfClass('Humanoid'):LoadAnimation(SpasmAnim)
  9630.         Spasm:Play()
  9631.         Spasm:AdjustSpeed(99)
  9632.     else
  9633.         notify('R6 Required','This command requires the r6 rig type')
  9634.     end
  9635. end)
  9636.  
  9637. addcmd('unspasm',{'nospasm'},function(args, speaker)
  9638.     Spasm:Stop()
  9639.     SpasmAnim:Destroy()
  9640. end)
  9641.  
  9642. addcmd('headthrow',{},function(args, speaker)
  9643.     if not r15(speaker) then
  9644.         local AnimationId = "35154961"
  9645.         local Anim = Instance.new("Animation")
  9646.         Anim.AnimationId = "rbxassetid://"..AnimationId
  9647.         local k = speaker.Character:FindFirstChildOfClass('Humanoid'):LoadAnimation(Anim)
  9648.         k:Play(0)
  9649.         k:AdjustSpeed(1)
  9650.     else
  9651.         notify('R6 Required','This command requires the r6 rig type')
  9652.     end
  9653. end)
  9654.  
  9655. addcmd('animation',{'anim'},function(args, speaker)
  9656.     if not r15(speaker) then
  9657.         local pchar=speaker.Character
  9658.         local AnimationId = tostring(args[1])
  9659.         local Anim = Instance.new("Animation")
  9660.         Anim.AnimationId = "rbxassetid://"..AnimationId
  9661.         local k = pchar:FindFirstChildOfClass('Humanoid'):LoadAnimation(Anim)
  9662.         k:Play()
  9663.         if args[2] then
  9664.             k:AdjustSpeed(tostring(args[2]))
  9665.         end
  9666.     else
  9667.         notify('R6 Required','This command requires the r6 rig type')
  9668.     end
  9669. end)
  9670.  
  9671. addcmd('noanim',{},function(args, speaker)
  9672.     speaker.Character.Animate.Disabled = true
  9673. end)
  9674.  
  9675. addcmd('reanim',{},function(args, speaker)
  9676.     speaker.Character.Animate.Disabled = false
  9677. end)
  9678.  
  9679. addcmd('animspeed',{},function(args, speaker)
  9680.     local Char = speaker.Character
  9681.     local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
  9682.  
  9683.     for i,v in next, Hum:GetPlayingAnimationTracks() do
  9684.         v:AdjustSpeed(tonumber(args[1] or 1))
  9685.     end
  9686. end)
  9687.  
  9688. addcmd('copyanimation',{'copyanim','copyemote'},function(args, speaker)
  9689.     local players = getPlayer(args[1], speaker)
  9690.     for _,v in ipairs(players)do
  9691.         local char = Players[v].Character
  9692.         for _, v1 in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetPlayingAnimationTracks()) do
  9693.             v1:Stop()
  9694.         end
  9695.         for _, v1 in pairs(Players[v].Character:FindFirstChildOfClass('Humanoid'):GetPlayingAnimationTracks()) do
  9696.             if not string.find(v1.Animation.AnimationId, "507768375") then
  9697.                 local ANIM = speaker.Character:FindFirstChildOfClass('Humanoid'):LoadAnimation(v1.Animation)
  9698.                 ANIM:Play(.1, 1, v1.Speed)
  9699.                 ANIM.TimePosition = v1.TimePosition
  9700.                 task.spawn(function()
  9701.                     v1.Stopped:Wait()
  9702.                     ANIM:Stop()
  9703.                     ANIM:Destroy()
  9704.                 end)
  9705.             end
  9706.         end
  9707.     end
  9708. end)
  9709.  
  9710. addcmd('stopanimations',{'stopanims','stopanim'},function(args, speaker)
  9711.     local Char = speaker.Character
  9712.     local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
  9713.  
  9714.     for i,v in next, Hum:GetPlayingAnimationTracks() do
  9715.         v:Stop()
  9716.     end
  9717. end)
  9718.  
  9719. addcmd('refreshanimations', {'refreshanimation', 'refreshanims', 'refreshanim'}, function(args, speaker)
  9720.     local Char = speaker.Character or speaker.CharacterAdded:Wait()
  9721.     local Human = Char and Char:WaitForChild('Humanoid', 15)
  9722.     local Animate = Char and Char:WaitForChild('Animate', 15)
  9723.     if not Human or not Animate then
  9724.         return notify('Refresh Animations', 'Failed to get Animate/Humanoid')
  9725.     end
  9726.     Animate.Disabled = true
  9727.     for _, v in ipairs(Human:GetPlayingAnimationTracks()) do
  9728.         v:Stop()
  9729.     end
  9730.     Animate.Disabled = false
  9731. end)
  9732.  
  9733. addcmd('allowcustomanim', {'allowcustomanimations'}, function(args, speaker)
  9734.     StarterPlayer.AllowCustomAnimations = true
  9735.     execCmd('refreshanimations')
  9736. end)
  9737.  
  9738. addcmd('unallowcustomanim', {'unallowcustomanimations'}, function(args, speaker)
  9739.     StarterPlayer.AllowCustomAnimations = false
  9740.     execCmd('refreshanimations')
  9741. end)
  9742.  
  9743. addcmd('loopanimation', {'loopanim'},function(args, speaker)
  9744.     local Char = speaker.Character
  9745.     local Human = Char and Char.FindFirstChildWhichIsA(Char, "Humanoid")
  9746.     for _, v in ipairs(Human.GetPlayingAnimationTracks(Human)) do
  9747.         v.Looped = true
  9748.     end
  9749. end)
  9750.  
  9751. addcmd('tpposition',{'tppos'},function(args, speaker)
  9752.     if #args < 3 then return end
  9753.     local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
  9754.     local char = speaker.Character
  9755.     if char and getRoot(char) then
  9756.         getRoot(char).CFrame = CFrame.new(tpX,tpY,tpZ)
  9757.     end
  9758. end)
  9759.  
  9760. addcmd('tweentpposition',{'ttppos'},function(args, speaker)
  9761.     if #args < 3 then return end
  9762.     local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
  9763.     local char = speaker.Character
  9764.     if char and getRoot(char) then
  9765.         TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(tpX,tpY,tpZ)}):Play()
  9766.     end
  9767. end)
  9768.  
  9769. addcmd('offset',{},function(args, speaker)
  9770.     if #args < 3 then
  9771.         return
  9772.     end
  9773.     if speaker.Character then
  9774.         speaker.Character:TranslateBy(Vector3.new(tonumber(args[1]) or 0, tonumber(args[2]) or 0, tonumber(args[3]) or 0))
  9775.     end
  9776. end)
  9777.  
  9778. addcmd('tweenoffset',{'toffset'},function(args, speaker)
  9779.     if #args < 3 then return end
  9780.     local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
  9781.     local char = speaker.Character
  9782.     if char and getRoot(char) then
  9783.         TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(tpX,tpY,tpZ)}):Play()
  9784.     end
  9785. end)
  9786.  
  9787. addcmd('clickteleport',{},function(args, speaker)
  9788.     if speaker == Players.LocalPlayer then
  9789.         notify('Click TP','Go to Settings>Keybinds>Add to set up click tp')
  9790.     end
  9791. end)
  9792.  
  9793. addcmd('tptool', {'teleporttool'}, function(args, speaker)
  9794.     local TpTool = Instance.new("Tool")
  9795.     TpTool.Name = "Teleport Tool"
  9796.     TpTool.RequiresHandle = false
  9797.     TpTool.Parent = speaker.Backpack
  9798.     TpTool.Activated:Connect(function()
  9799.         local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
  9800.         local HRP = Char and Char:FindFirstChild("HumanoidRootPart")
  9801.         if not Char or not HRP then
  9802.             return warn("Failed to find HumanoidRootPart")
  9803.         end
  9804.         HRP.CFrame = CFrame.new(IYMouse.Hit.X, IYMouse.Hit.Y + 3, IYMouse.Hit.Z, select(4, HRP.CFrame:components()))
  9805.     end)
  9806. end)
  9807.  
  9808. addcmd('clickdelete',{},function(args, speaker)
  9809.     if speaker == Players.LocalPlayer then
  9810.         notify('Click Delete','Go to Settings>Keybinds>Add to set up click delete')
  9811.     end
  9812. end)
  9813.  
  9814. addcmd('getposition',{'getpos','notifypos','notifyposition'},function(args, speaker)
  9815.     local players = getPlayer(args[1], speaker)
  9816.     for i,v in pairs(players)do
  9817.         local char = Players[v].Character
  9818.         local pos = char and (getRoot(char) or char:FindFirstChildWhichIsA("BasePart"))
  9819.         pos = pos and pos.Position
  9820.         if not pos then
  9821.             return notify('Getposition Error','Missing character')
  9822.         end
  9823.         local roundedPos = math.round(pos.X) .. ", " .. math.round(pos.Y) .. ", " .. math.round(pos.Z)
  9824.         notify('Current Position',roundedPos)
  9825.     end
  9826. end)
  9827.  
  9828. addcmd('copyposition',{'copypos'},function(args, speaker)
  9829.     local players = getPlayer(args[1], speaker)
  9830.     for i,v in pairs(players)do
  9831.         local char = Players[v].Character
  9832.         local pos = char and (getRoot(char) or char:FindFirstChildWhichIsA("BasePart"))
  9833.         pos = pos and pos.Position
  9834.         if not pos then
  9835.             return notify('Getposition Error','Missing character')
  9836.         end
  9837.         local roundedPos = math.round(pos.X) .. ", " .. math.round(pos.Y) .. ", " .. math.round(pos.Z)
  9838.         toClipboard(roundedPos)
  9839.     end
  9840. end)
  9841.  
  9842. addcmd('walktopos',{'walktoposition'},function(args, speaker)
  9843.     if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  9844.         speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  9845.         wait(.1)
  9846.     end
  9847.     speaker.Character:FindFirstChildOfClass('Humanoid').WalkToPoint = Vector3.new(args[1],args[2],args[3])
  9848. end)
  9849.  
  9850. addcmd('speed',{'ws','walkspeed'},function(args, speaker)
  9851.     if args[2] then
  9852.         local speed = args[2] or 16
  9853.         if isNumber(speed) then
  9854.             speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
  9855.         end
  9856.     else
  9857.         local speed = args[1] or 16
  9858.         if isNumber(speed) then
  9859.             speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
  9860.         end
  9861.     end
  9862. end)
  9863.  
  9864. addcmd('spoofspeed',{'spoofws','spoofwalkspeed'},function(args, speaker)
  9865.     if args[1] and isNumber(args[1]) then
  9866.         if hookmetamethod then
  9867.             local char = speaker.Character
  9868.             local setspeed;
  9869.             local index; index = hookmetamethod(game, "__index", function(self, key)
  9870.                 local keyclean = key:gsub("\0", "")
  9871.                 if (keyclean == "WalkSpeed" or keyclean == "walkSpeed") and self:IsA("Humanoid") and self:IsDescendantOf(char) and not checkcaller() then
  9872.                     return setspeed or args[1]
  9873.                 end
  9874.                 return index(self, key)
  9875.             end)
  9876.             local newindex; newindex = hookmetamethod(game, "__newindex", function(self, key, value)
  9877.                 local keyclean = string.gsub(key, "\0", "")
  9878.                 if (keyclean == "WalkSpeed" or keyclean == "walkSpeed") and self:IsA("Humanoid") and self:IsDescendantOf(char) and not checkcaller() then
  9879.                     setspeed = tonumber(value)
  9880.                     return setspeed
  9881.                 end
  9882.                 return newindex(self, key, value)
  9883.             end)
  9884.         else
  9885.             notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)')
  9886.         end
  9887.     end
  9888. end)
  9889.  
  9890. addcmd('loopspeed',{'loopws'},function(args, speaker)
  9891.     local speed = args[1] or 16
  9892.     if args[2] then
  9893.         speed = args[2] or 16
  9894.     end
  9895.     if isNumber(speed) then
  9896.         local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
  9897.         local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  9898.         local function WalkSpeedChange()
  9899.             if Char and Human then
  9900.                 Human.WalkSpeed = speed
  9901.             end
  9902.         end
  9903.         WalkSpeedChange()
  9904.         HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("WalkSpeed"):Connect(WalkSpeedChange)
  9905.         HumanModCons.wsCA = (HumanModCons.wsCA and HumanModCons.wsCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
  9906.             Char, Human = nChar, nChar:WaitForChild("Humanoid")
  9907.             WalkSpeedChange()
  9908.             HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("WalkSpeed"):Connect(WalkSpeedChange)
  9909.         end)
  9910.     end
  9911. end)
  9912.  
  9913. addcmd('unloopspeed',{'unloopws'},function(args, speaker)
  9914.     HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or nil
  9915.     HumanModCons.wsCA = (HumanModCons.wsCA and HumanModCons.wsCA:Disconnect() and false) or nil
  9916. end)
  9917.  
  9918. addcmd('spoofjumppower',{'spoofjp'},function(args, speaker)
  9919.     if args[1] and isNumber(args[1]) then
  9920.         if hookmetamethod then
  9921.             local char = speaker.Character
  9922.             local setpower;
  9923.             local index; index = hookmetamethod(game, "__index", function(self, key)
  9924.                 local keyclean = key:gsub("\0", "")
  9925.                 if (keyclean == "JumpPower" or keyclean == "jumpPower") and self:IsA("Humanoid") and self:IsDescendantOf(char) and not checkcaller() then
  9926.                     return setpower or args[1]
  9927.                 end
  9928.                 return index(self, key)
  9929.             end)
  9930.             local newindex; newindex = hookmetamethod(game, "__newindex", function(self, key, value)
  9931.                 local keyclean = string.gsub(key, "\0", "")
  9932.                 if (keyclean == "JumpPower" or keyclean == "jumpPower") and self:IsA("Humanoid") and self:IsDescendantOf(char) and not checkcaller() then
  9933.                     setpower = tonumber(value)
  9934.                     return setpower
  9935.                 end
  9936.                 return newindex(self, key, value)
  9937.             end)
  9938.         else
  9939.             notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)')
  9940.         end
  9941.     end
  9942. end)
  9943.  
  9944. addcmd('loopjumppower',{'loopjp','loopjpower'},function(args, speaker)
  9945.     local jpower = args[1] or 50
  9946.     if isNumber(jpower) then
  9947.         local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
  9948.         local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  9949.         local function JumpPowerChange()
  9950.             if Char and Human then
  9951.                 if speaker.Character:FindFirstChildOfClass('Humanoid').UseJumpPower then
  9952.                     speaker.Character:FindFirstChildOfClass('Humanoid').JumpPower = jpower
  9953.                 else
  9954.                     speaker.Character:FindFirstChildOfClass('Humanoid').JumpHeight  = jpower
  9955.                 end
  9956.             end
  9957.         end
  9958.         JumpPowerChange()
  9959.         HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("JumpPower"):Connect(JumpPowerChange)
  9960.         HumanModCons.jpCA = (HumanModCons.jpCA and HumanModCons.jpCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
  9961.             Char, Human = nChar, nChar:WaitForChild("Humanoid")
  9962.             JumpPowerChange()
  9963.             HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("JumpPower"):Connect(JumpPowerChange)
  9964.         end)
  9965.     end
  9966. end)
  9967.  
  9968. addcmd('unloopjumppower',{'unloopjp','unloopjpower'},function(args, speaker)
  9969.     local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
  9970.     local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  9971.     HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or nil
  9972.     HumanModCons.jpCA = (HumanModCons.jpCA and HumanModCons.jpCA:Disconnect() and false) or nil
  9973.     if Char and Human then
  9974.         if speaker.Character:FindFirstChildOfClass('Humanoid').UseJumpPower then
  9975.             speaker.Character:FindFirstChildOfClass('Humanoid').JumpPower = 50
  9976.         else
  9977.             speaker.Character:FindFirstChildOfClass('Humanoid').JumpHeight  = 50
  9978.         end
  9979.     end
  9980. end)
  9981.  
  9982. addcmd('tools',{'gears'},function(args, speaker)
  9983.     local function copy(instance)
  9984.         for i,c in pairs(instance:GetChildren())do
  9985.             if c:IsA('Tool') or c:IsA('HopperBin') then
  9986.                 c:Clone().Parent = speaker:FindFirstChildOfClass("Backpack")
  9987.             end
  9988.             copy(c)
  9989.         end
  9990.     end
  9991.     copy(Lighting)
  9992.     local function copy(instance)
  9993.         for i,c in pairs(instance:GetChildren())do
  9994.             if c:IsA('Tool') or c:IsA('HopperBin') then
  9995.                 c:Clone().Parent = speaker:FindFirstChildOfClass("Backpack")
  9996.             end
  9997.             copy(c)
  9998.         end
  9999.     end
  10000.     copy(ReplicatedStorage)
  10001.     notify('Tools','Copied tools from ReplicatedStorage and Lighting')
  10002. end)
  10003.  
  10004. addcmd('notools',{'rtools','clrtools','removetools','deletetools','dtools'},function(args, speaker)
  10005.     for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetDescendants()) do
  10006.         if v:IsA('Tool') or v:IsA('HopperBin') then
  10007.             v:Destroy()
  10008.         end
  10009.     end
  10010.     for i,v in pairs(speaker.Character:GetDescendants()) do
  10011.         if v:IsA('Tool') or v:IsA('HopperBin') then
  10012.             v:Destroy()
  10013.         end
  10014.     end
  10015. end)
  10016.  
  10017. addcmd('deleteselectedtool',{'dst'},function(args, speaker)
  10018.     for i,v in pairs(speaker.Character:GetDescendants()) do
  10019.         if v:IsA('Tool') or v:IsA('HopperBin') then
  10020.             v:Destroy()
  10021.         end
  10022.     end
  10023. end)
  10024.  
  10025. addcmd('console',{},function(args, speaker)
  10026.     -- Thanks wally!!
  10027.     notify("Loading",'Hold on a sec')
  10028.     local _, str = pcall(function()
  10029.         return game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/console.lua", true)
  10030.     end)
  10031.  
  10032.     local s, e = loadstring(str)
  10033.     if typeof(s) ~= "function" then
  10034.         return
  10035.     end
  10036.  
  10037.     local success, message = pcall(s)
  10038.     if (not success) then
  10039.         if printconsole then
  10040.             printconsole(message)
  10041.         elseif printoutput then
  10042.             printoutput(message)
  10043.         end
  10044.     end
  10045.     wait(1)
  10046.     notify('Console','Press F9 to open the console')
  10047. end)
  10048.  
  10049. addcmd('explorer', {'dex'}, function(args, speaker)
  10050.     notify('Loading', 'Hold on a sec')
  10051.     loadstring(game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/dex.lua"))()
  10052. end)
  10053.  
  10054. addcmd('olddex', {'odex'}, function(args, speaker)
  10055.     notify('Loading old explorer', 'Hold on a sec')
  10056.    
  10057.     local getobjects = function(a)
  10058.         local Objects = {}
  10059.         if a then
  10060.             local b = InsertService:LoadLocalAsset(a)
  10061.             if b then
  10062.                 table.insert(Objects, b)
  10063.             end
  10064.         end
  10065.         return Objects
  10066.     end
  10067.  
  10068.     local Dex = getobjects("rbxassetid://10055842438")[1]
  10069.     Dex.Parent = PARENT
  10070.  
  10071.     local function Load(Obj, Url)
  10072.         local function GiveOwnGlobals(Func, Script)
  10073.             -- Fix for this edit of dex being poorly made
  10074.             -- I (Alex) would like to commemorate whoever added this dex in somehow finding the worst dex to ever exist
  10075.             local Fenv, RealFenv, FenvMt = {}, {
  10076.                 script = Script,
  10077.                 getupvalue = function(a, b)
  10078.                     return nil -- force it to use globals
  10079.                 end,
  10080.                 getreg = function() -- It loops registry for some idiotic reason so stop it from doing that and just use a global
  10081.                     return {} -- force it to use globals
  10082.                 end,
  10083.                 getprops = getprops or function(inst)
  10084.                     if getproperties then
  10085.                         local props = getproperties(inst)
  10086.                         if props[1] and gethiddenproperty then
  10087.                             local results = {}
  10088.                             for _,name in pairs(props) do
  10089.                                 local success, res = pcall(gethiddenproperty, inst, name)
  10090.                                 if success then
  10091.                                     results[name] = res
  10092.                                 end
  10093.                             end
  10094.                            
  10095.                             return results
  10096.                         end
  10097.                        
  10098.                         return props
  10099.                     end
  10100.                    
  10101.                     return {}
  10102.                 end
  10103.             }, {}
  10104.             FenvMt.__index = function(a,b)
  10105.                 return RealFenv[b] == nil and getgenv()[b] or RealFenv[b]
  10106.             end
  10107.             FenvMt.__newindex = function(a, b, c)
  10108.                 if RealFenv[b] == nil then
  10109.                     getgenv()[b] = c
  10110.                 else
  10111.                     RealFenv[b] = c
  10112.                 end
  10113.             end
  10114.             setmetatable(Fenv, FenvMt)
  10115.             pcall(setfenv, Func, Fenv)
  10116.             return Func
  10117.         end
  10118.  
  10119.         local function LoadScripts(_, Script)
  10120.             if Script:IsA("LocalScript") then
  10121.                 task.spawn(function()
  10122.                     GiveOwnGlobals(loadstring(Script.Source,"="..Script:GetFullName()), Script)()
  10123.                 end)
  10124.             end
  10125.             table.foreach(Script:GetChildren(), LoadScripts)
  10126.         end
  10127.                    
  10128.         LoadScripts(nil, Obj)
  10129.     end
  10130.  
  10131.     Load(Dex)
  10132. end)
  10133.  
  10134. addcmd('remotespy',{'rspy'},function(args, speaker)
  10135.     notify("Loading",'Hold on a sec')
  10136.     -- Full credit to exx, creator of SimpleSpy
  10137.     -- also thanks to NoobSploit for fixing
  10138.     loadstring(game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/SimpleSpyV3/main.lua"))()
  10139. end)
  10140.  
  10141. addcmd('audiologger',{'alogger'},function(args, speaker)
  10142.     notify("Loading",'Hold on a sec')
  10143.     loadstring(game:HttpGet(('https://raw.githubusercontent.com/infyiff/backup/main/audiologger.lua'),true))()
  10144. end)
  10145.  
  10146. local loopgoto = nil
  10147. addcmd('loopgoto',{},function(args, speaker)
  10148.     local players = getPlayer(args[1], speaker)
  10149.     for i,v in pairs(players)do
  10150.         loopgoto = nil
  10151.         if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10152.             speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10153.             wait(.1)
  10154.         end
  10155.         loopgoto = Players[v]
  10156.         local distance = 3
  10157.         if args[2] and isNumber(args[2]) then
  10158.             distance = args[2]
  10159.         end
  10160.         local lDelay = 0
  10161.         if args[3] and isNumber(args[3]) then
  10162.             lDelay = args[3]
  10163.         end
  10164.         repeat
  10165.             if Players:FindFirstChild(v) then
  10166.                 if Players[v].Character ~= nil then
  10167.                     getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(distance,1,0)
  10168.                 end
  10169.                 wait(lDelay)
  10170.             else
  10171.                 loopgoto = nil
  10172.             end
  10173.         until loopgoto ~= Players[v]
  10174.     end
  10175. end)
  10176.  
  10177. addcmd('unloopgoto',{'noloopgoto'},function(args, speaker)
  10178.     loopgoto = nil
  10179. end)
  10180.  
  10181. addcmd('headsit',{},function(args, speaker)
  10182.     local players = getPlayer(args[1], speaker)
  10183.     if headSit then headSit:Disconnect() end
  10184.     for i,v in pairs(players)do
  10185.         speaker.Character:FindFirstChildOfClass('Humanoid').Sit = true
  10186.         headSit = RunService.Heartbeat:Connect(function()
  10187.             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
  10188.                 getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame * CFrame.Angles(0,math.rad(0),0)* CFrame.new(0,1.6,0.4)
  10189.             else
  10190.                 headSit:Disconnect()
  10191.             end
  10192.         end)
  10193.     end
  10194. end)
  10195.  
  10196. addcmd('chat',{'say'},function(args, speaker)
  10197.     local cString = getstring(1)
  10198.     ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(cString, "All")
  10199. end)
  10200.  
  10201.  
  10202. spamming = false
  10203. spamspeed = 1
  10204. addcmd('spam',{},function(args, speaker)
  10205.     spamming = true
  10206.     local spamstring = getstring(1)
  10207.     repeat wait(spamspeed)
  10208.         ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(spamstring, "All")
  10209.     until spamming == false
  10210. end)
  10211.  
  10212. addcmd('nospam',{'unspam'},function(args, speaker)
  10213.     spamming = false
  10214. end)
  10215.  
  10216. addcmd('whisper',{'pm'},function(args, speaker)
  10217.     local players = getPlayer(args[1], speaker)
  10218.     for i,v in pairs(players)do
  10219.         task.spawn(function()
  10220.             local plrName = Players[v].Name
  10221.             local pmstring = getstring(2)
  10222.             ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..plrName.." "..pmstring, "All")
  10223.         end)
  10224.     end
  10225. end)
  10226.  
  10227. pmspamming = {}
  10228. addcmd('pmspam',{},function(args, speaker)
  10229.     local players = getPlayer(args[1], speaker)
  10230.     for i,v in pairs(players)do
  10231.         task.spawn(function()
  10232.             local plrName = Players[v].Name
  10233.             if FindInTable(pmspamming, plrName) then return end
  10234.             table.insert(pmspamming, plrName)
  10235.             local pmspamstring = getstring(2)
  10236.             repeat
  10237.                 if Players:FindFirstChild(v) then
  10238.                     wait(spamspeed)
  10239.                     ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..plrName.." "..pmspamstring, "All")
  10240.                 else
  10241.                     for a,b in pairs(pmspamming) do if b == plrName then table.remove(pmspamming, a) end end
  10242.                 end
  10243.             until not FindInTable(pmspamming, plrName)
  10244.         end)
  10245.     end
  10246. end)
  10247.  
  10248. addcmd('nopmspam',{'unpmspam'},function(args, speaker)
  10249.     local players = getPlayer(args[1], speaker)
  10250.     for i,v in pairs(players)do
  10251.         task.spawn(function()
  10252.             for a,b in pairs(pmspamming) do
  10253.                 if b == Players[v].Name then
  10254.                     table.remove(pmspamming, a)
  10255.                 end
  10256.             end
  10257.         end)
  10258.     end
  10259. end)
  10260.  
  10261. addcmd('spamspeed',{},function(args, speaker)
  10262.     local speed = args[1] or 1
  10263.     if isNumber(speed) then
  10264.         spamspeed = speed
  10265.     end
  10266. end)
  10267.  
  10268. addcmd('bubblechat',{},function(args, speaker)
  10269.     ChatService.BubbleChatEnabled = true
  10270. end)
  10271.  
  10272. addcmd('unbubblechat',{'nobubblechat'},function(args, speaker)
  10273.     ChatService.BubbleChatEnabled = false
  10274. end)
  10275.  
  10276. addcmd('safechat',{},function(args, speaker)
  10277.     speaker:SetSuperSafeChat(true)
  10278. end)
  10279.  
  10280. addcmd('nosafechat',{'disablesafechat','unsafechat'},function(args, speaker)
  10281.     speaker:SetSuperSafeChat(false)
  10282. end)
  10283.  
  10284. addcmd('blockhead',{},function(args, speaker)
  10285.     speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy()
  10286. end)
  10287.  
  10288. addcmd('blockhats',{},function(args, speaker)
  10289.     for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do
  10290.         for i,c in pairs(v:GetDescendants()) do
  10291.             if c:IsA("SpecialMesh") then
  10292.                 c:Destroy()
  10293.             end
  10294.         end
  10295.     end
  10296. end)
  10297.  
  10298. addcmd('blocktool',{},function(args, speaker)
  10299.     for _,v in pairs(speaker.Character:GetChildren()) do
  10300.         if v:IsA("Tool") or v:IsA("HopperBin") then
  10301.             for i,c in pairs(v:GetDescendants()) do
  10302.                 if c:IsA("SpecialMesh") then
  10303.                     c:Destroy()
  10304.                 end
  10305.             end
  10306.         end
  10307.     end
  10308. end)
  10309.  
  10310. addcmd('creeper',{},function(args, speaker)
  10311.     if r15(speaker) then
  10312.         speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy()
  10313.         speaker.Character.LeftUpperArm:Destroy()
  10314.         speaker.Character.RightUpperArm:Destroy()
  10315.         speaker.Character:FindFirstChildOfClass("Humanoid"):RemoveAccessories()
  10316.     else
  10317.         speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy()
  10318.         speaker.Character["Left Arm"]:Destroy()
  10319.         speaker.Character["Right Arm"]:Destroy()
  10320.         speaker.Character:FindFirstChildOfClass("Humanoid"):RemoveAccessories()
  10321.     end
  10322. end)
  10323.  
  10324. function getTorso(x)
  10325.     x = x or Players.LocalPlayer.Character
  10326.     return x:FindFirstChild("Torso") or x:FindFirstChild("UpperTorso") or x:FindFirstChild("LowerTorso") or x:FindFirstChild("HumanoidRootPart")
  10327. end
  10328.  
  10329. addcmd("bang", {"rape"}, function(args, speaker)
  10330.     execCmd("unbang")
  10331.     wait()
  10332.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  10333.     bangAnim = Instance.new("Animation")
  10334.     bangAnim.AnimationId = not r15(speaker) and "rbxassetid://148840371" or "rbxassetid://5918726674"
  10335.     bang = humanoid:LoadAnimation(bangAnim)
  10336.     bang:Play(0.1, 1, 1)
  10337.     bang:AdjustSpeed(args[2] or 3)
  10338.     bangDied = humanoid.Died:Connect(function()
  10339.         bang:Stop()
  10340.         bangAnim:Destroy()
  10341.         bangDied:Disconnect()
  10342.         bangLoop:Disconnect()
  10343.     end)
  10344.     if args[1] then
  10345.         local players = getPlayer(args[1], speaker)
  10346.         for _, v in pairs(players) do
  10347.             local bangplr = Players[v].Name
  10348.             local bangOffet = CFrame.new(0, 0, 1.1)
  10349.             bangLoop = RunService.Stepped:Connect(function()
  10350.                 pcall(function()
  10351.                     local otherRoot = getTorso(Players[bangplr].Character)
  10352.                     getRoot(speaker.Character).CFrame = otherRoot.CFrame * bangOffet
  10353.                 end)
  10354.             end)
  10355.         end
  10356.     end
  10357. end)
  10358.  
  10359. addcmd("unbang", {"unrape"}, function(args, speaker)
  10360.     if bangDied then
  10361.         bangDied:Disconnect()
  10362.         bang:Stop()
  10363.         bangAnim:Destroy()
  10364.         bangLoop:Disconnect()
  10365.     end
  10366. end)
  10367.  
  10368. addcmd('carpet',{},function(args, speaker)
  10369.     if not r15(speaker) then
  10370.         execCmd('uncarpet')
  10371.         wait()
  10372.         local players = getPlayer(args[1], speaker)
  10373.         for i,v in pairs(players)do
  10374.             carpetAnim = Instance.new("Animation")
  10375.             carpetAnim.AnimationId = "rbxassetid://282574440"
  10376.             carpet = speaker.Character:FindFirstChildOfClass('Humanoid'):LoadAnimation(carpetAnim)
  10377.             carpet:Play(.1, 1, 1)
  10378.             local carpetplr = Players[v].Name
  10379.             carpetDied = speaker.Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
  10380.                 carpetLoop:Disconnect()
  10381.                 carpet:Stop()
  10382.                 carpetAnim:Destroy()
  10383.                 carpetDied:Disconnect()
  10384.             end)
  10385.             carpetLoop = RunService.Heartbeat:Connect(function()
  10386.                 pcall(function()
  10387.                     getRoot(Players.LocalPlayer.Character).CFrame = getRoot(Players[carpetplr].Character).CFrame
  10388.                 end)
  10389.             end)
  10390.         end
  10391.     else
  10392.         notify('R6 Required','This command requires the r6 rig type')
  10393.     end
  10394. end)
  10395.  
  10396. addcmd('uncarpet',{'nocarpet'},function(args, speaker)
  10397.     if carpetLoop then
  10398.         carpetLoop:Disconnect()
  10399.         carpetDied:Disconnect()
  10400.         carpet:Stop()
  10401.         carpetAnim:Destroy()
  10402.     end
  10403. end)
  10404.  
  10405. addcmd('friend',{},function(args, speaker)
  10406.     local players = getPlayer(args[1], speaker)
  10407.     for i,v in pairs(players)do
  10408.         speaker:RequestFriendship(v)
  10409.     end
  10410. end)
  10411.  
  10412. addcmd('unfriend',{},function(args, speaker)
  10413.     local players = getPlayer(args[1], speaker)
  10414.     for i,v in pairs(players)do
  10415.         speaker:RevokeFriendship(v)
  10416.     end
  10417. end)
  10418.  
  10419. addcmd('bringpart',{},function(args, speaker)
  10420.     for i,v in pairs(workspace:GetDescendants()) do
  10421.         if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10422.             v.CFrame = getRoot(speaker.Character).CFrame
  10423.         end
  10424.     end
  10425. end)
  10426.  
  10427. addcmd('bringpartclass',{'bpc'},function(args, speaker)
  10428.     for i,v in pairs(workspace:GetDescendants()) do
  10429.         if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10430.             v.CFrame = getRoot(speaker.Character).CFrame
  10431.         end
  10432.     end
  10433. end)
  10434.  
  10435. gotopartDelay = 0.1
  10436. addcmd('gotopart',{'topart'},function(args, speaker)
  10437.     for i,v in pairs(workspace:GetDescendants()) do
  10438.         if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10439.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10440.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10441.                 wait(.1)
  10442.             end
  10443.             wait(gotopartDelay)
  10444.             getRoot(speaker.Character).CFrame = v.CFrame
  10445.         end
  10446.     end
  10447. end)
  10448.  
  10449. addcmd('tweengotopart',{'tgotopart','ttopart'},function(args, speaker)
  10450.     for i,v in pairs(workspace:GetDescendants()) do
  10451.         if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10452.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10453.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10454.                 wait(.1)
  10455.             end
  10456.             wait(gotopartDelay)
  10457.             TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = v.CFrame}):Play()
  10458.         end
  10459.     end
  10460. end)
  10461.  
  10462. addcmd('gotopartclass',{'gpc'},function(args, speaker)
  10463.     for i,v in pairs(workspace:GetDescendants()) do
  10464.         if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10465.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10466.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10467.                 wait(.1)
  10468.             end
  10469.             wait(gotopartDelay)
  10470.             getRoot(speaker.Character).CFrame = v.CFrame
  10471.         end
  10472.     end
  10473. end)
  10474.  
  10475. addcmd('tweengotopartclass',{'tgpc'},function(args, speaker)
  10476.     for i,v in pairs(workspace:GetDescendants()) do
  10477.         if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10478.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10479.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10480.                 wait(.1)
  10481.             end
  10482.             wait(gotopartDelay)
  10483.             TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = v.CFrame}):Play()
  10484.         end
  10485.     end
  10486. end)
  10487.  
  10488. addcmd('gotomodel',{'tomodel'},function(args, speaker)
  10489.     for i,v in pairs(workspace:GetDescendants()) do
  10490.         if v.Name:lower() == getstring(1):lower() and v:IsA("Model") then
  10491.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10492.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10493.                 wait(.1)
  10494.             end
  10495.             wait(gotopartDelay)
  10496.             getRoot(speaker.Character).CFrame = v:GetModelCFrame()
  10497.         end
  10498.     end
  10499. end)
  10500.  
  10501. addcmd('tweengotomodel',{'tgotomodel','ttomodel'},function(args, speaker)
  10502.     for i,v in pairs(workspace:GetDescendants()) do
  10503.         if v.Name:lower() == getstring(1):lower() and v:IsA("Model") then
  10504.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10505.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10506.                 wait(.1)
  10507.             end
  10508.             wait(gotopartDelay)
  10509.             TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = v:GetModelCFrame()}):Play()
  10510.         end
  10511.     end
  10512. end)
  10513.  
  10514. addcmd('gotopartdelay',{},function(args, speaker)
  10515.     local gtpDelay = args[1] or 0.1
  10516.     if isNumber(gtpDelay) then
  10517.         gotopartDelay = gtpDelay
  10518.     end
  10519. end)
  10520.  
  10521. addcmd('noclickdetectorlimits',{'nocdlimits','removecdlimits'},function(args, speaker)
  10522.     for i,v in ipairs(workspace:GetDescendants()) do
  10523.         if v:IsA("ClickDetector") then
  10524.             v.MaxActivationDistance = math.huge
  10525.         end
  10526.     end
  10527. end)
  10528.  
  10529. addcmd('fireclickdetectors',{'firecd','firecds'}, function(args, speaker)
  10530.     if fireclickdetector then
  10531.         if args[1] then
  10532.             local name = getstring(1)
  10533.             for _, descendant in ipairs(workspace:GetDescendants()) do
  10534.                 if descendant:IsA("ClickDetector") and descendant.Name == name then
  10535.                     fireclickdetector(descendant)
  10536.                 end
  10537.             end
  10538.         else
  10539.             for _, descendant in ipairs(workspace:GetDescendants()) do
  10540.                 if descendant:IsA("ClickDetector") then
  10541.                     fireclickdetector(descendant)
  10542.                 end
  10543.             end
  10544.         end
  10545.     else
  10546.         notify("Incompatible Exploit", "Your exploit does not support this command (missing fireclickdetector)")
  10547.     end
  10548. end)
  10549.  
  10550. addcmd('noproximitypromptlimits',{'nopplimits','removepplimits'},function(args, speaker)
  10551.     for i,v in pairs(workspace:GetDescendants()) do
  10552.         if v:IsA("ProximityPrompt") then
  10553.             v.MaxActivationDistance = math.huge
  10554.         end
  10555.     end
  10556. end)
  10557.  
  10558. addcmd('fireproximityprompts',{'firepp'},function(args, speaker)
  10559.     if fireclickdetector then
  10560.         if args[1] then
  10561.             local name = getstring(1)
  10562.             for _, descendant in ipairs(workspace:GetDescendants()) do
  10563.                 if descendant:IsA("ProximityPrompt") and descendant.Name == name then
  10564.                     fireproximityprompt(descendant)
  10565.                 end
  10566.             end
  10567.         else
  10568.             for _, descendant in ipairs(workspace:GetDescendants()) do
  10569.                 if descendant:IsA("ProximityPrompt") then
  10570.                     fireproximityprompt(descendant)
  10571.                 end
  10572.             end
  10573.         end
  10574.     else
  10575.         notify("Incompatible Exploit", "Your exploit does not support this command (missing fireproximityprompt)")
  10576.     end
  10577. end)
  10578.  
  10579. local PromptButtonHoldBegan = nil
  10580. addcmd('instantproximityprompts',{'instantpp'},function(args, speaker)
  10581.     if fireproximityprompt then
  10582.         execCmd("uninstantproximityprompts")
  10583.         wait(0.1)
  10584.         PromptButtonHoldBegan = ProximityPromptService.PromptButtonHoldBegan:Connect(function(prompt)
  10585.             fireproximityprompt(prompt)
  10586.         end)
  10587.     else
  10588.         notify('Incompatible Exploit','Your exploit does not support this command (missing fireproximityprompt)')
  10589.     end
  10590. end)
  10591.  
  10592. addcmd('uninstantproximityprompts',{'uninstantpp'},function(args, speaker)
  10593.     if PromptButtonHoldBegan ~= nil then
  10594.         PromptButtonHoldBegan:Disconnect()
  10595.         PromptButtonHoldBegan = nil
  10596.     end
  10597. end)
  10598.  
  10599. addcmd('notifyping',{'ping'},function(args, speaker)
  10600.     notify("Ping", math.round(speaker:GetNetworkPing() * 1000) .. "ms")
  10601. end)
  10602.  
  10603. addcmd('grabtools', {}, function(args, speaker)
  10604.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  10605.     for _, child in ipairs(workspace:GetChildren()) do
  10606.         if speaker.Character and child:IsA("BackpackItem") and child:FindFirstChild("Handle") then
  10607.             humanoid:EquipTool(child)
  10608.         end
  10609.     end
  10610.  
  10611.     if grabtoolsFunc then
  10612.         grabtoolsFunc:Disconnect()
  10613.     end
  10614.  
  10615.     grabtoolsFunc = workspace.ChildAdded:Connect(function(child)
  10616.         if speaker.Character and child:IsA("BackpackItem") and child:FindFirstChild("Handle") then
  10617.             humanoid:EquipTool(child)
  10618.         end
  10619.     end)
  10620.  
  10621.     notify("Grabtools", "Picking up any dropped tools")
  10622. end)
  10623.  
  10624. addcmd('nograbtools',{'ungrabtools'},function(args, speaker)
  10625.     if grabtoolsFunc then
  10626.         grabtoolsFunc:Disconnect()
  10627.     end
  10628.  
  10629.     notify("Grabtools", "Grabtools has been disabled")
  10630. end)
  10631.  
  10632. local specifictoolremoval = {}
  10633. addcmd('removespecifictool',{},function(args, speaker)
  10634.     if args[1] and speaker:FindFirstChildOfClass("Backpack") then
  10635.         local tool = string.lower(getstring(1))
  10636.         local RST = RunService.RenderStepped:Connect(function()
  10637.             if speaker:FindFirstChildOfClass("Backpack") then
  10638.                 for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
  10639.                     if v.Name:lower() == tool then
  10640.                         v:Remove()
  10641.                     end
  10642.                 end
  10643.             end
  10644.         end)
  10645.         specifictoolremoval[tool] = RST
  10646.     end
  10647. end)
  10648.  
  10649. addcmd('unremovespecifictool',{},function(args, speaker)
  10650.     if args[1] then
  10651.         local tool = string.lower(getstring(1))
  10652.         if specifictoolremoval[tool] ~= nil then
  10653.             specifictoolremoval[tool]:Disconnect()
  10654.             specifictoolremoval[tool] = nil
  10655.         end
  10656.     end
  10657. end)
  10658.  
  10659. addcmd('clearremovespecifictool',{},function(args, speaker)
  10660.     for obj in pairs(specifictoolremoval) do
  10661.         specifictoolremoval[obj]:Disconnect()
  10662.         specifictoolremoval[obj] = nil
  10663.     end
  10664. end)
  10665.  
  10666. addcmd('light',{},function(args, speaker)
  10667.     local light = Instance.new("PointLight")
  10668.     light.Parent = getRoot(speaker.Character)
  10669.     light.Range = 30
  10670.     if args[1] then
  10671.         light.Brightness = args[2]
  10672.         light.Range = args[1]
  10673.     else
  10674.         light.Brightness = 5
  10675.     end
  10676. end)
  10677.  
  10678. addcmd('unlight',{'nolight'},function(args, speaker)
  10679.     for i,v in pairs(speaker.Character:GetDescendants()) do
  10680.         if v.ClassName == "PointLight" then
  10681.             v:Destroy()
  10682.         end
  10683.     end
  10684. end)
  10685.  
  10686. addcmd('copytools',{},function(args, speaker)
  10687.     local players = getPlayer(args[1], speaker)
  10688.     for i,v in pairs(players)do
  10689.         task.spawn(function()
  10690.             for i,v in pairs(Players[v]:FindFirstChildOfClass("Backpack"):GetChildren()) do
  10691.                 if v:IsA('Tool') or v:IsA('HopperBin') then
  10692.                     v:Clone().Parent = speaker:FindFirstChildOfClass("Backpack")
  10693.                 end
  10694.             end
  10695.         end)
  10696.     end
  10697. end)
  10698.  
  10699. addcmd('naked',{},function(args, speaker)
  10700.     for i,v in pairs(speaker.Character:GetDescendants()) do
  10701.         if v:IsA("Clothing") or v:IsA("ShirtGraphic") then
  10702.             v:Destroy()
  10703.         end
  10704.     end
  10705. end)
  10706.  
  10707. addcmd('noface',{'removeface'},function(args, speaker)
  10708.     for i,v in pairs(speaker.Character:GetDescendants()) do
  10709.         if v:IsA("Decal") and v.Name == 'face' then
  10710.             v:Destroy()
  10711.         end
  10712.     end
  10713. end)
  10714.  
  10715. addcmd('spawnpoint',{'spawn'},function(args, speaker)
  10716.     spawnpos = getRoot(speaker.Character).CFrame
  10717.     spawnpoint = true
  10718.     spDelay = tonumber(args[1]) or 0.1
  10719.     notify('Spawn Point','Spawn point created at '..tostring(spawnpos))
  10720. end)
  10721.  
  10722. addcmd('nospawnpoint',{'nospawn','removespawnpoint'},function(args, speaker)
  10723.     spawnpoint = false
  10724.     notify('Spawn Point','Removed spawn point')
  10725. end)
  10726.  
  10727. addcmd('flashback',{'diedtp'},function(args, speaker)
  10728.     if lastDeath ~= nil then
  10729.         if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10730.             speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10731.             wait(.1)
  10732.         end
  10733.         getRoot(speaker.Character).CFrame = lastDeath
  10734.     end
  10735. end)
  10736.  
  10737. addcmd('hatspin',{'spinhats'},function(args, speaker)
  10738.     execCmd('unhatspin')
  10739.     wait(.5)
  10740.     for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do
  10741.         local keep = Instance.new("BodyPosition") keep.Name = randomString() keep.Parent = v.Handle
  10742.         local spin = Instance.new("BodyAngularVelocity") spin.Name = randomString() spin.Parent = v.Handle
  10743.         v.Handle:FindFirstChildOfClass("Weld"):Destroy()
  10744.         if args[1] then
  10745.             spin.AngularVelocity = Vector3.new(0, args[1], 0)
  10746.             spin.MaxTorque = Vector3.new(0, args[1] * 2, 0)
  10747.         else
  10748.             spin.AngularVelocity = Vector3.new(0, 100, 0)
  10749.             spin.MaxTorque = Vector3.new(0, 200, 0)
  10750.         end
  10751.         keep.P = 30000
  10752.         keep.D = 50
  10753.         spinhats = RunService.Stepped:Connect(function()
  10754.             pcall(function()
  10755.                 keep.Position = Players.LocalPlayer.Character.Head.Position
  10756.             end)
  10757.         end)
  10758.     end
  10759. end)
  10760.  
  10761. addcmd('unhatspin',{'unspinhats'},function(args, speaker)
  10762.     if spinhats then
  10763.         spinhats:Disconnect()
  10764.     end
  10765.     for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do
  10766.         v.Parent = workspace
  10767.         for i,c in pairs(v.Handle) do
  10768.             if c:IsA("BodyPosition") or c:IsA("BodyAngularVelocity") then
  10769.                 c:Destroy()
  10770.             end
  10771.         end
  10772.         wait()
  10773.         v.Parent = speaker.Character
  10774.     end
  10775. end)
  10776.  
  10777. addcmd('clearhats',{'cleanhats'},function(args, speaker)
  10778.     if firetouchinterest then
  10779.         local Player = Players.LocalPlayer
  10780.         local Character = Player.Character
  10781.         local Old = Character:FindFirstChild("HumanoidRootPart").CFrame
  10782.         local Hats = {}
  10783.        
  10784.         for _, child in ipairs(workspace:GetChildren()) do
  10785.             if child:IsA("Accessory") then
  10786.                 table.insert(Hats, child)
  10787.             end
  10788.         end
  10789.        
  10790.         for _, accessory in ipairs(Character:FindFirstChildOfClass("Humanoid"):GetAccessories()) do
  10791.             accessory:Destroy()
  10792.         end
  10793.        
  10794.         for i = 1, #Hats do
  10795.             repeat RunService.Heartbeat:wait() until Hats[i]
  10796.             firetouchinterest(Hats[i].Handle,Character:FindFirstChild("HumanoidRootPart"),0)
  10797.             repeat RunService.Heartbeat:wait() until Character:FindFirstChildOfClass("Accessory")
  10798.             Character:FindFirstChildOfClass("Accessory"):Destroy()
  10799.             repeat RunService.Heartbeat:wait() until not Character:FindFirstChildOfClass("Accessory")
  10800.         end
  10801.        
  10802.         execCmd("reset")
  10803.        
  10804.         Player.CharacterAdded:Wait()
  10805.        
  10806.         for i = 1,20 do
  10807.             RunService.Heartbeat:Wait()
  10808.             if Player.Character:FindFirstChild("HumanoidRootPart") then
  10809.                 Player.Character:FindFirstChild("HumanoidRootPart").CFrame = Old
  10810.             end
  10811.         end
  10812.     else
  10813.         notify("Incompatible Exploit","Your exploit does not support this command (missing firetouchinterest)")
  10814.     end
  10815. end)
  10816.  
  10817. addcmd('vr',{},function(args, speaker)
  10818.     -- Full credit to Abacaxl @V3rmillion
  10819.     notify("Loading", "Hold on a sec")
  10820.     loadstring(game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/vr.lua"))()
  10821. end)
  10822.  
  10823. addcmd('split',{},function(args, speaker)
  10824.     if r15(speaker) then
  10825.         speaker.Character.UpperTorso.Waist:Destroy()
  10826.     else
  10827.         notify('R15 Required','This command requires the r15 rig type')
  10828.     end
  10829. end)
  10830.  
  10831. addcmd('nilchar',{},function(args, speaker)
  10832.     if speaker.Character ~= nil then
  10833.         speaker.Character.Parent = nil
  10834.     end
  10835. end)
  10836.  
  10837. addcmd('unnilchar',{'nonilchar'},function(args, speaker)
  10838.     if speaker.Character ~= nil then
  10839.         speaker.Character.Parent = workspace
  10840.     end
  10841. end)
  10842.  
  10843. addcmd('noroot',{'removeroot','rroot'},function(args, speaker)
  10844.     if speaker.Character ~= nil then
  10845.         local char = Players.LocalPlayer.Character
  10846.         char.Parent = nil
  10847.         char.HumanoidRootPart:Destroy()
  10848.         char.Parent = workspace
  10849.     end
  10850. end)
  10851.  
  10852. addcmd('replaceroot',{'replacerootpart'},function(args, speaker)
  10853.     if speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then
  10854.         local Char = speaker.Character
  10855.         local OldParent = Char.Parent
  10856.         local HRP = Char and Char:FindFirstChild("HumanoidRootPart")
  10857.         local OldPos = HRP.CFrame
  10858.         Char.Parent = game
  10859.         local HRP1 = HRP:Clone()
  10860.         HRP1.Parent = Char
  10861.         HRP = HRP:Destroy()
  10862.         HRP1.CFrame = OldPos
  10863.         Char.Parent = OldParent
  10864.     end
  10865. end)
  10866.  
  10867. addcmd('clearcharappearance',{'clearchar','clrchar'},function(args, speaker)
  10868.     speaker:ClearCharacterAppearance()
  10869. end)
  10870.  
  10871. addcmd('equiptools',{},function(args, speaker)
  10872.     for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
  10873.         if v:IsA("Tool") or v:IsA("HopperBin") then
  10874.             v.Parent = speaker.Character
  10875.         end
  10876.     end
  10877. end)
  10878.  
  10879. addcmd('unequiptools',{},function(args, speaker)
  10880.     speaker.Character:FindFirstChildOfClass('Humanoid'):UnequipTools()
  10881. end)
  10882.  
  10883. local function GetHandleTools(p)
  10884.     p = p or Players.LocalPlayer
  10885.     local r = {}
  10886.     for _, v in ipairs(p.Character and p.Character:GetChildren() or {}) do
  10887.         if v.IsA(v, "BackpackItem") and v.FindFirstChild(v, "Handle") then
  10888.             r[#r + 1] = v
  10889.         end
  10890.     end
  10891.     for _, v in ipairs(p.Backpack:GetChildren()) do
  10892.         if v.IsA(v, "BackpackItem") and v.FindFirstChild(v, "Handle") then
  10893.             r[#r + 1] = v
  10894.         end
  10895.     end
  10896.     return r
  10897. end
  10898. addcmd('dupetools', {'clonetools'}, function(args, speaker)
  10899.     local LOOP_NUM = tonumber(args[1]) or 1
  10900.     local OrigPos = speaker.Character.HumanoidRootPart.Position
  10901.     local Tools, TempPos = {}, Vector3.new(math.random(-2e5, 2e5), 2e5, math.random(-2e5, 2e5))
  10902.     for i = 1, LOOP_NUM do
  10903.         local Human = speaker.Character:WaitForChild("Humanoid")
  10904.         wait(.1, Human.Parent:MoveTo(TempPos))
  10905.         Human.RootPart.Anchored = speaker:ClearCharacterAppearance(wait(.1)) or true
  10906.         local t = GetHandleTools(speaker)
  10907.         while #t > 0 do
  10908.             for _, v in ipairs(t) do
  10909.                 task.spawn(function()
  10910.                     for _ = 1, 25 do
  10911.                         v.Parent = speaker.Character
  10912.                         v.Handle.Anchored = true
  10913.                     end
  10914.                     for _ = 1, 5 do
  10915.                         v.Parent = workspace
  10916.                     end
  10917.                     table.insert(Tools, v.Handle)
  10918.                 end)
  10919.             end
  10920.             t = GetHandleTools(speaker)
  10921.         end
  10922.         wait(.1)
  10923.         speaker.Character = speaker.Character:Destroy()
  10924.         speaker.CharacterAdded:Wait():WaitForChild("Humanoid").Parent:MoveTo(LOOP_NUM == i and OrigPos or TempPos, wait(.1))
  10925.         if i == LOOP_NUM or i % 5 == 0 then
  10926.             local HRP = speaker.Character.HumanoidRootPart
  10927.             if type(firetouchinterest) == "function" then
  10928.                 for _, v in ipairs(Tools) do
  10929.                     v.Anchored = not firetouchinterest(v, HRP, 1, firetouchinterest(v, HRP, 0)) and false or false
  10930.                 end
  10931.             else
  10932.                 for _, v in ipairs(Tools) do
  10933.                     task.spawn(function()
  10934.                         local x = v.CanCollide
  10935.                         v.CanCollide = false
  10936.                         v.Anchored = false
  10937.                         for _ = 1, 10 do
  10938.                             v.CFrame = HRP.CFrame
  10939.                             wait()
  10940.                         end
  10941.                         v.CanCollide = x
  10942.                     end)
  10943.                 end
  10944.             end
  10945.             wait(.1)
  10946.             Tools = {}
  10947.         end
  10948.         TempPos = TempPos + Vector3.new(10, math.random(-5, 5), 0)
  10949.     end
  10950. end)
  10951.  
  10952. local RS = RunService.RenderStepped
  10953. addcmd('givetool', {'givetools'}, function(args, speaker)
  10954.     local v = Players[getPlayer(args[1], speaker)[1]].Character
  10955.     workspace.CurrentCamera.CameraSubject = v
  10956.     local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
  10957.     local hum = Char and Char:FindFirstChildWhichIsA('Humanoid')
  10958.     local hrp = hum and hum.RootPart
  10959.     local hrppos = hrp.CFrame
  10960.     hum = hum:Destroy() or hum:Clone()
  10961.     hum.Parent = Char
  10962.     hum:ClearAllChildren()
  10963.     speaker:ClearCharacterAppearance()
  10964.     task.spawn(function()
  10965.         speaker.CharacterAdded:Wait():WaitForChild('Humanoid').RootPart.CFrame = wait() and hrppos
  10966.     end)
  10967.     local vHRP = getRoot(v)
  10968.     while Char and Char.Parent and vHRP and vHRP.Parent do
  10969.         local Tools = false
  10970.         for _, v in ipairs(Char:GetChildren()) do
  10971.             if v:IsA('BackpackItem') and v:FindFirstChild('Handle') then
  10972.                 Tools = true
  10973.                 firetouchinterest(v.Handle, vHRP, 0)
  10974.                 firetouchinterest(v.Handle, vHRP, 1)
  10975.             end
  10976.         end
  10977.         if not Tools then
  10978.             break
  10979.         end
  10980.         hrp.CFrame = vHRP.CFrame
  10981.         RS:Wait()
  10982.     end
  10983.     execCmd('re')
  10984. end)
  10985.  
  10986. addcmd('touchinterests', {'touchinterest', 'firetouchinterests', 'firetouchinterest'}, function(args, speaker)
  10987.     if not firetouchinterest then
  10988.         notify("Incompatible Exploit", "Your exploit does not support this command (missing firetouchinterest)")
  10989.         return
  10990.     end
  10991.  
  10992.     local root = getRoot(speaker.Character) or speaker.Character:FindFirstChildWhichIsA("BasePart")
  10993.    
  10994.     local function touch(x)
  10995.         x = x:FindFirstAncestorWhichIsA("Part")
  10996.         if x then
  10997.             if firetouchinterest then
  10998.                 task.spawn(function()
  10999.                     firetouchinterest(x, root, 1)
  11000.                     wait()
  11001.                     firetouchinterest(x, root, 0)
  11002.                 end)
  11003.             end
  11004.             x.CFrame = root.CFrame
  11005.         end
  11006.     end
  11007.  
  11008.     if args[1] then
  11009.         local name = getstring(1)
  11010.         for _, descendant in ipairs(workspace:GetDescendants()) do
  11011.             if descendant:IsA("TouchTransmitter") and descendant.Name == name then
  11012.                 touch(descendant)
  11013.             end
  11014.         end
  11015.     else
  11016.         for _, descendant in ipairs(workspace:GetDescendants()) do
  11017.             if descendant:IsA("TouchTransmitter") then
  11018.                 touch(descendant)
  11019.             end
  11020.         end
  11021.     end
  11022. end)
  11023.  
  11024. addcmd('fullbright',{'fb','fullbrightness'},function(args, speaker)
  11025.     Lighting.Brightness = 2
  11026.     Lighting.ClockTime = 14
  11027.     Lighting.FogEnd = 100000
  11028.     Lighting.GlobalShadows = false
  11029.     Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128)
  11030. end)
  11031.  
  11032. addcmd('loopfullbright',{'loopfb'},function(args, speaker)
  11033.     if brightLoop then
  11034.         brightLoop:Disconnect()
  11035.     end
  11036.     local function brightFunc()
  11037.         Lighting.Brightness = 2
  11038.         Lighting.ClockTime = 14
  11039.         Lighting.FogEnd = 100000
  11040.         Lighting.GlobalShadows = false
  11041.         Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128)
  11042.     end
  11043.  
  11044.     brightLoop = RunService.RenderStepped:Connect(brightFunc)
  11045. end)
  11046.  
  11047. addcmd('unloopfullbright',{'unloopfb'},function(args, speaker)
  11048.     if brightLoop then
  11049.         brightLoop:Disconnect()
  11050.     end
  11051. end)
  11052.  
  11053. addcmd('ambient',{},function(args, speaker)
  11054.     Lighting.Ambient = Color3.new(args[1],args[2],args[3])
  11055.     Lighting.OutdoorAmbient = Color3.new(args[1],args[2],args[3])
  11056. end)
  11057.  
  11058. addcmd('day',{},function(args, speaker)
  11059.     Lighting.ClockTime = 14
  11060. end)
  11061.  
  11062. addcmd('night',{},function(args, speaker)
  11063.     Lighting.ClockTime = 0
  11064. end)
  11065.  
  11066. addcmd('nofog',{},function(args, speaker)
  11067.     Lighting.FogEnd = 100000
  11068.     for i,v in pairs(Lighting:GetDescendants()) do
  11069.         if v:IsA("Atmosphere") then
  11070.             v:Destroy()
  11071.         end
  11072.     end
  11073. end)
  11074.  
  11075. addcmd('brightness',{},function(args, speaker)
  11076.     Lighting.Brightness = args[1]
  11077. end)
  11078.  
  11079. addcmd('globalshadows',{'gshadows'},function(args, speaker)
  11080.     Lighting.GlobalShadows = true
  11081. end)
  11082.  
  11083. addcmd('unglobalshadows',{'nogshadows','ungshadows','noglobalshadows'},function(args, speaker)
  11084.     Lighting.GlobalShadows = false
  11085. end)
  11086.  
  11087. origsettings = {abt = Lighting.Ambient, oabt = Lighting.OutdoorAmbient, brt = Lighting.Brightness, time = Lighting.ClockTime, fe = Lighting.FogEnd, fs = Lighting.FogStart, gs = Lighting.GlobalShadows}
  11088.  
  11089. addcmd('restorelighting',{'rlighting'},function(args, speaker)
  11090.     Lighting.Ambient = origsettings.abt
  11091.     Lighting.OutdoorAmbient = origsettings.oabt
  11092.     Lighting.Brightness = origsettings.brt
  11093.     Lighting.ClockTime = origsettings.time
  11094.     Lighting.FogEnd = origsettings.fe
  11095.     Lighting.FogStart = origsettings.fs
  11096.     Lighting.GlobalShadows = origsettings.gs
  11097. end)
  11098.  
  11099. addcmd('stun',{'platformstand'},function(args, speaker)
  11100.     speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  11101. end)
  11102.  
  11103. addcmd('unstun',{'nostun','unplatformstand','noplatformstand'},function(args, speaker)
  11104.     speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  11105. end)
  11106.  
  11107. addcmd('norotate',{'noautorotate'},function(args, speaker)
  11108.     speaker.Character:FindFirstChildOfClass('Humanoid').AutoRotate  = false
  11109. end)
  11110.  
  11111. addcmd('unnorotate',{'autorotate'},function(args, speaker)
  11112.     speaker.Character:FindFirstChildOfClass('Humanoid').AutoRotate  = true
  11113. end)
  11114.  
  11115. addcmd('enablestate',{},function(args, speaker)
  11116.     local x = args[1]
  11117.     if not tonumber(x) then
  11118.         local x = Enum.HumanoidStateType[args[1]]
  11119.     end
  11120.     speaker.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(x, true)
  11121. end)
  11122.  
  11123. addcmd('disablestate',{},function(args, speaker)
  11124.     local x = args[1]
  11125.     if not tonumber(x) then
  11126.         local x = Enum.HumanoidStateType[args[1]]
  11127.     end
  11128.     speaker.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(x, false)
  11129. end)
  11130.  
  11131. addcmd('drophats',{'drophat'},function(args, speaker)
  11132.     if speaker.Character then
  11133.         for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do
  11134.             v.Parent = workspace
  11135.         end
  11136.     end
  11137. end)
  11138.  
  11139. addcmd('deletehats',{'nohats','rhats'},function(args, speaker)
  11140.     for i,v in next, speaker.Character:GetDescendants() do
  11141.         if v:IsA("Accessory") then
  11142.             for i,p in next, v:GetDescendants() do
  11143.                 if p:IsA("Weld") then
  11144.                     p:Destroy()
  11145.                 end
  11146.             end
  11147.         end
  11148.     end
  11149. end)
  11150.  
  11151. addcmd('droptools',{'droptool'},function(args, speaker)
  11152.     for i,v in pairs(Players.LocalPlayer.Backpack:GetChildren()) do
  11153.         if v:IsA("Tool") then
  11154.             v.Parent = Players.LocalPlayer.Character
  11155.         end
  11156.     end
  11157.     wait()
  11158.     for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do
  11159.         if v:IsA("Tool") then
  11160.             v.Parent = workspace
  11161.         end
  11162.     end
  11163. end)
  11164.  
  11165. addcmd('droppabletools',{},function(args, speaker)
  11166.     if speaker.Character then
  11167.         for _,obj in pairs(speaker.Character:GetChildren()) do
  11168.             if obj:IsA("Tool") then
  11169.                 obj.CanBeDropped = true
  11170.             end
  11171.         end
  11172.     end
  11173.     if speaker:FindFirstChildOfClass("Backpack") then
  11174.         for _,obj in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
  11175.             if obj:IsA("Tool") then
  11176.                 obj.CanBeDropped = true
  11177.             end
  11178.         end
  11179.     end
  11180. end)
  11181.  
  11182. local currentToolSize = ""
  11183. local currentGripPos = ""
  11184. addcmd('reach',{},function(args, speaker)
  11185.     execCmd('unreach')
  11186.     wait()
  11187.     for i,v in pairs(speaker.Character:GetDescendants()) do
  11188.         if v:IsA("Tool") then
  11189.             if args[1] then
  11190.                 currentToolSize = v.Handle.Size
  11191.                 currentGripPos = v.GripPos
  11192.                 local a = Instance.new("SelectionBox")
  11193.                 a.Name = "SelectionBoxCreated"
  11194.                 a.Parent = v.Handle
  11195.                 a.Adornee = v.Handle
  11196.                 v.Handle.Massless = true
  11197.                 v.Handle.Size = Vector3.new(0.5,0.5,args[1])
  11198.                 v.GripPos = Vector3.new(0,0,0)
  11199.                 speaker.Character:FindFirstChildOfClass('Humanoid'):UnequipTools()
  11200.             else
  11201.                 currentToolSize = v.Handle.Size
  11202.                 currentGripPos = v.GripPos
  11203.                 local a = Instance.new("SelectionBox")
  11204.                 a.Name = "SelectionBoxCreated"
  11205.                 a.Parent = v.Handle
  11206.                 a.Adornee = v.Handle
  11207.                 v.Handle.Massless = true
  11208.                 v.Handle.Size = Vector3.new(0.5,0.5,60)
  11209.                 v.GripPos = Vector3.new(0,0,0)
  11210.                 speaker.Character:FindFirstChildOfClass('Humanoid'):UnequipTools()
  11211.             end
  11212.         end
  11213.     end
  11214. end)
  11215.  
  11216. addcmd('unreach',{'noreach'},function(args, speaker)
  11217.     for i,v in pairs(speaker.Character:GetDescendants()) do
  11218.         if v:IsA("Tool") then
  11219.             v.Handle.Size = currentToolSize
  11220.             v.GripPos = currentGripPos
  11221.             v.Handle.SelectionBoxCreated:Destroy()
  11222.         end
  11223.     end
  11224. end)
  11225.  
  11226. addcmd('grippos',{},function(args, speaker)
  11227.     for i,v in pairs(speaker.Character:GetDescendants()) do
  11228.         if v:IsA("Tool") then
  11229.             v.Parent = speaker:FindFirstChildOfClass("Backpack")
  11230.             v.GripPos = Vector3.new(args[1],args[2],args[3])
  11231.             v.Parent = speaker.Character
  11232.         end
  11233.     end
  11234. end)
  11235.  
  11236. addcmd('usetools', {}, function(args, speaker)
  11237.     local Backpack = speaker:FindFirstChildOfClass("Backpack")
  11238.     local ammount = tonumber(args[1]) or 1
  11239.     local delay_ = tonumber(args[2]) or false
  11240.     for _, v in ipairs(Backpack:GetChildren()) do
  11241.         v.Parent = speaker.Character
  11242.         task.spawn(function()
  11243.             for _ = 1, ammount do
  11244.                 v:Activate()
  11245.                 if delay_ then
  11246.                     wait(delay_)
  11247.                 end
  11248.             end
  11249.             v.Parent = Backpack
  11250.         end)
  11251.     end
  11252. end)
  11253.  
  11254. addcmd('logs',{},function(args, speaker)
  11255.     logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  11256. end)
  11257.  
  11258. addcmd('chatlogs',{'clogs'},function(args, speaker)
  11259.     join.Visible = false
  11260.     chat.Visible = true
  11261.     table.remove(shade3,table.find(shade3,selectChat))
  11262.     table.remove(shade2,table.find(shade2,selectJoin))
  11263.     table.insert(shade2,selectChat)
  11264.     table.insert(shade3,selectJoin)
  11265.     selectJoin.BackgroundColor3 = currentShade3
  11266.     selectChat.BackgroundColor3 = currentShade2
  11267.     logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  11268. end)
  11269.  
  11270. addcmd('joinlogs',{'jlogs'},function(args, speaker)
  11271.     chat.Visible = false
  11272.     join.Visible = true
  11273.     table.remove(shade3,table.find(shade3,selectJoin))
  11274.     table.remove(shade2,table.find(shade2,selectChat))
  11275.     table.insert(shade2,selectJoin)
  11276.     table.insert(shade3,selectChat)
  11277.     selectChat.BackgroundColor3 = currentShade3
  11278.     selectJoin.BackgroundColor3 = currentShade2
  11279.     logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  11280. end)
  11281.  
  11282. flinging = false
  11283. addcmd('fling',{},function(args, speaker)
  11284.     flinging = false
  11285.     for _, child in pairs(speaker.Character:GetDescendants()) do
  11286.         if child:IsA("BasePart") then
  11287.             child.CustomPhysicalProperties = PhysicalProperties.new(math.huge, 0.3, 0.5)
  11288.         end
  11289.     end
  11290.     execCmd('noclip')
  11291.     wait(.1)
  11292.     local bambam = Instance.new("BodyAngularVelocity")
  11293.     bambam.Name = randomString()
  11294.     bambam.Parent = getRoot(speaker.Character)
  11295.     bambam.AngularVelocity = Vector3.new(0,99999,0)
  11296.     bambam.MaxTorque = Vector3.new(0,math.huge,0)
  11297.     bambam.P = math.huge
  11298.     local Char = speaker.Character:GetChildren()
  11299.     for i, v in next, Char do
  11300.         if v:IsA("BasePart") then
  11301.             v.CanCollide = false
  11302.             v.Massless = true
  11303.             v.Velocity = Vector3.new(0, 0, 0)
  11304.         end
  11305.     end
  11306.     flinging = true
  11307.     local function flingDiedF()
  11308.         execCmd('unfling')
  11309.     end
  11310.     flingDied = speaker.Character:FindFirstChildOfClass('Humanoid').Died:Connect(flingDiedF)
  11311.     repeat
  11312.         bambam.AngularVelocity = Vector3.new(0,99999,0)
  11313.         wait(.2)
  11314.         bambam.AngularVelocity = Vector3.new(0,0,0)
  11315.         wait(.1)
  11316.     until flinging == false
  11317. end)
  11318.  
  11319. addcmd('unfling',{'nofling'},function(args, speaker)
  11320.     execCmd('clip')
  11321.     if flingDied then
  11322.         flingDied:Disconnect()
  11323.     end
  11324.     flinging = false
  11325.     wait(.1)
  11326.     local speakerChar = speaker.Character
  11327.     if not speakerChar or not getRoot(speakerChar) then return end
  11328.     for i,v in pairs(getRoot(speakerChar):GetChildren()) do
  11329.         if v.ClassName == 'BodyAngularVelocity' then
  11330.             v:Destroy()
  11331.         end
  11332.     end
  11333.     for _, child in pairs(speakerChar:GetDescendants()) do
  11334.         if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  11335.             child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
  11336.         end
  11337.     end
  11338. end)
  11339.  
  11340. addcmd('togglefling',{},function(args, speaker)
  11341.     if flinging then
  11342.         execCmd('unfling')
  11343.     else
  11344.         execCmd('fling')
  11345.     end
  11346. end)
  11347.  
  11348. addcmd('invisfling',{},function(args, speaker)
  11349.     local ch = speaker.Character
  11350.     local prt=Instance.new("Model")
  11351.     prt.Parent = speaker.Character
  11352.     local z1 = Instance.new("Part")
  11353.     z1.Name="Torso"
  11354.     z1.CanCollide = false
  11355.     z1.Anchored = true
  11356.     local z2 = Instance.new("Part")
  11357.     z2.Name="Head"
  11358.     z2.Parent = prt
  11359.     z2.Anchored = true
  11360.     z2.CanCollide = false
  11361.     local z3 =Instance.new("Humanoid")
  11362.     z3.Name="Humanoid"
  11363.     z3.Parent = prt
  11364.     z1.Position = Vector3.new(0,9999,0)
  11365.     speaker.Character=prt
  11366.     wait(3)
  11367.     speaker.Character=ch
  11368.     wait(3)
  11369.     local Hum = Instance.new("Humanoid")
  11370.     z2:Clone()
  11371.     Hum.Parent = speaker.Character
  11372.     local root =  getRoot(speaker.Character)
  11373.     for i,v in pairs(speaker.Character:GetChildren()) do
  11374.         if v ~= root and  v.Name ~= "Humanoid" then
  11375.             v:Destroy()
  11376.         end
  11377.     end
  11378.     root.Transparency = 0
  11379.     root.Color = Color3.new(1, 1, 1)
  11380.     local invisflingStepped
  11381.     invisflingStepped = RunService.Stepped:Connect(function()
  11382.         if speaker.Character and getRoot(speaker.Character) then
  11383.             getRoot(speaker.Character).CanCollide = false
  11384.         else
  11385.             invisflingStepped:Disconnect()
  11386.         end
  11387.     end)
  11388.     sFLY()
  11389.     workspace.CurrentCamera.CameraSubject = root
  11390.     local bambam = Instance.new("BodyThrust")
  11391.     bambam.Parent = getRoot(speaker.Character)
  11392.     bambam.Force = Vector3.new(99999,99999*10,99999)
  11393.     bambam.Location = getRoot(speaker.Character).Position
  11394. end)
  11395.  
  11396. function attach(speaker,target)
  11397.     if tools(speaker) then
  11398.         local char = speaker.Character
  11399.         local tchar = target.Character
  11400.         local hum = speaker.Character:FindFirstChildOfClass("Humanoid")
  11401.         local hrp = getRoot(speaker.Character)
  11402.         local hrp2 = getRoot(target.Character)
  11403.         hum.Name = "1"
  11404.         local newHum = hum:Clone()
  11405.         newHum.Parent = char
  11406.         newHum.Name = "Humanoid"
  11407.         wait()
  11408.         hum:Destroy()
  11409.         workspace.CurrentCamera.CameraSubject = char
  11410.         newHum.DisplayDistanceType = "None"
  11411.         local tool = speaker:FindFirstChildOfClass("Backpack"):FindFirstChildOfClass("Tool") or speaker.Character:FindFirstChildOfClass("Tool")
  11412.         tool.Parent = char
  11413.         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)
  11414.         local n = 0
  11415.         repeat
  11416.             wait(.1)
  11417.             n = n + 1
  11418.             hrp.CFrame = hrp2.CFrame
  11419.         until (tool.Parent ~= char or not hrp or not hrp2 or not hrp.Parent or not hrp2.Parent or n > 250) and n > 2
  11420.     else
  11421.         notify('Tool Required','You need to have an item in your inventory to use this command')
  11422.     end
  11423. end
  11424.  
  11425. addcmd('attach',{},function(args, speaker)
  11426.     local players = getPlayer(args[1], speaker)
  11427.     for i,v in pairs(players) do
  11428.         attach(speaker,Players[v])
  11429.     end
  11430. end)
  11431.  
  11432. function kill(speaker,target,fast)
  11433.     if tools(speaker) then
  11434.         if target ~= nil then
  11435.             local NormPos = getRoot(speaker.Character).CFrame
  11436.             if not fast then
  11437.                 refresh(speaker)
  11438.                 wait()
  11439.                 repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character)
  11440.                 wait(0.3)
  11441.             end
  11442.             local hrp = getRoot(speaker.Character)
  11443.             attach(speaker,target)
  11444.             repeat
  11445.                 wait()
  11446.                 hrp.CFrame = CFrame.new(999999, workspace.FallenPartsDestroyHeight + 5,999999)
  11447.             until not getRoot(target.Character) or not getRoot(speaker.Character)
  11448.             speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos
  11449.         end
  11450.     else
  11451.         notify('Tool Required','You need to have an item in your inventory to use this command')
  11452.     end
  11453. end
  11454.  
  11455. addcmd('kill',{'fekill'},function(args, speaker)
  11456.     local players = getPlayer(args[1], speaker)
  11457.     for i,v in pairs(players) do
  11458.         kill(speaker,Players[v])
  11459.     end
  11460. end)
  11461.  
  11462. addcmd('handlekill', {'hkill'}, function(args, speaker)
  11463.     if not firetouchinterest then
  11464.         return notify('Incompatible Exploit', 'Your exploit does not support this command (missing firetouchinterest)')
  11465.     end
  11466.     local RS = RunService.RenderStepped
  11467.     local Tool = speaker.Character.FindFirstChildWhichIsA(speaker.Character, "Tool")
  11468.     local Handle = Tool and Tool.FindFirstChild(Tool, "Handle")
  11469.     if not Tool or not Handle then
  11470.         return notify("Handle Kill", "You need to hold a \"Tool\" that does damage on touch. For example the default \"Sword\" tool.")
  11471.     end
  11472.     for _, v in ipairs(getPlayer(args[1], speaker)) do
  11473.         v = Players[v]
  11474.         task.spawn(function()
  11475.             while Tool and speaker.Character and v.Character and Tool.Parent == speaker.Character do
  11476.                 local Human = v.Character.FindFirstChildWhichIsA(v.Character, "Humanoid")
  11477.                 if not Human or Human.Health <= 0 then
  11478.                     break
  11479.                 end
  11480.                 for _, v1 in ipairs(v.Character.GetChildren(v.Character)) do
  11481.                     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
  11482.                 end
  11483.             end
  11484.             notify("Handle Kill Stopped!", v.Name .. " died/left or you unequipped the tool!")
  11485.         end)
  11486.     end
  11487. end)
  11488.  
  11489. local hb = RunService.Heartbeat
  11490. addcmd('tpwalk', {'teleportwalk'}, function(args, speaker)
  11491.     tpwalking = true
  11492.     local chr = speaker.Character
  11493.     local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  11494.     while tpwalking and chr and hum and hum.Parent do
  11495.         local delta = hb:Wait()
  11496.         if hum.MoveDirection.Magnitude > 0 then
  11497.             if args[1] and isNumber(args[1]) then
  11498.                 chr:TranslateBy(hum.MoveDirection * tonumber(args[1]) * delta * 10)
  11499.             else
  11500.                 chr:TranslateBy(hum.MoveDirection * delta * 10)
  11501.             end
  11502.         end
  11503.     end
  11504. end)
  11505. addcmd('untpwalk', {'unteleportwalk'}, function(args, speaker)
  11506.     tpwalking = false
  11507. end)
  11508.  
  11509. addcmd('fastkill',{'fastfekill'},function(args, speaker)
  11510.     local players = getPlayer(args[1], speaker)
  11511.     for i,v in pairs(players) do
  11512.         kill(speaker,Players[v],true)
  11513.     end
  11514. end)
  11515.  
  11516. function bring(speaker,target,fast)
  11517.     if tools(speaker) then
  11518.         if target ~= nil then
  11519.             local NormPos = getRoot(speaker.Character).CFrame
  11520.             if not fast then
  11521.                 refresh(speaker)
  11522.                 wait()
  11523.                 repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character)
  11524.                 wait(0.3)
  11525.             end
  11526.             local hrp = getRoot(speaker.Character)
  11527.             attach(speaker,target)
  11528.             repeat
  11529.                 wait()
  11530.                 hrp.CFrame = NormPos
  11531.             until not getRoot(target.Character) or not getRoot(speaker.Character)
  11532.             speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos
  11533.         end
  11534.     else
  11535.         notify('Tool Required','You need to have an item in your inventory to use this command')
  11536.     end
  11537. end
  11538.  
  11539. addcmd('bring',{'febring'},function(args, speaker)
  11540.     local players = getPlayer(args[1], speaker)
  11541.     for i,v in pairs(players) do
  11542.         bring(speaker,Players[v])
  11543.     end
  11544. end)
  11545.  
  11546. addcmd('fastbring',{'fastfebring'},function(args, speaker)
  11547.     local players = getPlayer(args[1], speaker)
  11548.     for i,v in pairs(players) do
  11549.         bring(speaker,Players[v],true)
  11550.     end
  11551. end)
  11552.  
  11553. function teleport(speaker,target,target2,fast)
  11554.     if tools(speaker) then
  11555.         if target ~= nil then
  11556.             local NormPos = getRoot(speaker.Character).CFrame
  11557.             if not fast then
  11558.                 refresh(speaker)
  11559.                 wait()
  11560.                 repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character)
  11561.                 wait(0.3)
  11562.             end
  11563.             local hrp = getRoot(speaker.Character)
  11564.             local hrp2 = getRoot(target2.Character)
  11565.             attach(speaker,target)
  11566.             repeat
  11567.                 wait()
  11568.                 hrp.CFrame = hrp2.CFrame
  11569.             until not getRoot(target.Character) or not getRoot(speaker.Character)
  11570.             wait(1)
  11571.             speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos
  11572.         end
  11573.     else
  11574.         notify('Tool Required','You need to have an item in your inventory to use this command')
  11575.     end
  11576. end
  11577.  
  11578. addcmd('tp',{'teleport'},function(args, speaker)
  11579.     local players1=getPlayer(args[1], speaker)
  11580.     local players2=getPlayer(args[2], speaker)
  11581.     for i,v in pairs(players1)do
  11582.         if getRoot(Players[v].Character) and getRoot(Players[players2[1]].Character) then
  11583.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  11584.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  11585.                 wait(.1)
  11586.             end
  11587.             teleport(speaker,Players[v],Players[players2[1]])
  11588.         end
  11589.     end
  11590. end)
  11591.  
  11592. addcmd('fasttp',{'fastteleport'},function(args, speaker)
  11593.     local players1=getPlayer(args[1], speaker)
  11594.     local players2=getPlayer(args[2], speaker)
  11595.     for i,v in pairs(players1)do
  11596.         if getRoot(Players[v].Character) and getRoot(Players[players2[1]].Character) then
  11597.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  11598.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  11599.                 wait(.1)
  11600.             end
  11601.             teleport(speaker,Players[v],Players[players2[1]],true)
  11602.         end
  11603.     end
  11604. end)
  11605.  
  11606. addcmd('spin',{},function(args, speaker)
  11607.     local spinSpeed = 20
  11608.     if args[1] and isNumber(args[1]) then
  11609.         spinSpeed = args[1]
  11610.     end
  11611.     for i,v in pairs(getRoot(speaker.Character):GetChildren()) do
  11612.         if v.Name == "Spinning" then
  11613.             v:Destroy()
  11614.         end
  11615.     end
  11616.     local Spin = Instance.new("BodyAngularVelocity")
  11617.     Spin.Name = "Spinning"
  11618.     Spin.Parent = getRoot(speaker.Character)
  11619.     Spin.MaxTorque = Vector3.new(0, math.huge, 0)
  11620.     Spin.AngularVelocity = Vector3.new(0,spinSpeed,0)
  11621. end)
  11622.  
  11623. addcmd('unspin',{},function(args, speaker)
  11624.     for i,v in pairs(getRoot(speaker.Character):GetChildren()) do
  11625.         if v.Name == "Spinning" then
  11626.             v:Destroy()
  11627.         end
  11628.     end
  11629. end)
  11630.  
  11631. local transparent = false
  11632. function x(v)
  11633.     if v then
  11634.         for _,i in pairs(workspace:GetDescendants()) do
  11635.             if i:IsA("BasePart") and not i.Parent:FindFirstChildOfClass('Humanoid') and not i.Parent.Parent:FindFirstChildOfClass('Humanoid') then
  11636.                 i.LocalTransparencyModifier = 0.5
  11637.             end
  11638.         end
  11639.     else
  11640.         for _,i in pairs(workspace:GetDescendants()) do
  11641.             if i:IsA("BasePart") and not i.Parent:FindFirstChildOfClass('Humanoid') and not i.Parent.Parent:FindFirstChildOfClass('Humanoid') then
  11642.                 i.LocalTransparencyModifier = 0
  11643.             end
  11644.         end
  11645.     end
  11646. end
  11647.  
  11648. addcmd('xray',{},function(args, speaker)
  11649.     transparent = true
  11650.     x(transparent)
  11651. end)
  11652.  
  11653. addcmd('unxray',{'noxray'},function(args, speaker)
  11654.     transparent = false
  11655.     x(transparent)
  11656. end)
  11657.  
  11658. addcmd('togglexray',{},function(args, speaker)
  11659.     transparent=not transparent
  11660.     x(transparent)
  11661. end)
  11662.  
  11663. local walltpTouch = nil
  11664. addcmd('walltp',{},function(args, speaker)
  11665.     local torso
  11666.     if r15(speaker) then
  11667.         torso = speaker.Character.UpperTorso
  11668.     else
  11669.         torso = speaker.Character.Torso
  11670.     end
  11671.     local function touchedFunc(hit)
  11672.         local Root = getRoot(speaker.Character)
  11673.         if hit:IsA("BasePart") and hit.Position.Y > Root.Position.Y - speaker.Character:FindFirstChildOfClass('Humanoid').HipHeight then
  11674.             local hitP = getRoot(hit.Parent)
  11675.             if hitP ~= nil then
  11676.                 Root.CFrame = hit.CFrame * CFrame.new(Root.CFrame.lookVector.X,hitP.Size.Z/2 + speaker.Character:FindFirstChildOfClass('Humanoid').HipHeight,Root.CFrame.lookVector.Z)
  11677.             elseif hitP == nil then
  11678.                 Root.CFrame = hit.CFrame * CFrame.new(Root.CFrame.lookVector.X,hit.Size.Y/2 + speaker.Character:FindFirstChildOfClass('Humanoid').HipHeight,Root.CFrame.lookVector.Z)
  11679.             end
  11680.         end
  11681.     end
  11682.     walltpTouch = torso.Touched:Connect(touchedFunc)
  11683. end)
  11684.  
  11685. addcmd('unwalltp',{'nowalltp'},function(args, speaker)
  11686.     if walltpTouch then
  11687.         walltpTouch:Disconnect()
  11688.     end
  11689. end)
  11690.  
  11691. autoclicking = false
  11692. addcmd('autoclick',{},function(args, speaker)
  11693.     if mouse1press and mouse1release then
  11694.         execCmd('unautoclick')
  11695.         wait()
  11696.         local clickDelay = 0.1
  11697.         local releaseDelay = 0.1
  11698.         if args[1] and isNumber(args[1]) then clickDelay = args[1] end
  11699.         if args[2] and isNumber(args[2]) then releaseDelay = args[2] end
  11700.         autoclicking = true
  11701.         cancelAutoClick = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  11702.             if not gameProcessedEvent then
  11703.                 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
  11704.                     autoclicking = false
  11705.                     cancelAutoClick:Disconnect()
  11706.                 end
  11707.             end
  11708.         end)
  11709.         notify('Auto Clicker',"Press [backspace] and [=] at the same time to stop")
  11710.         repeat wait(clickDelay)
  11711.             mouse1press()
  11712.             wait(releaseDelay)
  11713.             mouse1release()
  11714.         until autoclicking == false
  11715.     else
  11716.         notify('Auto Clicker',"Your exploit doesn't have the ability to use the autoclick")
  11717.     end
  11718. end)
  11719.  
  11720. addcmd('unautoclick',{'noautoclick'},function(args, speaker)
  11721.     autoclicking = false
  11722.     if cancelAutoClick then cancelAutoClick:Disconnect() end
  11723. end)
  11724.  
  11725. addcmd('mousesensitivity',{'ms'},function(args, speaker)
  11726.     UserInputService.MouseDeltaSensitivity = args[1]
  11727. end)
  11728.  
  11729. local nameBox = nil
  11730. local nbSelection = nil
  11731. addcmd('hovername',{},function(args, speaker)
  11732.     execCmd('unhovername')
  11733.     wait()
  11734.     nameBox = Instance.new("TextLabel")
  11735.     nameBox.Name = randomString()
  11736.     nameBox.Parent = PARENT
  11737.     nameBox.BackgroundTransparency = 1
  11738.     nameBox.Size = UDim2.new(0,200,0,30)
  11739.     nameBox.Font = Enum.Font.Code
  11740.     nameBox.TextSize = 16
  11741.     nameBox.Text = ""
  11742.     nameBox.TextColor3 = Color3.new(1, 1, 1)
  11743.     nameBox.TextStrokeTransparency = 0
  11744.     nameBox.TextXAlignment = Enum.TextXAlignment.Left
  11745.     nameBox.ZIndex = 10
  11746.     nbSelection = Instance.new('SelectionBox')
  11747.     nbSelection.Name = randomString()
  11748.     nbSelection.LineThickness = 0.03
  11749.     nbSelection.Color3 = Color3.new(1, 1, 1)
  11750.     local function updateNameBox()
  11751.         local t
  11752.         local target = IYMouse.Target
  11753.  
  11754.         if target then
  11755.             local humanoid = target.Parent:FindFirstChildOfClass("Humanoid") or target.Parent.Parent:FindFirstChildOfClass("Humanoid")
  11756.             if humanoid then
  11757.                 t = humanoid.Parent
  11758.             end
  11759.         end
  11760.  
  11761.         if t ~= nil then
  11762.             local x = IYMouse.X
  11763.             local y = IYMouse.Y
  11764.             local xP
  11765.             local yP
  11766.             if IYMouse.X > 200 then
  11767.                 xP = x - 205
  11768.                 nameBox.TextXAlignment = Enum.TextXAlignment.Right
  11769.             else
  11770.                 xP = x + 25
  11771.                 nameBox.TextXAlignment = Enum.TextXAlignment.Left
  11772.             end
  11773.             nameBox.Position = UDim2.new(0, xP, 0, y)
  11774.             nameBox.Text = t.Name
  11775.             nameBox.Visible = true
  11776.             nbSelection.Parent = t
  11777.             nbSelection.Adornee = t
  11778.         else
  11779.             nameBox.Visible = false
  11780.             nbSelection.Parent = nil
  11781.             nbSelection.Adornee = nil
  11782.         end
  11783.     end
  11784.     nbUpdateFunc = IYMouse.Move:Connect(updateNameBox)
  11785. end)
  11786.  
  11787. addcmd('unhovername',{'nohovername'},function(args, speaker)
  11788.     if nbUpdateFunc then
  11789.         nbUpdateFunc:Disconnect()
  11790.         nameBox:Destroy()
  11791.         nbSelection:Destroy()
  11792.     end
  11793. end)
  11794.  
  11795. addcmd('headsize',{},function(args, speaker)
  11796.     local players = getPlayer(args[1], speaker)
  11797.     for i,v in pairs(players) do
  11798.         if Players[v] ~= speaker and Players[v].Character:FindFirstChild('Head') then
  11799.             local sizeArg = tonumber(args[2])
  11800.             local Size = Vector3.new(sizeArg,sizeArg,sizeArg)
  11801.             local Head = Players[v].Character:FindFirstChild('Head')
  11802.             if Head:IsA("BasePart") then
  11803.                 if not args[2] or sizeArg == 1 then
  11804.                     Head.Size = Vector3.new(2,1,1)
  11805.                 else
  11806.                     Head.Size = Size
  11807.                 end
  11808.             end
  11809.         end
  11810.     end
  11811. end)
  11812.  
  11813. addcmd('hitbox',{},function(args, speaker)
  11814.     local players = getPlayer(args[1], speaker)
  11815.     for i,v in pairs(players) do
  11816.         if Players[v] ~= speaker and Players[v].Character:FindFirstChild('HumanoidRootPart') then
  11817.             local sizeArg = tonumber(args[2])
  11818.             local Size = Vector3.new(sizeArg,sizeArg,sizeArg)
  11819.             local Root = Players[v].Character:FindFirstChild('HumanoidRootPart')
  11820.             if Root:IsA("BasePart") then
  11821.                 if not args[2] or sizeArg == 1 then
  11822.                     Root.Size = Vector3.new(2,1,1)
  11823.                     Root.Transparency = 0.4
  11824.                 else
  11825.                     Root.Size = Size
  11826.                     Root.Transparency = 0.4
  11827.                 end
  11828.             end
  11829.         end
  11830.     end
  11831. end)
  11832.  
  11833. addcmd('stareat',{'stare'},function(args, speaker)
  11834.     local players = getPlayer(args[1], speaker)
  11835.     for i,v in pairs(players) do
  11836.         if stareLoop then
  11837.             stareLoop:Disconnect()
  11838.         end
  11839.         if not Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and Players[v].Character:FindFirstChild("HumanoidRootPart") then return end
  11840.         local function stareFunc()
  11841.             if Players.LocalPlayer.Character.PrimaryPart and Players:FindFirstChild(v) and Players[v].Character ~= nil and Players[v].Character:FindFirstChild("HumanoidRootPart") then
  11842.                 local chrPos=Players.LocalPlayer.Character.PrimaryPart.Position
  11843.                 local tPos=Players[v].Character:FindFirstChild("HumanoidRootPart").Position
  11844.                 local modTPos=Vector3.new(tPos.X,chrPos.Y,tPos.Z)
  11845.                 local newCF=CFrame.new(chrPos,modTPos)
  11846.                 Players.LocalPlayer.Character:SetPrimaryPartCFrame(newCF)
  11847.             elseif not Players:FindFirstChild(v) then
  11848.                 stareLoop:Disconnect()
  11849.             end
  11850.         end
  11851.  
  11852.         stareLoop = RunService.RenderStepped:Connect(stareFunc)
  11853.     end
  11854. end)
  11855.  
  11856. addcmd('unstareat',{'unstare','nostare','nostareat'},function(args, speaker)
  11857.     if stareLoop then
  11858.         stareLoop:Disconnect()
  11859.     end
  11860. end)
  11861.  
  11862. local RolewatchData = {["Group"]=0,["Role"]="",["Leave"]=false}
  11863. local RolewatchConnection = Players.PlayerAdded:Connect(function(player)
  11864.     if RolewatchData.Group == 0 then return end
  11865.     if player:IsInGroup(RolewatchData.Group) then
  11866.         if tostring(player:GetRoleInGroup(RolewatchData.Group)):lower() == RolewatchData.Role:lower() then
  11867.             if RolewatchData.Leave == true then
  11868.                 Players.LocalPlayer:Kick("\n\nRolewatch\nPlayer \"" .. tostring(player.Name) .. "\" has joined with the Role \"" .. RolewatchData.Role .. "\"\n")
  11869.             else
  11870.                 notify("Rolewatch", "Player \"" .. tostring(player.Name) .. "\" has joined with the Role \"" .. RolewatchData.Role .. "\"")
  11871.             end
  11872.         end
  11873.     end
  11874. end)
  11875.  
  11876. addcmd('rolewatch',{},function(args, speaker)
  11877.     local groupid = args[1] or 0
  11878.     if isNumber(groupid) then
  11879.         if args[2] then
  11880.             local rolename = tostring(getstring(2))
  11881.             RolewatchData.Group = tonumber(groupid)
  11882.             RolewatchData.Role = rolename
  11883.             notify("Rolewatch", "Watching Group ID \"" .. tostring(groupid) .. "\" for Role \"" .. rolename .. "\"")
  11884.         end
  11885.     end
  11886. end)
  11887.  
  11888. addcmd('rolewatchstop',{},function(args, speaker)
  11889.     RolewatchData = {["Group"]=0,["Role"]="",["Leave"]=false}
  11890. end)
  11891.  
  11892. addcmd('rolewatchleave',{'unrolewatch'},function(args, speaker)
  11893.     RolewatchData.Leave = not RolewatchData.Leave
  11894.     notify("Rolewatch", RolewatchData.Leave and "Leave has been Enabled" or "Leave has been Disabled")
  11895. end)
  11896.  
  11897. addcmd('removeterrain',{'rterrain','noterrain'},function(args, speaker)
  11898.     workspace:FindFirstChildOfClass('Terrain'):Clear()
  11899. end)
  11900.  
  11901. addcmd('clearnilinstances',{'nonilinstances','cni'},function(args, speaker)
  11902.     if getnilinstances then
  11903.         for i,v in pairs(getnilinstances()) do
  11904.             v:Destroy()
  11905.         end
  11906.     else
  11907.         notify('Incompatible Exploit','Your exploit does not support this command (missing getnilinstances)')
  11908.     end
  11909. end)
  11910.  
  11911. addcmd('destroyheight',{'dh'},function(args, speaker)
  11912.     local dh = args[1] or -500
  11913.     if isNumber(dh) then
  11914.         workspace.FallenPartsDestroyHeight = dh
  11915.     end
  11916. end)
  11917.  
  11918. addcmd('trip',{},function(args, speaker)
  11919.     if speaker and speaker.Character and speaker.Character:FindFirstChildOfClass("Humanoid") and getRoot(speaker.Character) then
  11920.         local hum = speaker.Character:FindFirstChildOfClass("Humanoid")
  11921.         local root = getRoot(speaker.Character)
  11922.         hum:ChangeState(0)
  11923.         root.Velocity = root.CFrame.LookVector * 30
  11924.     end
  11925. end)
  11926.  
  11927. local freezingua = nil
  11928. frozenParts = {}
  11929. addcmd('freezeunanchored',{'freezeua'},function(args, speaker)
  11930.     if sethidden then
  11931.         local badnames = {
  11932.             "Head",
  11933.             "UpperTorso",
  11934.             "LowerTorso",
  11935.             "RightUpperArm",
  11936.             "LeftUpperArm",
  11937.             "RightLowerArm",
  11938.             "LeftLowerArm",
  11939.             "RightHand",
  11940.             "LeftHand",
  11941.             "RightUpperLeg",
  11942.             "LeftUpperLeg",
  11943.             "RightLowerLeg",
  11944.             "LeftLowerLeg",
  11945.             "RightFoot",
  11946.             "LeftFoot",
  11947.             "Torso",
  11948.             "Right Arm",
  11949.             "Left Arm",
  11950.             "Right Leg",
  11951.             "Left Leg",
  11952.             "HumanoidRootPart"
  11953.         }
  11954.         local function FREEZENOOB(v)
  11955.             if v:IsA("BasePart" or "UnionOperation") and v.Anchored == false then
  11956.                 local BADD = false
  11957.                 for i = 1,#badnames do
  11958.                     if v.Name == badnames[i] then
  11959.                         BADD = true
  11960.                     end
  11961.                 end
  11962.                 if speaker.Character and v:IsDescendantOf(speaker.Character) then
  11963.                     BADD = true
  11964.                 end
  11965.                 if BADD == false then
  11966.                     for i,c in pairs(v:GetChildren()) do
  11967.                         if c:IsA("BodyPosition") or c:IsA("BodyGyro") then
  11968.                             c:Destroy()
  11969.                         end
  11970.                     end
  11971.                     local bodypos = Instance.new("BodyPosition")
  11972.                     bodypos.Parent = v
  11973.                     bodypos.Position = v.Position
  11974.                     bodypos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  11975.                     local bodygyro = Instance.new("BodyGyro")
  11976.                     bodygyro.Parent = v
  11977.                     bodygyro.CFrame = v.CFrame
  11978.                     bodygyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  11979.                     if not table.find(frozenParts,v) then
  11980.                         table.insert(frozenParts,v)
  11981.                     end
  11982.                 end
  11983.             end
  11984.         end
  11985.         for i,v in pairs(workspace:GetDescendants()) do
  11986.             FREEZENOOB(v)
  11987.         end
  11988.         freezingua = workspace.DescendantAdded:Connect(FREEZENOOB)
  11989.     else
  11990.         notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
  11991.     end
  11992. end)
  11993.  
  11994. addcmd('thawunanchored',{'thawua','unfreezeunanchored','unfreezeua'},function(args, speaker)
  11995.     if sethidden then
  11996.         if freezingua then
  11997.             freezingua:Disconnect()
  11998.         end
  11999.         for i,v in pairs(frozenParts) do
  12000.             for i,c in pairs(v:GetChildren()) do
  12001.                 if c:IsA("BodyPosition") or c:IsA("BodyGyro") then
  12002.                     c:Destroy()
  12003.                 end
  12004.             end
  12005.         end
  12006.         frozenParts = {}
  12007.     else
  12008.         notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
  12009.     end
  12010. end)
  12011.  
  12012. addcmd('tpunanchored',{'tpua'},function(args, speaker)
  12013.     if sethidden then
  12014.         local players = getPlayer(args[1], speaker)
  12015.         for i,v in pairs(players) do
  12016.             local Forces = {}
  12017.             for _,part in pairs(workspace:GetDescendants()) do
  12018.                 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
  12019.                     for i,c in pairs(part:GetChildren()) do
  12020.                         if c:IsA("BodyPosition") or c:IsA("BodyGyro") then
  12021.                             c:Destroy()
  12022.                         end
  12023.                     end
  12024.                     local ForceInstance = Instance.new("BodyPosition")
  12025.                     ForceInstance.Parent = part
  12026.                     ForceInstance.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  12027.                     table.insert(Forces, ForceInstance)
  12028.                     if not table.find(frozenParts,part) then
  12029.                         table.insert(frozenParts,part)
  12030.                     end
  12031.                 end
  12032.             end
  12033.             for i,c in pairs(Forces) do
  12034.                 c.Position = Players[v].Character.Head.Position
  12035.             end
  12036.         end
  12037.     else
  12038.         notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
  12039.     end
  12040. end)
  12041.  
  12042. keycodeMap = {
  12043.     ["0"] = 0x30,
  12044.     ["1"] = 0x31,
  12045.     ["2"] = 0x32,
  12046.     ["3"] = 0x33,
  12047.     ["4"] = 0x34,
  12048.     ["5"] = 0x35,
  12049.     ["6"] = 0x36,
  12050.     ["7"] = 0x37,
  12051.     ["8"] = 0x38,
  12052.     ["9"] = 0x39,
  12053.     ["a"] = 0x41,
  12054.     ["b"] = 0x42,
  12055.     ["c"] = 0x43,
  12056.     ["d"] = 0x44,
  12057.     ["e"] = 0x45,
  12058.     ["f"] = 0x46,
  12059.     ["g"] = 0x47,
  12060.     ["h"] = 0x48,
  12061.     ["i"] = 0x49,
  12062.     ["j"] = 0x4A,
  12063.     ["k"] = 0x4B,
  12064.     ["l"] = 0x4C,
  12065.     ["m"] = 0x4D,
  12066.     ["n"] = 0x4E,
  12067.     ["o"] = 0x4F,
  12068.     ["p"] = 0x50,
  12069.     ["q"] = 0x51,
  12070.     ["r"] = 0x52,
  12071.     ["s"] = 0x53,
  12072.     ["t"] = 0x54,
  12073.     ["u"] = 0x55,
  12074.     ["v"] = 0x56,
  12075.     ["w"] = 0x57,
  12076.     ["x"] = 0x58,
  12077.     ["y"] = 0x59,
  12078.     ["z"] = 0x5A,
  12079.     ["enter"] = 0x0D,
  12080.     ["shift"] = 0x10,
  12081.     ["ctrl"] = 0x11,
  12082.     ["alt"] = 0x12,
  12083.     ["pause"] = 0x13,
  12084.     ["capslock"] = 0x14,
  12085.     ["spacebar"] = 0x20,
  12086.     ["space"] = 0x20,
  12087.     ["pageup"] = 0x21,
  12088.     ["pagedown"] = 0x22,
  12089.     ["end"] = 0x23,
  12090.     ["home"] = 0x24,
  12091.     ["left"] = 0x25,
  12092.     ["up"] = 0x26,
  12093.     ["right"] = 0x27,
  12094.     ["down"] = 0x28,
  12095.     ["insert"] = 0x2D,
  12096.     ["delete"] = 0x2E,
  12097.     ["f1"] = 0x70,
  12098.     ["f2"] = 0x71,
  12099.     ["f3"] = 0x72,
  12100.     ["f4"] = 0x73,
  12101.     ["f5"] = 0x74,
  12102.     ["f6"] = 0x75,
  12103.     ["f7"] = 0x76,
  12104.     ["f8"] = 0x77,
  12105.     ["f9"] = 0x78,
  12106.     ["f10"] = 0x79,
  12107.     ["f11"] = 0x7A,
  12108.     ["f12"] = 0x7B,
  12109. }
  12110. autoKeyPressing = false
  12111. cancelAutoKeyPress = nil
  12112.  
  12113. addcmd('autokeypress',{'keypress'},function(args, speaker)
  12114.     if keypress and keyrelease and args[1] then
  12115.         local code = keycodeMap[args[1]:lower()]
  12116.         if not code then notify('Auto Key Press',"Invalid key") return end
  12117.         execCmd('unautokeypress')
  12118.         wait()
  12119.         local clickDelay = 0.1
  12120.         local releaseDelay = 0.1
  12121.         if args[2] and isNumber(args[2]) then clickDelay = args[2] end
  12122.         if args[3] and isNumber(args[3]) then releaseDelay = args[3] end
  12123.         autoKeyPressing = true
  12124.         cancelAutoKeyPress = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  12125.             if not gameProcessedEvent then
  12126.                 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
  12127.                     autoKeyPressing = false
  12128.                     cancelAutoKeyPress:Disconnect()
  12129.                 end
  12130.             end
  12131.         end)
  12132.         notify('Auto Key Press',"Press [backspace] and [=] at the same time to stop")
  12133.         repeat wait(clickDelay)
  12134.             keypress(code)
  12135.             wait(releaseDelay)
  12136.             keyrelease(code)
  12137.         until autoKeyPressing == false
  12138.         if cancelAutoKeyPress then cancelAutoKeyPress:Disconnect() keyrelease(code) end
  12139.     else
  12140.         notify('Auto Key Press',"Your exploit doesn't have the ability to use auto key press")
  12141.     end
  12142. end)
  12143.  
  12144. addcmd('unautokeypress',{'noautokeypress','unkeypress','nokeypress'},function(args, speaker)
  12145.     autoKeyPressing = false
  12146.     if cancelAutoKeyPress then cancelAutoKeyPress:Disconnect() end
  12147. end)
  12148.  
  12149. addcmd('addplugin',{'plugin'},function(args, speaker)
  12150.     addPlugin(getstring(1))
  12151. end)
  12152.  
  12153. addcmd('removeplugin',{'deleteplugin'},function(args, speaker)
  12154.     deletePlugin(getstring(1))
  12155. end)
  12156.  
  12157. addcmd('reloadplugin',{},function(args, speaker)
  12158.     local pluginName = getstring(1)
  12159.     deletePlugin(pluginName)
  12160.     wait(1)
  12161.     addPlugin(pluginName)
  12162. end)
  12163.  
  12164. addcmd('removecmd',{'deletecmd'},function(args, speaker)
  12165.     removecmd(args[1])
  12166. end)
  12167.  
  12168. if IsOnMobile then
  12169.     local QuickCapture = Instance.new("TextButton")
  12170.     local UICorner = Instance.new("UICorner")
  12171.     QuickCapture.Name = randomString()
  12172.     QuickCapture.Parent = PARENT
  12173.     QuickCapture.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  12174.     QuickCapture.BackgroundTransparency = 0.14
  12175.     QuickCapture.Position = UDim2.new(0.489, 0, 0, 0)
  12176.     QuickCapture.Size = UDim2.new(0, 32, 0, 33)
  12177.     QuickCapture.Font = Enum.Font.SourceSansBold
  12178.     QuickCapture.Text = "IY"
  12179.     QuickCapture.TextColor3 = Color3.fromRGB(255, 255, 255)
  12180.     QuickCapture.TextSize = 20.000
  12181.     QuickCapture.TextWrapped = true
  12182.     QuickCapture.Draggable = true
  12183.     UICorner.Name = randomString()
  12184.     UICorner.CornerRadius = UDim.new(0.5, 0)
  12185.     UICorner.Parent = QuickCapture
  12186.     QuickCapture.MouseButton1Click:Connect(function()
  12187.         Cmdbar:CaptureFocus()
  12188.         maximizeHolder()
  12189.     end)
  12190.     table.insert(shade1, QuickCapture)
  12191.     table.insert(text1, QuickCapture)
  12192. end
  12193.  
  12194. updateColors(currentShade1,shade1)
  12195. updateColors(currentShade2,shade2)
  12196. updateColors(currentShade3,shade3)
  12197. updateColors(currentText1,text1)
  12198. updateColors(currentText2,text2)
  12199. updateColors(currentScroll,scroll)
  12200.  
  12201. if PluginsTable ~= nil or PluginsTable ~= {} then
  12202.     FindPlugins(PluginsTable)
  12203. end
  12204.  
  12205. -- Events
  12206. eventEditor.RegisterEvent("OnExecute")
  12207. eventEditor.RegisterEvent("OnSpawn",{
  12208.     {Type="Player",Name="Player Filter ($1)"}
  12209. })
  12210. eventEditor.RegisterEvent("OnDied",{
  12211.     {Type="Player",Name="Player Filter ($1)"}
  12212. })
  12213. eventEditor.RegisterEvent("OnDamage",{
  12214.     {Type="Player",Name="Player Filter ($1)"},
  12215.     {Type="Number",Name="Below Health ($2)"}
  12216. })
  12217. eventEditor.RegisterEvent("OnKilled",{
  12218.     {Type="Player",Name="Victim Player ($1)"},
  12219.     {Type="Player",Name="Killer Player ($2)",Default = 1}
  12220. })
  12221. eventEditor.RegisterEvent("OnJoin",{
  12222.     {Type="Player",Name="Player Filter ($1)",Default = 1}
  12223. })
  12224. eventEditor.RegisterEvent("OnChatted",{
  12225.     {Type="Player",Name="Player Filter ($1)",Default = 1},
  12226.     {Type="String",Name="Message Filter ($2)"}
  12227. })
  12228.  
  12229. function hookCharEvents(plr,instant)
  12230.     task.spawn(function()
  12231.         local char = plr.Character
  12232.         if not char then return end
  12233.  
  12234.         local humanoid = char:WaitForChild("Humanoid",10)
  12235.         if not humanoid then return end
  12236.  
  12237.         local oldHealth = humanoid.Health
  12238.         humanoid.HealthChanged:Connect(function(health)
  12239.             local change = math.abs(oldHealth - health)
  12240.             if oldHealth > health then
  12241.                 eventEditor.FireEvent("OnDamage",plr.Name,tonumber(health))
  12242.             end
  12243.             oldHealth = health
  12244.         end)
  12245.  
  12246.         humanoid.Died:Connect(function()
  12247.             eventEditor.FireEvent("OnDied",plr.Name)
  12248.  
  12249.             local killedBy = humanoid:FindFirstChild("creator")
  12250.             if killedBy and killedBy.Value and killedBy.Value.Parent then
  12251.                 eventEditor.FireEvent("OnKilled",plr.Name,killedBy.Name)
  12252.             end
  12253.         end)
  12254.     end)
  12255. end
  12256.  
  12257. Players.PlayerAdded:Connect(function(plr)
  12258.     eventEditor.FireEvent("OnJoin",plr.Name)
  12259.     plr.Chatted:Connect(function(msg) eventEditor.FireEvent("OnChatted",tostring(plr),msg) end)
  12260.     plr.CharacterAdded:Connect(function() eventEditor.FireEvent("OnSpawn",tostring(plr)) hookCharEvents(plr) end)
  12261.     JoinLog(plr)
  12262.     ChatLog(plr)
  12263.     if ESPenabled then
  12264.         repeat wait(1) until plr.Character and getRoot(plr.Character)
  12265.         ESP(plr)
  12266.     end
  12267.     if CHMSenabled then
  12268.         repeat wait(1) until plr.Character and getRoot(plr.Character)
  12269.         CHMS(plr)
  12270.     end
  12271. end)
  12272.  
  12273. for _,plr in pairs(Players:GetPlayers()) do
  12274.     pcall(function()
  12275.         plr.CharacterAdded:Connect(function() eventEditor.FireEvent("OnSpawn",tostring(plr)) hookCharEvents(plr) end)
  12276.         hookCharEvents(plr)
  12277.     end)
  12278. end
  12279.  
  12280. if spawnCmds and #spawnCmds > 0 then
  12281.     for i,v in pairs(spawnCmds) do
  12282.         eventEditor.AddCmd("OnSpawn",{v.COMMAND or "",{0},v.DELAY or 0})
  12283.     end
  12284.     updatesaves()
  12285. end
  12286.  
  12287. if loadedEventData then eventEditor.LoadData(loadedEventData) end
  12288. eventEditor.Refresh()
  12289.  
  12290. eventEditor.FireEvent("OnExecute")
  12291.  
  12292. if aliases and #aliases > 0 then
  12293.     local cmdMap = {}
  12294.     for i,v in pairs(cmds) do
  12295.         cmdMap[v.NAME:lower()] = v
  12296.         for _,alias in pairs(v.ALIAS) do
  12297.             cmdMap[alias:lower()] = v
  12298.         end
  12299.     end
  12300.     for i = 1, #aliases do
  12301.         local cmd = string.lower(aliases[i].CMD)
  12302.         local alias = string.lower(aliases[i].ALIAS)
  12303.         if cmdMap[cmd] then
  12304.             customAlias[alias] = cmdMap[cmd]
  12305.         end
  12306.     end
  12307.     refreshaliases()
  12308. end
  12309.  
  12310. IYMouse.Move:Connect(checkTT)
  12311.  
  12312. task.spawn(function()
  12313.     local success, latestVersionInfo = pcall(function()
  12314.         local versionJson = game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/version')
  12315.         return HttpService:JSONDecode(versionJson)
  12316.     end)
  12317.    
  12318.     if success then
  12319.         if currentVersion ~= latestVersionInfo.Version then
  12320.             notify('Outdated','Get the new version at infyiff.github.io')
  12321.         end
  12322.        
  12323.         if latestVersionInfo.Announcement and latestVersionInfo.Announcement ~= '' then
  12324.             local AnnGUI = Instance.new("Frame")
  12325.             local background = Instance.new("Frame")
  12326.             local TextBox = Instance.new("TextLabel")
  12327.             local shadow = Instance.new("Frame")
  12328.             local PopupText = Instance.new("TextLabel")
  12329.             local Exit = Instance.new("TextButton")
  12330.             local ExitImage = Instance.new("ImageLabel")
  12331.  
  12332.             AnnGUI.Name = randomString()
  12333.             AnnGUI.Parent = PARENT
  12334.             AnnGUI.Active = true
  12335.             AnnGUI.BackgroundTransparency = 1
  12336.             AnnGUI.Position = UDim2.new(0.5, -180, 0, -500)
  12337.             AnnGUI.Size = UDim2.new(0, 360, 0, 20)
  12338.             AnnGUI.ZIndex = 10
  12339.  
  12340.             background.Name = "background"
  12341.             background.Parent = AnnGUI
  12342.             background.Active = true
  12343.             background.BackgroundColor3 = currentShade1
  12344.             background.BorderSizePixel = 0
  12345.             background.Position = UDim2.new(0, 0, 0, 20)
  12346.             background.Size = UDim2.new(0, 360, 0, 150)
  12347.             background.ZIndex = 10
  12348.  
  12349.             TextBox.Parent = background
  12350.             TextBox.BackgroundTransparency = 1
  12351.             TextBox.Position = UDim2.new(0, 5, 0, 5)
  12352.             TextBox.Size = UDim2.new(0, 350, 0, 140)
  12353.             TextBox.Font = Enum.Font.SourceSans
  12354.             TextBox.TextSize = 18
  12355.             TextBox.TextWrapped = true
  12356.             TextBox.Text = Announcement
  12357.             TextBox.TextColor3 = currentText1
  12358.             TextBox.TextXAlignment = Enum.TextXAlignment.Left
  12359.             TextBox.TextYAlignment = Enum.TextYAlignment.Top
  12360.             TextBox.ZIndex = 10
  12361.  
  12362.             shadow.Name = "shadow"
  12363.             shadow.Parent = AnnGUI
  12364.             shadow.BackgroundColor3 = currentShade2
  12365.             shadow.BorderSizePixel = 0
  12366.             shadow.Size = UDim2.new(0, 360, 0, 20)
  12367.             shadow.ZIndex = 10
  12368.  
  12369.             PopupText.Name = "PopupText"
  12370.             PopupText.Parent = shadow
  12371.             PopupText.BackgroundTransparency = 1
  12372.             PopupText.Size = UDim2.new(1, 0, 0.95, 0)
  12373.             PopupText.ZIndex = 10
  12374.             PopupText.Font = Enum.Font.SourceSans
  12375.             PopupText.TextSize = 14
  12376.             PopupText.Text = "Server Announcement"
  12377.             PopupText.TextColor3 = currentText1
  12378.             PopupText.TextWrapped = true
  12379.  
  12380.             Exit.Name = "Exit"
  12381.             Exit.Parent = shadow
  12382.             Exit.BackgroundTransparency = 1
  12383.             Exit.Position = UDim2.new(1, -20, 0, 0)
  12384.             Exit.Size = UDim2.new(0, 20, 0, 20)
  12385.             Exit.Text = ""
  12386.             Exit.ZIndex = 10
  12387.  
  12388.             ExitImage.Parent = Exit
  12389.             ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
  12390.             ExitImage.BackgroundTransparency = 1
  12391.             ExitImage.Position = UDim2.new(0, 5, 0, 5)
  12392.             ExitImage.Size = UDim2.new(0, 10, 0, 10)
  12393.             ExitImage.Image = "rbxassetid://5054663650"
  12394.             ExitImage.ZIndex = 10
  12395.  
  12396.             wait(1)
  12397.             AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil)
  12398.  
  12399.             Exit.MouseButton1Click:Connect(function()
  12400.                 AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  12401.                 wait(0.6)
  12402.                 AnnGUI:Destroy()
  12403.             end)
  12404.         end
  12405.     end
  12406. end)
  12407.  
  12408. task.spawn(function()
  12409.     wait()
  12410.     Credits:TweenPosition(UDim2.new(0, 0, 0.9, 0), "Out", "Quart", 0.2)
  12411.     Logo:TweenSizeAndPosition(UDim2.new(0, 175, 0, 175), UDim2.new(0, 37, 0, 45), "Out", "Quart", 0.3)
  12412.     wait(1)
  12413.     local OutInfo = TweenInfo.new(1.6809, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 0, false, 0)
  12414.     TweenService:Create(Logo, OutInfo, {ImageTransparency = 1}):Play()
  12415.     TweenService:Create(IntroBackground, OutInfo, {BackgroundTransparency = 1}):Play()
  12416.     Credits:TweenPosition(UDim2.new(0, 0, 0.9, 30), "Out", "Quart", 0.2)
  12417.     wait(0.2)
  12418.     Logo:Destroy()
  12419.     Credits:Destroy()
  12420.     IntroBackground:Destroy()
  12421.     minimizeHolder()
  12422.     if IsOnMobile then notify("Unstable Device", "On mobile, Infinite Yield may have issues or features that are not functioning correctly.") end
  12423.     if writefileExploit() then
  12424.         while wait(5) do
  12425.             local placeName = CleanFileName(MarketplaceService:GetProductInfo(PlaceId).Name)
  12426.             local writelogs = '-- Infinite Yield Chat logs for "'..placeName..'"\n'
  12427.             for _, child in pairs(scroll_2:GetChildren()) do
  12428.                 writelogs = writelogs..'\n'..child.Text
  12429.             end
  12430.             local writelogsFile = tostring(writelogs)
  12431.             local fileext = 0
  12432.             local function nameFile()
  12433.                 local file
  12434.                 pcall(function() file = readfile(placeName..' Chat Logs ('..fileext..').txt') end)
  12435.                 if file then
  12436.                     fileext = fileext+1
  12437.                     nameFile()
  12438.                 else
  12439.                     writefileCooldown(placeName.."/"..placeName..' Chat Logs ('..fileext..').txt', writelogsFile)
  12440.                 end
  12441.             end
  12442.             nameFile()
  12443.         end
  12444.     end
  12445. end)
Add Comment
Please, Sign In to add comment