Batman34

Inf

Aug 16th, 2025
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 481.56 KB | Gaming | 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. if not game:IsLoaded() then game.Loaded:Wait() end
  8.  
  9. function missing(t, f, fallback)
  10.     if type(f) == t then return f end
  11.     return fallback
  12. end
  13.  
  14. cloneref = missing("function", cloneref, function(...) return ... end)
  15. sethidden =  missing("function", sethiddenproperty or set_hidden_property or set_hidden_prop)
  16. gethidden =  missing("function", gethiddenproperty or get_hidden_property or get_hidden_prop)
  17. queueteleport =  missing("function", queue_on_teleport or (syn and syn.queue_on_teleport) or (fluxus and fluxus.queue_on_teleport))
  18. httprequest =  missing("function", request or http_request or (syn and syn.request) or (http and http.request) or (fluxus and fluxus.request))
  19. everyClipboard = missing("function", setclipboard or toclipboard or set_clipboard or (Clipboard and Clipboard.set))
  20. firetouchinterest = missing("function", firetouchinterest)
  21. waxwritefile, waxreadfile = writefile, readfile
  22. writefile = missing("function", waxwritefile) and function(file, data, safe)
  23.     if safe == true then return pcall(waxwritefile, file, data) end
  24.     waxwritefile(file, data)
  25. end
  26. readfile = missing("function", waxreadfile) and function(file, safe)
  27.     if safe == true then return pcall(waxreadfile, file) end
  28.     return waxreadfile(file)
  29. end
  30. isfile = missing("function", isfile, readfile and function(file)
  31.     local success, result = pcall(function()
  32.         return readfile(file)
  33.     end)
  34.     return success and result ~= nil and result ~= ""
  35. end)
  36. makefolder = missing("function", makefolder)
  37. isfolder = missing("function", isfolder)
  38. waxgetcustomasset = missing("function", getcustomasset or getsynasset)
  39. hookfunction = missing("function", hookfunction)
  40. hookmetamethod = missing("function", hookmetamethod)
  41. getnamecallmethod = missing("function", getnamecallmethod or get_namecall_method)
  42. checkcaller = missing("function", checkcaller, function() return false end)
  43. newcclosure = missing("function", newcclosure)
  44. getgc = missing("function", getgc or get_gc_objects)
  45. setthreadidentity = missing("function", setthreadidentity or (syn and syn.set_thread_identity) or syn_context_set or setthreadcontext)
  46. replicatesignal = missing("function", replicatesignal)
  47.  
  48. COREGUI = game:GetService("CoreGui")
  49. Players = cloneref(game:GetService("Players"))
  50. UserInputService = cloneref(game:GetService("UserInputService"))
  51. TweenService = cloneref(game:GetService("TweenService"))
  52. HttpService = cloneref(game:GetService("HttpService"))
  53. MarketplaceService = cloneref(game:GetService("MarketplaceService"))
  54. RunService = cloneref(game:GetService("RunService"))
  55. TeleportService = cloneref(game:GetService("TeleportService"))
  56. StarterGui = cloneref(game:GetService("StarterGui"))
  57. GuiService = cloneref(game:GetService("GuiService"))
  58. Lighting = cloneref(game:GetService("Lighting"))
  59. ContextActionService = cloneref(game:GetService("ContextActionService"))
  60. ReplicatedStorage = cloneref(game:GetService("ReplicatedStorage"))
  61. GroupService = cloneref(game:GetService("GroupService"))
  62. PathService = cloneref(game:GetService("PathfindingService"))
  63. SoundService = cloneref(game:GetService("SoundService"))
  64. Teams = cloneref(game:GetService("Teams"))
  65. StarterPlayer = cloneref(game:GetService("StarterPlayer"))
  66. InsertService = cloneref(game:GetService("InsertService"))
  67. ChatService = cloneref(game:GetService("Chat"))
  68. ProximityPromptService = cloneref(game:GetService("ProximityPromptService"))
  69. ContentProvider = cloneref(game:GetService("ContentProvider"))
  70. StatsService = cloneref(game:GetService("Stats"))
  71. MaterialService = cloneref(game:GetService("MaterialService"))
  72. AvatarEditorService = cloneref(game:GetService("AvatarEditorService"))
  73. TextService = cloneref(game:GetService("TextService"))
  74. TextChatService = cloneref(game:GetService("TextChatService"))
  75. CaptureService = cloneref(game:GetService("CaptureService"))
  76. VoiceChatService = cloneref(game:GetService("VoiceChatService"))
  77.  
  78. IYMouse = cloneref(Players.LocalPlayer:GetMouse())
  79. PlayerGui = cloneref(Players.LocalPlayer:FindFirstChildWhichIsA("PlayerGui"))
  80. PlaceId, JobId = game.PlaceId, game.JobId
  81. IsOnMobile = table.find({Enum.Platform.Android, Enum.Platform.IOS}, UserInputService:GetPlatform())
  82. isLegacyChat = TextChatService.ChatVersion == Enum.ChatVersion.LegacyChatService
  83.  
  84. -- xylex & europa
  85. local iyassets = {
  86.     ["infiniteyield/assets/bindsandplugins.png"] = "rbxassetid://5147695474",
  87.     ["infiniteyield/assets/close.png"] = "rbxassetid://5054663650",
  88.     ["infiniteyield/assets/editaliases.png"] = "rbxassetid://5147488658",
  89.     ["infiniteyield/assets/editkeybinds.png"] = "rbxassetid://129697930",
  90.     ["infiniteyield/assets/edittheme.png"] = "rbxassetid://4911962991",
  91.     ["infiniteyield/assets/editwaypoints.png"] = "rbxassetid://5147488592",
  92.     ["infiniteyield/assets/imgstudiopluginlogo.png"] = "rbxassetid://4113050383",
  93.     ["infiniteyield/assets/logo.png"] = "rbxassetid://1352543873",
  94.     ["infiniteyield/assets/minimize.png"] = "rbxassetid://2406617031",
  95.     ["infiniteyield/assets/pin.png"] = "rbxassetid://6234691350",
  96.     ["infiniteyield/assets/reference.png"] = "rbxassetid://3523243755",
  97.     ["infiniteyield/assets/settings.png"] = "rbxassetid://1204397029"
  98. }
  99.  
  100. local function getcustomasset(asset)
  101.     if waxgetcustomasset then
  102.         local success, result = pcall(function()
  103.             return waxgetcustomasset(asset)
  104.         end)
  105.         if success and result ~= nil and result ~= "" then
  106.             return result
  107.         end
  108.     end
  109.     return iyassets[asset]
  110. end
  111.  
  112. if makefolder and isfolder and writefile and isfile then
  113.     pcall(function() -- good executor trust
  114.         local assets = "https://raw.githubusercontent.com/infyiff/backup/refs/heads/main/"
  115.         for _, folder in {"infiniteyield", "infiniteyield/assets"} do
  116.             if not isfolder(folder) then
  117.                 makefolder(folder)
  118.             end
  119.         end
  120.         for path in iyassets do
  121.             if not isfile(path) then
  122.                 writefile(path, game:HttpGet((path:gsub("infiniteyield/", assets))))
  123.             end
  124.         end
  125.         if IsOnMobile then writefile("infiniteyield/assets/.nomedia") end
  126.     end)
  127. end
  128.  
  129. currentVersion = "6.3.3"
  130.  
  131. ScaledHolder = Instance.new("Frame")
  132. Scale = Instance.new("UIScale")
  133. Holder = Instance.new("Frame")
  134. Title = Instance.new("TextLabel")
  135. Dark = Instance.new("Frame")
  136. Cmdbar = Instance.new("TextBox")
  137. CMDsF = Instance.new("ScrollingFrame")
  138. cmdListLayout = Instance.new("UIListLayout")
  139. SettingsButton = Instance.new("ImageButton")
  140. ColorsButton = Instance.new("ImageButton")
  141. Settings = Instance.new("Frame")
  142. Prefix = Instance.new("TextLabel")
  143. PrefixBox = Instance.new("TextBox")
  144. Keybinds = Instance.new("TextLabel")
  145. StayOpen = Instance.new("TextLabel")
  146. Button = Instance.new("Frame")
  147. On = Instance.new("TextButton")
  148. Positions = Instance.new("TextLabel")
  149. EventBind = Instance.new("TextLabel")
  150. Plugins = Instance.new("TextLabel")
  151. Example = Instance.new("TextButton")
  152. Notification = Instance.new("Frame")
  153. Title_2 = Instance.new("TextLabel")
  154. Text_2 = Instance.new("TextLabel")
  155. CloseButton = Instance.new("TextButton")
  156. CloseImage = Instance.new("ImageLabel")
  157. PinButton = Instance.new("TextButton")
  158. PinImage = Instance.new("ImageLabel")
  159. Tooltip = Instance.new("Frame")
  160. Title_3 = Instance.new("TextLabel")
  161. Description = Instance.new("TextLabel")
  162. IntroBackground = Instance.new("Frame")
  163. Logo = Instance.new("ImageLabel")
  164. Credits = Instance.new("TextBox")
  165. KeybindsFrame = Instance.new("Frame")
  166. Close = Instance.new("TextButton")
  167. Add = Instance.new("TextButton")
  168. Delete = Instance.new("TextButton")
  169. Holder_2 = Instance.new("ScrollingFrame")
  170. Example_2 = Instance.new("Frame")
  171. Text_3 = Instance.new("TextLabel")
  172. Delete_2 = Instance.new("TextButton")
  173. KeybindEditor = Instance.new("Frame")
  174. background_2 = Instance.new("Frame")
  175. Dark_3 = Instance.new("Frame")
  176. Directions = Instance.new("TextLabel")
  177. BindTo = Instance.new("TextButton")
  178. TriggerLabel = Instance.new("TextLabel")
  179. BindTriggerSelect = Instance.new("TextButton")
  180. Add_2 = Instance.new("TextButton")
  181. Toggles = Instance.new("ScrollingFrame")
  182. ClickTP  = Instance.new("TextLabel")
  183. Select = Instance.new("TextButton")
  184. ClickDelete = Instance.new("TextLabel")
  185. Select_2 = Instance.new("TextButton")
  186. Cmdbar_2 = Instance.new("TextBox")
  187. Cmdbar_3 = Instance.new("TextBox")
  188. CreateToggle = Instance.new("TextLabel")
  189. Button_2 = Instance.new("Frame")
  190. On_2 = Instance.new("TextButton")
  191. shadow_2 = Instance.new("Frame")
  192. PopupText_2 = Instance.new("TextLabel")
  193. Exit_2 = Instance.new("TextButton")
  194. ExitImage_2 = Instance.new("ImageLabel")
  195. PositionsFrame = Instance.new("Frame")
  196. Close_3 = Instance.new("TextButton")
  197. Delete_5 = Instance.new("TextButton")
  198. Part = Instance.new("TextButton")
  199. Holder_4 = Instance.new("ScrollingFrame")
  200. Example_4 = Instance.new("Frame")
  201. Text_5 = Instance.new("TextLabel")
  202. Delete_6 = Instance.new("TextButton")
  203. TP = Instance.new("TextButton")
  204. AliasesFrame = Instance.new("Frame")
  205. Close_2 = Instance.new("TextButton")
  206. Delete_3 = Instance.new("TextButton")
  207. Holder_3 = Instance.new("ScrollingFrame")
  208. Example_3 = Instance.new("Frame")
  209. Text_4 = Instance.new("TextLabel")
  210. Delete_4 = Instance.new("TextButton")
  211. Aliases = Instance.new("TextLabel")
  212. PluginsFrame = Instance.new("Frame")
  213. Close_4 = Instance.new("TextButton")
  214. Add_3 = Instance.new("TextButton")
  215. Holder_5 = Instance.new("ScrollingFrame")
  216. Example_5 = Instance.new("Frame")
  217. Text_6 = Instance.new("TextLabel")
  218. Delete_7 = Instance.new("TextButton")
  219. PluginEditor = Instance.new("Frame")
  220. background_3 = Instance.new("Frame")
  221. Dark_2 = Instance.new("Frame")
  222. Img = Instance.new("ImageButton")
  223. AddPlugin = Instance.new("TextButton")
  224. FileName = Instance.new("TextBox")
  225. About = Instance.new("TextLabel")
  226. Directions_2 = Instance.new("TextLabel")
  227. shadow_3 = Instance.new("Frame")
  228. PopupText_3 = Instance.new("TextLabel")
  229. Exit_3 = Instance.new("TextButton")
  230. ExitImage_3 = Instance.new("ImageLabel")
  231. AliasHint = Instance.new("TextLabel")
  232. PluginsHint = Instance.new("TextLabel")
  233. PositionsHint = Instance.new("TextLabel")
  234. ToPartFrame = Instance.new("Frame")
  235. background_4 = Instance.new("Frame")
  236. ChoosePart = Instance.new("TextButton")
  237. CopyPath = Instance.new("TextButton")
  238. Directions_3 = Instance.new("TextLabel")
  239. Path = Instance.new("TextLabel")
  240. shadow_4 = Instance.new("Frame")
  241. PopupText_5 = Instance.new("TextLabel")
  242. Exit_4 = Instance.new("TextButton")
  243. ExitImage_5 = Instance.new("ImageLabel")
  244. logs = Instance.new("Frame")
  245. shadow = Instance.new("Frame")
  246. Hide = Instance.new("TextButton")
  247. ImageLabel = Instance.new("ImageLabel")
  248. PopupText = Instance.new("TextLabel")
  249. Exit = Instance.new("TextButton")
  250. ImageLabel_2 = Instance.new("ImageLabel")
  251. background = Instance.new("Frame")
  252. chat = Instance.new("Frame")
  253. Clear = Instance.new("TextButton")
  254. SaveChatlogs = Instance.new("TextButton")
  255. Toggle = Instance.new("TextButton")
  256. scroll_2 = Instance.new("ScrollingFrame")
  257. join = Instance.new("Frame")
  258. Toggle_2 = Instance.new("TextButton")
  259. Clear_2 = Instance.new("TextButton")
  260. scroll_3 = Instance.new("ScrollingFrame")
  261. listlayout = Instance.new("UIListLayout",scroll_3)
  262. selectChat = Instance.new("TextButton")
  263. selectJoin = Instance.new("TextButton")
  264.  
  265. function randomString()
  266.     local length = math.random(10,20)
  267.     local array = {}
  268.     for i = 1, length do
  269.         array[i] = string.char(math.random(32, 126))
  270.     end
  271.     return table.concat(array)
  272. end
  273.  
  274. PARENT = nil
  275. if get_hidden_gui or gethui then
  276.     local hiddenUI = get_hidden_gui or gethui
  277.     local Main = Instance.new("ScreenGui")
  278.     Main.Name = randomString()
  279.     Main.Parent = hiddenUI()
  280.     PARENT = Main
  281. elseif (not is_sirhurt_closure) and (syn and syn.protect_gui) then
  282.     local Main = Instance.new("ScreenGui")
  283.     Main.Name = randomString()
  284.     syn.protect_gui(Main)
  285.     Main.Parent = COREGUI
  286.     PARENT = Main
  287. elseif COREGUI:FindFirstChild("RobloxGui") then
  288.     PARENT = COREGUI.RobloxGui
  289. else
  290.     local Main = Instance.new("ScreenGui")
  291.     Main.Name = randomString()
  292.     Main.Parent = COREGUI
  293.     PARENT = Main
  294. end
  295.  
  296. shade1 = {}
  297. shade2 = {}
  298. shade3 = {}
  299. text1 = {}
  300. text2 = {}
  301. scroll = {}
  302.  
  303. ScaledHolder.Name = randomString()
  304. ScaledHolder.Size = UDim2.fromScale(1, 1)
  305. ScaledHolder.BackgroundTransparency = 1
  306. ScaledHolder.Parent = PARENT
  307. Scale.Name = randomString()
  308.  
  309. Holder.Name = randomString()
  310. Holder.Parent = ScaledHolder
  311. Holder.Active = true
  312. Holder.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  313. Holder.BorderSizePixel = 0
  314. Holder.Position = UDim2.new(1, -250, 1, -220)
  315. Holder.Size = UDim2.new(0, 250, 0, 220)
  316. Holder.ZIndex = 10
  317. table.insert(shade2,Holder)
  318.  
  319. Title.Name = "Title"
  320. Title.Parent = Holder
  321. Title.Active = true
  322. Title.BackgroundColor3 = Color3.fromRGB(36,36,37)
  323. Title.BorderSizePixel = 0
  324. Title.Size = UDim2.new(0, 250, 0, 20)
  325. Title.Font = Enum.Font.SourceSans
  326. Title.TextSize = 18
  327. Title.Text = "Infinite Yield FE v" .. currentVersion
  328.  
  329. do
  330.     local emoji = ({
  331.         ["01 01"] = "🎆",
  332.         [(function(Year)
  333.             local A = math.floor(Year/100)
  334.             local B = math.floor((13+8*A)/25)
  335.             local C = (15-B+A-math.floor(A/4))%30
  336.             local D = (4+A-math.floor(A/4))%7
  337.             local E = (19*(Year%19)+C)%30
  338.             local F = (2*(Year%4)+4*(Year%7)+6*E+D)%7
  339.             local G = (22+E+F)
  340.             if E == 29 and F == 6 then
  341.                 return "04 19"
  342.             elseif E == 28 and F == 6 then
  343.                 return "04 18"
  344.             elseif 31 < G then
  345.                 return ("04 %02d"):format(G-31)
  346.             end
  347.             return ("03 %02d"):format(G)
  348.         end)(tonumber(os.date"%Y"))] = "🥚",
  349.         ["10 31"] = "🎃",
  350.         ["12 25"] = "🎄"
  351.     })[os.date("%m %d")]
  352.     if emoji then
  353.         Title.Text = ("%s %s %s"):format(emoji, Title.Text, emoji)
  354.     end
  355. end
  356.  
  357. Title.TextColor3 = Color3.new(1, 1, 1)
  358. Title.ZIndex = 10
  359. table.insert(shade1,Title)
  360. table.insert(text1,Title)
  361.  
  362. Dark.Name = "Dark"
  363. Dark.Parent = Holder
  364. Dark.Active = true
  365. Dark.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  366. Dark.BorderSizePixel = 0
  367. Dark.Position = UDim2.new(0, 0, 0, 45)
  368. Dark.Size = UDim2.new(0, 250, 0, 175)
  369. Dark.ZIndex = 10
  370. table.insert(shade1,Dark)
  371.  
  372. Cmdbar.Name = "Cmdbar"
  373. Cmdbar.Parent = Holder
  374. Cmdbar.BackgroundTransparency = 1
  375. Cmdbar.BorderSizePixel = 0
  376. Cmdbar.Position = UDim2.new(0, 5, 0, 20)
  377. Cmdbar.Size = UDim2.new(0, 240, 0, 25)
  378. Cmdbar.Font = Enum.Font.SourceSans
  379. Cmdbar.TextSize = 18
  380. Cmdbar.TextXAlignment = Enum.TextXAlignment.Left
  381. Cmdbar.TextColor3 = Color3.new(1, 1, 1)
  382. Cmdbar.Text = ""
  383. Cmdbar.ZIndex = 10
  384. Cmdbar.PlaceholderText = "Command Bar"
  385.  
  386. CMDsF.Name = "CMDs"
  387. CMDsF.Parent = Holder
  388. CMDsF.BackgroundTransparency = 1
  389. CMDsF.BorderSizePixel = 0
  390. CMDsF.Position = UDim2.new(0, 5, 0, 45)
  391. CMDsF.Size = UDim2.new(0, 245, 0, 175)
  392. CMDsF.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  393. CMDsF.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  394. CMDsF.CanvasSize = UDim2.new(0, 0, 0, 0)
  395. CMDsF.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  396. CMDsF.ScrollBarThickness = 8
  397. CMDsF.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  398. CMDsF.VerticalScrollBarInset = 'Always'
  399. CMDsF.ZIndex = 10
  400. table.insert(scroll,CMDsF)
  401.  
  402. cmdListLayout.Parent = CMDsF
  403.  
  404. SettingsButton.Name = "SettingsButton"
  405. SettingsButton.Parent = Holder
  406. SettingsButton.BackgroundTransparency = 1
  407. SettingsButton.Position = UDim2.new(0, 230, 0, 0)
  408. SettingsButton.Size = UDim2.new(0, 20, 0, 20)
  409. SettingsButton.Image = getcustomasset("infiniteyield/assets/settings.png")
  410. SettingsButton.ZIndex = 10
  411.  
  412. ReferenceButton = Instance.new("ImageButton")
  413. ReferenceButton.Name = "ReferenceButton"
  414. ReferenceButton.Parent = Holder
  415. ReferenceButton.BackgroundTransparency = 1
  416. ReferenceButton.Position = UDim2.new(0, 212, 0, 2)
  417. ReferenceButton.Size = UDim2.new(0, 16, 0, 16)
  418. ReferenceButton.Image = getcustomasset("infiniteyield/assets/reference.png")
  419. ReferenceButton.ZIndex = 10
  420.  
  421. Settings.Name = "Settings"
  422. Settings.Parent = Holder
  423. Settings.Active = true
  424. Settings.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  425. Settings.BorderSizePixel = 0
  426. Settings.Position = UDim2.new(0, 0, 0, 220)
  427. Settings.Size = UDim2.new(0, 250, 0, 175)
  428. Settings.ZIndex = 10
  429. table.insert(shade1,Settings)
  430.  
  431. SettingsHolder = Instance.new("ScrollingFrame")
  432. SettingsHolder.Name = "Holder"
  433. SettingsHolder.Parent = Settings
  434. SettingsHolder.BackgroundTransparency = 1
  435. SettingsHolder.BorderSizePixel = 0
  436. SettingsHolder.Size = UDim2.new(1,0,1,0)
  437. SettingsHolder.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  438. SettingsHolder.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  439. SettingsHolder.CanvasSize = UDim2.new(0, 0, 0, 235)
  440. SettingsHolder.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  441. SettingsHolder.ScrollBarThickness = 8
  442. SettingsHolder.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  443. SettingsHolder.VerticalScrollBarInset = 'Always'
  444. SettingsHolder.ZIndex = 10
  445. table.insert(scroll,SettingsHolder)
  446.  
  447. Prefix.Name = "Prefix"
  448. Prefix.Parent = SettingsHolder
  449. Prefix.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  450. Prefix.BorderSizePixel = 0
  451. Prefix.BackgroundTransparency = 1
  452. Prefix.Position = UDim2.new(0, 5, 0, 5)
  453. Prefix.Size = UDim2.new(1, -10, 0, 20)
  454. Prefix.Font = Enum.Font.SourceSans
  455. Prefix.TextSize = 14
  456. Prefix.Text = "Prefix"
  457. Prefix.TextColor3 = Color3.new(1, 1, 1)
  458. Prefix.TextXAlignment = Enum.TextXAlignment.Left
  459. Prefix.ZIndex = 10
  460. table.insert(shade2,Prefix)
  461. table.insert(text1,Prefix)
  462.  
  463. PrefixBox.Name = "PrefixBox"
  464. PrefixBox.Parent = Prefix
  465. PrefixBox.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  466. PrefixBox.BorderSizePixel = 0
  467. PrefixBox.Position = UDim2.new(1, -20, 0, 0)
  468. PrefixBox.Size = UDim2.new(0, 20, 0, 20)
  469. PrefixBox.Font = Enum.Font.SourceSansBold
  470. PrefixBox.TextSize = 14
  471. PrefixBox.Text = ''
  472. PrefixBox.TextColor3 = Color3.new(0, 0, 0)
  473. PrefixBox.ZIndex = 10
  474. table.insert(shade3,PrefixBox)
  475. table.insert(text2,PrefixBox)
  476.  
  477. function makeSettingsButton(name,iconID,off)
  478.     local button = Instance.new("TextButton")
  479.     button.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  480.     button.BorderSizePixel = 0
  481.     button.Position = UDim2.new(0,0,0,0)
  482.     button.Size = UDim2.new(1,0,0,25)
  483.     button.Text = ""
  484.     button.ZIndex = 10
  485.     local icon = Instance.new("ImageLabel")
  486.     icon.Name = "Icon"
  487.     icon.Parent = button
  488.     icon.Position = UDim2.new(0,5,0,5)
  489.     icon.Size = UDim2.new(0,16,0,16)
  490.     icon.BackgroundTransparency = 1
  491.     icon.Image = iconID
  492.     icon.ZIndex = 10
  493.     if off then
  494.         icon.ScaleType = Enum.ScaleType.Crop
  495.         icon.ImageRectSize = Vector2.new(16,16)
  496.         icon.ImageRectOffset = Vector2.new(off,0)
  497.     end
  498.     local label = Instance.new("TextLabel")
  499.     label.Name = "ButtonLabel"
  500.     label.Parent = button
  501.     label.BackgroundTransparency = 1
  502.     label.Text = name
  503.     label.Position = UDim2.new(0,28,0,0)
  504.     label.Size = UDim2.new(1,-28,1,0)
  505.     label.Font = Enum.Font.SourceSans
  506.     label.TextColor3 = Color3.new(1, 1, 1)
  507.     label.TextSize = 14
  508.     label.ZIndex = 10
  509.     label.TextXAlignment = Enum.TextXAlignment.Left
  510.     table.insert(shade2,button)
  511.     table.insert(text1,label)
  512.     return button
  513. end
  514.  
  515. ColorsButton = makeSettingsButton("Edit Theme",getcustomasset("infiniteyield/assets/edittheme.png"))
  516. ColorsButton.Position = UDim2.new(0, 5, 0, 55)
  517. ColorsButton.Size = UDim2.new(1, -10, 0, 25)
  518. ColorsButton.Name = "Colors"
  519. ColorsButton.Parent = SettingsHolder
  520.  
  521. Keybinds = makeSettingsButton("Edit Keybinds",getcustomasset("infiniteyield/assets/editkeybinds.png"))
  522. Keybinds.Position = UDim2.new(0, 5, 0, 85)
  523. Keybinds.Size = UDim2.new(1, -10, 0, 25)
  524. Keybinds.Name = "Keybinds"
  525. Keybinds.Parent = SettingsHolder
  526.  
  527. Aliases = makeSettingsButton("Edit Aliases",getcustomasset("infiniteyield/assets/editaliases.png"))
  528. Aliases.Position = UDim2.new(0, 5, 0, 115)
  529. Aliases.Size = UDim2.new(1, -10, 0, 25)
  530. Aliases.Name = "Aliases"
  531. Aliases.Parent = SettingsHolder
  532.  
  533. StayOpen.Name = "StayOpen"
  534. StayOpen.Parent = SettingsHolder
  535. StayOpen.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  536. StayOpen.BorderSizePixel = 0
  537. StayOpen.BackgroundTransparency = 1
  538. StayOpen.Position = UDim2.new(0, 5, 0, 30)
  539. StayOpen.Size = UDim2.new(1, -10, 0, 20)
  540. StayOpen.Font = Enum.Font.SourceSans
  541. StayOpen.TextSize = 14
  542. StayOpen.Text = "Keep Menu Open"
  543. StayOpen.TextColor3 = Color3.new(1, 1, 1)
  544. StayOpen.TextXAlignment = Enum.TextXAlignment.Left
  545. StayOpen.ZIndex = 10
  546. table.insert(shade2,StayOpen)
  547. table.insert(text1,StayOpen)
  548.  
  549. Button.Name = "Button"
  550. Button.Parent = StayOpen
  551. Button.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  552. Button.BorderSizePixel = 0
  553. Button.Position = UDim2.new(1, -20, 0, 0)
  554. Button.Size = UDim2.new(0, 20, 0, 20)
  555. Button.ZIndex = 10
  556. table.insert(shade3,Button)
  557.  
  558. On.Name = "On"
  559. On.Parent = Button
  560. On.BackgroundColor3 = Color3.fromRGB(150, 150, 151)
  561. On.BackgroundTransparency = 1
  562. On.BorderSizePixel = 0
  563. On.Position = UDim2.new(0, 2, 0, 2)
  564. On.Size = UDim2.new(0, 16, 0, 16)
  565. On.Font = Enum.Font.SourceSans
  566. On.FontSize = Enum.FontSize.Size14
  567. On.Text = ""
  568. On.TextColor3 = Color3.new(0, 0, 0)
  569. On.ZIndex = 10
  570.  
  571. Positions = makeSettingsButton("Edit/Goto Waypoints",getcustomasset("infiniteyield/assets/editwaypoints.png"))
  572. Positions.Position = UDim2.new(0, 5, 0, 145)
  573. Positions.Size = UDim2.new(1, -10, 0, 25)
  574. Positions.Name = "Waypoints"
  575. Positions.Parent = SettingsHolder
  576.  
  577. EventBind = makeSettingsButton("Edit Event Binds",getcustomasset("infiniteyield/assets/bindsandplugins.png"),759)
  578. EventBind.Position = UDim2.new(0, 5, 0, 205)
  579. EventBind.Size = UDim2.new(1, -10, 0, 25)
  580. EventBind.Name = "EventBinds"
  581. EventBind.Parent = SettingsHolder
  582.  
  583. Plugins = makeSettingsButton("Manage Plugins",getcustomasset("infiniteyield/assets/bindsandplugins.png"),743)
  584. Plugins.Position = UDim2.new(0, 5, 0, 175)
  585. Plugins.Size = UDim2.new(1, -10, 0, 25)
  586. Plugins.Name = "Plugins"
  587. Plugins.Parent = SettingsHolder
  588.  
  589. Example.Name = "Example"
  590. Example.Parent = Holder
  591. Example.BackgroundTransparency = 1
  592. Example.BorderSizePixel = 0
  593. Example.Size = UDim2.new(0, 190, 0, 20)
  594. Example.Visible = false
  595. Example.Font = Enum.Font.SourceSans
  596. Example.TextSize = 18
  597. Example.Text = "Example"
  598. Example.TextColor3 = Color3.new(1, 1, 1)
  599. Example.TextXAlignment = Enum.TextXAlignment.Left
  600. Example.ZIndex = 10
  601. table.insert(text1,Example)
  602.  
  603. Notification.Name = randomString()
  604. Notification.Parent = ScaledHolder
  605. Notification.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  606. Notification.BorderSizePixel = 0
  607. Notification.Position = UDim2.new(1, -500, 1, 20)
  608. Notification.Size = UDim2.new(0, 250, 0, 100)
  609. Notification.ZIndex = 10
  610. table.insert(shade1,Notification)
  611.  
  612. Title_2.Name = "Title"
  613. Title_2.Parent = Notification
  614. Title_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  615. Title_2.BorderSizePixel = 0
  616. Title_2.Size = UDim2.new(0, 250, 0, 20)
  617. Title_2.Font = Enum.Font.SourceSans
  618. Title_2.TextSize = 14
  619. Title_2.Text = "Notification Title"
  620. Title_2.TextColor3 = Color3.new(1, 1, 1)
  621. Title_2.ZIndex = 10
  622. table.insert(shade2,Title_2)
  623. table.insert(text1,Title_2)
  624.  
  625. Text_2.Name = "Text"
  626. Text_2.Parent = Notification
  627. Text_2.BackgroundTransparency = 1
  628. Text_2.BorderSizePixel = 0
  629. Text_2.Position = UDim2.new(0, 5, 0, 25)
  630. Text_2.Size = UDim2.new(0, 240, 0, 75)
  631. Text_2.Font = Enum.Font.SourceSans
  632. Text_2.TextSize = 16
  633. Text_2.Text = "Notification Text"
  634. Text_2.TextColor3 = Color3.new(1, 1, 1)
  635. Text_2.TextWrapped = true
  636. Text_2.ZIndex = 10
  637. table.insert(text1,Text_2)
  638.  
  639. CloseButton.Name = "CloseButton"
  640. CloseButton.Parent = Notification
  641. CloseButton.BackgroundTransparency = 1
  642. CloseButton.Position = UDim2.new(1, -20, 0, 0)
  643. CloseButton.Size = UDim2.new(0, 20, 0, 20)
  644. CloseButton.Text = ""
  645. CloseButton.ZIndex = 10
  646.  
  647. CloseImage.Parent = CloseButton
  648. CloseImage.BackgroundColor3 = Color3.new(1, 1, 1)
  649. CloseImage.BackgroundTransparency = 1
  650. CloseImage.Position = UDim2.new(0, 5, 0, 5)
  651. CloseImage.Size = UDim2.new(0, 10, 0, 10)
  652. CloseImage.Image = getcustomasset("infiniteyield/assets/close.png")
  653. CloseImage.ZIndex = 10
  654.  
  655. PinButton.Name = "PinButton"
  656. PinButton.Parent = Notification
  657. PinButton.BackgroundTransparency = 1
  658. PinButton.Size = UDim2.new(0, 20, 0, 20)
  659. PinButton.ZIndex = 10
  660. PinButton.Text = ""
  661.  
  662. PinImage.Parent = PinButton
  663. PinImage.BackgroundColor3 = Color3.new(1, 1, 1)
  664. PinImage.BackgroundTransparency = 1
  665. PinImage.Position = UDim2.new(0, 3, 0, 3)
  666. PinImage.Size = UDim2.new(0, 14, 0, 14)
  667. PinImage.ZIndex = 10
  668. PinImage.Image = getcustomasset("infiniteyield/assets/pin.png")
  669.  
  670. Tooltip.Name = randomString()
  671. Tooltip.Parent = ScaledHolder
  672. Tooltip.Active = true
  673. Tooltip.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  674. Tooltip.BackgroundTransparency = 0.1
  675. Tooltip.BorderSizePixel = 0
  676. Tooltip.Size = UDim2.new(0, 200, 0, 96)
  677. Tooltip.Visible = false
  678. Tooltip.ZIndex = 10
  679. table.insert(shade1,Tooltip)
  680.  
  681. Title_3.Name = "Title"
  682. Title_3.Parent = Tooltip
  683. Title_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  684. Title_3.BackgroundTransparency = 0.1
  685. Title_3.BorderSizePixel = 0
  686. Title_3.Size = UDim2.new(0, 200, 0, 20)
  687. Title_3.Font = Enum.Font.SourceSans
  688. Title_3.TextSize = 14
  689. Title_3.Text = ""
  690. Title_3.TextColor3 = Color3.new(1, 1, 1)
  691. Title_3.TextTransparency = 0.1
  692. Title_3.ZIndex = 10
  693. table.insert(shade2,Title_3)
  694. table.insert(text1,Title_3)
  695.  
  696. Description.Name = "Description"
  697. Description.Parent = Tooltip
  698. Description.BackgroundTransparency = 1
  699. Description.BorderSizePixel = 0
  700. Description.Size = UDim2.new(0,180,0,72)
  701. Description.Position = UDim2.new(0,10,0,18)
  702. Description.Font = Enum.Font.SourceSans
  703. Description.TextSize = 16
  704. Description.Text = ""
  705. Description.TextColor3 = Color3.new(1, 1, 1)
  706. Description.TextTransparency = 0.1
  707. Description.TextWrapped = true
  708. Description.ZIndex = 10
  709. table.insert(text1,Description)
  710.  
  711. IntroBackground.Name = "IntroBackground"
  712. IntroBackground.Parent = Holder
  713. IntroBackground.Active = true
  714. IntroBackground.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  715. IntroBackground.BorderSizePixel = 0
  716. IntroBackground.Position = UDim2.new(0, 0, 0, 45)
  717. IntroBackground.Size = UDim2.new(0, 250, 0, 175)
  718. IntroBackground.ZIndex = 10
  719.  
  720. Logo.Name = "Logo"
  721. Logo.Parent = Holder
  722. Logo.BackgroundTransparency = 1
  723. Logo.BorderSizePixel = 0
  724. Logo.Position = UDim2.new(0, 125, 0, 127)
  725. Logo.Size = UDim2.new(0, 10, 0, 10)
  726. Logo.Image = getcustomasset("infiniteyield/assets/logo.png")
  727. Logo.ImageTransparency = 0
  728. Logo.ZIndex = 10
  729.  
  730. Credits.Name = "Credits"
  731. Credits.Parent = Holder
  732. Credits.BackgroundTransparency = 1
  733. Credits.BorderSizePixel = 0
  734. Credits.Position = UDim2.new(0, 0, 0.9, 30)
  735. Credits.Size = UDim2.new(0, 250, 0, 20)
  736. Credits.Font = Enum.Font.SourceSansLight
  737. Credits.FontSize = Enum.FontSize.Size14
  738. Credits.Text = "Edge // Zwolf // Moon // Toon // Peyton // ATP"
  739. Credits.TextColor3 = Color3.new(1, 1, 1)
  740. Credits.ZIndex = 10
  741.  
  742. KeybindsFrame.Name = "KeybindsFrame"
  743. KeybindsFrame.Parent = Settings
  744. KeybindsFrame.Active = true
  745. KeybindsFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  746. KeybindsFrame.BorderSizePixel = 0
  747. KeybindsFrame.Position = UDim2.new(0, 0, 0, 175)
  748. KeybindsFrame.Size = UDim2.new(0, 250, 0, 175)
  749. KeybindsFrame.ZIndex = 10
  750. table.insert(shade1,KeybindsFrame)
  751.  
  752. Close.Name = "Close"
  753. Close.Parent = KeybindsFrame
  754. Close.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  755. Close.BorderSizePixel = 0
  756. Close.Position = UDim2.new(0, 205, 0, 150)
  757. Close.Size = UDim2.new(0, 40, 0, 20)
  758. Close.Font = Enum.Font.SourceSans
  759. Close.TextSize = 14
  760. Close.Text = "Close"
  761. Close.TextColor3 = Color3.new(1, 1, 1)
  762. Close.ZIndex = 10
  763. table.insert(shade2,Close)
  764. table.insert(text1,Close)
  765.  
  766. Add.Name = "Add"
  767. Add.Parent = KeybindsFrame
  768. Add.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  769. Add.BorderSizePixel = 0
  770. Add.Position = UDim2.new(0, 5, 0, 150)
  771. Add.Size = UDim2.new(0, 40, 0, 20)
  772. Add.Font = Enum.Font.SourceSans
  773. Add.TextSize = 14
  774. Add.Text = "Add"
  775. Add.TextColor3 = Color3.new(1, 1, 1)
  776. Add.ZIndex = 10
  777. table.insert(shade2,Add)
  778. table.insert(text1,Add)
  779.  
  780. Delete.Name = "Delete"
  781. Delete.Parent = KeybindsFrame
  782. Delete.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  783. Delete.BorderSizePixel = 0
  784. Delete.Position = UDim2.new(0, 50, 0, 150)
  785. Delete.Size = UDim2.new(0, 40, 0, 20)
  786. Delete.Font = Enum.Font.SourceSans
  787. Delete.TextSize = 14
  788. Delete.Text = "Clear"
  789. Delete.TextColor3 = Color3.new(1, 1, 1)
  790. Delete.ZIndex = 10
  791. table.insert(shade2,Delete)
  792. table.insert(text1,Delete)
  793.  
  794. Holder_2.Name = "Holder"
  795. Holder_2.Parent = KeybindsFrame
  796. Holder_2.BackgroundTransparency = 1
  797. Holder_2.BorderSizePixel = 0
  798. Holder_2.Position = UDim2.new(0, 0, 0, 0)
  799. Holder_2.Size = UDim2.new(0, 250, 0, 145)
  800. Holder_2.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  801. Holder_2.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  802. Holder_2.CanvasSize = UDim2.new(0, 0, 0, 0)
  803. Holder_2.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  804. Holder_2.ScrollBarThickness = 0
  805. Holder_2.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  806. Holder_2.VerticalScrollBarInset = 'Always'
  807. Holder_2.ZIndex = 10
  808.  
  809. Example_2.Name = "Example"
  810. Example_2.Parent = KeybindsFrame
  811. Example_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  812. Example_2.BorderSizePixel = 0
  813. Example_2.Size = UDim2.new(0, 10, 0, 20)
  814. Example_2.Visible = false
  815. Example_2.ZIndex = 10
  816. table.insert(shade2,Example_2)
  817.  
  818. Text_3.Name = "Text"
  819. Text_3.Parent = Example_2
  820. Text_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  821. Text_3.BorderSizePixel = 0
  822. Text_3.Position = UDim2.new(0, 10, 0, 0)
  823. Text_3.Size = UDim2.new(0, 240, 0, 20)
  824. Text_3.Font = Enum.Font.SourceSans
  825. Text_3.TextSize = 14
  826. Text_3.Text = "nom"
  827. Text_3.TextColor3 = Color3.new(1, 1, 1)
  828. Text_3.TextXAlignment = Enum.TextXAlignment.Left
  829. Text_3.ZIndex = 10
  830. table.insert(shade2,Text_3)
  831. table.insert(text1,Text_3)
  832.  
  833. Delete_2.Name = "Delete"
  834. Delete_2.Parent = Text_3
  835. Delete_2.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  836. Delete_2.BorderSizePixel = 0
  837. Delete_2.Position = UDim2.new(0, 200, 0, 0)
  838. Delete_2.Size = UDim2.new(0, 40, 0, 20)
  839. Delete_2.Font = Enum.Font.SourceSans
  840. Delete_2.TextSize = 14
  841. Delete_2.Text = "Delete"
  842. Delete_2.TextColor3 = Color3.new(0, 0, 0)
  843. Delete_2.ZIndex = 10
  844. table.insert(shade3,Delete_2)
  845. table.insert(text2,Delete_2)
  846.  
  847. KeybindEditor.Name = randomString()
  848. KeybindEditor.Parent = ScaledHolder
  849. KeybindEditor.Active = true
  850. KeybindEditor.BackgroundTransparency = 1
  851. KeybindEditor.Position = UDim2.new(0.5, -180, 0, -500)
  852. KeybindEditor.Size = UDim2.new(0, 360, 0, 20)
  853. KeybindEditor.ZIndex = 10
  854.  
  855. background_2.Name = "background"
  856. background_2.Parent = KeybindEditor
  857. background_2.Active = true
  858. background_2.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  859. background_2.BorderSizePixel = 0
  860. background_2.Position = UDim2.new(0, 0, 0, 20)
  861. background_2.Size = UDim2.new(0, 360, 0, 185)
  862. background_2.ZIndex = 10
  863. table.insert(shade1,background_2)
  864.  
  865. Dark_3.Name = "Dark"
  866. Dark_3.Parent = background_2
  867. Dark_3.Active = true
  868. Dark_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  869. Dark_3.BorderSizePixel = 0
  870. Dark_3.Position = UDim2.new(0, 135, 0, 0)
  871. Dark_3.Size = UDim2.new(0, 2, 0, 185)
  872. Dark_3.ZIndex = 10
  873. table.insert(shade2,Dark_3)
  874.  
  875. Directions.Name = "Directions"
  876. Directions.Parent = background_2
  877. Directions.BackgroundTransparency = 1
  878. Directions.BorderSizePixel = 0
  879. Directions.Position = UDim2.new(0, 10, 0, 15)
  880. Directions.Size = UDim2.new(0, 115, 0, 90)
  881. Directions.ZIndex = 10
  882. Directions.Font = Enum.Font.SourceSans
  883. Directions.Text = "Click the button below and press a key/mouse button. Then select what you want to bind it to."
  884. Directions.TextColor3 = Color3.fromRGB(255, 255, 255)
  885. Directions.TextSize = 14.000
  886. Directions.TextWrapped = true
  887. Directions.TextYAlignment = Enum.TextYAlignment.Top
  888. table.insert(text1,Directions)
  889.  
  890. BindTo.Name = "BindTo"
  891. BindTo.Parent = background_2
  892. BindTo.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  893. BindTo.BorderSizePixel = 0
  894. BindTo.Position = UDim2.new(0, 10, 0, 95)
  895. BindTo.Size = UDim2.new(0, 115, 0, 50)
  896. BindTo.ZIndex = 10
  897. BindTo.Font = Enum.Font.SourceSans
  898. BindTo.Text = "Click to bind"
  899. BindTo.TextColor3 = Color3.fromRGB(255, 255, 255)
  900. BindTo.TextSize = 16.000
  901. table.insert(shade2,BindTo)
  902. table.insert(text1,BindTo)
  903.  
  904. TriggerLabel.Name = "TriggerLabel"
  905. TriggerLabel.Parent = background_2
  906. TriggerLabel.BackgroundTransparency = 1
  907. TriggerLabel.Position = UDim2.new(0, 10, 0, 155)
  908. TriggerLabel.Size = UDim2.new(0, 45, 0, 20)
  909. TriggerLabel.ZIndex = 10
  910. TriggerLabel.Font = Enum.Font.SourceSans
  911. TriggerLabel.Text = "Trigger:"
  912. TriggerLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  913. TriggerLabel.TextSize = 14.000
  914. TriggerLabel.TextXAlignment = Enum.TextXAlignment.Left
  915. table.insert(text1,TriggerLabel)
  916.  
  917. BindTriggerSelect.Name = "BindTo"
  918. BindTriggerSelect.Parent = background_2
  919. BindTriggerSelect.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  920. BindTriggerSelect.BorderSizePixel = 0
  921. BindTriggerSelect.Position = UDim2.new(0, 60, 0, 155)
  922. BindTriggerSelect.Size = UDim2.new(0, 65, 0, 20)
  923. BindTriggerSelect.ZIndex = 10
  924. BindTriggerSelect.Font = Enum.Font.SourceSans
  925. BindTriggerSelect.Text = "KeyDown"
  926. BindTriggerSelect.TextColor3 = Color3.fromRGB(255, 255, 255)
  927. BindTriggerSelect.TextSize = 16.000
  928. table.insert(shade2,BindTriggerSelect)
  929. table.insert(text1,BindTriggerSelect)
  930.  
  931. Add_2.Name = "Add"
  932. Add_2.Parent = background_2
  933. Add_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  934. Add_2.BorderSizePixel = 0
  935. Add_2.Position = UDim2.new(0, 310, 0, 35)
  936. Add_2.Size = UDim2.new(0, 40, 0, 20)
  937. Add_2.ZIndex = 10
  938. Add_2.Font = Enum.Font.SourceSans
  939. Add_2.Text = "Add"
  940. Add_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  941. Add_2.TextSize = 14.000
  942. table.insert(shade2,Add_2)
  943. table.insert(text1,Add_2)
  944.  
  945. Toggles.Name = "Toggles"
  946. Toggles.Parent = background_2
  947. Toggles.BackgroundTransparency = 1
  948. Toggles.BorderSizePixel = 0
  949. Toggles.Position = UDim2.new(0, 150, 0, 125)
  950. Toggles.Size = UDim2.new(0, 200, 0, 50)
  951. Toggles.ZIndex = 10
  952. Toggles.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  953. Toggles.CanvasSize = UDim2.new(0, 0, 0, 50)
  954. Toggles.ScrollBarThickness = 8
  955. Toggles.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  956. Toggles.VerticalScrollBarInset = Enum.ScrollBarInset.Always
  957. table.insert(scroll,Toggles)
  958.  
  959. ClickTP.Name = "Click TP (Hold Key & Click)"
  960. ClickTP.Parent = Toggles
  961. ClickTP.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  962. ClickTP.BorderSizePixel = 0
  963. ClickTP.Size = UDim2.new(0, 200, 0, 20)
  964. ClickTP.ZIndex = 10
  965. ClickTP.Font = Enum.Font.SourceSans
  966. ClickTP.Text = "    Click TP (Hold Key & Click)"
  967. ClickTP.TextColor3 = Color3.fromRGB(255, 255, 255)
  968. ClickTP.TextSize = 14.000
  969. ClickTP.TextXAlignment = Enum.TextXAlignment.Left
  970. table.insert(shade2,ClickTP)
  971. table.insert(text1,ClickTP)
  972.  
  973. Select.Name = "Select"
  974. Select.Parent = ClickTP
  975. Select.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  976. Select.BorderSizePixel = 0
  977. Select.Position = UDim2.new(0, 160, 0, 0)
  978. Select.Size = UDim2.new(0, 40, 0, 20)
  979. Select.ZIndex = 10
  980. Select.Font = Enum.Font.SourceSans
  981. Select.Text = "Add"
  982. Select.TextColor3 = Color3.fromRGB(0, 0, 0)
  983. Select.TextSize = 14.000
  984. table.insert(shade3,Select)
  985. table.insert(text2,Select)
  986.  
  987. ClickDelete.Name = "Click Delete (Hold Key & Click)"
  988. ClickDelete.Parent = Toggles
  989. ClickDelete.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  990. ClickDelete.BorderSizePixel = 0
  991. ClickDelete.Position = UDim2.new(0, 0, 0, 25)
  992. ClickDelete.Size = UDim2.new(0, 200, 0, 20)
  993. ClickDelete.ZIndex = 10
  994. ClickDelete.Font = Enum.Font.SourceSans
  995. ClickDelete.Text = "    Click Delete (Hold Key & Click)"
  996. ClickDelete.TextColor3 = Color3.fromRGB(255, 255, 255)
  997. ClickDelete.TextSize = 14.000
  998. ClickDelete.TextXAlignment = Enum.TextXAlignment.Left
  999. table.insert(shade2,ClickDelete)
  1000. table.insert(text1,ClickDelete)
  1001.  
  1002. Select_2.Name = "Select"
  1003. Select_2.Parent = ClickDelete
  1004. Select_2.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  1005. Select_2.BorderSizePixel = 0
  1006. Select_2.Position = UDim2.new(0, 160, 0, 0)
  1007. Select_2.Size = UDim2.new(0, 40, 0, 20)
  1008. Select_2.ZIndex = 10
  1009. Select_2.Font = Enum.Font.SourceSans
  1010. Select_2.Text = "Add"
  1011. Select_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  1012. Select_2.TextSize = 14.000
  1013. table.insert(shade3,Select_2)
  1014. table.insert(text2,Select_2)
  1015.  
  1016. Cmdbar_2.Name = "Cmdbar_2"
  1017. Cmdbar_2.Parent = background_2
  1018. Cmdbar_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1019. Cmdbar_2.BorderSizePixel = 0
  1020. Cmdbar_2.Position = UDim2.new(0, 150, 0, 35)
  1021. Cmdbar_2.Size = UDim2.new(0, 150, 0, 20)
  1022. Cmdbar_2.ZIndex = 10
  1023. Cmdbar_2.Font = Enum.Font.SourceSans
  1024. Cmdbar_2.PlaceholderText = "Command"
  1025. Cmdbar_2.Text = ""
  1026. Cmdbar_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  1027. Cmdbar_2.TextSize = 14.000
  1028. Cmdbar_2.TextXAlignment = Enum.TextXAlignment.Left
  1029.  
  1030. Cmdbar_3.Name = "Cmdbar_3"
  1031. Cmdbar_3.Parent = background_2
  1032. Cmdbar_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1033. Cmdbar_3.BorderSizePixel = 0
  1034. Cmdbar_3.Position = UDim2.new(0, 150, 0, 60)
  1035. Cmdbar_3.Size = UDim2.new(0, 150, 0, 20)
  1036. Cmdbar_3.ZIndex = 10
  1037. Cmdbar_3.Font = Enum.Font.SourceSans
  1038. Cmdbar_3.PlaceholderText = "Command 2"
  1039. Cmdbar_3.Text = ""
  1040. Cmdbar_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  1041. Cmdbar_3.TextSize = 14.000
  1042. Cmdbar_3.TextXAlignment = Enum.TextXAlignment.Left
  1043.  
  1044. CreateToggle.Name = "CreateToggle"
  1045. CreateToggle.Parent = background_2
  1046. CreateToggle.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1047. CreateToggle.BackgroundTransparency = 1
  1048. CreateToggle.BorderSizePixel = 0
  1049. CreateToggle.Position = UDim2.new(0, 152, 0, 10)
  1050. CreateToggle.Size = UDim2.new(0, 198, 0, 20)
  1051. CreateToggle.ZIndex = 10
  1052. CreateToggle.Font = Enum.Font.SourceSans
  1053. CreateToggle.Text = "Create Toggle"
  1054. CreateToggle.TextColor3 = Color3.fromRGB(255, 255, 255)
  1055. CreateToggle.TextSize = 14.000
  1056. CreateToggle.TextXAlignment = Enum.TextXAlignment.Left
  1057. table.insert(text1,CreateToggle)
  1058.  
  1059. Button_2.Name = "Button"
  1060. Button_2.Parent = CreateToggle
  1061. Button_2.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  1062. Button_2.BorderSizePixel = 0
  1063. Button_2.Position = UDim2.new(1, -20, 0, 0)
  1064. Button_2.Size = UDim2.new(0, 20, 0, 20)
  1065. Button_2.ZIndex = 10
  1066. table.insert(shade3,Button_2)
  1067.  
  1068. On_2.Name = "On"
  1069. On_2.Parent = Button_2
  1070. On_2.BackgroundColor3 = Color3.fromRGB(150, 150, 151)
  1071. On_2.BackgroundTransparency = 1
  1072. On_2.BorderSizePixel = 0
  1073. On_2.Position = UDim2.new(0, 2, 0, 2)
  1074. On_2.Size = UDim2.new(0, 16, 0, 16)
  1075. On_2.ZIndex = 10
  1076. On_2.Font = Enum.Font.SourceSans
  1077. On_2.Text = ""
  1078. On_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  1079. On_2.TextSize = 14.000
  1080.  
  1081. shadow_2.Name = "shadow"
  1082. shadow_2.Parent = KeybindEditor
  1083. shadow_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1084. shadow_2.BorderSizePixel = 0
  1085. shadow_2.Size = UDim2.new(0, 360, 0, 20)
  1086. shadow_2.ZIndex = 10
  1087. table.insert(shade2,shadow_2)
  1088.  
  1089. PopupText_2.Name = "PopupText_2"
  1090. PopupText_2.Parent = shadow_2
  1091. PopupText_2.BackgroundTransparency = 1
  1092. PopupText_2.Size = UDim2.new(1, 0, 0.949999988, 0)
  1093. PopupText_2.ZIndex = 10
  1094. PopupText_2.Font = Enum.Font.SourceSans
  1095. PopupText_2.Text = "Set Keybinds"
  1096. PopupText_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  1097. PopupText_2.TextSize = 14.000
  1098. PopupText_2.TextWrapped = true
  1099. table.insert(text1,PopupText_2)
  1100.  
  1101. Exit_2.Name = "Exit_2"
  1102. Exit_2.Parent = shadow_2
  1103. Exit_2.BackgroundTransparency = 1
  1104. Exit_2.Position = UDim2.new(1, -20, 0, 0)
  1105. Exit_2.Size = UDim2.new(0, 20, 0, 20)
  1106. Exit_2.ZIndex = 10
  1107. Exit_2.Text = ""
  1108.  
  1109. ExitImage_2.Parent = Exit_2
  1110. ExitImage_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1111. ExitImage_2.BackgroundTransparency = 1
  1112. ExitImage_2.Position = UDim2.new(0, 5, 0, 5)
  1113. ExitImage_2.Size = UDim2.new(0, 10, 0, 10)
  1114. ExitImage_2.ZIndex = 10
  1115. ExitImage_2.Image = getcustomasset("infiniteyield/assets/close.png")
  1116.  
  1117. PositionsFrame.Name = "PositionsFrame"
  1118. PositionsFrame.Parent = Settings
  1119. PositionsFrame.Active = true
  1120. PositionsFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1121. PositionsFrame.BorderSizePixel = 0
  1122. PositionsFrame.Size = UDim2.new(0, 250, 0, 175)
  1123. PositionsFrame.Position = UDim2.new(0, 0, 0, 175)
  1124. PositionsFrame.ZIndex = 10
  1125. table.insert(shade1,PositionsFrame)
  1126.  
  1127. Close_3.Name = "Close"
  1128. Close_3.Parent = PositionsFrame
  1129. Close_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1130. Close_3.BorderSizePixel = 0
  1131. Close_3.Position = UDim2.new(0, 205, 0, 150)
  1132. Close_3.Size = UDim2.new(0, 40, 0, 20)
  1133. Close_3.Font = Enum.Font.SourceSans
  1134. Close_3.TextSize = 14
  1135. Close_3.Text = "Close"
  1136. Close_3.TextColor3 = Color3.new(1, 1, 1)
  1137. Close_3.ZIndex = 10
  1138. table.insert(shade2,Close_3)
  1139. table.insert(text1,Close_3)
  1140.  
  1141. Delete_5.Name = "Delete"
  1142. Delete_5.Parent = PositionsFrame
  1143. Delete_5.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1144. Delete_5.BorderSizePixel = 0
  1145. Delete_5.Position = UDim2.new(0, 50, 0, 150)
  1146. Delete_5.Size = UDim2.new(0, 40, 0, 20)
  1147. Delete_5.Font = Enum.Font.SourceSans
  1148. Delete_5.TextSize = 14
  1149. Delete_5.Text = "Clear"
  1150. Delete_5.TextColor3 = Color3.new(1, 1, 1)
  1151. Delete_5.ZIndex = 10
  1152. table.insert(shade2,Delete_5)
  1153. table.insert(text1,Delete_5)
  1154.  
  1155. Part.Name = "PartGoto"
  1156. Part.Parent = PositionsFrame
  1157. Part.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1158. Part.BorderSizePixel = 0
  1159. Part.Position = UDim2.new(0, 5, 0, 150)
  1160. Part.Size = UDim2.new(0, 40, 0, 20)
  1161. Part.Font = Enum.Font.SourceSans
  1162. Part.TextSize = 14
  1163. Part.Text = "Part"
  1164. Part.TextColor3 = Color3.new(1, 1, 1)
  1165. Part.ZIndex = 10
  1166. table.insert(shade2,Part)
  1167. table.insert(text1,Part)
  1168.  
  1169. Holder_4.Name = "Holder"
  1170. Holder_4.Parent = PositionsFrame
  1171. Holder_4.BackgroundTransparency = 1
  1172. Holder_4.BorderSizePixel = 0
  1173. Holder_4.Position = UDim2.new(0, 0, 0, 0)
  1174. Holder_4.Selectable = false
  1175. Holder_4.Size = UDim2.new(0, 250, 0, 145)
  1176. Holder_4.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  1177. Holder_4.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1178. Holder_4.CanvasSize = UDim2.new(0, 0, 0, 0)
  1179. Holder_4.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1180. Holder_4.ScrollBarThickness = 0
  1181. Holder_4.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1182. Holder_4.VerticalScrollBarInset = 'Always'
  1183. Holder_4.ZIndex = 10
  1184.  
  1185. Example_4.Name = "Example"
  1186. Example_4.Parent = PositionsFrame
  1187. Example_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1188. Example_4.BorderSizePixel = 0
  1189. Example_4.Size = UDim2.new(0, 10, 0, 20)
  1190. Example_4.Visible = false
  1191. Example_4.Position = UDim2.new(0, 0, 0, -5)
  1192. Example_4.ZIndex = 10
  1193. table.insert(shade2,Example_4)
  1194.  
  1195. Text_5.Name = "Text"
  1196. Text_5.Parent = Example_4
  1197. Text_5.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1198. Text_5.BorderSizePixel = 0
  1199. Text_5.Position = UDim2.new(0, 10, 0, 0)
  1200. Text_5.Size = UDim2.new(0, 240, 0, 20)
  1201. Text_5.Font = Enum.Font.SourceSans
  1202. Text_5.TextSize = 14
  1203. Text_5.Text = "Position"
  1204. Text_5.TextColor3 = Color3.new(1, 1, 1)
  1205. Text_5.TextXAlignment = Enum.TextXAlignment.Left
  1206. Text_5.ZIndex = 10
  1207. table.insert(shade2,Text_5)
  1208. table.insert(text1,Text_5)
  1209.  
  1210. Delete_6.Name = "Delete"
  1211. Delete_6.Parent = Text_5
  1212. Delete_6.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  1213. Delete_6.BorderSizePixel = 0
  1214. Delete_6.Position = UDim2.new(0, 200, 0, 0)
  1215. Delete_6.Size = UDim2.new(0, 40, 0, 20)
  1216. Delete_6.Font = Enum.Font.SourceSans
  1217. Delete_6.TextSize = 14
  1218. Delete_6.Text = "Delete"
  1219. Delete_6.TextColor3 = Color3.new(0, 0, 0)
  1220. Delete_6.ZIndex = 10
  1221. table.insert(shade3,Delete_6)
  1222. table.insert(text2,Delete_6)
  1223.  
  1224. TP.Name = "TP"
  1225. TP.Parent = Text_5
  1226. TP.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  1227. TP.BorderSizePixel = 0
  1228. TP.Position = UDim2.new(0, 155, 0, 0)
  1229. TP.Size = UDim2.new(0, 40, 0, 20)
  1230. TP.Font = Enum.Font.SourceSans
  1231. TP.TextSize = 14
  1232. TP.Text = "Goto"
  1233. TP.TextColor3 = Color3.new(0, 0, 0)
  1234. TP.ZIndex = 10
  1235. table.insert(shade3,TP)
  1236. table.insert(text2,TP)
  1237.  
  1238. AliasesFrame.Name = "AliasesFrame"
  1239. AliasesFrame.Parent = Settings
  1240. AliasesFrame.Active = true
  1241. AliasesFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1242. AliasesFrame.BorderSizePixel = 0
  1243. AliasesFrame.Position = UDim2.new(0, 0, 0, 175)
  1244. AliasesFrame.Size = UDim2.new(0, 250, 0, 175)
  1245. AliasesFrame.ZIndex = 10
  1246. table.insert(shade1,AliasesFrame)
  1247.  
  1248. Close_2.Name = "Close"
  1249. Close_2.Parent = AliasesFrame
  1250. Close_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1251. Close_2.BorderSizePixel = 0
  1252. Close_2.Position = UDim2.new(0, 205, 0, 150)
  1253. Close_2.Size = UDim2.new(0, 40, 0, 20)
  1254. Close_2.Font = Enum.Font.SourceSans
  1255. Close_2.TextSize = 14
  1256. Close_2.Text = "Close"
  1257. Close_2.TextColor3 = Color3.new(1, 1, 1)
  1258. Close_2.ZIndex = 10
  1259. table.insert(shade2,Close_2)
  1260. table.insert(text1,Close_2)
  1261.  
  1262. Delete_3.Name = "Delete"
  1263. Delete_3.Parent = AliasesFrame
  1264. Delete_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1265. Delete_3.BorderSizePixel = 0
  1266. Delete_3.Position = UDim2.new(0, 5, 0, 150)
  1267. Delete_3.Size = UDim2.new(0, 40, 0, 20)
  1268. Delete_3.Font = Enum.Font.SourceSans
  1269. Delete_3.TextSize = 14
  1270. Delete_3.Text = "Clear"
  1271. Delete_3.TextColor3 = Color3.new(1, 1, 1)
  1272. Delete_3.ZIndex = 10
  1273. table.insert(shade2,Delete_3)
  1274. table.insert(text1,Delete_3)
  1275.  
  1276. Holder_3.Name = "Holder"
  1277. Holder_3.Parent = AliasesFrame
  1278. Holder_3.BackgroundTransparency = 1
  1279. Holder_3.BorderSizePixel = 0
  1280. Holder_3.Position = UDim2.new(0, 0, 0, 0)
  1281. Holder_3.Size = UDim2.new(0, 250, 0, 145)
  1282. Holder_3.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  1283. Holder_3.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1284. Holder_3.CanvasSize = UDim2.new(0, 0, 0, 0)
  1285. Holder_3.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1286. Holder_3.ScrollBarThickness = 0
  1287. Holder_3.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1288. Holder_3.VerticalScrollBarInset = 'Always'
  1289. Holder_3.ZIndex = 10
  1290.  
  1291. Example_3.Name = "Example"
  1292. Example_3.Parent = AliasesFrame
  1293. Example_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1294. Example_3.BorderSizePixel = 0
  1295. Example_3.Size = UDim2.new(0, 10, 0, 20)
  1296. Example_3.Visible = false
  1297. Example_3.ZIndex = 10
  1298. table.insert(shade2,Example_3)
  1299.  
  1300. Text_4.Name = "Text"
  1301. Text_4.Parent = Example_3
  1302. Text_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1303. Text_4.BorderSizePixel = 0
  1304. Text_4.Position = UDim2.new(0, 10, 0, 0)
  1305. Text_4.Size = UDim2.new(0, 240, 0, 20)
  1306. Text_4.Font = Enum.Font.SourceSans
  1307. Text_4.TextSize = 14
  1308. Text_4.Text = "honk"
  1309. Text_4.TextColor3 = Color3.new(1, 1, 1)
  1310. Text_4.TextXAlignment = Enum.TextXAlignment.Left
  1311. Text_4.ZIndex = 10
  1312. table.insert(shade2,Text_4)
  1313. table.insert(text1,Text_4)
  1314.  
  1315. Delete_4.Name = "Delete"
  1316. Delete_4.Parent = Text_4
  1317. Delete_4.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  1318. Delete_4.BorderSizePixel = 0
  1319. Delete_4.Position = UDim2.new(0, 200, 0, 0)
  1320. Delete_4.Size = UDim2.new(0, 40, 0, 20)
  1321. Delete_4.Font = Enum.Font.SourceSans
  1322. Delete_4.TextSize = 14
  1323. Delete_4.Text = "Delete"
  1324. Delete_4.TextColor3 = Color3.new(0, 0, 0)
  1325. Delete_4.ZIndex = 10
  1326. table.insert(shade3,Delete_4)
  1327. table.insert(text2,Delete_4)
  1328.  
  1329. PluginsFrame.Name = "PluginsFrame"
  1330. PluginsFrame.Parent = Settings
  1331. PluginsFrame.Active = true
  1332. PluginsFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1333. PluginsFrame.BorderSizePixel = 0
  1334. PluginsFrame.Position = UDim2.new(0, 0, 0, 175)
  1335. PluginsFrame.Size = UDim2.new(0, 250, 0, 175)
  1336. PluginsFrame.ZIndex = 10
  1337. table.insert(shade1,PluginsFrame)
  1338.  
  1339. Close_4.Name = "Close"
  1340. Close_4.Parent = PluginsFrame
  1341. Close_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1342. Close_4.BorderSizePixel = 0
  1343. Close_4.Position = UDim2.new(0, 205, 0, 150)
  1344. Close_4.Size = UDim2.new(0, 40, 0, 20)
  1345. Close_4.Font = Enum.Font.SourceSans
  1346. Close_4.TextSize = 14
  1347. Close_4.Text = "Close"
  1348. Close_4.TextColor3 = Color3.new(1, 1, 1)
  1349. Close_4.ZIndex = 10
  1350. table.insert(shade2,Close_4)
  1351. table.insert(text1,Close_4)
  1352.  
  1353. Add_3.Name = "Add"
  1354. Add_3.Parent = PluginsFrame
  1355. Add_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1356. Add_3.BorderSizePixel = 0
  1357. Add_3.Position = UDim2.new(0, 5, 0, 150)
  1358. Add_3.Size = UDim2.new(0, 40, 0, 20)
  1359. Add_3.Font = Enum.Font.SourceSans
  1360. Add_3.TextSize = 14
  1361. Add_3.Text = "Add"
  1362. Add_3.TextColor3 = Color3.new(1, 1, 1)
  1363. Add_3.ZIndex = 10
  1364. table.insert(shade2,Add_3)
  1365. table.insert(text1,Add_3)
  1366.  
  1367. Holder_5.Name = "Holder"
  1368. Holder_5.Parent = PluginsFrame
  1369. Holder_5.BackgroundTransparency = 1
  1370. Holder_5.BorderSizePixel = 0
  1371. Holder_5.Position = UDim2.new(0, 0, 0, 0)
  1372. Holder_5.Selectable = false
  1373. Holder_5.Size = UDim2.new(0, 250, 0, 145)
  1374. Holder_5.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  1375. Holder_5.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1376. Holder_5.CanvasSize = UDim2.new(0, 0, 0, 0)
  1377. Holder_5.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1378. Holder_5.ScrollBarThickness = 0
  1379. Holder_5.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1380. Holder_5.VerticalScrollBarInset = 'Always'
  1381. Holder_5.ZIndex = 10
  1382.  
  1383. Example_5.Name = "Example"
  1384. Example_5.Parent = PluginsFrame
  1385. Example_5.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1386. Example_5.BorderSizePixel = 0
  1387. Example_5.Size = UDim2.new(0, 10, 0, 20)
  1388. Example_5.Visible = false
  1389. Example_5.ZIndex = 10
  1390. table.insert(shade2,Example_5)
  1391.  
  1392. Text_6.Name = "Text"
  1393. Text_6.Parent = Example_5
  1394. Text_6.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1395. Text_6.BorderSizePixel = 0
  1396. Text_6.Position = UDim2.new(0, 10, 0, 0)
  1397. Text_6.Size = UDim2.new(0, 240, 0, 20)
  1398. Text_6.Font = Enum.Font.SourceSans
  1399. Text_6.TextSize = 14
  1400. Text_6.Text = "F4 > Toggle Fly"
  1401. Text_6.TextColor3 = Color3.new(1, 1, 1)
  1402. Text_6.TextXAlignment = Enum.TextXAlignment.Left
  1403. Text_6.ZIndex = 10
  1404. table.insert(shade2,Text_6)
  1405. table.insert(text1,Text_6)
  1406.  
  1407. Delete_7.Name = "Delete"
  1408. Delete_7.Parent = Text_6
  1409. Delete_7.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  1410. Delete_7.BorderSizePixel = 0
  1411. Delete_7.Position = UDim2.new(0, 200, 0, 0)
  1412. Delete_7.Size = UDim2.new(0, 40, 0, 20)
  1413. Delete_7.Font = Enum.Font.SourceSans
  1414. Delete_7.TextSize = 14
  1415. Delete_7.Text = "Delete"
  1416. Delete_7.TextColor3 = Color3.new(0, 0, 0)
  1417. Delete_7.ZIndex = 10
  1418. table.insert(shade3,Delete_7)
  1419. table.insert(text2,Delete_7)
  1420.  
  1421. PluginEditor.Name = randomString()
  1422. PluginEditor.Parent = ScaledHolder
  1423. PluginEditor.BorderSizePixel = 0
  1424. PluginEditor.Active = true
  1425. PluginEditor.BackgroundTransparency = 1
  1426. PluginEditor.Position = UDim2.new(0.5, -180, 0, -500)
  1427. PluginEditor.Size = UDim2.new(0, 360, 0, 20)
  1428. PluginEditor.ZIndex = 10
  1429.  
  1430. background_3.Name = "background"
  1431. background_3.Parent = PluginEditor
  1432. background_3.Active = true
  1433. background_3.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1434. background_3.BorderSizePixel = 0
  1435. background_3.Position = UDim2.new(0, 0, 0, 20)
  1436. background_3.Size = UDim2.new(0, 360, 0, 160)
  1437. background_3.ZIndex = 10
  1438. table.insert(shade1,background_3)
  1439.  
  1440. Dark_2.Name = "Dark"
  1441. Dark_2.Parent = background_3
  1442. Dark_2.Active = true
  1443. Dark_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1444. Dark_2.BorderSizePixel = 0
  1445. Dark_2.Position = UDim2.new(0, 222, 0, 0)
  1446. Dark_2.Size = UDim2.new(0, 2, 0, 160)
  1447. Dark_2.ZIndex = 10
  1448. table.insert(shade2,Dark_2)
  1449.  
  1450. Img.Name = "Img"
  1451. Img.Parent = background_3
  1452. Img.BackgroundTransparency = 1
  1453. Img.Position = UDim2.new(0, 242, 0, 3)
  1454. Img.Size = UDim2.new(0, 100, 0, 95)
  1455. Img.Image = getcustomasset("infiniteyield/assets/imgstudiopluginlogo.png")
  1456. Img.ZIndex = 10
  1457.  
  1458. AddPlugin.Name = "AddPlugin"
  1459. AddPlugin.Parent = background_3
  1460. AddPlugin.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1461. AddPlugin.BorderSizePixel = 0
  1462. AddPlugin.Position = UDim2.new(0, 235, 0, 100)
  1463. AddPlugin.Size = UDim2.new(0, 115, 0, 50)
  1464. AddPlugin.Font = Enum.Font.SourceSans
  1465. AddPlugin.TextSize = 14
  1466. AddPlugin.Text = "Add Plugin"
  1467. AddPlugin.TextColor3 = Color3.new(1, 1, 1)
  1468. AddPlugin.ZIndex = 10
  1469. table.insert(shade2,AddPlugin)
  1470. table.insert(text1,AddPlugin)
  1471.  
  1472. FileName.Name = "FileName"
  1473. FileName.Parent = background_3
  1474. FileName.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1475. FileName.BorderSizePixel = 0
  1476. FileName.Position = UDim2.new(0.028, 0, 0.625, 0)
  1477. FileName.Size = UDim2.new(0, 200, 0, 50)
  1478. FileName.Font = Enum.Font.SourceSans
  1479. FileName.TextSize = 14
  1480. FileName.Text = "Plugin File Name"
  1481. FileName.TextColor3 = Color3.new(1, 1, 1)
  1482. FileName.ZIndex = 10
  1483. table.insert(shade2,FileName)
  1484. table.insert(text1,FileName)
  1485.  
  1486. About.Name = "About"
  1487. About.Parent = background_3
  1488. About.BackgroundTransparency = 1
  1489. About.BorderSizePixel = 0
  1490. About.Position = UDim2.new(0, 17, 0, 10)
  1491. About.Size = UDim2.new(0, 187, 0, 49)
  1492. About.Font = Enum.Font.SourceSans
  1493. About.TextSize = 14
  1494. About.Text = "Plugins are .iy files and should be located in the 'workspace' folder of your exploit."
  1495. About.TextColor3 = Color3.fromRGB(255, 255, 255)
  1496. About.TextWrapped = true
  1497. About.TextYAlignment = Enum.TextYAlignment.Top
  1498. About.ZIndex = 10
  1499. table.insert(text1,About)
  1500.  
  1501. Directions_2.Name = "Directions"
  1502. Directions_2.Parent = background_3
  1503. Directions_2.BackgroundTransparency = 1
  1504. Directions_2.BorderSizePixel = 0
  1505. Directions_2.Position = UDim2.new(0, 17, 0, 60)
  1506. Directions_2.Size = UDim2.new(0, 187, 0, 49)
  1507. Directions_2.Font = Enum.Font.SourceSans
  1508. Directions_2.TextSize = 14
  1509. Directions_2.Text = "Type the name of the plugin file you want to add below."
  1510. Directions_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  1511. Directions_2.TextWrapped = true
  1512. Directions_2.TextYAlignment = Enum.TextYAlignment.Top
  1513. Directions_2.ZIndex = 10
  1514. table.insert(text1,Directions_2)
  1515.  
  1516. shadow_3.Name = "shadow"
  1517. shadow_3.Parent = PluginEditor
  1518. shadow_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1519. shadow_3.BorderSizePixel = 0
  1520. shadow_3.Size = UDim2.new(0, 360, 0, 20)
  1521. shadow_3.ZIndex = 10
  1522. table.insert(shade2,shadow_3)
  1523.  
  1524. PopupText_3.Name = "PopupText"
  1525. PopupText_3.Parent = shadow_3
  1526. PopupText_3.BackgroundTransparency = 1
  1527. PopupText_3.Size = UDim2.new(1, 0, 0.95, 0)
  1528. PopupText_3.ZIndex = 10
  1529. PopupText_3.Font = Enum.Font.SourceSans
  1530. PopupText_3.TextSize = 14
  1531. PopupText_3.Text = "Add Plugins"
  1532. PopupText_3.TextColor3 = Color3.new(1, 1, 1)
  1533. PopupText_3.TextWrapped = true
  1534. table.insert(text1,PopupText_3)
  1535.  
  1536. Exit_3.Name = "Exit"
  1537. Exit_3.Parent = shadow_3
  1538. Exit_3.BackgroundTransparency = 1
  1539. Exit_3.Position = UDim2.new(1, -20, 0, 0)
  1540. Exit_3.Size = UDim2.new(0, 20, 0, 20)
  1541. Exit_3.Text = ""
  1542. Exit_3.ZIndex = 10
  1543.  
  1544. ExitImage_3.Parent = Exit_3
  1545. ExitImage_3.BackgroundColor3 = Color3.new(1, 1, 1)
  1546. ExitImage_3.BackgroundTransparency = 1
  1547. ExitImage_3.Position = UDim2.new(0, 5, 0, 5)
  1548. ExitImage_3.Size = UDim2.new(0, 10, 0, 10)
  1549. ExitImage_3.Image = getcustomasset("infiniteyield/assets/close.png")
  1550. ExitImage_3.ZIndex = 10
  1551.  
  1552. AliasHint.Name = "AliasHint"
  1553. AliasHint.Parent = AliasesFrame
  1554. AliasHint.BackgroundTransparency = 1
  1555. AliasHint.BorderSizePixel = 0
  1556. AliasHint.Position = UDim2.new(0, 25, 0, 40)
  1557. AliasHint.Size = UDim2.new(0, 200, 0, 50)
  1558. AliasHint.Font = Enum.Font.SourceSansItalic
  1559. AliasHint.TextSize = 16
  1560. AliasHint.Text = "Add aliases by using the 'addalias' command"
  1561. AliasHint.TextColor3 = Color3.new(1, 1, 1)
  1562. AliasHint.TextStrokeColor3 = Color3.new(1, 1, 1)
  1563. AliasHint.TextWrapped = true
  1564. AliasHint.ZIndex = 10
  1565. table.insert(text1,AliasHint)
  1566.  
  1567. PluginsHint.Name = "PluginsHint"
  1568. PluginsHint.Parent = PluginsFrame
  1569. PluginsHint.BackgroundTransparency = 1
  1570. PluginsHint.BorderSizePixel = 0
  1571. PluginsHint.Position = UDim2.new(0, 25, 0, 40)
  1572. PluginsHint.Size = UDim2.new(0, 200, 0, 50)
  1573. PluginsHint.Font = Enum.Font.SourceSansItalic
  1574. PluginsHint.TextSize = 16
  1575. PluginsHint.Text = "Download plugins from the IY Discord (discord.gg/78ZuWSq)"
  1576. PluginsHint.TextColor3 = Color3.new(1, 1, 1)
  1577. PluginsHint.TextStrokeColor3 = Color3.new(1, 1, 1)
  1578. PluginsHint.TextWrapped = true
  1579. PluginsHint.ZIndex = 10
  1580. table.insert(text1,PluginsHint)
  1581.  
  1582. PositionsHint.Name = "PositionsHint"
  1583. PositionsHint.Parent = PositionsFrame
  1584. PositionsHint.BackgroundTransparency = 1
  1585. PositionsHint.BorderSizePixel = 0
  1586. PositionsHint.Position = UDim2.new(0, 25, 0, 40)
  1587. PositionsHint.Size = UDim2.new(0, 200, 0, 70)
  1588. PositionsHint.Font = Enum.Font.SourceSansItalic
  1589. PositionsHint.TextSize = 16
  1590. PositionsHint.Text = "Use the 'swp' or 'setwaypoint' command to add a position using your character (NOTE: Part teleports will not save)"
  1591. PositionsHint.TextColor3 = Color3.new(1, 1, 1)
  1592. PositionsHint.TextStrokeColor3 = Color3.new(1, 1, 1)
  1593. PositionsHint.TextWrapped = true
  1594. PositionsHint.ZIndex = 10
  1595. table.insert(text1,PositionsHint)
  1596.  
  1597. ToPartFrame.Name = randomString()
  1598. ToPartFrame.Parent = ScaledHolder
  1599. ToPartFrame.Active = true
  1600. ToPartFrame.BackgroundTransparency = 1
  1601. ToPartFrame.Position = UDim2.new(0.5, -180, 0, -500)
  1602. ToPartFrame.Size = UDim2.new(0, 360, 0, 20)
  1603. ToPartFrame.ZIndex = 10
  1604.  
  1605. background_4.Name = "background"
  1606. background_4.Parent = ToPartFrame
  1607. background_4.Active = true
  1608. background_4.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1609. background_4.BorderSizePixel = 0
  1610. background_4.Position = UDim2.new(0, 0, 0, 20)
  1611. background_4.Size = UDim2.new(0, 360, 0, 117)
  1612. background_4.ZIndex = 10
  1613. table.insert(shade1,background_4)
  1614.  
  1615. ChoosePart.Name = "ChoosePart"
  1616. ChoosePart.Parent = background_4
  1617. ChoosePart.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1618. ChoosePart.BorderSizePixel = 0
  1619. ChoosePart.Position = UDim2.new(0, 100, 0, 55)
  1620. ChoosePart.Size = UDim2.new(0, 75, 0, 30)
  1621. ChoosePart.Font = Enum.Font.SourceSans
  1622. ChoosePart.TextSize = 14
  1623. ChoosePart.Text = "Select Part"
  1624. ChoosePart.TextColor3 = Color3.new(1, 1, 1)
  1625. ChoosePart.ZIndex = 10
  1626. table.insert(shade2,ChoosePart)
  1627. table.insert(text1,ChoosePart)
  1628.  
  1629. CopyPath.Name = "CopyPath"
  1630. CopyPath.Parent = background_4
  1631. CopyPath.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1632. CopyPath.BorderSizePixel = 0
  1633. CopyPath.Position = UDim2.new(0, 185, 0, 55)
  1634. CopyPath.Size = UDim2.new(0, 75, 0, 30)
  1635. CopyPath.Font = Enum.Font.SourceSans
  1636. CopyPath.TextSize = 14
  1637. CopyPath.Text = "Copy Path"
  1638. CopyPath.TextColor3 = Color3.new(1, 1, 1)
  1639. CopyPath.ZIndex = 10
  1640. table.insert(shade2,CopyPath)
  1641. table.insert(text1,CopyPath)
  1642.  
  1643. Directions_3.Name = "Directions"
  1644. Directions_3.Parent = background_4
  1645. Directions_3.BackgroundTransparency = 1
  1646. Directions_3.BorderSizePixel = 0
  1647. Directions_3.Position = UDim2.new(0, 51, 0, 17)
  1648. Directions_3.Size = UDim2.new(0, 257, 0, 32)
  1649. Directions_3.Font = Enum.Font.SourceSans
  1650. Directions_3.TextSize = 14
  1651. Directions_3.Text = 'Click on a part and then click the "Select Part" button below to set it as a teleport location'
  1652. Directions_3.TextColor3 = Color3.new(1, 1, 1)
  1653. Directions_3.TextWrapped = true
  1654. Directions_3.TextYAlignment = Enum.TextYAlignment.Top
  1655. Directions_3.ZIndex = 10
  1656. table.insert(text1,Directions_3)
  1657.  
  1658. Path.Name = "Path"
  1659. Path.Parent = background_4
  1660. Path.BackgroundTransparency = 1
  1661. Path.BorderSizePixel = 0
  1662. Path.Position = UDim2.new(0, 0, 0, 94)
  1663. Path.Size = UDim2.new(0, 360, 0, 16)
  1664. Path.Font = Enum.Font.SourceSansItalic
  1665. Path.TextSize = 14
  1666. Path.Text = ""
  1667. Path.TextColor3 = Color3.new(1, 1, 1)
  1668. Path.TextScaled = true
  1669. Path.TextWrapped = true
  1670. Path.TextYAlignment = Enum.TextYAlignment.Top
  1671. Path.ZIndex = 10
  1672. table.insert(text1,Path)
  1673.  
  1674. shadow_4.Name = "shadow"
  1675. shadow_4.Parent = ToPartFrame
  1676. shadow_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1677. shadow_4.BorderSizePixel = 0
  1678. shadow_4.Size = UDim2.new(0, 360, 0, 20)
  1679. shadow_4.ZIndex = 10
  1680. table.insert(shade2,shadow_4)
  1681.  
  1682. PopupText_5.Name = "PopupText"
  1683. PopupText_5.Parent = shadow_4
  1684. PopupText_5.BackgroundTransparency = 1
  1685. PopupText_5.Size = UDim2.new(1, 0, 0.95, 0)
  1686. PopupText_5.ZIndex = 10
  1687. PopupText_5.Font = Enum.Font.SourceSans
  1688. PopupText_5.TextSize = 14
  1689. PopupText_5.Text = "Teleport to Part"
  1690. PopupText_5.TextColor3 = Color3.new(1, 1, 1)
  1691. PopupText_5.TextWrapped = true
  1692. table.insert(text1,PopupText_5)
  1693.  
  1694. Exit_4.Name = "Exit"
  1695. Exit_4.Parent = shadow_4
  1696. Exit_4.BackgroundTransparency = 1
  1697. Exit_4.Position = UDim2.new(1, -20, 0, 0)
  1698. Exit_4.Size = UDim2.new(0, 20, 0, 20)
  1699. Exit_4.Text = ""
  1700. Exit_4.ZIndex = 10
  1701.  
  1702. ExitImage_5.Parent = Exit_4
  1703. ExitImage_5.BackgroundColor3 = Color3.new(1, 1, 1)
  1704. ExitImage_5.BackgroundTransparency = 1
  1705. ExitImage_5.Position = UDim2.new(0, 5, 0, 5)
  1706. ExitImage_5.Size = UDim2.new(0, 10, 0, 10)
  1707. ExitImage_5.Image = getcustomasset("infiniteyield/assets/close.png")
  1708. ExitImage_5.ZIndex = 10
  1709.  
  1710. logs.Name = randomString()
  1711. logs.Parent = ScaledHolder
  1712. logs.Active = true
  1713. logs.BackgroundTransparency = 1
  1714. logs.Position = UDim2.new(0, 0, 1, 10)
  1715. logs.Size = UDim2.new(0, 338, 0, 20)
  1716. logs.ZIndex = 10
  1717.  
  1718. shadow.Name = "shadow"
  1719. shadow.Parent = logs
  1720. shadow.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1721. shadow.BorderSizePixel = 0
  1722. shadow.Position = UDim2.new(0, 0, 0.00999999978, 0)
  1723. shadow.Size = UDim2.new(0, 338, 0, 20)
  1724. shadow.ZIndex = 10
  1725. table.insert(shade2,shadow)
  1726.  
  1727. Hide.Name = "Hide"
  1728. Hide.Parent = shadow
  1729. Hide.BackgroundTransparency = 1
  1730. Hide.Position = UDim2.new(1, -40, 0, 0)
  1731. Hide.Size = UDim2.new(0, 20, 0, 20)
  1732. Hide.ZIndex = 10
  1733. Hide.Text = ""
  1734.  
  1735. ImageLabel.Parent = Hide
  1736. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  1737. ImageLabel.BackgroundTransparency = 1
  1738. ImageLabel.Position = UDim2.new(0, 3, 0, 3)
  1739. ImageLabel.Size = UDim2.new(0, 14, 0, 14)
  1740. ImageLabel.Image = getcustomasset("infiniteyield/assets/minimize.png")
  1741. ImageLabel.ZIndex = 10
  1742.  
  1743. PopupText.Name = "PopupText"
  1744. PopupText.Parent = shadow
  1745. PopupText.BackgroundTransparency = 1
  1746. PopupText.Size = UDim2.new(1, 0, 0.949999988, 0)
  1747. PopupText.ZIndex = 10
  1748. PopupText.Font = Enum.Font.SourceSans
  1749. PopupText.FontSize = Enum.FontSize.Size14
  1750. PopupText.Text = "Logs"
  1751. PopupText.TextColor3 = Color3.new(1, 1, 1)
  1752. PopupText.TextWrapped = true
  1753. table.insert(text1,PopupText)
  1754.  
  1755. Exit.Name = "Exit"
  1756. Exit.Parent = shadow
  1757. Exit.BackgroundTransparency = 1
  1758. Exit.Position = UDim2.new(1, -20, 0, 0)
  1759. Exit.Size = UDim2.new(0, 20, 0, 20)
  1760. Exit.ZIndex = 10
  1761. Exit.Text = ""
  1762.  
  1763. ImageLabel_2.Parent = Exit
  1764. ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  1765. ImageLabel_2.BackgroundTransparency = 1
  1766. ImageLabel_2.Position = UDim2.new(0, 5, 0, 5)
  1767. ImageLabel_2.Size = UDim2.new(0, 10, 0, 10)
  1768. ImageLabel_2.Image = getcustomasset("infiniteyield/assets/close.png")
  1769. ImageLabel_2.ZIndex = 10
  1770.  
  1771. background.Name = "background"
  1772. background.Parent = logs
  1773. background.Active = true
  1774. background.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098)
  1775. background.BorderSizePixel = 0
  1776. background.ClipsDescendants = true
  1777. background.Position = UDim2.new(0, 0, 1, 0)
  1778. background.Size = UDim2.new(0, 338, 0, 245)
  1779. background.ZIndex = 10
  1780.  
  1781. chat.Name = "chat"
  1782. chat.Parent = background
  1783. chat.Active = true
  1784. chat.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098)
  1785. chat.BorderSizePixel = 0
  1786. chat.ClipsDescendants = true
  1787. chat.Size = UDim2.new(0, 338, 0, 245)
  1788. chat.ZIndex = 10
  1789. table.insert(shade1,chat)
  1790.  
  1791. Clear.Name = "Clear"
  1792. Clear.Parent = chat
  1793. Clear.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1794. Clear.BorderSizePixel = 0
  1795. Clear.Position = UDim2.new(0, 5, 0, 220)
  1796. Clear.Size = UDim2.new(0, 50, 0, 20)
  1797. Clear.ZIndex = 10
  1798. Clear.Font = Enum.Font.SourceSans
  1799. Clear.FontSize = Enum.FontSize.Size14
  1800. Clear.Text = "Clear"
  1801. Clear.TextColor3 = Color3.new(1, 1, 1)
  1802. table.insert(shade2,Clear)
  1803. table.insert(text1,Clear)
  1804.  
  1805. SaveChatlogs.Name = "SaveChatlogs"
  1806. SaveChatlogs.Parent = chat
  1807. SaveChatlogs.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1808. SaveChatlogs.BorderSizePixel = 0
  1809. SaveChatlogs.Position = UDim2.new(0, 258, 0, 220)
  1810. SaveChatlogs.Size = UDim2.new(0, 75, 0, 20)
  1811. SaveChatlogs.ZIndex = 10
  1812. SaveChatlogs.Font = Enum.Font.SourceSans
  1813. SaveChatlogs.FontSize = Enum.FontSize.Size14
  1814. SaveChatlogs.Text = "Save To .txt"
  1815. SaveChatlogs.TextColor3 = Color3.new(1, 1, 1)
  1816. table.insert(shade2,SaveChatlogs)
  1817. table.insert(text1,SaveChatlogs)
  1818.  
  1819. Toggle.Name = "Toggle"
  1820. Toggle.Parent = chat
  1821. Toggle.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1822. Toggle.BorderSizePixel = 0
  1823. Toggle.Position = UDim2.new(0, 60, 0, 220)
  1824. Toggle.Size = UDim2.new(0, 66, 0, 20)
  1825. Toggle.ZIndex = 10
  1826. Toggle.Font = Enum.Font.SourceSans
  1827. Toggle.FontSize = Enum.FontSize.Size14
  1828. Toggle.Text = "Disabled"
  1829. Toggle.TextColor3 = Color3.new(1, 1, 1)
  1830. table.insert(shade2,Toggle)
  1831. table.insert(text1,Toggle)
  1832.  
  1833. scroll_2.Name = "scroll"
  1834. scroll_2.Parent = chat
  1835. scroll_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1836. scroll_2.BorderSizePixel = 0
  1837. scroll_2.Position = UDim2.new(0, 5, 0, 25)
  1838. scroll_2.Size = UDim2.new(0, 328, 0, 190)
  1839. scroll_2.ZIndex = 10
  1840. scroll_2.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1841. scroll_2.CanvasSize = UDim2.new(0, 0, 0, 10)
  1842. scroll_2.ScrollBarThickness = 8
  1843. scroll_2.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1844. table.insert(scroll,scroll_2)
  1845. table.insert(shade2,scroll_2)
  1846.  
  1847. join.Name = "join"
  1848. join.Parent = background
  1849. join.Active = true
  1850. join.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098)
  1851. join.BorderSizePixel = 0
  1852. join.ClipsDescendants = true
  1853. join.Size = UDim2.new(0, 338, 0, 245)
  1854. join.Visible = false
  1855. join.ZIndex = 10
  1856. table.insert(shade1,join)
  1857.  
  1858. Toggle_2.Name = "Toggle"
  1859. Toggle_2.Parent = join
  1860. Toggle_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1861. Toggle_2.BorderSizePixel = 0
  1862. Toggle_2.Position = UDim2.new(0, 60, 0, 220)
  1863. Toggle_2.Size = UDim2.new(0, 66, 0, 20)
  1864. Toggle_2.ZIndex = 10
  1865. Toggle_2.Font = Enum.Font.SourceSans
  1866. Toggle_2.FontSize = Enum.FontSize.Size14
  1867. Toggle_2.Text = "Disabled"
  1868. Toggle_2.TextColor3 = Color3.new(1, 1, 1)
  1869. table.insert(shade2,Toggle_2)
  1870. table.insert(text1,Toggle_2)
  1871.  
  1872. Clear_2.Name = "Clear"
  1873. Clear_2.Parent = join
  1874. Clear_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1875. Clear_2.BorderSizePixel = 0
  1876. Clear_2.Position = UDim2.new(0, 5, 0, 220)
  1877. Clear_2.Size = UDim2.new(0, 50, 0, 20)
  1878. Clear_2.ZIndex = 10
  1879. Clear_2.Font = Enum.Font.SourceSans
  1880. Clear_2.FontSize = Enum.FontSize.Size14
  1881. Clear_2.Text = "Clear"
  1882. Clear_2.TextColor3 = Color3.new(1, 1, 1)
  1883. table.insert(shade2,Clear_2)
  1884. table.insert(text1,Clear_2)
  1885.  
  1886. scroll_3.Name = "scroll"
  1887. scroll_3.Parent = join
  1888. scroll_3.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1889. scroll_3.BorderSizePixel = 0
  1890. scroll_3.Position = UDim2.new(0, 5, 0, 25)
  1891. scroll_3.Size = UDim2.new(0, 328, 0, 190)
  1892. scroll_3.ZIndex = 10
  1893. scroll_3.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1894. scroll_3.CanvasSize = UDim2.new(0, 0, 0, 10)
  1895. scroll_3.ScrollBarThickness = 8
  1896. scroll_3.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1897. table.insert(scroll,scroll_3)
  1898. table.insert(shade2,scroll_3)
  1899.  
  1900. selectChat.Name = "selectChat"
  1901. selectChat.Parent = background
  1902. selectChat.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  1903. selectChat.BorderSizePixel = 0
  1904. selectChat.Position = UDim2.new(0, 5, 0, 5)
  1905. selectChat.Size = UDim2.new(0, 164, 0, 20)
  1906. selectChat.ZIndex = 10
  1907. selectChat.Font = Enum.Font.SourceSans
  1908. selectChat.FontSize = Enum.FontSize.Size14
  1909. selectChat.Text = "Chat Logs"
  1910. selectChat.TextColor3 = Color3.new(1, 1, 1)
  1911. table.insert(shade2,selectChat)
  1912. table.insert(text1,selectChat)
  1913.  
  1914. selectJoin.Name = "selectJoin"
  1915. selectJoin.Parent = background
  1916. selectJoin.BackgroundColor3 = Color3.new(0.305882, 0.305882, 0.309804)
  1917. selectJoin.BorderSizePixel = 0
  1918. selectJoin.Position = UDim2.new(0, 169, 0, 5)
  1919. selectJoin.Size = UDim2.new(0, 164, 0, 20)
  1920. selectJoin.ZIndex = 10
  1921. selectJoin.Font = Enum.Font.SourceSans
  1922. selectJoin.FontSize = Enum.FontSize.Size14
  1923. selectJoin.Text = "Join Logs"
  1924. selectJoin.TextColor3 = Color3.new(1, 1, 1)
  1925. table.insert(shade3,selectJoin)
  1926. table.insert(text1,selectJoin)
  1927.  
  1928. function create(data)
  1929.     local insts = {}
  1930.     for i,v in pairs(data) do insts[v[1]] = Instance.new(v[2]) end
  1931.  
  1932.     for _,v in pairs(data) do
  1933.         for prop,val in pairs(v[3]) do
  1934.             if type(val) == "table" then
  1935.                 insts[v[1]][prop] = insts[val[1]]
  1936.             else
  1937.                 insts[v[1]][prop] = val
  1938.             end
  1939.         end
  1940.     end
  1941.  
  1942.     return insts[1]
  1943. end
  1944.  
  1945. ViewportTextBox = (function()
  1946.  
  1947.     local funcs = {}
  1948.     funcs.Update = function(self)
  1949.         local cursorPos = self.TextBox.CursorPosition
  1950.         local text = self.TextBox.Text
  1951.         if text == "" then self.TextBox.Position = UDim2.new(0,2,0,0) return end
  1952.         if cursorPos == -1 then return end
  1953.  
  1954.         local cursorText = text:sub(1,cursorPos-1)
  1955.         local pos = nil
  1956.         local leftEnd = -self.TextBox.Position.X.Offset
  1957.         local rightEnd = leftEnd + self.View.AbsoluteSize.X
  1958.  
  1959.         local totalTextSize = TextService:GetTextSize(text,self.TextBox.TextSize,self.TextBox.Font,Vector2.new(999999999,100)).X
  1960.         local cursorTextSize = TextService:GetTextSize(cursorText,self.TextBox.TextSize,self.TextBox.Font,Vector2.new(999999999,100)).X
  1961.  
  1962.         if cursorTextSize > rightEnd then
  1963.             pos = math.max(-2,cursorTextSize - self.View.AbsoluteSize.X + 2)
  1964.         elseif cursorTextSize < leftEnd then
  1965.             pos = math.max(-2,cursorTextSize-2)
  1966.         elseif totalTextSize < rightEnd then
  1967.             pos = math.max(-2,totalTextSize - self.View.AbsoluteSize.X + 2)
  1968.         end
  1969.  
  1970.         if pos then
  1971.             self.TextBox.Position = UDim2.new(0,-pos,0,0)
  1972.             self.TextBox.Size = UDim2.new(1,pos,1,0)
  1973.         end
  1974.     end
  1975.  
  1976.     local mt = {}
  1977.     mt.__index = funcs
  1978.  
  1979.     local function convert(textbox)
  1980.         local obj = setmetatable({OffsetX = 0, TextBox = textbox},mt)
  1981.  
  1982.         local view = Instance.new("Frame")
  1983.         view.BackgroundTransparency = textbox.BackgroundTransparency
  1984.         view.BackgroundColor3 = textbox.BackgroundColor3
  1985.         view.BorderSizePixel = textbox.BorderSizePixel
  1986.         view.BorderColor3 = textbox.BorderColor3
  1987.         view.Position = textbox.Position
  1988.         view.Size = textbox.Size
  1989.         view.ClipsDescendants = true
  1990.         view.Name = textbox.Name
  1991.         view.ZIndex = 10
  1992.         textbox.BackgroundTransparency = 1
  1993.         textbox.Position = UDim2.new(0,4,0,0)
  1994.         textbox.Size = UDim2.new(1,-8,1,0)
  1995.         textbox.TextXAlignment = Enum.TextXAlignment.Left
  1996.         textbox.Name = "Input"
  1997.         table.insert(text1,textbox)
  1998.         table.insert(shade2,view)
  1999.  
  2000.         obj.View = view
  2001.  
  2002.         textbox.Changed:Connect(function(prop)
  2003.             if prop == "Text" or prop == "CursorPosition" or prop == "AbsoluteSize" then
  2004.                 obj:Update()
  2005.             end
  2006.         end)
  2007.  
  2008.         obj:Update()
  2009.  
  2010.         view.Parent = textbox.Parent
  2011.         textbox.Parent = view
  2012.  
  2013.         return obj
  2014.     end
  2015.  
  2016.     return {convert = convert}
  2017. end)()
  2018.  
  2019. ViewportTextBox.convert(Cmdbar).View.ZIndex = 10
  2020. ViewportTextBox.convert(Cmdbar_2).View.ZIndex = 10
  2021. ViewportTextBox.convert(Cmdbar_3).View.ZIndex = 10
  2022.  
  2023. function writefileExploit()
  2024.     if writefile then
  2025.         return true
  2026.     end
  2027. end
  2028.  
  2029. function readfileExploit()
  2030.     if readfile then
  2031.         return true
  2032.     end
  2033. end
  2034.  
  2035. function isNumber(str)
  2036.     if tonumber(str) ~= nil or str == 'inf' then
  2037.         return true
  2038.     end
  2039. end
  2040.  
  2041. function vtype(o, t)
  2042.     if o == nil then return false end
  2043.     if type(o) == "userdata" then return typeof(o) == t end
  2044.     return type(o) == t
  2045. end
  2046.  
  2047. function getRoot(char)
  2048.     local rootPart = char:FindFirstChild('HumanoidRootPart') or char:FindFirstChild('Torso') or char:FindFirstChild('UpperTorso')
  2049.     return rootPart
  2050. end
  2051.  
  2052. function tools(plr)
  2053.     if plr:FindFirstChildOfClass("Backpack"):FindFirstChildOfClass('Tool') or plr.Character:FindFirstChildOfClass('Tool') then
  2054.         return true
  2055.     end
  2056. end
  2057.  
  2058. function r15(plr)
  2059.     if plr.Character:FindFirstChildOfClass('Humanoid').RigType == Enum.HumanoidRigType.R15 then
  2060.         return true
  2061.     end
  2062. end
  2063.  
  2064. function toClipboard(txt)
  2065.     if everyClipboard then
  2066.         everyClipboard(tostring(txt))
  2067.         notify("Clipboard", "Copied to clipboard")
  2068.     else
  2069.         notify("Clipboard", "Your exploit doesn't have the ability to use the clipboard")
  2070.     end
  2071. end
  2072.  
  2073. function chatMessage(str)
  2074.     str = tostring(str)
  2075.     if not isLegacyChat then
  2076.         TextChatService.TextChannels.RBXGeneral:SendAsync(str)
  2077.     else
  2078.         ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(str, "All")
  2079.     end
  2080. end
  2081.  
  2082. function getHierarchy(obj)
  2083.     local fullname
  2084.     local period
  2085.  
  2086.     if string.find(obj.Name,' ') then
  2087.         fullname = '["'..obj.Name..'"]'
  2088.         period = false
  2089.     else
  2090.         fullname = obj.Name
  2091.         period = true
  2092.     end
  2093.  
  2094.     local getS = obj
  2095.     local parent = obj
  2096.     local service = ''
  2097.  
  2098.     if getS.Parent ~= game then
  2099.         repeat
  2100.             getS = getS.Parent
  2101.             service = getS.ClassName
  2102.         until getS.Parent == game
  2103.     end
  2104.  
  2105.     if parent.Parent ~= getS then
  2106.         repeat
  2107.             parent = parent.Parent
  2108.             if string.find(tostring(parent),' ') then
  2109.                 if period then
  2110.                     fullname = '["'..parent.Name..'"].'..fullname
  2111.                 else
  2112.                     fullname = '["'..parent.Name..'"]'..fullname
  2113.                 end
  2114.                 period = false
  2115.             else
  2116.                 if period then
  2117.                     fullname = parent.Name..'.'..fullname
  2118.                 else
  2119.                     fullname = parent.Name..''..fullname
  2120.                 end
  2121.                 period = true
  2122.             end
  2123.         until parent.Parent == getS
  2124.     elseif string.find(tostring(parent),' ') then
  2125.         fullname = '["'..parent.Name..'"]'
  2126.         period = false
  2127.     end
  2128.  
  2129.     if period then
  2130.         return 'game:GetService("'..service..'").'..fullname
  2131.     else
  2132.         return 'game:GetService("'..service..'")'..fullname
  2133.     end
  2134. end
  2135.  
  2136. AllWaypoints = {}
  2137.  
  2138. local cooldown = false
  2139. function writefileCooldown(name,data)
  2140.     task.spawn(function()
  2141.         if not cooldown then
  2142.             cooldown = true
  2143.             writefile(name, data, true)
  2144.         else
  2145.             repeat wait() until cooldown == false
  2146.             writefileCooldown(name,data)
  2147.         end
  2148.         wait(3)
  2149.         cooldown = false
  2150.     end)
  2151. end
  2152.  
  2153. function dragGUI(gui)
  2154.     task.spawn(function()
  2155.         local dragging
  2156.         local dragInput
  2157.         local dragStart = Vector3.new(0,0,0)
  2158.         local startPos
  2159.         local function update(input)
  2160.             local delta = input.Position - dragStart
  2161.             local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  2162.             TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  2163.         end
  2164.         gui.InputBegan:Connect(function(input)
  2165.             if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  2166.                 dragging = true
  2167.                 dragStart = input.Position
  2168.                 startPos = gui.Position
  2169.  
  2170.                 input.Changed:Connect(function()
  2171.                     if input.UserInputState == Enum.UserInputState.End then
  2172.                         dragging = false
  2173.                     end
  2174.                 end)
  2175.             end
  2176.         end)
  2177.         gui.InputChanged:Connect(function(input)
  2178.             if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  2179.                 dragInput = input
  2180.             end
  2181.         end)
  2182.         UserInputService.InputChanged:Connect(function(input)
  2183.             if input == dragInput and dragging then
  2184.                 update(input)
  2185.             end
  2186.         end)
  2187.     end)
  2188. end
  2189.  
  2190. dragGUI(logs)
  2191. dragGUI(KeybindEditor)
  2192. dragGUI(PluginEditor)
  2193. dragGUI(ToPartFrame)
  2194.  
  2195. eventEditor = (function()
  2196.     local events = {}
  2197.  
  2198.     local function registerEvent(name,sets)
  2199.         events[name] = {
  2200.             commands = {},
  2201.             sets = sets or {}
  2202.         }
  2203.     end
  2204.  
  2205.     local onEdited = nil
  2206.  
  2207.     local function fireEvent(name,...)
  2208.         local args = {...}
  2209.         local event = events[name]
  2210.         if event then
  2211.             for i,cmd in pairs(event.commands) do
  2212.                 local metCondition = true
  2213.                 for idx,set in pairs(event.sets) do
  2214.                     local argVal = args[idx]
  2215.                     local cmdSet = cmd[2][idx]
  2216.                     local condType = set.Type
  2217.                     if condType == "Player" then
  2218.                         if cmdSet == 0 then
  2219.                             metCondition = metCondition and (tostring(Players.LocalPlayer) == argVal)
  2220.                         elseif cmdSet ~= 1 then
  2221.                             metCondition = metCondition and table.find(getPlayer(cmdSet,Players.LocalPlayer),argVal)
  2222.                         end
  2223.                     elseif condType == "String" then
  2224.                         if cmdSet ~= 0 then
  2225.                             metCondition = metCondition and string.find(argVal:lower(),cmdSet:lower())
  2226.                         end
  2227.                     elseif condType == "Number" then
  2228.                         if cmdSet ~= 0 then
  2229.                             metCondition = metCondition and tonumber(argVal)<=tonumber(cmdSet)
  2230.                         end
  2231.                     end
  2232.                     if not metCondition then break end
  2233.                 end
  2234.  
  2235.                 if metCondition then
  2236.                     pcall(task.spawn(function()
  2237.                         local cmdStr = cmd[1]
  2238.                         for count,arg in pairs(args) do
  2239.                             cmdStr = cmdStr:gsub("%$"..count,arg)
  2240.                         end
  2241.                         wait(cmd[3] or 0)
  2242.                         execCmd(cmdStr)
  2243.                     end))
  2244.                 end
  2245.             end
  2246.         end
  2247.     end
  2248.  
  2249.     local main = create({
  2250.         {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,}},
  2251.         {2,"Frame",{BackgroundColor3=currentShade2,BorderSizePixel=0,Name="TopBar",Parent={1},Size=UDim2.new(1,0,0,20),ZIndex=10,}},
  2252.         {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,}},
  2253.         {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,}},
  2254.         {5,"ImageLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Image=getcustomasset("infiniteyield/assets/close.png"),Parent={4},Position=UDim2.new(0,5,0,5),Size=UDim2.new(0,10,0,10),ZIndex=10,}},
  2255.         {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,}},
  2256.         {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,}},
  2257.         {8,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={7},Size=UDim2.new(1,0,1,0),ZIndex=10,}},
  2258.         {9,"UIListLayout",{Parent={8},SortOrder=2,}},
  2259.         {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,}},
  2260.         {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,}},
  2261.         {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,}},
  2262.         {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,}},
  2263.         {14,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={13},Size=UDim2.new(1,0,1,0),ZIndex=10,}},
  2264.         {15,"UIListLayout",{Parent={14},SortOrder=2,}},
  2265.         {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,}},
  2266.         {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,}},
  2267.         {18,"Folder",{Name="Templates",Parent={10},}},
  2268.         {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,}},
  2269.         {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,}},
  2270.         {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,}},
  2271.         {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,}},
  2272.         {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,}},
  2273.         {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,}},
  2274.         {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,}},
  2275.         {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,}},
  2276.         {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,}},
  2277.         {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,}},
  2278.         {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,}},
  2279.         {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,}},
  2280.         {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,}},
  2281.         {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,}},
  2282.         {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,}},
  2283.         {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,}},
  2284.         {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,}},
  2285.         {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,}},
  2286.         {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,}},
  2287.         {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,}},
  2288.         {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,}},
  2289.         {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,}},
  2290.         {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,}},
  2291.         {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,}},
  2292.         {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,}},
  2293.         {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,}},
  2294.         {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,}},
  2295.         {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,}},
  2296.         {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,}},
  2297.         {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,}},
  2298.         {41,"Frame",{BackgroundColor3=currentShade1,BorderSizePixel=0,ClipsDescendants=true,Name="EventTemplate",Parent={6},Size=UDim2.new(1,0,0,20),Visible=false,ZIndex=10,}},
  2299.         {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,}},
  2300.         {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,}},
  2301.         {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,}},
  2302.         {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,}},
  2303.         {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,}},
  2304.         {47,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={44},Size=UDim2.new(1,0,1,-20),ZIndex=10,}},
  2305.         {48,"UIListLayout",{Parent={47},SortOrder=2,}},
  2306.         {49,"Frame",{currentShade1,BorderSizePixel=0,ClipsDescendants=true,Name="CmdTemplate",Parent={6},Size=UDim2.new(1,0,0,20),Visible=false,ZIndex=10,}},
  2307.         {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,}},
  2308.         {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,}},
  2309.         {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,}},
  2310.         {53,"ImageLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Image=getcustomasset("infiniteyield/assets/settings.png"),Parent={52},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),ZIndex=10,}},
  2311.     })
  2312.     main.Name = randomString()
  2313.     local mainFrame = main:WaitForChild("Content")
  2314.     local eventList = mainFrame:WaitForChild("List")
  2315.     local eventListHolder = eventList:WaitForChild("Holder")
  2316.     local cmdTemplate = mainFrame:WaitForChild("CmdTemplate")
  2317.     local eventTemplate = mainFrame:WaitForChild("EventTemplate")
  2318.     local settingsFrame = mainFrame:WaitForChild("Settings"):WaitForChild("Slider")
  2319.     local settingsTemplates = mainFrame.Settings:WaitForChild("Templates")
  2320.     local settingsList = settingsFrame:WaitForChild("List"):WaitForChild("Holder")
  2321.     table.insert(shade2,main.TopBar) table.insert(shade1,mainFrame) table.insert(shade2,eventTemplate)
  2322.     table.insert(text1,eventTemplate.EventName) table.insert(shade1,eventTemplate.Cmds.Add) table.insert(shade1,cmdTemplate)
  2323.     table.insert(text1,cmdTemplate.TextBox) table.insert(shade2,cmdTemplate.Delete) table.insert(shade2,cmdTemplate.Settings)
  2324.     table.insert(scroll,mainFrame.List) table.insert(shade1,settingsFrame) table.insert(shade2,settingsFrame.Line)
  2325.     table.insert(shade2,settingsFrame.Close) table.insert(scroll,settingsFrame.List) table.insert(shade2,settingsTemplates.DelayEditor.Secs)
  2326.     table.insert(text1,settingsTemplates.DelayEditor.Secs) table.insert(text1,settingsTemplates.DelayEditor.Secs.Label) table.insert(text1,settingsTemplates.Players.Title)
  2327.     table.insert(shade3,settingsTemplates.Players.CustomButton) table.insert(shade2,settingsTemplates.Players.Custom) table.insert(text1,settingsTemplates.Players.Custom)
  2328.     table.insert(shade3,settingsTemplates.Players.Any.Button) table.insert(shade3,settingsTemplates.Players.Me.Button) table.insert(text1,settingsTemplates.Players.Any)
  2329.     table.insert(text1,settingsTemplates.Players.Me) table.insert(text1,settingsTemplates.Strings.Title) table.insert(text1,settingsTemplates.Strings.Any)
  2330.     table.insert(shade3,settingsTemplates.Strings.Any.Button) table.insert(shade3,settingsTemplates.Strings.CustomButton) table.insert(text1,settingsTemplates.Strings.Custom)
  2331.     table.insert(shade2,settingsTemplates.Strings.Custom)
  2332.     table.insert(text1,settingsTemplates.Players.Me) table.insert(text1,settingsTemplates.Numbers.Title) table.insert(text1,settingsTemplates.Numbers.Any)
  2333.     table.insert(shade3,settingsTemplates.Numbers.Any.Button) table.insert(shade3,settingsTemplates.Numbers.CustomButton) table.insert(text1,settingsTemplates.Numbers.Custom)
  2334.     table.insert(shade2,settingsTemplates.Numbers.Custom)
  2335.  
  2336.     local tweenInf = TweenInfo.new(0.25,Enum.EasingStyle.Quart,Enum.EasingDirection.Out)
  2337.  
  2338.     local currentlyEditingCmd = nil
  2339.  
  2340.     settingsFrame:WaitForChild("Close").MouseButton1Click:Connect(function()
  2341.         settingsFrame:TweenPosition(UDim2.new(0,-150,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
  2342.     end)
  2343.  
  2344.     local function resizeList()
  2345.         local size = 0
  2346.  
  2347.         for i,v in pairs(eventListHolder:GetChildren()) do
  2348.             if v.Name == "EventTemplate" then
  2349.                 size = size + 20
  2350.                 if v.Expand.Rotation == 90 then
  2351.                     size = size + 20*(1+(#events[v.EventName:GetAttribute("RawName")].commands or 0))
  2352.                 end
  2353.             end
  2354.         end
  2355.  
  2356.         TweenService:Create(eventList,tweenInf,{CanvasSize = UDim2.new(0,0,0,size)}):Play()
  2357.  
  2358.         if size > eventList.AbsoluteSize.Y then
  2359.             eventListHolder.Size = UDim2.new(1,-8,1,0)
  2360.         else
  2361.             eventListHolder.Size = UDim2.new(1,0,1,0)
  2362.         end
  2363.     end
  2364.  
  2365.     local function resizeSettingsList()
  2366.         local size = 0
  2367.  
  2368.         for i,v in pairs(settingsList:GetChildren()) do
  2369.             if v:IsA("Frame") then
  2370.                 size = size + v.AbsoluteSize.Y
  2371.             end
  2372.         end
  2373.  
  2374.         settingsList.Parent.CanvasSize = UDim2.new(0,0,0,size)
  2375.  
  2376.         if size > settingsList.Parent.AbsoluteSize.Y then
  2377.             settingsList.Size = UDim2.new(1,-8,1,0)
  2378.         else
  2379.             settingsList.Size = UDim2.new(1,0,1,0)
  2380.         end
  2381.     end
  2382.  
  2383.     local function setupCheckbox(button,callback)
  2384.         local enabled = button.On.BackgroundTransparency == 0
  2385.  
  2386.         local function update()
  2387.             button.On.BackgroundTransparency = (enabled and 0 or 1)
  2388.         end
  2389.  
  2390.         button.On.MouseButton1Click:Connect(function()
  2391.             enabled = not enabled
  2392.             update()
  2393.             if callback then callback(enabled) end
  2394.         end)
  2395.  
  2396.         return {
  2397.             Toggle = function(nocall) enabled = not enabled update() if not nocall and callback then callback(enabled) end end,
  2398.             Enable = function(nocall) if enabled then return end enabled = true update()if not nocall and callback then callback(enabled) end end,
  2399.             Disable = function(nocall) if not enabled then return end enabled = false update()if not nocall and callback then callback(enabled) end end,
  2400.             IsEnabled = function() return enabled end
  2401.         }
  2402.     end
  2403.  
  2404.     local function openSettingsEditor(event,cmd)
  2405.         currentlyEditingCmd = cmd
  2406.  
  2407.         for i,v in pairs(settingsList:GetChildren()) do if v:IsA("Frame") then v:Destroy() end end
  2408.  
  2409.         local delayEditor = settingsTemplates.DelayEditor:Clone()
  2410.         delayEditor.Secs.FocusLost:Connect(function()
  2411.             cmd[3] = tonumber(delayEditor.Secs.Text) or 0
  2412.             delayEditor.Secs.Text = cmd[3]
  2413.             if onEdited then onEdited() end
  2414.         end)
  2415.         delayEditor.Secs.Text = cmd[3]
  2416.         delayEditor.Visible = true
  2417.         table.insert(shade2,delayEditor.Secs)
  2418.         table.insert(text1,delayEditor.Secs)
  2419.         table.insert(text1,delayEditor.Secs.Label)
  2420.         delayEditor.Parent = settingsList
  2421.  
  2422.         for i,v in pairs(event.sets) do
  2423.             if v.Type == "Player" then
  2424.                 local template = settingsTemplates.Players:Clone()
  2425.                 template.Title.Text = v.Name or "Player"
  2426.  
  2427.                 local me,any,custom
  2428.  
  2429.                 me = setupCheckbox(template.Me.Button,function(on)
  2430.                     if not on then return end
  2431.                     any.Disable()
  2432.                     custom.Disable()
  2433.                     cmd[2][i] = 0
  2434.                     if onEdited then onEdited() end
  2435.                 end)
  2436.  
  2437.                 any = setupCheckbox(template.Any.Button,function(on)
  2438.                     if not on then return end
  2439.                     me.Disable()
  2440.                     custom.Disable()
  2441.                     cmd[2][i] = 1
  2442.                     if onEdited then onEdited() end
  2443.                 end)
  2444.  
  2445.                 local customTextBox = template.Custom
  2446.                 custom = setupCheckbox(template.CustomButton,function(on)
  2447.                     if not on then return end
  2448.                     me.Disable()
  2449.                     any.Disable()
  2450.                     cmd[2][i] = customTextBox.Text
  2451.                     if onEdited then onEdited() end
  2452.                 end)
  2453.  
  2454.                 ViewportTextBox.convert(customTextBox)
  2455.                 customTextBox.FocusLost:Connect(function()
  2456.                     if custom:IsEnabled() then
  2457.                         cmd[2][i] = customTextBox.Text
  2458.                         if onEdited then onEdited() end
  2459.                     end
  2460.                 end)
  2461.  
  2462.                 local cVal = cmd[2][i]
  2463.                 if cVal == 0 then
  2464.                     me:Enable()
  2465.                 elseif cVal == 1 then
  2466.                     any:Enable()
  2467.                 else
  2468.                     custom:Enable()
  2469.                     customTextBox.Text = cVal
  2470.                 end
  2471.  
  2472.                 template.Visible = true
  2473.                 table.insert(text1,template.Title)
  2474.                 table.insert(shade3,template.CustomButton)
  2475.                 table.insert(shade3,template.Any.Button)
  2476.                 table.insert(shade3,template.Me.Button)
  2477.                 table.insert(text1,template.Any)
  2478.                 table.insert(text1,template.Me)
  2479.                 template.Parent = settingsList
  2480.             elseif v.Type == "String" then
  2481.                 local template = settingsTemplates.Strings:Clone()
  2482.                 template.Title.Text = v.Name or "String"
  2483.  
  2484.                 local any,custom
  2485.  
  2486.                 any = setupCheckbox(template.Any.Button,function(on)
  2487.                     if not on then return end
  2488.                     custom.Disable()
  2489.                     cmd[2][i] = 0
  2490.                     if onEdited then onEdited() end
  2491.                 end)
  2492.  
  2493.                 local customTextBox = template.Custom
  2494.                 custom = setupCheckbox(template.CustomButton,function(on)
  2495.                     if not on then return end
  2496.                     any.Disable()
  2497.                     cmd[2][i] = customTextBox.Text
  2498.                     if onEdited then onEdited() end
  2499.                 end)
  2500.  
  2501.                 ViewportTextBox.convert(customTextBox)
  2502.                 customTextBox.FocusLost:Connect(function()
  2503.                     if custom:IsEnabled() then
  2504.                         cmd[2][i] = customTextBox.Text
  2505.                         if onEdited then onEdited() end
  2506.                     end
  2507.                 end)
  2508.  
  2509.                 local cVal = cmd[2][i]
  2510.                 if cVal == 0 then
  2511.                     any:Enable()
  2512.                 else
  2513.                     custom:Enable()
  2514.                     customTextBox.Text = cVal
  2515.                 end
  2516.  
  2517.                 template.Visible = true
  2518.                 table.insert(text1,template.Title)
  2519.                 table.insert(text1,template.Any)
  2520.                 table.insert(shade3,template.Any.Button)
  2521.                 table.insert(shade3,template.CustomButton)
  2522.                 template.Parent = settingsList
  2523.             elseif v.Type == "Number" then
  2524.                 local template = settingsTemplates.Numbers:Clone()
  2525.                 template.Title.Text = v.Name or "Number"
  2526.  
  2527.                 local any,custom
  2528.  
  2529.                 any = setupCheckbox(template.Any.Button,function(on)
  2530.                     if not on then return end
  2531.                     custom.Disable()
  2532.                     cmd[2][i] = 0
  2533.                     if onEdited then onEdited() end
  2534.                 end)
  2535.  
  2536.                 local customTextBox = template.Custom
  2537.                 custom = setupCheckbox(template.CustomButton,function(on)
  2538.                     if not on then return end
  2539.                     any.Disable()
  2540.                     cmd[2][i] = customTextBox.Text
  2541.                     if onEdited then onEdited() end
  2542.                 end)
  2543.  
  2544.                 ViewportTextBox.convert(customTextBox)
  2545.                 customTextBox.FocusLost:Connect(function()
  2546.                     cmd[2][i] = tonumber(customTextBox.Text) or 0
  2547.                     customTextBox.Text = cmd[2][i]
  2548.                     if custom:IsEnabled() then
  2549.                         if onEdited then onEdited() end
  2550.                     end
  2551.                 end)
  2552.  
  2553.                 local cVal = cmd[2][i]
  2554.                 if cVal == 0 then
  2555.                     any:Enable()
  2556.                 else
  2557.                     custom:Enable()
  2558.                     customTextBox.Text = cVal
  2559.                 end
  2560.  
  2561.                 template.Visible = true
  2562.                 table.insert(text1,template.Title)
  2563.                 table.insert(text1,template.Any)
  2564.                 table.insert(shade3,template.Any.Button)
  2565.                 table.insert(shade3,template.CustomButton)
  2566.                 template.Parent = settingsList
  2567.             end
  2568.         end
  2569.         resizeSettingsList()
  2570.         settingsFrame:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
  2571.     end
  2572.  
  2573.     local function defaultSettings(ev)
  2574.         local res = {}
  2575.  
  2576.         for i,v in pairs(ev.sets) do
  2577.             if v.Type == "Player" then
  2578.                 res[#res+1] = v.Default or 0
  2579.             elseif v.Type == "String" then
  2580.                 res[#res+1] = v.Default or 0
  2581.             elseif v.Type == "Number" then
  2582.                 res[#res+1] = v.Default or 0
  2583.             end
  2584.         end
  2585.  
  2586.         return res
  2587.     end
  2588.  
  2589.     local function refreshList()
  2590.         for i,v in pairs(eventListHolder:GetChildren()) do if v:IsA("Frame") then v:Destroy() end end
  2591.  
  2592.         for name,event in pairs(events) do
  2593.             local eventF = eventTemplate:Clone()
  2594.             eventF.EventName.Text = name
  2595.             eventF.Visible = true
  2596.             eventF.EventName:SetAttribute("RawName", name)
  2597.             table.insert(shade2,eventF)
  2598.             table.insert(text1,eventF.EventName)
  2599.             table.insert(shade1,eventF.Cmds.Add)
  2600.  
  2601.             local expanded = false
  2602.             eventF.Expand.MouseButton1Down:Connect(function()
  2603.                 expanded = not expanded
  2604.                 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)
  2605.                 eventF.Expand.Rotation = expanded and 90 or 0
  2606.                 resizeList()
  2607.             end)
  2608.  
  2609.             local function refreshCommands()
  2610.                 for i,v in pairs(eventF.Cmds.Holder:GetChildren()) do
  2611.                     if v.Name == "CmdTemplate" then
  2612.                         v:Destroy()
  2613.                     end
  2614.                 end
  2615.  
  2616.                 eventF.EventName.Text = name..(#event.commands > 0 and " ("..#event.commands..")" or "")
  2617.  
  2618.                 for i,cmd in pairs(event.commands) do
  2619.                     local cmdF = cmdTemplate:Clone()
  2620.                     local cmdTextBox = cmdF.TextBox
  2621.                     ViewportTextBox.convert(cmdTextBox)
  2622.                     cmdTextBox.Text = cmd[1]
  2623.                     cmdF.Visible = true
  2624.                     table.insert(shade1,cmdF)
  2625.                     table.insert(shade2,cmdF.Delete)
  2626.                     table.insert(shade2,cmdF.Settings)
  2627.  
  2628.                     cmdTextBox.FocusLost:Connect(function()
  2629.                         event.commands[i] = {cmdTextBox.Text,cmd[2],cmd[3]}
  2630.                         if onEdited then onEdited() end
  2631.                     end)
  2632.  
  2633.                     cmdF.Settings.MouseButton1Click:Connect(function()
  2634.                         openSettingsEditor(event,cmd)
  2635.                     end)
  2636.  
  2637.                     cmdF.Delete.MouseButton1Click:Connect(function()
  2638.                         table.remove(event.commands,i)
  2639.                         refreshCommands()
  2640.                         resizeList()
  2641.  
  2642.                         if currentlyEditingCmd == cmd then
  2643.                             settingsFrame:TweenPosition(UDim2.new(0,-150,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
  2644.                         end
  2645.                         if onEdited then onEdited() end
  2646.                     end)
  2647.  
  2648.                     cmdF.Parent = eventF.Cmds.Holder
  2649.                 end
  2650.  
  2651.                 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)
  2652.             end
  2653.  
  2654.             local newBox = eventF.Cmds.Add.TextBox
  2655.             ViewportTextBox.convert(newBox)
  2656.             newBox.FocusLost:Connect(function(enter)
  2657.                 if enter then
  2658.                     event.commands[#event.commands+1] = {newBox.Text,defaultSettings(event),0}
  2659.                     newBox.Text = ""
  2660.  
  2661.                     refreshCommands()
  2662.                     resizeList()
  2663.                     if onEdited then onEdited() end
  2664.                 end
  2665.             end)
  2666.  
  2667.             --eventF:GetPropertyChangedSignal("AbsoluteSize"):Connect(resizeList)
  2668.  
  2669.             eventF.Parent = eventListHolder
  2670.  
  2671.             refreshCommands()
  2672.         end
  2673.  
  2674.         resizeList()
  2675.     end
  2676.  
  2677.     local function saveData()
  2678.         local result = {}
  2679.         for i,v in pairs(events) do
  2680.             result[i] = v.commands
  2681.         end
  2682.         return HttpService:JSONEncode(result)
  2683.     end
  2684.  
  2685.     local function loadData(str)
  2686.         local data = HttpService:JSONDecode(str)
  2687.         for i,v in pairs(data) do
  2688.             if events[i] then
  2689.                 events[i].commands = v
  2690.             end
  2691.         end
  2692.     end
  2693.  
  2694.     local function addCmd(event,data)
  2695.         table.insert(events[event].commands,data)
  2696.     end
  2697.  
  2698.     local function setOnEdited(f)
  2699.         if type(f) == "function" then
  2700.             onEdited = f
  2701.         end
  2702.     end
  2703.  
  2704.     main.TopBar.Close.MouseButton1Click:Connect(function()
  2705.         main:TweenPosition(UDim2.new(0.5,-175,0,-500), "InOut", "Quart", 0.5, true, nil)
  2706.     end)
  2707.     dragGUI(main)
  2708.     main.Parent = ScaledHolder
  2709.  
  2710.     return {
  2711.         RegisterEvent = registerEvent,
  2712.         FireEvent = fireEvent,
  2713.         Refresh = refreshList,
  2714.         SaveData = saveData,
  2715.         LoadData = loadData,
  2716.         AddCmd = addCmd,
  2717.         Frame = main,
  2718.         SetOnEdited = setOnEdited
  2719.     }
  2720. end)()
  2721.  
  2722. reference = (function()
  2723.     local main = create({
  2724.         {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,}},
  2725.         {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,}},
  2726.         {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,}},
  2727.         {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,}},
  2728.         {5,"ImageLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Image=getcustomasset("infiniteyield/assets/close.png"),Parent={4},Position=UDim2.new(0,5,0,5),Size=UDim2.new(0,10,0,10),ZIndex=10,}},
  2729.         {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,}},
  2730.         {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,}},
  2731.         {8,"UIListLayout",{Parent={7},SortOrder=2,}},
  2732.         {9,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,429),ZIndex=10,}},
  2733.         {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,}},
  2734.         {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,}},
  2735.         {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,}},
  2736.         {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,}},
  2737.         {14,"UIListLayout",{Parent={13},SortOrder=2,}},
  2738.         {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,}},
  2739.         {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,}},
  2740.         {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,}},
  2741.         {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,}},
  2742.         {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,}},
  2743.         {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,}},
  2744.         {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,}},
  2745.         {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,}},
  2746.         {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,}},
  2747.         {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,}},
  2748.         {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,}},
  2749.         {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,}},
  2750.         {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,}},
  2751.         {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,}},
  2752.         {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,}},
  2753.         {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,}},
  2754.         {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,}},
  2755.         {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,}},
  2756.         {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,}},
  2757.         {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,}},
  2758.         {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,}},
  2759.         {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,}},
  2760.         {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,}},
  2761.         {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,}},
  2762.         {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,}},
  2763.         {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,}},
  2764.         {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,}},
  2765.         {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,}},
  2766.         {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,}},
  2767.         {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,}},
  2768.         {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,}},
  2769.         {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,}},
  2770.         {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,}},
  2771.         {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,}},
  2772.         {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,}},
  2773.         {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,}},
  2774.         {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,}},
  2775.         {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,}},
  2776.         {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,}},
  2777.         {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,}},
  2778.         {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,}},
  2779.         {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,}},
  2780.         {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,}},
  2781.         {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,}},
  2782.         {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,}},
  2783.         {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,}},
  2784.         {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,}},
  2785.         {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,}},
  2786.         {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,}},
  2787.         {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,}},
  2788.         {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,}},
  2789.         {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,}},
  2790.         {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,}},
  2791.         {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,}},
  2792.         {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,}},
  2793.         {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,}},
  2794.         {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,}},
  2795.         {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,}},
  2796.         {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,}},
  2797.         {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,}},
  2798.         {75,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,180),ZIndex=10,}},
  2799.         {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,}},
  2800.         {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,}},
  2801.         {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,}},
  2802.         {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,}},
  2803.         {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,}},
  2804.         {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,}},
  2805.         {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,}},
  2806.         {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,}},
  2807.         {84,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,154),ZIndex=10,}},
  2808.         {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,}},
  2809.         {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,}},
  2810.         {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,}},
  2811.         {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,}},
  2812.         {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,}},
  2813.         {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,}},
  2814.         {91,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,120),ZIndex=10,}},
  2815.         {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,}},
  2816.         {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,}},
  2817.         {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,}},
  2818.         {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,}},
  2819.         {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,}},
  2820.         {97,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,75),ZIndex=10,}},
  2821.         {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,}},
  2822.         {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,}},
  2823.         {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,}},
  2824.         {101,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,75),ZIndex=10,}},
  2825.         {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,}},
  2826.         {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,}},
  2827.         {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,}},
  2828.         {105,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,175),ZIndex=10,}},
  2829.         {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,}},
  2830.         {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,}},
  2831.         {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,}},
  2832.         {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,}},
  2833.         {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,}},
  2834.         {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,}},
  2835.         {112,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,105),ZIndex=10,}},
  2836.         {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,}},
  2837.         {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,}},
  2838.         {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,}},
  2839.         {116,"TextButton",{BackgroundColor3=Color3.new(0.48627451062202,0.61960786581039,0.85098040103912),BorderColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),Font=4,Name="InviteButton",Parent={112},Position=UDim2.new(0,5,0,75),Size=UDim2.new(1,-10,0,25),Text="Copy Discord Invite Link (https://discord.gg/78ZuWSq)",TextColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),TextSize=16,ZIndex=10,}},
  2840.     })
  2841.     for i,v in pairs(main.Content.List:GetDescendants()) do
  2842.         if v:IsA("TextLabel") then
  2843.             table.insert(text1,v)
  2844.         end
  2845.     end
  2846.     table.insert(scroll,main.Content.List)
  2847.     table.insert(shade1,main.Content)
  2848.     table.insert(shade2,main.TopBar)
  2849.     main.Name = randomString()
  2850.     main.TopBar.Close.MouseButton1Click:Connect(function()
  2851.         main:TweenPosition(UDim2.new(0.5,-250,0,-500), "InOut", "Quart", 0.5, true, nil)
  2852.     end)
  2853.     local inviteButton = main:FindFirstChild("InviteButton",true)
  2854.     local lastPress = nil
  2855.     inviteButton.MouseButton1Click:Connect(function()
  2856.         if everyClipboard then
  2857.             toClipboard("https://discord.gg/78ZuWSq")
  2858.             inviteButton.Text = "Copied"
  2859.         else
  2860.             inviteButton.Text = "No Clipboard Function, type out the link"
  2861.         end
  2862.         local pressTime = tick()
  2863.         lastPress = pressTime
  2864.         wait(2)
  2865.         if lastPress ~= pressTime then return end
  2866.         inviteButton.Text = "Copy Discord Invite Link (https://discord.gg/78ZuWSq)"
  2867.     end)
  2868.     dragGUI(main)
  2869.     main.Parent = ScaledHolder
  2870.  
  2871.     ReferenceButton.MouseButton1Click:Connect(function()
  2872.         main:TweenPosition(UDim2.new(0.5,-250,0.5,-150), "InOut", "Quart", 0.5, true, nil)
  2873.     end)
  2874. end)()
  2875.  
  2876. currentShade1 = Color3.fromRGB(36, 36, 37)
  2877. currentShade2 = Color3.fromRGB(46, 46, 47)
  2878. currentShade3 = Color3.fromRGB(78, 78, 79)
  2879. currentText1 = Color3.new(1, 1, 1)
  2880. currentText2 = Color3.new(0, 0, 0)
  2881. currentScroll = Color3.fromRGB(78,78,79)
  2882.  
  2883. defaultGuiScale = IsOnMobile and 0.9 or 1
  2884. defaultsettings = {
  2885.     prefix = ';';
  2886.     StayOpen = false;
  2887.     guiScale = defaultGuiScale;
  2888.     espTransparency = 0.3;
  2889.     keepIY = true;
  2890.     logsEnabled = false;
  2891.     jLogsEnabled = false;
  2892.     aliases = {};
  2893.     binds = {};
  2894.     WayPoints = {};
  2895.     PluginsTable = {};
  2896.     currentShade1 = {currentShade1.R,currentShade1.G,currentShade1.B};
  2897.     currentShade2 = {currentShade2.R,currentShade2.G,currentShade2.B};
  2898.     currentShade3 = {currentShade3.R,currentShade3.G,currentShade3.B};
  2899.     currentText1 = {currentText1.R,currentText1.G,currentText1.B};
  2900.     currentText2 = {currentText2.R,currentText2.G,currentText2.B};
  2901.     currentScroll = {currentScroll.R,currentScroll.G,currentScroll.B};
  2902.     eventBinds = eventEditor.SaveData()
  2903. }
  2904.  
  2905. defaults = HttpService:JSONEncode(defaultsettings)
  2906. nosaves = false
  2907. useFactorySettings = function()
  2908.     prefix = ';'
  2909.     StayOpen = false
  2910.     guiScale = defaultGuiScale
  2911.     KeepInfYield = true
  2912.     espTransparency = 0.3
  2913.     logsEnabled = false
  2914.     jLogsEnabled = false
  2915.     logsWebhook = nil
  2916.     aliases = {}
  2917.     binds = {}
  2918.     WayPoints = {}
  2919.     PluginsTable = {}
  2920. end
  2921.  
  2922. createPopup = function(text)
  2923.     local FileError = Instance.new("Frame")
  2924.     local background = Instance.new("Frame")
  2925.     local Directions = Instance.new("TextLabel")
  2926.     local shadow = Instance.new("Frame")
  2927.     local PopupText = Instance.new("TextLabel")
  2928.     local Exit = Instance.new("TextButton")
  2929.     local ExitImage = Instance.new("ImageLabel")
  2930.  
  2931.     FileError.Name = randomString()
  2932.     FileError.Parent = ScaledHolder
  2933.     FileError.Active = true
  2934.     FileError.BackgroundTransparency = 1
  2935.     FileError.Position = UDim2.new(0.5, -180, 0, 290)
  2936.     FileError.Size = UDim2.new(0, 360, 0, 20)
  2937.     FileError.ZIndex = 10
  2938.  
  2939.     background.Name = "background"
  2940.     background.Parent = FileError
  2941.     background.Active = true
  2942.     background.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  2943.     background.BorderSizePixel = 0
  2944.     background.Position = UDim2.new(0, 0, 0, 20)
  2945.     background.Size = UDim2.new(0, 360, 0, 205)
  2946.     background.ZIndex = 10
  2947.  
  2948.     Directions.Name = "Directions"
  2949.     Directions.Parent = background
  2950.     Directions.BackgroundTransparency = 1
  2951.     Directions.BorderSizePixel = 0
  2952.     Directions.Position = UDim2.new(0, 10, 0, 10)
  2953.     Directions.Size = UDim2.new(0, 340, 0, 185)
  2954.     Directions.Font = Enum.Font.SourceSans
  2955.     Directions.TextSize = 14
  2956.     Directions.Text = text
  2957.     Directions.TextColor3 = Color3.new(1, 1, 1)
  2958.     Directions.TextWrapped = true
  2959.     Directions.TextXAlignment = Enum.TextXAlignment.Left
  2960.     Directions.TextYAlignment = Enum.TextYAlignment.Top
  2961.     Directions.ZIndex = 10
  2962.  
  2963.     shadow.Name = "shadow"
  2964.     shadow.Parent = FileError
  2965.     shadow.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2966.     shadow.BorderSizePixel = 0
  2967.     shadow.Size = UDim2.new(0, 360, 0, 20)
  2968.     shadow.ZIndex = 10
  2969.  
  2970.     PopupText.Name = "PopupText"
  2971.     PopupText.Parent = shadow
  2972.     PopupText.BackgroundTransparency = 1
  2973.     PopupText.Size = UDim2.new(1, 0, 0.95, 0)
  2974.     PopupText.ZIndex = 10
  2975.     PopupText.Font = Enum.Font.SourceSans
  2976.     PopupText.TextSize = 14
  2977.     PopupText.Text = "File Error"
  2978.     PopupText.TextColor3 = Color3.new(1, 1, 1)
  2979.     PopupText.TextWrapped = true
  2980.  
  2981.     Exit.Name = "Exit"
  2982.     Exit.Parent = shadow
  2983.     Exit.BackgroundTransparency = 1
  2984.     Exit.Position = UDim2.new(1, -20, 0, 0)
  2985.     Exit.Size = UDim2.new(0, 20, 0, 20)
  2986.     Exit.Text = ""
  2987.     Exit.ZIndex = 10
  2988.  
  2989.     ExitImage.Parent = Exit
  2990.     ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
  2991.     ExitImage.BackgroundTransparency = 1
  2992.     ExitImage.Position = UDim2.new(0, 5, 0, 5)
  2993.     ExitImage.Size = UDim2.new(0, 10, 0, 10)
  2994.     ExitImage.Image = getcustomasset("infiniteyield/assets/close.png")
  2995.     ExitImage.ZIndex = 10
  2996.  
  2997.     Exit.MouseButton1Click:Connect(function()
  2998.         FileError:Destroy()
  2999.     end)
  3000. end
  3001.  
  3002. local loadedEventData = nil
  3003. local jsonAttempts = 0
  3004. function saves()
  3005.     if writefileExploit() and readfileExploit() and jsonAttempts < 10 then
  3006.         local readSuccess, out = readfile("IY_FE.iy", true)
  3007.         if readSuccess then
  3008.             if out ~= nil and tostring(out):gsub("%s", "") ~= "" then
  3009.                 local success, response = pcall(function()
  3010.                     local json = HttpService:JSONDecode(out)
  3011.                     if vtype(json.prefix, "string") then prefix = json.prefix else prefix = ';' end
  3012.                     if vtype(json.StayOpen, "boolean") then StayOpen = json.StayOpen else StayOpen = false end
  3013.                     if vtype(json.guiScale, "number") then guiScale = json.guiScale else guiScale = defaultGuiScale end
  3014.                     if vtype(json.keepIY, "boolean") then KeepInfYield = json.keepIY else KeepInfYield = true end
  3015.                     if vtype(json.espTransparency, "number") then espTransparency = json.espTransparency else espTransparency = 0.3 end
  3016.                     if vtype(json.logsEnabled, "boolean") then logsEnabled = json.logsEnabled else logsEnabled = false end
  3017.                     if vtype(json.jLogsEnabled, "boolean") then jLogsEnabled = json.jLogsEnabled else jLogsEnabled = false end
  3018.                     if vtype(json.logsWebhook, "string") then logsWebhook = json.logsWebhook else logsWebhook = nil end
  3019.                     if vtype(json.aliases, "table") then aliases = json.aliases else aliases = {} end
  3020.                     if vtype(json.binds, "table") then binds = json.binds else binds = {} end
  3021.                     if vtype(json.spawnCmds, "table") then spawnCmds = json.spawnCmds end
  3022.                     if vtype(json.WayPoints, "table") then AllWaypoints = json.WayPoints else WayPoints = {} AllWaypoints = {} end
  3023.                     if vtype(json.PluginsTable, "table") then PluginsTable = json.PluginsTable else PluginsTable = {} end
  3024.                     if vtype(json.currentShade1, "table") then currentShade1 = Color3.new(json.currentShade1[1],json.currentShade1[2],json.currentShade1[3]) end
  3025.                     if vtype(json.currentShade2, "table") then currentShade2 = Color3.new(json.currentShade2[1],json.currentShade2[2],json.currentShade2[3]) end
  3026.                     if vtype(json.currentShade3, "table") then currentShade3 = Color3.new(json.currentShade3[1],json.currentShade3[2],json.currentShade3[3]) end
  3027.                     if vtype(json.currentText1, "table") then currentText1 = Color3.new(json.currentText1[1],json.currentText1[2],json.currentText1[3]) end
  3028.                     if vtype(json.currentText2, "table") then currentText2 = Color3.new(json.currentText2[1],json.currentText2[2],json.currentText2[3]) end
  3029.                     if vtype(json.currentScroll, "table") then currentScroll = Color3.new(json.currentScroll[1],json.currentScroll[2],json.currentScroll[3]) end
  3030.                     if vtype(json.eventBinds, "string") then loadedEventData = json.eventBinds end
  3031.                 end)
  3032.                 if not success then
  3033.                     jsonAttempts = jsonAttempts + 1
  3034.                     warn("Save Json Error:", response)
  3035.                     warn("Overwriting Save File")
  3036.                     writefile("IY_FE.iy", defaults, true)
  3037.                     wait()
  3038.                     saves()
  3039.                 end
  3040.             else
  3041.                 writefile("IY_FE.iy", defaults, true)
  3042.                 wait()
  3043.                 local dReadSuccess, dOut = readfile("IY_FE.iy", true)
  3044.                 if dReadSuccess and dOut ~= nil and tostring(dOut):gsub("%s", "") ~= "" then
  3045.                     saves()
  3046.                 else
  3047.                     nosaves = true
  3048.                     useFactorySettings()
  3049.                     createPopup("There was a problem writing a save file to your PC.\n\nPlease contact the developer/support team for your exploit and tell them writefile/readfile is not working.\n\nYour settings, keybinds, waypoints, and aliases will not save if you continue.\n\nThings to try:\n> Make sure a 'workspace' folder is located in the same folder as your exploit\n> If your exploit is inside of a zip/rar file, extract it.\n> Rejoin the game and try again or restart your PC and try again.")
  3050.                 end
  3051.             end
  3052.         else
  3053.             writefile("IY_FE.iy", defaults, true)
  3054.             wait()
  3055.             local dReadSuccess, dOut = readfile("IY_FE.iy", true)
  3056.             if dReadSuccess and dOut ~= nil and tostring(dOut):gsub("%s", "") ~= "" then
  3057.                 saves()
  3058.             else
  3059.                 nosaves = true
  3060.                 useFactorySettings()
  3061.                 createPopup("There was a problem writing a save file to your PC.\n\nPlease contact the developer/support team for your exploit and tell them writefile/readfile is not working.\n\nYour settings, keybinds, waypoints, and aliases will not save if you continue.\n\nThings to try:\n> Make sure a 'workspace' folder is located in the same folder as your exploit\n> If your exploit is inside of a zip/rar file, extract it.\n> Rejoin the game and try again or restart your PC and try again.")
  3062.             end
  3063.         end
  3064.     else
  3065.         if jsonAttempts >= 10 then
  3066.             nosaves = true
  3067.             useFactorySettings()
  3068.             createPopup("Sorry, we have attempted to parse your save file, but it is unreadable!\n\nInfinite Yield is now using factory settings until your exploit's file system works.\n\nYour save file has not been deleted.")
  3069.         else
  3070.             nosaves = true
  3071.             useFactorySettings()
  3072.         end
  3073.     end
  3074. end
  3075.  
  3076. saves()
  3077.  
  3078. function updatesaves()
  3079.     if nosaves == false and writefileExploit() then
  3080.         local update = {
  3081.             prefix = prefix;
  3082.             StayOpen = StayOpen;
  3083.             guiScale = guiScale;
  3084.             keepIY = KeepInfYield;
  3085.             espTransparency = espTransparency;
  3086.             logsEnabled = logsEnabled;
  3087.             jLogsEnabled = jLogsEnabled;
  3088.             logsWebhook = logsWebhook;
  3089.             aliases = aliases;
  3090.             binds = binds or {};
  3091.             WayPoints = AllWaypoints;
  3092.             PluginsTable = PluginsTable;
  3093.             currentShade1 = {currentShade1.R,currentShade1.G,currentShade1.B};
  3094.             currentShade2 = {currentShade2.R,currentShade2.G,currentShade2.B};
  3095.             currentShade3 = {currentShade3.R,currentShade3.G,currentShade3.B};
  3096.             currentText1 = {currentText1.R,currentText1.G,currentText1.B};
  3097.             currentText2 = {currentText2.R,currentText2.G,currentText2.B};
  3098.             currentScroll = {currentScroll.R,currentScroll.G,currentScroll.B};
  3099.             eventBinds = eventEditor.SaveData()
  3100.         }
  3101.         writefileCooldown("IY_FE.iy", HttpService:JSONEncode(update))
  3102.     end
  3103. end
  3104.  
  3105. eventEditor.SetOnEdited(updatesaves)
  3106.  
  3107. pWayPoints = {}
  3108. WayPoints = {}
  3109.  
  3110. if #AllWaypoints > 0 then
  3111.     for i = 1, #AllWaypoints do
  3112.         if not AllWaypoints[i].GAME or AllWaypoints[i].GAME == PlaceId then
  3113.             WayPoints[#WayPoints + 1] = {NAME = AllWaypoints[i].NAME, COORD = {AllWaypoints[i].COORD[1], AllWaypoints[i].COORD[2], AllWaypoints[i].COORD[3]}, GAME = AllWaypoints[i].GAME}
  3114.         end
  3115.     end
  3116. end
  3117.  
  3118. if type(binds) ~= "table" then binds = {} end
  3119.  
  3120. if type(PluginsTable) == "table" then
  3121.     for i = #PluginsTable, 1, -1 do
  3122.         if string.sub(PluginsTable[i], -3) ~= ".iy" then
  3123.             table.remove(PluginsTable, i)
  3124.         end
  3125.     end
  3126. end
  3127.  
  3128. function Time()
  3129.     local HOUR = math.floor((tick() % 86400) / 3600)
  3130.     local MINUTE = math.floor((tick() % 3600) / 60)
  3131.     local SECOND = math.floor(tick() % 60)
  3132.     local AP = HOUR > 11 and 'PM' or 'AM'
  3133.     HOUR = (HOUR % 12 == 0 and 12 or HOUR % 12)
  3134.     HOUR = HOUR < 10 and '0' .. HOUR or HOUR
  3135.     MINUTE = MINUTE < 10 and '0' .. MINUTE or MINUTE
  3136.     SECOND = SECOND < 10 and '0' .. SECOND or SECOND
  3137.     return HOUR .. ':' .. MINUTE .. ':' .. SECOND .. ' ' .. AP
  3138. end
  3139.  
  3140. PrefixBox.Text = prefix
  3141. local SettingsOpen = false
  3142. local isHidden = false
  3143.  
  3144. if StayOpen == false then
  3145.     On.BackgroundTransparency = 1
  3146. else
  3147.     On.BackgroundTransparency = 0
  3148. end
  3149.  
  3150. if logsEnabled then
  3151.     Toggle.Text = 'Enabled'
  3152. else
  3153.     Toggle.Text = 'Disabled'
  3154. end
  3155.  
  3156. if jLogsEnabled then
  3157.     Toggle_2.Text = 'Enabled'
  3158. else
  3159.     Toggle_2.Text = 'Disabled'
  3160. end
  3161.  
  3162. function maximizeHolder()
  3163.     if StayOpen == false then
  3164.         Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, -220), "InOut", "Quart", 0.2, true, nil)
  3165.     end
  3166. end
  3167.  
  3168. minimizeNum = -20
  3169. function minimizeHolder()
  3170.     if StayOpen == false then
  3171.         Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, minimizeNum), "InOut", "Quart", 0.5, true, nil)
  3172.     end
  3173. end
  3174.  
  3175. function cmdbarHolder()
  3176.     if StayOpen == false then
  3177.         Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, -45), "InOut", "Quart", 0.5, true, nil)
  3178.     end
  3179. end
  3180.  
  3181. pinNotification = nil
  3182. local notifyCount = 0
  3183. function notify(text,text2,length)
  3184.     task.spawn(function()
  3185.         local LnotifyCount = notifyCount+1
  3186.         local notificationPinned = false
  3187.         notifyCount = notifyCount+1
  3188.         if pinNotification then pinNotification:Disconnect() end
  3189.         pinNotification = PinButton.MouseButton1Click:Connect(function()
  3190.             task.spawn(function()
  3191.                 pinNotification:Disconnect()
  3192.                 notificationPinned = true
  3193.                 Title_2.BackgroundTransparency = 1
  3194.                 wait(0.5)
  3195.                 Title_2.BackgroundTransparency = 0
  3196.             end)
  3197.         end)
  3198.         Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil)
  3199.         wait(0.6)
  3200.         local closepressed = false
  3201.         if text2 then
  3202.             Title_2.Text = text
  3203.             Text_2.Text = text2
  3204.         else
  3205.             Title_2.Text = 'Notification'
  3206.             Text_2.Text = text
  3207.         end
  3208.         Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, -100), "InOut", "Quart", 0.5, true, nil)
  3209.         CloseButton.MouseButton1Click:Connect(function()
  3210.             Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil)
  3211.             closepressed = true
  3212.             pinNotification:Disconnect()
  3213.         end)
  3214.         if length and isNumber(length) then
  3215.             wait(length)
  3216.         else
  3217.             wait(10)
  3218.         end
  3219.         if LnotifyCount == notifyCount then
  3220.             if closepressed == false and notificationPinned == false then
  3221.                 pinNotification:Disconnect()
  3222.                 Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil)
  3223.             end
  3224.             notifyCount = 0
  3225.         end
  3226.     end)
  3227. end
  3228.  
  3229. local lastMessage = nil
  3230. local lastLabel = nil
  3231. local dupeCount = 1
  3232. function CreateLabel(Name, Text)
  3233.     if lastMessage == Name..Text then
  3234.         dupeCount = dupeCount+1
  3235.         lastLabel.Text = Time()..' - ['..Name..']: '..Text..' (x'..dupeCount..')'
  3236.     else
  3237.         if dupeCount > 1 then dupeCount = 1 end
  3238.         if #scroll_2:GetChildren() >= 2546 then
  3239.             scroll_2:ClearAllChildren()
  3240.         end
  3241.         local alls = 0
  3242.         for i,v in pairs(scroll_2:GetChildren()) do
  3243.             if v then
  3244.                 alls = v.Size.Y.Offset + alls
  3245.             end
  3246.             if not v then
  3247.                 alls = 0
  3248.             end
  3249.         end
  3250.         local tl = Instance.new('TextLabel')
  3251.         lastMessage = Name..Text
  3252.         lastLabel = tl
  3253.         tl.Name = Name
  3254.         tl.Parent = scroll_2
  3255.         tl.ZIndex = 10
  3256.         tl.RichText = true
  3257.         tl.Text = Time().." - ["..Name.."]: "..Text
  3258.         tl.Text = tl.ContentText
  3259.         tl.Size = UDim2.new(0,322,0,84)
  3260.         tl.BackgroundTransparency = 1
  3261.         tl.BorderSizePixel = 0
  3262.         tl.Font = "SourceSans"
  3263.         tl.Position = UDim2.new(-1,0,0,alls)
  3264.         tl.TextTransparency = 1
  3265.         tl.TextScaled = false
  3266.         tl.TextSize = 14
  3267.         tl.TextWrapped = true
  3268.         tl.TextXAlignment = "Left"
  3269.         tl.TextYAlignment = "Top"
  3270.         tl.TextColor3 = currentText1
  3271.         tl.Size = UDim2.new(0,322,0,tl.TextBounds.Y)
  3272.         table.insert(text1,tl)
  3273.         scroll_2.CanvasSize = UDim2.new(0,0,0,alls+tl.TextBounds.Y)
  3274.         scroll_2.CanvasPosition = Vector2.new(0,scroll_2.CanvasPosition.Y+tl.TextBounds.Y)
  3275.         tl:TweenPosition(UDim2.new(0,3,0,alls), 'In', 'Quint', 0.5)
  3276.         TweenService:Create(tl, TweenInfo.new(1.25, Enum.EasingStyle.Linear), { TextTransparency = 0 }):Play()
  3277.     end
  3278. end
  3279.  
  3280. function CreateJoinLabel(plr,ID)
  3281.     if #scroll_3:GetChildren() >= 2546 then
  3282.         scroll_3:ClearAllChildren()
  3283.     end
  3284.     local infoFrame = Instance.new("Frame")
  3285.     local info1 = Instance.new("TextLabel")
  3286.     local info2 = Instance.new("TextLabel")
  3287.     local ImageLabel_3 = Instance.new("ImageLabel")
  3288.     infoFrame.Name = randomString()
  3289.     infoFrame.Parent = scroll_3
  3290.     infoFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  3291.     infoFrame.BackgroundTransparency = 1
  3292.     infoFrame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  3293.     infoFrame.Size = UDim2.new(1, 0, 0, 50)
  3294.     info1.Name = randomString()
  3295.     info1.Parent = infoFrame
  3296.     info1.BackgroundTransparency = 1
  3297.     info1.BorderSizePixel = 0
  3298.     info1.Position = UDim2.new(0, 45, 0, 0)
  3299.     info1.Size = UDim2.new(0, 135, 1, 0)
  3300.     info1.ZIndex = 10
  3301.     info1.Font = Enum.Font.SourceSans
  3302.     info1.FontSize = Enum.FontSize.Size14
  3303.     info1.Text = "Username: "..plr.Name.."\nJoined Server: "..Time()
  3304.     info1.TextColor3 = Color3.new(1, 1, 1)
  3305.     info1.TextWrapped = true
  3306.     info1.TextXAlignment = Enum.TextXAlignment.Left
  3307.     info2.Name = randomString()
  3308.     info2.Parent = infoFrame
  3309.     info2.BackgroundTransparency = 1
  3310.     info2.BorderSizePixel = 0
  3311.     info2.Position = UDim2.new(0, 185, 0, 0)
  3312.     info2.Size = UDim2.new(0, 140, 1, -5)
  3313.     info2.ZIndex = 10
  3314.     info2.Font = Enum.Font.SourceSans
  3315.     info2.FontSize = Enum.FontSize.Size14
  3316.     info2.Text = "User ID: "..ID.."\nAccount Age: "..plr.AccountAge.."\nJoined Roblox: Loading..."
  3317.     info2.TextColor3 = Color3.new(1, 1, 1)
  3318.     info2.TextWrapped = true
  3319.     info2.TextXAlignment = Enum.TextXAlignment.Left
  3320.     info2.TextYAlignment = Enum.TextYAlignment.Center
  3321.     ImageLabel_3.Parent = infoFrame
  3322.     ImageLabel_3.BackgroundTransparency = 1
  3323.     ImageLabel_3.BorderSizePixel = 0
  3324.     ImageLabel_3.Size = UDim2.new(0, 45, 1, 0)
  3325.     ImageLabel_3.Image = Players:GetUserThumbnailAsync(ID, Enum.ThumbnailType.AvatarThumbnail, Enum.ThumbnailSize.Size420x420)
  3326.     scroll_3.CanvasSize = UDim2.new(0, 0, 0, listlayout.AbsoluteContentSize.Y)
  3327.     scroll_3.CanvasPosition = Vector2.new(0,scroll_2.CanvasPosition.Y+infoFrame.AbsoluteSize.Y)
  3328.     wait()
  3329.     local user = game:HttpGet("https://users.roblox.com/v1/users/"..ID)
  3330.     local json = HttpService:JSONDecode(user)
  3331.     local date = json["created"]:sub(1,10)
  3332.     local splitDates = string.split(date,"-")
  3333.     info2.Text = string.gsub(info2.Text, "Loading...",splitDates[2].."/"..splitDates[3].."/"..splitDates[1])
  3334. end
  3335.  
  3336. IYMouse.KeyDown:Connect(function(Key)
  3337.     if (Key==prefix) then
  3338.         RunService.RenderStepped:Wait()
  3339.         Cmdbar:CaptureFocus()
  3340.         maximizeHolder()
  3341.     end
  3342. end)
  3343.  
  3344. local lastMinimizeReq = 0
  3345. Holder.MouseEnter:Connect(function()
  3346.     lastMinimizeReq = 0
  3347.     maximizeHolder()
  3348. end)
  3349.  
  3350. Holder.MouseLeave:Connect(function()
  3351.     if not Cmdbar:IsFocused() then
  3352.         local reqTime = tick()
  3353.         lastMinimizeReq = reqTime
  3354.         wait(1)
  3355.         if lastMinimizeReq ~= reqTime then return end
  3356.         if not Cmdbar:IsFocused() then
  3357.             minimizeHolder()
  3358.         end
  3359.     end
  3360. end)
  3361.  
  3362. function updateColors(color,ctype)
  3363.     if ctype == shade1 then
  3364.         for i,v in pairs(shade1) do
  3365.             v.BackgroundColor3 = color
  3366.         end
  3367.         currentShade1 = color
  3368.     elseif ctype == shade2 then
  3369.         for i,v in pairs(shade2) do
  3370.             v.BackgroundColor3 = color
  3371.         end
  3372.         currentShade2 = color
  3373.     elseif ctype == shade3 then
  3374.         for i,v in pairs(shade3) do
  3375.             v.BackgroundColor3 = color
  3376.         end
  3377.         currentShade3 = color
  3378.     elseif ctype == text1 then
  3379.         for i,v in pairs(text1) do
  3380.             v.TextColor3 = color
  3381.             if v:IsA("TextBox") then
  3382.                 v.PlaceholderColor3 = color
  3383.             end
  3384.         end
  3385.         currentText1 = color
  3386.     elseif ctype == text2 then
  3387.         for i,v in pairs(text2) do
  3388.             v.TextColor3 = color
  3389.         end
  3390.         currentText2 = color
  3391.     elseif ctype == scroll then
  3392.         for i,v in pairs(scroll) do
  3393.             v.ScrollBarImageColor3 = color
  3394.         end
  3395.         currentScroll = color
  3396.     end
  3397. end
  3398.  
  3399. local colorpickerOpen = false
  3400. ColorsButton.MouseButton1Click:Connect(function()
  3401.     cache_currentShade1 = currentShade1
  3402.     cache_currentShade2 = currentShade2
  3403.     cache_currentShade3 = currentShade3
  3404.     cache_currentText1 = currentText1
  3405.     cache_currentText2 = currentText2
  3406.     cache_currentScroll = currentScroll
  3407.     if not colorpickerOpen then
  3408.         colorpickerOpen = true
  3409.         picker = game:GetObjects("rbxassetid://4908465318")[1]
  3410.         picker.Name = randomString()
  3411.         picker.Parent = ScaledHolder
  3412.  
  3413.         local ColorPicker do
  3414.             ColorPicker = {}
  3415.  
  3416.             ColorPicker.new = function()
  3417.                 local newMt = setmetatable({},{})
  3418.  
  3419.                 local pickerGui = picker.ColorPicker
  3420.                 local pickerTopBar = pickerGui.TopBar
  3421.                 local pickerExit = pickerTopBar.Exit
  3422.                 local pickerFrame = pickerGui.Content
  3423.                 local colorSpace = pickerFrame.ColorSpaceFrame.ColorSpace
  3424.                 local colorStrip = pickerFrame.ColorStrip
  3425.                 local previewFrame = pickerFrame.Preview
  3426.                 local basicColorsFrame = pickerFrame.BasicColors
  3427.                 local customColorsFrame = pickerFrame.CustomColors
  3428.                 local defaultButton = pickerFrame.Default
  3429.                 local cancelButton = pickerFrame.Cancel
  3430.                 local shade1Button = pickerFrame.Shade1
  3431.                 local shade2Button = pickerFrame.Shade2
  3432.                 local shade3Button = pickerFrame.Shade3
  3433.                 local text1Button = pickerFrame.Text1
  3434.                 local text2Button = pickerFrame.Text2
  3435.                 local scrollButton = pickerFrame.Scroll
  3436.  
  3437.                 local colorScope = colorSpace.Scope
  3438.                 local colorArrow = pickerFrame.ArrowFrame.Arrow
  3439.  
  3440.                 local hueInput = pickerFrame.Hue.Input
  3441.                 local satInput = pickerFrame.Sat.Input
  3442.                 local valInput = pickerFrame.Val.Input
  3443.  
  3444.                 local redInput = pickerFrame.Red.Input
  3445.                 local greenInput = pickerFrame.Green.Input
  3446.                 local blueInput = pickerFrame.Blue.Input
  3447.  
  3448.                 local mouse = IYMouse
  3449.  
  3450.                 local hue,sat,val = 0,0,1
  3451.                 local red,green,blue = 1,1,1
  3452.                 local chosenColor = Color3.new(0,0,0)
  3453.  
  3454.                 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)}
  3455.                 local customColors = {}
  3456.  
  3457.                 dragGUI(picker)
  3458.  
  3459.                 local function updateColor(noupdate)
  3460.                     local relativeX,relativeY,relativeStripY = 219 - hue*219, 199 - sat*199, 199 - val*199
  3461.                     local hsvColor = Color3.fromHSV(hue,sat,val)
  3462.  
  3463.                     if noupdate == 2 or not noupdate then
  3464.                         hueInput.Text = tostring(math.ceil(359*hue))
  3465.                         satInput.Text = tostring(math.ceil(255*sat))
  3466.                         valInput.Text = tostring(math.floor(255*val))
  3467.                     end
  3468.                     if noupdate == 1 or not noupdate then
  3469.                         redInput.Text = tostring(math.floor(255*red))
  3470.                         greenInput.Text = tostring(math.floor(255*green))
  3471.                         blueInput.Text = tostring(math.floor(255*blue))
  3472.                     end
  3473.  
  3474.                     chosenColor = Color3.new(red,green,blue)
  3475.  
  3476.                     colorScope.Position = UDim2.new(0,relativeX-9,0,relativeY-9)
  3477.                     colorStrip.ImageColor3 = Color3.fromHSV(hue,sat,1)
  3478.                     colorArrow.Position = UDim2.new(0,-2,0,relativeStripY-4)
  3479.                     previewFrame.BackgroundColor3 = chosenColor
  3480.  
  3481.                     newMt.Color = chosenColor
  3482.                     if newMt.Changed then newMt:Changed(chosenColor) end
  3483.                 end
  3484.  
  3485.                 local function colorSpaceInput()
  3486.                     local relativeX = mouse.X - colorSpace.AbsolutePosition.X
  3487.                     local relativeY = mouse.Y - colorSpace.AbsolutePosition.Y
  3488.  
  3489.                     if relativeX < 0 then relativeX = 0 elseif relativeX > 219 then relativeX = 219 end
  3490.                     if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
  3491.  
  3492.                     hue = (219 - relativeX)/219
  3493.                     sat = (199 - relativeY)/199
  3494.  
  3495.                     local hsvColor = Color3.fromHSV(hue,sat,val)
  3496.                     red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  3497.  
  3498.                     updateColor()
  3499.                 end
  3500.  
  3501.                 local function colorStripInput()
  3502.                     local relativeY = mouse.Y - colorStrip.AbsolutePosition.Y
  3503.  
  3504.                     if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
  3505.  
  3506.                     val = (199 - relativeY)/199
  3507.  
  3508.                     local hsvColor = Color3.fromHSV(hue,sat,val)
  3509.                     red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  3510.  
  3511.                     updateColor()
  3512.                 end
  3513.  
  3514.                 local function hookButtons(frame,func)
  3515.                     frame.ArrowFrame.Up.InputBegan:Connect(function(input)
  3516.                         if input.UserInputType == Enum.UserInputType.MouseMovement then
  3517.                             frame.ArrowFrame.Up.BackgroundTransparency = 0.5
  3518.                         elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  3519.                             local releaseEvent,runEvent
  3520.  
  3521.                             local startTime = tick()
  3522.                             local pressing = true
  3523.                             local startNum = tonumber(frame.Text)
  3524.  
  3525.                             if not startNum then return end
  3526.  
  3527.                             releaseEvent = UserInputService.InputEnded:Connect(function(input)
  3528.                                 if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  3529.                                 releaseEvent:Disconnect()
  3530.                                 pressing = false
  3531.                             end)
  3532.  
  3533.                             startNum = startNum + 1
  3534.                             func(startNum)
  3535.                             while pressing do
  3536.                                 if tick()-startTime > 0.3 then
  3537.                                     startNum = startNum + 1
  3538.                                     func(startNum)
  3539.                                 end
  3540.                                 wait(0.1)
  3541.                             end
  3542.                         end
  3543.                     end)
  3544.  
  3545.                     frame.ArrowFrame.Up.InputEnded:Connect(function(input)
  3546.                         if input.UserInputType == Enum.UserInputType.MouseMovement then
  3547.                             frame.ArrowFrame.Up.BackgroundTransparency = 1
  3548.                         end
  3549.                     end)
  3550.  
  3551.                     frame.ArrowFrame.Down.InputBegan:Connect(function(input)
  3552.                         if input.UserInputType == Enum.UserInputType.MouseMovement then
  3553.                             frame.ArrowFrame.Down.BackgroundTransparency = 0.5
  3554.                         elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  3555.                             local releaseEvent,runEvent
  3556.  
  3557.                             local startTime = tick()
  3558.                             local pressing = true
  3559.                             local startNum = tonumber(frame.Text)
  3560.  
  3561.                             if not startNum then return end
  3562.  
  3563.                             releaseEvent = UserInputService.InputEnded:Connect(function(input)
  3564.                                 if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  3565.                                 releaseEvent:Disconnect()
  3566.                                 pressing = false
  3567.                             end)
  3568.  
  3569.                             startNum = startNum - 1
  3570.                             func(startNum)
  3571.                             while pressing do
  3572.                                 if tick()-startTime > 0.3 then
  3573.                                     startNum = startNum - 1
  3574.                                     func(startNum)
  3575.                                 end
  3576.                                 wait(0.1)
  3577.                             end
  3578.                         end
  3579.                     end)
  3580.  
  3581.                     frame.ArrowFrame.Down.InputEnded:Connect(function(input)
  3582.                         if input.UserInputType == Enum.UserInputType.MouseMovement then
  3583.                             frame.ArrowFrame.Down.BackgroundTransparency = 1
  3584.                         end
  3585.                     end)
  3586.                 end
  3587.  
  3588.                 colorSpace.InputBegan:Connect(function(input)
  3589.                     if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3590.                         local releaseEvent,mouseEvent
  3591.  
  3592.                         releaseEvent = UserInputService.InputEnded:Connect(function(input)
  3593.                             if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  3594.                             releaseEvent:Disconnect()
  3595.                             mouseEvent:Disconnect()
  3596.                         end)
  3597.  
  3598.                         mouseEvent = UserInputService.InputChanged:Connect(function(input)
  3599.                             if input.UserInputType == Enum.UserInputType.MouseMovement then
  3600.                                 colorSpaceInput()
  3601.                             end
  3602.                         end)
  3603.  
  3604.                         colorSpaceInput()
  3605.                     end
  3606.                 end)
  3607.  
  3608.                 colorStrip.InputBegan:Connect(function(input)
  3609.                     if input.UserInputType == Enum.UserInputType.MouseButton1 then
  3610.                         local releaseEvent,mouseEvent
  3611.  
  3612.                         releaseEvent = UserInputService.InputEnded:Connect(function(input)
  3613.                             if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  3614.                             releaseEvent:Disconnect()
  3615.                             mouseEvent:Disconnect()
  3616.                         end)
  3617.  
  3618.                         mouseEvent = UserInputService.InputChanged:Connect(function(input)
  3619.                             if input.UserInputType == Enum.UserInputType.MouseMovement then
  3620.                                 colorStripInput()
  3621.                             end
  3622.                         end)
  3623.  
  3624.                         colorStripInput()
  3625.                     end
  3626.                 end)
  3627.  
  3628.                 local function updateHue(str)
  3629.                     local num = tonumber(str)
  3630.                     if num then
  3631.                         hue = math.clamp(math.floor(num),0,359)/359
  3632.                         local hsvColor = Color3.fromHSV(hue,sat,val)
  3633.                         red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  3634.                         hueInput.Text = tostring(hue*359)
  3635.                         updateColor(1)
  3636.                     end
  3637.                 end
  3638.                 hueInput.FocusLost:Connect(function() updateHue(hueInput.Text) end) hookButtons(hueInput,updateHue)
  3639.  
  3640.                 local function updateSat(str)
  3641.                     local num = tonumber(str)
  3642.                     if num then
  3643.                         sat = math.clamp(math.floor(num),0,255)/255
  3644.                         local hsvColor = Color3.fromHSV(hue,sat,val)
  3645.                         red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  3646.                         satInput.Text = tostring(sat*255)
  3647.                         updateColor(1)
  3648.                     end
  3649.                 end
  3650.                 satInput.FocusLost:Connect(function() updateSat(satInput.Text) end) hookButtons(satInput,updateSat)
  3651.  
  3652.                 local function updateVal(str)
  3653.                     local num = tonumber(str)
  3654.                     if num then
  3655.                         val = math.clamp(math.floor(num),0,255)/255
  3656.                         local hsvColor = Color3.fromHSV(hue,sat,val)
  3657.                         red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  3658.                         valInput.Text = tostring(val*255)
  3659.                         updateColor(1)
  3660.                     end
  3661.                 end
  3662.                 valInput.FocusLost:Connect(function() updateVal(valInput.Text) end) hookButtons(valInput,updateVal)
  3663.  
  3664.                 local function updateRed(str)
  3665.                     local num = tonumber(str)
  3666.                     if num then
  3667.                         red = math.clamp(math.floor(num),0,255)/255
  3668.                         local newColor = Color3.new(red,green,blue)
  3669.                         hue,sat,val = Color3.toHSV(newColor)
  3670.                         redInput.Text = tostring(red*255)
  3671.                         updateColor(2)
  3672.                     end
  3673.                 end
  3674.                 redInput.FocusLost:Connect(function() updateRed(redInput.Text) end) hookButtons(redInput,updateRed)
  3675.  
  3676.                 local function updateGreen(str)
  3677.                     local num = tonumber(str)
  3678.                     if num then
  3679.                         green = math.clamp(math.floor(num),0,255)/255
  3680.                         local newColor = Color3.new(red,green,blue)
  3681.                         hue,sat,val = Color3.toHSV(newColor)
  3682.                         greenInput.Text = tostring(green*255)
  3683.                         updateColor(2)
  3684.                     end
  3685.                 end
  3686.                 greenInput.FocusLost:Connect(function() updateGreen(greenInput.Text) end) hookButtons(greenInput,updateGreen)
  3687.  
  3688.                 local function updateBlue(str)
  3689.                     local num = tonumber(str)
  3690.                     if num then
  3691.                         blue = math.clamp(math.floor(num),0,255)/255
  3692.                         local newColor = Color3.new(red,green,blue)
  3693.                         hue,sat,val = Color3.toHSV(newColor)
  3694.                         blueInput.Text = tostring(blue*255)
  3695.                         updateColor(2)
  3696.                     end
  3697.                 end
  3698.                 blueInput.FocusLost:Connect(function() updateBlue(blueInput.Text) end) hookButtons(blueInput,updateBlue)
  3699.  
  3700.                 local colorChoice = Instance.new("TextButton")
  3701.                 colorChoice.Name = "Choice"
  3702.                 colorChoice.Size = UDim2.new(0,25,0,18)
  3703.                 colorChoice.BorderColor3 = Color3.new(96/255,96/255,96/255)
  3704.                 colorChoice.Text = ""
  3705.                 colorChoice.AutoButtonColor = false
  3706.                 colorChoice.ZIndex = 10
  3707.  
  3708.                 local row = 0
  3709.                 local column = 0
  3710.                 for i,v in pairs(basicColors) do
  3711.                     local newColor = colorChoice:Clone()
  3712.                     newColor.BackgroundColor3 = v
  3713.                     newColor.Position = UDim2.new(0,1 + 30*column,0,21 + 23*row)
  3714.  
  3715.                     newColor.MouseButton1Click:Connect(function()
  3716.                         red,green,blue = v.r,v.g,v.b
  3717.                         local newColor = Color3.new(red,green,blue)
  3718.                         hue,sat,val = Color3.toHSV(newColor)
  3719.                         updateColor()
  3720.                     end)   
  3721.  
  3722.                     newColor.Parent = basicColorsFrame
  3723.                     column = column + 1
  3724.                     if column == 6 then row = row + 1 column = 0 end
  3725.                 end
  3726.  
  3727.                 row = 0
  3728.                 column = 0
  3729.                 for i = 1,12 do
  3730.                     local color = customColors[i] or Color3.new(0,0,0)
  3731.                     local newColor = colorChoice:Clone()
  3732.                     newColor.BackgroundColor3 = color
  3733.                     newColor.Position = UDim2.new(0,1 + 30*column,0,20 + 23*row)
  3734.  
  3735.                     newColor.MouseButton1Click:Connect(function()
  3736.                         local curColor = customColors[i] or Color3.new(0,0,0)
  3737.                         red,green,blue = curColor.r,curColor.g,curColor.b
  3738.                         hue,sat,val = Color3.toHSV(curColor)
  3739.                         updateColor()
  3740.                     end)
  3741.  
  3742.                     newColor.MouseButton2Click:Connect(function()
  3743.                         customColors[i] = chosenColor
  3744.                         newColor.BackgroundColor3 = chosenColor
  3745.                     end)
  3746.  
  3747.                     newColor.Parent = customColorsFrame
  3748.                     column = column + 1
  3749.                     if column == 6 then row = row + 1 column = 0 end
  3750.                 end
  3751.  
  3752.                 shade1Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade1) end end)
  3753.                 shade1Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade1Button.BackgroundTransparency = 0.4 end end)
  3754.                 shade1Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade1Button.BackgroundTransparency = 0 end end)
  3755.  
  3756.                 shade2Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade2) end end)
  3757.                 shade2Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade2Button.BackgroundTransparency = 0.4 end end)
  3758.                 shade2Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade2Button.BackgroundTransparency = 0 end end)
  3759.  
  3760.                 shade3Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade3) end end)
  3761.                 shade3Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade3Button.BackgroundTransparency = 0.4 end end)
  3762.                 shade3Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade3Button.BackgroundTransparency = 0 end end)
  3763.  
  3764.                 text1Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,text1) end end)
  3765.                 text1Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text1Button.BackgroundTransparency = 0.4 end end)
  3766.                 text1Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text1Button.BackgroundTransparency = 0 end end)
  3767.  
  3768.                 text2Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,text2) end end)
  3769.                 text2Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text2Button.BackgroundTransparency = 0.4 end end)
  3770.                 text2Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text2Button.BackgroundTransparency = 0 end end)
  3771.  
  3772.                 scrollButton.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,scroll) end end)
  3773.                 scrollButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then scrollButton.BackgroundTransparency = 0.4 end end)
  3774.                 scrollButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then scrollButton.BackgroundTransparency = 0 end end)
  3775.  
  3776.                 cancelButton.MouseButton1Click:Connect(function() if newMt.Cancel then newMt:Cancel() end end)
  3777.                 cancelButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0.4 end end)
  3778.                 cancelButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0 end end)
  3779.  
  3780.                 defaultButton.MouseButton1Click:Connect(function() if newMt.Default then newMt:Default() end end)
  3781.                 defaultButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0.4 end end)
  3782.                 defaultButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0 end end)
  3783.  
  3784.                 pickerExit.MouseButton1Click:Connect(function()
  3785.                     picker:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil)
  3786.                 end)
  3787.  
  3788.                 updateColor()
  3789.  
  3790.                 newMt.SetColor = function(self,color)
  3791.                     red,green,blue = color.r,color.g,color.b
  3792.                     hue,sat,val = Color3.toHSV(color)
  3793.                     updateColor()
  3794.                 end
  3795.  
  3796.                 return newMt
  3797.             end
  3798.         end
  3799.  
  3800.         picker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil)
  3801.  
  3802.         local Npicker = ColorPicker.new()
  3803.         Npicker.Confirm = function(self,color,ctype) updateColors(color,ctype) wait() updatesaves() end
  3804.         Npicker.Cancel = function(self)
  3805.             updateColors(cache_currentShade1,shade1)
  3806.             updateColors(cache_currentShade2,shade2)
  3807.             updateColors(cache_currentShade3,shade3)
  3808.             updateColors(cache_currentText1,text1)
  3809.             updateColors(cache_currentText2,text2)
  3810.             updateColors(cache_currentScroll,scroll)
  3811.             wait()
  3812.             updatesaves()
  3813.         end
  3814.         Npicker.Default = function(self)
  3815.             updateColors(Color3.fromRGB(36, 36, 37),shade1)
  3816.             updateColors(Color3.fromRGB(46, 46, 47),shade2)
  3817.             updateColors(Color3.fromRGB(78, 78, 79),shade3)
  3818.             updateColors(Color3.new(1, 1, 1),text1)
  3819.             updateColors(Color3.new(0, 0, 0),text2)
  3820.             updateColors(Color3.fromRGB(78,78,79),scroll)
  3821.             wait()
  3822.             updatesaves()
  3823.         end
  3824.     else
  3825.         picker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil)
  3826.     end
  3827. end)
  3828.  
  3829.  
  3830. SettingsButton.MouseButton1Click:Connect(function()
  3831.     if SettingsOpen == false then SettingsOpen = true
  3832.         Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.5, true, nil)
  3833.         CMDsF.Visible = false
  3834.     else SettingsOpen = false
  3835.         CMDsF.Visible = true
  3836.         Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.5, true, nil)
  3837.     end
  3838. end)
  3839.  
  3840. On.MouseButton1Click:Connect(function()
  3841.     if isHidden == false then
  3842.         if StayOpen == false then
  3843.             StayOpen = true
  3844.             On.BackgroundTransparency = 0
  3845.         else
  3846.             StayOpen = false
  3847.             On.BackgroundTransparency = 1
  3848.         end
  3849.         updatesaves()
  3850.     end
  3851. end)
  3852.  
  3853. Clear.MouseButton1Down:Connect(function()
  3854.     for _, child in pairs(scroll_2:GetChildren()) do
  3855.         child:Destroy()
  3856.     end
  3857.     scroll_2.CanvasSize = UDim2.new(0, 0, 0, 10)
  3858. end)
  3859.  
  3860. Clear_2.MouseButton1Down:Connect(function()
  3861.     for _, child in pairs(scroll_3:GetChildren()) do
  3862.         child:Destroy()
  3863.     end
  3864.     scroll_3.CanvasSize = UDim2.new(0, 0, 0, 10)
  3865. end)
  3866.  
  3867. Toggle.MouseButton1Down:Connect(function()
  3868.     if logsEnabled then
  3869.         logsEnabled = false
  3870.         Toggle.Text = 'Disabled'
  3871.         updatesaves()
  3872.     else
  3873.         logsEnabled = true
  3874.         Toggle.Text = 'Enabled'
  3875.         updatesaves()
  3876.     end
  3877. end)
  3878.  
  3879. Toggle_2.MouseButton1Down:Connect(function()
  3880.     if jLogsEnabled then
  3881.         jLogsEnabled = false
  3882.         Toggle_2.Text = 'Disabled'
  3883.         updatesaves()
  3884.     else
  3885.         jLogsEnabled = true
  3886.         Toggle_2.Text = 'Enabled'
  3887.         updatesaves()
  3888.     end
  3889. end)
  3890.  
  3891. selectChat.MouseButton1Down:Connect(function()
  3892.     join.Visible = false
  3893.     chat.Visible = true
  3894.     table.remove(shade3,table.find(shade3,selectChat))
  3895.     table.remove(shade2,table.find(shade2,selectJoin))
  3896.     table.insert(shade2,selectChat)
  3897.     table.insert(shade3,selectJoin)
  3898.     selectJoin.BackgroundColor3 = currentShade3
  3899.     selectChat.BackgroundColor3 = currentShade2
  3900. end)
  3901.  
  3902. selectJoin.MouseButton1Down:Connect(function()
  3903.     chat.Visible = false
  3904.     join.Visible = true
  3905.     table.remove(shade3,table.find(shade3,selectJoin))
  3906.     table.remove(shade2,table.find(shade2,selectChat))
  3907.     table.insert(shade2,selectJoin)
  3908.     table.insert(shade3,selectChat)
  3909.     selectChat.BackgroundColor3 = currentShade3
  3910.     selectJoin.BackgroundColor3 = currentShade2
  3911. end)
  3912.  
  3913. if not writefileExploit() then
  3914.     notify("Saves", "Your exploit does not support read/write file. Your settings will not save.")
  3915. end
  3916.  
  3917. avatarcache = {}
  3918. function sendChatWebhook(player, message)
  3919.   if httprequest and vtype(logsWebhook, "string") then
  3920.     local id = player.UserId
  3921.     local avatar = avatarcache[id]
  3922.     if not avatar then
  3923.       local d = HttpService:JSONDecode(httprequest({
  3924.         Url = "https://thumbnails.roblox.com/v1/users/avatar-headshot?userIds=" .. id .. "&size=420x420&format=Png&isCircular=false",
  3925.         Method = "GET"
  3926.       }).Body)["data"]
  3927.       avatar = d and d[1].state == "Completed" and d[1].imageUrl or "https://files.catbox.moe/i968v2.jpg"
  3928.       avatarcache[id] = avatar
  3929.     end
  3930.     local log = HttpService:JSONEncode({
  3931.       content = message,
  3932.       avatar_url = avatar,
  3933.       username = formatUsername(player),
  3934.       allowed_mentions = {parse = {}}
  3935.     })
  3936.     httprequest({
  3937.       Url = logsWebhook,
  3938.       Method = "POST",
  3939.       Headers = {["Content-Type"] = "application/json"},
  3940.       Body = log
  3941.     })
  3942.   end
  3943. end
  3944.  
  3945. ChatLog = function(player)
  3946.     player.Chatted:Connect(function(message)
  3947.         if logsEnabled == true then
  3948.             CreateLabel(player.Name, message)
  3949.             sendChatWebhook(player, message)
  3950.         end
  3951.     end)
  3952. end
  3953.  
  3954. JoinLog = function(plr)
  3955.     if jLogsEnabled == true then
  3956.         CreateJoinLabel(plr,plr.UserId)
  3957.     end
  3958. end
  3959.  
  3960. CleanFileName = function(name)
  3961.     return tostring(name):gsub("[*\\?:<>|]+", ""):sub(1, 175)
  3962. end
  3963.  
  3964. SaveChatlogs.MouseButton1Down:Connect(function()
  3965.     if writefileExploit() then
  3966.         if #scroll_2:GetChildren() > 0 then
  3967.             notify("Loading",'Hold on a sec')
  3968.             local placeName = CleanFileName(MarketplaceService:GetProductInfo(PlaceId).Name)
  3969.             local writelogs = '-- Infinite Yield Chat logs for "'..placeName..'"\n'
  3970.             for _, child in pairs(scroll_2:GetChildren()) do
  3971.                 writelogs = writelogs..'\n'..child.Text
  3972.             end
  3973.             local writelogsFile = tostring(writelogs)
  3974.             local fileext = 0
  3975.             local function nameFile()
  3976.                 local file
  3977.                 pcall(function() file = readfile(placeName..' Chat Logs ('..fileext..').txt') end)
  3978.                 if file then
  3979.                     fileext = fileext+1
  3980.                     nameFile()
  3981.                 else
  3982.                     writefileCooldown(placeName..' Chat Logs ('..fileext..').txt', writelogsFile)
  3983.                 end
  3984.             end
  3985.             nameFile()
  3986.             notify('Chat Logs','Saved chat logs to the workspace folder within your exploit folder.')
  3987.         end
  3988.     else
  3989.         notify('Chat Logs','Your exploit does not support write file. You cannot save chat logs.')
  3990.     end
  3991. end)
  3992.  
  3993. if isLegacyChat then
  3994.     for _, plr in pairs(Players:GetPlayers()) do
  3995.         ChatLog(plr)
  3996.     end
  3997. end
  3998.  
  3999. Players.PlayerRemoving:Connect(function(player)
  4000.     if ESPenabled or CHMSenabled or COREGUI:FindFirstChild(player.Name..'_LC') then
  4001.         for i,v in pairs(COREGUI:GetChildren()) do
  4002.             if v.Name == player.Name..'_ESP' or v.Name == player.Name..'_LC' or v.Name == player.Name..'_CHMS' then
  4003.                 v:Destroy()
  4004.             end
  4005.         end
  4006.     end
  4007.     if viewing ~= nil and player == viewing then
  4008.         workspace.CurrentCamera.CameraSubject = Players.LocalPlayer.Character
  4009.         viewing = nil
  4010.         if viewDied then
  4011.             viewDied:Disconnect()
  4012.             viewChanged:Disconnect()
  4013.         end
  4014.         notify('Spectate','View turned off (player left)')
  4015.     end
  4016.     eventEditor.FireEvent("OnLeave", player.Name)
  4017. end)
  4018.  
  4019. Exit.MouseButton1Down:Connect(function()
  4020.     logs:TweenPosition(UDim2.new(0, 0, 1, 10), "InOut", "Quart", 0.3, true, nil)
  4021. end)
  4022.  
  4023. Hide.MouseButton1Down:Connect(function()
  4024.     if logs.Position ~= UDim2.new(0, 0, 1, -20) then
  4025.         logs:TweenPosition(UDim2.new(0, 0, 1, -20), "InOut", "Quart", 0.3, true, nil)
  4026.     else
  4027.         logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  4028.     end
  4029. end)
  4030.  
  4031. EventBind.MouseButton1Click:Connect(function()
  4032.     eventEditor.Frame:TweenPosition(UDim2.new(0.5,-175,0.5,-101), "InOut", "Quart", 0.5, true, nil)
  4033. end)
  4034.  
  4035. Keybinds.MouseButton1Click:Connect(function()
  4036.     KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  4037.     wait(0.5)
  4038.     SettingsHolder.Visible = false
  4039. end)
  4040.  
  4041. Close.MouseButton1Click:Connect(function()
  4042.     SettingsHolder.Visible = true
  4043.     KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  4044. end)
  4045.  
  4046. Keybinds.MouseButton1Click:Connect(function()
  4047.     KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  4048.     wait(0.5)
  4049.     SettingsHolder.Visible = false
  4050. end)
  4051.  
  4052. Add.MouseButton1Click:Connect(function()
  4053.     KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0, 260), "InOut", "Quart", 0.5, true, nil)
  4054. end)
  4055.  
  4056. Delete.MouseButton1Click:Connect(function()
  4057.     binds = {}
  4058.     refreshbinds()
  4059.     updatesaves()
  4060.     notify('Keybinds Updated','Removed all keybinds')
  4061. end)
  4062.  
  4063. Close_2.MouseButton1Click:Connect(function()
  4064.     SettingsHolder.Visible = true
  4065.     AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  4066. end)
  4067.  
  4068. Aliases.MouseButton1Click:Connect(function()
  4069.     AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  4070.     wait(0.5)
  4071.     SettingsHolder.Visible = false
  4072. end)
  4073.  
  4074. Close_3.MouseButton1Click:Connect(function()
  4075.     SettingsHolder.Visible = true
  4076.     PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  4077. end)
  4078.  
  4079. Positions.MouseButton1Click:Connect(function()
  4080.     PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  4081.     wait(0.5)
  4082.     SettingsHolder.Visible = false
  4083. end)
  4084.  
  4085. local selectionBox = Instance.new("SelectionBox")
  4086. selectionBox.Name = randomString()
  4087. selectionBox.Color3 = Color3.new(255,255,255)
  4088. selectionBox.Adornee = nil
  4089. selectionBox.Parent = PARENT
  4090.  
  4091. local selected = Instance.new("SelectionBox")
  4092. selected.Name = randomString()
  4093. selected.Color3 = Color3.new(0,166,0)
  4094. selected.Adornee = nil
  4095. selected.Parent = PARENT
  4096.  
  4097. local ActivateHighlight = nil
  4098. local ClickSelect = nil
  4099. function selectPart()
  4100.     ToPartFrame:TweenPosition(UDim2.new(0.5, -180, 0, 335), "InOut", "Quart", 0.5, true, nil)
  4101.     local function HighlightPart()
  4102.         if selected.Adornee ~= IYMouse.Target then
  4103.             selectionBox.Adornee = IYMouse.Target
  4104.         else
  4105.             selectionBox.Adornee = nil
  4106.         end
  4107.     end
  4108.     ActivateHighlight = IYMouse.Move:Connect(HighlightPart)
  4109.     local function SelectPart()
  4110.         if IYMouse.Target ~= nil then
  4111.             selected.Adornee = IYMouse.Target
  4112.             Path.Text = getHierarchy(IYMouse.Target)
  4113.         end
  4114.     end
  4115.     ClickSelect = IYMouse.Button1Down:Connect(SelectPart)
  4116. end
  4117.  
  4118. Part.MouseButton1Click:Connect(function()
  4119.     selectPart()
  4120. end)
  4121.  
  4122. Exit_4.MouseButton1Click:Connect(function()
  4123.     ToPartFrame:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  4124.     if ActivateHighlight then
  4125.         ActivateHighlight:Disconnect()
  4126.     end
  4127.     if ClickSelect then
  4128.         ClickSelect:Disconnect()
  4129.     end
  4130.     selectionBox.Adornee = nil
  4131.     selected.Adornee = nil
  4132.     Path.Text = ""
  4133. end)
  4134.  
  4135. CopyPath.MouseButton1Click:Connect(function()
  4136.     if Path.Text ~= "" then
  4137.         toClipboard(Path.Text)
  4138.     else
  4139.         notify('Copy Path','Select a part to copy its path')
  4140.     end
  4141. end)
  4142.  
  4143. ChoosePart.MouseButton1Click:Connect(function()
  4144.     if Path.Text ~= "" then
  4145.         local tpNameExt = ''
  4146.         local function handleWpNames()
  4147.             local FoundDupe = false
  4148.             for i,v in pairs(pWayPoints) do
  4149.                 if v.NAME:lower() == selected.Adornee.Name:lower()..tpNameExt then
  4150.                     FoundDupe = true
  4151.                 end
  4152.             end
  4153.             if not FoundDupe then
  4154.                 notify('Modified Waypoints',"Created waypoint: "..selected.Adornee.Name..tpNameExt)
  4155.                 pWayPoints[#pWayPoints + 1] = {NAME = selected.Adornee.Name..tpNameExt, COORD = {selected.Adornee}}
  4156.             else
  4157.                 if isNumber(tpNameExt) then
  4158.                     tpNameExt = tpNameExt+1
  4159.                 else
  4160.                     tpNameExt = 1
  4161.                 end
  4162.                 handleWpNames()
  4163.             end
  4164.         end
  4165.         handleWpNames()
  4166.         refreshwaypoints()
  4167.     else
  4168.         notify('Part Selection','Select a part first')
  4169.     end
  4170. end)
  4171.  
  4172. cmds={}
  4173. customAlias = {}
  4174. Delete_3.MouseButton1Click:Connect(function()
  4175.     customAlias = {}
  4176.     aliases = {}
  4177.     notify('Aliases Modified','Removed all aliases')
  4178.     updatesaves()
  4179.     refreshaliases()
  4180. end)
  4181.  
  4182. PrefixBox:GetPropertyChangedSignal("Text"):Connect(function()
  4183.     prefix = PrefixBox.Text
  4184.     Cmdbar.PlaceholderText = "Command Bar ("..prefix..")"
  4185.     updatesaves()
  4186. end)
  4187.  
  4188. function CamViewport()
  4189.     if workspace.CurrentCamera then
  4190.         return workspace.CurrentCamera.ViewportSize.X
  4191.     end
  4192. end
  4193.  
  4194. function UpdateToViewport()
  4195.     if Holder.Position.X.Offset < -CamViewport() then
  4196.         Holder:TweenPosition(UDim2.new(1, -CamViewport(), Holder.Position.Y.Scale, Holder.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
  4197.         Notification:TweenPosition(UDim2.new(1, -CamViewport() + 250, Notification.Position.Y.Scale, Notification.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
  4198.     end
  4199. end
  4200. CameraChanged = workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):Connect(UpdateToViewport)
  4201.  
  4202. function updateCamera(child, parent)
  4203.     if parent ~= workspace then
  4204.         CamMoved:Disconnect()
  4205.         CameraChanged:Disconnect()
  4206.         repeat wait() until workspace.CurrentCamera
  4207.         CameraChanged = workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):Connect(UpdateToViewport)
  4208.         CamMoved = workspace.CurrentCamera.AncestryChanged:Connect(updateCamera)
  4209.     end
  4210. end
  4211. CamMoved = workspace.CurrentCamera.AncestryChanged:Connect(updateCamera)
  4212.  
  4213. function dragMain(dragpoint,gui)
  4214.     task.spawn(function()
  4215.         local dragging
  4216.         local dragInput
  4217.         local dragStart = Vector3.new(0,0,0)
  4218.         local startPos
  4219.         local function update(input)
  4220.             local pos = -250
  4221.             local delta = input.Position - dragStart
  4222.             if startPos.X.Offset + delta.X <= -500 then
  4223.                 local Position = UDim2.new(1, -250, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  4224.                 TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position}):Play()
  4225.                 pos = 250
  4226.             else
  4227.                 local Position = UDim2.new(1, -500, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  4228.                 TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position}):Play()
  4229.                 pos = -250
  4230.             end
  4231.             if startPos.X.Offset + delta.X <= -250 and -CamViewport() <= startPos.X.Offset + delta.X then
  4232.                 local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, gui.Position.Y.Scale, gui.Position.Y.Offset)
  4233.                 TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  4234.                 local Position2 = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X + pos, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  4235.                 TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position2}):Play()
  4236.             elseif startPos.X.Offset + delta.X > -500 then
  4237.                 local Position = UDim2.new(1, -250, gui.Position.Y.Scale, gui.Position.Y.Offset)
  4238.                 TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  4239.             elseif -CamViewport() > startPos.X.Offset + delta.X then
  4240.                 gui:TweenPosition(UDim2.new(1, -CamViewport(), gui.Position.Y.Scale, gui.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
  4241.                 local Position = UDim2.new(1, -CamViewport(), gui.Position.Y.Scale, gui.Position.Y.Offset)
  4242.                 TweenService:Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  4243.                 local Position2 = UDim2.new(1, -CamViewport() + 250, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  4244.                 TweenService:Create(Notification, TweenInfo.new(.20), {Position = Position2}):Play()
  4245.             end
  4246.         end
  4247.         dragpoint.InputBegan:Connect(function(input)
  4248.             if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  4249.                 dragging = true
  4250.                 dragStart = input.Position
  4251.                 startPos = gui.Position
  4252.  
  4253.                 input.Changed:Connect(function()
  4254.                     if input.UserInputState == Enum.UserInputState.End then
  4255.                         dragging = false
  4256.                     end
  4257.                 end)
  4258.             end
  4259.         end)
  4260.         dragpoint.InputChanged:Connect(function(input)
  4261.             if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  4262.                 dragInput = input
  4263.             end
  4264.         end)
  4265.         UserInputService.InputChanged:Connect(function(input)
  4266.             if input == dragInput and dragging then
  4267.                 update(input)
  4268.             end
  4269.         end)
  4270.     end)
  4271. end
  4272.  
  4273. dragMain(Title,Holder)
  4274.  
  4275. Match = function(name,str)
  4276.     str = str:gsub("%W", "%%%1")
  4277.     return name:lower():find(str:lower()) and true
  4278. end
  4279.  
  4280. local canvasPos = Vector2.new(0,0)
  4281. local topCommand = nil
  4282. IndexContents = function(str,bool,cmdbar,Ianim)
  4283.     CMDsF.CanvasPosition = Vector2.new(0,0)
  4284.     local SizeY = 0
  4285.     local indexnum = 0
  4286.     local frame = CMDsF
  4287.     topCommand = nil
  4288.     local chunks = {}
  4289.     if str:sub(#str,#str) == "\\" then str = "" end
  4290.     for w in string.gmatch(str,"[^\\]+") do
  4291.         table.insert(chunks,w)
  4292.     end
  4293.     if #chunks > 0 then str = chunks[#chunks] end
  4294.     if str:sub(1,1) == "!" then str = str:sub(2) end
  4295.     for i,v in next, frame:GetChildren() do
  4296.         if v:IsA("TextButton") then
  4297.             if bool then
  4298.                 if Match(v.Text,str) then
  4299.                     indexnum = indexnum + 1
  4300.                     v.Visible = true
  4301.                     if topCommand == nil then
  4302.                         topCommand = v.Text
  4303.                     end
  4304.                 else
  4305.                     v.Visible = false
  4306.                 end
  4307.             else
  4308.                 v.Visible = true
  4309.                 if topCommand == nil then
  4310.                     topCommand = v.Text
  4311.                 end
  4312.             end
  4313.         end
  4314.     end
  4315.     frame.CanvasSize = UDim2.new(0,0,0,cmdListLayout.AbsoluteContentSize.Y)
  4316.     if not Ianim then
  4317.         if indexnum == 0 or string.find(str, " ") then
  4318.             if not cmdbar then
  4319.                 minimizeHolder()
  4320.             elseif cmdbar then
  4321.                 cmdbarHolder()
  4322.             end
  4323.         else
  4324.             maximizeHolder()
  4325.         end
  4326.     else
  4327.         minimizeHolder()
  4328.     end
  4329. end
  4330.  
  4331. task.spawn(function()
  4332.     if not isLegacyChat then return end
  4333.     local chatbox
  4334.     local success, result = pcall(function() chatbox = PlayerGui:WaitForChild("Chat").Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar end)
  4335.     if success then
  4336.         local function chatboxFocused()
  4337.             canvasPos = CMDsF.CanvasPosition
  4338.         end
  4339.         local chatboxFocusedC = chatbox.Focused:Connect(chatboxFocused)
  4340.  
  4341.         local function Index()
  4342.             if chatbox.Text:lower():sub(1,1) == prefix then
  4343.                 if SettingsOpen == true then
  4344.                     wait(0.2)
  4345.                     CMDsF.Visible = true
  4346.                     Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil)
  4347.                 end
  4348.                 IndexContents(PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(2),true)
  4349.             else
  4350.                 minimizeHolder()
  4351.                 if SettingsOpen == true then
  4352.                     wait(0.2)
  4353.                     Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.2, true, nil)
  4354.                     CMDsF.Visible = false
  4355.                 end
  4356.             end
  4357.         end
  4358.         local chatboxFunc = chatbox:GetPropertyChangedSignal("Text"):Connect(Index)
  4359.  
  4360.         local function chatboxFocusLost(enterpressed)
  4361.             if not enterpressed or chatbox.Text:lower():sub(1,1) ~= prefix then
  4362.                 IndexContents('',true)
  4363.             end
  4364.             CMDsF.CanvasPosition = canvasPos
  4365.             minimizeHolder()
  4366.         end
  4367.         local chatboxFocusLostC = chatbox.FocusLost:Connect(chatboxFocusLost)
  4368.  
  4369.         PlayerGui:WaitForChild("Chat").Frame.ChatBarParentFrame.ChildAdded:Connect(function(newbar)
  4370.             wait()
  4371.             if newbar:FindFirstChild('BoxFrame') then
  4372.                 chatbox = PlayerGui:WaitForChild("Chat").Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar
  4373.                 if chatboxFocusedC then chatboxFocusedC:Disconnect() end
  4374.                 chatboxFocusedC = chatbox.Focused:Connect(chatboxFocused)
  4375.                 if chatboxFunc then chatboxFunc:Disconnect() end
  4376.                 chatboxFunc = chatbox:GetPropertyChangedSignal("Text"):Connect(Index)
  4377.                 if chatboxFocusLostC then chatboxFocusLostC:Disconnect() end
  4378.                 chatboxFocusLostC = chatbox.FocusLost:Connect(chatboxFocusLost)
  4379.             end
  4380.         end)
  4381.         --else
  4382.         --print('Custom chat detected. Will not provide suggestions for commands typed in the chat.')
  4383.     end
  4384. end)
  4385.  
  4386. function autoComplete(str,curText)
  4387.     local endingChar = {"[", "/", "(", " "}
  4388.     local stop = 0
  4389.     for i=1,#str do
  4390.         local c = str:sub(i,i)
  4391.         if table.find(endingChar, c) then
  4392.             stop = i
  4393.             break
  4394.         end
  4395.     end
  4396.     curText = curText or Cmdbar.Text
  4397.     local subPos = 0
  4398.     local pos = 1
  4399.     local findRes = string.find(curText,"\\",pos)
  4400.     while findRes do
  4401.         subPos = findRes
  4402.         pos = findRes+1
  4403.         findRes = string.find(curText,"\\",pos)
  4404.     end
  4405.     if curText:sub(subPos+1,subPos+1) == "!" then subPos = subPos + 1 end
  4406.     Cmdbar.Text = curText:sub(1,subPos) .. str:sub(1, stop - 1)..' '
  4407.     RunService.RenderStepped:Wait()
  4408.     Cmdbar.Text = Cmdbar.Text:gsub( '\t', '' )
  4409.     Cmdbar.CursorPosition = #Cmdbar.Text+1--1020
  4410. end
  4411.  
  4412. CMDs = {}
  4413. CMDs[#CMDs + 1] = {NAME = 'discord / support / help', DESC = 'Invite to the Infinite Yield support server.'}
  4414. CMDs[#CMDs + 1] = {NAME = 'guiscale [number]', DESC = 'Changes the size of the gui. [number] accepts both decimals and whole numbers. Min is 0.4 and Max is 2'}
  4415. CMDs[#CMDs + 1] = {NAME = 'console', DESC = 'Loads Roblox console'}
  4416. CMDs[#CMDs + 1] = {NAME = 'oldconsole', DESC = 'Loads old Roblox console'}
  4417. CMDs[#CMDs + 1] = {NAME = 'explorer / dex', DESC = 'Opens DEX by Moon'}
  4418. CMDs[#CMDs + 1] = {NAME = 'olddex / odex', DESC = 'Opens Old DEX by Moon'}
  4419. CMDs[#CMDs + 1] = {NAME = 'remotespy / rspy', DESC = 'Opens Simple Spy V3'}
  4420. CMDs[#CMDs + 1] = {NAME = 'audiologger / alogger', DESC = 'Opens Edges audio logger'}
  4421. CMDs[#CMDs + 1] = {NAME = 'serverinfo / info', DESC = 'Gives you info about the server'}
  4422. CMDs[#CMDs + 1] = {NAME = 'jobid', DESC = 'Copies the games JobId to your clipboard'}
  4423. CMDs[#CMDs + 1] = {NAME = 'notifyjobid', DESC = 'Notifies you the games JobId'}
  4424. CMDs[#CMDs + 1] = {NAME = 'rejoin / rj', DESC = 'Makes you rejoin the game'}
  4425. CMDs[#CMDs + 1] = {NAME = 'autorejoin / autorj', DESC = 'Automatically rejoins the server if you get kicked/disconnected'}
  4426. CMDs[#CMDs + 1] = {NAME = 'serverhop / shop', DESC = 'Teleports you to a different server'}
  4427. CMDs[#CMDs + 1] = {NAME = 'gameteleport / gametp [place ID]', DESC = 'Joins a game by ID'}
  4428. CMDs[#CMDs + 1] = {NAME = 'antiidle / antiafk', DESC = 'Prevents the game from kicking you for being idle/afk'}
  4429. CMDs[#CMDs + 1] = {NAME = 'datalimit [num]', DESC = 'Set outgoing KBPS limit'}
  4430. CMDs[#CMDs + 1] = {NAME = 'replicationlag / backtrack [num]', DESC = 'Set IncomingReplicationLag'}
  4431. CMDs[#CMDs + 1] = {NAME = 'creatorid / creator', DESC = 'Notifies you the creators ID'}
  4432. CMDs[#CMDs + 1] = {NAME = 'copycreatorid / copycreator', DESC = 'Copies the creators ID to your clipboard'}
  4433. CMDs[#CMDs + 1] = {NAME = 'setcreatorid / setcreator', DESC = 'Sets your userid to the creators ID'}
  4434. CMDs[#CMDs + 1] = {NAME = 'noprompts', DESC = 'Prevents the game from showing you purchase/premium prompts'}
  4435. CMDs[#CMDs + 1] = {NAME = 'showprompts', DESC = 'Allows the game to show purchase/premium prompts again'}
  4436. CMDs[#CMDs + 1] = {NAME = 'enable [inventory/playerlist/chat/reset/emotes/all]', DESC = 'Toggles visibility of coregui items'}
  4437. CMDs[#CMDs + 1] = {NAME = 'disable [inventory/playerlist/chat/reset/emotes/all]', DESC = 'Toggles visibility of coregui items'}
  4438. CMDs[#CMDs + 1] = {NAME = 'showguis', DESC = 'Shows any invisible GUIs'}
  4439. CMDs[#CMDs + 1] = {NAME = 'unshowguis', DESC = 'Undoes showguis'}
  4440. CMDs[#CMDs + 1] = {NAME = 'hideguis', DESC = 'Hides any GUIs in PlayerGui'}
  4441. CMDs[#CMDs + 1] = {NAME = 'unhideguis', DESC = 'Undoes hideguis'}
  4442. CMDs[#CMDs + 1] = {NAME = 'guidelete', DESC = 'Enables backspace to delete GUI'}
  4443. CMDs[#CMDs + 1] = {NAME = 'unguidelete / noguidelete', DESC = 'Disables guidelete'}
  4444. CMDs[#CMDs + 1] = {NAME = 'hideiy', DESC = 'Hides the main IY GUI'}
  4445. CMDs[#CMDs + 1] = {NAME = 'showiy / unhideiy', DESC = 'Shows IY again'}
  4446. CMDs[#CMDs + 1] = {NAME = 'keepiy', DESC = 'Auto execute IY when you teleport through servers'}
  4447. CMDs[#CMDs + 1] = {NAME = 'unkeepiy', DESC = 'Disable keepiy'}
  4448. CMDs[#CMDs + 1] = {NAME = 'togglekeepiy', DESC = 'Toggles keepiy'}
  4449. CMDs[#CMDs + 1] = {NAME = 'savegame / saveplace', DESC = 'Uses saveinstance to save the game'}
  4450. CMDs[#CMDs + 1] = {NAME = 'clearerror', DESC = 'Clears the annoying box and blur when a game kicks you'}
  4451. CMDs[#CMDs + 1] = {NAME = 'clientantikick / antikick (CLIENT)', DESC = 'Prevents localscripts from kicking you'}
  4452. CMDs[#CMDs + 1] = {NAME = 'clientantiteleport / antiteleport (CLIENT)', DESC = 'Prevents localscripts from teleporting you'}
  4453. CMDs[#CMDs + 1] = {NAME = 'allowrejoin / allowrj [true/false] (CLIENT)', DESC = 'Changes if antiteleport allows you to rejoin or not'}
  4454. CMDs[#CMDs + 1] = {NAME = 'cancelteleport / canceltp', DESC = 'Cancels teleports in progress'}
  4455. CMDs[#CMDs + 1] = {NAME = 'volume / vol [0-10]', DESC = 'Adjusts your game volume on a scale of 0 to 10'}
  4456. CMDs[#CMDs + 1] = {NAME = 'antilag / boostfps / lowgraphics', DESC = 'Lowers game quality to boost FPS'}
  4457. CMDs[#CMDs + 1] = {NAME = 'record / rec', DESC = 'Starts Roblox recorder'}
  4458. CMDs[#CMDs + 1] = {NAME = 'screenshot / scrnshot', DESC = 'Takes a screenshot'}
  4459. CMDs[#CMDs + 1] = {NAME = 'togglefullscreen / togglefs', DESC = 'Toggles fullscreen'}
  4460. CMDs[#CMDs + 1] = {NAME = 'notify [text]', DESC = 'Sends you a notification with the provided text'}
  4461. CMDs[#CMDs + 1] = {NAME = 'lastcommand / lastcmd', DESC = 'Executes the previous command used'}
  4462. CMDs[#CMDs + 1] = {NAME = 'exit', DESC = 'Kills roblox process'}
  4463. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4464. CMDs[#CMDs + 1] = {NAME = 'noclip', DESC = 'Go through objects'}
  4465. CMDs[#CMDs + 1] = {NAME = 'unnoclip / clip', DESC = 'Disables noclip'}
  4466. CMDs[#CMDs + 1] = {NAME = 'fly [speed]', DESC = 'Makes you fly'}
  4467. CMDs[#CMDs + 1] = {NAME = 'unfly', DESC = 'Disables fly'}
  4468. CMDs[#CMDs + 1] = {NAME = 'flyspeed [num]', DESC = 'Set fly speed (default is 20)'}
  4469. CMDs[#CMDs + 1] = {NAME = 'vehiclefly / vfly [speed]', DESC = 'Makes you fly in a vehicle'}
  4470. CMDs[#CMDs + 1] = {NAME = 'unvehiclefly / unvfly', DESC = 'Disables vehicle fly'}
  4471. CMDs[#CMDs + 1] = {NAME = 'vehicleflyspeed  / vflyspeed [num]', DESC = 'Set vehicle fly speed'}
  4472. CMDs[#CMDs + 1] = {NAME = 'cframefly / cfly [speed]', DESC = 'Makes you fly, bypassing some anti cheats (works on mobile)'}
  4473. CMDs[#CMDs + 1] = {NAME = 'uncframefly / uncfly', DESC = 'Disables cfly'}
  4474. CMDs[#CMDs + 1] = {NAME = 'cframeflyspeed  / cflyspeed [num]', DESC = 'Sets cfly speed'}
  4475. CMDs[#CMDs + 1] = {NAME = 'qefly [true / false]', DESC = 'Enables or disables the Q and E hotkeys for fly'}
  4476. CMDs[#CMDs + 1] = {NAME = 'vehiclenoclip / vnoclip', DESC = 'Turns off vehicle collision'}
  4477. CMDs[#CMDs + 1] = {NAME = 'vehicleclip / vclip / unvnoclip', DESC = 'Enables vehicle collision'}
  4478. CMDs[#CMDs + 1] = {NAME = 'float /  platform', DESC = 'Spawns a platform beneath you causing you to float'}
  4479. CMDs[#CMDs + 1] = {NAME = 'unfloat / noplatform', DESC = 'Removes the platform'}
  4480. CMDs[#CMDs + 1] = {NAME = 'swim', DESC = 'Allows you to swim in the air'}
  4481. CMDs[#CMDs + 1] = {NAME = 'unswim / noswim', DESC = 'Stops you from swimming everywhere'}
  4482. CMDs[#CMDs + 1] = {NAME = 'toggleswim', DESC = 'Toggles swimming'}
  4483. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4484. CMDs[#CMDs + 1] = {NAME = 'setwaypoint / swp [name]', DESC = 'Sets a waypoint at your position'}
  4485. CMDs[#CMDs + 1] = {NAME = 'waypointpos / wpp [name] [X Y Z]', DESC = 'Sets a waypoint with specified coordinates'}
  4486. CMDs[#CMDs + 1] = {NAME = 'waypoints', DESC = 'Shows a list of currently active waypoints'}
  4487. CMDs[#CMDs + 1] = {NAME = 'showwaypoints / showwp', DESC = 'Shows all currently set waypoints'}
  4488. CMDs[#CMDs + 1] = {NAME = 'hidewaypoints / hidewp', DESC = 'Hides shown waypoints'}
  4489. CMDs[#CMDs + 1] = {NAME = 'waypoint / wp [name]', DESC = 'Teleports player to a waypoint'}
  4490. CMDs[#CMDs + 1] = {NAME = 'tweenwaypoint / twp [name]', DESC = 'Tweens player to a waypoint'}
  4491. CMDs[#CMDs + 1] = {NAME = 'walktowaypoint / wtwp [name]', DESC = 'Walks player to a waypoint'}
  4492. CMDs[#CMDs + 1] = {NAME = 'deletewaypoint / dwp [name]', DESC = 'Deletes a waypoint'}
  4493. CMDs[#CMDs + 1] = {NAME = 'clearwaypoints / cwp', DESC = 'Clears all waypoints'}
  4494. CMDs[#CMDs + 1] = {NAME = 'cleargamewaypoints / cgamewp', DESC = 'Clears all waypoints for the game you are in'}
  4495. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4496. CMDs[#CMDs + 1] = {NAME = 'goto [player]', DESC = 'Go to a player'}
  4497. CMDs[#CMDs + 1] = {NAME = 'tweengoto / tgoto [player]', DESC = 'Tween to a player (bypasses some anti cheats)'}
  4498. CMDs[#CMDs + 1] = {NAME = 'tweenspeed / tspeed [num]', DESC = 'Sets how fast all tween commands go (default is 1)'}
  4499. CMDs[#CMDs + 1] = {NAME = 'vehiclegoto / vgoto [player]', DESC = 'Go to a player while in a vehicle'}
  4500. CMDs[#CMDs + 1] = {NAME = 'loopgoto [player] [distance] [delay]', DESC = 'Loop teleport to a player'}
  4501. CMDs[#CMDs + 1] = {NAME = 'unloopgoto', DESC = 'Stops teleporting you to a player'}
  4502. CMDs[#CMDs + 1] = {NAME = 'pulsetp / ptp [player] [seconds]', DESC = 'Teleports you to a player for a specified amount of time'}
  4503. CMDs[#CMDs + 1] = {NAME = 'clientbring / cbring [player] (CLIENT)', DESC = 'Bring a player'}
  4504. CMDs[#CMDs + 1] = {NAME = 'loopbring [player] [distance] [delay] (CLIENT)', DESC = 'Loop brings a player to you (useful for killing)'}
  4505. CMDs[#CMDs + 1] = {NAME = 'unloopbring [player]', DESC = 'Undoes loopbring'}
  4506. CMDs[#CMDs + 1] = {NAME = 'freeze / fr [player] (CLIENT)', DESC = 'Freezes a player'}
  4507. CMDs[#CMDs + 1] = {NAME = 'freezeanims', DESC = 'Freezes your animations / pauses your animations - Does not work on default animations'}
  4508. CMDs[#CMDs + 1] = {NAME = 'unfreezeanims', DESC = 'Unfreezes your animations / plays your animations'}
  4509. CMDs[#CMDs + 1] = {NAME = 'thaw / unfr [player] (CLIENT)', DESC = 'Unfreezes a player'}
  4510. CMDs[#CMDs + 1] = {NAME = 'tpposition / tppos [X Y Z]', DESC = 'Teleports you to certain coordinates'}
  4511. CMDs[#CMDs + 1] = {NAME = 'tweentpposition / ttppos [X Y Z]', DESC = 'Tween to coordinates (bypasses some anti cheats)'}
  4512. CMDs[#CMDs + 1] = {NAME = 'offset [X Y Z]', DESC = 'Offsets you by certain coordinates'}
  4513. CMDs[#CMDs + 1] = {NAME = 'tweenoffset / toffset [X Y Z]', DESC = 'Tween offset (bypasses some anti cheats)'}
  4514. CMDs[#CMDs + 1] = {NAME = 'notifyposition / notifypos [player]', DESC = 'Notifies you the coordinates of a character'}
  4515. CMDs[#CMDs + 1] = {NAME = 'copyposition / copypos [player]', DESC = 'Copies the coordinates of a character to your clipboard'}
  4516. CMDs[#CMDs + 1] = {NAME = 'walktoposition / walktopos [X Y Z]', DESC = 'Makes you walk to a coordinate'}
  4517. CMDs[#CMDs + 1] = {NAME = 'spawnpoint / spawn [delay]', DESC = 'Sets a position where you will spawn'}
  4518. CMDs[#CMDs + 1] = {NAME = 'nospawnpoint / nospawn', DESC = 'Removes your custom spawn point'}
  4519. CMDs[#CMDs + 1] = {NAME = 'flashback / diedtp', DESC = 'Teleports you to where you last died'}
  4520. CMDs[#CMDs + 1] = {NAME = 'walltp', DESC = 'Teleports you above/over any wall you run into'}
  4521. CMDs[#CMDs + 1] = {NAME = 'nowalltp / unwalltp', DESC = 'Disables walltp'}
  4522. CMDs[#CMDs + 1] = {NAME = 'teleporttool / tptool', DESC = 'Gives you a teleport tool'}
  4523. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4524. CMDs[#CMDs + 1] = {NAME = 'logs', DESC = 'Opens the logs GUI'}
  4525. CMDs[#CMDs + 1] = {NAME = 'chatlogs / clogs', DESC = 'Log what people say or whisper'}
  4526. CMDs[#CMDs + 1] = {NAME = 'joinlogs / jlogs', DESC = 'Log when people join'}
  4527. CMDs[#CMDs + 1] = {NAME = 'chatlogswebhook / logswebhook [url]', DESC = 'Set a discord webhook for chatlogs to go to (provide no url to disable this)'}
  4528. CMDs[#CMDs + 1] = {NAME = 'antichatlogs / antichatlogger', DESC = 'Prevents Roblox from banning you for your silly chat messages (game needs the legacy chat)'}
  4529. CMDs[#CMDs + 1] = {NAME = 'chat / say [text]', DESC = 'Makes you chat a string (possible mute bypass)'}
  4530. CMDs[#CMDs + 1] = {NAME = 'spam [text]', DESC = 'Makes you spam the chat'}
  4531. CMDs[#CMDs + 1] = {NAME = 'unspam', DESC = 'Turns off spam'}
  4532. CMDs[#CMDs + 1] = {NAME = 'whisper / pm [player] [text]', DESC = 'Makes you whisper a string to someone (possible mute bypass)'}
  4533. CMDs[#CMDs + 1] = {NAME = 'pmspam [player] [text]', DESC = 'Makes you spam a players whispers'}
  4534. CMDs[#CMDs + 1] = {NAME = 'unpmspam [player]', DESC = 'Turns off pm spam'}
  4535. CMDs[#CMDs + 1] = {NAME = 'spamspeed [num]', DESC = 'How quickly you spam (default is 1)'}
  4536. CMDs[#CMDs + 1] = {NAME = 'bubblechat (CLIENT)', DESC = 'Enables bubble chat for your client'}
  4537. CMDs[#CMDs + 1] = {NAME = 'unbubblechat / nobubblechat', DESC = 'Disables the bubblechat command'}
  4538. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4539. CMDs[#CMDs + 1] = {NAME = 'esp', DESC = 'View all players and their status'}
  4540. CMDs[#CMDs + 1] = {NAME = 'espteam', DESC = 'ESP but teammates are green and bad guys are red'}
  4541. CMDs[#CMDs + 1] = {NAME = 'noesp / unesp / unespteam', DESC = 'Removes ESP'}
  4542. CMDs[#CMDs + 1] = {NAME = 'esptransparency [number]', DESC = 'Changes the transparency of ESP related commands'}
  4543. CMDs[#CMDs + 1] = {NAME = 'partesp [part name]', DESC = 'Highlights a part'}
  4544. CMDs[#CMDs + 1] = {NAME = 'unpartesp / nopartesp [part name]', DESC = 'removes partesp'}
  4545. CMDs[#CMDs + 1] = {NAME = 'chams', DESC = 'ESP but without text in the way'}
  4546. CMDs[#CMDs + 1] = {NAME = 'nochams / unchams', DESC = 'Removes chams'}
  4547. CMDs[#CMDs + 1] = {NAME = 'locate [player]', DESC = 'View a single player and their status'}
  4548. CMDs[#CMDs + 1] = {NAME = 'unlocate / nolocate [player]', DESC = 'Removes locate'}
  4549. CMDs[#CMDs + 1] = {NAME = 'xray', DESC = 'Makes all parts in workspace transparent'}
  4550. CMDs[#CMDs + 1] = {NAME = 'unxray / noxray', DESC = 'Restores transparency to all parts in workspace'}
  4551. CMDs[#CMDs + 1] = {NAME = 'loopxray', DESC = 'Makes all parts in workspace transparent but looped'}
  4552. CMDs[#CMDs + 1] = {NAME = 'unloopxray', DESC = 'Unloops xray'}
  4553. CMDs[#CMDs + 1] = {NAME = 'togglexray', DESC = 'Toggles xray'}
  4554. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4555. CMDs[#CMDs + 1] = {NAME = 'spectate / view [player]', DESC = 'View a player'}
  4556. CMDs[#CMDs + 1] = {NAME = 'viewpart / viewp [part name]', DESC = 'View a part'}
  4557. CMDs[#CMDs + 1] = {NAME = 'unspectate / unview', DESC = 'Stops viewing player'}
  4558. CMDs[#CMDs + 1] = {NAME = 'freecam / fc', DESC = 'Allows you to freely move camera around the game'}
  4559. CMDs[#CMDs + 1] = {NAME = 'freecampos / fcpos [X Y Z]', DESC = 'Moves / opens freecam in a certain position'}
  4560. CMDs[#CMDs + 1] = {NAME = 'freecamwaypoint / fcwp [name]', DESC = 'Moves / opens freecam to a waypoint'}
  4561. CMDs[#CMDs + 1] = {NAME = 'freecamgoto / fcgoto / fctp [player]', DESC = 'Moves / opens freecam to a player'}
  4562. CMDs[#CMDs + 1] = {NAME = 'unfreecam / unfc', DESC = 'Disables freecam'}
  4563. CMDs[#CMDs + 1] = {NAME = 'freecamspeed / fcspeed [num]', DESC = 'Adjusts freecam speed (default is 1)'}
  4564. CMDs[#CMDs + 1] = {NAME = 'notifyfreecamposition / notifyfcpos', DESC = 'Noitifies you your freecam coordinates'}
  4565. CMDs[#CMDs + 1] = {NAME = 'copyfreecamposition / copyfcpos', DESC = 'Copies your freecam coordinates to your clipboard'}
  4566. CMDs[#CMDs + 1] = {NAME = 'gotocamera / gotocam', DESC = 'Teleports you to the location of your camera'}
  4567. CMDs[#CMDs + 1] = {NAME = 'tweengotocam / tgotocam', DESC = 'Tweens you to the location of your camera'}
  4568. CMDs[#CMDs + 1] = {NAME = 'firstp', DESC = 'Forces camera to go into first person'}
  4569. CMDs[#CMDs + 1] = {NAME = 'thirdp', DESC = 'Allows camera to go into third person'}
  4570. CMDs[#CMDs + 1] = {NAME = 'noclipcam / nccam', DESC = 'Allows camera to go through objects like walls'}
  4571. CMDs[#CMDs + 1] = {NAME = 'maxzoom [num]', DESC = 'Maximum camera zoom'}
  4572. CMDs[#CMDs + 1] = {NAME = 'minzoom [num]', DESC = 'Minimum camera zoom'}
  4573. CMDs[#CMDs + 1] = {NAME = 'camdistance [num]', DESC = 'Changes camera distance from your player'}
  4574. CMDs[#CMDs + 1] = {NAME = 'fov [num]', DESC = 'Adjusts field of view (default is 70)'}
  4575. CMDs[#CMDs + 1] = {NAME = 'fixcam / restorecam', DESC = 'Fixes camera'}
  4576. CMDs[#CMDs + 1] = {NAME = 'enableshiftlock / enablesl', DESC = 'Enables the shift lock option'}
  4577. CMDs[#CMDs + 1] = {NAME = 'lookat [player]', DESC = 'Moves your camera view to a player'}
  4578. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4579. CMDs[#CMDs + 1] = {NAME = 'btools (CLIENT)', DESC = 'Gives you building tools (DOES NOT REPLICATE)'}
  4580. CMDs[#CMDs + 1] = {NAME = 'f3x (CLIENT)', DESC = 'Gives you F3X building tools (DOES NOT REPLICATE)'}
  4581. CMDs[#CMDs + 1] = {NAME = 'partname / partpath', DESC = 'Allows you to click a part to see its path & name'}
  4582. CMDs[#CMDs + 1] = {NAME = 'delete [instance name] (CLIENT)', DESC = 'Removes any part with a certain name from the workspace (DOES NOT REPLICATE)'}
  4583. CMDs[#CMDs + 1] = {NAME = 'deleteclass / dc [class name] (CLIENT)', DESC = 'Removes any part with a certain classname from the workspace (DOES NOT REPLICATE)'}
  4584. CMDs[#CMDs + 1] = {NAME = 'lockworkspace / lockws', DESC = 'Locks the whole workspace'}
  4585. CMDs[#CMDs + 1] = {NAME = 'unlockworkspace / unlockws', DESC = 'Unlocks the whole workspace'}
  4586. CMDs[#CMDs + 1] = {NAME = 'invisibleparts / invisparts (CLIENT)', DESC = 'Shows invisible parts'}
  4587. CMDs[#CMDs + 1] = {NAME = 'uninvisibleparts / uninvisparts (CLIENT)', DESC = 'Makes parts affected by invisparts return to normal'}
  4588. CMDs[#CMDs + 1] = {NAME = 'deleteinvisparts / dip (CLIENT)', DESC = 'Deletes invisible parts'}
  4589. CMDs[#CMDs + 1] = {NAME = 'gotopart [part name]', DESC = 'Moves your character to a part or multiple parts'}
  4590. CMDs[#CMDs + 1] = {NAME = 'tweengotopart / tgotopart [part name]', DESC = 'Tweens your character to a part or multiple parts'}
  4591. CMDs[#CMDs + 1] = {NAME = 'gotopartclass / gpc [class name]', DESC = 'Moves your character to a part or multiple parts based on classname'}
  4592. CMDs[#CMDs + 1] = {NAME = 'tweengotopartclass / tgpc [class name]', DESC = 'Tweens your character to a part or multiple parts based on classname'}
  4593. CMDs[#CMDs + 1] = {NAME = 'gotomodel [part name]', DESC = 'Moves your character to a model or multiple models'}
  4594. CMDs[#CMDs + 1] = {NAME = 'tweengotomodel / tgotomodel [part name]', DESC = 'Tweens your character to a model or multiple models'}
  4595. CMDs[#CMDs + 1] = {NAME = 'gotopartdelay / gotomodeldelay [num]', DESC = 'Adjusts how quickly you teleport to each part (default is 0.1)'}
  4596. CMDs[#CMDs + 1] = {NAME = 'bringpart [part name] (CLIENT)', DESC = 'Moves a part or multiple parts to your character'}
  4597. CMDs[#CMDs + 1] = {NAME = 'bringpartclass / bpc [class name] (CLIENT)', DESC = 'Moves a part or multiple parts to your character based on classname'}
  4598. CMDs[#CMDs + 1] = {NAME = 'noclickdetectorlimits / nocdlimits', DESC = 'Sets all click detectors MaxActivationDistance to math.huge'}
  4599. CMDs[#CMDs + 1] = {NAME = 'fireclickdetectors / firecd [name]', DESC = 'Uses all click detectors in a game or uses the optional name'}
  4600. CMDs[#CMDs + 1] = {NAME = 'firetouchinterests / touchinterests [name]', DESC = 'Uses all touchinterests in a game or uses the optional name'}
  4601. CMDs[#CMDs + 1] = {NAME = 'noproximitypromptlimits / nopplimits', DESC = 'Sets all proximity prompts MaxActivationDistance to math.huge'}
  4602. CMDs[#CMDs + 1] = {NAME = 'fireproximityprompts / firepp [name]', DESC = 'Uses all proximity prompts in a game or uses the optional name'}
  4603. CMDs[#CMDs + 1] = {NAME = 'instantproximityprompts / instantpp', DESC = 'Disable the cooldown for proximity prompts'}
  4604. CMDs[#CMDs + 1] = {NAME = 'uninstantproximityprompts / uninstantpp', DESC = 'Undo the cooldown removal'}
  4605. CMDs[#CMDs + 1] = {NAME = 'tpunanchored / tpua [player]', DESC = 'Teleports unanchored parts to a player'}
  4606. CMDs[#CMDs + 1] = {NAME = 'animsunanchored / freezeua', DESC = 'Freezes unanchored parts'}
  4607. CMDs[#CMDs + 1] = {NAME = 'thawunanchored / thawua / unfreezeua', DESC = 'Thaws unanchored parts'}
  4608. CMDs[#CMDs + 1] = {NAME = 'removeterrain / rterrain / noterrain', DESC = 'Removes all terrain'}
  4609. CMDs[#CMDs + 1] = {NAME = 'clearnilinstances / nonilinstances / cni', DESC = 'Removes nil instances'}
  4610. CMDs[#CMDs + 1] = {NAME = 'destroyheight / dh [num]', DESC = 'Sets FallenPartsDestroyHeight'}
  4611. CMDs[#CMDs + 1] = {NAME = 'fakeout', DESC = 'Tp to the void and then back (useful to kill people attached to you)'}
  4612. CMDs[#CMDs + 1] = {NAME = 'antivoid', DESC = 'Prevents you from falling into the void by launching you upwards'}
  4613. CMDs[#CMDs + 1] = {NAME = 'unantivoid / noantivoid', DESC = 'Disables antivoid'}
  4614. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4615. CMDs[#CMDs + 1] = {NAME = 'fullbright / fb (CLIENT)', DESC = 'Makes the map brighter / more visible'}
  4616. CMDs[#CMDs + 1] = {NAME = 'loopfullbright / loopfb (CLIENT)', DESC = 'Makes the map brighter / more visible but looped'}
  4617. CMDs[#CMDs + 1] = {NAME = 'unloopfullbright / unloopfb', DESC = 'Unloops fullbright'}
  4618. CMDs[#CMDs + 1] = {NAME = 'ambient [num] [num] [num] (CLIENT)', DESC = 'Changes ambient'}
  4619. CMDs[#CMDs + 1] = {NAME = 'day (CLIENT)', DESC = 'Changes the time to day for the client'}
  4620. CMDs[#CMDs + 1] = {NAME = 'night (CLIENT)', DESC = 'Changes the time to night for the client'}
  4621. CMDs[#CMDs + 1] = {NAME = 'nofog (CLIENT)', DESC = 'Removes fog'}
  4622. CMDs[#CMDs + 1] = {NAME = 'brightness [num] (CLIENT)', DESC = 'Changes the brightness lighting property'}
  4623. CMDs[#CMDs + 1] = {NAME = 'globalshadows / gshadows (CLIENT)', DESC = 'Enables global shadows'}
  4624. CMDs[#CMDs + 1] = {NAME = 'noglobalshadows / nogshadows (CLIENT)', DESC = 'Disables global shadows'}
  4625. CMDs[#CMDs + 1] = {NAME = 'restorelighting / rlighting', DESC = 'Restores Lighting properties'}
  4626. CMDs[#CMDs + 1] = {NAME = 'light [radius] [brightness] (CLIENT)', DESC = 'Gives your player dynamic light'}
  4627. CMDs[#CMDs + 1] = {NAME = 'nolight / unlight', DESC = 'Removes dynamic light from your player'}
  4628. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4629. CMDs[#CMDs + 1] = {NAME = 'inspect / examine [player]', DESC = 'Opens InspectMenu for a certain player'}
  4630. CMDs[#CMDs + 1] = {NAME = 'age [player]', DESC = 'Tells you the age of a player'}
  4631. CMDs[#CMDs + 1] = {NAME = 'chatage [player]', DESC = 'Chats the age of a player'}
  4632. CMDs[#CMDs + 1] = {NAME = 'joindate / jd [player]', DESC = 'Tells you the date the player joined Roblox'}
  4633. CMDs[#CMDs + 1] = {NAME = 'chatjoindate / cjd [player]', DESC = 'Chats the date the player joined Roblox'}
  4634. CMDs[#CMDs + 1] = {NAME = 'copyname / copyuser [player]', DESC = 'Copies a players full username to your clipboard'}
  4635. CMDs[#CMDs + 1] = {NAME = 'userid / id [player]', DESC = 'Notifies a players user ID'}
  4636. CMDs[#CMDs + 1] = {NAME = 'copyuserid / copyid [player]', DESC = 'Copies a players user ID to your clipboard'}
  4637. CMDs[#CMDs + 1] = {NAME = 'appearanceid / aid [player]', DESC = 'Notifies a players appearance ID'}
  4638. CMDs[#CMDs + 1] = {NAME = 'copyappearanceid / caid [player]', DESC = 'Copies a players appearance ID to your clipboard'}
  4639. CMDs[#CMDs + 1] = {NAME = 'bang [player] [speed]', DESC = 'owo'}
  4640. CMDs[#CMDs + 1] = {NAME = 'unbang', DESC = 'uwu'}
  4641. CMDs[#CMDs + 1] = {NAME = 'carpet [player]', DESC = 'Be someones carpet'}
  4642. CMDs[#CMDs + 1] = {NAME = 'uncarpet', DESC = 'Undoes carpet'}
  4643. CMDs[#CMDs + 1] = {NAME = 'friend [player]', DESC = 'Sends a friend request to certain players'}
  4644. CMDs[#CMDs + 1] = {NAME = 'unfriend [player]', DESC = 'Unfriends certain players'}
  4645. CMDs[#CMDs + 1] = {NAME = 'headsit [player]', DESC = 'Sit on a players head'}
  4646. CMDs[#CMDs + 1] = {NAME = 'walkto / follow [player]', DESC = 'Follow a player'}
  4647. CMDs[#CMDs + 1] = {NAME = 'pathfindwalkto / pathfindfollow [player]', DESC = 'Follow a player using pathfinding'}
  4648. CMDs[#CMDs + 1] = {NAME = 'pathfindwalktowaypoint / pathfindwalktowp [waypoint]', DESC = 'Walk to a waypoint using pathfinding'}
  4649. CMDs[#CMDs + 1] = {NAME = 'unwalkto / unfollow', DESC = 'Stops following a player'}
  4650. CMDs[#CMDs + 1] = {NAME = 'orbit [player] [speed] [distance]', DESC = 'Makes your character orbit around a player with an optional speed and an optional distance'}
  4651. CMDs[#CMDs + 1] = {NAME = 'unorbit', DESC = 'Disables orbit'}
  4652. CMDs[#CMDs + 1] = {NAME = 'stareat / stare [player]', DESC = 'Stare / look at a player'}
  4653. CMDs[#CMDs + 1] = {NAME = 'unstareat / unstare [player]', DESC = 'Disables stareat'}
  4654. CMDs[#CMDs + 1] = {NAME = 'rolewatch [group id] [role name]', DESC = 'Notify if someone from a watched group joins the server'}
  4655. CMDs[#CMDs + 1] = {NAME = 'rolewatchstop / unrolewatch', DESC = 'Disable Rolewatch'}
  4656. CMDs[#CMDs + 1] = {NAME = 'rolewatchleave', DESC = 'Toggle if you should leave the game if someone from a watched group joins the server'}
  4657. CMDs[#CMDs + 1] = {NAME = 'staffwatch', DESC = 'Notify if a staff member of the game joins the server'}
  4658. CMDs[#CMDs + 1] = {NAME = 'unstaffwatch', DESC = 'Disable Staffwatch'}
  4659. CMDs[#CMDs + 1] = {NAME = 'handlekill / hkill [player] [radius] (TOOL)', DESC = 'Kills a player using tool damage (YOU NEED A TOOL)'}
  4660. CMDs[#CMDs + 1] = {NAME = 'fling', DESC = 'Flings anyone you touch'}
  4661. CMDs[#CMDs + 1] = {NAME = 'unfling', DESC = 'Disables the fling command'}
  4662. CMDs[#CMDs + 1] = {NAME = 'flyfling [speed]', DESC = 'Basically the invisfling command but not invisible'}
  4663. CMDs[#CMDs + 1] = {NAME = 'unflyfling', DESC = 'Disables the flyfling command'}
  4664. CMDs[#CMDs + 1] = {NAME = 'walkfling', DESC = 'Basically fling but no spinning'}
  4665. CMDs[#CMDs + 1] = {NAME = 'unwalkfling / nowalkfling', DESC = 'Disables walkfling'}
  4666. CMDs[#CMDs + 1] = {NAME = 'invisfling', DESC = 'Enables invisible fling (the invis part is patched, try using the god command before using this)'}
  4667. CMDs[#CMDs + 1] = {NAME = 'antifling', DESC = 'Disables player collisions to prevent you from being flung'}
  4668. CMDs[#CMDs + 1] = {NAME = 'unantifling', DESC = 'Disables antifling'}
  4669. CMDs[#CMDs + 1] = {NAME = 'loopoof', DESC = 'Loops everyones character sounds (everyone can hear)'}
  4670. CMDs[#CMDs + 1] = {NAME = 'unloopoof', DESC = 'Stops the oof chaos'}
  4671. CMDs[#CMDs + 1] = {NAME = 'muteboombox [player]', DESC = 'Mutes someones boombox'}
  4672. CMDs[#CMDs + 1] = {NAME = 'unmuteboombox [player]', DESC = 'Unmutes someones boombox'}
  4673. CMDs[#CMDs + 1] = {NAME = 'hitbox [player] [size] [transparency]', DESC = 'Expands the hitbox for players HumanoidRootPart (default is 1)'}
  4674. CMDs[#CMDs + 1] = {NAME = 'headsize [player] [size]', DESC = 'Expands the head size for players Head (default is 1)'}
  4675. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4676. CMDs[#CMDs + 1] = {NAME = 'reset', DESC = 'Resets your character normally'}
  4677. CMDs[#CMDs + 1] = {NAME = 'respawn', DESC = 'Respawns you'}
  4678. CMDs[#CMDs + 1] = {NAME = 'refresh / re', DESC = 'Respawns and brings you back to the same position'}
  4679. CMDs[#CMDs + 1] = {NAME = 'god', DESC = 'Makes your character difficult to kill in most games'}
  4680. CMDs[#CMDs + 1] = {NAME = 'permadeath', DESC = 'Makes you unable to respawn after death'}
  4681. CMDs[#CMDs + 1] = {NAME = 'invisible / invis', DESC = 'Makes you invisible to other players'}
  4682. CMDs[#CMDs + 1] = {NAME = 'visible / vis', DESC = 'Makes you visible to other players'}
  4683. CMDs[#CMDs + 1] = {NAME = 'toolinvisible / toolinvis / tinvis', DESC = 'Makes you invisible to other players and able to use tools'}
  4684. CMDs[#CMDs + 1] = {NAME = 'speed / ws / walkspeed [num]', DESC = 'Change your walkspeed (default is 16)'}
  4685. CMDs[#CMDs + 1] = {NAME = 'spoofspeed / spoofws [num]', DESC = 'Spoofs your WalkSpeed on the Client'}
  4686. CMDs[#CMDs + 1] = {NAME = 'loopspeed / loopws [num]', DESC = 'Loops your walkspeed'}
  4687. CMDs[#CMDs + 1] = {NAME = 'unloopspeed / unloopws', DESC = 'Turns off loopspeed'}
  4688. CMDs[#CMDs + 1] = {NAME = 'hipheight / hheight [num]', DESC = 'Adjusts hip height'}
  4689. CMDs[#CMDs + 1] = {NAME = 'jumppower / jpower / jp [num]', DESC = 'Change a players jump height (default is 50)'}
  4690. CMDs[#CMDs + 1] = {NAME = 'spoofjumppower / spoofjp [num]', DESC = 'Spoofs your JumpPower on the Client'}
  4691. CMDs[#CMDs + 1] = {NAME = 'loopjumppower / loopjp [num]', DESC = 'Loops your jump height'}
  4692. CMDs[#CMDs + 1] = {NAME = 'unloopjumppower / unloopjp', DESC = 'Turns off loopjumppower'}
  4693. CMDs[#CMDs + 1] = {NAME = 'maxslopeangle / msa [num]', DESC = 'Adjusts MaxSlopeAngle'}
  4694. CMDs[#CMDs + 1] = {NAME = 'gravity / grav [num] (CLIENT)', DESC = 'Change your gravity'}
  4695. CMDs[#CMDs + 1] = {NAME = 'sit', DESC = 'Makes your character sit'}
  4696. CMDs[#CMDs + 1] = {NAME = 'lay / laydown', DESC = 'Makes your character lay down'}
  4697. CMDs[#CMDs + 1] = {NAME = 'sitwalk', DESC = 'Makes your character sit while still being able to walk'}
  4698. CMDs[#CMDs + 1] = {NAME = 'nosit', DESC = 'Prevents your character from sitting'}
  4699. CMDs[#CMDs + 1] = {NAME = 'unnosit', DESC = 'Disables nosit'}
  4700. CMDs[#CMDs + 1] = {NAME = 'jump', DESC = 'Makes your character jump'}
  4701. CMDs[#CMDs + 1] = {NAME = 'infinitejump / infjump', DESC = 'Allows you to jump before hitting the ground'}
  4702. CMDs[#CMDs + 1] = {NAME = 'uninfinitejump / uninfjump', DESC = 'Disables infjump'}
  4703. CMDs[#CMDs + 1] = {NAME = 'flyjump', DESC = 'Allows you to hold space to fly up'}
  4704. CMDs[#CMDs + 1] = {NAME = 'unflyjump', DESC = 'Disables flyjump'}
  4705. CMDs[#CMDs + 1] = {NAME = 'autojump / ajump', DESC = 'Automatically jumps when you run into an object'}
  4706. CMDs[#CMDs + 1] = {NAME = 'unautojump / unajump', DESC = 'Disables autojump'}
  4707. CMDs[#CMDs + 1] = {NAME = 'edgejump / ejump', DESC = 'Automatically jumps when you get to the edge of an object'}
  4708. CMDs[#CMDs + 1] = {NAME = 'unedgejump / unejump', DESC = 'Disables edgejump'}
  4709. CMDs[#CMDs + 1] = {NAME = 'platformstand / stun', DESC = 'Enables PlatformStand'}
  4710. CMDs[#CMDs + 1] = {NAME = 'unplatformstand / unstun', DESC = 'Disables PlatformStand'}
  4711. CMDs[#CMDs + 1] = {NAME = 'norotate / noautorotate', DESC = 'Disables AutoRotate'}
  4712. CMDs[#CMDs + 1] = {NAME = 'unnorotate / autorotate', DESC = 'Enables AutoRotate'}
  4713. CMDs[#CMDs + 1] = {NAME = 'enablestate [StateType]', DESC = 'Enables a humanoid state type'}
  4714. CMDs[#CMDs + 1] = {NAME = 'disablestate [StateType]', DESC = 'Disables a humanoid state type'}
  4715. CMDs[#CMDs + 1] = {NAME = 'team [team name] (CLIENT)', DESC = 'Changes your team. Sometimes fools localscripts.'}
  4716. CMDs[#CMDs + 1] = {NAME = 'nobillboardgui / nobgui / noname', DESC = 'Removes billboard and surface GUIs from your players (i.e. name GUIs at cafes)'}
  4717. CMDs[#CMDs + 1] = {NAME = 'loopnobgui / loopnoname', DESC = 'Loop removes billboard and surface GUIs from your players (i.e. name GUIs at cafes)'}
  4718. CMDs[#CMDs + 1] = {NAME = 'unloopnobgui / unloopnoname', DESC = 'Disables loopnobgui'}
  4719. CMDs[#CMDs + 1] = {NAME = 'noarms', DESC = 'Removes your arms'}
  4720. CMDs[#CMDs + 1] = {NAME = 'nolegs', DESC = 'Removes your legs'}
  4721. CMDs[#CMDs + 1] = {NAME = 'nolimbs', DESC = 'Removes your limbs'}
  4722. CMDs[#CMDs + 1] = {NAME = 'naked (CLIENT)', DESC = 'Removes your clothing'}
  4723. CMDs[#CMDs + 1] = {NAME = 'noface / removeface', DESC = 'Removes your face'}
  4724. CMDs[#CMDs + 1] = {NAME = 'blockhead', DESC = 'Turns your head into a block'}
  4725. CMDs[#CMDs + 1] = {NAME = 'blockhats', DESC = 'Turns your hats into blocks'}
  4726. CMDs[#CMDs + 1] = {NAME = 'blocktool', DESC = 'Turns the currently selected tool into a block'}
  4727. CMDs[#CMDs + 1] = {NAME = 'creeper', DESC = 'Makes you look like a creeper'}
  4728. CMDs[#CMDs + 1] = {NAME = 'drophats', DESC = 'Drops your hats'}
  4729. CMDs[#CMDs + 1] = {NAME = 'nohats / deletehats / rhats', DESC = 'Deletes your hats'}
  4730. CMDs[#CMDs + 1] = {NAME = 'hatspin / spinhats', DESC = 'Spins your characters accessories'}
  4731. CMDs[#CMDs + 1] = {NAME = 'unhatspin / unspinhats', DESC = 'Undoes spinhats'}
  4732. CMDs[#CMDs + 1] = {NAME = 'clearhats / cleanhats', DESC = 'Clears hats in the workspace'}
  4733. CMDs[#CMDs + 1] = {NAME = 'chardelete / cd [instance name]', DESC = 'Removes any part with a certain name from your character'}
  4734. CMDs[#CMDs + 1] = {NAME = 'chardeleteclass / cdc [class name]', DESC = 'Removes any part with a certain classname from your character'}
  4735. CMDs[#CMDs + 1] = {NAME = 'deletevelocity / dv / removeforces', DESC = 'Removes any velocity / force instances in your character'}
  4736. CMDs[#CMDs + 1] = {NAME = 'weaken [num]', DESC = 'Makes your character less dense'}
  4737. CMDs[#CMDs + 1] = {NAME = 'unweaken', DESC = 'Sets your characters CustomPhysicalProperties to default'}
  4738. CMDs[#CMDs + 1] = {NAME = 'strengthen [num]', DESC = 'Makes your character more dense (CustomPhysicalProperties)'}
  4739. CMDs[#CMDs + 1] = {NAME = 'unstrengthen', DESC = 'Sets your characters CustomPhysicalProperties to default'}
  4740. CMDs[#CMDs + 1] = {NAME = 'breakvelocity', DESC = 'Sets your characters velocity to 0'}
  4741. CMDs[#CMDs + 1] = {NAME = 'spin [speed]', DESC = 'Spins your character'}
  4742. CMDs[#CMDs + 1] = {NAME = 'unspin', DESC = 'Disables spin'}
  4743. CMDs[#CMDs + 1] = {NAME = 'split', DESC = 'Splits your character in half'}
  4744. CMDs[#CMDs + 1] = {NAME = 'nilchar', DESC = 'Sets your characters parent to nil'}
  4745. CMDs[#CMDs + 1] = {NAME = 'unnilchar / nonilchar', DESC = 'Sets your characters parent to workspace'}
  4746. CMDs[#CMDs + 1] = {NAME = 'noroot / removeroot / rroot', DESC = 'Removes your characters HumanoidRootPart'}
  4747. CMDs[#CMDs + 1] = {NAME = 'replaceroot', DESC = 'Replaces your characters HumanoidRootPart'}
  4748. CMDs[#CMDs + 1] = {NAME = 'clearcharappearance / clearchar / clrchar', DESC = 'Removes all accessory, shirt, pants, charactermesh, and bodycolors'}
  4749. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4750. CMDs[#CMDs + 1] = {NAME = 'animation / anim [ID] [speed]', DESC = 'Makes your character perform an animation (must be by roblox to replicate)'}
  4751. CMDs[#CMDs + 1] = {NAME = 'dance', DESC = 'Makes you  d a n c e'}
  4752. CMDs[#CMDs + 1] = {NAME = 'undance', DESC = 'Stops dance animations'}
  4753. CMDs[#CMDs + 1] = {NAME = 'spasm', DESC = 'Makes you  c r a z y'}
  4754. CMDs[#CMDs + 1] = {NAME = 'unspasm', DESC = 'Stops spasm'}
  4755. CMDs[#CMDs + 1] = {NAME = 'headthrow', DESC = 'Simply makes you throw your head'}
  4756. CMDs[#CMDs + 1] = {NAME = 'noanim', DESC = 'Disables your animations'}
  4757. CMDs[#CMDs + 1] = {NAME = 'reanim', DESC = 'Restores your animations'}
  4758. CMDs[#CMDs + 1] = {NAME = 'animspeed [num]', DESC = 'Changes the speed of your current animation'}
  4759. CMDs[#CMDs + 1] = {NAME = 'copyanimation / copyanim / copyemote [player]', DESC = 'Copies someone elses animation'}
  4760. CMDs[#CMDs + 1] = {NAME = 'copyanimationid / copyanimid / copyemoteid [player]', DESC = 'Copies your animation id or someone elses to your clipboard'}
  4761. CMDs[#CMDs + 1] = {NAME = 'loopanimation / loopanim', DESC = 'Loops your current animation'}
  4762. CMDs[#CMDs + 1] = {NAME = 'stopanimations / stopanims', DESC = 'Stops running animations'}
  4763. CMDs[#CMDs + 1] = {NAME = 'refreshanimations / refreshanims', DESC = 'Refreshes animations'}
  4764. CMDs[#CMDs + 1] = {NAME = 'allowcustomanim / allowcustomanimations', DESC = 'Lets you use custom animation packs instead'}
  4765. CMDs[#CMDs + 1] = {NAME = 'unallowcustomanim / unallowcustomanimations', DESC = 'Doesn\'t let you use custom animation packs instead'}
  4766. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4767. CMDs[#CMDs + 1] = {NAME = 'autoclick [click delay] [release delay]', DESC = 'Automatically clicks your mouse with a set delay'}
  4768. CMDs[#CMDs + 1] = {NAME = 'unautoclick / noautoclick', DESC = 'Turns off autoclick'}
  4769. CMDs[#CMDs + 1] = {NAME = 'autokeypress [key] [down delay] [up delay]', DESC = 'Automatically presses a key with a set delay'}
  4770. CMDs[#CMDs + 1] = {NAME = 'unautokeypress', DESC = 'Stops autokeypress'}
  4771. CMDs[#CMDs + 1] = {NAME = 'hovername', DESC = 'Shows a players username when your mouse is hovered over them'}
  4772. CMDs[#CMDs + 1] = {NAME = 'unhovername / nohovername', DESC = 'Turns off hovername'}
  4773. CMDs[#CMDs + 1] = {NAME = 'mousesensitivity / ms [0-10]', DESC = 'Sets your mouse sensitivity (affects first person and right click drag) (default is 1)'}
  4774. CMDs[#CMDs + 1] = {NAME = 'clickdelete', DESC = 'Go to Settings > Keybinds > Add for click delete'}
  4775. CMDs[#CMDs + 1] = {NAME = 'clickteleport', DESC = 'Go to Settings > Keybinds > Add for click teleport'}
  4776. CMDs[#CMDs + 1] = {NAME = 'mouseteleport / mousetp', DESC = 'Teleports your character to your mouse. This is recommended as a keybind'}
  4777. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4778. CMDs[#CMDs + 1] = {NAME = 'tools', DESC = 'Copies tools from ReplicatedStorage and Lighting'}
  4779. CMDs[#CMDs + 1] = {NAME = 'notools / removetools / deletetools', DESC = 'Removes tools from character and backpack'}
  4780. CMDs[#CMDs + 1] = {NAME = 'deleteselectedtool / dst', DESC = 'Removes any currently selected tools'}
  4781. CMDs[#CMDs + 1] = {NAME = 'grabtools', DESC = 'Automatically get tools that are dropped'}
  4782. CMDs[#CMDs + 1] = {NAME = 'ungrabtools / nograbtools', DESC = 'Disables grabtools'}
  4783. CMDs[#CMDs + 1] = {NAME = 'copytools [player] (CLIENT)', DESC = 'Copies a players tools'}
  4784. CMDs[#CMDs + 1] = {NAME = 'dupetools / clonetools [num]', DESC = 'Duplicates your inventory tools a set amount of times'}
  4785. CMDs[#CMDs + 1] = {NAME = 'droptools', DESC = 'Drops your tools'}
  4786. CMDs[#CMDs + 1] = {NAME = 'droppabletools', DESC = 'Makes your tools droppable'}
  4787. CMDs[#CMDs + 1] = {NAME = 'equiptools', DESC = 'Equips every tool in your inventory at once'}
  4788. CMDs[#CMDs + 1] = {NAME = 'unequiptools', DESC = 'Unequips every tool you are currently holding at once'}
  4789. CMDs[#CMDs + 1] = {NAME = 'removespecifictool [name]', DESC = 'Automatically remove a specific tool from your inventory'}
  4790. CMDs[#CMDs + 1] = {NAME = 'unremovespecifictool [name]', DESC = 'Stops removing a specific tool from your inventory'}
  4791. CMDs[#CMDs + 1] = {NAME = 'clearremovespecifictool', DESC = 'Stop removing all specific tools from your inventory'}
  4792. CMDs[#CMDs + 1] = {NAME = 'reach [num]', DESC = 'Increases the hitbox of your held tool'}
  4793. CMDs[#CMDs + 1] = {NAME = 'boxreach [num]', DESC = 'Increases the hitbox of your held tool in a box shape'}
  4794. CMDs[#CMDs + 1] = {NAME = 'unreach / noreach', DESC = 'Turns off reach'}
  4795. CMDs[#CMDs + 1] = {NAME = 'grippos [X Y Z]', DESC = 'Changes your current tools grip position'}
  4796. CMDs[#CMDs + 1] = {NAME = 'usetools [amount] [delay]', DESC = 'Activates all tools in your backpack at the same time'}
  4797. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4798. CMDs[#CMDs + 1] = {NAME = 'addalias [cmd] [alias]', DESC = 'Adds an alias to a command'}
  4799. CMDs[#CMDs + 1] = {NAME = 'removealias [alias]', DESC = 'Removes a custom alias'}
  4800. CMDs[#CMDs + 1] = {NAME = 'clraliases', DESC = 'Removes all custom aliases'}
  4801. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4802. CMDs[#CMDs + 1] = {NAME = 'addplugin / plugin [name]', DESC = 'Add a plugin via command'}
  4803. CMDs[#CMDs + 1] = {NAME = 'removeplugin / deleteplugin [name]', DESC = 'Remove a plugin via command'}
  4804. CMDs[#CMDs + 1] = {NAME = 'reloadplugin [name]', DESC = 'Reloads a plugin'}
  4805. CMDs[#CMDs + 1] = {NAME = 'addallplugins / loadallplugins', DESC = 'Adds all available plugins from the workspace folder'}
  4806. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  4807. CMDs[#CMDs + 1] = {NAME = 'breakloops / break (cmd loops)', DESC = 'Stops any cmd loops (;100^1^cmd)'}
  4808. CMDs[#CMDs + 1] = {NAME = 'removecmd / deletecmd', DESC = 'Removes a command until the admin is reloaded'}
  4809. CMDs[#CMDs + 1] = {NAME = 'tpwalk / teleportwalk [num]', DESC = 'Teleports you to your move direction'}
  4810. CMDs[#CMDs + 1] = {NAME = 'untpwalk / unteleportwalk', DESC = 'Undoes tpwalk / teleportwalk'}
  4811. CMDs[#CMDs + 1] = {NAME = 'notifyping / ping', DESC = 'Notify yourself your ping'}
  4812. CMDs[#CMDs + 1] = {NAME = 'trip', DESC = 'Makes your character fall over'}
  4813. CMDs[#CMDs + 1] = {NAME = 'norender', DESC = 'Disable 3d Rendering to decrease the amount of CPU the client uses'}
  4814. CMDs[#CMDs + 1] = {NAME = 'render', DESC = 'Enable 3d Rendering'}
  4815. CMDs[#CMDs + 1] = {NAME = 'use2022materials / 2022materials', DESC = 'Enables 2022 material textures'}
  4816. CMDs[#CMDs + 1] = {NAME = 'unuse2022materials / un2022materials', DESC = 'Disables 2022 material textures'}
  4817. CMDs[#CMDs + 1] = {NAME = 'promptr6', DESC = 'Prompts the game to switch your rig type to R6'}
  4818. CMDs[#CMDs + 1] = {NAME = 'promptr15', DESC = 'Prompts the game to switch your rig type to R15'}
  4819. CMDs[#CMDs + 1] = {NAME = 'wallwalk / walkonwalls', DESC = 'Walk on walls'}
  4820. CMDs[#CMDs + 1] = {NAME = 'removeads / adblock', DESC = 'Automatically removes ad billboards'}
  4821. CMDs[#CMDs + 1] = {NAME = 'scare / spook [player]', DESC = 'Teleports in front of a player for half a second'}
  4822. CMDs[#CMDs + 1] = {NAME = 'alignmentkeys', DESC = 'Enables the left and right alignment keys (comma and period)'}
  4823. CMDs[#CMDs + 1] = {NAME = 'unalignmentkeys / noalignmentkeys', DESC = 'Disables the alignment keys'}
  4824. CMDs[#CMDs + 1] = {NAME = 'ctrllock', DESC = 'Binds Shiftlock to LeftControl'}
  4825. CMDs[#CMDs + 1] = {NAME = 'unctrllock', DESC = 'Re-binds Shiftlock to LeftShift'}
  4826. CMDs[#CMDs + 1] = {NAME = 'listento [player]', DESC = 'Listens to the area around a player. Can also eavesdrop with vc'}
  4827. CMDs[#CMDs + 1] = {NAME = 'unlistento', DESC = 'Disables listento'}
  4828. CMDs[#CMDs + 1] = {NAME = 'jerk', DESC = 'Makes you jork it'}
  4829. CMDs[#CMDs + 1] = {NAME = 'unsuspendvc', DESC = 'Unsuspends you from voice chat'}
  4830. wait()
  4831.  
  4832. for i = 1, #CMDs do
  4833.     local newcmd = Example:Clone()
  4834.     newcmd.Parent = CMDsF
  4835.     newcmd.Visible = false
  4836.     newcmd.Text = CMDs[i].NAME
  4837.     newcmd.Name = "CMD"
  4838.     table.insert(text1, newcmd)
  4839.     if CMDs[i].DESC ~= "" then
  4840.         newcmd:SetAttribute("Title", CMDs[i].NAME)
  4841.         newcmd:SetAttribute("Desc", CMDs[i].DESC)
  4842.         newcmd.MouseButton1Down:Connect(function()
  4843.             if not IsOnMobile and newcmd.Visible and newcmd.TextTransparency == 0 then
  4844.                 local currentText = Cmdbar.Text
  4845.                 Cmdbar:CaptureFocus()
  4846.                 autoComplete(newcmd.Text, currentText)
  4847.                 maximizeHolder()
  4848.             end
  4849.         end)
  4850.     end
  4851. end
  4852.  
  4853. IndexContents("", true)
  4854.  
  4855. function checkTT()
  4856.     local t
  4857.     local guisAtPosition = COREGUI:GetGuiObjectsAtPosition(IYMouse.X, IYMouse.Y)
  4858.  
  4859.     for _, gui in pairs(guisAtPosition) do
  4860.         if gui.Parent == CMDsF then
  4861.             t = gui
  4862.         end
  4863.     end
  4864.  
  4865.     if t ~= nil and t:GetAttribute("Title") ~= nil then
  4866.         local x = IYMouse.X
  4867.         local y = IYMouse.Y
  4868.         local xP
  4869.         local yP
  4870.         if IYMouse.X > 200 then
  4871.             xP = x - 201
  4872.         else
  4873.             xP = x + 21
  4874.         end
  4875.         if IYMouse.Y > (IYMouse.ViewSizeY-96) then
  4876.             yP = y - 97
  4877.         else
  4878.             yP = y
  4879.         end
  4880.         Tooltip.Position = UDim2.new(0, xP, 0, yP)
  4881.         Description.Text = t:GetAttribute("Desc")
  4882.         if t:GetAttribute("Title") ~= nil then
  4883.             Title_3.Text = t:GetAttribute("Title")
  4884.         else
  4885.             Title_3.Text = ''
  4886.         end
  4887.         Tooltip.Visible = true
  4888.     else
  4889.         Tooltip.Visible = false
  4890.     end
  4891. end
  4892.  
  4893. function FindInTable(tbl,val)
  4894.     if tbl == nil then return false end
  4895.     for _,v in pairs(tbl) do
  4896.         if v == val then return true end
  4897.     end
  4898.     return false
  4899. end
  4900.  
  4901. function GetInTable(Table, Name)
  4902.     for i = 1, #Table do
  4903.         if Table[i] == Name then
  4904.             return i
  4905.         end
  4906.     end
  4907.     return false
  4908. end
  4909.  
  4910. function permadeath(plr)
  4911.     if replicatesignal then
  4912.         replicatesignal(plr.ConnectDiedSignalBackend)
  4913.         task.wait(Players.RespawnTime - 0.1)
  4914.     end
  4915. end
  4916.  
  4917. function respawn(plr)
  4918.     if invisRunning then TurnVisible() end
  4919.  
  4920.     local rcdEnabled, wasHidden = false, false
  4921.     if gethidden then
  4922.         rcdEnabled, wasHidden = gethidden(workspace, "RejectCharacterDeletions") ~= Enum.RejectCharacterDeletions.Disabled
  4923.     end
  4924.  
  4925.     if rcdEnabled and replicatesignal then
  4926.         replicatesignal(plr.ConnectDiedSignalBackend)
  4927.         task.wait(Players.RespawnTime - 0.1)
  4928.         replicatesignal(plr.Kill)
  4929.     elseif rcdEnabled and not replicatesignal then
  4930.         notify("Incompatible Exploit", "Your exploit does not support this command (missing replicatesignal)")
  4931.     else
  4932.         local char = plr.Character
  4933.         local hum = char:FindFirstChildWhichIsA("Humanoid")
  4934.         if hum then hum:ChangeState(Enum.HumanoidStateType.Dead) end
  4935.         char:ClearAllChildren()
  4936.         local newChar = Instance.new("Model")
  4937.         newChar.Parent = workspace
  4938.         plr.Character = newChar
  4939.         task.wait()
  4940.         plr.Character = char
  4941.         newChar:Destroy()
  4942.     end
  4943. end
  4944.  
  4945. local refreshCmd = false
  4946. function refresh(plr)
  4947.     refreshCmd = true
  4948.     local root = plr.Character:WaitForChild("HumanoidRootPart")
  4949.     local pos = root.CFrame
  4950.     local pos1 = workspace.CurrentCamera.CFrame
  4951.     respawn(plr)
  4952.     task.spawn(function()
  4953.         plr.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame, workspace.CurrentCamera.CFrame = pos, task.wait() and pos1
  4954.         refreshCmd = false
  4955.     end)
  4956. end
  4957.  
  4958. local lastDeath
  4959.  
  4960. function onDied()
  4961.     task.spawn(function()
  4962.         if pcall(function() Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') end) and Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  4963.             Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').Died:Connect(function()
  4964.                 if getRoot(Players.LocalPlayer.Character) then
  4965.                     lastDeath = getRoot(Players.LocalPlayer.Character).CFrame
  4966.                 end
  4967.             end)
  4968.         else
  4969.             wait(2)
  4970.             onDied()
  4971.         end
  4972.     end)
  4973. end
  4974.  
  4975. Clip = true
  4976. spDelay = 0.1
  4977. Players.LocalPlayer.CharacterAdded:Connect(function()
  4978.     NOFLY()
  4979.     Floating = false
  4980.  
  4981.     if not Clip then
  4982.         execCmd('clip')
  4983.     end
  4984.  
  4985.     repeat wait() until getRoot(Players.LocalPlayer.Character)
  4986.  
  4987.     pcall(function()
  4988.         if spawnpoint and not refreshCmd and spawnpos ~= nil then
  4989.             wait(spDelay)
  4990.             getRoot(Players.LocalPlayer.Character).CFrame = spawnpos
  4991.         end
  4992.     end)
  4993.  
  4994.     onDied()
  4995. end)
  4996.  
  4997. onDied()
  4998.  
  4999. function getstring(begin)
  5000.     local start = begin-1
  5001.     local AA = '' for i,v in pairs(cargs) do
  5002.         if i > start then
  5003.             if AA ~= '' then
  5004.                 AA = AA .. ' ' .. v
  5005.             else
  5006.                 AA = AA .. v
  5007.             end
  5008.         end
  5009.     end
  5010.     return AA
  5011. end
  5012.  
  5013. findCmd=function(cmd_name)
  5014.     for i,v in pairs(cmds)do
  5015.         if v.NAME:lower()==cmd_name:lower() or FindInTable(v.ALIAS,cmd_name:lower()) then
  5016.             return v
  5017.         end
  5018.     end
  5019.     return customAlias[cmd_name:lower()]
  5020. end
  5021.  
  5022. function splitString(str,delim)
  5023.     local broken = {}
  5024.     if delim == nil then delim = "," end
  5025.     for w in string.gmatch(str,"[^"..delim.."]+") do
  5026.         table.insert(broken,w)
  5027.     end
  5028.     return broken
  5029. end
  5030.  
  5031. cmdHistory = {}
  5032. local lastCmds = {}
  5033. local historyCount = 0
  5034. local split=" "
  5035. local lastBreakTime = 0
  5036. function execCmd(cmdStr,speaker,store)
  5037.     cmdStr = cmdStr:gsub("%s+$","")
  5038.     task.spawn(function()
  5039.         local rawCmdStr = cmdStr
  5040.         cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%")
  5041.         local commandsToRun = splitString(cmdStr,"\\")
  5042.         for i,v in pairs(commandsToRun) do
  5043.             v = string.gsub(v,"%%BackSlash%%","\\")
  5044.             local x,y,num = v:find("^(%d+)%^")
  5045.             local cmdDelay = 0
  5046.             local infTimes = false
  5047.             if num then
  5048.                 v = v:sub(y+1)
  5049.                 local x,y,del = v:find("^([%d%.]+)%^")
  5050.                 if del then
  5051.                     v = v:sub(y+1)
  5052.                     cmdDelay = tonumber(del) or 0
  5053.                 end
  5054.             else
  5055.                 local x,y = v:find("^inf%^")
  5056.                 if x then
  5057.                     infTimes = true
  5058.                     v = v:sub(y+1)
  5059.                     local x,y,del = v:find("^([%d%.]+)%^")
  5060.                     if del then
  5061.                         v = v:sub(y+1)
  5062.                         del = tonumber(del) or 1
  5063.                         cmdDelay = (del > 0 and del or 1)
  5064.                     else
  5065.                         cmdDelay = 1
  5066.                     end
  5067.                 end
  5068.             end
  5069.             num = tonumber(num or 1)
  5070.  
  5071.             if v:sub(1,1) == "!" then
  5072.                 local chunks = splitString(v:sub(2),split)
  5073.                 if chunks[1] and lastCmds[chunks[1]] then v = lastCmds[chunks[1]] end
  5074.             end
  5075.  
  5076.             local args = splitString(v,split)
  5077.             local cmdName = args[1]
  5078.             local cmd = findCmd(cmdName)
  5079.             if cmd then
  5080.                 table.remove(args,1)
  5081.                 cargs = args
  5082.                 if not speaker then speaker = Players.LocalPlayer end
  5083.                 if store then
  5084.                     if speaker == Players.LocalPlayer then
  5085.                         if cmdHistory[1] ~= rawCmdStr and rawCmdStr:sub(1,11) ~= 'lastcommand' and rawCmdStr:sub(1,7) ~= 'lastcmd' then
  5086.                             table.insert(cmdHistory,1,rawCmdStr)
  5087.                         end
  5088.                     end
  5089.                     if #cmdHistory > 30 then table.remove(cmdHistory) end
  5090.  
  5091.                     lastCmds[cmdName] = v
  5092.                 end
  5093.                 local cmdStartTime = tick()
  5094.                 if infTimes then
  5095.                     while lastBreakTime < cmdStartTime do
  5096.                         local success,err = pcall(cmd.FUNC,args, speaker)
  5097.                         if not success and _G.IY_DEBUG then
  5098.                             warn("Command Error:", cmdName, err)
  5099.                         end
  5100.                         wait(cmdDelay)
  5101.                     end
  5102.                 else
  5103.                     for rep = 1,num do
  5104.                         if lastBreakTime > cmdStartTime then break end
  5105.                         local success,err = pcall(function()
  5106.                             cmd.FUNC(args, speaker)
  5107.                         end)
  5108.                         if not success and _G.IY_DEBUG then
  5109.                             warn("Command Error:", cmdName, err)
  5110.                         end
  5111.                         if cmdDelay ~= 0 then wait(cmdDelay) end
  5112.                     end
  5113.                 end
  5114.             end
  5115.         end
  5116.     end)
  5117. end
  5118.  
  5119. function addcmd(name,alias,func,plgn)
  5120.     cmds[#cmds+1]=
  5121.         {
  5122.             NAME=name;
  5123.             ALIAS=alias or {};
  5124.             FUNC=func;
  5125.             PLUGIN=plgn;
  5126.         }
  5127. end
  5128.  
  5129. function removecmd(cmd)
  5130.     if cmd ~= " " then
  5131.         for i = #cmds,1,-1 do
  5132.             if cmds[i].NAME == cmd or FindInTable(cmds[i].ALIAS,cmd) then
  5133.                 table.remove(cmds, i)
  5134.                 for a,c in pairs(CMDsF:GetChildren()) do
  5135.                     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
  5136.                         c.TextTransparency = 0.7
  5137.                         c.MouseButton1Click:Connect(function()
  5138.                             notify(c.Text, "Command has been disabled by you or a plugin")
  5139.                         end)
  5140.                     end
  5141.                 end
  5142.             end
  5143.         end
  5144.     end
  5145. end
  5146.  
  5147. function overridecmd(name, func)
  5148.     local cmd = findCmd(name)
  5149.     if cmd and cmd.FUNC then cmd.FUNC = func end
  5150. end
  5151.  
  5152. function addbind(cmd,key,iskeyup,toggle)
  5153.     if toggle then
  5154.         binds[#binds+1]=
  5155.             {
  5156.                 COMMAND=cmd;
  5157.                 KEY=key;
  5158.                 ISKEYUP=iskeyup;
  5159.                 TOGGLE = toggle;
  5160.             }
  5161.     else
  5162.         binds[#binds+1]=
  5163.             {
  5164.                 COMMAND=cmd;
  5165.                 KEY=key;
  5166.                 ISKEYUP=iskeyup;
  5167.             }
  5168.     end
  5169. end
  5170.  
  5171. function addcmdtext(text,name,desc)
  5172.     local newcmd = Example:Clone()
  5173.     local tooltipText = tostring(text)
  5174.     local tooltipDesc = tostring(desc)
  5175.     newcmd.Parent = CMDsF
  5176.     newcmd.Visible = false
  5177.     newcmd.Text = text
  5178.     newcmd.Name = 'PLUGIN_'..name
  5179.     table.insert(text1,newcmd)
  5180.     if desc and desc ~= '' then
  5181.         newcmd:SetAttribute("Title", tooltipText)
  5182.         newcmd:SetAttribute("Desc", tooltipDesc)
  5183.         newcmd.MouseButton1Down:Connect(function()
  5184.             if newcmd.Visible and newcmd.TextTransparency == 0 then
  5185.                 Cmdbar:CaptureFocus()
  5186.                 autoComplete(newcmd.Text)
  5187.                 maximizeHolder()
  5188.             end
  5189.         end)
  5190.     end
  5191. end
  5192.  
  5193. local WorldToScreen = function(Object)
  5194.     local ObjectVector = workspace.CurrentCamera:WorldToScreenPoint(Object.Position)
  5195.     return Vector2.new(ObjectVector.X, ObjectVector.Y)
  5196. end
  5197.  
  5198. local MousePositionToVector2 = function()
  5199.     return Vector2.new(IYMouse.X, IYMouse.Y)
  5200. end
  5201.  
  5202. local GetClosestPlayerFromCursor = function()
  5203.     local found = nil
  5204.     local ClosestDistance = math.huge
  5205.     for i, v in pairs(Players:GetPlayers()) do
  5206.         if v ~= Players.LocalPlayer and v.Character and v.Character:FindFirstChildOfClass("Humanoid") then
  5207.             for k, x in pairs(v.Character:GetChildren()) do
  5208.                 if string.find(x.Name, "Torso") then
  5209.                     local Distance = (WorldToScreen(x) - MousePositionToVector2()).Magnitude
  5210.                     if Distance < ClosestDistance then
  5211.                         ClosestDistance = Distance
  5212.                         found = v
  5213.                     end
  5214.                 end
  5215.             end
  5216.         end
  5217.     end
  5218.     return found
  5219. end
  5220.  
  5221. SpecialPlayerCases = {
  5222.     ["all"] = function(speaker) return Players:GetPlayers() end,
  5223.     ["others"] = function(speaker)
  5224.         local plrs = {}
  5225.         for i,v in pairs(Players:GetPlayers()) do
  5226.             if v ~= speaker then
  5227.                 table.insert(plrs,v)
  5228.             end
  5229.         end
  5230.         return plrs
  5231.     end,
  5232.     ["me"] = function(speaker)return {speaker} end,
  5233.     ["#(%d+)"] = function(speaker,args,currentList)
  5234.         local returns = {}
  5235.         local randAmount = tonumber(args[1])
  5236.         local players = {unpack(currentList)}
  5237.         for i = 1,randAmount do
  5238.             if #players == 0 then break end
  5239.             local randIndex = math.random(1,#players)
  5240.             table.insert(returns,players[randIndex])
  5241.             table.remove(players,randIndex)
  5242.         end
  5243.         return returns
  5244.     end,
  5245.     ["random"] = function(speaker,args,currentList)
  5246.         local players = Players:GetPlayers()
  5247.         local localplayer = Players.LocalPlayer
  5248.         table.remove(players, table.find(players, localplayer))
  5249.         return {players[math.random(1,#players)]}
  5250.     end,
  5251.     ["%%(.+)"] = function(speaker,args)
  5252.         local returns = {}
  5253.         local team = args[1]
  5254.         for _,plr in pairs(Players:GetPlayers()) do
  5255.             if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then
  5256.                 table.insert(returns,plr)
  5257.             end
  5258.         end
  5259.         return returns
  5260.     end,
  5261.     ["allies"] = function(speaker)
  5262.         local returns = {}
  5263.         local team = speaker.Team
  5264.         for _,plr in pairs(Players:GetPlayers()) do
  5265.             if plr.Team == team then
  5266.                 table.insert(returns,plr)
  5267.             end
  5268.         end
  5269.         return returns
  5270.     end,
  5271.     ["enemies"] = function(speaker)
  5272.         local returns = {}
  5273.         local team = speaker.Team
  5274.         for _,plr in pairs(Players:GetPlayers()) do
  5275.             if plr.Team ~= team then
  5276.                 table.insert(returns,plr)
  5277.             end
  5278.         end
  5279.         return returns
  5280.     end,
  5281.     ["team"] = function(speaker)
  5282.         local returns = {}
  5283.         local team = speaker.Team
  5284.         for _,plr in pairs(Players:GetPlayers()) do
  5285.             if plr.Team == team then
  5286.                 table.insert(returns,plr)
  5287.             end
  5288.         end
  5289.         return returns
  5290.     end,
  5291.     ["nonteam"] = function(speaker)
  5292.         local returns = {}
  5293.         local team = speaker.Team
  5294.         for _,plr in pairs(Players:GetPlayers()) do
  5295.             if plr.Team ~= team then
  5296.                 table.insert(returns,plr)
  5297.             end
  5298.         end
  5299.         return returns
  5300.     end,
  5301.     ["friends"] = function(speaker,args)
  5302.         local returns = {}
  5303.         for _,plr in pairs(Players:GetPlayers()) do
  5304.             if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  5305.                 table.insert(returns,plr)
  5306.             end
  5307.         end
  5308.         return returns
  5309.     end,
  5310.     ["nonfriends"] = function(speaker,args)
  5311.         local returns = {}
  5312.         for _,plr in pairs(Players:GetPlayers()) do
  5313.             if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  5314.                 table.insert(returns,plr)
  5315.             end
  5316.         end
  5317.         return returns
  5318.     end,
  5319.     ["guests"] = function(speaker,args)
  5320.         local returns = {}
  5321.         for _,plr in pairs(Players:GetPlayers()) do
  5322.             if plr.Guest then
  5323.                 table.insert(returns,plr)
  5324.             end
  5325.         end
  5326.         return returns
  5327.     end,
  5328.     ["bacons"] = function(speaker,args)
  5329.         local returns = {}
  5330.         for _,plr in pairs(Players:GetPlayers()) do
  5331.             if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then
  5332.                 table.insert(returns,plr)
  5333.             end
  5334.         end
  5335.         return returns
  5336.     end,
  5337.     ["age(%d+)"] = function(speaker,args)
  5338.         local returns = {}
  5339.         local age = tonumber(args[1])
  5340.         if not age == nil then return end
  5341.         for _,plr in pairs(Players:GetPlayers()) do
  5342.             if plr.AccountAge <= age then
  5343.                 table.insert(returns,plr)
  5344.             end
  5345.         end
  5346.         return returns
  5347.     end,
  5348.     ["nearest"] = function(speaker,args,currentList)
  5349.         local speakerChar = speaker.Character
  5350.         if not speakerChar or not getRoot(speakerChar) then return end
  5351.         local lowest = math.huge
  5352.         local NearestPlayer = nil
  5353.         for _,plr in pairs(currentList) do
  5354.             if plr ~= speaker and plr.Character then
  5355.                 local distance = plr:DistanceFromCharacter(getRoot(speakerChar).Position)
  5356.                 if distance < lowest then
  5357.                     lowest = distance
  5358.                     NearestPlayer = {plr}
  5359.                 end
  5360.             end
  5361.         end
  5362.         return NearestPlayer
  5363.     end,
  5364.     ["farthest"] = function(speaker,args,currentList)
  5365.         local speakerChar = speaker.Character
  5366.         if not speakerChar or not getRoot(speakerChar) then return end
  5367.         local highest = 0
  5368.         local Farthest = nil
  5369.         for _,plr in pairs(currentList) do
  5370.             if plr ~= speaker and plr.Character then
  5371.                 local distance = plr:DistanceFromCharacter(getRoot(speakerChar).Position)
  5372.                 if distance > highest then
  5373.                     highest = distance
  5374.                     Farthest = {plr}
  5375.                 end
  5376.             end
  5377.         end
  5378.         return Farthest
  5379.     end,
  5380.     ["group(%d+)"] = function(speaker,args)
  5381.         local returns = {}
  5382.         local groupID = tonumber(args[1])
  5383.         for _,plr in pairs(Players:GetPlayers()) do
  5384.             if plr:IsInGroup(groupID) then  
  5385.                 table.insert(returns,plr)
  5386.             end
  5387.         end
  5388.         return returns
  5389.     end,
  5390.     ["alive"] = function(speaker,args)
  5391.         local returns = {}
  5392.         for _,plr in pairs(Players:GetPlayers()) do
  5393.             if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") and plr.Character:FindFirstChildOfClass("Humanoid").Health > 0 then
  5394.                 table.insert(returns,plr)
  5395.             end
  5396.         end
  5397.         return returns
  5398.     end,
  5399.     ["dead"] = function(speaker,args)
  5400.         local returns = {}
  5401.         for _,plr in pairs(Players:GetPlayers()) do
  5402.             if (not plr.Character or not plr.Character:FindFirstChildOfClass("Humanoid")) or plr.Character:FindFirstChildOfClass("Humanoid").Health <= 0 then
  5403.                 table.insert(returns,plr)
  5404.             end
  5405.         end
  5406.         return returns
  5407.     end,
  5408.     ["rad(%d+)"] = function(speaker,args)
  5409.         local returns = {}
  5410.         local radius = tonumber(args[1])
  5411.         local speakerChar = speaker.Character
  5412.         if not speakerChar or not getRoot(speakerChar) then return end
  5413.         for _,plr in pairs(Players:GetPlayers()) do
  5414.             if plr.Character and getRoot(plr.Character) then
  5415.                 local magnitude = (getRoot(plr.Character).Position-getRoot(speakerChar).Position).magnitude
  5416.                 if magnitude <= radius then table.insert(returns,plr) end
  5417.             end
  5418.         end
  5419.         return returns
  5420.     end,
  5421.     ["cursor"] = function(speaker)
  5422.         local plrs = {}
  5423.         local v = GetClosestPlayerFromCursor()
  5424.         if v ~= nil then table.insert(plrs, v) end
  5425.         return plrs
  5426.     end,
  5427.     ["npcs"] = function(speaker,args)
  5428.         local returns = {}
  5429.         for _, v in pairs(workspace:GetDescendants()) do
  5430.             if v:IsA("Model") and getRoot(v) and v:FindFirstChildWhichIsA("Humanoid") and Players:GetPlayerFromCharacter(v) == nil then
  5431.                 local clone = Instance.new("Player")
  5432.                 clone.Name = v.Name .. " - " .. v:FindFirstChildWhichIsA("Humanoid").DisplayName
  5433.                 clone.Character = v
  5434.                 table.insert(returns, clone)
  5435.             end
  5436.         end
  5437.         return returns
  5438.     end,
  5439. }
  5440.  
  5441. function toTokens(str)
  5442.     local tokens = {}
  5443.     for op,name in string.gmatch(str,"([+-])([^+-]+)") do
  5444.         table.insert(tokens,{Operator = op,Name = name})
  5445.     end
  5446.     return tokens
  5447. end
  5448.  
  5449. function onlyIncludeInTable(tab,matches)
  5450.     local matchTable = {}
  5451.     local resultTable = {}
  5452.     for i,v in pairs(matches) do matchTable[v.Name] = true end
  5453.     for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end
  5454.     return resultTable
  5455. end
  5456.  
  5457. function removeTableMatches(tab,matches)
  5458.     local matchTable = {}
  5459.     local resultTable = {}
  5460.     for i,v in pairs(matches) do matchTable[v.Name] = true end
  5461.     for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end
  5462.     return resultTable
  5463. end
  5464.  
  5465. function getPlayersByName(Name)
  5466.     local Name,Len,Found = string.lower(Name),#Name,{}
  5467.     for _,v in pairs(Players:GetPlayers()) do
  5468.         if Name:sub(0,1) == '@' then
  5469.             if string.sub(string.lower(v.Name),1,Len-1) == Name:sub(2) then
  5470.                 table.insert(Found,v)
  5471.             end
  5472.         else
  5473.             if string.sub(string.lower(v.Name),1,Len) == Name or string.sub(string.lower(v.DisplayName),1,Len) == Name then
  5474.                 table.insert(Found,v)
  5475.             end
  5476.         end
  5477.     end
  5478.     return Found
  5479. end
  5480.  
  5481. function getPlayer(list,speaker)
  5482.     if list == nil then return {speaker.Name} end
  5483.     local nameList = splitString(list,",")
  5484.  
  5485.     local foundList = {}
  5486.  
  5487.     for _,name in pairs(nameList) do
  5488.         if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end
  5489.         local tokens = toTokens(name)
  5490.         local initialPlayers = Players:GetPlayers()
  5491.  
  5492.         for i,v in pairs(tokens) do
  5493.             if v.Operator == "+" then
  5494.                 local tokenContent = v.Name
  5495.                 local foundCase = false
  5496.                 for regex,case in pairs(SpecialPlayerCases) do
  5497.                     local matches = {string.match(tokenContent,"^"..regex.."$")}
  5498.                     if #matches > 0 then
  5499.                         foundCase = true
  5500.                         initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers))
  5501.                     end
  5502.                 end
  5503.                 if not foundCase then
  5504.                     initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent))
  5505.                 end
  5506.             else
  5507.                 local tokenContent = v.Name
  5508.                 local foundCase = false
  5509.                 for regex,case in pairs(SpecialPlayerCases) do
  5510.                     local matches = {string.match(tokenContent,"^"..regex.."$")}
  5511.                     if #matches > 0 then
  5512.                         foundCase = true
  5513.                         initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers))
  5514.                     end
  5515.                 end
  5516.                 if not foundCase then
  5517.                     initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent))
  5518.                 end
  5519.             end
  5520.         end
  5521.  
  5522.         for i,v in pairs(initialPlayers) do table.insert(foundList,v) end
  5523.     end
  5524.  
  5525.     local foundNames = {}
  5526.     for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end
  5527.  
  5528.     return foundNames
  5529. end
  5530.  
  5531. function formatUsername(player)
  5532.     if player.DisplayName ~= player.Name then
  5533.         return string.format("%s (%s)", player.Name, player.DisplayName)
  5534.     end
  5535.     return player.Name
  5536. end
  5537.  
  5538. getprfx=function(strn)
  5539.     if strn:sub(1,string.len(prefix))==prefix then return{'cmd',string.len(prefix)+1}
  5540.     end return
  5541. end
  5542.  
  5543. function do_exec(str, plr)
  5544.     str = str:gsub('/e ', '')
  5545.     local t = getprfx(str)
  5546.     if not t then return end
  5547.     str = str:sub(t[2])
  5548.     if t[1]=='cmd' then
  5549.         execCmd(str, plr, true)
  5550.         IndexContents('',true,false,true)
  5551.         CMDsF.CanvasPosition = canvasPos
  5552.     end
  5553. end
  5554.  
  5555. lastTextBoxString,lastTextBoxCon,lastEnteredString = nil,nil,nil
  5556.  
  5557. UserInputService.TextBoxFocused:Connect(function(obj)
  5558.     if lastTextBoxCon then lastTextBoxCon:Disconnect() end
  5559.     if obj == Cmdbar then lastTextBoxString = nil return end
  5560.     lastTextBoxString = obj.Text
  5561.     lastTextBoxCon = obj:GetPropertyChangedSignal("Text"):Connect(function()
  5562.         if not (UserInputService:IsKeyDown(Enum.KeyCode.Return) or UserInputService:IsKeyDown(Enum.KeyCode.KeypadEnter)) then
  5563.             lastTextBoxString = obj.Text
  5564.         end
  5565.     end)
  5566. end)
  5567.  
  5568. UserInputService.InputBegan:Connect(function(input,gameProcessed)
  5569.     if gameProcessed then
  5570.         if Cmdbar and Cmdbar:IsFocused() then
  5571.             if input.KeyCode == Enum.KeyCode.Up then
  5572.                 historyCount = historyCount + 1
  5573.                 if historyCount > #cmdHistory then historyCount = #cmdHistory end
  5574.                 Cmdbar.Text = cmdHistory[historyCount] or ""
  5575.                 Cmdbar.CursorPosition = 1020
  5576.             elseif input.KeyCode == Enum.KeyCode.Down then
  5577.                 historyCount = historyCount - 1
  5578.                 if historyCount < 0 then historyCount = 0 end
  5579.                 Cmdbar.Text = cmdHistory[historyCount] or ""
  5580.                 Cmdbar.CursorPosition = 1020
  5581.             end
  5582.         elseif input.KeyCode == Enum.KeyCode.Return or input.KeyCode == Enum.KeyCode.KeypadEnter then
  5583.             lastEnteredString = lastTextBoxString
  5584.         end
  5585.     end
  5586. end)
  5587.  
  5588. Players.LocalPlayer.Chatted:Connect(function()
  5589.     wait()
  5590.     if lastEnteredString then
  5591.         local message = lastEnteredString
  5592.         lastEnteredString = nil
  5593.         do_exec(message, Players.LocalPlayer)
  5594.     end
  5595. end)
  5596.  
  5597. Cmdbar.PlaceholderText = "Command Bar ("..prefix..")"
  5598. Cmdbar:GetPropertyChangedSignal("Text"):Connect(function()
  5599.     if Cmdbar:IsFocused() then
  5600.         IndexContents(Cmdbar.Text,true,true)
  5601.     end
  5602. end)
  5603.  
  5604. local tabComplete = nil
  5605. tabAllowed = true
  5606. Cmdbar.FocusLost:Connect(function(enterpressed)
  5607.     if enterpressed then
  5608.         local cmdbarText = Cmdbar.Text:gsub("^"..prefix,"")
  5609.         execCmd(cmdbarText,Players.LocalPlayer,true)
  5610.     end
  5611.     if tabComplete then tabComplete:Disconnect() end
  5612.     wait()
  5613.     if not Cmdbar:IsFocused() then
  5614.         Cmdbar.Text = ""
  5615.         IndexContents('',true,false,true)
  5616.         if SettingsOpen == true then
  5617.             wait(0.2)
  5618.             Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.2, true, nil)
  5619.             CMDsF.Visible = false
  5620.         end
  5621.     end
  5622.     CMDsF.CanvasPosition = canvasPos
  5623. end)
  5624.  
  5625. Cmdbar.Focused:Connect(function()
  5626.     historyCount = 0
  5627.     canvasPos = CMDsF.CanvasPosition
  5628.     if SettingsOpen == true then
  5629.         wait(0.2)
  5630.         CMDsF.Visible = true
  5631.         Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil)
  5632.     end
  5633.     tabComplete = UserInputService.InputBegan:Connect(function(input,gameProcessed)
  5634.         if Cmdbar:IsFocused() then
  5635.             if tabAllowed == true and input.KeyCode == Enum.KeyCode.Tab and topCommand ~= nil then
  5636.                 autoComplete(topCommand)
  5637.             end
  5638.         else
  5639.             tabComplete:Disconnect()
  5640.         end
  5641.     end)
  5642. end)
  5643.  
  5644. ESPenabled = false
  5645. CHMSenabled = false
  5646.  
  5647. function round(num, numDecimalPlaces)
  5648.     local mult = 10^(numDecimalPlaces or 0)
  5649.     return math.floor(num * mult + 0.5) / mult
  5650. end
  5651.  
  5652. function ESP(plr, logic)
  5653.     task.spawn(function()
  5654.         for i,v in pairs(COREGUI:GetChildren()) do
  5655.             if v.Name == plr.Name..'_ESP' then
  5656.                 v:Destroy()
  5657.             end
  5658.         end
  5659.         wait()
  5660.         if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not COREGUI:FindFirstChild(plr.Name..'_ESP') then
  5661.             local ESPholder = Instance.new("Folder")
  5662.             ESPholder.Name = plr.Name..'_ESP'
  5663.             ESPholder.Parent = COREGUI
  5664.             repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5665.             for b,n in pairs (plr.Character:GetChildren()) do
  5666.                 if (n:IsA("BasePart")) then
  5667.                     local a = Instance.new("BoxHandleAdornment")
  5668.                     a.Name = plr.Name
  5669.                     a.Parent = ESPholder
  5670.                     a.Adornee = n
  5671.                     a.AlwaysOnTop = true
  5672.                     a.ZIndex = 10
  5673.                     a.Size = n.Size
  5674.                     a.Transparency = espTransparency
  5675.                     if logic == true then
  5676.                         a.Color = BrickColor.new(plr.TeamColor == Players.LocalPlayer.TeamColor and "Bright green" or "Bright red")
  5677.                     else
  5678.                         a.Color = plr.TeamColor
  5679.                     end
  5680.                 end
  5681.             end
  5682.             if plr.Character and plr.Character:FindFirstChild('Head') then
  5683.                 local BillboardGui = Instance.new("BillboardGui")
  5684.                 local TextLabel = Instance.new("TextLabel")
  5685.                 BillboardGui.Adornee = plr.Character.Head
  5686.                 BillboardGui.Name = plr.Name
  5687.                 BillboardGui.Parent = ESPholder
  5688.                 BillboardGui.Size = UDim2.new(0, 100, 0, 150)
  5689.                 BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
  5690.                 BillboardGui.AlwaysOnTop = true
  5691.                 TextLabel.Parent = BillboardGui
  5692.                 TextLabel.BackgroundTransparency = 1
  5693.                 TextLabel.Position = UDim2.new(0, 0, 0, -50)
  5694.                 TextLabel.Size = UDim2.new(0, 100, 0, 100)
  5695.                 TextLabel.Font = Enum.Font.SourceSansSemibold
  5696.                 TextLabel.TextSize = 20
  5697.                 TextLabel.TextColor3 = Color3.new(1, 1, 1)
  5698.                 TextLabel.TextStrokeTransparency = 0
  5699.                 TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
  5700.                 TextLabel.Text = 'Name: '..plr.Name
  5701.                 TextLabel.ZIndex = 10
  5702.                 local espLoopFunc
  5703.                 local teamChange
  5704.                 local addedFunc
  5705.                 addedFunc = plr.CharacterAdded:Connect(function()
  5706.                     if ESPenabled then
  5707.                         espLoopFunc:Disconnect()
  5708.                         teamChange:Disconnect()
  5709.                         ESPholder:Destroy()
  5710.                         repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5711.                         ESP(plr, logic)
  5712.                         addedFunc:Disconnect()
  5713.                     else
  5714.                         teamChange:Disconnect()
  5715.                         addedFunc:Disconnect()
  5716.                     end
  5717.                 end)
  5718.                 teamChange = plr:GetPropertyChangedSignal("TeamColor"):Connect(function()
  5719.                     if ESPenabled then
  5720.                         espLoopFunc:Disconnect()
  5721.                         addedFunc:Disconnect()
  5722.                         ESPholder:Destroy()
  5723.                         repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5724.                         ESP(plr, logic)
  5725.                         teamChange:Disconnect()
  5726.                     else
  5727.                         teamChange:Disconnect()
  5728.                     end
  5729.                 end)
  5730.                 local function espLoop()
  5731.                     if COREGUI:FindFirstChild(plr.Name..'_ESP') then
  5732.                         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
  5733.                             local pos = math.floor((getRoot(Players.LocalPlayer.Character).Position - getRoot(plr.Character).Position).magnitude)
  5734.                             TextLabel.Text = 'Name: '..plr.Name..' | Health: '..round(plr.Character:FindFirstChildOfClass('Humanoid').Health, 1)..' | Studs: '..pos
  5735.                         end
  5736.                     else
  5737.                         teamChange:Disconnect()
  5738.                         addedFunc:Disconnect()
  5739.                         espLoopFunc:Disconnect()
  5740.                     end
  5741.                 end
  5742.                 espLoopFunc = RunService.RenderStepped:Connect(espLoop)
  5743.             end
  5744.         end
  5745.     end)
  5746. end
  5747.  
  5748. function CHMS(plr)
  5749.     task.spawn(function()
  5750.         for i,v in pairs(COREGUI:GetChildren()) do
  5751.             if v.Name == plr.Name..'_CHMS' then
  5752.                 v:Destroy()
  5753.             end
  5754.         end
  5755.         wait()
  5756.         if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not COREGUI:FindFirstChild(plr.Name..'_CHMS') then
  5757.             local ESPholder = Instance.new("Folder")
  5758.             ESPholder.Name = plr.Name..'_CHMS'
  5759.             ESPholder.Parent = COREGUI
  5760.             repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5761.             for b,n in pairs (plr.Character:GetChildren()) do
  5762.                 if (n:IsA("BasePart")) then
  5763.                     local a = Instance.new("BoxHandleAdornment")
  5764.                     a.Name = plr.Name
  5765.                     a.Parent = ESPholder
  5766.                     a.Adornee = n
  5767.                     a.AlwaysOnTop = true
  5768.                     a.ZIndex = 10
  5769.                     a.Size = n.Size
  5770.                     a.Transparency = espTransparency
  5771.                     a.Color = plr.TeamColor
  5772.                 end
  5773.             end
  5774.             local addedFunc
  5775.             local teamChange
  5776.             local CHMSremoved
  5777.             addedFunc = plr.CharacterAdded:Connect(function()
  5778.                 if CHMSenabled then
  5779.                     ESPholder:Destroy()
  5780.                     teamChange:Disconnect()
  5781.                     repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5782.                     CHMS(plr)
  5783.                     addedFunc:Disconnect()
  5784.                 else
  5785.                     teamChange:Disconnect()
  5786.                     addedFunc:Disconnect()
  5787.                 end
  5788.             end)
  5789.             teamChange = plr:GetPropertyChangedSignal("TeamColor"):Connect(function()
  5790.                 if CHMSenabled then
  5791.                     ESPholder:Destroy()
  5792.                     addedFunc:Disconnect()
  5793.                     repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5794.                     CHMS(plr)
  5795.                     teamChange:Disconnect()
  5796.                 else
  5797.                     teamChange:Disconnect()
  5798.                 end
  5799.             end)
  5800.             CHMSremoved = ESPholder.AncestryChanged:Connect(function()
  5801.                 teamChange:Disconnect()
  5802.                 addedFunc:Disconnect()
  5803.                 CHMSremoved:Disconnect()
  5804.             end)
  5805.         end
  5806.     end)
  5807. end
  5808.  
  5809. function Locate(plr)
  5810.     task.spawn(function()
  5811.         for i,v in pairs(COREGUI:GetChildren()) do
  5812.             if v.Name == plr.Name..'_LC' then
  5813.                 v:Destroy()
  5814.             end
  5815.         end
  5816.         wait()
  5817.         if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not COREGUI:FindFirstChild(plr.Name..'_LC') then
  5818.             local ESPholder = Instance.new("Folder")
  5819.             ESPholder.Name = plr.Name..'_LC'
  5820.             ESPholder.Parent = COREGUI
  5821.             repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5822.             for b,n in pairs (plr.Character:GetChildren()) do
  5823.                 if (n:IsA("BasePart")) then
  5824.                     local a = Instance.new("BoxHandleAdornment")
  5825.                     a.Name = plr.Name
  5826.                     a.Parent = ESPholder
  5827.                     a.Adornee = n
  5828.                     a.AlwaysOnTop = true
  5829.                     a.ZIndex = 10
  5830.                     a.Size = n.Size
  5831.                     a.Transparency = espTransparency
  5832.                     a.Color = plr.TeamColor
  5833.                 end
  5834.             end
  5835.             if plr.Character and plr.Character:FindFirstChild('Head') then
  5836.                 local BillboardGui = Instance.new("BillboardGui")
  5837.                 local TextLabel = Instance.new("TextLabel")
  5838.                 BillboardGui.Adornee = plr.Character.Head
  5839.                 BillboardGui.Name = plr.Name
  5840.                 BillboardGui.Parent = ESPholder
  5841.                 BillboardGui.Size = UDim2.new(0, 100, 0, 150)
  5842.                 BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
  5843.                 BillboardGui.AlwaysOnTop = true
  5844.                 TextLabel.Parent = BillboardGui
  5845.                 TextLabel.BackgroundTransparency = 1
  5846.                 TextLabel.Position = UDim2.new(0, 0, 0, -50)
  5847.                 TextLabel.Size = UDim2.new(0, 100, 0, 100)
  5848.                 TextLabel.Font = Enum.Font.SourceSansSemibold
  5849.                 TextLabel.TextSize = 20
  5850.                 TextLabel.TextColor3 = Color3.new(1, 1, 1)
  5851.                 TextLabel.TextStrokeTransparency = 0
  5852.                 TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
  5853.                 TextLabel.Text = 'Name: '..plr.Name
  5854.                 TextLabel.ZIndex = 10
  5855.                 local lcLoopFunc
  5856.                 local addedFunc
  5857.                 local teamChange
  5858.                 addedFunc = plr.CharacterAdded:Connect(function()
  5859.                     if ESPholder ~= nil and ESPholder.Parent ~= nil then
  5860.                         lcLoopFunc:Disconnect()
  5861.                         teamChange:Disconnect()
  5862.                         ESPholder:Destroy()
  5863.                         repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5864.                         Locate(plr)
  5865.                         addedFunc:Disconnect()
  5866.                     else
  5867.                         teamChange:Disconnect()
  5868.                         addedFunc:Disconnect()
  5869.                     end
  5870.                 end)
  5871.                 teamChange = plr:GetPropertyChangedSignal("TeamColor"):Connect(function()
  5872.                     if ESPholder ~= nil and ESPholder.Parent ~= nil then
  5873.                         lcLoopFunc:Disconnect()
  5874.                         addedFunc:Disconnect()
  5875.                         ESPholder:Destroy()
  5876.                         repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChildOfClass("Humanoid")
  5877.                         Locate(plr)
  5878.                         teamChange:Disconnect()
  5879.                     else
  5880.                         teamChange:Disconnect()
  5881.                     end
  5882.                 end)
  5883.                 local function lcLoop()
  5884.                     if COREGUI:FindFirstChild(plr.Name..'_LC') then
  5885.                         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
  5886.                             local pos = math.floor((getRoot(Players.LocalPlayer.Character).Position - getRoot(plr.Character).Position).magnitude)
  5887.                             TextLabel.Text = 'Name: '..plr.Name..' | Health: '..round(plr.Character:FindFirstChildOfClass('Humanoid').Health, 1)..' | Studs: '..pos
  5888.                         end
  5889.                     else
  5890.                         teamChange:Disconnect()
  5891.                         addedFunc:Disconnect()
  5892.                         lcLoopFunc:Disconnect()
  5893.                     end
  5894.                 end
  5895.                 lcLoopFunc = RunService.RenderStepped:Connect(lcLoop)
  5896.             end
  5897.         end
  5898.     end)
  5899. end
  5900.  
  5901. local bindsGUI = KeybindEditor
  5902. local awaitingInput = false
  5903. local keySelected = false
  5904.  
  5905. function refreshbinds()
  5906.     if Holder_2 then
  5907.         Holder_2:ClearAllChildren()
  5908.         Holder_2.CanvasSize = UDim2.new(0, 0, 0, 10)
  5909.         for i = 1, #binds do
  5910.             local YSize = 25
  5911.             local Position = ((i * YSize) - YSize)
  5912.             local newbind = Example_2:Clone()
  5913.             newbind.Parent = Holder_2
  5914.             newbind.Visible = true
  5915.             newbind.Position = UDim2.new(0,0,0, Position + 5)
  5916.             table.insert(shade2,newbind)
  5917.             table.insert(shade2,newbind.Text)
  5918.             table.insert(text1,newbind.Text)
  5919.             table.insert(shade3,newbind.Text.Delete)
  5920.             table.insert(text2,newbind.Text.Delete)
  5921.             local input = tostring(binds[i].KEY)
  5922.             local key
  5923.             if input == 'RightClick' or input == 'LeftClick' then
  5924.                 key = input
  5925.             else
  5926.                 key = input:sub(14)
  5927.             end
  5928.             if binds[i].TOGGLE then
  5929.                 newbind.Text.Text = key.." > "..binds[i].COMMAND.." / "..binds[i].TOGGLE
  5930.             else
  5931.                 newbind.Text.Text = key.." > "..binds[i].COMMAND.."  "..(binds[i].ISKEYUP and "(keyup)" or "(keydown)")
  5932.             end
  5933.             Holder_2.CanvasSize = UDim2.new(0,0,0, Position + 30)
  5934.             newbind.Text.Delete.MouseButton1Click:Connect(function()
  5935.                 unkeybind(binds[i].COMMAND,binds[i].KEY)
  5936.             end)
  5937.         end
  5938.     end
  5939. end
  5940.  
  5941. refreshbinds()
  5942.  
  5943. toggleOn = {}
  5944.  
  5945. function unkeybind(cmd,key)
  5946.     for i = #binds,1,-1 do
  5947.         if binds[i].COMMAND == cmd and binds[i].KEY == key then
  5948.             toggleOn[binds[i]] = nil
  5949.             table.remove(binds, i)
  5950.         end
  5951.     end
  5952.     refreshbinds()
  5953.     updatesaves()
  5954.     if key == 'RightClick' or key == 'LeftClick' then
  5955.         notify('Keybinds Updated','Unbinded '..key..' from '..cmd)
  5956.     else
  5957.         notify('Keybinds Updated','Unbinded '..key:sub(14)..' from '..cmd)
  5958.     end
  5959. end
  5960.  
  5961. PositionsFrame.Delete.MouseButton1Click:Connect(function()
  5962.     execCmd('cpos')
  5963. end)
  5964.  
  5965. function refreshwaypoints()
  5966.     if #WayPoints > 0 or #pWayPoints > 0 then
  5967.         PositionsHint:Destroy()
  5968.     end
  5969.     if Holder_4 then
  5970.         Holder_4:ClearAllChildren()
  5971.         Holder_4.CanvasSize = UDim2.new(0, 0, 0, 10)
  5972.         local YSize = 25
  5973.         local num = 1
  5974.         for i = 1, #WayPoints do
  5975.             local Position = ((num * YSize) - YSize)
  5976.             local newpoint = Example_4:Clone()
  5977.             newpoint.Parent = Holder_4
  5978.             newpoint.Visible = true
  5979.             newpoint.Position = UDim2.new(0,0,0, Position + 5)
  5980.             newpoint.Text.Text = WayPoints[i].NAME
  5981.             table.insert(shade2,newpoint)
  5982.             table.insert(shade2,newpoint.Text)
  5983.             table.insert(text1,newpoint.Text)
  5984.             table.insert(shade3,newpoint.Text.Delete)
  5985.             table.insert(text2,newpoint.Text.Delete)
  5986.             table.insert(shade3,newpoint.Text.TP)
  5987.             table.insert(text2,newpoint.Text.TP)
  5988.             Holder_4.CanvasSize = UDim2.new(0,0,0, Position + 30)
  5989.             newpoint.Text.Delete.MouseButton1Click:Connect(function()
  5990.                 execCmd('dpos '..WayPoints[i].NAME)
  5991.             end)
  5992.             newpoint.Text.TP.MouseButton1Click:Connect(function()
  5993.                 execCmd("loadpos "..WayPoints[i].NAME)
  5994.             end)
  5995.             num = num+1
  5996.         end
  5997.         for i = 1, #pWayPoints do
  5998.             local Position = ((num * YSize) - YSize)
  5999.             local newpoint = Example_4:Clone()
  6000.             newpoint.Parent = Holder_4
  6001.             newpoint.Visible = true
  6002.             newpoint.Position = UDim2.new(0,0,0, Position + 5)
  6003.             newpoint.Text.Text = pWayPoints[i].NAME
  6004.             table.insert(shade2,newpoint)
  6005.             table.insert(shade2,newpoint.Text)
  6006.             table.insert(text1,newpoint.Text)
  6007.             table.insert(shade3,newpoint.Text.Delete)
  6008.             table.insert(text2,newpoint.Text.Delete)
  6009.             table.insert(shade3,newpoint.Text.TP)
  6010.             table.insert(text2,newpoint.Text.TP)
  6011.             Holder_4.CanvasSize = UDim2.new(0,0,0, Position + 30)
  6012.             newpoint.Text.Delete.MouseButton1Click:Connect(function()
  6013.                 execCmd('dpos '..pWayPoints[i].NAME)
  6014.             end)
  6015.             newpoint.Text.TP.MouseButton1Click:Connect(function()
  6016.                 execCmd("loadpos "..pWayPoints[i].NAME)
  6017.             end)
  6018.             num = num+1
  6019.         end
  6020.     end
  6021. end
  6022.  
  6023. refreshwaypoints()
  6024.  
  6025. function refreshaliases()
  6026.     if #aliases > 0 then
  6027.         AliasHint:Destroy()
  6028.     end
  6029.     if Holder_3 then
  6030.         Holder_3:ClearAllChildren()
  6031.         Holder_3.CanvasSize = UDim2.new(0, 0, 0, 10)
  6032.         for i = 1, #aliases do
  6033.             local YSize = 25
  6034.             local Position = ((i * YSize) - YSize)
  6035.             local newalias = Example_3:Clone()
  6036.             newalias.Parent = Holder_3
  6037.             newalias.Visible = true
  6038.             newalias.Position = UDim2.new(0,0,0, Position + 5)
  6039.             newalias.Text.Text = aliases[i].CMD.." > "..aliases[i].ALIAS
  6040.             table.insert(shade2,newalias)
  6041.             table.insert(shade2,newalias.Text)
  6042.             table.insert(text1,newalias.Text)
  6043.             table.insert(shade3,newalias.Text.Delete)
  6044.             table.insert(text2,newalias.Text.Delete)
  6045.             Holder_3.CanvasSize = UDim2.new(0,0,0, Position + 30)
  6046.             newalias.Text.Delete.MouseButton1Click:Connect(function()
  6047.                 execCmd('removealias '..aliases[i].ALIAS)
  6048.             end)
  6049.         end
  6050.     end
  6051. end
  6052.  
  6053. local bindChosenKeyUp = false
  6054.  
  6055. BindTo.MouseButton1Click:Connect(function()
  6056.     awaitingInput = true
  6057.     BindTo.Text = 'Press something'
  6058. end)
  6059.  
  6060. BindTriggerSelect.MouseButton1Click:Connect(function()
  6061.     bindChosenKeyUp = not bindChosenKeyUp
  6062.     BindTriggerSelect.Text = bindChosenKeyUp and "KeyUp" or "KeyDown"
  6063. end)
  6064.  
  6065. newToggle = false
  6066. Cmdbar_3.Parent.Visible = false
  6067. On_2.MouseButton1Click:Connect(function()
  6068.     if newToggle == false then newToggle = true
  6069.         On_2.BackgroundTransparency = 0
  6070.         Cmdbar_3.Parent.Visible = true
  6071.         BindTriggerSelect.Visible = false
  6072.     else newToggle = false
  6073.         On_2.BackgroundTransparency = 1
  6074.         Cmdbar_3.Parent.Visible = false
  6075.         BindTriggerSelect.Visible = true
  6076.     end
  6077. end)
  6078.  
  6079. Add_2.MouseButton1Click:Connect(function()
  6080.     if keySelected then
  6081.         if string.find(Cmdbar_2.Text, "\\\\") or string.find(Cmdbar_3.Text, "\\\\") then
  6082.             notify('Keybind Error','Only use one backslash to keybind multiple commands into one keybind or command')
  6083.         else
  6084.             if newToggle and Cmdbar_3.Text ~= '' and Cmdbar_2.text ~= '' then
  6085.                 addbind(Cmdbar_2.Text,keyPressed,false,Cmdbar_3.Text)
  6086.             elseif not newToggle and Cmdbar_2.text ~= '' then
  6087.                 addbind(Cmdbar_2.Text,keyPressed,bindChosenKeyUp)
  6088.             else
  6089.                 return
  6090.             end
  6091.             refreshbinds()
  6092.             updatesaves()
  6093.             if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  6094.                 notify('Keybinds Updated','Binded '..keyPressed..' to '..Cmdbar_2.Text..(newToggle and " / "..Cmdbar_3.Text or ""))
  6095.             else
  6096.                 notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to '..Cmdbar_2.Text..(newToggle and " / "..Cmdbar_3.Text or ""))
  6097.             end
  6098.         end
  6099.     end
  6100. end)
  6101.  
  6102. Exit_2.MouseButton1Click:Connect(function()
  6103.     Cmdbar_2.Text = 'Command'
  6104.     Cmdbar_3.Text = 'Command 2'
  6105.     BindTo.Text = 'Click to bind'
  6106.     bindChosenKeyUp = false
  6107.     BindTriggerSelect.Text = "KeyDown"
  6108.     keySelected = false
  6109.     KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  6110. end)
  6111.  
  6112. function onInputBegan(input,gameProcessed)
  6113.     if awaitingInput then
  6114.         if input.UserInputType == Enum.UserInputType.Keyboard then
  6115.             keyPressed = tostring(input.KeyCode)
  6116.             BindTo.Text = keyPressed:sub(14)
  6117.         elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  6118.             keyPressed = 'LeftClick'
  6119.             BindTo.Text = 'LeftClick'
  6120.         elseif input.UserInputType == Enum.UserInputType.MouseButton2 then
  6121.             keyPressed = 'RightClick'
  6122.             BindTo.Text = 'RightClick'
  6123.         end
  6124.         awaitingInput = false
  6125.         keySelected = true
  6126.     end
  6127.     if not gameProcessed and #binds > 0 then
  6128.         for i,v in pairs(binds) do
  6129.             if not v.ISKEYUP then
  6130.                 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
  6131.                     if v.TOGGLE then
  6132.                         local isOn = toggleOn[v] == true
  6133.                         toggleOn[v] = not isOn
  6134.                         if isOn then
  6135.                             execCmd(v.TOGGLE,Players.LocalPlayer)
  6136.                         else
  6137.                             execCmd(v.COMMAND,Players.LocalPlayer)
  6138.                         end
  6139.                     else
  6140.                         execCmd(v.COMMAND,Players.LocalPlayer)
  6141.                     end
  6142.                 end
  6143.             end
  6144.         end
  6145.     end
  6146. end
  6147.  
  6148. function onInputEnded(input,gameProcessed)
  6149.     if not gameProcessed and #binds > 0 then
  6150.         for i,v in pairs(binds) do
  6151.             if v.ISKEYUP then
  6152.                 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
  6153.                     execCmd(v.COMMAND,Players.LocalPlayer)
  6154.                 end
  6155.             end
  6156.         end
  6157.     end
  6158. end
  6159.  
  6160. UserInputService.InputBegan:Connect(onInputBegan)
  6161. UserInputService.InputEnded:Connect(onInputEnded)
  6162.  
  6163. ClickTP.Select.MouseButton1Click:Connect(function()
  6164.     if keySelected then
  6165.         addbind('clicktp',keyPressed,bindChosenKeyUp)
  6166.         refreshbinds()
  6167.         updatesaves()
  6168.         if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  6169.             notify('Keybinds Updated','Binded '..keyPressed..' to click tp')
  6170.         else
  6171.             notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to click tp')
  6172.         end
  6173.     end
  6174. end)
  6175.  
  6176. ClickDelete.Select.MouseButton1Click:Connect(function()
  6177.     if keySelected then
  6178.         addbind('clickdel',keyPressed,bindChosenKeyUp)
  6179.         refreshbinds()
  6180.         updatesaves()
  6181.         if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  6182.             notify('Keybinds Updated','Binded '..keyPressed..' to click delete')
  6183.         else
  6184.             notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to click delete')
  6185.         end
  6186.     end
  6187. end)
  6188.  
  6189. local function clicktpFunc()
  6190.     pcall(function()
  6191.         local character = Players.LocalPlayer.Character
  6192.         local humanoid = character:FindFirstChildOfClass("Humanoid")
  6193.         if humanoid and humanoid.SeatPart then
  6194.             humanoid.Sit = false
  6195.             wait(0.1)
  6196.         end
  6197.  
  6198.         local hipHeight = humanoid and humanoid.HipHeight > 0 and (humanoid.HipHeight + 1)
  6199.         local rootPart = getRoot(character)
  6200.         local rootPartPosition = rootPart.Position
  6201.         local hitPosition = IYMouse.Hit.Position
  6202.         local newCFrame = CFrame.new(
  6203.             hitPosition,
  6204.             Vector3.new(rootPartPosition.X, hitPosition.Y, rootPartPosition.Z)
  6205.         ) * CFrame.Angles(0, math.pi, 0)
  6206.  
  6207.         rootPart.CFrame = newCFrame + Vector3.new(0, hipHeight or 4, 0)
  6208.     end)
  6209. end
  6210.  
  6211. IYMouse.Button1Down:Connect(function()
  6212.     for i,v in pairs(binds) do
  6213.         if v.COMMAND == 'clicktp' then
  6214.             local input = v.KEY
  6215.             if input == 'RightClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) and Players.LocalPlayer.Character then
  6216.                 clicktpFunc()
  6217.             elseif input == 'LeftClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) and Players.LocalPlayer.Character then
  6218.                 clicktpFunc()
  6219.             elseif UserInputService:IsKeyDown(Enum.KeyCode[input:sub(14)]) and Players.LocalPlayer.Character then
  6220.                 clicktpFunc()
  6221.             end
  6222.         elseif v.COMMAND == 'clickdel' then
  6223.             local input = v.KEY
  6224.             if input == 'RightClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then
  6225.                 pcall(function() IYMouse.Target:Destroy() end)
  6226.             elseif input == 'LeftClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
  6227.                 pcall(function() IYMouse.Target:Destroy() end)
  6228.             elseif UserInputService:IsKeyDown(Enum.KeyCode[input:sub(14)]) then
  6229.                 pcall(function() IYMouse.Target:Destroy() end)
  6230.             end
  6231.         end
  6232.     end
  6233. end)
  6234.  
  6235. PluginsGUI = PluginEditor.background
  6236.  
  6237. function addPlugin(name)
  6238.     if name:lower() == 'plugin file name' or name:lower() == 'iy_fe.iy' or name == 'iy_fe' then
  6239.         notify('Plugin Error','Please enter a valid plugin')
  6240.     else
  6241.         local file
  6242.         local fileName
  6243.         if name:sub(-3) == '.iy' then
  6244.             pcall(function() file = readfile(name) end)
  6245.             fileName = name
  6246.         else
  6247.             pcall(function() file = readfile(name..'.iy') end)
  6248.             fileName = name..'.iy'
  6249.         end
  6250.         if file then
  6251.             if not FindInTable(PluginsTable, fileName) then
  6252.                 table.insert(PluginsTable, fileName)
  6253.                 LoadPlugin(fileName)
  6254.                 refreshplugins()
  6255.                 pcall(eventEditor.Refresh)
  6256.             else
  6257.                 notify('Plugin Error','This plugin is already added')
  6258.             end
  6259.         else
  6260.             notify('Plugin Error','Cannot locate file "'..fileName..'". Is the file in the correct folder?')
  6261.         end
  6262.     end
  6263. end
  6264.  
  6265. function deletePlugin(name)
  6266.     local pName = name..'.iy'
  6267.     if name:sub(-3) == '.iy' then
  6268.         pName = name
  6269.     end
  6270.     for i = #cmds,1,-1 do
  6271.         if cmds[i].PLUGIN == pName then
  6272.             table.remove(cmds, i)
  6273.         end
  6274.     end
  6275.     for i,v in pairs(CMDsF:GetChildren()) do
  6276.         if v.Name == 'PLUGIN_'..pName then
  6277.             v:Destroy()
  6278.         end
  6279.     end
  6280.     for i,v in pairs(PluginsTable) do
  6281.         if v == pName then
  6282.             table.remove(PluginsTable, i)
  6283.             notify('Removed Plugin',pName..' was removed')
  6284.         end
  6285.     end
  6286.     IndexContents('',true)
  6287.     refreshplugins()
  6288. end
  6289.  
  6290. function refreshplugins(dontSave)
  6291.     if #PluginsTable > 0 then
  6292.         PluginsHint:Destroy()
  6293.     end
  6294.     if Holder_5 then
  6295.         Holder_5:ClearAllChildren()
  6296.         Holder_5.CanvasSize = UDim2.new(0, 0, 0, 10)
  6297.         for i,v in pairs(PluginsTable) do
  6298.             local pName = v
  6299.             local YSize = 25
  6300.             local Position = ((i * YSize) - YSize)
  6301.             local newplugin = Example_5:Clone()
  6302.             newplugin.Parent = Holder_5
  6303.             newplugin.Visible = true
  6304.             newplugin.Position = UDim2.new(0,0,0, Position + 5)
  6305.             newplugin.Text.Text = pName
  6306.             table.insert(shade2,newplugin)
  6307.             table.insert(shade2,newplugin.Text)
  6308.             table.insert(text1,newplugin.Text)
  6309.             table.insert(shade3,newplugin.Text.Delete)
  6310.             table.insert(text2,newplugin.Text.Delete)
  6311.             Holder_5.CanvasSize = UDim2.new(0,0,0, Position + 30)
  6312.             newplugin.Text.Delete.MouseButton1Click:Connect(function()
  6313.                 deletePlugin(pName)
  6314.             end)
  6315.         end
  6316.         if not dontSave then
  6317.             updatesaves()
  6318.         end
  6319.     end
  6320. end
  6321.  
  6322. local PluginCache
  6323. function LoadPlugin(val,startup)
  6324.     local plugin
  6325.  
  6326.     function CatchedPluginLoad()
  6327.         plugin = loadfile(val)()
  6328.     end
  6329.  
  6330.     function handlePluginError(plerror)
  6331.         notify('Plugin Error','An error occurred with the plugin, "'..val..'" and it could not be loaded')
  6332.         if FindInTable(PluginsTable,val) then
  6333.             for i,v in pairs(PluginsTable) do
  6334.                 if v == val then
  6335.                     table.remove(PluginsTable,i)
  6336.                 end
  6337.             end
  6338.         end
  6339.         updatesaves()
  6340.  
  6341.         print("Original Error: "..tostring(plerror))
  6342.         print("Plugin Error, stack traceback: "..tostring(debug.traceback()))
  6343.  
  6344.         plugin = nil
  6345.  
  6346.         return false
  6347.     end
  6348.  
  6349.     xpcall(CatchedPluginLoad, handlePluginError)
  6350.  
  6351.     if plugin ~= nil then
  6352.         if not startup then
  6353.             notify('Loaded Plugin',"Name: "..plugin["PluginName"].."\n".."Description: "..plugin["PluginDescription"])
  6354.         end
  6355.         addcmdtext('',val)
  6356.         addcmdtext(string.upper('--'..plugin["PluginName"]),val,plugin["PluginDescription"])
  6357.         if plugin["Commands"] then
  6358.             for i,v in pairs(plugin["Commands"]) do
  6359.                 local cmdExt = ''
  6360.                 local cmdName = i
  6361.                 local function handleNames()
  6362.                     cmdName = i
  6363.                     if findCmd(cmdName..cmdExt) then
  6364.                         if isNumber(cmdExt) then
  6365.                             cmdExt = cmdExt+1
  6366.                         else
  6367.                             cmdExt = 1
  6368.                         end
  6369.                         handleNames()
  6370.                     else
  6371.                         cmdName = cmdName..cmdExt
  6372.                     end
  6373.                 end
  6374.                 handleNames()
  6375.                 addcmd(cmdName, v["Aliases"], v["Function"], val)
  6376.                 if v["ListName"] then
  6377.                     local newName = v.ListName
  6378.                     local cmdNames = {i,unpack(v.Aliases)}
  6379.                     for i,v in pairs(cmdNames) do
  6380.                         newName = newName:gsub(v,v..cmdExt)
  6381.                     end
  6382.                     addcmdtext(newName,val,v["Description"])
  6383.                 else
  6384.                     addcmdtext(cmdName,val,v["Description"])
  6385.                 end
  6386.             end
  6387.         end
  6388.         IndexContents('',true)
  6389.     elseif plugin == nil then
  6390.         plugin = nil
  6391.     end
  6392. end
  6393.  
  6394. function FindPlugins()
  6395.     if PluginsTable ~= nil and type(PluginsTable) == "table" then
  6396.         for i,v in pairs(PluginsTable) do
  6397.             LoadPlugin(v,true)
  6398.         end
  6399.         refreshplugins(true)
  6400.     end
  6401. end
  6402.  
  6403. AddPlugin.MouseButton1Click:Connect(function()
  6404.     addPlugin(PluginsGUI.FileName.Text)
  6405. end)
  6406.  
  6407. Exit_3.MouseButton1Click:Connect(function()
  6408.     PluginEditor:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  6409.     FileName.Text = 'Plugin File Name'
  6410. end)
  6411.  
  6412. Add_3.MouseButton1Click:Connect(function()
  6413.     PluginEditor:TweenPosition(UDim2.new(0.5, -180, 0, 310), "InOut", "Quart", 0.5, true, nil)
  6414. end)
  6415.  
  6416. Plugins.MouseButton1Click:Connect(function()
  6417.     if writefileExploit() then
  6418.         PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  6419.         wait(0.5)
  6420.         SettingsHolder.Visible = false
  6421.     else
  6422.         notify('Incompatible Exploit','Your exploit is unable to use plugins (missing read/writefile)')
  6423.     end
  6424. end)
  6425.  
  6426. Close_4.MouseButton1Click:Connect(function()
  6427.     SettingsHolder.Visible = true
  6428.     PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  6429. end)
  6430.  
  6431. local TeleportCheck = false
  6432. Players.LocalPlayer.OnTeleport:Connect(function(State)
  6433.     if KeepInfYield and (not TeleportCheck) and queueteleport then
  6434.         TeleportCheck = true
  6435.         queueteleport("loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'))()")
  6436.     end
  6437. end)
  6438.  
  6439. addcmd('addalias',{},function(args, speaker)
  6440.     if #args < 2 then return end
  6441.     local cmd = string.lower(args[1])
  6442.     local alias = string.lower(args[2])
  6443.     for i,v in pairs(cmds) do
  6444.         if v.NAME:lower()==cmd or FindInTable(v.ALIAS,cmd) then
  6445.             customAlias[alias] = v
  6446.             aliases[#aliases + 1] = {CMD = cmd, ALIAS = alias}
  6447.             notify('Aliases Modified',"Added "..alias.." as an alias to "..cmd)
  6448.             updatesaves()
  6449.             refreshaliases()
  6450.             break
  6451.         end
  6452.     end
  6453. end)
  6454.  
  6455. addcmd('removealias',{},function(args, speaker)
  6456.     if #args < 1 then return end
  6457.     local alias = string.lower(args[1])
  6458.     if customAlias[alias] then
  6459.         local cmd = customAlias[alias].NAME
  6460.         customAlias[alias] = nil
  6461.         for i = #aliases,1,-1 do
  6462.             if aliases[i].ALIAS == tostring(alias) then
  6463.                 table.remove(aliases, i)
  6464.             end
  6465.         end
  6466.         notify('Aliases Modified',"Removed the alias "..alias.." from "..cmd)
  6467.         updatesaves()
  6468.         refreshaliases()
  6469.     end
  6470. end)
  6471.  
  6472. addcmd('clraliases',{},function(args, speaker)
  6473.     customAlias = {}
  6474.     aliases = {}
  6475.     notify('Aliases Modified','Removed all aliases')
  6476.     updatesaves()
  6477.     refreshaliases()
  6478. end)
  6479.  
  6480. addcmd('discord', {'support', 'help'}, function(args, speaker)
  6481.     if everyClipboard then
  6482.         toClipboard('https://discord.com/invite/dYHag43eeU')
  6483.         notify('Discord Invite', 'Copied to clipboard!\ndiscord.gg/dYHag43eeU')
  6484.     else
  6485.         notify('Discord Invite', 'discord.gg/dYHag43eeU')
  6486.     end
  6487.     if httprequest then
  6488.         httprequest({
  6489.             Url = 'http://127.0.0.1:6463/rpc?v=1',
  6490.             Method = 'POST',
  6491.             Headers = {
  6492.                 ['Content-Type'] = 'application/json',
  6493.                 Origin = 'https://discord.com'
  6494.             },
  6495.             Body = HttpService:JSONEncode({
  6496.                 cmd = 'INVITE_BROWSER',
  6497.                 nonce = HttpService:GenerateGUID(false),
  6498.                 args = {code = 'dYHag43eeU'}
  6499.             })
  6500.         })
  6501.     end
  6502. end)
  6503.  
  6504. addcmd('keepiy', {}, function(args, speaker)
  6505.     if queueteleport then
  6506.         KeepInfYield = true
  6507.         updatesaves()
  6508.     else
  6509.         notify('Incompatible Exploit','Your exploit does not support this command (missing queue_on_teleport)')
  6510.     end
  6511. end)
  6512.  
  6513. addcmd('unkeepiy', {}, function(args, speaker)
  6514.     if queueteleport then
  6515.         KeepInfYield = false
  6516.         updatesaves()
  6517.     else
  6518.         notify('Incompatible Exploit','Your exploit does not support this command (missing queue_on_teleport)')
  6519.     end
  6520. end)
  6521.  
  6522. addcmd('togglekeepiy', {}, function(args, speaker)
  6523.     if queueteleport then
  6524.         KeepInfYield = not KeepInfYield
  6525.         updatesaves()
  6526.     else
  6527.         notify('Incompatible Exploit','Your exploit does not support this command (missing queue_on_teleport)')
  6528.     end
  6529. end)
  6530.  
  6531. local canOpenServerinfo = true
  6532. addcmd('serverinfo',{'info','sinfo'},function(args, speaker)
  6533.     if not canOpenServerinfo then return end
  6534.     canOpenServerinfo = false
  6535.     task.spawn(function()
  6536.         local FRAME = Instance.new("Frame")
  6537.         local shadow = Instance.new("Frame")
  6538.         local PopupText = Instance.new("TextLabel")
  6539.         local Exit = Instance.new("TextButton")
  6540.         local ExitImage = Instance.new("ImageLabel")
  6541.         local background = Instance.new("Frame")
  6542.         local TextLabel = Instance.new("TextLabel")
  6543.         local TextLabel2 = Instance.new("TextLabel")
  6544.         local TextLabel3 = Instance.new("TextLabel")
  6545.         local Time = Instance.new("TextLabel")
  6546.         local appearance = Instance.new("TextLabel")
  6547.         local maxplayers = Instance.new("TextLabel")
  6548.         local name = Instance.new("TextLabel")
  6549.         local placeid = Instance.new("TextLabel")
  6550.         local playerid = Instance.new("TextLabel")
  6551.         local players = Instance.new("TextLabel")
  6552.         local CopyApp = Instance.new("TextButton")
  6553.         local CopyPlrID = Instance.new("TextButton")
  6554.         local CopyPlcID = Instance.new("TextButton")
  6555.         local CopyPlcName = Instance.new("TextButton")
  6556.  
  6557.         FRAME.Name = randomString()
  6558.         FRAME.Parent = ScaledHolder
  6559.         FRAME.Active = true
  6560.         FRAME.BackgroundTransparency = 1
  6561.         FRAME.Position = UDim2.new(0.5, -130, 0, -500)
  6562.         FRAME.Size = UDim2.new(0, 250, 0, 20)
  6563.         FRAME.ZIndex = 10
  6564.         dragGUI(FRAME)
  6565.  
  6566.         shadow.Name = "shadow"
  6567.         shadow.Parent = FRAME
  6568.         shadow.BackgroundColor3 = currentShade2
  6569.         shadow.BorderSizePixel = 0
  6570.         shadow.Size = UDim2.new(0, 250, 0, 20)
  6571.         shadow.ZIndex = 10
  6572.         table.insert(shade2,shadow)
  6573.  
  6574.         PopupText.Name = "PopupText"
  6575.         PopupText.Parent = shadow
  6576.         PopupText.BackgroundTransparency = 1
  6577.         PopupText.Size = UDim2.new(1, 0, 0.95, 0)
  6578.         PopupText.ZIndex = 10
  6579.         PopupText.Font = Enum.Font.SourceSans
  6580.         PopupText.TextSize = 14
  6581.         PopupText.Text = "Server"
  6582.         PopupText.TextColor3 = currentText1
  6583.         PopupText.TextWrapped = true
  6584.         table.insert(text1,PopupText)
  6585.  
  6586.         Exit.Name = "Exit"
  6587.         Exit.Parent = shadow
  6588.         Exit.BackgroundTransparency = 1
  6589.         Exit.Position = UDim2.new(1, -20, 0, 0)
  6590.         Exit.Size = UDim2.new(0, 20, 0, 20)
  6591.         Exit.Text = ""
  6592.         Exit.ZIndex = 10
  6593.  
  6594.         ExitImage.Parent = Exit
  6595.         ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
  6596.         ExitImage.BackgroundTransparency = 1
  6597.         ExitImage.Position = UDim2.new(0, 5, 0, 5)
  6598.         ExitImage.Size = UDim2.new(0, 10, 0, 10)
  6599.         ExitImage.Image = getcustomasset("infiniteyield/assets/close.png")
  6600.         ExitImage.ZIndex = 10
  6601.  
  6602.         background.Name = "background"
  6603.         background.Parent = FRAME
  6604.         background.Active = true
  6605.         background.BackgroundColor3 = currentShade1
  6606.         background.BorderSizePixel = 0
  6607.         background.Position = UDim2.new(0, 0, 1, 0)
  6608.         background.Size = UDim2.new(0, 250, 0, 250)
  6609.         background.ZIndex = 10
  6610.         table.insert(shade1,background)
  6611.  
  6612.         TextLabel.Name = "Text Label"
  6613.         TextLabel.Parent = background
  6614.         TextLabel.BackgroundTransparency = 1
  6615.         TextLabel.BorderSizePixel = 0
  6616.         TextLabel.Position = UDim2.new(0, 5, 0, 80)
  6617.         TextLabel.Size = UDim2.new(0, 100, 0, 20)
  6618.         TextLabel.ZIndex = 10
  6619.         TextLabel.Font = Enum.Font.SourceSansLight
  6620.         TextLabel.TextSize = 20
  6621.         TextLabel.Text = "Run Time:"
  6622.         TextLabel.TextColor3 = currentText1
  6623.         TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  6624.         table.insert(text1,TextLabel)
  6625.  
  6626.         TextLabel2.Name = "Text Label2"
  6627.         TextLabel2.Parent = background
  6628.         TextLabel2.BackgroundTransparency = 1
  6629.         TextLabel2.BorderSizePixel = 0
  6630.         TextLabel2.Position = UDim2.new(0, 5, 0, 130)
  6631.         TextLabel2.Size = UDim2.new(0, 100, 0, 20)
  6632.         TextLabel2.ZIndex = 10
  6633.         TextLabel2.Font = Enum.Font.SourceSansLight
  6634.         TextLabel2.TextSize = 20
  6635.         TextLabel2.Text = "Statistics:"
  6636.         TextLabel2.TextColor3 = currentText1
  6637.         TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
  6638.         table.insert(text1,TextLabel2)
  6639.  
  6640.         TextLabel3.Name = "Text Label3"
  6641.         TextLabel3.Parent = background
  6642.         TextLabel3.BackgroundTransparency = 1
  6643.         TextLabel3.BorderSizePixel = 0
  6644.         TextLabel3.Position = UDim2.new(0, 5, 0, 10)
  6645.         TextLabel3.Size = UDim2.new(0, 100, 0, 20)
  6646.         TextLabel3.ZIndex = 10
  6647.         TextLabel3.Font = Enum.Font.SourceSansLight
  6648.         TextLabel3.TextSize = 20
  6649.         TextLabel3.Text = "Local Player:"
  6650.         TextLabel3.TextColor3 = currentText1
  6651.         TextLabel3.TextXAlignment = Enum.TextXAlignment.Left
  6652.         table.insert(text1,TextLabel3)
  6653.  
  6654.         Time.Name = "Time"
  6655.         Time.Parent = background
  6656.         Time.BackgroundTransparency = 1
  6657.         Time.BorderSizePixel = 0
  6658.         Time.Position = UDim2.new(0, 5, 0, 105)
  6659.         Time.Size = UDim2.new(0, 100, 0, 20)
  6660.         Time.ZIndex = 10
  6661.         Time.Font = Enum.Font.SourceSans
  6662.         Time.FontSize = Enum.FontSize.Size14
  6663.         Time.Text = "LOADING"
  6664.         Time.TextColor3 = currentText1
  6665.         Time.TextXAlignment = Enum.TextXAlignment.Left
  6666.         table.insert(text1,Time)
  6667.  
  6668.         appearance.Name = "appearance"
  6669.         appearance.Parent = background
  6670.         appearance.BackgroundTransparency = 1
  6671.         appearance.BorderSizePixel = 0
  6672.         appearance.Position = UDim2.new(0, 5, 0, 55)
  6673.         appearance.Size = UDim2.new(0, 100, 0, 20)
  6674.         appearance.ZIndex = 10
  6675.         appearance.Font = Enum.Font.SourceSans
  6676.         appearance.FontSize = Enum.FontSize.Size14
  6677.         appearance.Text = "Appearance: LOADING"
  6678.         appearance.TextColor3 = currentText1
  6679.         appearance.TextXAlignment = Enum.TextXAlignment.Left
  6680.         table.insert(text1,appearance)
  6681.  
  6682.         maxplayers.Name = "maxplayers"
  6683.         maxplayers.Parent = background
  6684.         maxplayers.BackgroundTransparency = 1
  6685.         maxplayers.BorderSizePixel = 0
  6686.         maxplayers.Position = UDim2.new(0, 5, 0, 175)
  6687.         maxplayers.Size = UDim2.new(0, 100, 0, 20)
  6688.         maxplayers.ZIndex = 10
  6689.         maxplayers.Font = Enum.Font.SourceSans
  6690.         maxplayers.FontSize = Enum.FontSize.Size14
  6691.         maxplayers.Text = "LOADING"
  6692.         maxplayers.TextColor3 = currentText1
  6693.         maxplayers.TextXAlignment = Enum.TextXAlignment.Left
  6694.         table.insert(text1,maxplayers)
  6695.  
  6696.         name.Name = "name"
  6697.         name.Parent = background
  6698.         name.BackgroundTransparency = 1
  6699.         name.BorderSizePixel = 0
  6700.         name.Position = UDim2.new(0, 5, 0, 215)
  6701.         name.Size = UDim2.new(0, 240, 0, 30)
  6702.         name.ZIndex = 10
  6703.         name.Font = Enum.Font.SourceSans
  6704.         name.FontSize = Enum.FontSize.Size14
  6705.         name.Text = "Place Name: LOADING"
  6706.         name.TextColor3 = currentText1
  6707.         name.TextWrapped = true
  6708.         name.TextXAlignment = Enum.TextXAlignment.Left
  6709.         name.TextYAlignment = Enum.TextYAlignment.Top
  6710.         table.insert(text1,name)
  6711.  
  6712.         placeid.Name = "placeid"
  6713.         placeid.Parent = background
  6714.         placeid.BackgroundTransparency = 1
  6715.         placeid.BorderSizePixel = 0
  6716.         placeid.Position = UDim2.new(0, 5, 0, 195)
  6717.         placeid.Size = UDim2.new(0, 100, 0, 20)
  6718.         placeid.ZIndex = 10
  6719.         placeid.Font = Enum.Font.SourceSans
  6720.         placeid.FontSize = Enum.FontSize.Size14
  6721.         placeid.Text = "Place ID: LOADING"
  6722.         placeid.TextColor3 = currentText1
  6723.         placeid.TextXAlignment = Enum.TextXAlignment.Left
  6724.         table.insert(text1,placeid)
  6725.  
  6726.         playerid.Name = "playerid"
  6727.         playerid.Parent = background
  6728.         playerid.BackgroundTransparency = 1
  6729.         playerid.BorderSizePixel = 0
  6730.         playerid.Position = UDim2.new(0, 5, 0, 35)
  6731.         playerid.Size = UDim2.new(0, 100, 0, 20)
  6732.         playerid.ZIndex = 10
  6733.         playerid.Font = Enum.Font.SourceSans
  6734.         playerid.FontSize = Enum.FontSize.Size14
  6735.         playerid.Text = "Player ID: LOADING"
  6736.         playerid.TextColor3 = currentText1
  6737.         playerid.TextXAlignment = Enum.TextXAlignment.Left
  6738.         table.insert(text1,playerid)
  6739.  
  6740.         players.Name = "players"
  6741.         players.Parent = background
  6742.         players.BackgroundTransparency = 1
  6743.         players.BorderSizePixel = 0
  6744.         players.Position = UDim2.new(0, 5, 0, 155)
  6745.         players.Size = UDim2.new(0, 100, 0, 20)
  6746.         players.ZIndex = 10
  6747.         players.Font = Enum.Font.SourceSans
  6748.         players.FontSize = Enum.FontSize.Size14
  6749.         players.Text = "LOADING"
  6750.         players.TextColor3 = currentText1
  6751.         players.TextXAlignment = Enum.TextXAlignment.Left
  6752.         table.insert(text1,players)
  6753.  
  6754.         CopyApp.Name = "CopyApp"
  6755.         CopyApp.Parent = background
  6756.         CopyApp.BackgroundColor3 = currentShade2
  6757.         CopyApp.BorderSizePixel = 0
  6758.         CopyApp.Position = UDim2.new(0, 210, 0, 55)
  6759.         CopyApp.Size = UDim2.new(0, 35, 0, 20)
  6760.         CopyApp.Font = Enum.Font.SourceSans
  6761.         CopyApp.TextSize = 14
  6762.         CopyApp.Text = "Copy"
  6763.         CopyApp.TextColor3 = currentText1
  6764.         CopyApp.ZIndex = 10
  6765.         table.insert(shade2,CopyApp)
  6766.         table.insert(text1,CopyApp)
  6767.  
  6768.         CopyPlrID.Name = "CopyPlrID"
  6769.         CopyPlrID.Parent = background
  6770.         CopyPlrID.BackgroundColor3 = currentShade2
  6771.         CopyPlrID.BorderSizePixel = 0
  6772.         CopyPlrID.Position = UDim2.new(0, 210, 0, 35)
  6773.         CopyPlrID.Size = UDim2.new(0, 35, 0, 20)
  6774.         CopyPlrID.Font = Enum.Font.SourceSans
  6775.         CopyPlrID.TextSize = 14
  6776.         CopyPlrID.Text = "Copy"
  6777.         CopyPlrID.TextColor3 = currentText1
  6778.         CopyPlrID.ZIndex = 10
  6779.         table.insert(shade2,CopyPlrID)
  6780.         table.insert(text1,CopyPlrID)
  6781.  
  6782.         CopyPlcID.Name = "CopyPlcID"
  6783.         CopyPlcID.Parent = background
  6784.         CopyPlcID.BackgroundColor3 = currentShade2
  6785.         CopyPlcID.BorderSizePixel = 0
  6786.         CopyPlcID.Position = UDim2.new(0, 210, 0, 195)
  6787.         CopyPlcID.Size = UDim2.new(0, 35, 0, 20)
  6788.         CopyPlcID.Font = Enum.Font.SourceSans
  6789.         CopyPlcID.TextSize = 14
  6790.         CopyPlcID.Text = "Copy"
  6791.         CopyPlcID.TextColor3 = currentText1
  6792.         CopyPlcID.ZIndex = 10
  6793.         table.insert(shade2,CopyPlcID)
  6794.         table.insert(text1,CopyPlcID)
  6795.  
  6796.         CopyPlcName.Name = "CopyPlcName"
  6797.         CopyPlcName.Parent = background
  6798.         CopyPlcName.BackgroundColor3 = currentShade2
  6799.         CopyPlcName.BorderSizePixel = 0
  6800.         CopyPlcName.Position = UDim2.new(0, 210, 0, 215)
  6801.         CopyPlcName.Size = UDim2.new(0, 35, 0, 20)
  6802.         CopyPlcName.Font = Enum.Font.SourceSans
  6803.         CopyPlcName.TextSize = 14
  6804.         CopyPlcName.Text = "Copy"
  6805.         CopyPlcName.TextColor3 = currentText1
  6806.         CopyPlcName.ZIndex = 10
  6807.         table.insert(shade2,CopyPlcName)
  6808.         table.insert(text1,CopyPlcName)
  6809.  
  6810.         local SINFOGUI = background
  6811.         FRAME:TweenPosition(UDim2.new(0.5, -130, 0, 100), "InOut", "Quart", 0.5, true, nil)
  6812.         wait(0.5)
  6813.         Exit.MouseButton1Click:Connect(function()
  6814.             FRAME:TweenPosition(UDim2.new(0.5, -130, 0, -500), "InOut", "Quart", 0.5, true, nil)
  6815.             wait(0.6)
  6816.             FRAME:Destroy()
  6817.             canOpenServerinfo = true
  6818.         end)
  6819.         local Asset = MarketplaceService:GetProductInfo(PlaceId)
  6820.         SINFOGUI.name.Text = "Place Name: " .. Asset.Name
  6821.         SINFOGUI.playerid.Text = "Player ID: " ..speaker.UserId
  6822.         SINFOGUI.maxplayers.Text = Players.MaxPlayers.. " Players Max"
  6823.         SINFOGUI.placeid.Text = "Place ID: " ..PlaceId
  6824.  
  6825.         CopyApp.MouseButton1Click:Connect(function()
  6826.             toClipboard(speaker.CharacterAppearanceId)
  6827.         end)
  6828.         CopyPlrID.MouseButton1Click:Connect(function()
  6829.             toClipboard(speaker.UserId)
  6830.         end)
  6831.         CopyPlcID.MouseButton1Click:Connect(function()
  6832.             toClipboard(PlaceId)
  6833.         end)
  6834.         CopyPlcName.MouseButton1Click:Connect(function()
  6835.             toClipboard(Asset.Name)
  6836.         end)
  6837.  
  6838.         repeat
  6839.             players = Players:GetPlayers()
  6840.             SINFOGUI.players.Text = #players.. " Player(s)"
  6841.             SINFOGUI.appearance.Text = "Appearance: " ..speaker.CharacterAppearanceId
  6842.             local seconds = math.floor(workspace.DistributedGameTime)
  6843.             local minutes = math.floor(workspace.DistributedGameTime / 60)
  6844.             local hours = math.floor(workspace.DistributedGameTime / 60 / 60)
  6845.             local seconds = seconds - (minutes * 60)
  6846.             local minutes = minutes - (hours * 60)
  6847.             if hours < 1 then if minutes < 1 then
  6848.                     SINFOGUI.Time.Text = seconds .. " Second(s)" else
  6849.                     SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)"
  6850.                 end
  6851.             else
  6852.                 SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
  6853.             end
  6854.             wait(1)
  6855.         until SINFOGUI.Parent == nil
  6856.     end)
  6857. end)
  6858.  
  6859. addcmd("jobid", {}, function(args, speaker)
  6860.     toClipboard("roblox://placeId=" .. PlaceId .. "&gameInstanceId=" .. JobId)
  6861. end)
  6862.  
  6863. addcmd('notifyjobid',{},function(args, speaker)
  6864.     notify('JobId / PlaceId',JobId..' / '..PlaceId)
  6865. end)
  6866.  
  6867. addcmd('breakloops',{'break'},function(args, speaker)
  6868.     lastBreakTime = tick()
  6869. end)
  6870.  
  6871. addcmd('gametp',{'gameteleport'},function(args, speaker)
  6872.     TeleportService:Teleport(args[1])
  6873. end)
  6874.  
  6875. addcmd("rejoin", {"rj"}, function(args, speaker)
  6876.     if #Players:GetPlayers() <= 1 then
  6877.         Players.LocalPlayer:Kick("\nRejoining...")
  6878.         wait()
  6879.         TeleportService:Teleport(PlaceId, Players.LocalPlayer)
  6880.     else
  6881.         TeleportService:TeleportToPlaceInstance(PlaceId, JobId, Players.LocalPlayer)
  6882.     end
  6883. end)
  6884.  
  6885. addcmd("autorejoin", {"autorj"}, function(args, speaker)
  6886.     GuiService.ErrorMessageChanged:Connect(function()
  6887.         execCmd("rejoin")
  6888.     end)
  6889.     notify("Auto Rejoin", "Auto rejoin enabled")
  6890. end)
  6891.  
  6892. addcmd("serverhop", {"shop"}, function(args, speaker)
  6893.     -- thanks to Amity for fixing
  6894.     local servers = {}
  6895.     local req = game:HttpGet("https://games.roblox.com/v1/games/" .. PlaceId .. "/servers/Public?sortOrder=Desc&limit=100&excludeFullGames=true")
  6896.     local body = HttpService:JSONDecode(req)
  6897.  
  6898.     if body and body.data then
  6899.         for i, v in next, body.data do
  6900.             if type(v) == "table" and tonumber(v.playing) and tonumber(v.maxPlayers) and v.playing < v.maxPlayers and v.id ~= JobId then
  6901.                 table.insert(servers, 1, v.id)
  6902.             end
  6903.         end
  6904.     end
  6905.  
  6906.     if #servers > 0 then
  6907.         TeleportService:TeleportToPlaceInstance(PlaceId, servers[math.random(1, #servers)], Players.LocalPlayer)
  6908.     else
  6909.         return notify("Serverhop", "Couldn't find a server.")
  6910.     end
  6911. end)
  6912.  
  6913. addcmd("exit", {}, function(args, speaker)
  6914.     game:Shutdown()
  6915. end)
  6916.  
  6917. local Noclipping = nil
  6918. addcmd('noclip',{},function(args, speaker)
  6919.     Clip = false
  6920.     wait(0.1)
  6921.     local function NoclipLoop()
  6922.         if Clip == false and speaker.Character ~= nil then
  6923.             for _, child in pairs(speaker.Character:GetDescendants()) do
  6924.                 if child:IsA("BasePart") and child.CanCollide == true and child.Name ~= floatName then
  6925.                     child.CanCollide = false
  6926.                 end
  6927.             end
  6928.         end
  6929.     end
  6930.     Noclipping = RunService.Stepped:Connect(NoclipLoop)
  6931.     if args[1] and args[1] == 'nonotify' then return end
  6932.     notify('Noclip','Noclip Enabled')
  6933. end)
  6934.  
  6935. addcmd('clip',{'unnoclip'},function(args, speaker)
  6936.     if Noclipping then
  6937.         Noclipping:Disconnect()
  6938.     end
  6939.     Clip = true
  6940.     if args[1] and args[1] == 'nonotify' then return end
  6941.     notify('Noclip','Noclip Disabled')
  6942. end)
  6943.  
  6944. addcmd('togglenoclip',{},function(args, speaker)
  6945.     if Clip then
  6946.         execCmd('noclip')
  6947.     else
  6948.         execCmd('clip')
  6949.     end
  6950. end)
  6951.  
  6952. FLYING = false
  6953. QEfly = true
  6954. iyflyspeed = 1
  6955. vehicleflyspeed = 1
  6956. function sFLY(vfly)
  6957.     repeat wait() until Players.LocalPlayer and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  6958.     repeat wait() until IYMouse
  6959.     if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect() end
  6960.  
  6961.     local T = getRoot(Players.LocalPlayer.Character)
  6962.     local CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  6963.     local lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  6964.     local SPEED = 0
  6965.  
  6966.     local function FLY()
  6967.         FLYING = true
  6968.         local BG = Instance.new('BodyGyro')
  6969.         local BV = Instance.new('BodyVelocity')
  6970.         BG.P = 9e4
  6971.         BG.Parent = T
  6972.         BV.Parent = T
  6973.         BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  6974.         BG.cframe = T.CFrame
  6975.         BV.velocity = Vector3.new(0, 0, 0)
  6976.         BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  6977.         task.spawn(function()
  6978.             repeat wait()
  6979.                 if not vfly and Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  6980.                     Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  6981.                 end
  6982.                 if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0 then
  6983.                     SPEED = 50
  6984.                 elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0) and SPEED ~= 0 then
  6985.                     SPEED = 0
  6986.                 end
  6987.                 if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 or (CONTROL.Q + CONTROL.E) ~= 0 then
  6988.                     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
  6989.                     lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  6990.                 elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and (CONTROL.Q + CONTROL.E) == 0 and SPEED ~= 0 then
  6991.                     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
  6992.                 else
  6993.                     BV.velocity = Vector3.new(0, 0, 0)
  6994.                 end
  6995.                 BG.cframe = workspace.CurrentCamera.CoordinateFrame
  6996.             until not FLYING
  6997.             CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  6998.             lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  6999.             SPEED = 0
  7000.             BG:Destroy()
  7001.             BV:Destroy()
  7002.             if Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  7003.                 Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  7004.             end
  7005.         end)
  7006.     end
  7007.     flyKeyDown = IYMouse.KeyDown:Connect(function(KEY)
  7008.         if KEY:lower() == 'w' then
  7009.             CONTROL.F = (vfly and vehicleflyspeed or iyflyspeed)
  7010.         elseif KEY:lower() == 's' then
  7011.             CONTROL.B = - (vfly and vehicleflyspeed or iyflyspeed)
  7012.         elseif KEY:lower() == 'a' then
  7013.             CONTROL.L = - (vfly and vehicleflyspeed or iyflyspeed)
  7014.         elseif KEY:lower() == 'd' then
  7015.             CONTROL.R = (vfly and vehicleflyspeed or iyflyspeed)
  7016.         elseif QEfly and KEY:lower() == 'e' then
  7017.             CONTROL.Q = (vfly and vehicleflyspeed or iyflyspeed)*2
  7018.         elseif QEfly and KEY:lower() == 'q' then
  7019.             CONTROL.E = -(vfly and vehicleflyspeed or iyflyspeed)*2
  7020.         end
  7021.         pcall(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Track end)
  7022.     end)
  7023.     flyKeyUp = IYMouse.KeyUp:Connect(function(KEY)
  7024.         if KEY:lower() == 'w' then
  7025.             CONTROL.F = 0
  7026.         elseif KEY:lower() == 's' then
  7027.             CONTROL.B = 0
  7028.         elseif KEY:lower() == 'a' then
  7029.             CONTROL.L = 0
  7030.         elseif KEY:lower() == 'd' then
  7031.             CONTROL.R = 0
  7032.         elseif KEY:lower() == 'e' then
  7033.             CONTROL.Q = 0
  7034.         elseif KEY:lower() == 'q' then
  7035.             CONTROL.E = 0
  7036.         end
  7037.     end)
  7038.     FLY()
  7039. end
  7040.  
  7041. function NOFLY()
  7042.     FLYING = false
  7043.     if flyKeyDown or flyKeyUp then flyKeyDown:Disconnect() flyKeyUp:Disconnect() end
  7044.     if Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  7045.         Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  7046.     end
  7047.     pcall(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Custom end)
  7048. end
  7049.  
  7050. local velocityHandlerName = randomString()
  7051. local gyroHandlerName = randomString()
  7052. local mfly1
  7053. local mfly2
  7054.  
  7055. local unmobilefly = function(speaker)
  7056.     pcall(function()
  7057.         FLYING = false
  7058.         local root = getRoot(speaker.Character)
  7059.         root:FindFirstChild(velocityHandlerName):Destroy()
  7060.         root:FindFirstChild(gyroHandlerName):Destroy()
  7061.         speaker.Character:FindFirstChildWhichIsA("Humanoid").PlatformStand = false
  7062.         mfly1:Disconnect()
  7063.         mfly2:Disconnect()
  7064.     end)
  7065. end
  7066.  
  7067. local mobilefly = function(speaker, vfly)
  7068.     unmobilefly(speaker)
  7069.     FLYING = true
  7070.  
  7071.     local root = getRoot(speaker.Character)
  7072.     local camera = workspace.CurrentCamera
  7073.     local v3none = Vector3.new()
  7074.     local v3zero = Vector3.new(0, 0, 0)
  7075.     local v3inf = Vector3.new(9e9, 9e9, 9e9)
  7076.  
  7077.     local controlModule = require(speaker.PlayerScripts:WaitForChild("PlayerModule"):WaitForChild("ControlModule"))
  7078.     local bv = Instance.new("BodyVelocity")
  7079.     bv.Name = velocityHandlerName
  7080.     bv.Parent = root
  7081.     bv.MaxForce = v3zero
  7082.     bv.Velocity = v3zero
  7083.  
  7084.     local bg = Instance.new("BodyGyro")
  7085.     bg.Name = gyroHandlerName
  7086.     bg.Parent = root
  7087.     bg.MaxTorque = v3inf
  7088.     bg.P = 1000
  7089.     bg.D = 50
  7090.  
  7091.     mfly1 = speaker.CharacterAdded:Connect(function()
  7092.         local bv = Instance.new("BodyVelocity")
  7093.         bv.Name = velocityHandlerName
  7094.         bv.Parent = root
  7095.         bv.MaxForce = v3zero
  7096.         bv.Velocity = v3zero
  7097.  
  7098.         local bg = Instance.new("BodyGyro")
  7099.         bg.Name = gyroHandlerName
  7100.         bg.Parent = root
  7101.         bg.MaxTorque = v3inf
  7102.         bg.P = 1000
  7103.         bg.D = 50
  7104.     end)
  7105.  
  7106.     mfly2 = RunService.RenderStepped:Connect(function()
  7107.         root = getRoot(speaker.Character)
  7108.         camera = workspace.CurrentCamera
  7109.         if speaker.Character:FindFirstChildWhichIsA("Humanoid") and root and root:FindFirstChild(velocityHandlerName) and root:FindFirstChild(gyroHandlerName) then
  7110.             local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  7111.             local VelocityHandler = root:FindFirstChild(velocityHandlerName)
  7112.             local GyroHandler = root:FindFirstChild(gyroHandlerName)
  7113.  
  7114.             VelocityHandler.MaxForce = v3inf
  7115.             GyroHandler.MaxTorque = v3inf
  7116.             if not vfly then humanoid.PlatformStand = true end
  7117.             GyroHandler.CFrame = camera.CoordinateFrame
  7118.             VelocityHandler.Velocity = v3none
  7119.  
  7120.             local direction = controlModule:GetMoveVector()
  7121.             if direction.X > 0 then
  7122.                 VelocityHandler.Velocity = VelocityHandler.Velocity + camera.CFrame.RightVector * (direction.X * ((vfly and vehicleflyspeed or iyflyspeed) * 50))
  7123.             end
  7124.             if direction.X < 0 then
  7125.                 VelocityHandler.Velocity = VelocityHandler.Velocity + camera.CFrame.RightVector * (direction.X * ((vfly and vehicleflyspeed or iyflyspeed) * 50))
  7126.             end
  7127.             if direction.Z > 0 then
  7128.                 VelocityHandler.Velocity = VelocityHandler.Velocity - camera.CFrame.LookVector * (direction.Z * ((vfly and vehicleflyspeed or iyflyspeed) * 50))
  7129.             end
  7130.             if direction.Z < 0 then
  7131.                 VelocityHandler.Velocity = VelocityHandler.Velocity - camera.CFrame.LookVector * (direction.Z * ((vfly and vehicleflyspeed or iyflyspeed) * 50))
  7132.             end
  7133.         end
  7134.     end)
  7135. end
  7136.  
  7137. addcmd('fly',{},function(args, speaker)
  7138.     if not IsOnMobile then
  7139.         NOFLY()
  7140.         wait()
  7141.         sFLY()
  7142.     else
  7143.         mobilefly(speaker)
  7144.     end
  7145.     if args[1] and isNumber(args[1]) then
  7146.         iyflyspeed = args[1]
  7147.     end
  7148. end)
  7149.  
  7150. addcmd('flyspeed',{'flysp'},function(args, speaker)
  7151.     local speed = args[1] or 1
  7152.     if isNumber(speed) then
  7153.         iyflyspeed = speed
  7154.     end
  7155. end)
  7156.  
  7157. addcmd('unfly',{'nofly','novfly','unvehiclefly','novehiclefly','unvfly'},function(args, speaker)
  7158.     if not IsOnMobile then NOFLY() else unmobilefly(speaker) end
  7159. end)
  7160.  
  7161. addcmd('vfly',{'vehiclefly'},function(args, speaker)
  7162.     if not IsOnMobile then
  7163.         NOFLY()
  7164.         wait()
  7165.         sFLY(true)
  7166.     else
  7167.         mobilefly(speaker, true)
  7168.     end
  7169.     if args[1] and isNumber(args[1]) then
  7170.         vehicleflyspeed = args[1]
  7171.     end
  7172. end)
  7173.  
  7174. addcmd('togglevfly',{},function(args, speaker)
  7175.     if FLYING then
  7176.         if not IsOnMobile then NOFLY() else unmobilefly(speaker) end
  7177.     else
  7178.         if not IsOnMobile then sFLY(true) else mobilefly(speaker, true) end
  7179.     end
  7180. end)
  7181.  
  7182. addcmd('vflyspeed',{'vflysp','vehicleflyspeed','vehicleflysp'},function(args, speaker)
  7183.     local speed = args[1] or 1
  7184.     if isNumber(speed) then
  7185.         vehicleflyspeed = speed
  7186.     end
  7187. end)
  7188.  
  7189. addcmd('qefly',{'flyqe'},function(args, speaker)
  7190.     if args[1] == 'false' then
  7191.         QEfly = false
  7192.     else
  7193.         QEfly = true
  7194.     end
  7195. end)
  7196.  
  7197. addcmd('togglefly',{},function(args, speaker)
  7198.     if FLYING then
  7199.         if not IsOnMobile then NOFLY() else unmobilefly(speaker) end
  7200.     else
  7201.         if not IsOnMobile then sFLY() else mobilefly(speaker) end
  7202.     end
  7203. end)
  7204.  
  7205. CFspeed = 50
  7206. addcmd('cframefly', {'cfly'}, function(args, speaker)
  7207.     -- Full credit to peyton#9148 (apeyton)
  7208.     speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  7209.     local Head = speaker.Character:WaitForChild("Head")
  7210.     Head.Anchored = true
  7211.     if CFloop then CFloop:Disconnect() end
  7212.     CFloop = RunService.Heartbeat:Connect(function(deltaTime)
  7213.         local moveDirection = speaker.Character:FindFirstChildOfClass('Humanoid').MoveDirection * (CFspeed * deltaTime)
  7214.         local headCFrame = Head.CFrame
  7215.         local cameraCFrame = workspace.CurrentCamera.CFrame
  7216.         local cameraOffset = headCFrame:ToObjectSpace(cameraCFrame).Position
  7217.         cameraCFrame = cameraCFrame * CFrame.new(-cameraOffset.X, -cameraOffset.Y, -cameraOffset.Z + 1)
  7218.         local cameraPosition = cameraCFrame.Position
  7219.         local headPosition = headCFrame.Position
  7220.  
  7221.         local objectSpaceVelocity = CFrame.new(cameraPosition, Vector3.new(headPosition.X, cameraPosition.Y, headPosition.Z)):VectorToObjectSpace(moveDirection)
  7222.         Head.CFrame = CFrame.new(headPosition) * (cameraCFrame - cameraPosition) * CFrame.new(objectSpaceVelocity)
  7223.     end)
  7224. end)
  7225.  
  7226. addcmd('uncframefly',{'uncfly'},function(args, speaker)
  7227.     if CFloop then
  7228.         CFloop:Disconnect()
  7229.         speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  7230.         local Head = speaker.Character:WaitForChild("Head")
  7231.         Head.Anchored = false
  7232.     end
  7233. end)
  7234.  
  7235. addcmd('cframeflyspeed',{'cflyspeed'},function(args, speaker)
  7236.     if isNumber(args[1]) then
  7237.         CFspeed = args[1]
  7238.     end
  7239. end)
  7240.  
  7241. Floating = false
  7242. floatName = randomString()
  7243. addcmd('float', {'platform'},function(args, speaker)
  7244.     Floating = true
  7245.     local pchar = speaker.Character
  7246.     if pchar and not pchar:FindFirstChild(floatName) then
  7247.         task.spawn(function()
  7248.             local Float = Instance.new('Part')
  7249.             Float.Name = floatName
  7250.             Float.Parent = pchar
  7251.             Float.Transparency = 1
  7252.             Float.Size = Vector3.new(2,0.2,1.5)
  7253.             Float.Anchored = true
  7254.             local FloatValue = -3.1
  7255.             Float.CFrame = getRoot(pchar).CFrame * CFrame.new(0,FloatValue,0)
  7256.             notify('Float','Float Enabled (Q = down & E = up)')
  7257.             qUp = IYMouse.KeyUp:Connect(function(KEY)
  7258.                 if KEY == 'q' then
  7259.                     FloatValue = FloatValue + 0.5
  7260.                 end
  7261.             end)
  7262.             eUp = IYMouse.KeyUp:Connect(function(KEY)
  7263.                 if KEY == 'e' then
  7264.                     FloatValue = FloatValue - 1.5
  7265.                 end
  7266.             end)
  7267.             qDown = IYMouse.KeyDown:Connect(function(KEY)
  7268.                 if KEY == 'q' then
  7269.                     FloatValue = FloatValue - 0.5
  7270.                 end
  7271.             end)
  7272.             eDown = IYMouse.KeyDown:Connect(function(KEY)
  7273.                 if KEY == 'e' then
  7274.                     FloatValue = FloatValue + 1.5
  7275.                 end
  7276.             end)
  7277.             floatDied = speaker.Character:FindFirstChildOfClass('Humanoid').Died:Connect(function()
  7278.                 FloatingFunc:Disconnect()
  7279.                 Float:Destroy()
  7280.                 qUp:Disconnect()
  7281.                 eUp:Disconnect()
  7282.                 qDown:Disconnect()
  7283.                 eDown:Disconnect()
  7284.                 floatDied:Disconnect()
  7285.             end)
  7286.             local function FloatPadLoop()
  7287.                 if pchar:FindFirstChild(floatName) and getRoot(pchar) then
  7288.                     Float.CFrame = getRoot(pchar).CFrame * CFrame.new(0,FloatValue,0)
  7289.                 else
  7290.                     FloatingFunc:Disconnect()
  7291.                     Float:Destroy()
  7292.                     qUp:Disconnect()
  7293.                     eUp:Disconnect()
  7294.                     qDown:Disconnect()
  7295.                     eDown:Disconnect()
  7296.                     floatDied:Disconnect()
  7297.                 end
  7298.             end        
  7299.             FloatingFunc = RunService.Heartbeat:Connect(FloatPadLoop)
  7300.         end)
  7301.     end
  7302. end)
  7303.  
  7304. addcmd('unfloat',{'nofloat','unplatform','noplatform'},function(args, speaker)
  7305.     Floating = false
  7306.     local pchar = speaker.Character
  7307.     notify('Float','Float Disabled')
  7308.     if pchar:FindFirstChild(floatName) then
  7309.         pchar:FindFirstChild(floatName):Destroy()
  7310.     end
  7311.     if floatDied then
  7312.         FloatingFunc:Disconnect()
  7313.         qUp:Disconnect()
  7314.         eUp:Disconnect()
  7315.         qDown:Disconnect()
  7316.         eDown:Disconnect()
  7317.         floatDied:Disconnect()
  7318.     end
  7319. end)
  7320.  
  7321. addcmd('togglefloat',{},function(args, speaker)
  7322.     if Floating then
  7323.         execCmd('unfloat')
  7324.     else
  7325.         execCmd('float')
  7326.     end
  7327. end)
  7328.  
  7329. swimming = false
  7330. local oldgrav = workspace.Gravity
  7331. local swimbeat = nil
  7332. addcmd('swim',{},function(args, speaker)
  7333.     if not swimming and speaker and speaker.Character and speaker.Character:FindFirstChildWhichIsA("Humanoid") then
  7334.         oldgrav = workspace.Gravity
  7335.         workspace.Gravity = 0
  7336.         local swimDied = function()
  7337.             workspace.Gravity = oldgrav
  7338.             swimming = false
  7339.         end
  7340.         local Humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  7341.         gravReset = Humanoid.Died:Connect(swimDied)
  7342.         local enums = Enum.HumanoidStateType:GetEnumItems()
  7343.         table.remove(enums, table.find(enums, Enum.HumanoidStateType.None))
  7344.         for i, v in pairs(enums) do
  7345.             Humanoid:SetStateEnabled(v, false)
  7346.         end
  7347.         Humanoid:ChangeState(Enum.HumanoidStateType.Swimming)
  7348.         swimbeat = RunService.Heartbeat:Connect(function()
  7349.             pcall(function()
  7350.                 speaker.Character.HumanoidRootPart.Velocity = ((Humanoid.MoveDirection ~= Vector3.new() or UserInputService:IsKeyDown(Enum.KeyCode.Space)) and speaker.Character.HumanoidRootPart.Velocity or Vector3.new())
  7351.             end)
  7352.         end)
  7353.         swimming = true
  7354.     end
  7355. end)
  7356.  
  7357. addcmd('unswim',{'noswim'},function(args, speaker)
  7358.     if speaker and speaker.Character and speaker.Character:FindFirstChildWhichIsA("Humanoid") then
  7359.         workspace.Gravity = oldgrav
  7360.         swimming = false
  7361.         if gravReset then
  7362.             gravReset:Disconnect()
  7363.         end
  7364.         if swimbeat ~= nil then
  7365.             swimbeat:Disconnect()
  7366.             swimbeat = nil
  7367.         end
  7368.         local Humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  7369.         local enums = Enum.HumanoidStateType:GetEnumItems()
  7370.         table.remove(enums, table.find(enums, Enum.HumanoidStateType.None))
  7371.         for i, v in pairs(enums) do
  7372.             Humanoid:SetStateEnabled(v, true)
  7373.         end
  7374.     end
  7375. end)
  7376.  
  7377. addcmd('toggleswim',{},function(args, speaker)
  7378.     if swimming then
  7379.         execCmd('unswim')
  7380.     else
  7381.         execCmd('swim')
  7382.     end
  7383. end)
  7384.  
  7385. addcmd('setwaypoint',{'swp','setwp','spos','saveposition','savepos'},function(args, speaker)
  7386.     local WPName = tostring(getstring(1))
  7387.     if getRoot(speaker.Character) then
  7388.         notify('Modified Waypoints',"Created waypoint: "..getstring(1))
  7389.         local torso = getRoot(speaker.Character)
  7390.         WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}, GAME = PlaceId}
  7391.         if AllWaypoints ~= nil then
  7392.             AllWaypoints[#AllWaypoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}, GAME = PlaceId}
  7393.         end
  7394.     end
  7395.     refreshwaypoints()
  7396.     updatesaves()
  7397. end)
  7398.  
  7399. addcmd('waypointpos',{'wpp','setwaypointposition','setpos','setwaypoint','setwaypointpos'},function(args, speaker)
  7400.     local WPName = tostring(getstring(1))
  7401.     if getRoot(speaker.Character) then
  7402.         notify('Modified Waypoints',"Created waypoint: "..getstring(1))
  7403.         WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {args[2], args[3], args[4]}, GAME = PlaceId}
  7404.         if AllWaypoints ~= nil then
  7405.             AllWaypoints[#AllWaypoints + 1] = {NAME = WPName, COORD = {args[2], args[3], args[4]}, GAME = PlaceId}
  7406.         end
  7407.     end
  7408.     refreshwaypoints()
  7409.     updatesaves()
  7410. end)
  7411.  
  7412. addcmd('waypoints',{'positions'},function(args, speaker)
  7413.     if SettingsOpen == false then SettingsOpen = true
  7414.         Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.5, true, nil)
  7415.         CMDsF.Visible = false
  7416.     end
  7417.     KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  7418.     AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  7419.     PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  7420.     PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  7421.     wait(0.5)
  7422.     SettingsHolder.Visible = false
  7423.     maximizeHolder()
  7424. end)
  7425.  
  7426. waypointParts = {}
  7427. addcmd('showwaypoints',{'showwp','showwps'},function(args, speaker)
  7428.     execCmd('hidewaypoints')
  7429.     wait()
  7430.     for i,_ in pairs(WayPoints) do
  7431.         local x = WayPoints[i].COORD[1]
  7432.         local y = WayPoints[i].COORD[2]
  7433.         local z = WayPoints[i].COORD[3]
  7434.         local part = Instance.new("Part")
  7435.         part.Size = Vector3.new(5,5,5)
  7436.         part.CFrame = CFrame.new(x,y,z)
  7437.         part.Parent = workspace
  7438.         part.Anchored = true
  7439.         part.CanCollide = false
  7440.         table.insert(waypointParts,part)
  7441.         local view = Instance.new("BoxHandleAdornment")
  7442.         view.Adornee = part
  7443.         view.AlwaysOnTop = true
  7444.         view.ZIndex = 10
  7445.         view.Size = part.Size
  7446.         view.Parent = part
  7447.     end
  7448.     for i,v in pairs(pWayPoints) do
  7449.         local view = Instance.new("BoxHandleAdornment")
  7450.         view.Adornee = pWayPoints[i].COORD[1]
  7451.         view.AlwaysOnTop = true
  7452.         view.ZIndex = 10
  7453.         view.Size = pWayPoints[i].COORD[1].Size
  7454.         view.Parent = pWayPoints[i].COORD[1]
  7455.         table.insert(waypointParts,view)
  7456.     end
  7457. end)
  7458.  
  7459. addcmd('hidewaypoints',{'hidewp','hidewps'},function(args, speaker)
  7460.     for i,v in pairs(waypointParts) do
  7461.         v:Destroy()
  7462.     end
  7463.     waypointParts = {}
  7464. end)
  7465.  
  7466. addcmd('waypoint',{'wp','lpos','loadposition','loadpos'},function(args, speaker)
  7467.     local WPName = tostring(getstring(1))
  7468.     if speaker.Character then
  7469.         for i,_ in pairs(WayPoints) do
  7470.             if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7471.                 local x = WayPoints[i].COORD[1]
  7472.                 local y = WayPoints[i].COORD[2]
  7473.                 local z = WayPoints[i].COORD[3]
  7474.                 getRoot(speaker.Character).CFrame = CFrame.new(x,y,z)
  7475.             end
  7476.         end
  7477.         for i,_ in pairs(pWayPoints) do
  7478.             if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7479.                 getRoot(speaker.Character).CFrame = CFrame.new(pWayPoints[i].COORD[1].Position)
  7480.             end
  7481.         end
  7482.     end
  7483. end)
  7484.  
  7485. tweenSpeed = 1
  7486. addcmd('tweenspeed',{'tspeed'},function(args, speaker)
  7487.     local newSpeed = args[1] or 1
  7488.     if tonumber(newSpeed) then
  7489.         tweenSpeed = tonumber(newSpeed)
  7490.     end
  7491. end)
  7492.  
  7493. addcmd('tweenwaypoint',{'twp'},function(args, speaker)
  7494.     local WPName = tostring(getstring(1))
  7495.     if speaker.Character then
  7496.         for i,_ in pairs(WayPoints) do
  7497.             local x = WayPoints[i].COORD[1]
  7498.             local y = WayPoints[i].COORD[2]
  7499.             local z = WayPoints[i].COORD[3]
  7500.             if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7501.                 TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(x,y,z)}):Play()
  7502.             end
  7503.         end
  7504.         for i,_ in pairs(pWayPoints) do
  7505.             if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7506.                 TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(pWayPoints[i].COORD[1].Position)}):Play()
  7507.             end
  7508.         end
  7509.     end
  7510. end)
  7511.  
  7512. addcmd('walktowaypoint',{'wtwp'},function(args, speaker)
  7513.     local WPName = tostring(getstring(1))
  7514.     if speaker.Character then
  7515.         for i,_ in pairs(WayPoints) do
  7516.             local x = WayPoints[i].COORD[1]
  7517.             local y = WayPoints[i].COORD[2]
  7518.             local z = WayPoints[i].COORD[3]
  7519.             if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7520.                 if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  7521.                     speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  7522.                     wait(.1)
  7523.                 end
  7524.                 speaker.Character:FindFirstChildOfClass('Humanoid').WalkToPoint = Vector3.new(x,y,z)
  7525.             end
  7526.         end
  7527.         for i,_ in pairs(pWayPoints) do
  7528.             if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  7529.                 if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  7530.                     speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  7531.                     wait(.1)
  7532.                 end
  7533.                 speaker.Character:FindFirstChildOfClass('Humanoid').WalkToPoint = Vector3.new(pWayPoints[i].COORD[1].Position)
  7534.             end
  7535.         end
  7536.     end
  7537. end)
  7538.  
  7539. addcmd('deletewaypoint',{'dwp','dpos','deleteposition','deletepos'},function(args, speaker)
  7540.     for i,v in pairs(WayPoints) do
  7541.         if v.NAME:lower() == tostring(getstring(1)):lower() then
  7542.             notify('Modified Waypoints',"Deleted waypoint: " .. v.NAME)
  7543.             table.remove(WayPoints, i)
  7544.         end
  7545.     end
  7546.     if AllWaypoints ~= nil and #AllWaypoints > 0 then
  7547.         for i,v in pairs(AllWaypoints) do
  7548.             if v.NAME:lower() == tostring(getstring(1)):lower() then
  7549.                 if not v.GAME or v.GAME == PlaceId then
  7550.                     table.remove(AllWaypoints, i)
  7551.                 end
  7552.             end
  7553.         end
  7554.     end
  7555.     for i,v in pairs(pWayPoints) do
  7556.         if v.NAME:lower() == tostring(getstring(1)):lower() then
  7557.             notify('Modified Waypoints',"Deleted waypoint: " .. v.NAME)
  7558.             table.remove(pWayPoints, i)
  7559.         end
  7560.     end
  7561.     refreshwaypoints()
  7562.     updatesaves()
  7563. end)
  7564.  
  7565. addcmd('clearwaypoints',{'cwp','clearpositions','cpos','clearpos'},function(args, speaker)
  7566.     WayPoints = {}
  7567.     pWayPoints = {}
  7568.     refreshwaypoints()
  7569.     updatesaves()
  7570.     AllWaypoints = {}
  7571.     notify('Modified Waypoints','Removed all waypoints')
  7572. end)
  7573.  
  7574. addcmd('cleargamewaypoints',{'cgamewp'},function(args, speaker)
  7575.     for i,v in pairs(WayPoints) do
  7576.         if v.GAME == PlaceId then
  7577.             table.remove(WayPoints, i)
  7578.         end
  7579.     end
  7580.     if AllWaypoints ~= nil and #AllWaypoints > 0 then
  7581.         for i,v in pairs(AllWaypoints) do
  7582.             if v.GAME == PlaceId then
  7583.                 table.remove(AllWaypoints, i)
  7584.             end
  7585.         end
  7586.     end
  7587.     for i,v in pairs(pWayPoints) do
  7588.         if v.GAME == PlaceId then
  7589.             table.remove(pWayPoints, i)
  7590.         end
  7591.     end
  7592.     refreshwaypoints()
  7593.     updatesaves()
  7594.     notify('Modified Waypoints','Deleted game waypoints')
  7595. end)
  7596.  
  7597.  
  7598. local coreGuiTypeNames = {
  7599.     -- predefined aliases
  7600.     ["inventory"] = Enum.CoreGuiType.Backpack,
  7601.     ["leaderboard"] = Enum.CoreGuiType.PlayerList,
  7602.     ["emotes"] = Enum.CoreGuiType.EmotesMenu
  7603. }
  7604.  
  7605. -- Load the full list of enums
  7606. for _, enumItem in ipairs(Enum.CoreGuiType:GetEnumItems()) do
  7607.     coreGuiTypeNames[enumItem.Name:lower()] = enumItem
  7608. end
  7609.  
  7610. addcmd('enable',{},function(args, speaker)
  7611.     local input = args[1] and args[1]:lower()
  7612.     if input then
  7613.         if input == "reset" then
  7614.             StarterGui:SetCore("ResetButtonCallback", true)
  7615.         else
  7616.             local coreGuiType = coreGuiTypeNames[input]
  7617.             if coreGuiType then
  7618.                 StarterGui:SetCoreGuiEnabled(coreGuiType, true)
  7619.             end
  7620.         end
  7621.     end
  7622. end)
  7623.  
  7624. addcmd('disable',{},function(args, speaker)
  7625.     local input = args[1] and args[1]:lower()
  7626.     if input then
  7627.         if input == "reset" then
  7628.             StarterGui:SetCore("ResetButtonCallback", false)
  7629.         else
  7630.             local coreGuiType = coreGuiTypeNames[input]
  7631.             if coreGuiType then
  7632.                 StarterGui:SetCoreGuiEnabled(coreGuiType, false)
  7633.             end
  7634.         end
  7635.     end
  7636. end)
  7637.  
  7638.  
  7639. local invisGUIS = {}
  7640. addcmd('showguis',{},function(args, speaker)
  7641.     for i,v in pairs(PlayerGui:GetDescendants()) do
  7642.         if (v:IsA("Frame") or v:IsA("ImageLabel") or v:IsA("ScrollingFrame")) and not v.Visible then
  7643.             v.Visible = true
  7644.             if not FindInTable(invisGUIS,v) then
  7645.                 table.insert(invisGUIS,v)
  7646.             end
  7647.         end
  7648.     end
  7649. end)
  7650.  
  7651. addcmd('unshowguis',{},function(args, speaker)
  7652.     for i,v in pairs(invisGUIS) do
  7653.         v.Visible = false
  7654.     end
  7655.     invisGUIS = {}
  7656. end)
  7657.  
  7658. local hiddenGUIS = {}
  7659. addcmd('hideguis',{},function(args, speaker)
  7660.     for i,v in pairs(PlayerGui:GetDescendants()) do
  7661.         if (v:IsA("Frame") or v:IsA("ImageLabel") or v:IsA("ScrollingFrame")) and v.Visible then
  7662.             v.Visible = false
  7663.             if not FindInTable(hiddenGUIS,v) then
  7664.                 table.insert(hiddenGUIS,v)
  7665.             end
  7666.         end
  7667.     end
  7668. end)
  7669.  
  7670. addcmd('unhideguis',{},function(args, speaker)
  7671.     for i,v in pairs(hiddenGUIS) do
  7672.         v.Visible = true
  7673.     end
  7674.     hiddenGUIS = {}
  7675. end)
  7676.  
  7677. function deleteGuisAtPos()
  7678.     pcall(function()
  7679.         local guisAtPosition = PlayerGui:GetGuiObjectsAtPosition(IYMouse.X, IYMouse.Y)
  7680.         for _, gui in pairs(guisAtPosition) do
  7681.             if gui.Visible == true then
  7682.                 gui:Destroy()
  7683.             end
  7684.         end
  7685.     end)
  7686. end
  7687.  
  7688. local deleteGuiInput
  7689. addcmd('guidelete',{},function(args, speaker)
  7690.     deleteGuiInput = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  7691.         if not gameProcessedEvent then
  7692.             if input.KeyCode == Enum.KeyCode.Backspace then
  7693.                 deleteGuisAtPos()
  7694.             end
  7695.         end
  7696.     end)
  7697.     notify('GUI Delete Enabled','Hover over a GUI and press backspace to delete it')
  7698. end)
  7699.  
  7700. addcmd('unguidelete',{'noguidelete'},function(args, speaker)
  7701.     if deleteGuiInput then deleteGuiInput:Disconnect() end
  7702.     notify('GUI Delete Disabled','GUI backspace delete has been disabled')
  7703. end)
  7704.  
  7705. local wasStayOpen = StayOpen
  7706. addcmd('hideiy',{},function(args, speaker)
  7707.     isHidden = true
  7708.     wasStayOpen = StayOpen
  7709.     if StayOpen == true then
  7710.         StayOpen = false
  7711.         On.BackgroundTransparency = 1
  7712.     end
  7713.     minimizeNum = 0
  7714.     minimizeHolder()
  7715.     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
  7716. end)
  7717.  
  7718. addcmd('showiy',{'unhideiy'},function(args, speaker)
  7719.     isHidden = false
  7720.     minimizeNum = -20
  7721.     if wasStayOpen then
  7722.         maximizeHolder()
  7723.         StayOpen = true
  7724.         On.BackgroundTransparency = 0
  7725.     else
  7726.         minimizeHolder()
  7727.     end
  7728. end)
  7729.  
  7730. addcmd('rec', {'record'}, function(args, speaker)
  7731.     return COREGUI:ToggleRecording()
  7732. end)
  7733.  
  7734. addcmd('screenshot', {'scrnshot'}, function(args, speaker)
  7735.     return COREGUI:TakeScreenshot()
  7736. end)
  7737.  
  7738. addcmd('togglefs', {'togglefullscreen'}, function(args, speaker)
  7739.     return GuiService:ToggleFullscreen()
  7740. end)
  7741.  
  7742. addcmd('inspect', {'examine'}, function(args, speaker)
  7743.     for _, v in ipairs(getPlayer(args[1], speaker)) do
  7744.         GuiService:CloseInspectMenu()
  7745.         GuiService:InspectPlayerFromUserId(Players[v].UserId)
  7746.     end
  7747. end)
  7748.  
  7749. addcmd("savegame", {"saveplace"}, function(args, speaker)
  7750.     if saveinstance then
  7751.         notify("Loading", "Downloading game. This will take a while")
  7752.         saveinstance()
  7753.         notify("Game Saved", "Saved place to the workspace folder within your exploit folder.")
  7754.     else
  7755.         notify("Incompatible Exploit", "Your exploit does not support this command (missing saveinstance)")
  7756.     end
  7757. end)
  7758.  
  7759. addcmd('clearerror',{'clearerrors'},function(args, speaker)
  7760.     GuiService:ClearError()
  7761. end)
  7762.  
  7763. addcmd('clientantikick',{'antikick'},function(args, speaker)
  7764.     if not hookmetamethod then
  7765.         return notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)')
  7766.     end
  7767.     local LocalPlayer = Players.LocalPlayer
  7768.     local oldhmmi
  7769.     local oldhmmnc
  7770.     local oldKickFunction
  7771.     if hookfunction then
  7772.         oldKickFunction = hookfunction(LocalPlayer.Kick, function() end)
  7773.     end
  7774.     oldhmmi = hookmetamethod(game, "__index", function(self, method)
  7775.         if self == LocalPlayer and method:lower() == "kick" then
  7776.             return error("Expected ':' not '.' calling member function Kick", 2)
  7777.         end
  7778.         return oldhmmi(self, method)
  7779.     end)
  7780.     oldhmmnc = hookmetamethod(game, "__namecall", function(self, ...)
  7781.         if self == LocalPlayer and getnamecallmethod():lower() == "kick" then
  7782.             return
  7783.         end
  7784.         return oldhmmnc(self, ...)
  7785.     end)
  7786.    
  7787.     notify('Client Antikick','Client anti kick is now active (only effective on localscript kick)')
  7788. end)
  7789.  
  7790. allow_rj = true
  7791. addcmd('clientantiteleport',{'antiteleport'},function(args, speaker)
  7792.     if not hookmetamethod then
  7793.         return notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)')
  7794.     end
  7795.     local TeleportService = TeleportService
  7796.     local oldhmmi
  7797.     local oldhmmnc
  7798.     oldhmmi = hookmetamethod(game, "__index", function(self, method)
  7799.         if self == TeleportService then
  7800.             if method:lower() == "teleport" then
  7801.                 return error("Expected ':' not '.' calling member function Kick", 2)
  7802.             elseif method == "TeleportToPlaceInstance" then
  7803.                 return error("Expected ':' not '.' calling member function TeleportToPlaceInstance", 2)
  7804.             end
  7805.         end
  7806.         return oldhmmi(self, method)
  7807.     end)
  7808.     oldhmmnc = hookmetamethod(game, "__namecall", function(self, ...)
  7809.         if self == TeleportService and getnamecallmethod():lower() == "teleport" or getnamecallmethod() == "TeleportToPlaceInstance" then
  7810.             return
  7811.         end
  7812.         return oldhmmnc(self, ...)
  7813.     end)
  7814.  
  7815.     notify('Client AntiTP','Client anti teleport is now active (only effective on localscript teleport)')
  7816. end)
  7817.  
  7818. addcmd('allowrejoin',{'allowrj'},function(args, speaker)
  7819.     if args[1] and args[1] == 'false' then
  7820.         allow_rj = false
  7821.         notify('Client AntiTP','Allow rejoin set to false')
  7822.     else
  7823.         allow_rj = true
  7824.         notify('Client AntiTP','Allow rejoin set to true')
  7825.     end
  7826. end)
  7827.  
  7828. addcmd('cancelteleport',{'canceltp'},function(args, speaker)
  7829.     TeleportService:TeleportCancel()
  7830. end)
  7831.  
  7832. addcmd('volume',{'vol'},function(args, speaker)
  7833.     local level = args[1]/10
  7834.     UserSettings():GetService("UserGameSettings").MasterVolume = level
  7835. end)
  7836.  
  7837. addcmd('antilag',{'boostfps','lowgraphics'},function(args, speaker)
  7838.     local Terrain = workspace:FindFirstChildOfClass('Terrain')
  7839.     Terrain.WaterWaveSize = 0
  7840.     Terrain.WaterWaveSpeed = 0
  7841.     Terrain.WaterReflectance = 0
  7842.     Terrain.WaterTransparency = 1
  7843.     Lighting.GlobalShadows = false
  7844.     Lighting.FogEnd = 9e9
  7845.     Lighting.FogStart = 9e9
  7846.     settings().Rendering.QualityLevel = 1
  7847.     for i,v in pairs(game:GetDescendants()) do
  7848.         if v:IsA("BasePart") then
  7849.             v.Material = "Plastic"
  7850.             v.Reflectance = 0
  7851.             v.BackSurface = "SmoothNoOutlines"
  7852.             v.BottomSurface = "SmoothNoOutlines"
  7853.             v.FrontSurface = "SmoothNoOutlines"
  7854.             v.LeftSurface = "SmoothNoOutlines"
  7855.             v.RightSurface = "SmoothNoOutlines"
  7856.             v.TopSurface = "SmoothNoOutlines"
  7857.         elseif v:IsA("Decal") then
  7858.             v.Transparency = 1
  7859.         elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  7860.             v.Lifetime = NumberRange.new(0)
  7861.         end
  7862.     end
  7863.     for i,v in pairs(Lighting:GetDescendants()) do
  7864.         if v:IsA("PostEffect") then
  7865.             v.Enabled = false
  7866.         end
  7867.     end
  7868.     workspace.DescendantAdded:Connect(function(child)
  7869.         task.spawn(function()
  7870.             if child:IsA('ForceField') or child:IsA('Sparkles') or child:IsA('Smoke') or child:IsA('Fire') or child:IsA('Beam') then
  7871.                 RunService.Heartbeat:Wait()
  7872.                 child:Destroy()
  7873.             end
  7874.         end)
  7875.     end)
  7876. end)
  7877.  
  7878. addcmd("setfpscap", {"fpscap", "maxfps"}, function(args, speaker)
  7879.     if fpscaploop then
  7880.         task.cancel(fpscaploop)
  7881.         fpscaploop = nil
  7882.     end
  7883.  
  7884.     local fpsCap = 60
  7885.     local num = tonumber(args[1]) or 1e6
  7886.     if num == "none" then
  7887.         return
  7888.     elseif num > 0 then
  7889.         fpsCap = num
  7890.     else
  7891.         return notify("Invalid argument", "Please provide a number above 0 or 'none'.")
  7892.     end
  7893.  
  7894.     if setfpscap and type(setfpscap) == "function" then
  7895.         setfpscap(fpsCap)
  7896.     else
  7897.         fpscaploop = task.spawn(function()
  7898.             local timer = os.clock()
  7899.             while true do
  7900.                 if os.clock() >= timer + 1 / fpsCap then
  7901.                     timer = os.clock()
  7902.                     task.wait()
  7903.                 end
  7904.             end
  7905.         end)
  7906.     end
  7907. end)
  7908.  
  7909. addcmd('notify',{},function(args, speaker)
  7910.     notify(getstring(1))
  7911. end)
  7912.  
  7913. addcmd('lastcommand',{'lastcmd'},function(args, speaker)
  7914.     if cmdHistory[1]:sub(1,11) ~= 'lastcommand' and cmdHistory[1]:sub(1,7) ~= 'lastcmd' then
  7915.         execCmd(cmdHistory[1])
  7916.     end
  7917. end)
  7918.  
  7919. addcmd('esp',{},function(args, speaker)
  7920.     if not CHMSenabled then
  7921.         ESPenabled = true
  7922.         for i,v in pairs(Players:GetPlayers()) do
  7923.             if v.Name ~= speaker.Name then
  7924.                 ESP(v)
  7925.             end
  7926.         end
  7927.     else
  7928.         notify('ESP','Disable chams (nochams) before using esp')
  7929.     end
  7930. end)
  7931.  
  7932. addcmd('espteam',{},function(args, speaker)
  7933.     if not CHMSenabled then
  7934.         ESPenabled = true
  7935.         for i,v in pairs(Players:GetPlayers()) do
  7936.             if v.Name ~= speaker.Name then
  7937.                 ESP(v, true)
  7938.             end
  7939.         end
  7940.     else
  7941.         notify('ESP','Disable chams (nochams) before using esp')
  7942.     end
  7943. end)
  7944.  
  7945. addcmd('noesp',{'unesp','unespteam'},function(args, speaker)
  7946.     ESPenabled = false
  7947.     for i,c in pairs(COREGUI:GetChildren()) do
  7948.         if string.sub(c.Name, -4) == '_ESP' then
  7949.             c:Destroy()
  7950.         end
  7951.     end
  7952. end)
  7953.  
  7954. addcmd('esptransparency',{},function(args, speaker)
  7955.     espTransparency = (args[1] and isNumber(args[1]) and args[1]) or 0.3
  7956.     updatesaves()
  7957. end)
  7958.  
  7959. local espParts = {}
  7960. local partEspTrigger = nil
  7961. function partAdded(part)
  7962.     if #espParts > 0 then
  7963.         if FindInTable(espParts,part.Name:lower()) then
  7964.             local a = Instance.new("BoxHandleAdornment")
  7965.             a.Name = part.Name:lower().."_PESP"
  7966.             a.Parent = part
  7967.             a.Adornee = part
  7968.             a.AlwaysOnTop = true
  7969.             a.ZIndex = 0
  7970.             a.Size = part.Size
  7971.             a.Transparency = espTransparency
  7972.             a.Color = BrickColor.new("Lime green")
  7973.         end
  7974.     else
  7975.         partEspTrigger:Disconnect()
  7976.         partEspTrigger = nil
  7977.     end
  7978. end
  7979.  
  7980. addcmd('partesp',{},function(args, speaker)
  7981.     local partEspName = getstring(1):lower()
  7982.     if not FindInTable(espParts,partEspName) then
  7983.         table.insert(espParts,partEspName)
  7984.         for i,v in pairs(workspace:GetDescendants()) do
  7985.             if v:IsA("BasePart") and v.Name:lower() == partEspName then
  7986.                 local a = Instance.new("BoxHandleAdornment")
  7987.                 a.Name = partEspName.."_PESP"
  7988.                 a.Parent = v
  7989.                 a.Adornee = v
  7990.                 a.AlwaysOnTop = true
  7991.                 a.ZIndex = 0
  7992.                 a.Size = v.Size
  7993.                 a.Transparency = espTransparency
  7994.                 a.Color = BrickColor.new("Lime green")
  7995.             end
  7996.         end
  7997.     end
  7998.     if partEspTrigger == nil then
  7999.         partEspTrigger = workspace.DescendantAdded:Connect(partAdded)
  8000.     end
  8001. end)
  8002.  
  8003. addcmd('unpartesp',{'nopartesp'},function(args, speaker)
  8004.     if args[1] then
  8005.         local partEspName = getstring(1):lower()
  8006.         if FindInTable(espParts,partEspName) then
  8007.             table.remove(espParts, GetInTable(espParts, partEspName))
  8008.         end
  8009.         for i,v in pairs(workspace:GetDescendants()) do
  8010.             if v:IsA("BoxHandleAdornment") and v.Name == partEspName..'_PESP' then
  8011.                 v:Destroy()
  8012.             end
  8013.         end
  8014.     else
  8015.         partEspTrigger:Disconnect()
  8016.         partEspTrigger = nil
  8017.         espParts = {}
  8018.         for i,v in pairs(workspace:GetDescendants()) do
  8019.             if v:IsA("BoxHandleAdornment") and v.Name:sub(-5) == '_PESP' then
  8020.                 v:Destroy()
  8021.             end
  8022.         end
  8023.     end
  8024. end)
  8025.  
  8026. addcmd('chams',{},function(args, speaker)
  8027.     if not ESPenabled then
  8028.         CHMSenabled = true
  8029.         for i,v in pairs(Players:GetPlayers()) do
  8030.             if v.Name ~= speaker.Name then
  8031.                 CHMS(v)
  8032.             end
  8033.         end
  8034.     else
  8035.         notify('Chams','Disable ESP (noesp) before using chams')
  8036.     end
  8037. end)
  8038.  
  8039. addcmd('nochams',{'unchams'},function(args, speaker)
  8040.     CHMSenabled = false
  8041.     for i,v in pairs(Players:GetPlayers()) do
  8042.         local chmsplr = v
  8043.         for i,c in pairs(COREGUI:GetChildren()) do
  8044.             if c.Name == chmsplr.Name..'_CHMS' then
  8045.                 c:Destroy()
  8046.             end
  8047.         end
  8048.     end
  8049. end)
  8050.  
  8051. addcmd('locate',{},function(args, speaker)
  8052.     local players = getPlayer(args[1], speaker)
  8053.     for i,v in pairs(players) do
  8054.         Locate(Players[v])
  8055.     end
  8056. end)
  8057.  
  8058. addcmd('nolocate',{'unlocate'},function(args, speaker)
  8059.     local players = getPlayer(args[1], speaker)
  8060.     if args[1] then
  8061.         for i,v in pairs(players) do
  8062.             for i,c in pairs(COREGUI:GetChildren()) do
  8063.                 if c.Name == Players[v].Name..'_LC' then
  8064.                     c:Destroy()
  8065.                 end
  8066.             end
  8067.         end
  8068.     else
  8069.         for i,c in pairs(COREGUI:GetChildren()) do
  8070.             if string.sub(c.Name, -3) == '_LC' then
  8071.                 c:Destroy()
  8072.             end
  8073.         end
  8074.     end
  8075. end)
  8076.  
  8077. viewing = nil
  8078. addcmd('view',{'spectate'},function(args, speaker)
  8079.     StopFreecam()
  8080.     local players = getPlayer(args[1], speaker)
  8081.     for i,v in pairs(players) do
  8082.         if viewDied then
  8083.             viewDied:Disconnect()
  8084.             viewChanged:Disconnect()
  8085.         end
  8086.         viewing = Players[v]
  8087.         workspace.CurrentCamera.CameraSubject = viewing.Character
  8088.         notify('Spectate','Viewing ' .. Players[v].Name)
  8089.         local function viewDiedFunc()
  8090.             repeat wait() until Players[v].Character ~= nil and getRoot(Players[v].Character)
  8091.             workspace.CurrentCamera.CameraSubject = viewing.Character
  8092.         end
  8093.         viewDied = Players[v].CharacterAdded:Connect(viewDiedFunc)
  8094.         local function viewChangedFunc()
  8095.             workspace.CurrentCamera.CameraSubject = viewing.Character
  8096.         end
  8097.         viewChanged = workspace.CurrentCamera:GetPropertyChangedSignal("CameraSubject"):Connect(viewChangedFunc)
  8098.     end
  8099. end)
  8100.  
  8101. addcmd('viewpart',{'viewp'},function(args, speaker)
  8102.     StopFreecam()
  8103.     if args[1] then
  8104.         for i,v in pairs(workspace:GetDescendants()) do
  8105.             if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  8106.                 wait(0.1)
  8107.                 workspace.CurrentCamera.CameraSubject = v
  8108.             end
  8109.         end
  8110.     end
  8111. end)
  8112.  
  8113. addcmd('unview',{'unspectate'},function(args, speaker)
  8114.     StopFreecam()
  8115.     if viewing ~= nil then
  8116.         viewing = nil
  8117.         notify('Spectate','View turned off')
  8118.     end
  8119.     if viewDied then
  8120.         viewDied:Disconnect()
  8121.         viewChanged:Disconnect()
  8122.     end
  8123.     workspace.CurrentCamera.CameraSubject = speaker.Character
  8124. end)
  8125.  
  8126.  
  8127. fcRunning = false
  8128. local Camera = workspace.CurrentCamera
  8129. workspace:GetPropertyChangedSignal("CurrentCamera"):Connect(function()
  8130.     local newCamera = workspace.CurrentCamera
  8131.     if newCamera then
  8132.         Camera = newCamera
  8133.     end
  8134. end)
  8135.  
  8136. local INPUT_PRIORITY = Enum.ContextActionPriority.High.Value
  8137.  
  8138. Spring = {} do
  8139.     Spring.__index = Spring
  8140.  
  8141.     function Spring.new(freq, pos)
  8142.         local self = setmetatable({}, Spring)
  8143.         self.f = freq
  8144.         self.p = pos
  8145.         self.v = pos*0
  8146.         return self
  8147.     end
  8148.  
  8149.     function Spring:Update(dt, goal)
  8150.         local f = self.f*2*math.pi
  8151.         local p0 = self.p
  8152.         local v0 = self.v
  8153.  
  8154.         local offset = goal - p0
  8155.         local decay = math.exp(-f*dt)
  8156.  
  8157.         local p1 = goal + (v0*dt - offset*(f*dt + 1))*decay
  8158.         local v1 = (f*dt*(offset*f - v0) + v0)*decay
  8159.  
  8160.         self.p = p1
  8161.         self.v = v1
  8162.  
  8163.         return p1
  8164.     end
  8165.  
  8166.     function Spring:Reset(pos)
  8167.         self.p = pos
  8168.         self.v = pos*0
  8169.     end
  8170. end
  8171.  
  8172. local cameraPos = Vector3.new()
  8173. local cameraRot = Vector2.new()
  8174.  
  8175. local velSpring = Spring.new(5, Vector3.new())
  8176. local panSpring = Spring.new(5, Vector2.new())
  8177.  
  8178. Input = {} do
  8179.  
  8180.     keyboard = {
  8181.         W = 0,
  8182.         A = 0,
  8183.         S = 0,
  8184.         D = 0,
  8185.         E = 0,
  8186.         Q = 0,
  8187.         Up = 0,
  8188.         Down = 0,
  8189.         LeftShift = 0,
  8190.     }
  8191.  
  8192.     mouse = {
  8193.         Delta = Vector2.new(),
  8194.     }
  8195.  
  8196.     NAV_KEYBOARD_SPEED = Vector3.new(1, 1, 1)
  8197.     PAN_MOUSE_SPEED = Vector2.new(1, 1)*(math.pi/64)
  8198.     NAV_ADJ_SPEED = 0.75
  8199.     NAV_SHIFT_MUL = 0.25
  8200.  
  8201.     navSpeed = 1
  8202.  
  8203.     function Input.Vel(dt)
  8204.         navSpeed = math.clamp(navSpeed + dt*(keyboard.Up - keyboard.Down)*NAV_ADJ_SPEED, 0.01, 4)
  8205.  
  8206.         local kKeyboard = Vector3.new(
  8207.             keyboard.D - keyboard.A,
  8208.             keyboard.E - keyboard.Q,
  8209.             keyboard.S - keyboard.W
  8210.         )*NAV_KEYBOARD_SPEED
  8211.  
  8212.         local shift = UserInputService:IsKeyDown(Enum.KeyCode.LeftShift)
  8213.  
  8214.         return (kKeyboard)*(navSpeed*(shift and NAV_SHIFT_MUL or 1))
  8215.     end
  8216.  
  8217.     function Input.Pan(dt)
  8218.         local kMouse = mouse.Delta*PAN_MOUSE_SPEED
  8219.         mouse.Delta = Vector2.new()
  8220.         return kMouse
  8221.     end
  8222.  
  8223.     do
  8224.         function Keypress(action, state, input)
  8225.             keyboard[input.KeyCode.Name] = state == Enum.UserInputState.Begin and 1 or 0
  8226.             return Enum.ContextActionResult.Sink
  8227.         end
  8228.  
  8229.         function MousePan(action, state, input)
  8230.             local delta = input.Delta
  8231.             mouse.Delta = Vector2.new(-delta.y, -delta.x)
  8232.             return Enum.ContextActionResult.Sink
  8233.         end
  8234.  
  8235.         function Zero(t)
  8236.             for k, v in pairs(t) do
  8237.                 t[k] = v*0
  8238.             end
  8239.         end
  8240.  
  8241.         function Input.StartCapture()
  8242.             ContextActionService:BindActionAtPriority("FreecamKeyboard",Keypress,false,INPUT_PRIORITY,
  8243.                 Enum.KeyCode.W,
  8244.                 Enum.KeyCode.A,
  8245.                 Enum.KeyCode.S,
  8246.                 Enum.KeyCode.D,
  8247.                 Enum.KeyCode.E,
  8248.                 Enum.KeyCode.Q,
  8249.                 Enum.KeyCode.Up,
  8250.                 Enum.KeyCode.Down
  8251.             )
  8252.             ContextActionService:BindActionAtPriority("FreecamMousePan",MousePan,false,INPUT_PRIORITY,Enum.UserInputType.MouseMovement)
  8253.         end
  8254.  
  8255.         function Input.StopCapture()
  8256.             navSpeed = 1
  8257.             Zero(keyboard)
  8258.             Zero(mouse)
  8259.             ContextActionService:UnbindAction("FreecamKeyboard")
  8260.             ContextActionService:UnbindAction("FreecamMousePan")
  8261.         end
  8262.     end
  8263. end
  8264.  
  8265. function GetFocusDistance(cameraFrame)
  8266.     local znear = 0.1
  8267.     local viewport = Camera.ViewportSize
  8268.     local projy = 2*math.tan(cameraFov/2)
  8269.     local projx = viewport.x/viewport.y*projy
  8270.     local fx = cameraFrame.rightVector
  8271.     local fy = cameraFrame.upVector
  8272.     local fz = cameraFrame.lookVector
  8273.  
  8274.     local minVect = Vector3.new()
  8275.     local minDist = 512
  8276.  
  8277.     for x = 0, 1, 0.5 do
  8278.         for y = 0, 1, 0.5 do
  8279.             local cx = (x - 0.5)*projx
  8280.             local cy = (y - 0.5)*projy
  8281.             local offset = fx*cx - fy*cy + fz
  8282.             local origin = cameraFrame.p + offset*znear
  8283.             local _, hit = workspace:FindPartOnRay(Ray.new(origin, offset.unit*minDist))
  8284.             local dist = (hit - origin).magnitude
  8285.             if minDist > dist then
  8286.                 minDist = dist
  8287.                 minVect = offset.unit
  8288.             end
  8289.         end
  8290.     end
  8291.  
  8292.     return fz:Dot(minVect)*minDist
  8293. end
  8294.  
  8295. local function StepFreecam(dt)
  8296.     local vel = velSpring:Update(dt, Input.Vel(dt))
  8297.     local pan = panSpring:Update(dt, Input.Pan(dt))
  8298.  
  8299.     local zoomFactor = math.sqrt(math.tan(math.rad(70/2))/math.tan(math.rad(cameraFov/2)))
  8300.  
  8301.     cameraRot = cameraRot + pan*Vector2.new(0.75, 1)*8*(dt/zoomFactor)
  8302.     cameraRot = Vector2.new(math.clamp(cameraRot.x, -math.rad(90), math.rad(90)), cameraRot.y%(2*math.pi))
  8303.  
  8304.     local cameraCFrame = CFrame.new(cameraPos)*CFrame.fromOrientation(cameraRot.x, cameraRot.y, 0)*CFrame.new(vel*Vector3.new(1, 1, 1)*64*dt)
  8305.     cameraPos = cameraCFrame.p
  8306.  
  8307.     Camera.CFrame = cameraCFrame
  8308.     Camera.Focus = cameraCFrame*CFrame.new(0, 0, -GetFocusDistance(cameraCFrame))
  8309.     Camera.FieldOfView = cameraFov
  8310. end
  8311.  
  8312. local PlayerState = {} do
  8313.     mouseBehavior = ""
  8314.     mouseIconEnabled = ""
  8315.     cameraType = ""
  8316.     cameraFocus = ""
  8317.     cameraCFrame = ""
  8318.     cameraFieldOfView = ""
  8319.  
  8320.     function PlayerState.Push()
  8321.         cameraFieldOfView = Camera.FieldOfView
  8322.         Camera.FieldOfView = 70
  8323.  
  8324.         cameraType = Camera.CameraType
  8325.         Camera.CameraType = Enum.CameraType.Custom
  8326.  
  8327.         cameraCFrame = Camera.CFrame
  8328.         cameraFocus = Camera.Focus
  8329.  
  8330.         mouseIconEnabled = UserInputService.MouseIconEnabled
  8331.         UserInputService.MouseIconEnabled = true
  8332.  
  8333.         mouseBehavior = UserInputService.MouseBehavior
  8334.         UserInputService.MouseBehavior = Enum.MouseBehavior.Default
  8335.     end
  8336.  
  8337.     function PlayerState.Pop()
  8338.         Camera.FieldOfView = 70
  8339.  
  8340.         Camera.CameraType = cameraType
  8341.         cameraType = nil
  8342.  
  8343.         Camera.CFrame = cameraCFrame
  8344.         cameraCFrame = nil
  8345.  
  8346.         Camera.Focus = cameraFocus
  8347.         cameraFocus = nil
  8348.  
  8349.         UserInputService.MouseIconEnabled = mouseIconEnabled
  8350.         mouseIconEnabled = nil
  8351.  
  8352.         UserInputService.MouseBehavior = mouseBehavior
  8353.         mouseBehavior = nil
  8354.     end
  8355. end
  8356.  
  8357. function StartFreecam(pos)
  8358.     if fcRunning then
  8359.         StopFreecam()
  8360.     end
  8361.     local cameraCFrame = Camera.CFrame
  8362.     if pos then
  8363.         cameraCFrame = pos
  8364.     end
  8365.     cameraRot = Vector2.new()
  8366.     cameraPos = cameraCFrame.p
  8367.     cameraFov = Camera.FieldOfView
  8368.  
  8369.     velSpring:Reset(Vector3.new())
  8370.     panSpring:Reset(Vector2.new())
  8371.  
  8372.     PlayerState.Push()
  8373.     RunService:BindToRenderStep("Freecam", Enum.RenderPriority.Camera.Value, StepFreecam)
  8374.     Input.StartCapture()
  8375.     fcRunning = true
  8376. end
  8377.  
  8378. function StopFreecam()
  8379.     if not fcRunning then return end
  8380.     Input.StopCapture()
  8381.     RunService:UnbindFromRenderStep("Freecam")
  8382.     PlayerState.Pop()
  8383.     workspace.Camera.FieldOfView = 70
  8384.     fcRunning = false
  8385. end
  8386.  
  8387. addcmd('freecam',{'fc'},function(args, speaker)
  8388.     StartFreecam()
  8389. end)
  8390.  
  8391. addcmd('freecampos',{'fcpos','fcp','freecamposition','fcposition'},function(args, speaker)
  8392.     if not args[1] then return end
  8393.     local freecamPos = CFrame.new(args[1],args[2],args[3])
  8394.     StartFreecam(freecamPos)
  8395. end)
  8396.  
  8397. addcmd('freecamwaypoint',{'fcwp'},function(args, speaker)
  8398.     local WPName = tostring(getstring(1))
  8399.     if speaker.Character then
  8400.         for i,_ in pairs(WayPoints) do
  8401.             local x = WayPoints[i].COORD[1]
  8402.             local y = WayPoints[i].COORD[2]
  8403.             local z = WayPoints[i].COORD[3]
  8404.             if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8405.                 StartFreecam(CFrame.new(x,y,z))
  8406.             end
  8407.         end
  8408.         for i,_ in pairs(pWayPoints) do
  8409.             if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8410.                 StartFreecam(CFrame.new(pWayPoints[i].COORD[1].Position))
  8411.             end
  8412.         end
  8413.     end
  8414. end)
  8415.  
  8416. addcmd('freecamgoto',{'fcgoto','freecamtp','fctp'},function(args, speaker)
  8417.     local players = getPlayer(args[1], speaker)
  8418.     for i,v in pairs(players) do
  8419.         StartFreecam(getRoot(Players[v].Character).CFrame)
  8420.     end
  8421. end)
  8422.  
  8423. addcmd('unfreecam',{'nofreecam','unfc','nofc'},function(args, speaker)
  8424.     StopFreecam()
  8425. end)
  8426.  
  8427. addcmd('freecamspeed',{'fcspeed'},function(args, speaker)
  8428.     local FCspeed = args[1] or 1
  8429.     if isNumber(FCspeed) then
  8430.         NAV_KEYBOARD_SPEED = Vector3.new(FCspeed, FCspeed, FCspeed)
  8431.     end
  8432. end)
  8433.  
  8434. addcmd('notifyfreecamposition',{'notifyfcpos'},function(args, speaker)
  8435.     if fcRunning then
  8436.         local X,Y,Z = workspace.CurrentCamera.CFrame.Position.X,workspace.CurrentCamera.CFrame.Position.Y,workspace.CurrentCamera.CFrame.Position.Z
  8437.         local Format, Round = string.format, math.round
  8438.         notify("Current Position", Format("%s, %s, %s", Round(X), Round(Y), Round(Z)))
  8439.     end
  8440. end)
  8441.  
  8442. addcmd('copyfreecamposition',{'copyfcpos'},function(args, speaker)
  8443.     if fcRunning then
  8444.         local X,Y,Z = workspace.CurrentCamera.CFrame.Position.X,workspace.CurrentCamera.CFrame.Position.Y,workspace.CurrentCamera.CFrame.Position.Z
  8445.         local Format, Round = string.format, math.round
  8446.         toClipboard(Format("%s, %s, %s", Round(X), Round(Y), Round(Z)))
  8447.     end
  8448. end)
  8449.  
  8450. addcmd('gotocamera',{'gotocam','tocam'},function(args, speaker)
  8451.     getRoot(speaker.Character).CFrame = workspace.Camera.CFrame
  8452. end)
  8453.  
  8454. addcmd('tweengotocamera',{'tweengotocam','tgotocam','ttocam'},function(args, speaker)
  8455.     TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = workspace.Camera.CFrame}):Play()
  8456. end)
  8457.  
  8458. addcmd('fov',{},function(args, speaker)
  8459.     local fov = args[1] or 70
  8460.     if isNumber(fov) then
  8461.         workspace.CurrentCamera.FieldOfView = fov
  8462.     end
  8463. end)
  8464.  
  8465. local preMaxZoom = Players.LocalPlayer.CameraMaxZoomDistance
  8466. local preMinZoom = Players.LocalPlayer.CameraMinZoomDistance
  8467. addcmd('lookat',{},function(args, speaker)
  8468.     if speaker.CameraMaxZoomDistance ~= 0.5 then
  8469.         preMaxZoom = speaker.CameraMaxZoomDistance
  8470.         preMinZoom = speaker.CameraMinZoomDistance
  8471.     end
  8472.     speaker.CameraMaxZoomDistance = 0.5
  8473.     speaker.CameraMinZoomDistance = 0.5
  8474.     wait()
  8475.     local players = getPlayer(args[1], speaker)
  8476.     for i,v in pairs(players) do
  8477.         local target = Players[v].Character
  8478.         if target and target:FindFirstChild('Head') then
  8479.             workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.p, target.Head.CFrame.p)
  8480.             wait(0.1)
  8481.         end
  8482.     end
  8483.     speaker.CameraMaxZoomDistance = preMaxZoom
  8484.     speaker.CameraMinZoomDistance = preMinZoom
  8485. end)
  8486.  
  8487. addcmd('fixcam',{'restorecam'},function(args, speaker)
  8488.     StopFreecam()
  8489.     execCmd('unview')
  8490.     workspace.CurrentCamera:remove()
  8491.     wait(.1)
  8492.     repeat wait() until speaker.Character ~= nil
  8493.     workspace.CurrentCamera.CameraSubject = speaker.Character:FindFirstChildWhichIsA('Humanoid')
  8494.     workspace.CurrentCamera.CameraType = "Custom"
  8495.     speaker.CameraMinZoomDistance = 0.5
  8496.     speaker.CameraMaxZoomDistance = 400
  8497.     speaker.CameraMode = "Classic"
  8498.     speaker.Character.Head.Anchored = false
  8499. end)
  8500.  
  8501. addcmd("enableshiftlock", {"enablesl", "shiftlock"}, function(args, speaker)
  8502.     local function enableShiftlock()
  8503.         speaker.DevEnableMouseLock = true
  8504.     end
  8505.     speaker:GetPropertyChangedSignal("DevEnableMouseLock"):Connect(enableShiftlock)
  8506.     enableShiftlock()
  8507.     notify("Shiftlock", "Shift lock should now be available")
  8508. end)
  8509.  
  8510. addcmd('firstp',{},function(args, speaker)
  8511.     speaker.CameraMode = "LockFirstPerson"
  8512. end)
  8513.  
  8514. addcmd('thirdp',{},function(args, speaker)
  8515.     speaker.CameraMode = "Classic"
  8516. end)
  8517.  
  8518. addcmd('noclipcam', {'nccam'}, function(args, speaker)
  8519.     local sc = (debug and debug.setconstant) or setconstant
  8520.     local gc = (debug and debug.getconstants) or getconstants
  8521.     if not sc or not getgc or not gc then
  8522.         return notify('Incompatible Exploit', 'Your exploit does not support this command (missing setconstant or getconstants or getgc)')
  8523.     end
  8524.     local pop = speaker.PlayerScripts.PlayerModule.CameraModule.ZoomController.Popper
  8525.     for _, v in pairs(getgc()) do
  8526.         if type(v) == 'function' and getfenv(v).script == pop then
  8527.             for i, v1 in pairs(gc(v)) do
  8528.                 if tonumber(v1) == .25 then
  8529.                     sc(v, i, 0)
  8530.                 elseif tonumber(v1) == 0 then
  8531.                     sc(v, i, .25)
  8532.                 end
  8533.             end
  8534.         end
  8535.     end
  8536. end)
  8537.  
  8538. addcmd('maxzoom',{},function(args, speaker)
  8539.     speaker.CameraMaxZoomDistance = args[1]
  8540. end)
  8541.  
  8542. addcmd('minzoom',{},function(args, speaker)
  8543.     speaker.CameraMinZoomDistance = args[1]
  8544. end)
  8545.  
  8546. addcmd('camdistance',{},function(args, speaker)
  8547.     local camMax = speaker.CameraMaxZoomDistance
  8548.     local camMin = speaker.CameraMinZoomDistance
  8549.     if camMax < tonumber(args[1]) then
  8550.         camMax = args[1]
  8551.     end
  8552.     speaker.CameraMaxZoomDistance = args[1]
  8553.     speaker.CameraMinZoomDistance = args[1]
  8554.     wait()
  8555.     speaker.CameraMaxZoomDistance = camMax
  8556.     speaker.CameraMinZoomDistance = camMin
  8557. end)
  8558.  
  8559. addcmd('unlockws',{'unlockworkspace'},function(args, speaker)
  8560.     for i,v in pairs(workspace:GetDescendants()) do
  8561.         if v:IsA("BasePart") then
  8562.             v.Locked = false
  8563.         end
  8564.     end
  8565. end)
  8566.  
  8567. addcmd('lockws',{'lockworkspace'},function(args, speaker)
  8568.     for i,v in pairs(workspace:GetDescendants()) do
  8569.         if v:IsA("BasePart") then
  8570.             v.Locked = true
  8571.         end
  8572.     end
  8573. end)
  8574.  
  8575. addcmd('delete',{'remove'},function(args, speaker)
  8576.     for i,v in pairs(workspace:GetDescendants()) do
  8577.         if v.Name:lower() == getstring(1):lower() then
  8578.             v:Destroy()
  8579.         end
  8580.     end
  8581.     notify('Item(s) Deleted','Deleted ' ..getstring(1))
  8582. end)
  8583.  
  8584. addcmd('deleteclass',{'removeclass','deleteclassname','removeclassname','dc'},function(args, speaker)
  8585.     for i,v in pairs(workspace:GetDescendants()) do
  8586.         if v.ClassName:lower() == getstring(1):lower() then
  8587.             v:Destroy()
  8588.         end
  8589.     end
  8590.     notify('Item(s) Deleted','Deleted items with ClassName ' ..getstring(1))
  8591. end)
  8592.  
  8593. addcmd('chardelete',{'charremove','cd'},function(args, speaker)
  8594.     for i,v in pairs(speaker.Character:GetDescendants()) do
  8595.         if v.Name:lower() == getstring(1):lower() then
  8596.             v:Destroy()
  8597.         end
  8598.     end
  8599.     notify('Item(s) Deleted','Deleted ' ..getstring(1))
  8600. end)
  8601.  
  8602. addcmd('chardeleteclass',{'charremoveclass','chardeleteclassname','charremoveclassname','cdc'},function(args, speaker)
  8603.     for i,v in pairs(speaker.Character:GetDescendants()) do
  8604.         if v.ClassName:lower() == getstring(1):lower() then
  8605.             v:Destroy()
  8606.         end
  8607.     end
  8608.     notify('Item(s) Deleted','Deleted items with ClassName ' ..getstring(1))
  8609. end)
  8610.  
  8611. addcmd('deletevelocity',{'dv','removevelocity','removeforces'},function(args, speaker)
  8612.     for i,v in pairs(speaker.Character:GetDescendants()) do
  8613.         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
  8614.             v:Destroy()
  8615.         end
  8616.     end
  8617. end)
  8618.  
  8619. addcmd('deleteinvisparts',{'deleteinvisibleparts','dip'},function(args, speaker)
  8620.     for i,v in pairs(workspace:GetDescendants()) do
  8621.         if v:IsA("BasePart") and v.Transparency == 1 and v.CanCollide then
  8622.             v:Destroy()
  8623.         end
  8624.     end
  8625. end)
  8626.  
  8627. local shownParts = {}
  8628. addcmd('invisibleparts',{'invisparts'},function(args, speaker)
  8629.     for i,v in pairs(workspace:GetDescendants()) do
  8630.         if v:IsA("BasePart") and v.Transparency == 1 then
  8631.             if not table.find(shownParts,v) then
  8632.                 table.insert(shownParts,v)
  8633.             end
  8634.             v.Transparency = 0
  8635.         end
  8636.     end
  8637. end)
  8638.  
  8639. addcmd('uninvisibleparts',{'uninvisparts'},function(args, speaker)
  8640.     for i,v in pairs(shownParts) do
  8641.         v.Transparency = 1
  8642.     end
  8643.     shownParts = {}
  8644. end)
  8645.  
  8646. addcmd('btools',{},function(args, speaker)
  8647.     for i = 1, 4 do
  8648.         local Tool = Instance.new("HopperBin")
  8649.         Tool.BinType = i
  8650.         Tool.Name = randomString()
  8651.         Tool.Parent = speaker:FindFirstChildOfClass("Backpack")
  8652.     end
  8653. end)
  8654.  
  8655. addcmd('f3x',{'fex'},function(args, speaker)
  8656.     loadstring(game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/refs/heads/main/f3x.lua"))()
  8657. end)
  8658.  
  8659. addcmd('partpath',{'partname'},function(args, speaker)
  8660.     selectPart()
  8661. end)
  8662.  
  8663. addcmd('antiafk',{'antiidle'},function(args, speaker)
  8664.     local GC = getconnections or get_signal_cons
  8665.     if GC then
  8666.         for i,v in pairs(GC(Players.LocalPlayer.Idled)) do
  8667.             if v["Disable"] then
  8668.                 v["Disable"](v)
  8669.             elseif v["Disconnect"] then
  8670.                 v["Disconnect"](v)
  8671.             end
  8672.         end
  8673.     else
  8674.         local VirtualUser = cloneref(game:GetService("VirtualUser"))
  8675.         Players.LocalPlayer.Idled:Connect(function()
  8676.             VirtualUser:CaptureController()
  8677.             VirtualUser:ClickButton2(Vector2.new())
  8678.         end)
  8679.     end
  8680.     if not (args[1] and tostring(args[1]) == 'nonotify') then notify('Anti Idle','Anti idle is enabled') end
  8681. end)
  8682.  
  8683. addcmd("datalimit", {}, function(args, speaker)
  8684.     local kbps = tonumber(args[1])
  8685.     if kbps then
  8686.         local NetworkClient = cloneref(game:GetService("NetworkClient"))
  8687.         NetworkClient:SetOutgoingKBPSLimit(kbps)
  8688.     end
  8689. end)
  8690.  
  8691. addcmd("replicationlag", {"backtrack"}, function(args, speaker)
  8692.     if tonumber(args[1]) then
  8693.         settings():GetService("NetworkSettings").IncomingReplicationLag = args[1]
  8694.     end
  8695. end)
  8696.  
  8697. addcmd("noprompts", {"nopurchaseprompts"}, function(args, speaker)
  8698.     COREGUI.PurchasePromptApp.Enabled = false
  8699. end)
  8700.  
  8701. addcmd("showprompts", {"showpurchaseprompts"}, function(args, speaker)
  8702.     COREGUI.PurchasePromptApp.Enabled = true
  8703. end)
  8704.  
  8705. promptNewRig = function(speaker, rig)
  8706.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  8707.     if humanoid then
  8708.         AvatarEditorService:PromptSaveAvatar(humanoid.HumanoidDescription, Enum.HumanoidRigType[rig])
  8709.         local result = AvatarEditorService.PromptSaveAvatarCompleted:Wait()
  8710.         if result == Enum.AvatarPromptResult.Success then
  8711.             execCmd("reset")
  8712.         end
  8713.     end
  8714. end
  8715.  
  8716. addcmd("promptr6", {}, function(args, speaker)
  8717.     promptNewRig(speaker, "R6")
  8718. end)
  8719.  
  8720. addcmd("promptr15", {}, function(args, speaker)
  8721.     promptNewRig(speaker, "R15")
  8722. end)
  8723.  
  8724. addcmd("wallwalk", {"walkonwalls"}, function(args, speaker)
  8725.     loadstring(game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/wallwalker.lua"))()
  8726. end)
  8727.  
  8728. addcmd('age',{},function(args, speaker)
  8729.     local players = getPlayer(args[1], speaker)
  8730.     local ages = {}
  8731.     for i,v in pairs(players) do
  8732.         local p = Players[v]
  8733.         table.insert(ages, p.Name.."'s age is: "..p.AccountAge)
  8734.     end
  8735.     notify('Account Age',table.concat(ages, ',\n'))
  8736. end)
  8737.  
  8738. addcmd('chatage',{},function(args, speaker)
  8739.     local players = getPlayer(args[1], speaker)
  8740.     local ages = {}
  8741.     for i,v in pairs(players) do
  8742.         local p = Players[v]
  8743.         table.insert(ages, p.Name.."'s age is: "..p.AccountAge)
  8744.     end
  8745.     local chatString = table.concat(ages, ', ')
  8746.     chatMessage(chatString)
  8747. end)
  8748.  
  8749. addcmd('joindate',{'jd'},function(args, speaker)
  8750.     local players = getPlayer(args[1], speaker)
  8751.     local dates = {}
  8752.     notify("Loading",'Hold on a sec')
  8753.     for i,v in pairs(players) do
  8754.         local user = game:HttpGet("https://users.roblox.com/v1/users/"..Players[v].UserId)
  8755.         local json = HttpService:JSONDecode(user)
  8756.         local date = json["created"]:sub(1,10)
  8757.         local splitDates = string.split(date,"-")
  8758.         table.insert(dates,Players[v].Name.." joined: "..splitDates[2].."/"..splitDates[3].."/"..splitDates[1])
  8759.     end
  8760.     notify('Join Date (Month/Day/Year)',table.concat(dates, ',\n'))
  8761. end)
  8762.  
  8763. addcmd('chatjoindate',{'cjd'},function(args, speaker)
  8764.     local players = getPlayer(args[1], speaker)
  8765.     local dates = {}
  8766.     notify("Loading",'Hold on a sec')
  8767.     for i,v in pairs(players) do
  8768.         local user = game:HttpGet("https://users.roblox.com/v1/users/"..Players[v].UserId)
  8769.         local json = HttpService:JSONDecode(user)
  8770.         local date = json["created"]:sub(1,10)
  8771.         local splitDates = string.split(date,"-")
  8772.         table.insert(dates,Players[v].Name.." joined: "..splitDates[2].."/"..splitDates[3].."/"..splitDates[1])
  8773.     end
  8774.     local chatString = table.concat(dates, ', ')
  8775.     chatMessage(chatString)
  8776. end)
  8777.  
  8778. addcmd('copyname',{'copyuser'},function(args, speaker)
  8779.     local players = getPlayer(args[1], speaker)
  8780.     for i,v in pairs(players) do
  8781.         local name = tostring(Players[v].Name)
  8782.         toClipboard(name)
  8783.     end
  8784. end)
  8785.  
  8786. addcmd('userid',{'id'},function(args, speaker)
  8787.     local players = getPlayer(args[1], speaker)
  8788.     for i,v in pairs(players) do
  8789.         local id = tostring(Players[v].UserId)
  8790.         notify('User ID',id)
  8791.     end
  8792. end)
  8793.  
  8794. addcmd('copyid',{'copyuserid'},function(args, speaker)
  8795.     local players = getPlayer(args[1], speaker)
  8796.     for i,v in pairs(players) do
  8797.         local id = tostring(Players[v].UserId)
  8798.         toClipboard(id)
  8799.     end
  8800. end)
  8801.  
  8802. addcmd('creatorid',{'creator'},function(args, speaker)
  8803.     if game.CreatorType == Enum.CreatorType.User then
  8804.         notify('Creator ID',game.CreatorId)
  8805.     elseif game.CreatorType == Enum.CreatorType.Group then
  8806.         local OwnerID = GroupService:GetGroupInfoAsync(game.CreatorId).Owner.Id
  8807.         speaker.UserId = OwnerID
  8808.         notify('Creator ID',OwnerID)
  8809.     end
  8810. end)
  8811.  
  8812. addcmd('copycreatorid',{'copycreator'},function(args, speaker)
  8813.     if game.CreatorType == Enum.CreatorType.User then
  8814.         toClipboard(game.CreatorId)
  8815.         notify('Copied ID','Copied creator ID to clipboard')
  8816.     elseif game.CreatorType == Enum.CreatorType.Group then
  8817.         local OwnerID = GroupService:GetGroupInfoAsync(game.CreatorId).Owner.Id
  8818.         toClipboard(OwnerID)
  8819.         notify('Copied ID','Copied creator ID to clipboard')
  8820.     end
  8821. end)
  8822.  
  8823. addcmd('setcreatorid',{'setcreator'},function(args, speaker)
  8824.     if game.CreatorType == Enum.CreatorType.User then
  8825.         speaker.UserId = game.CreatorId
  8826.         notify('Set ID','Set UserId to '..game.CreatorId)
  8827.     elseif game.CreatorType == Enum.CreatorType.Group then
  8828.         local OwnerID = GroupService:GetGroupInfoAsync(game.CreatorId).Owner.Id
  8829.         speaker.UserId = OwnerID
  8830.         notify('Set ID','Set UserId to '..OwnerID)
  8831.     end
  8832. end)
  8833.  
  8834. addcmd('appearanceid',{'aid'},function(args, speaker)
  8835.     local players = getPlayer(args[1], speaker)
  8836.     for i,v in pairs(players) do
  8837.         local aid = tostring(Players[v].CharacterAppearanceId)
  8838.         notify('Appearance ID',aid)
  8839.     end
  8840. end)
  8841.  
  8842. addcmd('copyappearanceid',{'caid'},function(args, speaker)
  8843.     local players = getPlayer(args[1], speaker)
  8844.     for i,v in pairs(players) do
  8845.         local aid = tostring(Players[v].CharacterAppearanceId)
  8846.         toClipboard(aid)
  8847.     end
  8848. end)
  8849.  
  8850. addcmd('norender',{},function(args, speaker)
  8851.     RunService:Set3dRenderingEnabled(false)
  8852. end)
  8853.  
  8854. addcmd('render',{},function(args, speaker)
  8855.     RunService:Set3dRenderingEnabled(true)
  8856. end)
  8857.  
  8858. addcmd('2022materials',{'use2022materials'},function(args, speaker)
  8859.     if sethidden then
  8860.         sethidden(MaterialService, "Use2022Materials", true)
  8861.     else
  8862.         notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
  8863.     end
  8864. end)
  8865.  
  8866. addcmd('un2022materials',{'unuse2022materials'},function(args, speaker)
  8867.     if sethidden then
  8868.         sethidden(MaterialService, "Use2022Materials", false)
  8869.     else
  8870.         notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
  8871.     end
  8872. end)
  8873.  
  8874. addcmd('goto',{'to'},function(args, speaker)
  8875.     local players = getPlayer(args[1], speaker)
  8876.     for i,v in pairs(players)do
  8877.         if Players[v].Character ~= nil then
  8878.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8879.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8880.                 wait(.1)
  8881.             end
  8882.             getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0)
  8883.         end
  8884.     end
  8885.     execCmd('breakvelocity')
  8886. end)
  8887.  
  8888. addcmd('tweengoto',{'tgoto','tto','tweento'},function(args, speaker)
  8889.     local players = getPlayer(args[1], speaker)
  8890.     for i,v in pairs(players)do
  8891.         if Players[v].Character ~= nil then
  8892.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8893.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8894.                 wait(.1)
  8895.             end
  8896.             TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0)}):Play()
  8897.         end
  8898.     end
  8899.     execCmd('breakvelocity')
  8900. end)
  8901.  
  8902. addcmd('vehiclegoto',{'vgoto','vtp','vehicletp'},function(args, speaker)
  8903.     local players = getPlayer(args[1], speaker)
  8904.     for i,v in pairs(players)do
  8905.         if Players[v].Character ~= nil then
  8906.             local seat = speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart
  8907.             local vehicleModel = seat:FindFirstAncestorWhichIsA("Model")
  8908.             vehicleModel:MoveTo(getRoot(Players[v].Character).Position)
  8909.         end
  8910.     end
  8911. end)
  8912.  
  8913. addcmd('pulsetp',{'ptp'},function(args, speaker)
  8914.     local players = getPlayer(args[1], speaker)
  8915.     for i,v in pairs(players)do
  8916.         if Players[v].Character ~= nil then
  8917.             local startPos = getRoot(speaker.Character).CFrame
  8918.             local seconds = args[2] or 1
  8919.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  8920.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  8921.                 wait(.1)
  8922.             end
  8923.             getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0)
  8924.             wait(seconds)
  8925.             getRoot(speaker.Character).CFrame = startPos
  8926.         end
  8927.     end
  8928.     execCmd('breakvelocity')
  8929. end)
  8930.  
  8931. local vnoclipParts = {}
  8932. addcmd('vehiclenoclip',{'vnoclip'},function(args, speaker)
  8933.     vnoclipParts = {}
  8934.     local seat = speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart
  8935.     local vehicleModel = seat.Parent
  8936.     repeat
  8937.         if vehicleModel.ClassName ~= "Model" then
  8938.             vehicleModel = vehicleModel.Parent
  8939.         end
  8940.     until vehicleModel.ClassName == "Model"
  8941.     wait(0.1)
  8942.     execCmd('noclip')
  8943.     for i,v in pairs(vehicleModel:GetDescendants()) do
  8944.         if v:IsA("BasePart") and v.CanCollide then
  8945.             table.insert(vnoclipParts,v)
  8946.             v.CanCollide = false
  8947.         end
  8948.     end
  8949. end)
  8950.  
  8951. addcmd("vehicleclip", {"vclip", "unvnoclip", "unvehiclenoclip"}, function(args, speaker)
  8952.     execCmd("clip")
  8953.     for i, v in pairs(vnoclipParts) do
  8954.         v.CanCollide = true
  8955.     end
  8956.     vnoclipParts = {}
  8957. end)
  8958.  
  8959. addcmd("togglevnoclip", {}, function(args, speaker)
  8960.     execCmd(Clip and "vnoclip" or "vclip")
  8961. end)
  8962.  
  8963. addcmd('clientbring',{'cbring'},function(args, speaker)
  8964.     local players = getPlayer(args[1], speaker)
  8965.     for i,v in pairs(players)do
  8966.         if Players[v].Character ~= nil then
  8967.             if Players[v].Character:FindFirstChildOfClass('Humanoid') then
  8968.                 Players[v].Character:FindFirstChildOfClass('Humanoid').Sit = false
  8969.             end
  8970.             wait()
  8971.             getRoot(Players[v].Character).CFrame = getRoot(speaker.Character).CFrame + Vector3.new(3,1,0)
  8972.         end
  8973.     end
  8974. end)
  8975.  
  8976. local bringT = {}
  8977. addcmd('loopbring',{},function(args, speaker)
  8978.     local players = getPlayer(args[1], speaker)
  8979.     for i,v in pairs(players)do
  8980.         task.spawn(function()
  8981.             if Players[v].Name ~= speaker.Name and not FindInTable(bringT, Players[v].Name) then
  8982.                 table.insert(bringT, Players[v].Name)
  8983.                 local plrName = Players[v].Name
  8984.                 local pchar=Players[v].Character
  8985.                 local distance = 3
  8986.                 if args[2] and isNumber(args[2]) then
  8987.                     distance = args[2]
  8988.                 end
  8989.                 local lDelay = 0
  8990.                 if args[3] and isNumber(args[3]) then
  8991.                     lDelay = args[3]
  8992.                 end
  8993.                 repeat
  8994.                     for i,c in pairs(players) do
  8995.                         if Players:FindFirstChild(v) then
  8996.                             pchar = Players[v].Character
  8997.                             if pchar~= nil and Players[v].Character ~= nil and getRoot(pchar) and speaker.Character ~= nil and getRoot(speaker.Character) then
  8998.                                 getRoot(pchar).CFrame = getRoot(speaker.Character).CFrame + Vector3.new(distance,1,0)
  8999.                             end
  9000.                             wait(lDelay)
  9001.                         else
  9002.                             for a,b in pairs(bringT) do if b == plrName then table.remove(bringT, a) end end
  9003.                         end
  9004.                     end
  9005.                 until not FindInTable(bringT, plrName)
  9006.             end
  9007.         end)
  9008.     end
  9009. end)
  9010.  
  9011. addcmd('unloopbring',{'noloopbring'},function(args, speaker)
  9012.     local players = getPlayer(args[1], speaker)
  9013.     for i,v in pairs(players)do
  9014.         task.spawn(function()
  9015.             for a,b in pairs(bringT) do if b == Players[v].Name then table.remove(bringT, a) end end
  9016.         end)
  9017.     end
  9018. end)
  9019.  
  9020. local walkto = false
  9021. local waypointwalkto = false
  9022. addcmd('walkto',{'follow'},function(args, speaker)
  9023.     local players = getPlayer(args[1], speaker)
  9024.     for i,v in pairs(players)do
  9025.         if Players[v].Character ~= nil then
  9026.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  9027.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  9028.                 wait(.1)
  9029.             end
  9030.             walkto = true
  9031.             repeat wait()
  9032.                 speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(getRoot(Players[v].Character).Position)
  9033.             until Players[v].Character == nil or not getRoot(Players[v].Character) or walkto == false
  9034.         end
  9035.     end
  9036. end)
  9037.  
  9038. addcmd('pathfindwalkto',{'pathfindfollow'},function(args, speaker)
  9039.     walkto = false
  9040.     wait()
  9041.     local players = getPlayer(args[1], speaker)
  9042.     local hum = Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  9043.     local path = PathService:CreatePath()
  9044.     for i,v in pairs(players)do
  9045.         if Players[v].Character ~= nil then
  9046.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  9047.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  9048.                 wait(.1)
  9049.             end
  9050.             walkto = true
  9051.             repeat wait()
  9052.                 local success, response = pcall(function()
  9053.                     path:ComputeAsync(getRoot(speaker.Character).Position, getRoot(Players[v].Character).Position)
  9054.                     local waypoints = path:GetWaypoints()
  9055.                     local distance
  9056.                     for waypointIndex, waypoint in pairs(waypoints) do
  9057.                         local waypointPosition = waypoint.Position
  9058.                         hum:MoveTo(waypointPosition)
  9059.                         repeat
  9060.                             distance = (waypointPosition - hum.Parent.PrimaryPart.Position).magnitude
  9061.                             wait()
  9062.                         until
  9063.                         distance <= 5
  9064.                     end  
  9065.                 end)
  9066.                 if not success then
  9067.                     speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(getRoot(Players[v].Character).Position)
  9068.                 end
  9069.             until Players[v].Character == nil or not getRoot(Players[v].Character) or walkto == false
  9070.         end
  9071.     end
  9072. end)
  9073.  
  9074. addcmd('pathfindwalktowaypoint',{'pathfindwalktowp'},function(args, speaker)
  9075.     waypointwalkto = false
  9076.     wait()
  9077.     local WPName = tostring(getstring(1))
  9078.     local hum = Players.LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
  9079.     local path = PathService:CreatePath()
  9080.     if speaker.Character then
  9081.         for i,_ in pairs(WayPoints) do
  9082.             if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  9083.                 if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  9084.                     speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  9085.                     wait(.1)
  9086.                 end
  9087.                 local TrueCoords = Vector3.new(WayPoints[i].COORD[1], WayPoints[i].COORD[2], WayPoints[i].COORD[3])
  9088.                 waypointwalkto = true
  9089.                 repeat wait()
  9090.                     local success, response = pcall(function()
  9091.                         path:ComputeAsync(getRoot(speaker.Character).Position, TrueCoords)
  9092.                         local waypoints = path:GetWaypoints()
  9093.                         local distance
  9094.                         for waypointIndex, waypoint in pairs(waypoints) do
  9095.                             local waypointPosition = waypoint.Position
  9096.                             hum:MoveTo(waypointPosition)
  9097.                             repeat
  9098.                                 distance = (waypointPosition - hum.Parent.PrimaryPart.Position).magnitude
  9099.                                 wait()
  9100.                             until
  9101.                             distance <= 5
  9102.                         end
  9103.                     end)
  9104.                     if not success then
  9105.                         speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(TrueCoords)
  9106.                     end
  9107.                 until not speaker.Character or waypointwalkto == false
  9108.             end
  9109.         end
  9110.         for i,_ in pairs(pWayPoints) do
  9111.             if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  9112.                 if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  9113.                     speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  9114.                     wait(.1)
  9115.                 end
  9116.                 local TrueCoords = pWayPoints[i].COORD[1].Position
  9117.                 waypointwalkto = true
  9118.                 repeat wait()
  9119.                     local success, response = pcall(function()
  9120.                         path:ComputeAsync(getRoot(speaker.Character).Position, TrueCoords)
  9121.                         local waypoints = path:GetWaypoints()
  9122.                         local distance
  9123.                         for waypointIndex, waypoint in pairs(waypoints) do
  9124.                             local waypointPosition = waypoint.Position
  9125.                             hum:MoveTo(waypointPosition)
  9126.                             repeat
  9127.                                 distance = (waypointPosition - hum.Parent.PrimaryPart.Position).magnitude
  9128.                                 wait()
  9129.                             until
  9130.                             distance <= 5
  9131.                         end
  9132.                     end)
  9133.                     if not success then
  9134.                         speaker.Character:FindFirstChildOfClass('Humanoid'):MoveTo(TrueCoords)
  9135.                     end
  9136.                 until not speaker.Character or waypointwalkto == false
  9137.             end
  9138.         end
  9139.     end
  9140. end)
  9141.  
  9142. addcmd('unwalkto',{'nowalkto','unfollow','nofollow'},function(args, speaker)
  9143.     walkto = false
  9144.     waypointwalkto = false
  9145. end)
  9146.  
  9147. addcmd("orbit", {}, function(args, speaker)
  9148.     execCmd("unorbit nonotify")
  9149.     local target = Players:FindFirstChild(getPlayer(args[1], speaker)[1])
  9150.     local root = getRoot(speaker.Character)
  9151.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  9152.     if target and target.Character and getRoot(target.Character) and root and humanoid then
  9153.         local rotation = 0
  9154.         local speed = tonumber(args[2]) or 0.2
  9155.         local distance = tonumber(args[3]) or 6
  9156.         orbit1 = RunService.Heartbeat:Connect(function()
  9157.             pcall(function()
  9158.                 rotation = rotation + speed
  9159.                 root.CFrame = CFrame.new(getRoot(target.Character).Position) * CFrame.Angles(0, math.rad(rotation), 0) * CFrame.new(distance, 0, 0)
  9160.             end)
  9161.         end)
  9162.         orbit2 = RunService.RenderStepped:Connect(function()
  9163.             pcall(function()
  9164.                 root.CFrame = CFrame.new(root.Position, getRoot(target.Character).Position)
  9165.             end)
  9166.         end)
  9167.         orbit3 = humanoid.Died:Connect(function() execCmd("unorbit") end)
  9168.         orbit4 = humanoid.Seated:Connect(function(value) if value then execCmd("unorbit") end end)
  9169.         notify("Orbit", "Started orbiting " .. formatUsername(target))
  9170.     end
  9171. end)
  9172.  
  9173. addcmd("unorbit", {}, function(args, speaker)
  9174.     if orbit1 then orbit1:Disconnect() end
  9175.     if orbit2 then orbit2:Disconnect() end
  9176.     if orbit3 then orbit3:Disconnect() end
  9177.     if orbit4 then orbit4:Disconnect() end
  9178.     if args[1] ~= "nonotify" then notify("Orbit", "Stopped orbiting player") end
  9179. end)
  9180.  
  9181. addcmd('freeze',{'fr'},function(args, speaker)
  9182.     local players = getPlayer(args[1], speaker)
  9183.     if players ~= nil then
  9184.         for i,v in pairs(players) do
  9185.             task.spawn(function()
  9186.                 for i, x in next, Players[v].Character:GetDescendants() do
  9187.                     if x:IsA("BasePart") and not x.Anchored then
  9188.                         x.Anchored = true
  9189.                     end
  9190.                 end
  9191.             end)
  9192.         end
  9193.     end
  9194. end)
  9195.  
  9196.  
  9197. addcmd('thaw',{'unfreeze','unfr'},function(args, speaker)
  9198.     local players = getPlayer(args[1], speaker)
  9199.     if players ~= nil then
  9200.         for i,v in pairs(players) do
  9201.             task.spawn(function()
  9202.                 for i, x in next, Players[v].Character:GetDescendants() do
  9203.                     if x.Name ~= floatName and x:IsA("BasePart") and x.Anchored then
  9204.                         x.Anchored = false
  9205.                     end
  9206.                 end
  9207.             end)
  9208.         end
  9209.     end
  9210. end)
  9211.  
  9212. oofing = false
  9213. addcmd('loopoof',{},function(args, speaker)
  9214.     oofing = true
  9215.     repeat wait(0.1)
  9216.         for i,v in pairs(Players:GetPlayers()) do
  9217.             if v.Character ~= nil and v.Character:FindFirstChild'Head' then
  9218.                 for _,x in pairs(v.Character.Head:GetChildren()) do
  9219.                     if x:IsA'Sound' then x.Playing = true end
  9220.                 end
  9221.             end
  9222.         end
  9223.     until oofing == false
  9224. end)
  9225.  
  9226. addcmd('unloopoof',{},function(args, speaker)
  9227.     oofing = false
  9228. end)
  9229.  
  9230. local notifiedRespectFiltering = false
  9231. addcmd('muteboombox',{},function(args, speaker)
  9232.     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
  9233.     local players = getPlayer(args[1], speaker)
  9234.     if players ~= nil then
  9235.         for i,v in pairs(players) do
  9236.             task.spawn(function()
  9237.                 for i, x in next, Players[v].Character:GetDescendants() do
  9238.                     if x:IsA("Sound") and x.Playing == true then
  9239.                         x.Playing = false
  9240.                     end
  9241.                 end
  9242.                 for i, x in next, Players[v]:FindFirstChildOfClass("Backpack"):GetDescendants() do
  9243.                     if x:IsA("Sound") and x.Playing == true then
  9244.                         x.Playing = false
  9245.                     end
  9246.                 end
  9247.             end)
  9248.         end
  9249.     end
  9250. end)
  9251.  
  9252. addcmd('unmuteboombox',{},function(args, speaker)
  9253.     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
  9254.     local players = getPlayer(args[1], speaker)
  9255.     if players ~= nil then
  9256.         for i,v in pairs(players) do
  9257.             task.spawn(function()
  9258.                 for i, x in next, Players[v].Character:GetDescendants() do
  9259.                     if x:IsA("Sound") and x.Playing == false then
  9260.                         x.Playing = true
  9261.                     end
  9262.                 end
  9263.             end)
  9264.         end
  9265.     end
  9266. end)
  9267.  
  9268. addcmd("reset", {}, function(args, speaker)
  9269.     local humanoid = speaker.Character and speaker.Character:FindFirstChildWhichIsA("Humanoid")
  9270.     if replicatesignal then
  9271.         replicatesignal(speaker.Kill)
  9272.     elseif humanoid then
  9273.         humanoid:ChangeState(Enum.HumanoidStateType.Dead)
  9274.     else
  9275.         speaker.Character:BreakJoints()
  9276.     end
  9277. end)
  9278.  
  9279. addcmd('freezeanims',{},function(args, speaker)
  9280.     local Humanoid = speaker.Character:FindFirstChildOfClass("Humanoid") or speaker.Character:FindFirstChildOfClass("AnimationController")
  9281.     local ActiveTracks = Humanoid:GetPlayingAnimationTracks()
  9282.     for _, v in pairs(ActiveTracks) do
  9283.         v:AdjustSpeed(0)
  9284.     end
  9285. end)
  9286.  
  9287. addcmd('unfreezeanims',{},function(args, speaker)
  9288.     local Humanoid = speaker.Character:FindFirstChildOfClass("Humanoid") or speaker.Character:FindFirstChildOfClass("AnimationController")
  9289.     local ActiveTracks = Humanoid:GetPlayingAnimationTracks()
  9290.     for _, v in pairs(ActiveTracks) do
  9291.         v:AdjustSpeed(1)
  9292.     end
  9293. end)
  9294.  
  9295. addcmd("respawn", {}, function(args, speaker)
  9296.     respawn(speaker)
  9297. end)
  9298.  
  9299. addcmd("refresh", {"re"}, function(args, speaker)
  9300.     refresh(speaker)
  9301. end)
  9302.  
  9303. addcmd("god", {}, function(args, speaker)
  9304.     permadeath(speaker)
  9305.     local Cam = workspace.CurrentCamera
  9306.     local Char, Pos = speaker.Character, Cam.CFrame
  9307.     local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  9308.     local nHuman = Human:Clone()
  9309.     nHuman.Parent = char
  9310.     speaker.Character = nil
  9311.     nHuman:SetStateEnabled(15, false)
  9312.     nHuman:SetStateEnabled(1, false)
  9313.     nHuman:SetStateEnabled(0, false)
  9314.     nHuman.BreakJointsOnDeath = true
  9315.     Human:Destroy()
  9316.     speaker.Character = char
  9317.     Cam.CameraSubject = nHuman
  9318.     Cam.CFrame = task.wait() and pos
  9319.     nHuman.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
  9320.     local Script = Char:FindFirstChild("Animate")
  9321.     if Script then
  9322.         Script.Disabled = true
  9323.         task.wait()
  9324.         Script.Disabled = false
  9325.     end
  9326.     nHuman.Health = nHuman.MaxHealth
  9327. end)
  9328.  
  9329. invisRunning = false
  9330. addcmd('invisible',{'invis'},function(args, speaker)
  9331.     if invisRunning then return end
  9332.     invisRunning = true
  9333.     -- Full credit to AmokahFox @V3rmillion
  9334.     local Player = speaker
  9335.     repeat wait(.1) until Player.Character
  9336.     local Character = Player.Character
  9337.     Character.Archivable = true
  9338.     local IsInvis = false
  9339.     local IsRunning = true
  9340.     local InvisibleCharacter = Character:Clone()
  9341.     InvisibleCharacter.Parent = Lighting
  9342.     local Void = workspace.FallenPartsDestroyHeight
  9343.     InvisibleCharacter.Name = ""
  9344.     local CF
  9345.  
  9346.     local invisFix = RunService.Stepped:Connect(function()
  9347.         pcall(function()
  9348.             local IsInteger
  9349.             if tostring(Void):find'-' then
  9350.                 IsInteger = true
  9351.             else
  9352.                 IsInteger = false
  9353.             end
  9354.             local Pos = Player.Character.HumanoidRootPart.Position
  9355.             local Pos_String = tostring(Pos)
  9356.             local Pos_Seperate = Pos_String:split(', ')
  9357.             local X = tonumber(Pos_Seperate[1])
  9358.             local Y = tonumber(Pos_Seperate[2])
  9359.             local Z = tonumber(Pos_Seperate[3])
  9360.             if IsInteger == true then
  9361.                 if Y <= Void then
  9362.                     Respawn()
  9363.                 end
  9364.             elseif IsInteger == false then
  9365.                 if Y >= Void then
  9366.                     Respawn()
  9367.                 end
  9368.             end
  9369.         end)
  9370.     end)
  9371.  
  9372.     for i,v in pairs(InvisibleCharacter:GetDescendants())do
  9373.         if v:IsA("BasePart") then
  9374.             if v.Name == "HumanoidRootPart" then
  9375.                 v.Transparency = 1
  9376.             else
  9377.                 v.Transparency = .5
  9378.             end
  9379.         end
  9380.     end
  9381.  
  9382.     function Respawn()
  9383.         IsRunning = false
  9384.         if IsInvis == true then
  9385.             pcall(function()
  9386.                 Player.Character = Character
  9387.                 wait()
  9388.                 Character.Parent = workspace
  9389.                 Character:FindFirstChildWhichIsA'Humanoid':Destroy()
  9390.                 IsInvis = false
  9391.                 InvisibleCharacter.Parent = nil
  9392.                 invisRunning = false
  9393.             end)
  9394.         elseif IsInvis == false then
  9395.             pcall(function()
  9396.                 Player.Character = Character
  9397.                 wait()
  9398.                 Character.Parent = workspace
  9399.                 Character:FindFirstChildWhichIsA'Humanoid':Destroy()
  9400.                 TurnVisible()
  9401.             end)
  9402.         end
  9403.     end
  9404.  
  9405.     local invisDied
  9406.     invisDied = InvisibleCharacter:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
  9407.         Respawn()
  9408.         invisDied:Disconnect()
  9409.     end)
  9410.  
  9411.     if IsInvis == true then return end
  9412.     IsInvis = true
  9413.     CF = workspace.CurrentCamera.CFrame
  9414.     local CF_1 = Player.Character.HumanoidRootPart.CFrame
  9415.     Character:MoveTo(Vector3.new(0,math.pi*1000000,0))
  9416.     workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
  9417.     wait(.2)
  9418.     workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
  9419.     InvisibleCharacter = InvisibleCharacter
  9420.     Character.Parent = Lighting
  9421.     InvisibleCharacter.Parent = workspace
  9422.     InvisibleCharacter.HumanoidRootPart.CFrame = CF_1
  9423.     Player.Character = InvisibleCharacter
  9424.     execCmd('fixcam')
  9425.     Player.Character.Animate.Disabled = true
  9426.     Player.Character.Animate.Disabled = false
  9427.  
  9428.     function TurnVisible()
  9429.         if IsInvis == false then return end
  9430.         invisFix:Disconnect()
  9431.         invisDied:Disconnect()
  9432.         CF = workspace.CurrentCamera.CFrame
  9433.         Character = Character
  9434.         local CF_1 = Player.Character.HumanoidRootPart.CFrame
  9435.         Character.HumanoidRootPart.CFrame = CF_1
  9436.         InvisibleCharacter:Destroy()
  9437.         Player.Character = Character
  9438.         Character.Parent = workspace
  9439.         IsInvis = false
  9440.         Player.Character.Animate.Disabled = true
  9441.         Player.Character.Animate.Disabled = false
  9442.         invisDied = Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
  9443.             Respawn()
  9444.             invisDied:Disconnect()
  9445.         end)
  9446.         invisRunning = false
  9447.     end
  9448.     notify('Invisible','You now appear invisible to other players')
  9449. end)
  9450.  
  9451. addcmd("visible", {"vis","uninvisible"}, function(args, speaker)
  9452.     TurnVisible()
  9453. end)
  9454.  
  9455. addcmd("toggleinvis", {}, function(args, speaker)
  9456.     execCmd(invisRunning and "visible" or "invisible")
  9457. end)
  9458.  
  9459. addcmd('toolinvisible',{'toolinvis','tinvis'},function(args, speaker)
  9460.     local Char  = Players.LocalPlayer.Character
  9461.     local touched = false
  9462.     local tpdback = false
  9463.     local box = Instance.new('Part')
  9464.     box.Anchored = true
  9465.     box.CanCollide = true
  9466.     box.Size = Vector3.new(10,1,10)
  9467.     box.Position = Vector3.new(0,10000,0)
  9468.     box.Parent = workspace
  9469.     local boxTouched = box.Touched:connect(function(part)
  9470.         if (part.Parent.Name == Players.LocalPlayer.Name) then
  9471.             if touched == false then
  9472.                 touched = true
  9473.                 local function apply()
  9474.                     local no = Char.HumanoidRootPart:Clone()
  9475.                     wait(.25)
  9476.                     Char.HumanoidRootPart:Destroy()
  9477.                     no.Parent = Char
  9478.                     Char:MoveTo(loc)
  9479.                     touched = false
  9480.                 end
  9481.                 if Char then
  9482.                     apply()
  9483.                 end
  9484.             end
  9485.         end
  9486.     end)
  9487.     repeat wait() until Char
  9488.     local cleanUp
  9489.     cleanUp = Players.LocalPlayer.CharacterAdded:connect(function(char)
  9490.         boxTouched:Disconnect()
  9491.         box:Destroy()
  9492.         cleanUp:Disconnect()
  9493.     end)
  9494.     loc = Char.HumanoidRootPart.Position
  9495.     Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  9496. end)
  9497.  
  9498. addcmd("strengthen", {}, function(args, speaker)
  9499.     for _, child in pairs(speaker.Character:GetDescendants()) do
  9500.         if child.ClassName == "Part" then
  9501.             if args[1] then
  9502.                 child.CustomPhysicalProperties = PhysicalProperties.new(args[1], 0.3, 0.5)
  9503.             else
  9504.                 child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5)
  9505.             end
  9506.         end
  9507.     end
  9508. end)
  9509.  
  9510. addcmd("weaken", {}, function(args, speaker)
  9511.     for _, child in pairs(speaker.Character:GetDescendants()) do
  9512.         if child.ClassName == "Part" then
  9513.             if args[1] then
  9514.                 child.CustomPhysicalProperties = PhysicalProperties.new(-args[1], 0.3, 0.5)
  9515.             else
  9516.                 child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5)
  9517.             end
  9518.         end
  9519.     end
  9520. end)
  9521.  
  9522. addcmd("unweaken", {"unstrengthen"}, function(args, speaker)
  9523.     for _, child in pairs(speaker.Character:GetDescendants()) do
  9524.         if child.ClassName == "Part" then
  9525.             child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
  9526.         end
  9527.     end
  9528. end)
  9529.  
  9530. addcmd("breakvelocity", {}, function(args, speaker)
  9531.     local BeenASecond, V3 = false, Vector3.new(0, 0, 0)
  9532.     delay(1, function()
  9533.         BeenASecond = true
  9534.     end)
  9535.     while not BeenASecond do
  9536.         for _, v in ipairs(speaker.Character:GetDescendants()) do
  9537.             if v:IsA("BasePart") then
  9538.                 v.Velocity, v.RotVelocity = V3, V3
  9539.             end
  9540.         end
  9541.         wait()
  9542.     end
  9543. end)
  9544.  
  9545. addcmd('jpower',{'jumppower','jp'},function(args, speaker)
  9546.     local jpower = args[1] or 50
  9547.     if isNumber(jpower) then
  9548.         if speaker.Character:FindFirstChildOfClass('Humanoid').UseJumpPower then
  9549.             speaker.Character:FindFirstChildOfClass('Humanoid').JumpPower = jpower
  9550.         else
  9551.             speaker.Character:FindFirstChildOfClass('Humanoid').JumpHeight  = jpower
  9552.         end
  9553.     end
  9554. end)
  9555.  
  9556. addcmd("maxslopeangle", {"msa"}, function(args, speaker)
  9557.     local sangle = args[1] or 89
  9558.     if isNumber(sangle) then
  9559.         speaker.Character:FindFirstChildWhichIsA("Humanoid").MaxSlopeAngle = sangle
  9560.     end
  9561. end)
  9562.  
  9563. addcmd("gravity", {"grav"}, function(args, speaker)
  9564.     local grav = args[1] or 196.2
  9565.     if isNumber(grav) then
  9566.         workspace.Gravity = grav
  9567.     end
  9568. end)
  9569.  
  9570. addcmd("hipheight", {"hheight"}, function(args, speaker)
  9571.     local hipHeight = args[1] or (r15(speaker) and 2.1 or 0)
  9572.     if isNumber(hipHeight) then
  9573.         speaker.Character:FindFirstChildWhichIsA("Humanoid").HipHeight = hipHeight
  9574.     end
  9575. end)
  9576.  
  9577. addcmd("dance", {}, function(args, speaker)
  9578.     pcall(execCmd, "undance")
  9579.     local dances = {"27789359", "30196114", "248263260", "45834924", "33796059", "28488254", "52155728"}
  9580.     if r15(speaker) then
  9581.         dances = {"3333432454", "4555808220", "4049037604", "4555782893", "10214311282", "10714010337", "10713981723", "10714372526", "10714076981", "10714392151", "11444443576"}
  9582.     end
  9583.     local animation = Instance.new("Animation")
  9584.     animation.AnimationId = "rbxassetid://" .. dances[math.random(1, #dances)]
  9585.     danceTrack = speaker.Character:FindFirstChildWhichIsA("Humanoid"):LoadAnimation(animation)
  9586.     danceTrack.Looped = true
  9587.     danceTrack:Play()
  9588. end)
  9589.  
  9590. addcmd("undance", {"nodance"}, function(args, speaker)
  9591.     danceTrack:Stop()
  9592.     danceTrack:Destroy()
  9593. end)
  9594.  
  9595. addcmd('nolimbs',{'rlimbs'},function(args, speaker)
  9596.     if r15(speaker) then
  9597.         for i,v in pairs(speaker.Character:GetChildren()) do
  9598.             if v:IsA("BasePart") and
  9599.                 v.Name == "RightUpperLeg" or
  9600.                 v.Name == "LeftUpperLeg" or
  9601.                 v.Name == "RightUpperArm" or
  9602.                 v.Name == "LeftUpperArm" then
  9603.                 v:Destroy()
  9604.             end
  9605.         end
  9606.     else
  9607.         for i,v in pairs(speaker.Character:GetChildren()) do
  9608.             if v:IsA("BasePart") and
  9609.                 v.Name == "Right Leg" or
  9610.                 v.Name == "Left Leg" or
  9611.                 v.Name == "Right Arm" or
  9612.                 v.Name == "Left Arm" then
  9613.                 v:Destroy()
  9614.             end
  9615.         end
  9616.     end
  9617. end)
  9618.  
  9619. addcmd('noarms',{'rarms'},function(args, speaker)
  9620.     if r15(speaker) then
  9621.         for i,v in pairs(speaker.Character:GetChildren()) do
  9622.             if v:IsA("BasePart") and
  9623.                 v.Name == "RightUpperArm" or
  9624.                 v.Name == "LeftUpperArm" then
  9625.                 v:Destroy()
  9626.             end
  9627.         end
  9628.     else
  9629.         for i,v in pairs(speaker.Character:GetChildren()) do
  9630.             if v:IsA("BasePart") and
  9631.                 v.Name == "Right Arm" or
  9632.                 v.Name == "Left Arm" then
  9633.                 v:Destroy()
  9634.             end
  9635.         end
  9636.     end
  9637. end)
  9638.  
  9639. addcmd('nolegs',{'rlegs'},function(args, speaker)
  9640.     if r15(speaker) then
  9641.         for i,v in pairs(speaker.Character:GetChildren()) do
  9642.             if v:IsA("BasePart") and
  9643.                 v.Name == "RightUpperLeg" or
  9644.                 v.Name == "LeftUpperLeg" then
  9645.                 v:Destroy()
  9646.             end
  9647.         end
  9648.     else
  9649.         for i,v in pairs(speaker.Character:GetChildren()) do
  9650.             if v:IsA("BasePart") and
  9651.                 v.Name == "Right Leg" or
  9652.                 v.Name == "Left Leg" then
  9653.                 v:Destroy()
  9654.             end
  9655.         end
  9656.     end
  9657. end)
  9658.  
  9659. addcmd("sit", {}, function(args, speaker)
  9660.     speaker.Character:FindFirstChildWhichIsA("Humanoid").Sit = true
  9661. end)
  9662.  
  9663. addcmd("lay", {"laydown"}, function(args, speaker)
  9664.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  9665.     humanoid.Sit = true
  9666.     task.wait(0.1)
  9667.     humanoid.RootPart.CFrame = humanoid.RootPart.CFrame * CFrame.Angles(math.pi * 0.5, 0, 0)
  9668.     for _, v in ipairs(humanoid:GetPlayingAnimationTracks()) do
  9669.         v:Stop()
  9670.     end
  9671. end)
  9672.  
  9673. addcmd("sitwalk", {}, function(args, speaker)
  9674.     local anims = speaker.Character.Animate
  9675.     local sit = anims.sit:FindFirstChildWhichIsA("Animation").AnimationId
  9676.     anims.idle:FindFirstChildWhichIsA("Animation").AnimationId = sit
  9677.     anims.walk:FindFirstChildWhichIsA("Animation").AnimationId = sit
  9678.     anims.run:FindFirstChildWhichIsA("Animation").AnimationId = sit
  9679.     anims.jump:FindFirstChildWhichIsA("Animation").AnimationId = sit
  9680.     speaker.Character:FindFirstChildWhichIsA("Humanoid").HipHeight = not r15(speaker) and -1.5 or 0.5
  9681. end)
  9682.  
  9683. addcmd("nosit", {}, function(args, speaker)
  9684.     speaker.Character:FindFirstChildWhichIsA("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Seated, false)
  9685. end)
  9686.  
  9687. addcmd("unnosit", {}, function(args, speaker)
  9688.     speaker.Character:FindFirstChildWhichIsA("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Seated, true)
  9689. end)
  9690.  
  9691. addcmd("jump", {}, function(args, speaker)
  9692.     speaker.Character:FindFirstChildWhichIsA("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping)
  9693. end)
  9694.  
  9695. local infJump
  9696. infJumpDebounce = false
  9697. addcmd("infjump", {"infinitejump"}, function(args, speaker)
  9698.     if infJump then infJump:Disconnect() end
  9699.     infJumpDebounce = false
  9700.     infJump = UserInputService.JumpRequest:Connect(function()
  9701.         if not infJumpDebounce then
  9702.             infJumpDebounce = true
  9703.             speaker.Character:FindFirstChildWhichIsA("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping)
  9704.             wait()
  9705.             infJumpDebounce = false
  9706.         end
  9707.     end)
  9708. end)
  9709.  
  9710. addcmd("uninfjump", {"uninfinitejump", "noinfjump", "noinfinitejump"}, function(args, speaker)
  9711.     if infJump then infJump:Disconnect() end
  9712.     infJumpDebounce = false
  9713. end)
  9714.  
  9715. local flyjump
  9716. addcmd("flyjump", {}, function(args, speaker)
  9717.     if flyjump then flyjump:Disconnect() end
  9718.     flyjump = UserInputService.JumpRequest:Connect(function()
  9719.         speaker.Character:FindFirstChildWhichIsA("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping)
  9720.     end)
  9721. end)
  9722.  
  9723. addcmd("unflyjump", {"noflyjump"}, function(args, speaker)
  9724.     if flyjump then flyjump:Disconnect() end
  9725. end)
  9726.  
  9727. local HumanModCons = {}
  9728. addcmd('autojump',{'ajump'},function(args, speaker)
  9729.     local Char = speaker.Character
  9730.     local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  9731.     local function autoJump()
  9732.         if Char and Human then
  9733.             local check1 = workspace:FindPartOnRay(Ray.new(Human.RootPart.Position-Vector3.new(0,1.5,0), Human.RootPart.CFrame.lookVector*3), Human.Parent)
  9734.             local check2 = workspace:FindPartOnRay(Ray.new(Human.RootPart.Position+Vector3.new(0,1.5,0), Human.RootPart.CFrame.lookVector*3), Human.Parent)
  9735.             if check1 or check2 then
  9736.                 Human.Jump = true
  9737.             end
  9738.         end
  9739.     end
  9740.     autoJump()
  9741.     HumanModCons.ajLoop = (HumanModCons.ajLoop and HumanModCons.ajLoop:Disconnect() and false) or RunService.RenderStepped:Connect(autoJump)
  9742.     HumanModCons.ajCA = (HumanModCons.ajCA and HumanModCons.ajCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
  9743.         Char, Human = nChar, nChar:WaitForChild("Humanoid")
  9744.         autoJump()
  9745.         HumanModCons.ajLoop = (HumanModCons.ajLoop and HumanModCons.ajLoop:Disconnect() and false) or RunService.RenderStepped:Connect(autoJump)
  9746.     end)
  9747. end)
  9748.  
  9749. addcmd('unautojump',{'noautojump', 'noajump', 'unajump'},function(args, speaker)
  9750.     HumanModCons.ajLoop = (HumanModCons.ajLoop and HumanModCons.ajLoop:Disconnect() and false) or nil
  9751.     HumanModCons.ajCA = (HumanModCons.ajCA and HumanModCons.ajCA:Disconnect() and false) or nil
  9752. end)
  9753.  
  9754. addcmd('edgejump',{'ejump'},function(args, speaker)
  9755.     local Char = speaker.Character
  9756.     local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  9757.     -- Full credit to NoelGamer06 @V3rmillion
  9758.     local state
  9759.     local laststate
  9760.     local lastcf
  9761.     local function edgejump()
  9762.         if Char and Human then
  9763.             laststate = state
  9764.             state = Human:GetState()
  9765.             if laststate ~= state and state == Enum.HumanoidStateType.Freefall and laststate ~= Enum.HumanoidStateType.Jumping then
  9766.                 Char.HumanoidRootPart.CFrame = lastcf
  9767.                 Char.HumanoidRootPart.Velocity = Vector3.new(Char.HumanoidRootPart.Velocity.X, Human.JumpPower or Human.JumpHeight, Char.HumanoidRootPart.Velocity.Z)
  9768.             end
  9769.             lastcf = Char.HumanoidRootPart.CFrame
  9770.         end
  9771.     end
  9772.     edgejump()
  9773.     HumanModCons.ejLoop = (HumanModCons.ejLoop and HumanModCons.ejLoop:Disconnect() and false) or RunService.RenderStepped:Connect(edgejump)
  9774.     HumanModCons.ejCA = (HumanModCons.ejCA and HumanModCons.ejCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
  9775.         Char, Human = nChar, nChar:WaitForChild("Humanoid")
  9776.         edgejump()
  9777.         HumanModCons.ejLoop = (HumanModCons.ejLoop and HumanModCons.ejLoop:Disconnect() and false) or RunService.RenderStepped:Connect(edgejump)
  9778.     end)
  9779. end)
  9780.  
  9781. addcmd('unedgejump',{'noedgejump', 'noejump', 'unejump'},function(args, speaker)
  9782.     HumanModCons.ejLoop = (HumanModCons.ejLoop and HumanModCons.ejLoop:Disconnect() and false) or nil
  9783.     HumanModCons.ejCA = (HumanModCons.ejCA and HumanModCons.ejCA:Disconnect() and false) or nil
  9784. end)
  9785.  
  9786. addcmd("team", {}, function(args, speaker)
  9787.     local teamName = getstring(1)
  9788.     local team = nil
  9789.     local root = speaker.Character and getRoot(speaker.Character)
  9790.     for _, v in ipairs(Teams:GetChildren()) do
  9791.         if v.Name:lower():match(teamName:lower()) then
  9792.             team = v
  9793.             break
  9794.         end
  9795.     end
  9796.     if not team then
  9797.         return notify("Invalid Team", teamName .. " is not a valid team")
  9798.     end
  9799.     if root and firetouchinterest then
  9800.         for _, v in ipairs(workspace:GetDescendants()) do
  9801.             if v:IsA("SpawnLocation") and v.BrickColor == team.TeamColor and v.AllowTeamChangeOnTouch == true then
  9802.                 firetouchinterest(v, root, 0)
  9803.                 firetouchinterest(v, root, 1)
  9804.                 break
  9805.             end
  9806.         end
  9807.     else
  9808.         speaker.Team = team
  9809.     end
  9810. end)
  9811.  
  9812. addcmd('nobgui',{'unbgui','nobillboardgui','unbillboardgui','noname','rohg'},function(args, speaker)
  9813.     for i,v in pairs(speaker.Character:GetDescendants())do
  9814.         if v:IsA("BillboardGui") or v:IsA("SurfaceGui") then
  9815.             v:Destroy()
  9816.         end
  9817.     end
  9818. end)
  9819.  
  9820. addcmd('loopnobgui',{'loopunbgui','loopnobillboardgui','loopunbillboardgui','loopnoname','looprohg'},function(args, speaker)
  9821.     for i,v in pairs(speaker.Character:GetDescendants())do
  9822.         if v:IsA("BillboardGui") or v:IsA("SurfaceGui") then
  9823.             v:Destroy()
  9824.         end
  9825.     end
  9826.     local function charPartAdded(part)
  9827.         if part:IsA("BillboardGui") or part:IsA("SurfaceGui") then
  9828.             wait()
  9829.             part:Destroy()
  9830.         end
  9831.     end
  9832.     charPartTrigger = speaker.Character.DescendantAdded:Connect(charPartAdded)
  9833. end)
  9834.  
  9835. addcmd('unloopnobgui',{'unloopunbgui','unloopnobillboardgui','unloopunbillboardgui','unloopnoname','unlooprohg'},function(args, speaker)
  9836.     if charPartTrigger then
  9837.         charPartTrigger:Disconnect()
  9838.     end
  9839. end)
  9840.  
  9841. addcmd('spasm',{},function(args, speaker)
  9842.     if not r15(speaker) then
  9843.         local pchar=speaker.Character
  9844.         local AnimationId = "33796059"
  9845.         SpasmAnim = Instance.new("Animation")
  9846.         SpasmAnim.AnimationId = "rbxassetid://"..AnimationId
  9847.         Spasm = pchar:FindFirstChildOfClass('Humanoid'):LoadAnimation(SpasmAnim)
  9848.         Spasm:Play()
  9849.         Spasm:AdjustSpeed(99)
  9850.     else
  9851.         notify('R6 Required','This command requires the r6 rig type')
  9852.     end
  9853. end)
  9854.  
  9855. addcmd('unspasm',{'nospasm'},function(args, speaker)
  9856.     Spasm:Stop()
  9857.     SpasmAnim:Destroy()
  9858. end)
  9859.  
  9860. addcmd('headthrow',{},function(args, speaker)
  9861.     if not r15(speaker) then
  9862.         local AnimationId = "35154961"
  9863.         local Anim = Instance.new("Animation")
  9864.         Anim.AnimationId = "rbxassetid://"..AnimationId
  9865.         local k = speaker.Character:FindFirstChildOfClass('Humanoid'):LoadAnimation(Anim)
  9866.         k:Play(0)
  9867.         k:AdjustSpeed(1)
  9868.     else
  9869.         notify('R6 Required','This command requires the r6 rig type')
  9870.     end
  9871. end)
  9872.  
  9873. addcmd("animation", {"anim"}, function(args, speaker)
  9874.     local animation = Instance.new("Animation")
  9875.     animation.AnimationId = "rbxassetid://" .. tostring(args[1])
  9876.     local anim = speaker.Character:FindFirstChildWhichIsA("Humanoid"):LoadAnimation(animation)
  9877.     anim:Play()
  9878.     if args[2] then anim:AdjustSpeed(tostring(args[2])) end
  9879. end)
  9880.  
  9881. addcmd('noanim',{},function(args, speaker)
  9882.     speaker.Character.Animate.Disabled = true
  9883. end)
  9884.  
  9885. addcmd('reanim',{},function(args, speaker)
  9886.     speaker.Character.Animate.Disabled = false
  9887. end)
  9888.  
  9889. addcmd('animspeed',{},function(args, speaker)
  9890.     local Char = speaker.Character
  9891.     local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
  9892.  
  9893.     for i,v in next, Hum:GetPlayingAnimationTracks() do
  9894.         v:AdjustSpeed(tonumber(args[1] or 1))
  9895.     end
  9896. end)
  9897.  
  9898. addcmd('copyanimation',{'copyanim','copyemote'},function(args, speaker)
  9899.     local players = getPlayer(args[1], speaker)
  9900.     for _,v in ipairs(players)do
  9901.         local char = Players[v].Character
  9902.         for _, v1 in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetPlayingAnimationTracks()) do
  9903.             v1:Stop()
  9904.         end
  9905.         for _, v1 in pairs(Players[v].Character:FindFirstChildOfClass('Humanoid'):GetPlayingAnimationTracks()) do
  9906.             if not string.find(v1.Animation.AnimationId, "507768375") then
  9907.                 local ANIM = speaker.Character:FindFirstChildOfClass('Humanoid'):LoadAnimation(v1.Animation)
  9908.                 ANIM:Play(.1, 1, v1.Speed)
  9909.                 ANIM.TimePosition = v1.TimePosition
  9910.                 task.spawn(function()
  9911.                     v1.Stopped:Wait()
  9912.                     ANIM:Stop()
  9913.                     ANIM:Destroy()
  9914.                 end)
  9915.             end
  9916.         end
  9917.     end
  9918. end)
  9919.  
  9920. addcmd("copyanimationid", {"copyanimid", "copyemoteid"}, function(args, speaker)
  9921.     local copyAnimId = function(player)
  9922.         local found = "Animations Copied"
  9923.  
  9924.         for _, v in pairs(player.Character:FindFirstChildWhichIsA("Humanoid"):GetPlayingAnimationTracks()) do
  9925.             local animationId = v.Animation.AnimationId
  9926.             local assetId = animationId:find("rbxassetid://") and animationId:match("%d+")
  9927.  
  9928.             if not string.find(animationId, "507768375") and not string.find(animationId, "180435571") then
  9929.                 if assetId then
  9930.                     local success, result = pcall(function()
  9931.                         return MarketplaceService:GetProductInfo(tonumber(assetId)).Name
  9932.                     end)
  9933.                     local name = success and result or "Failed to get name"
  9934.                     found = found .. "\n\nName: " .. name .. "\nAnimation Id: " .. animationId
  9935.                 else
  9936.                     found = found .. "\n\nAnimation Id: " .. animationId
  9937.                 end
  9938.             end
  9939.         end
  9940.  
  9941.         if found ~= "Animations Copied" then
  9942.             toClipboard(found)
  9943.         else
  9944.             notify("Animations", "No animations to copy")
  9945.         end
  9946.     end
  9947.  
  9948.     if args[1] then
  9949.         copyAnimId(Players[getPlayer(args[1], speaker)[1]])
  9950.     else
  9951.         copyAnimId(speaker)
  9952.     end
  9953. end)
  9954.  
  9955. addcmd('stopanimations',{'stopanims','stopanim'},function(args, speaker)
  9956.     local Char = speaker.Character
  9957.     local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
  9958.  
  9959.     for i,v in next, Hum:GetPlayingAnimationTracks() do
  9960.         v:Stop()
  9961.     end
  9962. end)
  9963.  
  9964. addcmd('refreshanimations', {'refreshanimation', 'refreshanims', 'refreshanim'}, function(args, speaker)
  9965.     local Char = speaker.Character or speaker.CharacterAdded:Wait()
  9966.     local Human = Char and Char:WaitForChild('Humanoid', 15)
  9967.     local Animate = Char and Char:WaitForChild('Animate', 15)
  9968.     if not Human or not Animate then
  9969.         return notify('Refresh Animations', 'Failed to get Animate/Humanoid')
  9970.     end
  9971.     Animate.Disabled = true
  9972.     for _, v in ipairs(Human:GetPlayingAnimationTracks()) do
  9973.         v:Stop()
  9974.     end
  9975.     Animate.Disabled = false
  9976. end)
  9977.  
  9978. addcmd('allowcustomanim', {'allowcustomanimations'}, function(args, speaker)
  9979.     StarterPlayer.AllowCustomAnimations = true
  9980.     execCmd('refreshanimations')
  9981. end)
  9982.  
  9983. addcmd('unallowcustomanim', {'unallowcustomanimations'}, function(args, speaker)
  9984.     StarterPlayer.AllowCustomAnimations = false
  9985.     execCmd('refreshanimations')
  9986. end)
  9987.  
  9988. addcmd('loopanimation', {'loopanim'},function(args, speaker)
  9989.     local Char = speaker.Character
  9990.     local Human = Char and Char.FindFirstChildWhichIsA(Char, "Humanoid")
  9991.     for _, v in ipairs(Human.GetPlayingAnimationTracks(Human)) do
  9992.         v.Looped = true
  9993.     end
  9994. end)
  9995.  
  9996. addcmd('tpposition',{'tppos'},function(args, speaker)
  9997.     if #args < 3 then return end
  9998.     local tpX,tpY,tpZ = tonumber((args[1]:gsub(",", ""))),tonumber((args[2]:gsub(",", ""))),tonumber((args[3]:gsub(",", "")))
  9999.     local char = speaker.Character
  10000.     if char and getRoot(char) then
  10001.         getRoot(char).CFrame = CFrame.new(tpX,tpY,tpZ)
  10002.     end
  10003. end)
  10004.  
  10005. addcmd('tweentpposition',{'ttppos'},function(args, speaker)
  10006.     if #args < 3 then return end
  10007.     local tpX,tpY,tpZ = tonumber((args[1]:gsub(",", ""))),tonumber((args[2]:gsub(",", ""))),tonumber((args[3]:gsub(",", "")))
  10008.     local char = speaker.Character
  10009.     if char and getRoot(char) then
  10010.         TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(tpX,tpY,tpZ)}):Play()
  10011.     end
  10012. end)
  10013.  
  10014. addcmd('offset',{},function(args, speaker)
  10015.     if #args < 3 then
  10016.         return
  10017.     end
  10018.     if speaker.Character then
  10019.         speaker.Character:TranslateBy(Vector3.new(tonumber(args[1]) or 0, tonumber(args[2]) or 0, tonumber(args[3]) or 0))
  10020.     end
  10021. end)
  10022.  
  10023. addcmd('tweenoffset',{'toffset'},function(args, speaker)
  10024.     if #args < 3 then return end
  10025.     local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
  10026.     local char = speaker.Character
  10027.     if char and getRoot(char) then
  10028.         TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = CFrame.new(tpX,tpY,tpZ)}):Play()
  10029.     end
  10030. end)
  10031.  
  10032. addcmd('clickteleport',{},function(args, speaker)
  10033.     if speaker == Players.LocalPlayer then
  10034.         notify('Click TP','Go to Settings > Keybinds > Add to set up click teleport')
  10035.     end
  10036. end)
  10037.  
  10038. addcmd("mouseteleport", {"mousetp"}, function(args, speaker)
  10039.     local root = getRoot(speaker.Character)
  10040.     local pos = IYMouse.Hit
  10041.     if root and pos then
  10042.         root.CFrame = CFrame.new(pos.X, pos.Y + 3, pos.Z, select(4, root.CFrame:components()))
  10043.     end
  10044. end)
  10045.  
  10046. addcmd('tptool', {'teleporttool'}, function(args, speaker)
  10047.     local TpTool = Instance.new("Tool")
  10048.     TpTool.Name = "Teleport Tool"
  10049.     TpTool.RequiresHandle = false
  10050.     TpTool.Parent = speaker.Backpack
  10051.     TpTool.Activated:Connect(function()
  10052.         local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
  10053.         local HRP = Char and Char:FindFirstChild("HumanoidRootPart")
  10054.         if not Char or not HRP then
  10055.             return warn("Failed to find HumanoidRootPart")
  10056.         end
  10057.         HRP.CFrame = CFrame.new(IYMouse.Hit.X, IYMouse.Hit.Y + 3, IYMouse.Hit.Z, select(4, HRP.CFrame:components()))
  10058.     end)
  10059. end)
  10060.  
  10061. addcmd('clickdelete',{},function(args, speaker)
  10062.     if speaker == Players.LocalPlayer then
  10063.         notify('Click Delete','Go to Settings > Keybinds > Add to set up click delete')
  10064.     end
  10065. end)
  10066.  
  10067. addcmd('getposition',{'getpos','notifypos','notifyposition'},function(args, speaker)
  10068.     local players = getPlayer(args[1], speaker)
  10069.     for i,v in pairs(players)do
  10070.         local char = Players[v].Character
  10071.         local pos = char and (getRoot(char) or char:FindFirstChildWhichIsA("BasePart"))
  10072.         pos = pos and pos.Position
  10073.         if not pos then
  10074.             return notify('Getposition Error','Missing character')
  10075.         end
  10076.         local roundedPos = math.round(pos.X) .. ", " .. math.round(pos.Y) .. ", " .. math.round(pos.Z)
  10077.         notify('Current Position',roundedPos)
  10078.     end
  10079. end)
  10080.  
  10081. addcmd('copyposition',{'copypos'},function(args, speaker)
  10082.     local players = getPlayer(args[1], speaker)
  10083.     for i,v in pairs(players)do
  10084.         local char = Players[v].Character
  10085.         local pos = char and (getRoot(char) or char:FindFirstChildWhichIsA("BasePart"))
  10086.         pos = pos and pos.Position
  10087.         if not pos then
  10088.             return notify('Getposition Error','Missing character')
  10089.         end
  10090.         local roundedPos = math.round(pos.X) .. ", " .. math.round(pos.Y) .. ", " .. math.round(pos.Z)
  10091.         toClipboard(roundedPos)
  10092.     end
  10093. end)
  10094.  
  10095. addcmd('walktopos',{'walktoposition'},function(args, speaker)
  10096.     if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10097.         speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10098.         wait(.1)
  10099.     end
  10100.     speaker.Character:FindFirstChildOfClass('Humanoid').WalkToPoint = Vector3.new(args[1],args[2],args[3])
  10101. end)
  10102.  
  10103. addcmd('speed',{'ws','walkspeed'},function(args, speaker)
  10104.     if args[2] then
  10105.         local speed = args[2] or 16
  10106.         if isNumber(speed) then
  10107.             speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
  10108.         end
  10109.     else
  10110.         local speed = args[1] or 16
  10111.         if isNumber(speed) then
  10112.             speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
  10113.         end
  10114.     end
  10115. end)
  10116.  
  10117. addcmd('spoofspeed',{'spoofws','spoofwalkspeed'},function(args, speaker)
  10118.     if args[1] and isNumber(args[1]) then
  10119.         if hookmetamethod then
  10120.             local char = speaker.Character
  10121.             local setspeed;
  10122.             local index; index = hookmetamethod(game, "__index", function(self, key)
  10123.                 if not checkcaller() and typeof(self) == "Instance" and self:IsA("Humanoid") and (key == "WalkSpeed" or key == "walkSpeed") and self:IsDescendantOf(char) then
  10124.                     return setspeed or args[1]
  10125.                 end
  10126.                 return index(self, key)
  10127.             end)
  10128.             local newindex; newindex = hookmetamethod(game, "__newindex", function(self, key, value)
  10129.                 if not checkcaller() and typeof(self) == "Instance" and self:IsA("Humanoid") and (key == "WalkSpeed" or key == "walkSpeed") and self:IsDescendantOf(char) then
  10130.                     setspeed = tonumber(value)
  10131.                 end
  10132.                 return newindex(self, key, value)
  10133.             end)
  10134.         else
  10135.             notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)')
  10136.         end
  10137.     end
  10138. end)
  10139.  
  10140. addcmd('loopspeed',{'loopws'},function(args, speaker)
  10141.     local speed = args[1] or 16
  10142.     if args[2] then
  10143.         speed = args[2] or 16
  10144.     end
  10145.     if isNumber(speed) then
  10146.         local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
  10147.         local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  10148.         local function WalkSpeedChange()
  10149.             if Char and Human then
  10150.                 Human.WalkSpeed = speed
  10151.             end
  10152.         end
  10153.         WalkSpeedChange()
  10154.         HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("WalkSpeed"):Connect(WalkSpeedChange)
  10155.         HumanModCons.wsCA = (HumanModCons.wsCA and HumanModCons.wsCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
  10156.             Char, Human = nChar, nChar:WaitForChild("Humanoid")
  10157.             WalkSpeedChange()
  10158.             HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("WalkSpeed"):Connect(WalkSpeedChange)
  10159.         end)
  10160.     end
  10161. end)
  10162.  
  10163. addcmd('unloopspeed',{'unloopws'},function(args, speaker)
  10164.     HumanModCons.wsLoop = (HumanModCons.wsLoop and HumanModCons.wsLoop:Disconnect() and false) or nil
  10165.     HumanModCons.wsCA = (HumanModCons.wsCA and HumanModCons.wsCA:Disconnect() and false) or nil
  10166. end)
  10167.  
  10168. addcmd('spoofjumppower',{'spoofjp'},function(args, speaker)
  10169.     if args[1] and isNumber(args[1]) then
  10170.         if hookmetamethod then
  10171.             local char = speaker.Character
  10172.             local setpower;
  10173.             local index; index = hookmetamethod(game, "__index", function(self, key)
  10174.                 if not checkcaller() and typeof(self) == "Instance" and self:IsA("Humanoid") and (key == "JumpPower" or key == "jumpPower") and self:IsDescendantOf(char) then
  10175.                     return setpower or args[1]
  10176.                 end
  10177.                 return index(self, key)
  10178.             end)
  10179.             local newindex; newindex = hookmetamethod(game, "__newindex", function(self, key, value)
  10180.                 if not checkcaller() and typeof(self) == "Instance" and self:IsA("Humanoid") and (key == "JumpPower" or key == "jumpPower") and self:IsDescendantOf(char) then
  10181.                     setpower = tonumber(value)
  10182.                 end
  10183.                 return newindex(self, key, value)
  10184.             end)
  10185.         else
  10186.             notify('Incompatible Exploit','Your exploit does not support this command (missing hookmetamethod)')
  10187.         end
  10188.     end
  10189. end)
  10190.  
  10191. addcmd('loopjumppower',{'loopjp','loopjpower'},function(args, speaker)
  10192.     local jpower = args[1] or 50
  10193.     if isNumber(jpower) then
  10194.         local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
  10195.         local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  10196.         local function JumpPowerChange()
  10197.             if Char and Human then
  10198.                 if speaker.Character:FindFirstChildOfClass('Humanoid').UseJumpPower then
  10199.                     speaker.Character:FindFirstChildOfClass('Humanoid').JumpPower = jpower
  10200.                 else
  10201.                     speaker.Character:FindFirstChildOfClass('Humanoid').JumpHeight  = jpower
  10202.                 end
  10203.             end
  10204.         end
  10205.         JumpPowerChange()
  10206.         HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("JumpPower"):Connect(JumpPowerChange)
  10207.         HumanModCons.jpCA = (HumanModCons.jpCA and HumanModCons.jpCA:Disconnect() and false) or speaker.CharacterAdded:Connect(function(nChar)
  10208.             Char, Human = nChar, nChar:WaitForChild("Humanoid")
  10209.             JumpPowerChange()
  10210.             HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or Human:GetPropertyChangedSignal("JumpPower"):Connect(JumpPowerChange)
  10211.         end)
  10212.     end
  10213. end)
  10214.  
  10215. addcmd('unloopjumppower',{'unloopjp','unloopjpower'},function(args, speaker)
  10216.     local Char = speaker.Character or workspace:FindFirstChild(speaker.Name)
  10217.     local Human = Char and Char:FindFirstChildWhichIsA("Humanoid")
  10218.     HumanModCons.jpLoop = (HumanModCons.jpLoop and HumanModCons.jpLoop:Disconnect() and false) or nil
  10219.     HumanModCons.jpCA = (HumanModCons.jpCA and HumanModCons.jpCA:Disconnect() and false) or nil
  10220.     if Char and Human then
  10221.         if speaker.Character:FindFirstChildOfClass('Humanoid').UseJumpPower then
  10222.             speaker.Character:FindFirstChildOfClass('Humanoid').JumpPower = 50
  10223.         else
  10224.             speaker.Character:FindFirstChildOfClass('Humanoid').JumpHeight  = 50
  10225.         end
  10226.     end
  10227. end)
  10228.  
  10229. addcmd('tools',{'gears'},function(args, speaker)
  10230.     local function copy(instance)
  10231.         for i,c in pairs(instance:GetChildren())do
  10232.             if c:IsA('Tool') or c:IsA('HopperBin') then
  10233.                 c:Clone().Parent = speaker:FindFirstChildOfClass("Backpack")
  10234.             end
  10235.             copy(c)
  10236.         end
  10237.     end
  10238.     copy(Lighting)
  10239.     local function copy(instance)
  10240.         for i,c in pairs(instance:GetChildren())do
  10241.             if c:IsA('Tool') or c:IsA('HopperBin') then
  10242.                 c:Clone().Parent = speaker:FindFirstChildOfClass("Backpack")
  10243.             end
  10244.             copy(c)
  10245.         end
  10246.     end
  10247.     copy(ReplicatedStorage)
  10248.     notify('Tools','Copied tools from ReplicatedStorage and Lighting')
  10249. end)
  10250.  
  10251. addcmd('notools',{'rtools','clrtools','removetools','deletetools','dtools'},function(args, speaker)
  10252.     for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetDescendants()) do
  10253.         if v:IsA('Tool') or v:IsA('HopperBin') then
  10254.             v:Destroy()
  10255.         end
  10256.     end
  10257.     for i,v in pairs(speaker.Character:GetDescendants()) do
  10258.         if v:IsA('Tool') or v:IsA('HopperBin') then
  10259.             v:Destroy()
  10260.         end
  10261.     end
  10262. end)
  10263.  
  10264. addcmd('deleteselectedtool',{'dst'},function(args, speaker)
  10265.     for i,v in pairs(speaker.Character:GetDescendants()) do
  10266.         if v:IsA('Tool') or v:IsA('HopperBin') then
  10267.             v:Destroy()
  10268.         end
  10269.     end
  10270. end)
  10271.  
  10272. addcmd("console", {}, function(args, speaker)
  10273.     StarterGui:SetCore("DevConsoleVisible", true)
  10274. end)
  10275.  
  10276. addcmd('oldconsole',{},function(args, speaker)
  10277.     -- Thanks wally!!
  10278.     notify("Loading",'Hold on a sec')
  10279.     local _, str = pcall(function()
  10280.         return game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/console.lua", true)
  10281.     end)
  10282.  
  10283.     local s, e = loadstring(str)
  10284.     if typeof(s) ~= "function" then
  10285.         return
  10286.     end
  10287.  
  10288.     local success, message = pcall(s)
  10289.     if (not success) then
  10290.         if printconsole then
  10291.             printconsole(message)
  10292.         elseif printoutput then
  10293.             printoutput(message)
  10294.         end
  10295.     end
  10296.     wait(1)
  10297.     notify('Console','Press F9 to open the console')
  10298. end)
  10299.  
  10300. addcmd("explorer", {"dex"}, function(args, speaker)
  10301.     notify("Loading", "Hold on a sec")
  10302.     loadstring(game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/dex.lua"))()
  10303. end)
  10304.  
  10305. addcmd('olddex', {'odex'}, function(args, speaker)
  10306.     notify('Loading old explorer', 'Hold on a sec')
  10307.  
  10308.     local getobjects = function(a)
  10309.         local Objects = {}
  10310.         if a then
  10311.             local b = InsertService:LoadLocalAsset(a)
  10312.             if b then
  10313.                 table.insert(Objects, b)
  10314.             end
  10315.         end
  10316.         return Objects
  10317.     end
  10318.  
  10319.     local Dex = getobjects("rbxassetid://10055842438")[1]
  10320.     Dex.Parent = PARENT
  10321.  
  10322.     local function Load(Obj, Url)
  10323.         local function GiveOwnGlobals(Func, Script)
  10324.             -- Fix for this edit of dex being poorly made
  10325.             -- I (Alex) would like to commemorate whoever added this dex in somehow finding the worst dex to ever exist
  10326.             local Fenv, RealFenv, FenvMt = {}, {
  10327.                 script = Script,
  10328.                 getupvalue = function(a, b)
  10329.                     return nil -- force it to use globals
  10330.                 end,
  10331.                 getreg = function() -- It loops registry for some idiotic reason so stop it from doing that and just use a global
  10332.                     return {} -- force it to use globals
  10333.                 end,
  10334.                 getprops = getprops or function(inst)
  10335.                     if getproperties then
  10336.                         local props = getproperties(inst)
  10337.                         if props[1] and gethiddenproperty then
  10338.                             local results = {}
  10339.                             for _,name in pairs(props) do
  10340.                                 local success, res = pcall(gethiddenproperty, inst, name)
  10341.                                 if success then
  10342.                                     results[name] = res
  10343.                                 end
  10344.                             end
  10345.  
  10346.                             return results
  10347.                         end
  10348.  
  10349.                         return props
  10350.                     end
  10351.  
  10352.                     return {}
  10353.                 end
  10354.             }, {}
  10355.             FenvMt.__index = function(a,b)
  10356.                 return RealFenv[b] == nil and getgenv()[b] or RealFenv[b]
  10357.             end
  10358.             FenvMt.__newindex = function(a, b, c)
  10359.                 if RealFenv[b] == nil then
  10360.                     getgenv()[b] = c
  10361.                 else
  10362.                     RealFenv[b] = c
  10363.                 end
  10364.             end
  10365.             setmetatable(Fenv, FenvMt)
  10366.             pcall(setfenv, Func, Fenv)
  10367.             return Func
  10368.         end
  10369.  
  10370.         local function LoadScripts(_, Script)
  10371.             if Script:IsA("LocalScript") then
  10372.                 task.spawn(function()
  10373.                     GiveOwnGlobals(loadstring(Script.Source,"="..Script:GetFullName()), Script)()
  10374.                 end)
  10375.             end
  10376.             table.foreach(Script:GetChildren(), LoadScripts)
  10377.         end
  10378.  
  10379.         LoadScripts(nil, Obj)
  10380.     end
  10381.  
  10382.     Load(Dex)
  10383. end)
  10384.  
  10385. addcmd('remotespy',{'rspy'},function(args, speaker)
  10386.     notify("Loading",'Hold on a sec')
  10387.     -- Full credit to exx, creator of SimpleSpy
  10388.     -- also thanks to Amity for fixing
  10389.     loadstring(game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/SimpleSpyV3/main.lua"))()
  10390. end)
  10391.  
  10392. addcmd('audiologger',{'alogger'},function(args, speaker)
  10393.     notify("Loading",'Hold on a sec')
  10394.     loadstring(game:HttpGet(('https://raw.githubusercontent.com/infyiff/backup/main/audiologger.lua'),true))()
  10395. end)
  10396.  
  10397. local loopgoto = nil
  10398. addcmd('loopgoto',{},function(args, speaker)
  10399.     local players = getPlayer(args[1], speaker)
  10400.     for i,v in pairs(players)do
  10401.         loopgoto = nil
  10402.         if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10403.             speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10404.             wait(.1)
  10405.         end
  10406.         loopgoto = Players[v]
  10407.         local distance = 3
  10408.         if args[2] and isNumber(args[2]) then
  10409.             distance = args[2]
  10410.         end
  10411.         local lDelay = 0
  10412.         if args[3] and isNumber(args[3]) then
  10413.             lDelay = args[3]
  10414.         end
  10415.         repeat
  10416.             if Players:FindFirstChild(v) then
  10417.                 if Players[v].Character ~= nil then
  10418.                     getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(distance,1,0)
  10419.                 end
  10420.                 wait(lDelay)
  10421.             else
  10422.                 loopgoto = nil
  10423.             end
  10424.         until loopgoto ~= Players[v]
  10425.     end
  10426. end)
  10427.  
  10428. addcmd('unloopgoto',{'noloopgoto'},function(args, speaker)
  10429.     loopgoto = nil
  10430. end)
  10431.  
  10432. addcmd('headsit',{},function(args, speaker)
  10433.     local players = getPlayer(args[1], speaker)
  10434.     if headSit then headSit:Disconnect() end
  10435.     for i,v in pairs(players)do
  10436.         speaker.Character:FindFirstChildOfClass('Humanoid').Sit = true
  10437.         headSit = RunService.Heartbeat:Connect(function()
  10438.             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
  10439.                 getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame * CFrame.Angles(0,math.rad(0),0)* CFrame.new(0,1.6,0.4)
  10440.             else
  10441.                 headSit:Disconnect()
  10442.             end
  10443.         end)
  10444.     end
  10445. end)
  10446.  
  10447. addcmd('chat',{'say'},function(args, speaker)
  10448.     local cString = getstring(1)
  10449.     chatMessage(cString)
  10450. end)
  10451.  
  10452.  
  10453. spamming = false
  10454. spamspeed = 1
  10455. addcmd('spam',{},function(args, speaker)
  10456.     spamming = true
  10457.     local spamstring = getstring(1)
  10458.     repeat wait(spamspeed)
  10459.         chatMessage(spamstring)
  10460.     until spamming == false
  10461. end)
  10462.  
  10463. addcmd('nospam',{'unspam'},function(args, speaker)
  10464.     spamming = false
  10465. end)
  10466.  
  10467. addcmd('whisper',{'pm'},function(args, speaker)
  10468.     local players = getPlayer(args[1], speaker)
  10469.     for i,v in pairs(players)do
  10470.         task.spawn(function()
  10471.             local plrName = Players[v].Name
  10472.             local pmstring = getstring(2)
  10473.             chatMessage("/w "..plrName.." "..pmstring)
  10474.         end)
  10475.     end
  10476. end)
  10477.  
  10478. pmspamming = {}
  10479. addcmd('pmspam',{},function(args, speaker)
  10480.     local players = getPlayer(args[1], speaker)
  10481.     for i,v in pairs(players)do
  10482.         task.spawn(function()
  10483.             local plrName = Players[v].Name
  10484.             if FindInTable(pmspamming, plrName) then return end
  10485.             table.insert(pmspamming, plrName)
  10486.             local pmspamstring = getstring(2)
  10487.             repeat
  10488.                 if Players:FindFirstChild(v) then
  10489.                     wait(spamspeed)
  10490.                     chatMessage("/w "..plrName.." "..pmspamstring)
  10491.                 else
  10492.                     for a,b in pairs(pmspamming) do if b == plrName then table.remove(pmspamming, a) end end
  10493.                 end
  10494.             until not FindInTable(pmspamming, plrName)
  10495.         end)
  10496.     end
  10497. end)
  10498.  
  10499. addcmd('nopmspam',{'unpmspam'},function(args, speaker)
  10500.     local players = getPlayer(args[1], speaker)
  10501.     for i,v in pairs(players)do
  10502.         task.spawn(function()
  10503.             for a,b in pairs(pmspamming) do
  10504.                 if b == Players[v].Name then
  10505.                     table.remove(pmspamming, a)
  10506.                 end
  10507.             end
  10508.         end)
  10509.     end
  10510. end)
  10511.  
  10512. addcmd('spamspeed',{},function(args, speaker)
  10513.     local speed = args[1] or 1
  10514.     if isNumber(speed) then
  10515.         spamspeed = speed
  10516.     end
  10517. end)
  10518.  
  10519. addcmd('bubblechat',{},function(args, speaker)
  10520.     if isLegacyChat then
  10521.         ChatService.BubbleChatEnabled = true
  10522.     else
  10523.         TextChatService.BubbleChatConfiguration.Enabled = true
  10524.     end
  10525. end)
  10526.  
  10527. addcmd('unbubblechat',{'nobubblechat'},function(args, speaker)
  10528.     if isLegacyChat then
  10529.         ChatService.BubbleChatEnabled = false
  10530.     else
  10531.         TextChatService.BubbleChatConfiguration.Enabled = false
  10532.     end
  10533. end)
  10534.  
  10535. addcmd('blockhead',{},function(args, speaker)
  10536.     speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy()
  10537. end)
  10538.  
  10539. addcmd('blockhats',{},function(args, speaker)
  10540.     for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do
  10541.         for i,c in pairs(v:GetDescendants()) do
  10542.             if c:IsA("SpecialMesh") then
  10543.                 c:Destroy()
  10544.             end
  10545.         end
  10546.     end
  10547. end)
  10548.  
  10549. addcmd('blocktool',{},function(args, speaker)
  10550.     for _,v in pairs(speaker.Character:GetChildren()) do
  10551.         if v:IsA("Tool") or v:IsA("HopperBin") then
  10552.             for i,c in pairs(v:GetDescendants()) do
  10553.                 if c:IsA("SpecialMesh") then
  10554.                     c:Destroy()
  10555.                 end
  10556.             end
  10557.         end
  10558.     end
  10559. end)
  10560.  
  10561. addcmd('creeper',{},function(args, speaker)
  10562.     if r15(speaker) then
  10563.         speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy()
  10564.         speaker.Character.LeftUpperArm:Destroy()
  10565.         speaker.Character.RightUpperArm:Destroy()
  10566.         speaker.Character:FindFirstChildOfClass("Humanoid"):RemoveAccessories()
  10567.     else
  10568.         speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy()
  10569.         speaker.Character["Left Arm"]:Destroy()
  10570.         speaker.Character["Right Arm"]:Destroy()
  10571.         speaker.Character:FindFirstChildOfClass("Humanoid"):RemoveAccessories()
  10572.     end
  10573. end)
  10574.  
  10575. function getTorso(x)
  10576.     x = x or Players.LocalPlayer.Character
  10577.     return x:FindFirstChild("Torso") or x:FindFirstChild("UpperTorso") or x:FindFirstChild("LowerTorso") or x:FindFirstChild("HumanoidRootPart")
  10578. end
  10579.  
  10580. addcmd("bang", {"rape"}, function(args, speaker)
  10581.     execCmd("unbang")
  10582.     wait()
  10583.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  10584.     bangAnim = Instance.new("Animation")
  10585.     bangAnim.AnimationId = not r15(speaker) and "rbxassetid://148840371" or "rbxassetid://5918726674"
  10586.     bang = humanoid:LoadAnimation(bangAnim)
  10587.     bang:Play(0.1, 1, 1)
  10588.     bang:AdjustSpeed(args[2] or 3)
  10589.     bangDied = humanoid.Died:Connect(function()
  10590.         bang:Stop()
  10591.         bangAnim:Destroy()
  10592.         bangDied:Disconnect()
  10593.         bangLoop:Disconnect()
  10594.     end)
  10595.     if args[1] then
  10596.         local players = getPlayer(args[1], speaker)
  10597.         for _, v in pairs(players) do
  10598.             local bangplr = Players[v].Name
  10599.             local bangOffet = CFrame.new(0, 0, 1.1)
  10600.             bangLoop = RunService.Stepped:Connect(function()
  10601.                 pcall(function()
  10602.                     local otherRoot = getTorso(Players[bangplr].Character)
  10603.                     getRoot(speaker.Character).CFrame = otherRoot.CFrame * bangOffet
  10604.                 end)
  10605.             end)
  10606.         end
  10607.     end
  10608. end)
  10609.  
  10610. addcmd("unbang", {"unrape"}, function(args, speaker)
  10611.     if bangDied then
  10612.         bangDied:Disconnect()
  10613.         bang:Stop()
  10614.         bangAnim:Destroy()
  10615.         bangLoop:Disconnect()
  10616.     end
  10617. end)
  10618.  
  10619. addcmd('carpet',{},function(args, speaker)
  10620.     if not r15(speaker) then
  10621.         execCmd('uncarpet')
  10622.         wait()
  10623.         local players = getPlayer(args[1], speaker)
  10624.         for i,v in pairs(players)do
  10625.             carpetAnim = Instance.new("Animation")
  10626.             carpetAnim.AnimationId = "rbxassetid://282574440"
  10627.             carpet = speaker.Character:FindFirstChildOfClass('Humanoid'):LoadAnimation(carpetAnim)
  10628.             carpet:Play(.1, 1, 1)
  10629.             local carpetplr = Players[v].Name
  10630.             carpetDied = speaker.Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
  10631.                 carpetLoop:Disconnect()
  10632.                 carpet:Stop()
  10633.                 carpetAnim:Destroy()
  10634.                 carpetDied:Disconnect()
  10635.             end)
  10636.             carpetLoop = RunService.Heartbeat:Connect(function()
  10637.                 pcall(function()
  10638.                     getRoot(Players.LocalPlayer.Character).CFrame = getRoot(Players[carpetplr].Character).CFrame
  10639.                 end)
  10640.             end)
  10641.         end
  10642.     else
  10643.         notify('R6 Required','This command requires the r6 rig type')
  10644.     end
  10645. end)
  10646.  
  10647. addcmd('uncarpet',{'nocarpet'},function(args, speaker)
  10648.     if carpetLoop then
  10649.         carpetLoop:Disconnect()
  10650.         carpetDied:Disconnect()
  10651.         carpet:Stop()
  10652.         carpetAnim:Destroy()
  10653.     end
  10654. end)
  10655.  
  10656. addcmd('friend',{},function(args, speaker)
  10657.     local players = getPlayer(args[1], speaker)
  10658.     for i,v in pairs(players)do
  10659.         speaker:RequestFriendship(Players[v])
  10660.     end
  10661. end)
  10662.  
  10663. addcmd('unfriend',{},function(args, speaker)
  10664.     local players = getPlayer(args[1], speaker)
  10665.     for i,v in pairs(players)do
  10666.         speaker:RevokeFriendship(Players[v])
  10667.     end
  10668. end)
  10669.  
  10670. addcmd('bringpart',{},function(args, speaker)
  10671.     for i,v in pairs(workspace:GetDescendants()) do
  10672.         if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10673.             v.CFrame = getRoot(speaker.Character).CFrame
  10674.         end
  10675.     end
  10676. end)
  10677.  
  10678. addcmd('bringpartclass',{'bpc'},function(args, speaker)
  10679.     for i,v in pairs(workspace:GetDescendants()) do
  10680.         if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10681.             v.CFrame = getRoot(speaker.Character).CFrame
  10682.         end
  10683.     end
  10684. end)
  10685.  
  10686. gotopartDelay = 0.1
  10687. addcmd('gotopart',{'topart'},function(args, speaker)
  10688.     for i,v in pairs(workspace:GetDescendants()) do
  10689.         if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10690.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10691.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10692.                 wait(.1)
  10693.             end
  10694.             wait(gotopartDelay)
  10695.             getRoot(speaker.Character).CFrame = v.CFrame
  10696.         end
  10697.     end
  10698. end)
  10699.  
  10700. addcmd('tweengotopart',{'tgotopart','ttopart'},function(args, speaker)
  10701.     for i,v in pairs(workspace:GetDescendants()) do
  10702.         if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10703.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10704.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10705.                 wait(.1)
  10706.             end
  10707.             wait(gotopartDelay)
  10708.             TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = v.CFrame}):Play()
  10709.         end
  10710.     end
  10711. end)
  10712.  
  10713. addcmd('gotopartclass',{'gpc'},function(args, speaker)
  10714.     for i,v in pairs(workspace:GetDescendants()) do
  10715.         if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10716.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10717.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10718.                 wait(.1)
  10719.             end
  10720.             wait(gotopartDelay)
  10721.             getRoot(speaker.Character).CFrame = v.CFrame
  10722.         end
  10723.     end
  10724. end)
  10725.  
  10726. addcmd('tweengotopartclass',{'tgpc'},function(args, speaker)
  10727.     for i,v in pairs(workspace:GetDescendants()) do
  10728.         if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") 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.             wait(gotopartDelay)
  10734.             TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = v.CFrame}):Play()
  10735.         end
  10736.     end
  10737. end)
  10738.  
  10739. addcmd('gotomodel',{'tomodel'},function(args, speaker)
  10740.     for i,v in pairs(workspace:GetDescendants()) do
  10741.         if v.Name:lower() == getstring(1):lower() and v:IsA("Model") then
  10742.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10743.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10744.                 wait(.1)
  10745.             end
  10746.             wait(gotopartDelay)
  10747.             getRoot(speaker.Character).CFrame = v:GetModelCFrame()
  10748.         end
  10749.     end
  10750. end)
  10751.  
  10752. addcmd('tweengotomodel',{'tgotomodel','ttomodel'},function(args, speaker)
  10753.     for i,v in pairs(workspace:GetDescendants()) do
  10754.         if v.Name:lower() == getstring(1):lower() and v:IsA("Model") then
  10755.             if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10756.                 speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10757.                 wait(.1)
  10758.             end
  10759.             wait(gotopartDelay)
  10760.             TweenService:Create(getRoot(speaker.Character), TweenInfo.new(tweenSpeed, Enum.EasingStyle.Linear), {CFrame = v:GetModelCFrame()}):Play()
  10761.         end
  10762.     end
  10763. end)
  10764.  
  10765. addcmd('gotopartdelay',{},function(args, speaker)
  10766.     local gtpDelay = args[1] or 0.1
  10767.     if isNumber(gtpDelay) then
  10768.         gotopartDelay = gtpDelay
  10769.     end
  10770. end)
  10771.  
  10772. addcmd('noclickdetectorlimits',{'nocdlimits','removecdlimits'},function(args, speaker)
  10773.     for i,v in ipairs(workspace:GetDescendants()) do
  10774.         if v:IsA("ClickDetector") then
  10775.             v.MaxActivationDistance = math.huge
  10776.         end
  10777.     end
  10778. end)
  10779.  
  10780. addcmd('fireclickdetectors',{'firecd','firecds'}, function(args, speaker)
  10781.     if fireclickdetector then
  10782.         if args[1] then
  10783.             local name = getstring(1)
  10784.             for _, descendant in ipairs(workspace:GetDescendants()) do
  10785.                 if descendant:IsA("ClickDetector") and descendant.Name == name or descendant.Parent.Name == name then
  10786.                     fireclickdetector(descendant)
  10787.                 end
  10788.             end
  10789.         else
  10790.             for _, descendant in ipairs(workspace:GetDescendants()) do
  10791.                 if descendant:IsA("ClickDetector") then
  10792.                     fireclickdetector(descendant)
  10793.                 end
  10794.             end
  10795.         end
  10796.     else
  10797.         notify("Incompatible Exploit", "Your exploit does not support this command (missing fireclickdetector)")
  10798.     end
  10799. end)
  10800.  
  10801. addcmd('noproximitypromptlimits',{'nopplimits','removepplimits'},function(args, speaker)
  10802.     for i,v in pairs(workspace:GetDescendants()) do
  10803.         if v:IsA("ProximityPrompt") then
  10804.             v.MaxActivationDistance = math.huge
  10805.         end
  10806.     end
  10807. end)
  10808.  
  10809. addcmd('fireproximityprompts',{'firepp'},function(args, speaker)
  10810.     if fireproximityprompt then
  10811.         if args[1] then
  10812.             local name = getstring(1)
  10813.             for _, descendant in ipairs(workspace:GetDescendants()) do
  10814.                 if descendant:IsA("ProximityPrompt") and descendant.Name == name or descendant.Parent.Name == name then
  10815.                     fireproximityprompt(descendant)
  10816.                 end
  10817.             end
  10818.         else
  10819.             for _, descendant in ipairs(workspace:GetDescendants()) do
  10820.                 if descendant:IsA("ProximityPrompt") then
  10821.                     fireproximityprompt(descendant)
  10822.                 end
  10823.             end
  10824.         end
  10825.     else
  10826.         notify("Incompatible Exploit", "Your exploit does not support this command (missing fireproximityprompt)")
  10827.     end
  10828. end)
  10829.  
  10830. local PromptButtonHoldBegan = nil
  10831. addcmd('instantproximityprompts',{'instantpp'},function(args, speaker)
  10832.     if fireproximityprompt then
  10833.         execCmd("uninstantproximityprompts")
  10834.         wait(0.1)
  10835.         PromptButtonHoldBegan = ProximityPromptService.PromptButtonHoldBegan:Connect(function(prompt)
  10836.             fireproximityprompt(prompt)
  10837.         end)
  10838.     else
  10839.         notify('Incompatible Exploit','Your exploit does not support this command (missing fireproximityprompt)')
  10840.     end
  10841. end)
  10842.  
  10843. addcmd('uninstantproximityprompts',{'uninstantpp'},function(args, speaker)
  10844.     if PromptButtonHoldBegan ~= nil then
  10845.         PromptButtonHoldBegan:Disconnect()
  10846.         PromptButtonHoldBegan = nil
  10847.     end
  10848. end)
  10849.  
  10850. addcmd('notifyping',{'ping'},function(args, speaker)
  10851.     notify("Ping", math.round(speaker:GetNetworkPing() * 1000) .. "ms")
  10852. end)
  10853.  
  10854. addcmd('grabtools', {}, function(args, speaker)
  10855.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  10856.     for _, child in ipairs(workspace:GetChildren()) do
  10857.         if speaker.Character and child:IsA("BackpackItem") and child:FindFirstChild("Handle") then
  10858.             humanoid:EquipTool(child)
  10859.         end
  10860.     end
  10861.  
  10862.     if grabtoolsFunc then
  10863.         grabtoolsFunc:Disconnect()
  10864.     end
  10865.  
  10866.     grabtoolsFunc = workspace.ChildAdded:Connect(function(child)
  10867.         if speaker.Character and child:IsA("BackpackItem") and child:FindFirstChild("Handle") then
  10868.             humanoid:EquipTool(child)
  10869.         end
  10870.     end)
  10871.  
  10872.     notify("Grabtools", "Picking up any dropped tools")
  10873. end)
  10874.  
  10875. addcmd('nograbtools',{'ungrabtools'},function(args, speaker)
  10876.     if grabtoolsFunc then
  10877.         grabtoolsFunc:Disconnect()
  10878.     end
  10879.  
  10880.     notify("Grabtools", "Grabtools has been disabled")
  10881. end)
  10882.  
  10883. local specifictoolremoval = {}
  10884. addcmd('removespecifictool',{},function(args, speaker)
  10885.     if args[1] and speaker:FindFirstChildOfClass("Backpack") then
  10886.         local tool = string.lower(getstring(1))
  10887.         local RST = RunService.RenderStepped:Connect(function()
  10888.             if speaker:FindFirstChildOfClass("Backpack") then
  10889.                 for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
  10890.                     if v.Name:lower() == tool then
  10891.                         v:Remove()
  10892.                     end
  10893.                 end
  10894.             end
  10895.         end)
  10896.         specifictoolremoval[tool] = RST
  10897.     end
  10898. end)
  10899.  
  10900. addcmd('unremovespecifictool',{},function(args, speaker)
  10901.     if args[1] then
  10902.         local tool = string.lower(getstring(1))
  10903.         if specifictoolremoval[tool] ~= nil then
  10904.             specifictoolremoval[tool]:Disconnect()
  10905.             specifictoolremoval[tool] = nil
  10906.         end
  10907.     end
  10908. end)
  10909.  
  10910. addcmd('clearremovespecifictool',{},function(args, speaker)
  10911.     for obj in pairs(specifictoolremoval) do
  10912.         specifictoolremoval[obj]:Disconnect()
  10913.         specifictoolremoval[obj] = nil
  10914.     end
  10915. end)
  10916.  
  10917. addcmd('light',{},function(args, speaker)
  10918.     local light = Instance.new("PointLight")
  10919.     light.Parent = getRoot(speaker.Character)
  10920.     light.Range = 30
  10921.     if args[1] then
  10922.         light.Brightness = args[2]
  10923.         light.Range = args[1]
  10924.     else
  10925.         light.Brightness = 5
  10926.     end
  10927. end)
  10928.  
  10929. addcmd('unlight',{'nolight'},function(args, speaker)
  10930.     for i,v in pairs(speaker.Character:GetDescendants()) do
  10931.         if v.ClassName == "PointLight" then
  10932.             v:Destroy()
  10933.         end
  10934.     end
  10935. end)
  10936.  
  10937. addcmd('copytools',{},function(args, speaker)
  10938.     local players = getPlayer(args[1], speaker)
  10939.     for i,v in pairs(players)do
  10940.         task.spawn(function()
  10941.             for i,v in pairs(Players[v]:FindFirstChildOfClass("Backpack"):GetChildren()) do
  10942.                 if v:IsA('Tool') or v:IsA('HopperBin') then
  10943.                     v:Clone().Parent = speaker:FindFirstChildOfClass("Backpack")
  10944.                 end
  10945.             end
  10946.         end)
  10947.     end
  10948. end)
  10949.  
  10950. addcmd('naked',{},function(args, speaker)
  10951.     for i,v in pairs(speaker.Character:GetDescendants()) do
  10952.         if v:IsA("Clothing") or v:IsA("ShirtGraphic") then
  10953.             v:Destroy()
  10954.         end
  10955.     end
  10956. end)
  10957.  
  10958. addcmd('noface',{'removeface'},function(args, speaker)
  10959.     for i,v in pairs(speaker.Character:GetDescendants()) do
  10960.         if v:IsA("Decal") and v.Name == 'face' then
  10961.             v:Destroy()
  10962.         end
  10963.     end
  10964. end)
  10965.  
  10966. addcmd('spawnpoint',{'spawn'},function(args, speaker)
  10967.     spawnpos = getRoot(speaker.Character).CFrame
  10968.     spawnpoint = true
  10969.     spDelay = tonumber(args[1]) or 0.1
  10970.     notify('Spawn Point','Spawn point created at '..tostring(spawnpos))
  10971. end)
  10972.  
  10973. addcmd('nospawnpoint',{'nospawn','removespawnpoint'},function(args, speaker)
  10974.     spawnpoint = false
  10975.     notify('Spawn Point','Removed spawn point')
  10976. end)
  10977.  
  10978. addcmd('flashback',{'diedtp'},function(args, speaker)
  10979.     if lastDeath ~= nil then
  10980.         if speaker.Character:FindFirstChildOfClass('Humanoid') and speaker.Character:FindFirstChildOfClass('Humanoid').SeatPart then
  10981.             speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10982.             wait(.1)
  10983.         end
  10984.         getRoot(speaker.Character).CFrame = lastDeath
  10985.     end
  10986. end)
  10987.  
  10988. addcmd('hatspin',{'spinhats'},function(args, speaker)
  10989.     execCmd('unhatspin')
  10990.     wait(.5)
  10991.     for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do
  10992.         local keep = Instance.new("BodyPosition") keep.Name = randomString() keep.Parent = v.Handle
  10993.         local spin = Instance.new("BodyAngularVelocity") spin.Name = randomString() spin.Parent = v.Handle
  10994.         v.Handle:FindFirstChildOfClass("Weld"):Destroy()
  10995.         if args[1] then
  10996.             spin.AngularVelocity = Vector3.new(0, args[1], 0)
  10997.             spin.MaxTorque = Vector3.new(0, args[1] * 2, 0)
  10998.         else
  10999.             spin.AngularVelocity = Vector3.new(0, 100, 0)
  11000.             spin.MaxTorque = Vector3.new(0, 200, 0)
  11001.         end
  11002.         keep.P = 30000
  11003.         keep.D = 50
  11004.         spinhats = RunService.Stepped:Connect(function()
  11005.             pcall(function()
  11006.                 keep.Position = Players.LocalPlayer.Character.Head.Position
  11007.             end)
  11008.         end)
  11009.     end
  11010. end)
  11011.  
  11012. addcmd('unhatspin',{'unspinhats'},function(args, speaker)
  11013.     if spinhats then
  11014.         spinhats:Disconnect()
  11015.     end
  11016.     for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do
  11017.         v.Parent = workspace
  11018.         for i,c in pairs(v.Handle) do
  11019.             if c:IsA("BodyPosition") or c:IsA("BodyAngularVelocity") then
  11020.                 c:Destroy()
  11021.             end
  11022.         end
  11023.         wait()
  11024.         v.Parent = speaker.Character
  11025.     end
  11026. end)
  11027.  
  11028. addcmd('clearhats',{'cleanhats'},function(args, speaker)
  11029.     if firetouchinterest then
  11030.         local Player = Players.LocalPlayer
  11031.         local Character = Player.Character
  11032.         local Old = Character:FindFirstChild("HumanoidRootPart").CFrame
  11033.         local Hats = {}
  11034.  
  11035.         for _, child in ipairs(workspace:GetChildren()) do
  11036.             if child:IsA("Accessory") then
  11037.                 table.insert(Hats, child)
  11038.             end
  11039.         end
  11040.  
  11041.         for _, accessory in ipairs(Character:FindFirstChildOfClass("Humanoid"):GetAccessories()) do
  11042.             accessory:Destroy()
  11043.         end
  11044.  
  11045.         for i = 1, #Hats do
  11046.             repeat RunService.Heartbeat:wait() until Hats[i]
  11047.             firetouchinterest(Hats[i].Handle,Character:FindFirstChild("HumanoidRootPart"),0)
  11048.             repeat RunService.Heartbeat:wait() until Character:FindFirstChildOfClass("Accessory")
  11049.             Character:FindFirstChildOfClass("Accessory"):Destroy()
  11050.             repeat RunService.Heartbeat:wait() until not Character:FindFirstChildOfClass("Accessory")
  11051.         end
  11052.  
  11053.         execCmd("reset")
  11054.  
  11055.         Player.CharacterAdded:Wait()
  11056.  
  11057.         for i = 1,20 do
  11058.             RunService.Heartbeat:Wait()
  11059.             if Player.Character:FindFirstChild("HumanoidRootPart") then
  11060.                 Player.Character:FindFirstChild("HumanoidRootPart").CFrame = Old
  11061.             end
  11062.         end
  11063.     else
  11064.         notify("Incompatible Exploit","Your exploit does not support this command (missing firetouchinterest)")
  11065.     end
  11066. end)
  11067.  
  11068. addcmd('split',{},function(args, speaker)
  11069.     if r15(speaker) then
  11070.         speaker.Character.UpperTorso.Waist:Destroy()
  11071.     else
  11072.         notify('R15 Required','This command requires the r15 rig type')
  11073.     end
  11074. end)
  11075.  
  11076. addcmd('nilchar',{},function(args, speaker)
  11077.     if speaker.Character ~= nil then
  11078.         speaker.Character.Parent = nil
  11079.     end
  11080. end)
  11081.  
  11082. addcmd('unnilchar',{'nonilchar'},function(args, speaker)
  11083.     if speaker.Character ~= nil then
  11084.         speaker.Character.Parent = workspace
  11085.     end
  11086. end)
  11087.  
  11088. addcmd('noroot',{'removeroot','rroot'},function(args, speaker)
  11089.     if speaker.Character ~= nil then
  11090.         local char = Players.LocalPlayer.Character
  11091.         char.Parent = nil
  11092.         char.HumanoidRootPart:Destroy()
  11093.         char.Parent = workspace
  11094.     end
  11095. end)
  11096.  
  11097. addcmd('replaceroot',{'replacerootpart'},function(args, speaker)
  11098.     if speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then
  11099.         local Char = speaker.Character
  11100.         local OldParent = Char.Parent
  11101.         local HRP = Char and Char:FindFirstChild("HumanoidRootPart")
  11102.         local OldPos = HRP.CFrame
  11103.         Char.Parent = game
  11104.         local HRP1 = HRP:Clone()
  11105.         HRP1.Parent = Char
  11106.         HRP = HRP:Destroy()
  11107.         HRP1.CFrame = OldPos
  11108.         Char.Parent = OldParent
  11109.     end
  11110. end)
  11111.  
  11112. addcmd('clearcharappearance',{'clearchar','clrchar'},function(args, speaker)
  11113.     speaker:ClearCharacterAppearance()
  11114. end)
  11115.  
  11116. addcmd('equiptools',{},function(args, speaker)
  11117.     for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
  11118.         if v:IsA("Tool") or v:IsA("HopperBin") then
  11119.             v.Parent = speaker.Character
  11120.         end
  11121.     end
  11122. end)
  11123.  
  11124. addcmd('unequiptools',{},function(args, speaker)
  11125.     speaker.Character:FindFirstChildOfClass('Humanoid'):UnequipTools()
  11126. end)
  11127.  
  11128. local function GetHandleTools(p)
  11129.     p = p or Players.LocalPlayer
  11130.     local r = {}
  11131.     for _, v in ipairs(p.Character and p.Character:GetChildren() or {}) do
  11132.         if v.IsA(v, "BackpackItem") and v.FindFirstChild(v, "Handle") then
  11133.             r[#r + 1] = v
  11134.         end
  11135.     end
  11136.     for _, v in ipairs(p.Backpack:GetChildren()) do
  11137.         if v.IsA(v, "BackpackItem") and v.FindFirstChild(v, "Handle") then
  11138.             r[#r + 1] = v
  11139.         end
  11140.     end
  11141.     return r
  11142. end
  11143. addcmd('dupetools', {'clonetools'}, function(args, speaker)
  11144.     local LOOP_NUM = tonumber(args[1]) or 1
  11145.     local OrigPos = speaker.Character.HumanoidRootPart.Position
  11146.     local Tools, TempPos = {}, Vector3.new(math.random(-2e5, 2e5), 2e5, math.random(-2e5, 2e5))
  11147.     for i = 1, LOOP_NUM do
  11148.         local Human = speaker.Character:WaitForChild("Humanoid")
  11149.         wait(.1, Human.Parent:MoveTo(TempPos))
  11150.         Human.RootPart.Anchored = speaker:ClearCharacterAppearance(wait(.1)) or true
  11151.         local t = GetHandleTools(speaker)
  11152.         while #t > 0 do
  11153.             for _, v in ipairs(t) do
  11154.                 task.spawn(function()
  11155.                     for _ = 1, 25 do
  11156.                         v.Parent = speaker.Character
  11157.                         v.Handle.Anchored = true
  11158.                     end
  11159.                     for _ = 1, 5 do
  11160.                         v.Parent = workspace
  11161.                     end
  11162.                     table.insert(Tools, v.Handle)
  11163.                 end)
  11164.             end
  11165.             t = GetHandleTools(speaker)
  11166.         end
  11167.         wait(.1)
  11168.         speaker.Character = speaker.Character:Destroy()
  11169.         speaker.CharacterAdded:Wait():WaitForChild("Humanoid").Parent:MoveTo(LOOP_NUM == i and OrigPos or TempPos, wait(.1))
  11170.         if i == LOOP_NUM or i % 5 == 0 then
  11171.             local HRP = speaker.Character.HumanoidRootPart
  11172.             if type(firetouchinterest) == "function" then
  11173.                 for _, v in ipairs(Tools) do
  11174.                     v.Anchored = not firetouchinterest(v, HRP, 1, firetouchinterest(v, HRP, 0)) and false or false
  11175.                 end
  11176.             else
  11177.                 for _, v in ipairs(Tools) do
  11178.                     task.spawn(function()
  11179.                         local x = v.CanCollide
  11180.                         v.CanCollide = false
  11181.                         v.Anchored = false
  11182.                         for _ = 1, 10 do
  11183.                             v.CFrame = HRP.CFrame
  11184.                             wait()
  11185.                         end
  11186.                         v.CanCollide = x
  11187.                     end)
  11188.                 end
  11189.             end
  11190.             wait(.1)
  11191.             Tools = {}
  11192.         end
  11193.         TempPos = TempPos + Vector3.new(10, math.random(-5, 5), 0)
  11194.     end
  11195. end)
  11196.  
  11197. local RS = RunService.RenderStepped
  11198.  
  11199. addcmd('touchinterests', {'touchinterest', 'firetouchinterests', 'firetouchinterest'}, function(args, speaker)
  11200.     if not firetouchinterest then
  11201.         notify("Incompatible Exploit", "Your exploit does not support this command (missing firetouchinterest)")
  11202.         return
  11203.     end
  11204.  
  11205.     local root = getRoot(speaker.Character) or speaker.Character:FindFirstChildWhichIsA("BasePart")
  11206.  
  11207.     local function touch(x)
  11208.         x = x:FindFirstAncestorWhichIsA("Part")
  11209.         if x then
  11210.             if firetouchinterest then
  11211.                 task.spawn(function()
  11212.                     firetouchinterest(x, root, 1)
  11213.                     wait()
  11214.                     firetouchinterest(x, root, 0)
  11215.                 end)
  11216.             end
  11217.             x.CFrame = root.CFrame
  11218.         end
  11219.     end
  11220.  
  11221.     if args[1] then
  11222.         local name = getstring(1)
  11223.         for _, descendant in ipairs(workspace:GetDescendants()) do
  11224.             if descendant:IsA("TouchTransmitter") and descendant.Name == name or descendant.Parent.Name == name then
  11225.                 touch(descendant)
  11226.             end
  11227.         end
  11228.     else
  11229.         for _, descendant in ipairs(workspace:GetDescendants()) do
  11230.             if descendant:IsA("TouchTransmitter") then
  11231.                 touch(descendant)
  11232.             end
  11233.         end
  11234.     end
  11235. end)
  11236.  
  11237. addcmd('fullbright',{'fb','fullbrightness'},function(args, speaker)
  11238.     Lighting.Brightness = 2
  11239.     Lighting.ClockTime = 14
  11240.     Lighting.FogEnd = 100000
  11241.     Lighting.GlobalShadows = false
  11242.     Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128)
  11243. end)
  11244.  
  11245. addcmd('loopfullbright',{'loopfb'},function(args, speaker)
  11246.     if brightLoop then
  11247.         brightLoop:Disconnect()
  11248.     end
  11249.     local function brightFunc()
  11250.         Lighting.Brightness = 2
  11251.         Lighting.ClockTime = 14
  11252.         Lighting.FogEnd = 100000
  11253.         Lighting.GlobalShadows = false
  11254.         Lighting.OutdoorAmbient = Color3.fromRGB(128, 128, 128)
  11255.     end
  11256.  
  11257.     brightLoop = RunService.RenderStepped:Connect(brightFunc)
  11258. end)
  11259.  
  11260. addcmd('unloopfullbright',{'unloopfb'},function(args, speaker)
  11261.     if brightLoop then
  11262.         brightLoop:Disconnect()
  11263.     end
  11264. end)
  11265.  
  11266. addcmd('ambient',{},function(args, speaker)
  11267.     Lighting.Ambient = Color3.new(args[1],args[2],args[3])
  11268.     Lighting.OutdoorAmbient = Color3.new(args[1],args[2],args[3])
  11269. end)
  11270.  
  11271. addcmd('day',{},function(args, speaker)
  11272.     Lighting.ClockTime = 14
  11273. end)
  11274.  
  11275. addcmd('night',{},function(args, speaker)
  11276.     Lighting.ClockTime = 0
  11277. end)
  11278.  
  11279. addcmd('nofog',{},function(args, speaker)
  11280.     Lighting.FogEnd = 100000
  11281.     for i,v in pairs(Lighting:GetDescendants()) do
  11282.         if v:IsA("Atmosphere") then
  11283.             v:Destroy()
  11284.         end
  11285.     end
  11286. end)
  11287.  
  11288. addcmd('brightness',{},function(args, speaker)
  11289.     Lighting.Brightness = args[1]
  11290. end)
  11291.  
  11292. addcmd('globalshadows',{'gshadows'},function(args, speaker)
  11293.     Lighting.GlobalShadows = true
  11294. end)
  11295.  
  11296. addcmd('unglobalshadows',{'nogshadows','ungshadows','noglobalshadows'},function(args, speaker)
  11297.     Lighting.GlobalShadows = false
  11298. end)
  11299.  
  11300. origsettings = {abt = Lighting.Ambient, oabt = Lighting.OutdoorAmbient, brt = Lighting.Brightness, time = Lighting.ClockTime, fe = Lighting.FogEnd, fs = Lighting.FogStart, gs = Lighting.GlobalShadows}
  11301.  
  11302. addcmd('restorelighting',{'rlighting'},function(args, speaker)
  11303.     Lighting.Ambient = origsettings.abt
  11304.     Lighting.OutdoorAmbient = origsettings.oabt
  11305.     Lighting.Brightness = origsettings.brt
  11306.     Lighting.ClockTime = origsettings.time
  11307.     Lighting.FogEnd = origsettings.fe
  11308.     Lighting.FogStart = origsettings.fs
  11309.     Lighting.GlobalShadows = origsettings.gs
  11310. end)
  11311.  
  11312. addcmd('stun',{'platformstand'},function(args, speaker)
  11313.     speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  11314. end)
  11315.  
  11316. addcmd('unstun',{'nostun','unplatformstand','noplatformstand'},function(args, speaker)
  11317.     speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  11318. end)
  11319.  
  11320. addcmd('norotate',{'noautorotate'},function(args, speaker)
  11321.     speaker.Character:FindFirstChildOfClass('Humanoid').AutoRotate  = false
  11322. end)
  11323.  
  11324. addcmd('unnorotate',{'autorotate'},function(args, speaker)
  11325.     speaker.Character:FindFirstChildOfClass('Humanoid').AutoRotate  = true
  11326. end)
  11327.  
  11328. addcmd('enablestate',{},function(args, speaker)
  11329.     local x = args[1]
  11330.     if not tonumber(x) then
  11331.         local x = Enum.HumanoidStateType[args[1]]
  11332.     end
  11333.     speaker.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(x, true)
  11334. end)
  11335.  
  11336. addcmd('disablestate',{},function(args, speaker)
  11337.     local x = args[1]
  11338.     if not tonumber(x) then
  11339.         local x = Enum.HumanoidStateType[args[1]]
  11340.     end
  11341.     speaker.Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(x, false)
  11342. end)
  11343.  
  11344. addcmd('drophats',{'drophat'},function(args, speaker)
  11345.     if speaker.Character then
  11346.         for _,v in pairs(speaker.Character:FindFirstChildOfClass('Humanoid'):GetAccessories()) do
  11347.             v.Parent = workspace
  11348.         end
  11349.     end
  11350. end)
  11351.  
  11352. addcmd('deletehats',{'nohats','rhats'},function(args, speaker)
  11353.     for i,v in next, speaker.Character:GetDescendants() do
  11354.         if v:IsA("Accessory") then
  11355.             for i,p in next, v:GetDescendants() do
  11356.                 if p:IsA("Weld") then
  11357.                     p:Destroy()
  11358.                 end
  11359.             end
  11360.         end
  11361.     end
  11362. end)
  11363.  
  11364. addcmd('droptools',{'droptool'},function(args, speaker)
  11365.     for i,v in pairs(Players.LocalPlayer.Backpack:GetChildren()) do
  11366.         if v:IsA("Tool") then
  11367.             v.Parent = Players.LocalPlayer.Character
  11368.         end
  11369.     end
  11370.     wait()
  11371.     for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do
  11372.         if v:IsA("Tool") then
  11373.             v.Parent = workspace
  11374.         end
  11375.     end
  11376. end)
  11377.  
  11378. addcmd('droppabletools',{},function(args, speaker)
  11379.     if speaker.Character then
  11380.         for _,obj in pairs(speaker.Character:GetChildren()) do
  11381.             if obj:IsA("Tool") then
  11382.                 obj.CanBeDropped = true
  11383.             end
  11384.         end
  11385.     end
  11386.     if speaker:FindFirstChildOfClass("Backpack") then
  11387.         for _,obj in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
  11388.             if obj:IsA("Tool") then
  11389.                 obj.CanBeDropped = true
  11390.             end
  11391.         end
  11392.     end
  11393. end)
  11394.  
  11395. local currentToolSize = ""
  11396. local currentGripPos = ""
  11397. addcmd('reach',{},function(args, speaker)
  11398.     execCmd('unreach')
  11399.     wait()
  11400.     for i,v in pairs(speaker.Character:GetDescendants()) do
  11401.         if v:IsA("Tool") then
  11402.             if args[1] then
  11403.                 currentToolSize = v.Handle.Size
  11404.                 currentGripPos = v.GripPos
  11405.                 local a = Instance.new("SelectionBox")
  11406.                 a.Name = "SelectionBoxCreated"
  11407.                 a.Parent = v.Handle
  11408.                 a.Adornee = v.Handle
  11409.                 v.Handle.Massless = true
  11410.                 v.Handle.Size = Vector3.new(0.5,0.5,args[1])
  11411.                 v.GripPos = Vector3.new(0,0,0)
  11412.                 speaker.Character:FindFirstChildOfClass('Humanoid'):UnequipTools()
  11413.             else
  11414.                 currentToolSize = v.Handle.Size
  11415.                 currentGripPos = v.GripPos
  11416.                 local a = Instance.new("SelectionBox")
  11417.                 a.Name = "SelectionBoxCreated"
  11418.                 a.Parent = v.Handle
  11419.                 a.Adornee = v.Handle
  11420.                 v.Handle.Massless = true
  11421.                 v.Handle.Size = Vector3.new(0.5,0.5,60)
  11422.                 v.GripPos = Vector3.new(0,0,0)
  11423.                 speaker.Character:FindFirstChildOfClass('Humanoid'):UnequipTools()
  11424.             end
  11425.         end
  11426.     end
  11427. end)
  11428.  
  11429. addcmd("boxreach", {}, function(args, speaker)
  11430.     execCmd("unreach")
  11431.     wait()
  11432.     for i, v in pairs(speaker.Character:GetDescendants()) do
  11433.         if v:IsA("Tool") then
  11434.             local size = tonumber(args[1]) or 60
  11435.             currentToolSize = v.Handle.Size
  11436.             currentGripPos = v.GripPos
  11437.             local a = Instance.new("SelectionBox")
  11438.             a.Name = "SelectionBoxCreated"
  11439.             a.Parent = v.Handle
  11440.             a.Adornee = v.Handle
  11441.             v.Handle.Massless = true
  11442.             v.Handle.Size = Vector3.new(size, size, size)
  11443.             v.GripPos = Vector3.new(0, 0, 0)
  11444.             speaker.Character:FindFirstChildOfClass("Humanoid"):UnequipTools()
  11445.         end
  11446.     end
  11447. end)
  11448.  
  11449. addcmd('unreach',{'noreach','unboxreach'},function(args, speaker)
  11450.     for i,v in pairs(speaker.Character:GetDescendants()) do
  11451.         if v:IsA("Tool") then
  11452.             v.Handle.Size = currentToolSize
  11453.             v.GripPos = currentGripPos
  11454.             v.Handle.SelectionBoxCreated:Destroy()
  11455.         end
  11456.     end
  11457. end)
  11458.  
  11459. addcmd('grippos',{},function(args, speaker)
  11460.     for i,v in pairs(speaker.Character:GetDescendants()) do
  11461.         if v:IsA("Tool") then
  11462.             v.Parent = speaker:FindFirstChildOfClass("Backpack")
  11463.             v.GripPos = Vector3.new(args[1],args[2],args[3])
  11464.             v.Parent = speaker.Character
  11465.         end
  11466.     end
  11467. end)
  11468.  
  11469. addcmd('usetools', {}, function(args, speaker)
  11470.     local Backpack = speaker:FindFirstChildOfClass("Backpack")
  11471.     local amount = tonumber(args[1]) or 1
  11472.     local delay_ = tonumber(args[2]) or false
  11473.     for _, v in ipairs(Backpack:GetChildren()) do
  11474.         v.Parent = speaker.Character
  11475.         task.spawn(function()
  11476.             for _ = 1, amount do
  11477.                 v:Activate()
  11478.                 if delay_ then
  11479.                     wait(delay_)
  11480.                 end
  11481.             end
  11482.             v.Parent = Backpack
  11483.         end)
  11484.     end
  11485. end)
  11486.  
  11487. addcmd('logs',{},function(args, speaker)
  11488.     logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  11489. end)
  11490.  
  11491. addcmd('chatlogs',{'clogs'},function(args, speaker)
  11492.     join.Visible = false
  11493.     chat.Visible = true
  11494.     table.remove(shade3,table.find(shade3,selectChat))
  11495.     table.remove(shade2,table.find(shade2,selectJoin))
  11496.     table.insert(shade2,selectChat)
  11497.     table.insert(shade3,selectJoin)
  11498.     selectJoin.BackgroundColor3 = currentShade3
  11499.     selectChat.BackgroundColor3 = currentShade2
  11500.     logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  11501. end)
  11502.  
  11503. addcmd('joinlogs',{'jlogs'},function(args, speaker)
  11504.     chat.Visible = false
  11505.     join.Visible = true
  11506.     table.remove(shade3,table.find(shade3,selectJoin))
  11507.     table.remove(shade2,table.find(shade2,selectChat))
  11508.     table.insert(shade2,selectJoin)
  11509.     table.insert(shade3,selectChat)
  11510.     selectChat.BackgroundColor3 = currentShade3
  11511.     selectJoin.BackgroundColor3 = currentShade2
  11512.     logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  11513. end)
  11514.  
  11515. addcmd("chatlogswebhook", {"logswebhook"}, function(args, speaker)
  11516.     if httprequest then
  11517.         logsWebhook = args[1] or nil
  11518.         updatesaves()
  11519.     else
  11520.         notify("Incompatible Exploit", "Your exploit does not support this command (missing request)")
  11521.     end
  11522. end)
  11523.  
  11524. addcmd("antichatlogs", {"antichatlogger"}, function(args, speaker)
  11525.     if not isLegacyChat then
  11526.         return notify("antichatlogs", "Game needs the legacy chat")
  11527.     end
  11528.     local MessagePosted, _ = pcall(function()
  11529.         rawset(require(speaker:FindFirstChild("PlayerScripts"):FindFirstChild("ChatScript").ChatMain), "MessagePosted", {
  11530.             ["fire"] = function(msg)
  11531.                 return msg
  11532.             end,
  11533.             ["wait"] = function()
  11534.                 return
  11535.             end,
  11536.             ["connect"] = function()
  11537.                 return
  11538.             end
  11539.         })
  11540.     end)
  11541.     notify("antichatlogs", MessagePosted and "Enabled" or "Failed to enable antichatlogs")
  11542. end)
  11543.  
  11544. flinging = false
  11545. addcmd('fling',{},function(args, speaker)
  11546.     flinging = false
  11547.     for _, child in pairs(speaker.Character:GetDescendants()) do
  11548.         if child:IsA("BasePart") then
  11549.             child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5)
  11550.         end
  11551.     end
  11552.     execCmd('noclip')
  11553.     wait(.1)
  11554.     local bambam = Instance.new("BodyAngularVelocity")
  11555.     bambam.Name = randomString()
  11556.     bambam.Parent = getRoot(speaker.Character)
  11557.     bambam.AngularVelocity = Vector3.new(0,99999,0)
  11558.     bambam.MaxTorque = Vector3.new(0,math.huge,0)
  11559.     bambam.P = math.huge
  11560.     local Char = speaker.Character:GetChildren()
  11561.     for i, v in next, Char do
  11562.         if v:IsA("BasePart") then
  11563.             v.CanCollide = false
  11564.             v.Massless = true
  11565.             v.Velocity = Vector3.new(0, 0, 0)
  11566.         end
  11567.     end
  11568.     flinging = true
  11569.     local function flingDiedF()
  11570.         execCmd('unfling')
  11571.     end
  11572.     flingDied = speaker.Character:FindFirstChildOfClass('Humanoid').Died:Connect(flingDiedF)
  11573.     repeat
  11574.         bambam.AngularVelocity = Vector3.new(0,99999,0)
  11575.         wait(.2)
  11576.         bambam.AngularVelocity = Vector3.new(0,0,0)
  11577.         wait(.1)
  11578.     until flinging == false
  11579. end)
  11580.  
  11581. addcmd('unfling',{'nofling'},function(args, speaker)
  11582.     execCmd('clip')
  11583.     if flingDied then
  11584.         flingDied:Disconnect()
  11585.     end
  11586.     flinging = false
  11587.     wait(.1)
  11588.     local speakerChar = speaker.Character
  11589.     if not speakerChar or not getRoot(speakerChar) then return end
  11590.     for i,v in pairs(getRoot(speakerChar):GetChildren()) do
  11591.         if v.ClassName == 'BodyAngularVelocity' then
  11592.             v:Destroy()
  11593.         end
  11594.     end
  11595.     for _, child in pairs(speakerChar:GetDescendants()) do
  11596.         if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  11597.             child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
  11598.         end
  11599.     end
  11600. end)
  11601.  
  11602. addcmd('togglefling',{},function(args, speaker)
  11603.     if flinging then
  11604.         execCmd('unfling')
  11605.     else
  11606.         execCmd('fling')
  11607.     end
  11608. end)
  11609.  
  11610. addcmd("flyfling", {}, function(args, speaker)
  11611.     execCmd("unvehiclefly\\unwalkfling")
  11612.     wait()
  11613.     if args[1] and isNumber(args[1]) then
  11614.         vehicleflyspeed = args[1]
  11615.     end
  11616.     execCmd("vehiclefly\\walkfling")
  11617. end)
  11618.  
  11619. addcmd("unflyfling", {}, function(args, speaker)
  11620.     execCmd("unvehiclefly\\unwalkfling\\breakvelocity")
  11621. end)
  11622.  
  11623. addcmd("toggleflyfling", {}, function(args, speaker)
  11624.     execCmd(flinging and "unflyfling" or "flyfling")
  11625. end)
  11626.  
  11627. walkflinging = false
  11628. addcmd("walkfling", {}, function(args, speaker)
  11629.     execCmd("unwalkfling")
  11630.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  11631.     if humanoid then
  11632.         humanoid.Died:Connect(function()
  11633.             execCmd("unwalkfling")
  11634.         end)
  11635.     end
  11636.  
  11637.     execCmd("noclip nonotify")
  11638.     walkflinging = true
  11639.     repeat RunService.Heartbeat:Wait()
  11640.         local character = speaker.Character
  11641.         local root = getRoot(character)
  11642.         local vel, movel = nil, 0.1
  11643.  
  11644.         while not (character and character.Parent and root and root.Parent) do
  11645.             RunService.Heartbeat:Wait()
  11646.             character = speaker.Character
  11647.             root = getRoot(character)
  11648.         end
  11649.  
  11650.         vel = root.Velocity
  11651.         root.Velocity = vel * 10000 + Vector3.new(0, 10000, 0)
  11652.  
  11653.         RunService.RenderStepped:Wait()
  11654.         if character and character.Parent and root and root.Parent then
  11655.             root.Velocity = vel
  11656.         end
  11657.  
  11658.         RunService.Stepped:Wait()
  11659.         if character and character.Parent and root and root.Parent then
  11660.             root.Velocity = vel + Vector3.new(0, movel, 0)
  11661.             movel = movel * -1
  11662.         end
  11663.     until walkflinging == false
  11664. end)
  11665.  
  11666. addcmd("unwalkfling", {"nowalkfling"}, function(args, speaker)
  11667.     walkflinging = false
  11668.     execCmd("unnoclip nonotify")
  11669. end)
  11670.  
  11671. addcmd("togglewalkfling", {}, function(args, speaker)
  11672.     execCmd(walkflinging and "unwalkfling" or "walkfling")
  11673. end)
  11674.  
  11675. addcmd('invisfling',{},function(args, speaker)
  11676.     local ch = speaker.Character
  11677.     ch:FindFirstChildWhichIsA("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  11678.     local prt=Instance.new("Model")
  11679.     prt.Parent = speaker.Character
  11680.     local z1 = Instance.new("Part")
  11681.     z1.Name="Torso"
  11682.     z1.CanCollide = false
  11683.     z1.Anchored = true
  11684.     local z2 = Instance.new("Part")
  11685.     z2.Name="Head"
  11686.     z2.Parent = prt
  11687.     z2.Anchored = true
  11688.     z2.CanCollide = false
  11689.     local z3 =Instance.new("Humanoid")
  11690.     z3.Name="Humanoid"
  11691.     z3.Parent = prt
  11692.     z1.Position = Vector3.new(0,9999,0)
  11693.     speaker.Character=prt
  11694.     wait(3)
  11695.     speaker.Character=ch
  11696.     wait(3)
  11697.     local Hum = Instance.new("Humanoid")
  11698.     z2:Clone()
  11699.     Hum.Parent = speaker.Character
  11700.     local root =  getRoot(speaker.Character)
  11701.     for i,v in pairs(speaker.Character:GetChildren()) do
  11702.         if v ~= root and  v.Name ~= "Humanoid" then
  11703.             v:Destroy()
  11704.         end
  11705.     end
  11706.     root.Transparency = 0
  11707.     root.Color = Color3.new(1, 1, 1)
  11708.     local invisflingStepped
  11709.     invisflingStepped = RunService.Stepped:Connect(function()
  11710.         if speaker.Character and getRoot(speaker.Character) then
  11711.             getRoot(speaker.Character).CanCollide = false
  11712.         else
  11713.             invisflingStepped:Disconnect()
  11714.         end
  11715.     end)
  11716.     sFLY()
  11717.     workspace.CurrentCamera.CameraSubject = root
  11718.     local bambam = Instance.new("BodyThrust")
  11719.     bambam.Parent = getRoot(speaker.Character)
  11720.     bambam.Force = Vector3.new(99999,99999*10,99999)
  11721.     bambam.Location = getRoot(speaker.Character).Position
  11722. end)
  11723.  
  11724. addcmd("antifling", {}, function(args, speaker)
  11725.     if antifling then
  11726.         antifling:Disconnect()
  11727.         antifling = nil
  11728.     end
  11729.     antifling = RunService.Stepped:Connect(function()
  11730.         for _, player in pairs(Players:GetPlayers()) do
  11731.             if player ~= speaker and player.Character then
  11732.                 for _, v in pairs(player.Character:GetDescendants()) do
  11733.                     if v:IsA("BasePart") then
  11734.                         v.CanCollide = false
  11735.                     end
  11736.                 end
  11737.             end
  11738.         end
  11739.     end)
  11740. end)
  11741.  
  11742. addcmd("unantifling", {}, function(args, speaker)
  11743.     if antifling then
  11744.         antifling:Disconnect()
  11745.         antifling = nil
  11746.     end
  11747. end)
  11748.  
  11749. addcmd("toggleantifling", {}, function(args, speaker)
  11750.     execCmd(antifling and "unantifling" or "antifling")
  11751. end)
  11752.  
  11753. function attach(speaker,target)
  11754.     if tools(speaker) then
  11755.         local char = speaker.Character
  11756.         local tchar = target.Character
  11757.         local hum = speaker.Character:FindFirstChildOfClass("Humanoid")
  11758.         local hrp = getRoot(speaker.Character)
  11759.         local hrp2 = getRoot(target.Character)
  11760.         hum.Name = "1"
  11761.         local newHum = hum:Clone()
  11762.         newHum.Parent = char
  11763.         newHum.Name = "Humanoid"
  11764.         wait()
  11765.         hum:Destroy()
  11766.         workspace.CurrentCamera.CameraSubject = char
  11767.         newHum.DisplayDistanceType = "None"
  11768.         local tool = speaker:FindFirstChildOfClass("Backpack"):FindFirstChildOfClass("Tool") or speaker.Character:FindFirstChildOfClass("Tool")
  11769.         tool.Parent = char
  11770.         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)
  11771.         local n = 0
  11772.         repeat
  11773.             wait(.1)
  11774.             n = n + 1
  11775.             hrp.CFrame = hrp2.CFrame
  11776.         until (tool.Parent ~= char or not hrp or not hrp2 or not hrp.Parent or not hrp2.Parent or n > 250) and n > 2
  11777.     else
  11778.         notify('Tool Required','You need to have an item in your inventory to use this command')
  11779.     end
  11780. end
  11781.  
  11782. function kill(speaker,target,fast)
  11783.     if tools(speaker) then
  11784.         if target ~= nil then
  11785.             local NormPos = getRoot(speaker.Character).CFrame
  11786.             if not fast then
  11787.                 refresh(speaker)
  11788.                 wait()
  11789.                 repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character)
  11790.                 wait(0.3)
  11791.             end
  11792.             local hrp = getRoot(speaker.Character)
  11793.             attach(speaker,target)
  11794.             repeat
  11795.                 wait()
  11796.                 hrp.CFrame = CFrame.new(999999, workspace.FallenPartsDestroyHeight + 5,999999)
  11797.             until not getRoot(target.Character) or not getRoot(speaker.Character)
  11798.             speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos
  11799.         end
  11800.     else
  11801.         notify('Tool Required','You need to have an item in your inventory to use this command')
  11802.     end
  11803. end
  11804.  
  11805. addcmd("handlekill", {"hkill"}, function(args, speaker)
  11806.     if not firetouchinterest then
  11807.         return notify("Incompatible Exploit", "Your exploit does not support this command (missing firetouchinterest)")
  11808.     end
  11809.     if not speaker.Character then return end
  11810.     local tool = speaker.Character:FindFirstChildWhichIsA("Tool")
  11811.     local handle = tool and tool:FindFirstChild("Handle")
  11812.     if not handle then
  11813.         return notify("Handle Kill", "You need to hold a \"Tool\" that does damage on touch. For example a common Sword tool.")
  11814.     end
  11815.     local range = tonumber(args[2]) or math.huge
  11816.     if range ~= math.huge then notify("Handle Kill", ("Started!\nRadius: %s"):format(tostring(range):upper())) end
  11817.  
  11818.     while task.wait() and speaker.Character and tool.Parent and tool.Parent == speaker.Character do
  11819.         for _, plr in next, getPlayer(args[1], speaker) do
  11820.             plr = Players[plr]
  11821.             if plr ~= speaker and plr.Character then
  11822.                 local hum = plr.Character:FindFirstChildWhichIsA("Humanoid")
  11823.                 local root = hum and getRoot(plr.Character)
  11824.  
  11825.                 if root and hum.Health > 0 and hum:GetState() ~= Enum.HumanoidStateType.Dead and speaker:DistanceFromCharacter(root.Position) <= range then
  11826.                     firetouchinterest(handle, root, 1)
  11827.                     firetouchinterest(handle, root, 0)
  11828.                 end
  11829.             end
  11830.         end
  11831.     end
  11832.  
  11833.     notify("Handle Kill", "Stopped!")
  11834. end)
  11835.  
  11836. local hb = RunService.Heartbeat
  11837. addcmd('tpwalk', {'teleportwalk'}, function(args, speaker)
  11838.     tpwalking = true
  11839.     local chr = speaker.Character
  11840.     local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  11841.     while tpwalking and chr and hum and hum.Parent do
  11842.         local delta = hb:Wait()
  11843.         if hum.MoveDirection.Magnitude > 0 then
  11844.             if args[1] and isNumber(args[1]) then
  11845.                 chr:TranslateBy(hum.MoveDirection * tonumber(args[1]) * delta * 10)
  11846.             else
  11847.                 chr:TranslateBy(hum.MoveDirection * delta * 10)
  11848.             end
  11849.         end
  11850.     end
  11851. end)
  11852.  
  11853. addcmd('untpwalk', {'unteleportwalk'}, function(args, speaker)
  11854.     tpwalking = false
  11855. end)
  11856.  
  11857. function bring(speaker,target,fast)
  11858.     if tools(speaker) then
  11859.         if target ~= nil then
  11860.             local NormPos = getRoot(speaker.Character).CFrame
  11861.             if not fast then
  11862.                 refresh(speaker)
  11863.                 wait()
  11864.                 repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character)
  11865.                 wait(0.3)
  11866.             end
  11867.             local hrp = getRoot(speaker.Character)
  11868.             attach(speaker,target)
  11869.             repeat
  11870.                 wait()
  11871.                 hrp.CFrame = NormPos
  11872.             until not getRoot(target.Character) or not getRoot(speaker.Character)
  11873.             speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos
  11874.         end
  11875.     else
  11876.         notify('Tool Required','You need to have an item in your inventory to use this command')
  11877.     end
  11878. end
  11879.  
  11880. function teleport(speaker,target,target2,fast)
  11881.     if tools(speaker) then
  11882.         if target ~= nil then
  11883.             local NormPos = getRoot(speaker.Character).CFrame
  11884.             if not fast then
  11885.                 refresh(speaker)
  11886.                 wait()
  11887.                 repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character)
  11888.                 wait(0.3)
  11889.             end
  11890.             local hrp = getRoot(speaker.Character)
  11891.             local hrp2 = getRoot(target2.Character)
  11892.             attach(speaker,target)
  11893.             repeat
  11894.                 wait()
  11895.                 hrp.CFrame = hrp2.CFrame
  11896.             until not getRoot(target.Character) or not getRoot(speaker.Character)
  11897.             wait(1)
  11898.             speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos
  11899.         end
  11900.     else
  11901.         notify('Tool Required','You need to have an item in your inventory to use this command')
  11902.     end
  11903. end
  11904.  
  11905. addcmd('spin',{},function(args, speaker)
  11906.     local spinSpeed = 20
  11907.     if args[1] and isNumber(args[1]) then
  11908.         spinSpeed = args[1]
  11909.     end
  11910.     for i,v in pairs(getRoot(speaker.Character):GetChildren()) do
  11911.         if v.Name == "Spinning" then
  11912.             v:Destroy()
  11913.         end
  11914.     end
  11915.     local Spin = Instance.new("BodyAngularVelocity")
  11916.     Spin.Name = "Spinning"
  11917.     Spin.Parent = getRoot(speaker.Character)
  11918.     Spin.MaxTorque = Vector3.new(0, math.huge, 0)
  11919.     Spin.AngularVelocity = Vector3.new(0,spinSpeed,0)
  11920. end)
  11921.  
  11922. addcmd('unspin',{},function(args, speaker)
  11923.     for i,v in pairs(getRoot(speaker.Character):GetChildren()) do
  11924.         if v.Name == "Spinning" then
  11925.             v:Destroy()
  11926.         end
  11927.     end
  11928. end)
  11929.  
  11930. xrayEnabled = false
  11931. function xray()
  11932.     for _, v in pairs(workspace:GetDescendants()) do
  11933.         if v:IsA("BasePart") and not v.Parent:FindFirstChildWhichIsA("Humanoid") and not v.Parent.Parent:FindFirstChildWhichIsA("Humanoid") then
  11934.             v.LocalTransparencyModifier = xrayEnabled and 0.5 or 0
  11935.         end
  11936.     end
  11937. end
  11938.  
  11939. addcmd("xray", {}, function(args, speaker)
  11940.     xrayEnabled = true
  11941.     xray()
  11942. end)
  11943.  
  11944. addcmd("unxray", {"noxray"}, function(args, speaker)
  11945.     xrayEnabled = false
  11946.     xray()
  11947. end)
  11948.  
  11949. addcmd("togglexray", {}, function(args, speaker)
  11950.     xrayEnabled = not xrayEnabled
  11951.     xray()
  11952. end)
  11953.  
  11954. addcmd("loopxray", {}, function(args, speaker)
  11955.     pcall(function() xrayLoop:Disconnect() end)
  11956.     xrayLoop = RunService.RenderStepped:Connect(function()
  11957.         xrayEnabled = true
  11958.         xray()
  11959.     end)
  11960. end)
  11961.  
  11962. addcmd("unloopxray", {}, function(args, speaker)
  11963.     pcall(function() xrayLoop:Disconnect() end)
  11964.     xrayEnabled = false
  11965.     xray()
  11966. end)
  11967.  
  11968. local walltpTouch = nil
  11969. addcmd('walltp',{},function(args, speaker)
  11970.     local torso
  11971.     if r15(speaker) then
  11972.         torso = speaker.Character.UpperTorso
  11973.     else
  11974.         torso = speaker.Character.Torso
  11975.     end
  11976.     local function touchedFunc(hit)
  11977.         local Root = getRoot(speaker.Character)
  11978.         if hit:IsA("BasePart") and hit.Position.Y > Root.Position.Y - speaker.Character:FindFirstChildOfClass('Humanoid').HipHeight then
  11979.             local hitP = getRoot(hit.Parent)
  11980.             if hitP ~= nil then
  11981.                 Root.CFrame = hit.CFrame * CFrame.new(Root.CFrame.lookVector.X,hitP.Size.Z/2 + speaker.Character:FindFirstChildOfClass('Humanoid').HipHeight,Root.CFrame.lookVector.Z)
  11982.             elseif hitP == nil then
  11983.                 Root.CFrame = hit.CFrame * CFrame.new(Root.CFrame.lookVector.X,hit.Size.Y/2 + speaker.Character:FindFirstChildOfClass('Humanoid').HipHeight,Root.CFrame.lookVector.Z)
  11984.             end
  11985.         end
  11986.     end
  11987.     walltpTouch = torso.Touched:Connect(touchedFunc)
  11988. end)
  11989.  
  11990. addcmd('unwalltp',{'nowalltp'},function(args, speaker)
  11991.     if walltpTouch then
  11992.         walltpTouch:Disconnect()
  11993.     end
  11994. end)
  11995.  
  11996. autoclicking = false
  11997. addcmd('autoclick',{},function(args, speaker)
  11998.     if mouse1press and mouse1release then
  11999.         execCmd('unautoclick')
  12000.         wait()
  12001.         local clickDelay = 0.1
  12002.         local releaseDelay = 0.1
  12003.         if args[1] and isNumber(args[1]) then clickDelay = args[1] end
  12004.         if args[2] and isNumber(args[2]) then releaseDelay = args[2] end
  12005.         autoclicking = true
  12006.         cancelAutoClick = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  12007.             if not gameProcessedEvent then
  12008.                 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
  12009.                     autoclicking = false
  12010.                     cancelAutoClick:Disconnect()
  12011.                 end
  12012.             end
  12013.         end)
  12014.         notify('Auto Clicker',"Press [backspace] and [=] at the same time to stop")
  12015.         repeat wait(clickDelay)
  12016.             mouse1press()
  12017.             wait(releaseDelay)
  12018.             mouse1release()
  12019.         until autoclicking == false
  12020.     else
  12021.         notify('Auto Clicker',"Your exploit doesn't have the ability to use the autoclick")
  12022.     end
  12023. end)
  12024.  
  12025. addcmd('unautoclick',{'noautoclick'},function(args, speaker)
  12026.     autoclicking = false
  12027.     if cancelAutoClick then cancelAutoClick:Disconnect() end
  12028. end)
  12029.  
  12030. addcmd('mousesensitivity',{'ms'},function(args, speaker)
  12031.     UserInputService.MouseDeltaSensitivity = args[1]
  12032. end)
  12033.  
  12034. local nameBox = nil
  12035. local nbSelection = nil
  12036. addcmd('hovername',{},function(args, speaker)
  12037.     execCmd('unhovername')
  12038.     wait()
  12039.     nameBox = Instance.new("TextLabel")
  12040.     nameBox.Name = randomString()
  12041.     nameBox.Parent = ScaledHolder
  12042.     nameBox.BackgroundTransparency = 1
  12043.     nameBox.Size = UDim2.new(0,200,0,30)
  12044.     nameBox.Font = Enum.Font.Code
  12045.     nameBox.TextSize = 16
  12046.     nameBox.Text = ""
  12047.     nameBox.TextColor3 = Color3.new(1, 1, 1)
  12048.     nameBox.TextStrokeTransparency = 0
  12049.     nameBox.TextXAlignment = Enum.TextXAlignment.Left
  12050.     nameBox.ZIndex = 10
  12051.     nbSelection = Instance.new('SelectionBox')
  12052.     nbSelection.Name = randomString()
  12053.     nbSelection.LineThickness = 0.03
  12054.     nbSelection.Color3 = Color3.new(1, 1, 1)
  12055.     local function updateNameBox()
  12056.         local t
  12057.         local target = IYMouse.Target
  12058.  
  12059.         if target then
  12060.             local humanoid = target.Parent:FindFirstChildOfClass("Humanoid") or target.Parent.Parent:FindFirstChildOfClass("Humanoid")
  12061.             if humanoid then
  12062.                 t = humanoid.Parent
  12063.             end
  12064.         end
  12065.  
  12066.         if t ~= nil then
  12067.             local x = IYMouse.X
  12068.             local y = IYMouse.Y
  12069.             local xP
  12070.             local yP
  12071.             if IYMouse.X > 200 then
  12072.                 xP = x - 205
  12073.                 nameBox.TextXAlignment = Enum.TextXAlignment.Right
  12074.             else
  12075.                 xP = x + 25
  12076.                 nameBox.TextXAlignment = Enum.TextXAlignment.Left
  12077.             end
  12078.             nameBox.Position = UDim2.new(0, xP, 0, y)
  12079.             nameBox.Text = t.Name
  12080.             nameBox.Visible = true
  12081.             nbSelection.Parent = t
  12082.             nbSelection.Adornee = t
  12083.         else
  12084.             nameBox.Visible = false
  12085.             nbSelection.Parent = nil
  12086.             nbSelection.Adornee = nil
  12087.         end
  12088.     end
  12089.     nbUpdateFunc = IYMouse.Move:Connect(updateNameBox)
  12090. end)
  12091.  
  12092. addcmd('unhovername',{'nohovername'},function(args, speaker)
  12093.     if nbUpdateFunc then
  12094.         nbUpdateFunc:Disconnect()
  12095.         nameBox:Destroy()
  12096.         nbSelection:Destroy()
  12097.     end
  12098. end)
  12099.  
  12100. addcmd('headsize',{},function(args, speaker)
  12101.     local players = getPlayer(args[1], speaker)
  12102.     for i,v in pairs(players) do
  12103.         if Players[v] ~= speaker and Players[v].Character:FindFirstChild('Head') then
  12104.             local sizeArg = tonumber(args[2])
  12105.             local Size = Vector3.new(sizeArg,sizeArg,sizeArg)
  12106.             local Head = Players[v].Character:FindFirstChild('Head')
  12107.             if Head:IsA("BasePart") then
  12108.                 if not args[2] or sizeArg == 1 then
  12109.                     Head.Size = Vector3.new(2,1,1)
  12110.                 else
  12111.                     Head.Size = Size
  12112.                 end
  12113.             end
  12114.         end
  12115.     end
  12116. end)
  12117.  
  12118. addcmd('hitbox',{},function(args, speaker)
  12119.     local players = getPlayer(args[1], speaker)
  12120.     local transparency = args[3] and tonumber(args[3]) or 0.4
  12121.     for i,v in pairs(players) do
  12122.         if Players[v] ~= speaker and Players[v].Character:FindFirstChild('HumanoidRootPart') then
  12123.             local sizeArg = tonumber(args[2])
  12124.             local Size = Vector3.new(sizeArg,sizeArg,sizeArg)
  12125.             local Root = Players[v].Character:FindFirstChild('HumanoidRootPart')
  12126.             if Root:IsA("BasePart") then
  12127.                 if not args[2] or sizeArg == 1 then
  12128.                     Root.Size = Vector3.new(2,1,1)
  12129.                     Root.Transparency = transparency
  12130.                 else
  12131.                     Root.Size = Size
  12132.                     Root.Transparency = transparency
  12133.                 end
  12134.             end
  12135.         end
  12136.     end
  12137. end)
  12138.  
  12139. addcmd('stareat',{'stare'},function(args, speaker)
  12140.     local players = getPlayer(args[1], speaker)
  12141.     for i,v in pairs(players) do
  12142.         if stareLoop then
  12143.             stareLoop:Disconnect()
  12144.         end
  12145.         if not Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart") and Players[v].Character:FindFirstChild("HumanoidRootPart") then return end
  12146.         local function stareFunc()
  12147.             if Players.LocalPlayer.Character.PrimaryPart and Players:FindFirstChild(v) and Players[v].Character ~= nil and Players[v].Character:FindFirstChild("HumanoidRootPart") then
  12148.                 local chrPos=Players.LocalPlayer.Character.PrimaryPart.Position
  12149.                 local tPos=Players[v].Character:FindFirstChild("HumanoidRootPart").Position
  12150.                 local modTPos=Vector3.new(tPos.X,chrPos.Y,tPos.Z)
  12151.                 local newCF=CFrame.new(chrPos,modTPos)
  12152.                 Players.LocalPlayer.Character:SetPrimaryPartCFrame(newCF)
  12153.             elseif not Players:FindFirstChild(v) then
  12154.                 stareLoop:Disconnect()
  12155.             end
  12156.         end
  12157.  
  12158.         stareLoop = RunService.RenderStepped:Connect(stareFunc)
  12159.     end
  12160. end)
  12161.  
  12162. addcmd('unstareat',{'unstare','nostare','nostareat'},function(args, speaker)
  12163.     if stareLoop then
  12164.         stareLoop:Disconnect()
  12165.     end
  12166. end)
  12167.  
  12168. RolewatchData = {Group = 0, Role = "", Leave = false}
  12169. RolewatchConnection = Players.PlayerAdded:Connect(function(player)
  12170.     if RolewatchData.Group == 0 then return end
  12171.     if player:IsInGroup(RolewatchData.Group) then
  12172.         if tostring(player:GetRoleInGroup(RolewatchData.Group)):lower() == RolewatchData.Role:lower() then
  12173.             if RolewatchData.Leave == true then
  12174.                 Players.LocalPlayer:Kick("\n\nRolewatch\nPlayer \"" .. tostring(player.Name) .. "\" has joined with the Role \"" .. RolewatchData.Role .. "\"\n")
  12175.             else
  12176.                 notify("Rolewatch", "Player \"" .. tostring(player.Name) .. "\" has joined with the Role \"" .. RolewatchData.Role .. "\"")
  12177.             end
  12178.         end
  12179.     end
  12180. end)
  12181.  
  12182. addcmd("rolewatch", {}, function(args, speaker)
  12183.     local groupId = tonumber(args[1] or 0)
  12184.     local roleName = args[2] and tostring(getstring(2))
  12185.     if groupId and roleName then
  12186.         RolewatchData.Group = groupId
  12187.         RolewatchData.Role = roleName
  12188.         notify("Rolewatch", "Watching Group ID \"" .. tostring(groupId) .. "\" for Role \"" .. roleName .. "\"")
  12189.     end
  12190. end)
  12191.  
  12192. addcmd("rolewatchstop", {}, function(args, speaker)
  12193.     RolewatchData.Group = 0
  12194.     RolewatchData.Role = ""
  12195.     RolewatchData.Leave = false
  12196.     notify("Rolewatch", "Disabled")
  12197. end)
  12198.  
  12199. addcmd("rolewatchleave", {"unrolewatch"}, function(args, speaker)
  12200.     RolewatchData.Leave = not RolewatchData.Leave
  12201.     notify("Rolewatch", RolewatchData.Leave and "Leave has been Enabled" or "Leave has been Disabled")
  12202. end)
  12203.  
  12204. staffRoles = {"mod", "admin", "staff", "dev", "founder", "owner", "supervis", "manager", "management", "executive", "president", "chairman", "chairwoman", "chairperson", "director"}
  12205.  
  12206. getStaffRole = function(player)
  12207.     local playerRole = player:GetRoleInGroup(game.CreatorId)
  12208.     local result = {Role = playerRole, Staff = false}
  12209.     if player:IsInGroup(1200769) then
  12210.         result.Role = "Roblox Employee"
  12211.         result.Staff = true
  12212.     end
  12213.     for _, role in pairs(staffRoles) do
  12214.         if string.find(string.lower(playerRole), role) then
  12215.             result.Staff = true
  12216.         end
  12217.     end
  12218.     return result
  12219. end
  12220.  
  12221. addcmd("staffwatch", {}, function(args, speaker)
  12222.     if staffwatchjoin then
  12223.         staffwatchjoin:Disconnect()
  12224.     end
  12225.     if game.CreatorType == Enum.CreatorType.Group then
  12226.         local found = {}
  12227.         staffwatchjoin = Players.PlayerAdded:Connect(function(player)
  12228.             local result = getStaffRole(player)
  12229.             if result.Staff then
  12230.                 notify("Staffwatch", formatUsername(player) .. " is a " .. result.Role)
  12231.             end
  12232.         end)
  12233.         for _, player in pairs(Players:GetPlayers()) do
  12234.             local result = getStaffRole(player)
  12235.             if result.Staff then
  12236.                 table.insert(found, formatUsername(player) .. " is a " .. result.Role)
  12237.             end
  12238.         end
  12239.         if #found > 0 then
  12240.             notify("Staffwatch", table.concat(found, ",\n"))
  12241.         else
  12242.             notify("Staffwatch", "Enabled")
  12243.         end
  12244.     else
  12245.         notify("Staffwatch", "Game is not owned by a Group")
  12246.     end
  12247. end)
  12248.  
  12249. addcmd("unstaffwatch", {}, function(args, speaker)
  12250.     if staffwatchjoin then
  12251.         staffwatchjoin:Disconnect()
  12252.     end
  12253.     notify("Staffwatch", "Disabled")
  12254. end)
  12255.  
  12256. addcmd('removeterrain',{'rterrain','noterrain'},function(args, speaker)
  12257.     workspace:FindFirstChildOfClass('Terrain'):Clear()
  12258. end)
  12259.  
  12260. addcmd('clearnilinstances',{'nonilinstances','cni'},function(args, speaker)
  12261.     if getnilinstances then
  12262.         for i,v in pairs(getnilinstances()) do
  12263.             v:Destroy()
  12264.         end
  12265.     else
  12266.         notify('Incompatible Exploit','Your exploit does not support this command (missing getnilinstances)')
  12267.     end
  12268. end)
  12269.  
  12270. addcmd('destroyheight',{'dh'},function(args, speaker)
  12271.     local dh = args[1] or -500
  12272.     if isNumber(dh) then
  12273.         workspace.FallenPartsDestroyHeight = dh
  12274.     end
  12275. end)
  12276.  
  12277. OrgDestroyHeight = workspace.FallenPartsDestroyHeight
  12278. addcmd("antivoid", {}, function(args, speaker)
  12279.     execCmd("unantivoid nonotify")
  12280.     task.wait()
  12281.     antivoidloop = RunService.Stepped:Connect(function()
  12282.         local root = getRoot(speaker.Character)
  12283.         if root and root.Position.Y <= OrgDestroyHeight + 25 then
  12284.             root.Velocity = root.Velocity + Vector3.new(0, 250, 0)
  12285.         end
  12286.     end)
  12287.     if args[1] ~= "nonotify" then notify("antivoid", "Enabled") end
  12288. end)
  12289.  
  12290. addcmd("unantivoid", {"noantivoid"}, function(args, speaker)
  12291.     pcall(function() antivoidloop:Disconnect() end)
  12292.     antivoidloop = nil
  12293.     if args[1] ~= "nonotify" then notify("antivoid", "Disabled") end
  12294. end)
  12295.  
  12296. antivoidWasEnabled = false
  12297. addcmd("fakeout", {}, function(args, speaker)
  12298.     local root = getRoot(speaker.Character)
  12299.     local oldpos = root.CFrame
  12300.     if antivoidloop then
  12301.         execCmd("unantivoid nonotify")
  12302.         antivoidWasEnabled = true
  12303.     end
  12304.     workspace.FallenPartsDestroyHeight = 0/1/0
  12305.     root.CFrame = CFrame.new(Vector3.new(0, OrgDestroyHeight - 25, 0))
  12306.     task.wait(1)
  12307.     root.CFrame = oldpos
  12308.     workspace.FallenPartsDestroyHeight = OrgDestroyHeight
  12309.     if antivoidWasEnabled then
  12310.         execCmd("antivoid nonotify")
  12311.         antivoidWasEnabled = false
  12312.     end
  12313. end)
  12314.  
  12315. addcmd("trip", {}, function(args, speaker)
  12316.     local humanoid = speaker.Character and speaker.Character:FindFirstChildWhichIsA("Humanoid")
  12317.     local root = speaker.Character and getRoot(speaker.Character)
  12318.     if humanoid and root then
  12319.         humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
  12320.         root.Velocity = root.CFrame.LookVector * 30
  12321.     end
  12322. end)
  12323.  
  12324. addcmd("removeads", {"adblock"}, function(args, speaker)
  12325.     while wait() do
  12326.         pcall(function()
  12327.             for i, v in pairs(workspace:GetDescendants()) do
  12328.                 if v:IsA("PackageLink") then
  12329.                     if v.Parent:FindFirstChild("ADpart") then
  12330.                         v.Parent:Destroy()
  12331.                     end
  12332.                     if v.Parent:FindFirstChild("AdGuiAdornee") then
  12333.                         v.Parent.Parent:Destroy()
  12334.                     end
  12335.                 end
  12336.             end
  12337.         end)
  12338.     end
  12339. end)
  12340.  
  12341. addcmd("scare", {"spook"}, function(args, speaker)
  12342.     local players = getPlayer(args[1], speaker)
  12343.     local oldpos = nil
  12344.  
  12345.     for _, v in pairs(players) do
  12346.         local root = speaker.Character and getRoot(speaker.Character)
  12347.         local target = Players[v]
  12348.         local targetRoot = target and target.Character and getRoot(target.Character)
  12349.  
  12350.         if root and targetRoot and target ~= speaker then
  12351.             oldpos = root.CFrame
  12352.             root.CFrame = targetRoot.CFrame + targetRoot.CFrame.lookVector * 2
  12353.             root.CFrame = CFrame.new(root.Position, targetRoot.Position)
  12354.             task.wait(0.5)
  12355.             root.CFrame = oldpos
  12356.         end
  12357.     end
  12358. end)
  12359.  
  12360. addcmd("alignmentkeys", {}, function(args, speaker)
  12361.     alignmentKeys = UserInputService.InputBegan:Connect(function(input, gameProcessed)
  12362.         if gameProcessed then return end
  12363.         if input.KeyCode == Enum.KeyCode.Comma then workspace.CurrentCamera:PanUnits(-1) end
  12364.         if input.KeyCode == Enum.KeyCode.Period then workspace.CurrentCamera:PanUnits(1) end
  12365.     end)
  12366.     alignmentKeysEmotes = StarterGui:GetCoreGuiEnabled(Enum.CoreGuiType.EmotesMenu)
  12367.     StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.EmotesMenu, false)
  12368. end)
  12369.  
  12370. addcmd("unalignmentkeys", {"noalignmentkeys"}, function(args, speaker)
  12371.     if type(alignmentKeysEmotes) == "boolean" then
  12372.         StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.EmotesMenu, alignmentKeysEmotes)
  12373.     end
  12374.     alignmentKeys:Disconnect()
  12375. end)
  12376.  
  12377. addcmd("ctrllock", {}, function(args, speaker)
  12378.     local mouseLockController = speaker.PlayerScripts:WaitForChild("PlayerModule"):WaitForChild("CameraModule"):WaitForChild("MouseLockController")
  12379.     local boundKeys = mouseLockController:FindFirstChild("BoundKeys")
  12380.  
  12381.     if boundKeys then
  12382.         boundKeys.Value = "LeftControl"
  12383.     else
  12384.         boundKeys = Instance.new("StringValue")
  12385.         boundKeys.Name = "BoundKeys"
  12386.         boundKeys.Value = "LeftControl"
  12387.         boundKeys.Parent = mouseLockController
  12388.     end
  12389. end)
  12390.  
  12391. addcmd("unctrllock", {}, function(args, speaker)
  12392.     local mouseLockController = speaker.PlayerScripts:WaitForChild("PlayerModule"):WaitForChild("CameraModule"):WaitForChild("MouseLockController")
  12393.     local boundKeys = mouseLockController:FindFirstChild("BoundKeys")
  12394.  
  12395.     if boundKeys then
  12396.         boundKeys.Value = "LeftShift"
  12397.     else
  12398.         boundKeys = Instance.new("StringValue")
  12399.         boundKeys.Name = "BoundKeys"
  12400.         boundKeys.Value = "LeftShift"
  12401.         boundKeys.Parent = mouseLockController
  12402.     end
  12403. end)
  12404.  
  12405. addcmd("listento", {}, function(args, speaker)
  12406.     execCmd("unlistento")
  12407.     if not args[1] then return end
  12408.  
  12409.     local player = Players:FindFirstChild(getPlayer(args[1], speaker)[1])
  12410.     local root = player and player.Character and getRoot(player.Character)
  12411.  
  12412.     if root then
  12413.         SoundService:SetListener(Enum.ListenerType.ObjectPosition, root)
  12414.         listentoChar = player.CharacterAdded:Connect(function()
  12415.             repeat task.wait() until Players[player.Name].Character ~= nil and getRoot(Players[player.Name].Character)
  12416.             SoundService:SetListener(Enum.ListenerType.ObjectPosition, getRoot(Players[player.Name].Character))
  12417.         end)
  12418.     end
  12419. end)
  12420.  
  12421. addcmd("unlistento", {}, function(args, speaker)
  12422.     SoundService:SetListener(Enum.ListenerType.Camera)
  12423.     listentoChar:Disconnect()
  12424. end)
  12425.  
  12426. addcmd("jerk", {}, function(args, speaker)
  12427.     local humanoid = speaker.Character:FindFirstChildWhichIsA("Humanoid")
  12428.     local backpack = speaker:FindFirstChildWhichIsA("Backpack")
  12429.     if not humanoid or not backpack then return end
  12430.  
  12431.     local tool = Instance.new("Tool")
  12432.     tool.Name = "Jerk Off"
  12433.     tool.ToolTip = "in the stripped club. straight up \"jorking it\" . and by \"it\" , haha, well. let's justr say. My peanits."
  12434.     tool.RequiresHandle = false
  12435.     tool.Parent = backpack
  12436.  
  12437.     local jorkin = false
  12438.     local track = nil
  12439.  
  12440.     local function stopTomfoolery()
  12441.         jorkin = false
  12442.         if track then
  12443.             track:Stop()
  12444.             track = nil
  12445.         end
  12446.     end
  12447.  
  12448.     tool.Equipped:Connect(function() jorkin = true end)
  12449.     tool.Unequipped:Connect(stopTomfoolery)
  12450.     humanoid.Died:Connect(stopTomfoolery)
  12451.  
  12452.     while task.wait() do
  12453.         if not jorkin then continue end
  12454.  
  12455.         local isR15 = r15(speaker)
  12456.         if not track then
  12457.             local anim = Instance.new("Animation")
  12458.             anim.AnimationId = not isR15 and "rbxassetid://72042024" or "rbxassetid://698251653"
  12459.             track = humanoid:LoadAnimation(anim)
  12460.         end
  12461.  
  12462.         track:Play()
  12463.         track:AdjustSpeed(isR15 and 0.7 or 0.65)
  12464.         track.TimePosition = 0.6
  12465.         task.wait(0.1)
  12466.         while track and track.TimePosition < (not isR15 and 0.65 or 0.7) do task.wait(0.1) end
  12467.         if track then
  12468.             track:Stop()
  12469.             track = nil
  12470.         end
  12471.     end
  12472. end)
  12473.  
  12474. addcmd("guiscale", {}, function(args, speaker)
  12475.     if args[1] and isNumber(args[1]) then
  12476.         local scale = tonumber(args[1])
  12477.         if scale % 1 == 0 then scale = scale / 100 end
  12478.         -- me when i divide and it explodes
  12479.         if scale == 0.01 then scale = 1 end
  12480.         if scale == 0.02 then scale = 2 end
  12481.  
  12482.         if scale >= 0.4 and scale <= 2 then
  12483.             guiScale = scale
  12484.         end
  12485.     else
  12486.         guiScale = defaultGuiScale
  12487.     end
  12488.  
  12489.     Scale.Scale = math.max(Holder.AbsoluteSize.X / 1920, guiScale)
  12490.     updatesaves()
  12491. end)
  12492.  
  12493. addcmd("unsuspendvc", {}, function(args, speaker)
  12494.     VoiceChatService:joinVoice()
  12495.  
  12496.     if typeof(onVoiceModerated) ~= "RBXScriptConnection" then
  12497.         onVoiceModerated = cloneref(game:GetService("VoiceChatInternal")).LocalPlayerModerated:Connect(function()
  12498.             task.wait(1)
  12499.             VoiceChatService:joinVoice()
  12500.         end)
  12501.     end
  12502. end)
  12503.  
  12504. addcmd("permadeath", {}, function(args, speaker)
  12505.     if replicatesignal then
  12506.         permadeath(speaker)
  12507.         notify("Permadeath", "Enabled")
  12508.     else
  12509.         notify("Incompatible Exploit", "Your exploit does not support this command (missing replicatesignal)")
  12510.     end
  12511. end)
  12512.  
  12513. local freezingua = nil
  12514. frozenParts = {}
  12515. addcmd('freezeunanchored',{'freezeua'},function(args, speaker)
  12516.     local badnames = {
  12517.         "Head",
  12518.         "UpperTorso",
  12519.         "LowerTorso",
  12520.         "RightUpperArm",
  12521.         "LeftUpperArm",
  12522.         "RightLowerArm",
  12523.         "LeftLowerArm",
  12524.         "RightHand",
  12525.         "LeftHand",
  12526.         "RightUpperLeg",
  12527.         "LeftUpperLeg",
  12528.         "RightLowerLeg",
  12529.         "LeftLowerLeg",
  12530.         "RightFoot",
  12531.         "LeftFoot",
  12532.         "Torso",
  12533.         "Right Arm",
  12534.         "Left Arm",
  12535.         "Right Leg",
  12536.         "Left Leg",
  12537.         "HumanoidRootPart"
  12538.     }
  12539.     local function FREEZENOOB(v)
  12540.         if v:IsA("BasePart" or "UnionOperation") and v.Anchored == false then
  12541.             local BADD = false
  12542.             for i = 1,#badnames do
  12543.                 if v.Name == badnames[i] then
  12544.                     BADD = true
  12545.                 end
  12546.             end
  12547.             if speaker.Character and v:IsDescendantOf(speaker.Character) then
  12548.                 BADD = true
  12549.             end
  12550.             if BADD == false then
  12551.                 for i,c in pairs(v:GetChildren()) do
  12552.                     if c:IsA("BodyPosition") or c:IsA("BodyGyro") then
  12553.                         c:Destroy()
  12554.                     end
  12555.                 end
  12556.                 local bodypos = Instance.new("BodyPosition")
  12557.                 bodypos.Parent = v
  12558.                 bodypos.Position = v.Position
  12559.                 bodypos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  12560.                 local bodygyro = Instance.new("BodyGyro")
  12561.                 bodygyro.Parent = v
  12562.                 bodygyro.CFrame = v.CFrame
  12563.                 bodygyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  12564.                 if not table.find(frozenParts,v) then
  12565.                     table.insert(frozenParts,v)
  12566.                 end
  12567.             end
  12568.         end
  12569.     end
  12570.     for i,v in pairs(workspace:GetDescendants()) do
  12571.         FREEZENOOB(v)
  12572.     end
  12573.     freezingua = workspace.DescendantAdded:Connect(FREEZENOOB)
  12574. end)
  12575.  
  12576. addcmd('thawunanchored',{'thawua','unfreezeunanchored','unfreezeua'},function(args, speaker)
  12577.     if freezingua then
  12578.         freezingua:Disconnect()
  12579.     end
  12580.     for i,v in pairs(frozenParts) do
  12581.         for i,c in pairs(v:GetChildren()) do
  12582.             if c:IsA("BodyPosition") or c:IsA("BodyGyro") then
  12583.                 c:Destroy()
  12584.             end
  12585.         end
  12586.     end
  12587.     frozenParts = {}
  12588. end)
  12589.  
  12590. addcmd('tpunanchored',{'tpua'},function(args, speaker)
  12591.     local players = getPlayer(args[1], speaker)
  12592.     for i,v in pairs(players) do
  12593.         local Forces = {}
  12594.         for _,part in pairs(workspace:GetDescendants()) do
  12595.             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
  12596.                 for i,c in pairs(part:GetChildren()) do
  12597.                     if c:IsA("BodyPosition") or c:IsA("BodyGyro") then
  12598.                         c:Destroy()
  12599.                     end
  12600.                 end
  12601.                 local ForceInstance = Instance.new("BodyPosition")
  12602.                 ForceInstance.Parent = part
  12603.                 ForceInstance.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  12604.                 table.insert(Forces, ForceInstance)
  12605.                 if not table.find(frozenParts,part) then
  12606.                     table.insert(frozenParts,part)
  12607.                 end
  12608.             end
  12609.         end
  12610.         for i,c in pairs(Forces) do
  12611.             c.Position = Players[v].Character.Head.Position
  12612.         end
  12613.     end
  12614. end)
  12615.  
  12616. keycodeMap = {
  12617.     ["0"] = 0x30,
  12618.     ["1"] = 0x31,
  12619.     ["2"] = 0x32,
  12620.     ["3"] = 0x33,
  12621.     ["4"] = 0x34,
  12622.     ["5"] = 0x35,
  12623.     ["6"] = 0x36,
  12624.     ["7"] = 0x37,
  12625.     ["8"] = 0x38,
  12626.     ["9"] = 0x39,
  12627.     ["a"] = 0x41,
  12628.     ["b"] = 0x42,
  12629.     ["c"] = 0x43,
  12630.     ["d"] = 0x44,
  12631.     ["e"] = 0x45,
  12632.     ["f"] = 0x46,
  12633.     ["g"] = 0x47,
  12634.     ["h"] = 0x48,
  12635.     ["i"] = 0x49,
  12636.     ["j"] = 0x4A,
  12637.     ["k"] = 0x4B,
  12638.     ["l"] = 0x4C,
  12639.     ["m"] = 0x4D,
  12640.     ["n"] = 0x4E,
  12641.     ["o"] = 0x4F,
  12642.     ["p"] = 0x50,
  12643.     ["q"] = 0x51,
  12644.     ["r"] = 0x52,
  12645.     ["s"] = 0x53,
  12646.     ["t"] = 0x54,
  12647.     ["u"] = 0x55,
  12648.     ["v"] = 0x56,
  12649.     ["w"] = 0x57,
  12650.     ["x"] = 0x58,
  12651.     ["y"] = 0x59,
  12652.     ["z"] = 0x5A,
  12653.     ["enter"] = 0x0D,
  12654.     ["shift"] = 0x10,
  12655.     ["ctrl"] = 0x11,
  12656.     ["alt"] = 0x12,
  12657.     ["pause"] = 0x13,
  12658.     ["capslock"] = 0x14,
  12659.     ["spacebar"] = 0x20,
  12660.     ["space"] = 0x20,
  12661.     ["pageup"] = 0x21,
  12662.     ["pagedown"] = 0x22,
  12663.     ["end"] = 0x23,
  12664.     ["home"] = 0x24,
  12665.     ["left"] = 0x25,
  12666.     ["up"] = 0x26,
  12667.     ["right"] = 0x27,
  12668.     ["down"] = 0x28,
  12669.     ["insert"] = 0x2D,
  12670.     ["delete"] = 0x2E,
  12671.     ["f1"] = 0x70,
  12672.     ["f2"] = 0x71,
  12673.     ["f3"] = 0x72,
  12674.     ["f4"] = 0x73,
  12675.     ["f5"] = 0x74,
  12676.     ["f6"] = 0x75,
  12677.     ["f7"] = 0x76,
  12678.     ["f8"] = 0x77,
  12679.     ["f9"] = 0x78,
  12680.     ["f10"] = 0x79,
  12681.     ["f11"] = 0x7A,
  12682.     ["f12"] = 0x7B,
  12683. }
  12684. autoKeyPressing = false
  12685. cancelAutoKeyPress = nil
  12686.  
  12687. addcmd('autokeypress',{'keypress'},function(args, speaker)
  12688.     if keypress and keyrelease and args[1] then
  12689.         local code = keycodeMap[args[1]:lower()]
  12690.         if not code then notify('Auto Key Press',"Invalid key") return end
  12691.         execCmd('unautokeypress')
  12692.         wait()
  12693.         local clickDelay = 0.1
  12694.         local releaseDelay = 0.1
  12695.         if args[2] and isNumber(args[2]) then clickDelay = args[2] end
  12696.         if args[3] and isNumber(args[3]) then releaseDelay = args[3] end
  12697.         autoKeyPressing = true
  12698.         cancelAutoKeyPress = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  12699.             if not gameProcessedEvent then
  12700.                 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
  12701.                     autoKeyPressing = false
  12702.                     cancelAutoKeyPress:Disconnect()
  12703.                 end
  12704.             end
  12705.         end)
  12706.         notify('Auto Key Press',"Press [backspace] and [=] at the same time to stop")
  12707.         repeat wait(clickDelay)
  12708.             keypress(code)
  12709.             wait(releaseDelay)
  12710.             keyrelease(code)
  12711.         until autoKeyPressing == false
  12712.         if cancelAutoKeyPress then cancelAutoKeyPress:Disconnect() keyrelease(code) end
  12713.     else
  12714.         notify('Auto Key Press',"Your exploit doesn't have the ability to use auto key press")
  12715.     end
  12716. end)
  12717.  
  12718. addcmd('unautokeypress',{'noautokeypress','unkeypress','nokeypress'},function(args, speaker)
  12719.     autoKeyPressing = false
  12720.     if cancelAutoKeyPress then cancelAutoKeyPress:Disconnect() end
  12721. end)
  12722.  
  12723. addcmd('addplugin',{'plugin'},function(args, speaker)
  12724.     addPlugin(getstring(1))
  12725. end)
  12726.  
  12727. addcmd('removeplugin',{'deleteplugin'},function(args, speaker)
  12728.     deletePlugin(getstring(1))
  12729. end)
  12730.  
  12731. addcmd('reloadplugin',{},function(args, speaker)
  12732.     local pluginName = getstring(1)
  12733.     deletePlugin(pluginName)
  12734.     wait(1)
  12735.     addPlugin(pluginName)
  12736. end)
  12737.  
  12738. addcmd("addallplugins", {"loadallplugins"}, function(args, speaker)
  12739.     if not listfiles or not isfolder then
  12740.         notify("Incompatible Exploit", "Your exploit does not support this command (missing listfiles/isfolder)")
  12741.         return
  12742.     end
  12743.  
  12744.     for _, filePath in ipairs(listfiles("")) do
  12745.         local fileName = filePath:match("([^/\\]+%.iy)$")
  12746.  
  12747.         if fileName and
  12748.             fileName:lower() ~= "iy_fe.iy" and
  12749.             not isfolder(fileName) and
  12750.             not table.find(PluginsTable, fileName)
  12751.         then
  12752.             addPlugin(fileName)
  12753.         end
  12754.     end
  12755. end)
  12756.  
  12757. addcmd('removecmd',{'deletecmd'},function(args, speaker)
  12758.     removecmd(args[1])
  12759. end)
  12760.  
  12761. if IsOnMobile then
  12762.     local QuickCapture = Instance.new("TextButton")
  12763.     local UICorner = Instance.new("UICorner")
  12764.     QuickCapture.Name = randomString()
  12765.     QuickCapture.Parent = PARENT
  12766.     QuickCapture.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  12767.     QuickCapture.BackgroundTransparency = 0.14
  12768.     QuickCapture.Position = UDim2.new(0.489, 0, 0, 0)
  12769.     QuickCapture.Size = UDim2.new(0, 32, 0, 33)
  12770.     QuickCapture.Font = Enum.Font.SourceSansBold
  12771.     QuickCapture.Text = "IY"
  12772.     QuickCapture.TextColor3 = Color3.fromRGB(255, 255, 255)
  12773.     QuickCapture.TextSize = 20
  12774.     QuickCapture.TextWrapped = true
  12775.     QuickCapture.ZIndex = 10
  12776.     QuickCapture.Draggable = true
  12777.     UICorner.Name = randomString()
  12778.     UICorner.CornerRadius = UDim.new(0.5, 0)
  12779.     UICorner.Parent = QuickCapture
  12780.     QuickCapture.MouseButton1Click:Connect(function()
  12781.         Cmdbar:CaptureFocus()
  12782.         maximizeHolder()
  12783.     end)
  12784.     table.insert(shade1, QuickCapture)
  12785.     table.insert(text1, QuickCapture)
  12786. end
  12787.  
  12788. pcall(function() Scale.Scale = math.max(Holder.AbsoluteSize.X / 1920, guiScale) end)
  12789. Scale.Parent = ScaledHolder
  12790. ScaledHolder.Size = UDim2.fromScale(1 / Scale.Scale, 1 / Scale.Scale)
  12791. Scale:GetPropertyChangedSignal("Scale"):Connect(function()
  12792.     ScaledHolder.Size = UDim2.fromScale(1 / Scale.Scale, 1 / Scale.Scale)
  12793.     for _, v in ScaledHolder:GetDescendants() do
  12794.         if v:IsA("GuiObject") and v.Visible then
  12795.             v.Visible = false
  12796.             v.Visible = true
  12797.         end
  12798.     end
  12799. end)
  12800.  
  12801. updateColors(currentShade1,shade1)
  12802. updateColors(currentShade2,shade2)
  12803. updateColors(currentShade3,shade3)
  12804. updateColors(currentText1,text1)
  12805. updateColors(currentText2,text2)
  12806. updateColors(currentScroll,scroll)
  12807.  
  12808. if PluginsTable ~= nil or PluginsTable ~= {} then
  12809.     FindPlugins(PluginsTable)
  12810. end
  12811.  
  12812. -- Events
  12813. eventEditor.RegisterEvent("OnExecute")
  12814. eventEditor.RegisterEvent("OnSpawn",{
  12815.     {Type="Player",Name="Player Filter ($1)"}
  12816. })
  12817. eventEditor.RegisterEvent("OnDied",{
  12818.     {Type="Player",Name="Player Filter ($1)"}
  12819. })
  12820. eventEditor.RegisterEvent("OnDamage",{
  12821.     {Type="Player",Name="Player Filter ($1)"},
  12822.     {Type="Number",Name="Below Health ($2)"}
  12823. })
  12824. eventEditor.RegisterEvent("OnKilled",{
  12825.     {Type="Player",Name="Victim Player ($1)"},
  12826.     {Type="Player",Name="Killer Player ($2)",Default = 1}
  12827. })
  12828. eventEditor.RegisterEvent("OnJoin",{
  12829.     {Type="Player",Name="Player Filter ($1)",Default = 1}
  12830. })
  12831. eventEditor.RegisterEvent("OnLeave",{
  12832.     {Type="Player",Name="Player Filter ($1)",Default = 1}
  12833. })
  12834. eventEditor.RegisterEvent("OnChatted",{
  12835.     {Type="Player",Name="Player Filter ($1)",Default = 1},
  12836.     {Type="String",Name="Message Filter ($2)"}
  12837. })
  12838.  
  12839. function hookCharEvents(plr,instant)
  12840.     task.spawn(function()
  12841.         local char = plr.Character
  12842.         if not char then return end
  12843.  
  12844.         local humanoid = char:WaitForChild("Humanoid",10)
  12845.         if not humanoid then return end
  12846.  
  12847.         local oldHealth = humanoid.Health
  12848.         humanoid.HealthChanged:Connect(function(health)
  12849.             local change = math.abs(oldHealth - health)
  12850.             if oldHealth > health then
  12851.                 eventEditor.FireEvent("OnDamage",plr.Name,tonumber(health))
  12852.             end
  12853.             oldHealth = health
  12854.         end)
  12855.  
  12856.         humanoid.Died:Connect(function()
  12857.             eventEditor.FireEvent("OnDied",plr.Name)
  12858.  
  12859.             local killedBy = humanoid:FindFirstChild("creator")
  12860.             if killedBy and killedBy.Value and killedBy.Value.Parent then
  12861.                 eventEditor.FireEvent("OnKilled",plr.Name,killedBy.Name)
  12862.             end
  12863.         end)
  12864.     end)
  12865. end
  12866.  
  12867. Players.PlayerAdded:Connect(function(plr)
  12868.     eventEditor.FireEvent("OnJoin",plr.Name)
  12869.     if isLegacyChat then plr.Chatted:Connect(function(msg) eventEditor.FireEvent("OnChatted",tostring(plr),msg) end) end
  12870.     plr.CharacterAdded:Connect(function() eventEditor.FireEvent("OnSpawn",tostring(plr)) hookCharEvents(plr) end)
  12871.     JoinLog(plr)
  12872.     if isLegacyChat then ChatLog(plr) end
  12873.     if ESPenabled then
  12874.         repeat wait(1) until plr.Character and getRoot(plr.Character)
  12875.         ESP(plr)
  12876.     end
  12877.     if CHMSenabled then
  12878.         repeat wait(1) until plr.Character and getRoot(plr.Character)
  12879.         CHMS(plr)
  12880.     end
  12881. end)
  12882.  
  12883. if not isLegacyChat then
  12884.     TextChatService.MessageReceived:Connect(function(message)
  12885.         if message.TextSource then
  12886.             local player = Players:GetPlayerByUserId(message.TextSource.UserId)
  12887.             if not player then return end
  12888.  
  12889.             if logsEnabled == true then
  12890.                 CreateLabel(player.Name, message.Text)
  12891.             end
  12892.             if player.UserId == Players.LocalPlayer.UserId then
  12893.                 do_exec(message.Text, Players.LocalPlayer)
  12894.             end
  12895.             eventEditor.FireEvent("OnChatted", player.Name, message.Text)
  12896.             sendChatWebhook(player, message.Text)
  12897.         end
  12898.     end)
  12899. end
  12900.  
  12901. for _,plr in pairs(Players:GetPlayers()) do
  12902.     pcall(function()
  12903.         plr.CharacterAdded:Connect(function() eventEditor.FireEvent("OnSpawn",tostring(plr)) hookCharEvents(plr) end)
  12904.         hookCharEvents(plr)
  12905.     end)
  12906. end
  12907.  
  12908. if spawnCmds and #spawnCmds > 0 then
  12909.     for i,v in pairs(spawnCmds) do
  12910.         eventEditor.AddCmd("OnSpawn",{v.COMMAND or "",{0},v.DELAY or 0})
  12911.     end
  12912.     updatesaves()
  12913. end
  12914.  
  12915. if loadedEventData then eventEditor.LoadData(loadedEventData) end
  12916. eventEditor.Refresh()
  12917.  
  12918. eventEditor.FireEvent("OnExecute")
  12919.  
  12920. if aliases and #aliases > 0 then
  12921.     local cmdMap = {}
  12922.     for i,v in pairs(cmds) do
  12923.         cmdMap[v.NAME:lower()] = v
  12924.         for _,alias in pairs(v.ALIAS) do
  12925.             cmdMap[alias:lower()] = v
  12926.         end
  12927.     end
  12928.     for i = 1, #aliases do
  12929.         local cmd = string.lower(aliases[i].CMD)
  12930.         local alias = string.lower(aliases[i].ALIAS)
  12931.         if cmdMap[cmd] then
  12932.             customAlias[alias] = cmdMap[cmd]
  12933.         end
  12934.     end
  12935.     refreshaliases()
  12936. end
  12937.  
  12938. IYMouse.Move:Connect(checkTT)
  12939.  
  12940. CaptureService.CaptureBegan:Connect(function()
  12941.     PARENT.Enabled = false
  12942. end)
  12943.  
  12944. CaptureService.CaptureEnded:Connect(function()
  12945.     task.delay(0.1, function()
  12946.         PARENT.Enabled = true
  12947.     end)
  12948. end)
  12949.  
  12950. task.spawn(function()
  12951.     local success, latestVersionInfo = pcall(function()
  12952.         local versionJson = game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/version")
  12953.         return HttpService:JSONDecode(versionJson)
  12954.     end)
  12955.  
  12956.     if success then
  12957.         if currentVersion ~= latestVersionInfo.Version then
  12958.             notify("Outdated", "Get the new version at infyiff.github.io")
  12959.         end
  12960.  
  12961.         if latestVersionInfo.Announcement and latestVersionInfo.Announcement ~= "" then
  12962.             local AnnGUI = Instance.new("Frame")
  12963.             local background = Instance.new("Frame")
  12964.             local TextBox = Instance.new("TextLabel")
  12965.             local shadow = Instance.new("Frame")
  12966.             local PopupText = Instance.new("TextLabel")
  12967.             local Exit = Instance.new("TextButton")
  12968.             local ExitImage = Instance.new("ImageLabel")
  12969.  
  12970.             AnnGUI.Name = randomString()
  12971.             AnnGUI.Parent = ScaledHolder
  12972.             AnnGUI.Active = true
  12973.             AnnGUI.BackgroundTransparency = 1
  12974.             AnnGUI.Position = UDim2.new(0.5, -180, 0, -500)
  12975.             AnnGUI.Size = UDim2.new(0, 360, 0, 20)
  12976.             AnnGUI.ZIndex = 10
  12977.  
  12978.             background.Name = "background"
  12979.             background.Parent = AnnGUI
  12980.             background.Active = true
  12981.             background.BackgroundColor3 = currentShade1
  12982.             background.BorderSizePixel = 0
  12983.             background.Position = UDim2.new(0, 0, 0, 20)
  12984.             background.Size = UDim2.new(0, 360, 0, 150)
  12985.             background.ZIndex = 10
  12986.  
  12987.             TextBox.Parent = background
  12988.             TextBox.BackgroundTransparency = 1
  12989.             TextBox.Position = UDim2.new(0, 5, 0, 5)
  12990.             TextBox.Size = UDim2.new(0, 350, 0, 140)
  12991.             TextBox.Font = Enum.Font.SourceSans
  12992.             TextBox.TextSize = 18
  12993.             TextBox.TextWrapped = true
  12994.             TextBox.Text = latestVersionInfo.Announcement
  12995.             TextBox.TextColor3 = currentText1
  12996.             TextBox.TextXAlignment = Enum.TextXAlignment.Left
  12997.             TextBox.TextYAlignment = Enum.TextYAlignment.Top
  12998.             TextBox.ZIndex = 10
  12999.  
  13000.             shadow.Name = "shadow"
  13001.             shadow.Parent = AnnGUI
  13002.             shadow.BackgroundColor3 = currentShade2
  13003.             shadow.BorderSizePixel = 0
  13004.             shadow.Size = UDim2.new(0, 360, 0, 20)
  13005.             shadow.ZIndex = 10
  13006.  
  13007.             PopupText.Name = "PopupText"
  13008.             PopupText.Parent = shadow
  13009.             PopupText.BackgroundTransparency = 1
  13010.             PopupText.Size = UDim2.new(1, 0, 0.95, 0)
  13011.             PopupText.ZIndex = 10
  13012.             PopupText.Font = Enum.Font.SourceSans
  13013.             PopupText.TextSize = 14
  13014.             PopupText.Text = "Server Announcement"
  13015.             PopupText.TextColor3 = currentText1
  13016.             PopupText.TextWrapped = true
  13017.  
  13018.             Exit.Name = "Exit"
  13019.             Exit.Parent = shadow
  13020.             Exit.BackgroundTransparency = 1
  13021.             Exit.Position = UDim2.new(1, -20, 0, 0)
  13022.             Exit.Size = UDim2.new(0, 20, 0, 20)
  13023.             Exit.Text = ""
  13024.             Exit.ZIndex = 10
  13025.  
  13026.             ExitImage.Parent = Exit
  13027.             ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
  13028.             ExitImage.BackgroundTransparency = 1
  13029.             ExitImage.Position = UDim2.new(0, 5, 0, 5)
  13030.             ExitImage.Size = UDim2.new(0, 10, 0, 10)
  13031.             ExitImage.Image = getcustomasset("infiniteyield/assets/close.png")
  13032.             ExitImage.ZIndex = 10
  13033.  
  13034.             wait(1)
  13035.             AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil)
  13036.  
  13037.             Exit.MouseButton1Click:Connect(function()
  13038.                 AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  13039.                 wait(0.6)
  13040.                 AnnGUI:Destroy()
  13041.             end)
  13042.         end
  13043.     end
  13044. end)
  13045.  
  13046. task.spawn(function()
  13047.     wait()
  13048.     Credits:TweenPosition(UDim2.new(0, 0, 0.9, 0), "Out", "Quart", 0.2)
  13049.     Logo:TweenSizeAndPosition(UDim2.new(0, 175, 0, 175), UDim2.new(0, 37, 0, 45), "Out", "Quart", 0.3)
  13050.     wait(1)
  13051.     local OutInfo = TweenInfo.new(1.6809, Enum.EasingStyle.Sine, Enum.EasingDirection.Out, 0, false, 0)
  13052.     TweenService:Create(Logo, OutInfo, {ImageTransparency = 1}):Play()
  13053.     TweenService:Create(IntroBackground, OutInfo, {BackgroundTransparency = 1}):Play()
  13054.     Credits:TweenPosition(UDim2.new(0, 0, 0.9, 30), "Out", "Quart", 0.2)
  13055.     wait(0.2)
  13056.     Logo:Destroy()
  13057.     Credits:Destroy()
  13058.     IntroBackground:Destroy()
  13059.     minimizeHolder()
  13060. end)
Add Comment
Please, Sign In to add comment