kolijake

Script Hub

Aug 12th, 2020
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 429.09 KB | None | 0 0
  1. -- My Only Gui
  2.  
  3. -- Instances:
  4.  
  5. local ScreenGui = Instance.new("ScreenGui")
  6. local Frame = Instance.new("Frame")
  7. local mm2GUI = Instance.new("TextButton")
  8. local InfiniteYield = Instance.new("TextButton")
  9. local VynixusGUI = Instance.new("TextButton")
  10. local title = Instance.new("TextLabel")
  11.  
  12. --Properties:
  13.  
  14. ScreenGui.Parent = game.CoreGui
  15. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  16.  
  17. Frame.Parent = ScreenGui
  18. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  19. Frame.Position = UDim2.new(0.262678802, 0, 0.320079535, 0)
  20. Frame.Size = UDim2.new(0, 348, 0, 232)
  21. Frame.Style = Enum.FrameStyle.ChatRed
  22. Frame.Active = true
  23. Frame.Draggable =true
  24.  
  25. mm2GUI.Name = "mm2 GUI"
  26. mm2GUI.Parent = Frame
  27. mm2GUI.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  28. mm2GUI.Position = UDim2.new(0.538264632, 0, 0.0122993588, 0)
  29. mm2GUI.Size = UDim2.new(0, 144, 0, 38)
  30. mm2GUI.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  31. mm2GUI.Font = Enum.Font.SciFi
  32. mm2GUI.Text = "mm2 GUI"
  33. mm2GUI.TextColor3 = Color3.fromRGB(0, 0, 0)
  34. mm2GUI.TextSize = 19.000
  35. mm2GUI.MouseButton1Down:connect(function()
  36. if game.PlaceId == 142823291 then --Proofing just because ;)
  37. --Note: Don't reset with godmode on or you will be stuck on a black screen for a reasonable amount of time
  38. --Change to false if you dont like printing to console
  39. local printvar = true
  40. --Change to true if you want to see names instead of murderer, sheriff, and innocents with esp
  41. local espnames = true
  42. --Change keybinds to your liking
  43. local coinkey = "c" --Coin grabber keybind
  44. local MSkey = "v" --Murderer/Sheriff esp keybind
  45. local playerskey = "q" --All players esp keybind
  46. local espoffkey = "b" --Turn esp off keybind
  47. local flykey = "f" --Fly keybind
  48. local noclipkey = "r" --Noclip keybind
  49. local godmodekey = "g" --Godmode keybind
  50. local xrayonkey = "x" --Xray on keybind
  51. local xrayoffkey = "z" --Xray off keybind
  52. local bringgunkey = "t" --Teleport to gun keybind
  53. local hideshowguikey = "e" --Show/Hide gui keybind
  54. --End of easy customization options
  55.  
  56. --Gui Buttons and Status--
  57. local MM2 = Instance.new("ScreenGui")
  58. local Main = Instance.new("Frame")
  59. local Title = Instance.new("TextLabel")
  60. local Coin = Instance.new("TextButton")
  61. local MSEsp = Instance.new("TextButton")
  62. local MSESPActive = Instance.new("TextLabel")
  63. local PlayersEsp = Instance.new("TextButton")
  64. local PlayersEspActive = Instance.new("TextLabel")
  65. local EspOff = Instance.new("TextButton")
  66. local EspOffActive = Instance.new("TextLabel")
  67. local Run = Instance.new("TextButton")
  68. local RunActiveGui = Instance.new("TextLabel")
  69. local Fly = Instance.new("TextButton")
  70. local FlyActive = Instance.new("TextLabel")
  71. local Noclip = Instance.new("TextButton")
  72. local NoclipActive = Instance.new("TextLabel")
  73. local GodMode = Instance.new("TextButton")
  74. local GodModeActive = Instance.new("TextLabel")
  75. local GuiXrayOn = Instance.new("TextButton")
  76. local GuiXrayOnActive = Instance.new("TextLabel")
  77. local GuiXrayOff = Instance.new("TextButton")
  78. local GuiXrayOffActive = Instance.new("TextLabel")
  79. local BringGun = Instance.new("TextButton")
  80. local Keybinds = Instance.new("TextButton")
  81. local KeybindsActive = Instance.new("TextLabel")
  82. local Hide = Instance.new("TextButton")
  83. local Show = Instance.new("TextButton")
  84.  
  85. --Other Variables
  86. local runActive = false
  87. local teamname = "None"
  88. local murderer = "None"
  89. local sheriff = "None"
  90. local player = game:GetService("Players").LocalPlayer
  91.  
  92. local esp = false
  93. local plresp
  94. local track = false
  95.  
  96. local NClip = false
  97. local char = game.Players.LocalPlayer.Character
  98. local obj = game.workspace
  99. local mouse=game.Players.LocalPlayer:GetMouse()
  100. local LP = game:GetService("Players").LocalPlayer
  101. local flyvar = false
  102.  
  103. local showvar = true
  104. local inputcode = game:GetService("UserInputService")
  105. local godmodevar = false
  106. local keyOff = false
  107. local NClip = false
  108.  
  109. --Start of Gui--
  110. MM2.Name = "MM2"
  111. MM2.Parent = game.CoreGui
  112. MM2.ResetOnSpawn = false
  113.  
  114. Main.Name = "Main"
  115. Main.Parent = MM2
  116. Main.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  117. Main.BorderColor3 = Color3.new(0, 0.607843, 1)
  118. Main.BorderSizePixel = 5
  119. Main.Draggable = true
  120. Main.Position = UDim2.new(0.574999988, 0, 0.349999994, 0)
  121. Main.Size = UDim2.new(0.2, 0, 0.4, 0)
  122. Main.Visible = true
  123. Main.Active = true
  124.  
  125. Title.Name = "Title"
  126. Title.Parent = Main
  127. Title.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  128. Title.BorderColor3 = Color3.new(0, 0.607843, 1)
  129. Title.BorderSizePixel = 5
  130. Title.Draggable = true
  131. Title.Size = UDim2.new(1.005, 0, 0.2, 0)
  132. Title.ZIndex = 3
  133. Title.Font = Enum.Font.SciFi
  134. Title.FontSize = Enum.FontSize.Size24
  135. Title.Text = "Murder Mystery 2"
  136. Title.TextColor3 = Color3.new(0, 0.607843, 1)
  137. Title.TextScaled = true
  138. Title.TextSize = 20
  139. Title.TextStrokeColor3 = Color3.new(0.129412, 0.54902, 1)
  140. Title.TextWrapped = true
  141.  
  142. --Start of functions for buttons--
  143. function Create(base, team, colors1, colors2, colors3, teamname) --For all esps
  144. local bb = Instance.new("BillboardGui",player.PlayerGui)
  145. bb.Adornee = base
  146. bb.ExtentsOffset = Vector3.new(0,1,0)
  147. bb.AlwaysOnTop = true
  148. bb.Size = UDim2.new(0,5,0,5)
  149. bb.StudsOffset = Vector3.new(0,1,0)
  150. bb.Name = "tracker"
  151. local frame = Instance.new("Frame",bb)
  152. frame.ZIndex = 10
  153. frame.BackgroundTransparency = 0.3
  154. frame.Size = UDim2.new(1,0,1,0)
  155. local txtlbl = Instance.new("TextLabel",bb)
  156. txtlbl.ZIndex = 10
  157. txtlbl.Text = teamname
  158. txtlbl.BackgroundTransparency = 1
  159. txtlbl.Position = UDim2.new(0,0,0,-35)
  160. txtlbl.Size = UDim2.new(1,0,10,0)
  161. txtlbl.Font = "ArialBold"
  162. txtlbl.FontSize = "Size12"
  163. txtlbl.TextStrokeTransparency = 0.5
  164. if team then --For teams, left over from origianl but never removed
  165. txtlbl.TextColor3 = Color3.new(0,0,255)
  166. frame.BackgroundColor3 = Color3.new(0,0,255)
  167. else
  168. txtlbl.TextColor3 = Color3.new(colors1,colors2,colors3)
  169. frame.BackgroundColor3 = Color3.new(colors1,colors2,colors3)
  170. end
  171. end
  172.  
  173. function findmurderer() --Find who the murderer is
  174. local colors1 = 255
  175. local colors2 = 0
  176. local colors3 = 0
  177. for i, v in pairs(game:GetService("Players"):GetChildren()) do
  178. if v ~= game:GetService("Players").LocalPlayer then
  179. for i,v in pairs(v.Backpack:GetChildren()) do --Checks backpack for knife
  180. if v.Name == "Knife" then
  181. if espnames == true then
  182. local teamname = v.Parent.Parent.Name
  183. if v.Parent.Parent.Character.Head ~= nil then
  184. Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
  185. else
  186. if printvar == true then
  187. print("Head missing from murderer!")
  188. end
  189. end
  190. elseif espnames == false then
  191. local teamname = "Murderer"
  192. if v.Parent.Parent.Character.Head ~= nil then
  193. Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
  194. else
  195. if printvar == true then
  196. print("Head missing from murderer!")
  197. end
  198. end
  199. end
  200. murderer = v.Parent.Parent.Name
  201. if printvar == true then
  202. print(murderer.." is Murderer")
  203. end
  204. end
  205. end
  206. for i,v in pairs(v.Character:GetChildren()) do --Checks workspace player for knife (holding it)
  207. if v.Name == "Knife" then
  208. if espnames == true then
  209. local teamname = v.Parent.Name
  210. if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
  211. Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
  212. else
  213. if printvar == true then
  214. print("Head missing from murderer!")
  215. end
  216. end
  217. elseif espnames == false then
  218. local teamname = "Murderer"
  219. if v.Parent.Head ~= nil then
  220. Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
  221. else
  222. if printvar == true then
  223. print("Head missing from murderer!")
  224. end
  225. end
  226. end
  227. murderer = v.Parent.Name
  228. if printvar == true then --Tried to failproof to stop printing nil
  229. local murderer1 = tostring(v.Parent.Name)
  230. print(murderer1.." is Murderer")
  231. end
  232. end
  233. end
  234. end
  235. end
  236. end
  237.  
  238. function findsheriff() --Find who the sheriff is
  239. local colors1 = 0
  240. local colors2 = 0
  241. local colors3 = 255
  242. for i, v in pairs(game:GetService("Players"):GetChildren()) do
  243. if v ~= game:GetService("Players").LocalPlayer then
  244. for i,v in pairs(v.Backpack:GetChildren()) do
  245. if v.Name == "Revolver" or v.Name == "Gun" then --Lazy to check if its revolver or gun and checks backpack for gun
  246. if espnames == true then
  247. local teamname = v.Parent.Parent.Name
  248. if v.Parent.Parent.Character.Head ~= nil then --Tried to failproof to stop printing nil
  249. Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
  250. else
  251. if printvar == true then
  252. print("Head missing from sheriff!")
  253. end
  254. end
  255. elseif espnames == false then
  256. local teamname = "Sheriff"
  257. if v.Parent.Parent.Character.Head ~= nil then --Tried to failproof to stop printing nil
  258. Create(v.Parent.Parent.Character.Head, false, colors1 ,colors2, colors3, teamname)
  259. else
  260. if printvar == true then
  261. print("Head missing from sheriff!")
  262. end
  263. end
  264. end
  265. sheriff = v.Parent.Parent.Name
  266. if printvar == true then
  267. local sheriff1 = tostring(v.Parent.Parent.Name)
  268. print(sheriff1.." is Sheriff")
  269. end
  270. end
  271. end
  272. for i,v in pairs(v.Character:GetChildren()) do
  273. if v.Name == "Revolver" or v.Name == "Gun" then --Lazy to check if its revolver or gun and checks workspace player for gun (holding it)
  274. if espnames == true then
  275. local teamname = v.Parent.Name
  276. if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
  277. Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
  278. else
  279. if printvar == true then
  280. print("Head missing from sheriff!")
  281. end
  282. end
  283. elseif espnames == false then
  284. local teamname = "Sheriff"
  285. if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
  286. Create(v.Parent.Head, false, colors1 ,colors2, colors3, teamname)
  287. else
  288. if printvar == true then
  289. print("Head missing from sheriff!")
  290. end
  291. end
  292. end
  293. sheriff = v.Parent.Name
  294. if printvar == true then
  295. local sheriff1 = tostring(v.Parent.Name)
  296. print(sheriff1.." is Sheriff")
  297. end
  298. end
  299. end
  300. end
  301. end
  302. end
  303.  
  304. function findplayers() --Find all players but local player
  305. findmurderer() --Finds murderer
  306. findsheriff() --Finds sheriff
  307. local colors1 = 0
  308. local colors2 = 255
  309. local colors3 = 0
  310. for i, v in pairs(game:GetService("Players"):GetChildren()) do
  311. if v ~= game:GetService("Players").LocalPlayer then --If not local player
  312. if v.Name ~= murderer then --If not murderer
  313. if v.Name ~= sheriff then --If not sheriff
  314. if espnames == true then
  315. local teamname = v.Name
  316. if v.Character.Head ~= nil then --Tried to failproof to stop printing nil
  317. Create(v.Character.Head, false, colors1 ,colors2, colors3, teamname)
  318. else
  319. if printvar == true then
  320. print("Head missing from sheriff!")
  321. end
  322. end
  323. elseif espnames == false then
  324. local teamname = "Innocents"
  325. if v.Parent.Head ~= nil then --Tried to failproof to stop printing nil
  326. Create(v.Character.Head, false, colors1 ,colors2, colors3, teamname)
  327. else
  328. if printvar == true then
  329. print("Head missing from sheriff!")
  330. end
  331. end
  332. end
  333. end
  334. end
  335. end
  336. end
  337. end
  338.  
  339. function Clear() --Clears all the esps
  340. for _,v in pairs(player.PlayerGui:children()) do
  341. if v.Name == "tracker" and v:isA("BillboardGui") then
  342. v:Destroy()
  343. end
  344. end
  345. end
  346.  
  347. function XrayOn(obj) --Enables xray
  348. for _,v in pairs(obj:GetChildren()) do
  349. if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then
  350. v.LocalTransparencyModifier = 0.75
  351. end
  352. XrayOn(v)
  353. end
  354. end
  355.  
  356. function XrayOff(obj) --Disables xray
  357. for _,v in pairs(obj:GetChildren()) do
  358. if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then
  359. v.LocalTransparencyModifier = 0
  360. end XrayOff(v)
  361. end
  362. end
  363.  
  364. function sFLY() --Fly function
  365. repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('Torso') and LP.Character:FindFirstChild('Humanoid')
  366. repeat wait() until mouse
  367.  
  368. local T = LP.Character.Torso
  369. local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  370. local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  371. local SPEED = 0
  372.  
  373. local function FLY()
  374. FLYING = true
  375. local BG = Instance.new('BodyGyro', T)
  376. local BV = Instance.new('BodyVelocity', T)
  377. BG.P = 9e4
  378. BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  379. BG.cframe = T.CFrame
  380. BV.velocity = Vector3.new(0, 0.1, 0)
  381. BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  382. spawn(function()
  383. repeat wait()
  384. LP.Character.Humanoid.PlatformStand = true
  385. if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  386. SPEED = 50
  387. elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  388. SPEED = 0
  389. end
  390. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  391. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  392. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  393. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  394. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  395. else
  396. BV.velocity = Vector3.new(0, 0.1, 0)
  397. end
  398. BG.cframe = workspace.CurrentCamera.CoordinateFrame
  399. until not FLYING
  400. CONTROL = {F = 0, B = 0, L = 0, R = 0}
  401. lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  402. SPEED = 0
  403. BG:destroy()
  404. BV:destroy()
  405. LP.Character.Humanoid.PlatformStand = false
  406. end)
  407. end
  408.  
  409. mouse.KeyDown:connect(function(KEY)
  410. if KEY:lower() == 'w' then
  411. CONTROL.F = 1
  412. elseif KEY:lower() == 's' then
  413. CONTROL.B = -1
  414. elseif KEY:lower() == 'a' then
  415. CONTROL.L = -1
  416. elseif KEY:lower() == 'd' then
  417. CONTROL.R = 1
  418. end
  419. end)
  420.  
  421. mouse.KeyUp:connect(function(KEY)
  422. if KEY:lower() == 'w' then
  423. CONTROL.F = 0
  424. elseif KEY:lower() == 's' then
  425. CONTROL.B = 0
  426. elseif KEY:lower() == 'a' then
  427. CONTROL.L = 0
  428. elseif KEY:lower() == 'd' then
  429. CONTROL.R = 0
  430. end
  431. end)
  432. FLY()
  433. end
  434.  
  435. function NOFLY() --Unfly function
  436. FLYING = false
  437. LP.Character.Humanoid.PlatformStand = false
  438. end
  439.  
  440. local noclipcoro = coroutine.wrap(function() --Noclip function
  441. while true do
  442. if NClip == true then
  443. if game.Players ~= nil then
  444. if game.Players.LocalPlayer ~= nil then
  445. if game.Players.LocalPlayer.Character ~= nil then
  446. if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then
  447. if game.Players.LocalPlayer.Character:FindFirstChild("Head") ~= nil then
  448. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  449. game.Players.LocalPlayer.Character.Head.CanCollide = false
  450. end
  451. end
  452. end
  453. end
  454. end
  455. end
  456. game:service("RunService").Stepped:wait()
  457. end
  458. end)
  459.  
  460. noclipcoro() --For noclip to work
  461.  
  462. game:GetService("Players").LocalPlayer.CharacterAdded:connect(function(character) --Resets specific things for ease
  463. flyvar = false
  464. FlyActive.Text = "Inactive"
  465. FlyActive.TextColor3 = Color3.new(1, 0, 1)
  466. godmodevar = false
  467. GodModeActive.Text = "Inactive"
  468. GodModeActive.TextColor3 = Color3.new(1, 0, 1)
  469. Clear()
  470. MSESPActive.Text = "Inactive"
  471. MSESPActive.TextColor3 = Color3.new(1, 0, 1)
  472. PlayersEspActive.Text = "Inactive"
  473. PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
  474. EspOffActive.Text = "Active"
  475. EspOffActive.TextColor3 = Color3.new(0, 1, 0)
  476. end)
  477.  
  478. mouse.KeyDown:connect(function(KeyDown) --If shift is held, run
  479. if KeyDown == "0" and runActive == false and keyOff == false then
  480. runActive = true
  481. player.Character.Humanoid.WalkSpeed = 32
  482. RunActiveGui.Text = "Active"
  483. RunActiveGui.TextColor3 = Color3.new(0, 1, 0)
  484. end
  485. end)
  486.  
  487. mouse.KeyUp:connect(function(KeyUp) --If shift is released, walk
  488. if KeyUp == "0" and runActive == true and keyOff == false then
  489. runActive = false
  490. player.Character.Humanoid.WalkSpeed = 16
  491. RunActiveGui.Text = "Inactive"
  492. RunActiveGui.TextColor3 = Color3.new(1, 0, 1)
  493. end
  494. end)
  495.  
  496. function coingrabberfunc() --Coin grabber function
  497. local children = game.Workspace:GetChildren()
  498. for _, child in pairs(children) do
  499. for _, child in pairs(child:GetChildren()) do
  500. table.insert(children, child)
  501. end
  502. if child:IsA("BasePart") and child.Name == "Coin" then
  503. child.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  504. end
  505. end
  506. end
  507.  
  508. function godmodefunc() --Godmode function
  509. local player = game.Players.LocalPlayer
  510. if player.Character then
  511. if player.Character:FindFirstChild("Humanoid") then
  512. player.Character.Humanoid.Name = "1"
  513. end
  514. local l = player.Character["1"]:Clone()
  515. l.Parent = player.Character
  516. l.Name = "Humanoid"; wait(0.1)
  517. player.Character["1"]:Destroy()
  518. workspace.CurrentCamera.CameraSubject = player.Character.Humanoid
  519. player.Character.Animate.Disabled = true; wait(0.1)
  520. player.Character.Animate.Disabled = false
  521. end
  522. end
  523.  
  524. --Coin Grabber--
  525. Coin.Name = "CoinGrabber"
  526. Coin.Parent = Main
  527. Coin.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  528. Coin.BorderColor3 = Color3.new(0, 0.607843, 1)
  529. Coin.BorderSizePixel = 5
  530. Coin.Position = UDim2.new(0, 0, 0.215, 0)
  531. Coin.Size = UDim2.new(1.005, 0, 0.08, 0)
  532. Coin.ZIndex = 4
  533. Coin.Font = Enum.Font.SciFi
  534. Coin.FontSize = Enum.FontSize.Size24
  535. Coin.Text = "Coin Grabber ["..string.upper(coinkey).."]"
  536. Coin.TextColor3 = Color3.fromRGB(255, 255, 26)
  537. Coin.TextSize = 20
  538. Coin.TextWrapped = true
  539. Coin.MouseButton1Down:connect(function(x, y)
  540. coingrabberfunc()
  541. end)
  542.  
  543. --Murderer/Sheriff Esp--
  544. MSESPActive.Name = "MSEspActive"
  545. MSESPActive.Parent = Main
  546. MSESPActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  547. MSESPActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  548. MSESPActive.BorderSizePixel = 5
  549. MSESPActive.Position = UDim2.new(0.755, 0, 0.315, 0)
  550. MSESPActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  551. MSESPActive.ZIndex = 4
  552. MSESPActive.Font = Enum.Font.SciFi
  553. MSESPActive.FontSize = Enum.FontSize.Size24
  554. MSESPActive.Text = "Inactive"
  555. MSESPActive.TextColor3 = Color3.new(1, 0, 1)
  556. MSESPActive.TextSize = 20
  557. MSESPActive.TextWrapped = true
  558.  
  559. MSEsp.Name = "MSEsp"
  560. MSEsp.Parent = Main
  561. MSEsp.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  562. MSEsp.BorderColor3 = Color3.new(0, 0.607843, 1)
  563. MSEsp.BorderSizePixel = 5
  564. MSEsp.Position = UDim2.new(0, 0, 0.315, 0)
  565. MSEsp.Size = UDim2.new(0.75, 0, 0.08, 0)
  566. MSEsp.ZIndex = 4
  567. MSEsp.Font = Enum.Font.SciFi
  568. MSEsp.FontSize = Enum.FontSize.Size24
  569. MSEsp.Text = "Murderer/Sheriff Esp ["..string.upper(MSkey).."]"
  570. MSEsp.TextColor3 = Color3.fromRGB(255, 102, 255)
  571. MSEsp.TextSize = 20
  572. MSEsp.TextWrapped = true
  573. MSEsp.MouseButton1Down:connect(function(x, y)
  574. murderer = "None"
  575. sheriff = "None"
  576. Clear()
  577. findmurderer()
  578. findsheriff()
  579. if printvar == true then
  580. print("Murderer/Sheriff")
  581. end
  582. MSESPActive.Text = "Active"
  583. MSESPActive.TextColor3 = Color3.new(0, 1, 0)
  584. PlayersEspActive.Text = "Inactive"
  585. PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
  586. EspOffActive.Text = "Inactive"
  587. EspOffActive.TextColor3 = Color3.new(1, 0, 1)
  588. end)
  589.  
  590. --All Players Esp
  591. PlayersEspActive.Name = "PlayersEspActive"
  592. PlayersEspActive.Parent = Main
  593. PlayersEspActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  594. PlayersEspActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  595. PlayersEspActive.BorderSizePixel = 5
  596. PlayersEspActive.Position = UDim2.new(0.755, 0, 0.415, 0)
  597. PlayersEspActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  598. PlayersEspActive.ZIndex = 4
  599. PlayersEspActive.Font = Enum.Font.SciFi
  600. PlayersEspActive.FontSize = Enum.FontSize.Size24
  601. PlayersEspActive.Text = "Inactive"
  602. PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
  603. PlayersEspActive.TextSize = 20
  604. PlayersEspActive.TextWrapped = true
  605.  
  606. PlayersEsp.Name = "PlayersEsp"
  607. PlayersEsp.Parent = Main
  608. PlayersEsp.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  609. PlayersEsp.BorderColor3 = Color3.new(0, 0.607843, 1)
  610. PlayersEsp.BorderSizePixel = 5
  611. PlayersEsp.Position = UDim2.new(0, 0, 0.415, 0)
  612. PlayersEsp.Size = UDim2.new(0.75, 0, 0.08, 0)
  613. PlayersEsp.ZIndex = 4
  614. PlayersEsp.Font = Enum.Font.SciFi
  615. PlayersEsp.FontSize = Enum.FontSize.Size24
  616. PlayersEsp.Text = "All Players Esp ["..string.upper(playerskey).."]"
  617. PlayersEsp.TextColor3 = Color3.fromRGB(102, 255, 51)
  618. PlayersEsp.TextSize = 20
  619. PlayersEsp.TextWrapped = true
  620. PlayersEsp.MouseButton1Down:connect(function(x, y)
  621. Clear()
  622. if printvar == true then
  623. print("Players Esp")
  624. end
  625. MSESPActive.Text = "Inactive"
  626. MSESPActive.TextColor3 = Color3.new(1, 0, 1)
  627. PlayersEspActive.Text = "Active"
  628. PlayersEspActive.TextColor3 = Color3.new(0, 1, 0)
  629. EspOffActive.Text = "Inactive"
  630. EspOffActive.TextColor3 = Color3.new(1, 0, 1)
  631. findplayers()
  632. end)
  633.  
  634. --Esp Off
  635. EspOffActive.Name = "EspOffActive"
  636. EspOffActive.Parent = Main
  637. EspOffActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  638. EspOffActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  639. EspOffActive.BorderSizePixel = 5
  640. EspOffActive.Position = UDim2.new(0.755, 0, 0.515, 0)
  641. EspOffActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  642. EspOffActive.ZIndex = 4
  643. EspOffActive.Font = Enum.Font.SciFi
  644. EspOffActive.FontSize = Enum.FontSize.Size24
  645. EspOffActive.Text = "Active"
  646. EspOffActive.TextColor3 = Color3.new(0, 1, 0)
  647. EspOffActive.TextSize = 20
  648. EspOffActive.TextWrapped = true
  649.  
  650. EspOff.Name = "EspOff"
  651. EspOff.Parent = Main
  652. EspOff.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  653. EspOff.BorderColor3 = Color3.new(0, 0.607843, 1)
  654. EspOff.BorderSizePixel = 5
  655. EspOff.Position = UDim2.new(0, 0, 0.515, 0)
  656. EspOff.Size = UDim2.new(0.75, 0, 0.08, 0)
  657. EspOff.ZIndex = 4
  658. EspOff.Font = Enum.Font.SciFi
  659. EspOff.FontSize = Enum.FontSize.Size24
  660. EspOff.Text = "Esp Off ["..string.upper(espoffkey).."]"
  661. EspOff.TextColor3 = Color3.fromRGB(255, 255, 255)
  662. EspOff.TextSize = 20
  663. EspOff.TextWrapped = true
  664. EspOff.MouseButton1Down:connect(function(x, y)
  665. Clear()
  666. if printvar == true then
  667. print("Esp Off")
  668. end
  669. MSESPActive.Text = "Inactive"
  670. MSESPActive.TextColor3 = Color3.new(1, 0, 1)
  671. PlayersEspActive.Text = "Inactive"
  672. PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
  673. EspOffActive.Text = "Active"
  674. EspOffActive.TextColor3 = Color3.new(0, 1, 0)
  675. end)
  676.  
  677. --Run
  678. RunActiveGui.Name = "RunActiveGui"
  679. RunActiveGui.Parent = Main
  680. RunActiveGui.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  681. RunActiveGui.BorderColor3 = Color3.new(0, 0.607843, 1)
  682. RunActiveGui.BorderSizePixel = 5
  683. RunActiveGui.Position = UDim2.new(0.755, 0, 0.615, 0)
  684. RunActiveGui.Size = UDim2.new(0.25, 0, 0.08, 0)
  685. RunActiveGui.ZIndex = 4
  686. RunActiveGui.Font = Enum.Font.SciFi
  687. RunActiveGui.FontSize = Enum.FontSize.Size24
  688. RunActiveGui.Text = "Inactive"
  689. RunActiveGui.TextColor3 = Color3.new(1, 0, 1)
  690. RunActiveGui.TextSize = 20
  691. RunActiveGui.TextWrapped = true
  692.  
  693. Run.Name = "Run"
  694. Run.Parent = Main
  695. Run.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  696. Run.BorderColor3 = Color3.new(0, 0.607843, 1)
  697. Run.BorderSizePixel = 5
  698. Run.Position = UDim2.new(0, 0, 0.615, 0)
  699. Run.Size = UDim2.new(0.75, 0, 0.08, 0)
  700. Run.ZIndex = 4
  701. Run.Font = Enum.Font.SciFi
  702. Run.FontSize = Enum.FontSize.Size24
  703. Run.Text = "Run [Shift]"
  704. Run.TextColor3 = Color3.fromRGB(255, 51, 0)
  705. Run.TextSize = 20
  706. Run.TextWrapped = true
  707. Run.MouseButton1Down:connect(function(x, y)
  708. if runActive == false then
  709. runActive = true
  710. player.Character.Humanoid.WalkSpeed = 32
  711. RunActiveGui.Text = "Active"
  712. RunActiveGui.TextColor3 = Color3.new(0, 1, 0)
  713. elseif runActive == true then
  714. runActive = false
  715. player.Character.Humanoid.WalkSpeed = 16
  716. RunActiveGui.Text = "Inactive"
  717. RunActiveGui.TextColor3 = Color3.new(1, 0, 1)
  718. end
  719. end)
  720.  
  721. --Fly
  722. FlyActive.Name = "FlyActive"
  723. FlyActive.Parent = Main
  724. FlyActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  725. FlyActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  726. FlyActive.BorderSizePixel = 5
  727. FlyActive.Position = UDim2.new(0.755, 0, 0.715, 0)
  728. FlyActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  729. FlyActive.ZIndex = 4
  730. FlyActive.Font = Enum.Font.SciFi
  731. FlyActive.FontSize = Enum.FontSize.Size24
  732. FlyActive.Text = "Inactive"
  733. FlyActive.TextColor3 = Color3.new(1, 0, 1)
  734. FlyActive.TextSize = 20
  735. FlyActive.TextWrapped = true
  736.  
  737. Fly.Name = "Fly"
  738. Fly.Parent = Main
  739. Fly.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  740. Fly.BorderColor3 = Color3.new(0, 0.607843, 1)
  741. Fly.BorderSizePixel = 5
  742. Fly.Position = UDim2.new(0, 0, 0.715, 0)
  743. Fly.Size = UDim2.new(0.75, 0, 0.08, 0)
  744. Fly.ZIndex = 4
  745. Fly.Font = Enum.Font.SciFi
  746. Fly.FontSize = Enum.FontSize.Size24
  747. Fly.Text = "Fly ["..string.upper(flykey).."]"
  748. Fly.TextColor3 = Color3.fromRGB(204, 255, 255)
  749. Fly.TextSize = 20
  750. Fly.TextWrapped = true
  751. Fly.MouseButton1Down:connect(function(x, y)
  752. if flyvar == false then
  753. sFLY()
  754. flyvar = true
  755. FlyActive.Text = "Active"
  756. FlyActive.TextColor3 = Color3.new(0, 1, 0)
  757. elseif flyvar == true then
  758. flyvar = false
  759. NOFLY()
  760. FlyActive.Text = "Inactive"
  761. FlyActive.TextColor3 = Color3.new(1, 0, 1)
  762. end
  763. end)
  764.  
  765. --Noclip
  766. NoclipActive.Name = "NoclipActive"
  767. NoclipActive.Parent = Main
  768. NoclipActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  769. NoclipActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  770. NoclipActive.BorderSizePixel = 5
  771. NoclipActive.Position = UDim2.new(0.755, 0, 0.815, 0)
  772. NoclipActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  773. NoclipActive.ZIndex = 4
  774. NoclipActive.Font = Enum.Font.SciFi
  775. NoclipActive.FontSize = Enum.FontSize.Size24
  776. NoclipActive.Text = "Inactive"
  777. NoclipActive.TextColor3 = Color3.new(1, 0, 1)
  778. NoclipActive.TextSize = 20
  779. NoclipActive.TextWrapped = true
  780.  
  781. Noclip.Name = "Noclip"
  782. Noclip.Parent = Main
  783. Noclip.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  784. Noclip.BorderColor3 = Color3.new(0, 0.607843, 1)
  785. Noclip.BorderSizePixel = 5
  786. Noclip.Position = UDim2.new(0, 0, 0.815, 0)
  787. Noclip.Size = UDim2.new(0.75, 0, 0.08, 0)
  788. Noclip.ZIndex = 4
  789. Noclip.Font = Enum.Font.SciFi
  790. Noclip.FontSize = Enum.FontSize.Size24
  791. Noclip.Text = "Noclip ["..string.upper(noclipkey).."]"
  792. Noclip.TextColor3 = Color3.fromRGB(0, 102, 255)
  793. Noclip.TextSize = 20
  794. Noclip.TextWrapped = true
  795. Noclip.MouseButton1Down:connect(function(x, y)
  796. if NClip == false then
  797. NClip = true
  798. if printvar == true then
  799. print("Noclip Enabled")
  800. end
  801. NoclipActive.Text = "Active"
  802. NoclipActive.TextColor3 = Color3.new(0, 1, 0)
  803. elseif NClip == true then
  804. NClip = false
  805. if printvar == true then
  806. print("Noclip Disabled")
  807. end
  808. NoclipActive.Text = "Inactive"
  809. NoclipActive.TextColor3 = Color3.new(1, 0, 1)
  810. end
  811. end)
  812.  
  813. --GodMode
  814. GodModeActive.Name = "GodModeActive"
  815. GodModeActive.Parent = Main
  816. GodModeActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  817. GodModeActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  818. GodModeActive.BorderSizePixel = 5
  819. GodModeActive.Position = UDim2.new(0.755, 0, 0.915, 0)
  820. GodModeActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  821. GodModeActive.ZIndex = 4
  822. GodModeActive.Font = Enum.Font.SciFi
  823. GodModeActive.FontSize = Enum.FontSize.Size24
  824. GodModeActive.Text = "Inactive"
  825. GodModeActive.TextColor3 = Color3.new(1, 0, 1)
  826. GodModeActive.TextSize = 20
  827. GodModeActive.TextWrapped = true
  828.  
  829. GodMode.Name = "GodMode"
  830. GodMode.Parent = Main
  831. GodMode.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  832. GodMode.BorderColor3 = Color3.new(0, 0.607843, 1)
  833. GodMode.BorderSizePixel = 5
  834. GodMode.Position = UDim2.new(0, 0, 0.915, 0)
  835. GodMode.Size = UDim2.new(0.75, 0, 0.08, 0)
  836. GodMode.ZIndex = 4
  837. GodMode.Font = Enum.Font.SciFi
  838. GodMode.FontSize = Enum.FontSize.Size24
  839. GodMode.Text = "God Mode ["..string.upper(godmodekey).."]"
  840. GodMode.TextColor3 = Color3.fromRGB(255, 255, 255)
  841. GodMode.TextSize = 20
  842. GodMode.TextWrapped = true
  843. GodMode.MouseButton1Down:connect(function(x, y)
  844. if godmodevar == false then
  845. GodModeActive.Text = "Active"
  846. GodModeActive.TextColor3 = Color3.new(0, 1, 0)
  847. godmodevar = true
  848. godmodefunc()
  849. end
  850. end)
  851.  
  852. --Xray On
  853. GuiXrayOnActive.Name = "GuiXrayOnActive"
  854. GuiXrayOnActive.Parent = Main
  855. GuiXrayOnActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  856. GuiXrayOnActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  857. GuiXrayOnActive.BorderSizePixel = 5
  858. GuiXrayOnActive.Position = UDim2.new(0.755, 0, 1.015, 0)
  859. GuiXrayOnActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  860. GuiXrayOnActive.ZIndex = 4
  861. GuiXrayOnActive.Font = Enum.Font.SciFi
  862. GuiXrayOnActive.FontSize = Enum.FontSize.Size24
  863. GuiXrayOnActive.Text = "Inactive"
  864. GuiXrayOnActive.TextColor3 = Color3.new(1, 0, 1)
  865. GuiXrayOnActive.TextSize = 20
  866. GuiXrayOnActive.TextWrapped = true
  867.  
  868. GuiXrayOn.Name = "XrayOn"
  869. GuiXrayOn.Parent = Main
  870. GuiXrayOn.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  871. GuiXrayOn.BorderColor3 = Color3.new(0, 0.607843, 1)
  872. GuiXrayOn.BorderSizePixel = 5
  873. GuiXrayOn.Position = UDim2.new(0, 0, 1.015, 0)
  874. GuiXrayOn.Size = UDim2.new(0.75, 0, 0.08, 0)
  875. GuiXrayOn.ZIndex = 4
  876. GuiXrayOn.Font = Enum.Font.SciFi
  877. GuiXrayOn.FontSize = Enum.FontSize.Size24
  878. GuiXrayOn.Text = "Xray On ["..string.upper(xrayonkey).."]"
  879. GuiXrayOn.TextColor3 = Color3.fromRGB(255, 204, 102)
  880. GuiXrayOn.TextSize = 20
  881. GuiXrayOn.TextWrapped = true
  882. GuiXrayOn.MouseButton1Down:connect(function(x, y)
  883. GuiXrayOnActive.Text = "Active"
  884. GuiXrayOnActive.TextColor3 = Color3.new(0, 1, 0)
  885. GuiXrayOffActive.Text = "Inactive"
  886. GuiXrayOffActive.TextColor3 = Color3.new(1, 0, 1)
  887. XrayOn(obj)
  888. end)
  889.  
  890. --Xray Off
  891. GuiXrayOffActive.Name = "GuiXrayOffActive"
  892. GuiXrayOffActive.Parent = Main
  893. GuiXrayOffActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  894. GuiXrayOffActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  895. GuiXrayOffActive.BorderSizePixel = 5
  896. GuiXrayOffActive.Position = UDim2.new(0.755, 0, 1.115, 0)
  897. GuiXrayOffActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  898. GuiXrayOffActive.ZIndex = 4
  899. GuiXrayOffActive.Font = Enum.Font.SciFi
  900. GuiXrayOffActive.FontSize = Enum.FontSize.Size24
  901. GuiXrayOffActive.Text = "Active"
  902. GuiXrayOffActive.TextColor3 = Color3.new(0, 1, 0)
  903. GuiXrayOffActive.TextSize = 20
  904. GuiXrayOffActive.TextWrapped = true
  905.  
  906. GuiXrayOff.Name = "XrayOff"
  907. GuiXrayOff.Parent = Main
  908. GuiXrayOff.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  909. GuiXrayOff.BorderColor3 = Color3.new(0, 0.607843, 1)
  910. GuiXrayOff.BorderSizePixel = 5
  911. GuiXrayOff.Position = UDim2.new(0, 0, 1.115, 0)
  912. GuiXrayOff.Size = UDim2.new(0.75, 0, 0.08, 0)
  913. GuiXrayOff.ZIndex = 4
  914. GuiXrayOff.Font = Enum.Font.SciFi
  915. GuiXrayOff.FontSize = Enum.FontSize.Size24
  916. GuiXrayOff.Text = "Xray Off ["..string.upper(xrayoffkey).."]"
  917. GuiXrayOff.TextColor3 = Color3.fromRGB(255, 153, 51)
  918. GuiXrayOff.TextSize = 20
  919. GuiXrayOff.TextWrapped = true
  920. GuiXrayOff.MouseButton1Down:connect(function(x, y)
  921. GuiXrayOnActive.Text = "Inactive"
  922. GuiXrayOnActive.TextColor3 = Color3.new(1, 0, 1)
  923. GuiXrayOffActive.Text = "Active"
  924. GuiXrayOffActive.TextColor3 = Color3.new(0, 1, 0)
  925. XrayOff(obj)
  926. end)
  927.  
  928. --Bring Gun to You
  929. BringGun.Name = "BringGun"
  930. BringGun.Parent = Main
  931. BringGun.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  932. BringGun.BorderColor3 = Color3.new(0, 0.607843, 1)
  933. BringGun.BorderSizePixel = 5
  934. BringGun.Position = UDim2.new(0, 0, 1.215, 0)
  935. BringGun.Size = UDim2.new(1.005, 0, 0.08, 0)
  936. BringGun.ZIndex = 4
  937. BringGun.Font = Enum.Font.SciFi
  938. BringGun.FontSize = Enum.FontSize.Size24
  939. BringGun.Text = "Teleport Gun ["..string.upper(bringgunkey).."]"
  940. BringGun.TextColor3 = Color3.fromRGB(0, 255, 0)
  941. BringGun.TextSize = 20
  942. BringGun.TextWrapped = true
  943. BringGun.MouseButton1Down:connect(function(x, y)
  944. if game.Workspace.GunDrop.CFrame ~= nil then
  945. game.Workspace.GunDrop.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  946. else
  947. if printvar == true then
  948. print("Gun not currently dropped")
  949. end
  950. end
  951. end)
  952.  
  953. --Keybinds
  954. KeybindsActive.Name = "KeybindsActive"
  955. KeybindsActive.Parent = Main
  956. KeybindsActive.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  957. KeybindsActive.BorderColor3 = Color3.new(0, 0.607843, 1)
  958. KeybindsActive.BorderSizePixel = 5
  959. KeybindsActive.Position = UDim2.new(0.755, 0, 1.315, 0)
  960. KeybindsActive.Size = UDim2.new(0.25, 0, 0.08, 0)
  961. KeybindsActive.ZIndex = 4
  962. KeybindsActive.Font = Enum.Font.SciFi
  963. KeybindsActive.FontSize = Enum.FontSize.Size24
  964. KeybindsActive.Text = "Active"
  965. KeybindsActive.TextColor3 = Color3.new(0, 1, 0)
  966. KeybindsActive.TextSize = 20
  967. KeybindsActive.TextWrapped = true
  968.  
  969. Keybinds.Name = "Keybinds"
  970. Keybinds.Parent = Main
  971. Keybinds.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  972. Keybinds.BorderColor3 = Color3.new(0, 0.607843, 1)
  973. Keybinds.BorderSizePixel = 5
  974. Keybinds.Position = UDim2.new(0, 0, 1.315, 0)
  975. Keybinds.Size = UDim2.new(0.75, 0, 0.08, 0)
  976. Keybinds.ZIndex = 4
  977. Keybinds.Font = Enum.Font.SciFi
  978. Keybinds.FontSize = Enum.FontSize.Size24
  979. Keybinds.Text = "Keybinds [Ctrl]"
  980. Keybinds.TextColor3 = Color3.fromRGB(255, 255, 255)
  981. Keybinds.TextSize = 20
  982. Keybinds.TextWrapped = true
  983. Keybinds.MouseButton1Down:connect(function(x, y)
  984. if keyOff == true then
  985. keyOff = false
  986. KeybindsActive.Text = "Active"
  987. KeybindsActive.TextColor3 = Color3.new(0, 1, 0)
  988. elseif keyOff == false then
  989. keyOff = true
  990. KeybindsActive.Text = "Inactive"
  991. KeybindsActive.TextColor3 = Color3.new(1, 0, 1)
  992. end
  993. end)
  994.  
  995. Show.Name = "Show"
  996. Show.Parent = MM2
  997. Show.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  998. Show.BorderColor3 = Color3.new(0, 0.607843, 1)
  999. Show.BorderSizePixel = 5
  1000. Show.Position = UDim2.new(0, 0, 0.85799998, 0)
  1001. Show.Size = UDim2.new(0.08, 0, 0.04, 0)
  1002. Show.ZIndex = 4
  1003. Show.Font = Enum.Font.SciFi
  1004. Show.FontSize = Enum.FontSize.Size24
  1005. Show.Text = "Show ["..string.upper(hideshowguikey).."]"
  1006. Show.TextColor3 = Color3.new(0, 0.333333, 1)
  1007. Show.TextSize = 20
  1008. Show.TextWrapped = true
  1009. Show.Visible = false
  1010.  
  1011. Hide.Name = "Hide"
  1012. Hide.Parent = Main
  1013. Hide.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1014. Hide.BorderColor3 = Color3.new(0, 0.607843, 1)
  1015. Hide.BorderSizePixel = 5
  1016. Hide.Position = UDim2.new(0, 0, 1.415, 0)
  1017. Hide.Size = UDim2.new(1.005, 0, 0.08, 0)
  1018. Hide.ZIndex = 4
  1019. Hide.Font = Enum.Font.SciFi
  1020. Hide.FontSize = Enum.FontSize.Size24
  1021. Hide.Text = "Hide ["..string.upper(hideshowguikey).."]"
  1022. Hide.TextColor3 = Color3.new(0, 0.333333, 1)
  1023. Hide.TextSize = 20
  1024. Hide.TextWrapped = true
  1025.  
  1026. Hide.MouseButton1Down:connect(function(x, y)
  1027. if showvar == true then
  1028. showvar = false
  1029. Main.Visible = false
  1030. Show.Visible = true
  1031. if printvar == true then
  1032. print("Hidden")
  1033. end
  1034. end
  1035. end)
  1036.  
  1037. Show.MouseButton1Down:connect(function(x, y)
  1038. if showvar == false then
  1039. showvar = true
  1040. Show.Visible = false
  1041. Main.Visible = true
  1042. if printvar == true then
  1043. print("Shown")
  1044. end
  1045. end
  1046. end)
  1047.  
  1048. inputcode.InputBegan:connect(function(input)
  1049. if input.KeyCode == Enum.KeyCode.LeftControl then
  1050. if keyOff == true then
  1051. keyOff = false
  1052. KeybindsActive.Text = "Active"
  1053. KeybindsActive.TextColor3 = Color3.new(0, 1, 0)
  1054. elseif keyOff == false then
  1055. keyOff = true
  1056. KeybindsActive.Text = "Inactive"
  1057. KeybindsActive.TextColor3 = Color3.new(1, 0, 1)
  1058. end
  1059. end
  1060. end)
  1061.  
  1062. mouse.keyDown:connect(function(key)
  1063. if keyOff == false then
  1064. if key == coinkey then --Coin Grabber
  1065. coingrabberfunc()
  1066. elseif key == MSkey then --Murderer/Sheriff Esp On
  1067. murderer = "None"
  1068. sheriff = "None"
  1069. Clear()
  1070. findmurderer()
  1071. findsheriff()
  1072. if printvar == true then
  1073. print("Murderer/Sheriff")
  1074. end
  1075. MSESPActive.Text = "Active"
  1076. MSESPActive.TextColor3 = Color3.new(0, 1, 0)
  1077. PlayersEspActive.Text = "Inactive"
  1078. PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
  1079. EspOffActive.Text = "Inactive"
  1080. EspOffActive.TextColor3 = Color3.new(1, 0, 1)
  1081. elseif key == playerskey then --Player Esp On
  1082. Clear()
  1083. MSESPActive.Text = "Inactive"
  1084. MSESPActive.TextColor3 = Color3.new(1, 0, 1)
  1085. PlayersEspActive.Text = "Active"
  1086. PlayersEspActive.TextColor3 = Color3.new(0, 1, 0)
  1087. EspOffActive.Text = "Inactive"
  1088. EspOffActive.TextColor3 = Color3.new(1, 0, 1)
  1089. findplayers()
  1090. if printvar == true then
  1091. print("Players")
  1092. end
  1093. elseif key == espoffkey then --Esp off
  1094. Clear()
  1095. if printvar == true then
  1096. print("Esp Disabled")
  1097. end
  1098. MSESPActive.Text = "Inactive"
  1099. MSESPActive.TextColor3 = Color3.new(1, 0, 1)
  1100. PlayersEspActive.Text = "Inactive"
  1101. PlayersEspActive.TextColor3 = Color3.new(1, 0, 1)
  1102. EspOffActive.Text = "Active"
  1103. EspOffActive.TextColor3 = Color3.new(0, 1, 0)
  1104. elseif key == flykey then --Fly
  1105. if flyvar == false then
  1106. sFLY()
  1107. flyvar = true
  1108. FlyActive.Text = "Active"
  1109. FlyActive.TextColor3 = Color3.new(0, 1, 0)
  1110. elseif flyvar == true then
  1111. flyvar = false
  1112. NOFLY()
  1113. FlyActive.Text = "Inactive"
  1114. FlyActive.TextColor3 = Color3.new(1, 0, 1)
  1115. end
  1116. elseif key == noclipkey then --Noclip toggle
  1117. if NClip == false then
  1118. NClip = true
  1119. if printvar == true then
  1120. print("Noclip Enabled")
  1121. end
  1122. NoclipActive.Text = "Active"
  1123. NoclipActive.TextColor3 = Color3.new(0, 1, 0)
  1124. elseif NClip == true then
  1125. NClip = false
  1126. if printvar == true then
  1127. print("Noclip Disabled")
  1128. end
  1129. NoclipActive.Text = "Inactive"
  1130. NoclipActive.TextColor3 = Color3.new(1, 0, 1)
  1131. end
  1132. elseif key == godmodekey then --Godmode
  1133. if godmodevar == false then
  1134. godmodevar = true
  1135. godmodefunc()
  1136. GodModeActive.Text = "Active"
  1137. GodModeActive.TextColor3 = Color3.new(0, 1, 0)
  1138. end
  1139. elseif key == xrayonkey then --Xray On
  1140. GuiXrayOnActive.Text = "Active"
  1141. GuiXrayOnActive.TextColor3 = Color3.new(0, 1, 0)
  1142. GuiXrayOffActive.Text = "Inactive"
  1143. GuiXrayOffActive.TextColor3 = Color3.new(1, 0, 1)
  1144. XrayOn(obj)
  1145. elseif key == xrayoffkey then --Xray Off
  1146. GuiXrayOnActive.Text = "Inactive"
  1147. GuiXrayOnActive.TextColor3 = Color3.new(1, 0, 1)
  1148. GuiXrayOffActive.Text = "Active"
  1149. GuiXrayOffActive.TextColor3 = Color3.new(0, 1, 0)
  1150. XrayOff(obj)
  1151. elseif key == bringgunkey then --Teleport Gun to You
  1152. if game.Workspace.GunDrop.CFrame ~= nil then
  1153. game.Workspace.GunDrop.CFrame = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame
  1154. else
  1155. if printvar == true then
  1156. print("Gun not currently dropped")
  1157. end
  1158. end
  1159. elseif key == hideshowguikey then --Show/Hide Gui
  1160. if showvar == false then
  1161. showvar = true
  1162. Show.Visible = false
  1163. Main.Visible = true
  1164. if printvar == true then
  1165. print("Shown")
  1166. end
  1167. elseif showvar == true then
  1168. showvar = false
  1169. Main.Visible = false
  1170. Show.Visible = true
  1171. if printvar == true then
  1172. print("Hidden")
  1173. end
  1174. end
  1175. end
  1176. end
  1177. end)
  1178. end
  1179. end)
  1180.  
  1181. InfiniteYield.Name = "Infinite Yield"
  1182. InfiniteYield.Parent = Frame
  1183. InfiniteYield.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  1184. InfiniteYield.Position = UDim2.new(0.0238968153, 0, 0.00798898935, 0)
  1185. InfiniteYield.Size = UDim2.new(0, 144, 0, 38)
  1186. InfiniteYield.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  1187. InfiniteYield.Font = Enum.Font.SciFi
  1188. InfiniteYield.Text = "Infinite Yeild"
  1189. InfiniteYield.TextColor3 = Color3.fromRGB(0, 0, 0)
  1190. InfiniteYield.TextSize = 19.000
  1191. InfiniteYield.MouseButton1Down:connect(function()
  1192. if IY_LOADED and not _G.IY_DEBUG == true then
  1193. error("Infinite Yield is already running!",0)
  1194. return
  1195. end
  1196.  
  1197. pcall(function() getgenv().IY_LOADED = true end)
  1198.  
  1199. if not game:IsLoaded() then
  1200. local notLoaded = Instance.new("Message",workspace)
  1201. notLoaded.Text = 'Infinite Yield is waiting for the game to load'
  1202. game.Loaded:Wait()
  1203. notLoaded:Destroy()
  1204. end
  1205.  
  1206. ver = '4.5'
  1207.  
  1208. Players = game:GetService("Players")
  1209.  
  1210. Holder = Instance.new("Frame")
  1211. Title = Instance.new("TextLabel")
  1212. Dark = Instance.new("Frame")
  1213. Cmdbar = Instance.new("TextBox")
  1214. CMDsF = Instance.new("ScrollingFrame")
  1215. SettingsButton = Instance.new("ImageButton")
  1216. ColorsButton = Instance.new("ImageButton")
  1217. Settings = Instance.new("Frame")
  1218. Prefix = Instance.new("TextLabel")
  1219. PrefixBox = Instance.new("TextBox")
  1220. Keybinds = Instance.new("TextLabel")
  1221. StayOpen = Instance.new("TextLabel")
  1222. Button = Instance.new("Frame")
  1223. On = Instance.new("TextButton")
  1224. Positions = Instance.new("TextLabel")
  1225. EventBind = Instance.new("TextLabel")
  1226. Plugins = Instance.new("TextLabel")
  1227. Example = Instance.new("TextButton")
  1228. Notification = Instance.new("Frame")
  1229. Title_2 = Instance.new("TextLabel")
  1230. Text_2 = Instance.new("TextLabel")
  1231. CloseButton = Instance.new("TextButton")
  1232. CloseImage = Instance.new("ImageLabel")
  1233. Tooltip = Instance.new("Frame")
  1234. Title_3 = Instance.new("TextLabel")
  1235. Description = Instance.new("TextLabel")
  1236. IntroBackground = Instance.new("Frame")
  1237. Logo = Instance.new("ImageLabel")
  1238. Credits = Instance.new("TextBox")
  1239. KeybindsFrame = Instance.new("Frame")
  1240. Close = Instance.new("TextButton")
  1241. Add = Instance.new("TextButton")
  1242. Delete = Instance.new("TextButton")
  1243. Holder_2 = Instance.new("ScrollingFrame")
  1244. Example_2 = Instance.new("Frame")
  1245. Text_3 = Instance.new("TextLabel")
  1246. Delete_2 = Instance.new("TextButton")
  1247. KeybindEditor = Instance.new("Frame")
  1248. background_2 = Instance.new("Frame")
  1249. Dark_4 = Instance.new("Frame")
  1250. Directions = Instance.new("TextLabel")
  1251. BindTo = Instance.new("TextButton")
  1252. Add_2 = Instance.new("TextButton")
  1253. Cmdbar_2 = Instance.new("TextBox")
  1254. Toggles = Instance.new("ScrollingFrame")
  1255. Fly = Instance.new("TextLabel")
  1256. Select_3 = Instance.new("TextButton")
  1257. Noclip = Instance.new("TextLabel")
  1258. Select_4 = Instance.new("TextButton")
  1259. Float = Instance.new("TextLabel")
  1260. Select_5 = Instance.new("TextButton")
  1261. ClickTP = Instance.new("TextLabel")
  1262. Select_6 = Instance.new("TextButton")
  1263. ClickDelete = Instance.new("TextLabel")
  1264. Select_13 = Instance.new("TextButton")
  1265. Xray = Instance.new("TextLabel")
  1266. Select_10 = Instance.new("TextButton")
  1267. Swim = Instance.new("TextLabel")
  1268. Select_11 = Instance.new("TextButton")
  1269. Fling = Instance.new("TextLabel")
  1270. Select_12 = Instance.new("TextButton")
  1271. Invisible = Instance.new("TextLabel")
  1272. Select_14 = Instance.new("TextButton")
  1273. shadow_2 = Instance.new("Frame")
  1274. PopupText_2 = Instance.new("TextLabel")
  1275. Exit_2 = Instance.new("TextButton")
  1276. ExitImage_2 = Instance.new("ImageLabel")
  1277. PositionsFrame = Instance.new("Frame")
  1278. Close_3 = Instance.new("TextButton")
  1279. Delete_5 = Instance.new("TextButton")
  1280. Part = Instance.new("TextButton")
  1281. Holder_4 = Instance.new("ScrollingFrame")
  1282. Example_4 = Instance.new("Frame")
  1283. Text_5 = Instance.new("TextLabel")
  1284. Delete_6 = Instance.new("TextButton")
  1285. TP = Instance.new("TextButton")
  1286. AliasesFrame = Instance.new("Frame")
  1287. Close_2 = Instance.new("TextButton")
  1288. Delete_3 = Instance.new("TextButton")
  1289. Holder_3 = Instance.new("ScrollingFrame")
  1290. Example_3 = Instance.new("Frame")
  1291. Text_4 = Instance.new("TextLabel")
  1292. Delete_4 = Instance.new("TextButton")
  1293. Aliases = Instance.new("TextLabel")
  1294. PluginsFrame = Instance.new("Frame")
  1295. Close_4 = Instance.new("TextButton")
  1296. Add_3 = Instance.new("TextButton")
  1297. Holder_5 = Instance.new("ScrollingFrame")
  1298. Example_5 = Instance.new("Frame")
  1299. Text_6 = Instance.new("TextLabel")
  1300. Delete_7 = Instance.new("TextButton")
  1301. PluginEditor = Instance.new("Frame")
  1302. background_3 = Instance.new("Frame")
  1303. Dark_9 = Instance.new("Frame")
  1304. Img = Instance.new("ImageButton")
  1305. AddPlugin = Instance.new("TextButton")
  1306. FileName = Instance.new("TextBox")
  1307. About = Instance.new("TextLabel")
  1308. Directions_2 = Instance.new("TextLabel")
  1309. shadow_3 = Instance.new("Frame")
  1310. PopupText_3 = Instance.new("TextLabel")
  1311. Exit_3 = Instance.new("TextButton")
  1312. ExitImage_3 = Instance.new("ImageLabel")
  1313. AliasHint = Instance.new("TextLabel")
  1314. PluginsHint = Instance.new("TextLabel")
  1315. PositionsHint = Instance.new("TextLabel")
  1316. ToPartFrame = Instance.new("Frame")
  1317. background_5 = Instance.new("Frame")
  1318. ChoosePart = Instance.new("TextButton")
  1319. CopyPath = Instance.new("TextButton")
  1320. Directions_4 = Instance.new("TextLabel")
  1321. Path = Instance.new("TextLabel")
  1322. shadow_4 = Instance.new("Frame")
  1323. PopupText_5 = Instance.new("TextLabel")
  1324. Exit_4 = Instance.new("TextButton")
  1325. ExitImage_5 = Instance.new("ImageLabel")
  1326. logs = Instance.new("Frame")
  1327. shadow = Instance.new("Frame")
  1328. Hide = Instance.new("TextButton")
  1329. ImageLabel = Instance.new("ImageLabel")
  1330. PopupText = Instance.new("TextLabel")
  1331. Exit = Instance.new("TextButton")
  1332. ImageLabel_2 = Instance.new("ImageLabel")
  1333. background = Instance.new("Frame")
  1334. chat = Instance.new("Frame")
  1335. Clear = Instance.new("TextButton")
  1336. SaveChatlogs = Instance.new("TextButton")
  1337. Toggle = Instance.new("TextButton")
  1338. scroll_2 = Instance.new("ScrollingFrame")
  1339. join = Instance.new("Frame")
  1340. Toggle_2 = Instance.new("TextButton")
  1341. Clear_2 = Instance.new("TextButton")
  1342. scroll_3 = Instance.new("ScrollingFrame")
  1343. listlayout = Instance.new("UIListLayout",scroll_3)
  1344. selectChat = Instance.new("TextButton")
  1345. selectJoin = Instance.new("TextButton")
  1346.  
  1347. function randomString()
  1348. local length = math.random(10,20)
  1349. local array = {}
  1350. for i = 1, length do
  1351. array[i] = string.char(math.random(32, 126))
  1352. end
  1353. return table.concat(array)
  1354. end
  1355.  
  1356. PARENT = nil
  1357. if game:GetService("CoreGui"):FindFirstChild('RobloxGui') then
  1358. PARENT = game:GetService("CoreGui").RobloxGui
  1359. else
  1360. local Main = Instance.new("ScreenGui")
  1361. Main.Name = randomString()
  1362. Main.Parent = game:GetService("CoreGui")
  1363. PARENT = Main
  1364. end
  1365.  
  1366. shade1 = {}
  1367. shade2 = {}
  1368. shade3 = {}
  1369. text1 = {}
  1370. text2 = {}
  1371. scroll = {}
  1372.  
  1373. Holder.Name = randomString()
  1374. Holder.Parent = PARENT
  1375. Holder.Active = true
  1376. Holder.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1377. Holder.BorderSizePixel = 0
  1378. Holder.Position = UDim2.new(1, -250, 1, -220)
  1379. Holder.Size = UDim2.new(0, 250, 0, 220)
  1380. Holder.ZIndex = 10
  1381. table.insert(shade2,Holder)
  1382.  
  1383. Title.Name = "Title"
  1384. Title.Parent = Holder
  1385. Title.Active = true
  1386. Title.BackgroundColor3 = Color3.fromRGB(36,36,37)
  1387. Title.BorderSizePixel = 0
  1388. Title.Size = UDim2.new(0, 250, 0, 20)
  1389. Title.Font = Enum.Font.SourceSans
  1390. Title.TextSize = 18
  1391. Title.Text = "Infinite Yield FE v"..ver
  1392. Title.TextColor3 = Color3.new(1, 1, 1)
  1393. Title.ZIndex = 10
  1394. table.insert(shade1,Title)
  1395. table.insert(text1,Title)
  1396.  
  1397. Dark.Name = "Dark"
  1398. Dark.Parent = Holder
  1399. Dark.Active = true
  1400. Dark.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1401. Dark.BorderSizePixel = 0
  1402. Dark.Position = UDim2.new(0, 0, 0, 45)
  1403. Dark.Size = UDim2.new(0, 250, 0, 175)
  1404. Dark.ZIndex = 10
  1405. table.insert(shade1,Dark)
  1406.  
  1407. Cmdbar.Name = "Cmdbar"
  1408. Cmdbar.Parent = Holder
  1409. Cmdbar.BackgroundTransparency = 1
  1410. Cmdbar.BorderSizePixel = 0
  1411. Cmdbar.Position = UDim2.new(0, 5, 0, 20)
  1412. Cmdbar.Size = UDim2.new(0, 240, 0, 25)
  1413. Cmdbar.Font = Enum.Font.SourceSans
  1414. Cmdbar.TextSize = 18
  1415. Cmdbar.TextXAlignment = Enum.TextXAlignment.Left
  1416. Cmdbar.TextColor3 = Color3.new(1, 1, 1)
  1417. Cmdbar.Text = ""
  1418. Cmdbar.ZIndex = 10
  1419. Cmdbar.PlaceholderText = "Command Bar"
  1420.  
  1421. CMDsF.Name = "CMDs"
  1422. CMDsF.Parent = Holder
  1423. CMDsF.BackgroundTransparency = 1
  1424. CMDsF.BorderSizePixel = 0
  1425. CMDsF.Position = UDim2.new(0, 0, 0, 45)
  1426. CMDsF.Size = UDim2.new(0, 250, 0, 175)
  1427. CMDsF.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  1428. CMDsF.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1429. CMDsF.CanvasSize = UDim2.new(0, 0, 0, 0)
  1430. CMDsF.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1431. CMDsF.ScrollBarThickness = 8
  1432. CMDsF.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1433. CMDsF.VerticalScrollBarInset = 'Always'
  1434. CMDsF.ZIndex = 10
  1435. table.insert(scroll,CMDsF)
  1436.  
  1437. SettingsButton.Name = "SettingsButton"
  1438. SettingsButton.Parent = Holder
  1439. SettingsButton.BackgroundTransparency = 1
  1440. SettingsButton.Position = UDim2.new(0, 230, 0, 0)
  1441. SettingsButton.Size = UDim2.new(0, 20, 0, 20)
  1442. SettingsButton.Image = "rbxassetid://1204397029"
  1443. SettingsButton.ZIndex = 10
  1444.  
  1445. ReferenceButton = Instance.new("ImageButton")
  1446. ReferenceButton.Name = "ReferenceButton"
  1447. ReferenceButton.Parent = Holder
  1448. ReferenceButton.BackgroundTransparency = 1
  1449. ReferenceButton.Position = UDim2.new(0, 212, 0, 2)
  1450. ReferenceButton.Size = UDim2.new(0, 16, 0, 16)
  1451. ReferenceButton.Image = "rbxassetid://3523243755"
  1452. ReferenceButton.ZIndex = 10
  1453.  
  1454. Settings.Name = "Settings"
  1455. Settings.Parent = Holder
  1456. Settings.Active = true
  1457. Settings.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1458. Settings.BorderSizePixel = 0
  1459. Settings.Position = UDim2.new(0, 0, 0, 220)
  1460. Settings.Size = UDim2.new(0, 250, 0, 175)
  1461. Settings.ZIndex = 10
  1462. table.insert(shade1,Settings)
  1463.  
  1464. SettingsHolder = Instance.new("ScrollingFrame")
  1465. SettingsHolder.Name = "Holder"
  1466. SettingsHolder.Parent = Settings
  1467. SettingsHolder.BackgroundTransparency = 1
  1468. SettingsHolder.BorderSizePixel = 0
  1469. SettingsHolder.Size = UDim2.new(1,0,1,0)
  1470. SettingsHolder.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  1471. SettingsHolder.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1472. SettingsHolder.CanvasSize = UDim2.new(0, 0, 0, 235)
  1473. SettingsHolder.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1474. SettingsHolder.ScrollBarThickness = 8
  1475. SettingsHolder.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1476. SettingsHolder.VerticalScrollBarInset = 'Always'
  1477. SettingsHolder.ZIndex = 10
  1478. table.insert(scroll,SettingsHolder)
  1479.  
  1480. Prefix.Name = "Prefix"
  1481. Prefix.Parent = SettingsHolder
  1482. Prefix.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1483. Prefix.BorderSizePixel = 0
  1484. Prefix.BackgroundTransparency = 1
  1485. Prefix.Position = UDim2.new(0, 5, 0, 5)
  1486. Prefix.Size = UDim2.new(1, -10, 0, 20)
  1487. Prefix.Font = Enum.Font.SourceSans
  1488. Prefix.TextSize = 14
  1489. Prefix.Text = "Prefix"
  1490. Prefix.TextColor3 = Color3.new(1, 1, 1)
  1491. Prefix.TextXAlignment = Enum.TextXAlignment.Left
  1492. Prefix.ZIndex = 10
  1493. table.insert(shade2,Prefix)
  1494. table.insert(text1,Prefix)
  1495.  
  1496. PrefixBox.Name = "PrefixBox"
  1497. PrefixBox.Parent = Prefix
  1498. PrefixBox.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  1499. PrefixBox.BorderSizePixel = 0
  1500. PrefixBox.Position = UDim2.new(1, -20, 0, 0)
  1501. PrefixBox.Size = UDim2.new(0, 20, 0, 20)
  1502. PrefixBox.Font = Enum.Font.SourceSansBold
  1503. PrefixBox.TextSize = 14
  1504. PrefixBox.Text = ''
  1505. PrefixBox.TextColor3 = Color3.new(0, 0, 0)
  1506. PrefixBox.ZIndex = 10
  1507. table.insert(shade3,PrefixBox)
  1508. table.insert(text2,PrefixBox)
  1509.  
  1510. function makeSettingsButton(name,iconID,off)
  1511. local button = Instance.new("TextButton")
  1512. button.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1513. button.BorderSizePixel = 0
  1514. button.Position = UDim2.new(0,0,0,0)
  1515. button.Size = UDim2.new(1,0,0,25)
  1516. button.Text = ""
  1517. button.ZIndex = 10
  1518. local icon = Instance.new("ImageLabel",button)
  1519. icon.Name = "Icon"
  1520. icon.Position = UDim2.new(0,5,0,5)
  1521. icon.Size = UDim2.new(0,16,0,16)
  1522. icon.BackgroundTransparency = 1
  1523. icon.Image = iconID
  1524. icon.ZIndex = 10
  1525. if off then
  1526. icon.ScaleType = Enum.ScaleType.Crop
  1527. icon.ImageRectSize = Vector2.new(16,16)
  1528. icon.ImageRectOffset = Vector2.new(off,0)
  1529. end
  1530. local label = Instance.new("TextLabel",button)
  1531. label.Name = "ButtonLabel"
  1532. label.BackgroundTransparency = 1
  1533. label.Text = name
  1534. label.Position = UDim2.new(0,28,0,0)
  1535. label.Size = UDim2.new(1,-28,1,0)
  1536. label.Font = Enum.Font.SourceSans
  1537. label.TextColor3 = Color3.new(1, 1, 1)
  1538. label.TextSize = 14
  1539. label.ZIndex = 10
  1540. label.TextXAlignment = Enum.TextXAlignment.Left
  1541. table.insert(shade2,button)
  1542. table.insert(text1,label)
  1543. return button
  1544. end
  1545.  
  1546. ColorsButton = makeSettingsButton("Edit Theme","rbxassetid://4911962991")
  1547. ColorsButton.Position = UDim2.new(0,5,0,55)
  1548. ColorsButton.Size = UDim2.new(1,-10,0,25)
  1549. ColorsButton.Name = "Colors"
  1550. ColorsButton.Parent = SettingsHolder
  1551.  
  1552. Keybinds = makeSettingsButton("Edit Keybinds","rbxassetid://129697930")
  1553. Keybinds.Position = UDim2.new(0, 5, 0, 85)
  1554. Keybinds.Size = UDim2.new(1, -10, 0, 25)
  1555. Keybinds.Name = "Keybinds"
  1556. Keybinds.Parent = SettingsHolder
  1557.  
  1558. Aliases = makeSettingsButton("Edit Aliases","rbxassetid://5147488658")
  1559. Aliases.Position = UDim2.new(0, 5, 0, 115)
  1560. Aliases.Size = UDim2.new(1, -10, 0, 25)
  1561. Aliases.Name = "Aliases"
  1562. Aliases.Parent = SettingsHolder
  1563.  
  1564. StayOpen.Name = "StayOpen"
  1565. StayOpen.Parent = SettingsHolder
  1566. StayOpen.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1567. StayOpen.BorderSizePixel = 0
  1568. StayOpen.BackgroundTransparency = 1
  1569. StayOpen.Position = UDim2.new(0, 5, 0, 30)
  1570. StayOpen.Size = UDim2.new(1, -10, 0, 20)
  1571. StayOpen.Font = Enum.Font.SourceSans
  1572. StayOpen.TextSize = 14
  1573. StayOpen.Text = "Keep Menu Open"
  1574. StayOpen.TextColor3 = Color3.new(1, 1, 1)
  1575. StayOpen.TextXAlignment = Enum.TextXAlignment.Left
  1576. StayOpen.ZIndex = 10
  1577. table.insert(shade2,StayOpen)
  1578. table.insert(text1,StayOpen)
  1579.  
  1580. Button.Name = "Button"
  1581. Button.Parent = StayOpen
  1582. Button.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  1583. Button.BorderSizePixel = 0
  1584. Button.Position = UDim2.new(1, -20, 0, 0)
  1585. Button.Size = UDim2.new(0, 20, 0, 20)
  1586. Button.ZIndex = 10
  1587. table.insert(shade3,Button)
  1588.  
  1589. On.Name = "On"
  1590. On.Parent = Button
  1591. On.BackgroundColor3 = Color3.fromRGB(150, 150, 151)
  1592. On.BackgroundTransparency = 1
  1593. On.BorderSizePixel = 0
  1594. On.Position = UDim2.new(0, 2, 0, 2)
  1595. On.Size = UDim2.new(0, 16, 0, 16)
  1596. On.Font = Enum.Font.SourceSans
  1597. On.FontSize = Enum.FontSize.Size14
  1598. On.Text = ""
  1599. On.TextColor3 = Color3.new(0, 0, 0)
  1600. On.ZIndex = 10
  1601.  
  1602. Positions = makeSettingsButton("Edit/Goto Waypoints","rbxassetid://5147488592")
  1603. Positions.Position = UDim2.new(0, 5, 0, 145)
  1604. Positions.Size = UDim2.new(1, -10, 0, 25)
  1605. Positions.Name = "Waypoints"
  1606. Positions.Parent = SettingsHolder
  1607.  
  1608. EventBind = makeSettingsButton("Edit Event Binds","rbxassetid://5147695474",759)
  1609. EventBind.Position = UDim2.new(0, 5, 0, 205)
  1610. EventBind.Size = UDim2.new(1, -10, 0, 25)
  1611. EventBind.Name = "EventBinds"
  1612. EventBind.Parent = SettingsHolder
  1613.  
  1614. Plugins = makeSettingsButton("Manage Plugins","rbxassetid://5147695474",743)
  1615. Plugins.Position = UDim2.new(0, 5, 0, 175)
  1616. Plugins.Size = UDim2.new(1, -10, 0, 25)
  1617. Plugins.Name = "Plugins"
  1618. Plugins.Parent = SettingsHolder
  1619.  
  1620. Example.Name = "Example"
  1621. Example.Parent = Holder
  1622. Example.BackgroundTransparency = 1
  1623. Example.BorderSizePixel = 0
  1624. Example.Size = UDim2.new(0, 190, 0, 20)
  1625. Example.Visible = false
  1626. Example.Font = Enum.Font.SourceSans
  1627. Example.TextSize = 18
  1628. Example.Text = "Example"
  1629. Example.TextColor3 = Color3.new(1, 1, 1)
  1630. Example.TextXAlignment = Enum.TextXAlignment.Left
  1631. Example.ZIndex = 10
  1632. table.insert(text1,Example)
  1633.  
  1634. Notification.Name = randomString()
  1635. Notification.Parent = PARENT
  1636. Notification.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1637. Notification.BorderSizePixel = 0
  1638. Notification.Position = UDim2.new(1, -500, 1, 20)
  1639. Notification.Size = UDim2.new(0, 250, 0, 100)
  1640. Notification.ZIndex = 10
  1641. table.insert(shade1,Notification)
  1642.  
  1643. Title_2.Name = "Title"
  1644. Title_2.Parent = Notification
  1645. Title_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1646. Title_2.BorderSizePixel = 0
  1647. Title_2.Size = UDim2.new(0, 250, 0, 20)
  1648. Title_2.Font = Enum.Font.SourceSans
  1649. Title_2.TextSize = 14
  1650. Title_2.Text = "Notification Title"
  1651. Title_2.TextColor3 = Color3.new(1, 1, 1)
  1652. Title_2.ZIndex = 10
  1653. table.insert(shade2,Title_2)
  1654. table.insert(text1,Title_2)
  1655.  
  1656. Text_2.Name = "Text"
  1657. Text_2.Parent = Notification
  1658. Text_2.BackgroundTransparency = 1
  1659. Text_2.BorderSizePixel = 0
  1660. Text_2.Position = UDim2.new(0, 5, 0, 25)
  1661. Text_2.Size = UDim2.new(0, 240, 0, 75)
  1662. Text_2.Font = Enum.Font.SourceSans
  1663. Text_2.TextSize = 16
  1664. Text_2.Text = "Notification Text"
  1665. Text_2.TextColor3 = Color3.new(1, 1, 1)
  1666. Text_2.TextWrapped = true
  1667. Text_2.ZIndex = 10
  1668. table.insert(text1,Text_2)
  1669.  
  1670. CloseButton.Name = "CloseButton"
  1671. CloseButton.Parent = Notification
  1672. CloseButton.BackgroundTransparency = 1
  1673. CloseButton.Position = UDim2.new(1, -20, 0, 0)
  1674. CloseButton.Size = UDim2.new(0, 20, 0, 20)
  1675. CloseButton.Text = ""
  1676. CloseButton.ZIndex = 10
  1677.  
  1678. CloseImage.Parent = CloseButton
  1679. CloseImage.BackgroundColor3 = Color3.new(1, 1, 1)
  1680. CloseImage.BackgroundTransparency = 1
  1681. CloseImage.Position = UDim2.new(0, 5, 0, 5)
  1682. CloseImage.Size = UDim2.new(0, 10, 0, 10)
  1683. CloseImage.Image = "rbxassetid://5054663650"
  1684. CloseImage.ZIndex = 10
  1685.  
  1686. Tooltip.Name = randomString()
  1687. Tooltip.Parent = PARENT
  1688. Tooltip.Active = true
  1689. Tooltip.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1690. Tooltip.BackgroundTransparency = 0.1
  1691. Tooltip.BorderSizePixel = 0
  1692. Tooltip.Size = UDim2.new(0, 200, 0, 96)
  1693. Tooltip.Visible = false
  1694. Tooltip.ZIndex = 10
  1695. table.insert(shade1,Tooltip)
  1696.  
  1697. Title_3.Name = "Title"
  1698. Title_3.Parent = Tooltip
  1699. Title_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1700. Title_3.BackgroundTransparency = 0.1
  1701. Title_3.BorderSizePixel = 0
  1702. Title_3.Size = UDim2.new(0, 200, 0, 20)
  1703. Title_3.Font = Enum.Font.SourceSans
  1704. Title_3.TextSize = 14
  1705. Title_3.Text = ""
  1706. Title_3.TextColor3 = Color3.new(1, 1, 1)
  1707. Title_3.TextTransparency = 0.1
  1708. Title_3.ZIndex = 10
  1709. table.insert(shade2,Title_3)
  1710. table.insert(text1,Title_3)
  1711.  
  1712. Description.Name = "Description"
  1713. Description.Parent = Tooltip
  1714. Description.BackgroundTransparency = 1
  1715. Description.BorderSizePixel = 0
  1716. Description.Size = UDim2.new(0,180,0,72)
  1717. Description.Position = UDim2.new(0,10,0,18)
  1718. Description.Font = Enum.Font.SourceSans
  1719. Description.TextSize = 16
  1720. Description.Text = ""
  1721. Description.TextColor3 = Color3.new(1, 1, 1)
  1722. Description.TextTransparency = 0.1
  1723. Description.TextWrapped = true
  1724. Description.ZIndex = 10
  1725. table.insert(text1,Description)
  1726.  
  1727. IntroBackground.Name = "IntroBackground"
  1728. IntroBackground.Parent = Holder
  1729. IntroBackground.Active = true
  1730. IntroBackground.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1731. IntroBackground.BorderSizePixel = 0
  1732. IntroBackground.Position = UDim2.new(0, 0, 0, 45)
  1733. IntroBackground.Size = UDim2.new(0, 250, 0, 175)
  1734. IntroBackground.ZIndex = 10
  1735.  
  1736. Logo.Name = "Logo"
  1737. Logo.Parent = Holder
  1738. Logo.BackgroundTransparency = 1
  1739. Logo.BorderSizePixel = 0
  1740. Logo.Position = UDim2.new(0, 125, 0, 127)
  1741. Logo.Size = UDim2.new(0, 10, 0, 10)
  1742. Logo.Image = "rbxassetid://1352543873"
  1743. Logo.ImageTransparency = 0
  1744. Logo.ZIndex = 10
  1745.  
  1746. Credits.Name = "Credits"
  1747. Credits.Parent = Holder
  1748. Credits.BackgroundTransparency = 1
  1749. Credits.BorderSizePixel = 0
  1750. Credits.Position = UDim2.new(0, 0, 0.9, 30)
  1751. Credits.Size = UDim2.new(0, 250, 0, 20)
  1752. Credits.Font = Enum.Font.SourceSansLight
  1753. Credits.FontSize = Enum.FontSize.Size18
  1754. Credits.Text = "Edge // Zwolf // Moon"
  1755. Credits.TextColor3 = Color3.new(1, 1, 1)
  1756. Credits.ZIndex = 10
  1757.  
  1758. KeybindsFrame.Name = "KeybindsFrame"
  1759. KeybindsFrame.Parent = Settings
  1760. KeybindsFrame.Active = true
  1761. KeybindsFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1762. KeybindsFrame.BorderSizePixel = 0
  1763. KeybindsFrame.Position = UDim2.new(0, 0, 0, 175)
  1764. KeybindsFrame.Size = UDim2.new(0, 250, 0, 175)
  1765. KeybindsFrame.ZIndex = 10
  1766. table.insert(shade1,KeybindsFrame)
  1767.  
  1768. Close.Name = "Close"
  1769. Close.Parent = KeybindsFrame
  1770. Close.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1771. Close.BorderSizePixel = 0
  1772. Close.Position = UDim2.new(0, 205, 0, 150)
  1773. Close.Size = UDim2.new(0, 40, 0, 20)
  1774. Close.Font = Enum.Font.SourceSans
  1775. Close.TextSize = 14
  1776. Close.Text = "Close"
  1777. Close.TextColor3 = Color3.new(1, 1, 1)
  1778. Close.ZIndex = 10
  1779. table.insert(shade2,Close)
  1780. table.insert(text1,Close)
  1781.  
  1782. Add.Name = "Add"
  1783. Add.Parent = KeybindsFrame
  1784. Add.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1785. Add.BorderSizePixel = 0
  1786. Add.Position = UDim2.new(0, 5, 0, 150)
  1787. Add.Size = UDim2.new(0, 40, 0, 20)
  1788. Add.Font = Enum.Font.SourceSans
  1789. Add.TextSize = 14
  1790. Add.Text = "Add"
  1791. Add.TextColor3 = Color3.new(1, 1, 1)
  1792. Add.ZIndex = 10
  1793. table.insert(shade2,Add)
  1794. table.insert(text1,Add)
  1795.  
  1796. Delete.Name = "Delete"
  1797. Delete.Parent = KeybindsFrame
  1798. Delete.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1799. Delete.BorderSizePixel = 0
  1800. Delete.Position = UDim2.new(0, 50, 0, 150)
  1801. Delete.Size = UDim2.new(0, 40, 0, 20)
  1802. Delete.Font = Enum.Font.SourceSans
  1803. Delete.TextSize = 14
  1804. Delete.Text = "Clear"
  1805. Delete.TextColor3 = Color3.new(1, 1, 1)
  1806. Delete.ZIndex = 10
  1807. table.insert(shade2,Delete)
  1808. table.insert(text1,Delete)
  1809.  
  1810. Holder_2.Name = "Holder"
  1811. Holder_2.Parent = KeybindsFrame
  1812. Holder_2.BackgroundTransparency = 1
  1813. Holder_2.BorderSizePixel = 0
  1814. Holder_2.Position = UDim2.new(0, 0, 0, 0)
  1815. Holder_2.Size = UDim2.new(0, 250, 0, 145)
  1816. Holder_2.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  1817. Holder_2.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1818. Holder_2.CanvasSize = UDim2.new(0, 0, 0, 0)
  1819. Holder_2.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1820. Holder_2.ScrollBarThickness = 0
  1821. Holder_2.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1822. Holder_2.VerticalScrollBarInset = 'Always'
  1823. Holder_2.ZIndex = 10
  1824.  
  1825. Example_2.Name = "Example"
  1826. Example_2.Parent = KeybindsFrame
  1827. Example_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1828. Example_2.BorderSizePixel = 0
  1829. Example_2.Size = UDim2.new(0, 10, 0, 20)
  1830. Example_2.Visible = false
  1831. Example_2.ZIndex = 10
  1832. table.insert(shade2,Example_2)
  1833.  
  1834. Text_3.Name = "Text"
  1835. Text_3.Parent = Example_2
  1836. Text_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1837. Text_3.BorderSizePixel = 0
  1838. Text_3.Position = UDim2.new(0, 10, 0, 0)
  1839. Text_3.Size = UDim2.new(0, 240, 0, 20)
  1840. Text_3.Font = Enum.Font.SourceSans
  1841. Text_3.TextSize = 14
  1842. Text_3.Text = "nom"
  1843. Text_3.TextColor3 = Color3.new(1, 1, 1)
  1844. Text_3.TextXAlignment = Enum.TextXAlignment.Left
  1845. Text_3.ZIndex = 10
  1846. table.insert(shade2,Text_3)
  1847. table.insert(text1,Text_3)
  1848.  
  1849. Delete_2.Name = "Delete"
  1850. Delete_2.Parent = Text_3
  1851. Delete_2.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  1852. Delete_2.BorderSizePixel = 0
  1853. Delete_2.Position = UDim2.new(0, 200, 0, 0)
  1854. Delete_2.Size = UDim2.new(0, 40, 0, 20)
  1855. Delete_2.Font = Enum.Font.SourceSans
  1856. Delete_2.TextSize = 14
  1857. Delete_2.Text = "Delete"
  1858. Delete_2.TextColor3 = Color3.new(0, 0, 0)
  1859. Delete_2.ZIndex = 10
  1860. table.insert(shade3,Delete_2)
  1861. table.insert(text2,Delete_2)
  1862.  
  1863. KeybindEditor.Name = randomString()
  1864. KeybindEditor.Parent = PARENT
  1865. KeybindEditor.Active = true
  1866. KeybindEditor.BackgroundTransparency = 1
  1867. KeybindEditor.Position = UDim2.new(0.5, -180, 0, -500)
  1868. KeybindEditor.Size = UDim2.new(0, 360, 0, 20)
  1869. KeybindEditor.ZIndex = 10
  1870.  
  1871. background_2.Name = "background"
  1872. background_2.Parent = KeybindEditor
  1873. background_2.Active = true
  1874. background_2.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  1875. background_2.BorderSizePixel = 0
  1876. background_2.Position = UDim2.new(0, 0, 0, 20)
  1877. background_2.Size = UDim2.new(0, 360, 0, 185)
  1878. background_2.ZIndex = 10
  1879. table.insert(shade1,background_2)
  1880.  
  1881. Dark_4.Name = "Dark"
  1882. Dark_4.Parent = background_2
  1883. Dark_4.Active = true
  1884. Dark_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1885. Dark_4.BorderSizePixel = 0
  1886. Dark_4.Position = UDim2.new(0, 135, 0, 0)
  1887. Dark_4.Size = UDim2.new(0, 2, 0, 185)
  1888. Dark_4.ZIndex = 10
  1889. table.insert(shade2,Dark_4)
  1890.  
  1891. Directions.Name = "Directions"
  1892. Directions.Parent = background_2
  1893. Directions.BackgroundTransparency = 1
  1894. Directions.BorderSizePixel = 0
  1895. Directions.Position = UDim2.new(0, 10, 0, 15)
  1896. Directions.Size = UDim2.new(0, 115, 0, 90)
  1897. Directions.Font = Enum.Font.SourceSans
  1898. Directions.TextSize = 14
  1899. Directions.Text = "Click the button below and press a key/mouse button. Then select what you want to bind it to."
  1900. Directions.TextColor3 = Color3.new(1, 1, 1)
  1901. Directions.TextWrapped = true
  1902. Directions.TextYAlignment = Enum.TextYAlignment.Top
  1903. Directions.ZIndex = 10
  1904. table.insert(text1,Directions)
  1905.  
  1906. BindTo.Name = "BindTo"
  1907. BindTo.Parent = background_2
  1908. BindTo.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1909. BindTo.BorderSizePixel = 0
  1910. BindTo.Position = UDim2.new(0, 10, 0, 95)
  1911. BindTo.Size = UDim2.new(0, 115, 0, 50)
  1912. BindTo.Font = Enum.Font.SourceSans
  1913. BindTo.TextSize = 16
  1914. BindTo.Text = "Click to bind"
  1915. BindTo.TextColor3 = Color3.new(1, 1, 1)
  1916. BindTo.ZIndex = 10
  1917. table.insert(shade2,BindTo)
  1918. table.insert(text1,BindTo)
  1919.  
  1920. BindTrigger = Instance.new("TextLabel")
  1921. BindTrigger.Name = "TriggerLabel"
  1922. BindTrigger.BackgroundTransparency = 1
  1923. BindTrigger.Position = UDim2.new(0, 10, 0, 155)
  1924. BindTrigger.Size = UDim2.new(0, 45, 0, 20)
  1925. BindTrigger.Font = Enum.Font.SourceSans
  1926. BindTrigger.TextSize = 14
  1927. BindTrigger.Text = "Trigger:"
  1928. BindTrigger.TextColor3 = Color3.new(1, 1, 1)
  1929. BindTrigger.ZIndex = 10
  1930. BindTrigger.TextXAlignment = Enum.TextXAlignment.Left
  1931. BindTrigger.Parent = background_2
  1932. table.insert(text1,BindTrigger)
  1933.  
  1934. BindTriggerSelect = Instance.new("TextButton")
  1935. BindTriggerSelect.Name = "BindTo"
  1936. BindTriggerSelect.Parent = background_2
  1937. BindTriggerSelect.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1938. BindTriggerSelect.BorderSizePixel = 0
  1939. BindTriggerSelect.Position = UDim2.new(0, 60, 0, 155)
  1940. BindTriggerSelect.Size = UDim2.new(0, 65, 0, 20)
  1941. BindTriggerSelect.Font = Enum.Font.SourceSans
  1942. BindTriggerSelect.TextSize = 16
  1943. BindTriggerSelect.Text = "KeyDown"
  1944. BindTriggerSelect.TextColor3 = Color3.new(1, 1, 1)
  1945. BindTriggerSelect.ZIndex = 10
  1946. table.insert(shade2,BindTriggerSelect)
  1947. table.insert(text1,BindTriggerSelect)
  1948.  
  1949. Add_2.Name = "Add"
  1950. Add_2.Parent = background_2
  1951. Add_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1952. Add_2.BorderSizePixel = 0
  1953. Add_2.Position = UDim2.new(0, 310, 0, 20)
  1954. Add_2.Size = UDim2.new(0, 40, 0, 20)
  1955. Add_2.Font = Enum.Font.SourceSans
  1956. Add_2.TextSize = 14
  1957. Add_2.Text = "Add"
  1958. Add_2.TextColor3 = Color3.new(1, 1, 1)
  1959. Add_2.ZIndex = 10
  1960. table.insert(shade2,Add_2)
  1961. table.insert(text1,Add_2)
  1962.  
  1963. Cmdbar_2.Name = "Cmdbar"
  1964. Cmdbar_2.Parent = background_2
  1965. Cmdbar_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1966. Cmdbar_2.BorderSizePixel = 0
  1967. Cmdbar_2.Position = UDim2.new(0, 150, 0, 20)
  1968. Cmdbar_2.Size = UDim2.new(0, 150, 0, 20)
  1969. Cmdbar_2.Font = Enum.Font.SourceSans
  1970. Cmdbar_2.TextSize = 14
  1971. Cmdbar_2.TextXAlignment = Enum.TextXAlignment.Left
  1972. Cmdbar_2.TextColor3 = Color3.new(1, 1, 1)
  1973. Cmdbar_2.Text = ""
  1974. Cmdbar_2.ZIndex = 10
  1975. Cmdbar_2.PlaceholderText = "Command"
  1976.  
  1977. Toggles.Name = "Toggles"
  1978. Toggles.Parent = background_2
  1979. Toggles.BackgroundTransparency = 1
  1980. Toggles.BorderSizePixel = 0
  1981. Toggles.Position = UDim2.new(0, 150, 0, 50)
  1982. Toggles.Size = UDim2.new(0, 200, 0, 125)
  1983. Toggles.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  1984. Toggles.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1985. Toggles.CanvasSize = UDim2.new(0, 0, 0, 220)
  1986. Toggles.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1987. Toggles.ScrollBarThickness = 8
  1988. Toggles.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1989. Toggles.VerticalScrollBarInset = 'Always'
  1990. Toggles.ZIndex = 10
  1991. table.insert(scroll,Toggles)
  1992.  
  1993. Fly.Name = "Fly"
  1994. Fly.Parent = Toggles
  1995. Fly.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  1996. Fly.BorderSizePixel = 0
  1997. Fly.Size = UDim2.new(0, 192, 0, 20)
  1998. Fly.Font = Enum.Font.SourceSans
  1999. Fly.TextSize = 14
  2000. Fly.Text = " Toggle Fly"
  2001. Fly.TextColor3 = Color3.new(1, 1, 1)
  2002. Fly.TextXAlignment = Enum.TextXAlignment.Left
  2003. Fly.ZIndex = 10
  2004. table.insert(shade2,Fly)
  2005. table.insert(text1,Fly)
  2006.  
  2007. Select_3.Name = "Select"
  2008. Select_3.Parent = Fly
  2009. Select_3.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  2010. Select_3.BorderSizePixel = 0
  2011. Select_3.Position = UDim2.new(0, 152, 0, 0)
  2012. Select_3.Size = UDim2.new(0, 40, 0, 20)
  2013. Select_3.Font = Enum.Font.SourceSans
  2014. Select_3.TextSize = 14
  2015. Select_3.Text = "Add"
  2016. Select_3.TextColor3 = Color3.new(0, 0, 0)
  2017. Select_3.ZIndex = 10
  2018. table.insert(shade3,Select_3)
  2019. table.insert(text2,Select_3)
  2020.  
  2021. Noclip.Name = "Noclip"
  2022. Noclip.Parent = Toggles
  2023. Noclip.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2024. Noclip.BorderSizePixel = 0
  2025. Noclip.Position = UDim2.new(0, 0, 0, 25)
  2026. Noclip.Size = UDim2.new(0, 192, 0, 20)
  2027. Noclip.Font = Enum.Font.SourceSans
  2028. Noclip.TextSize = 14
  2029. Noclip.Text = " Toggle Noclip"
  2030. Noclip.TextColor3 = Color3.new(1, 1, 1)
  2031. Noclip.TextXAlignment = Enum.TextXAlignment.Left
  2032. Noclip.ZIndex = 10
  2033. table.insert(shade2,Noclip)
  2034. table.insert(text1,Noclip)
  2035.  
  2036. Select_4.Name = "Select"
  2037. Select_4.Parent = Noclip
  2038. Select_4.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  2039. Select_4.BorderSizePixel = 0
  2040. Select_4.Position = UDim2.new(0, 152, 0, 0)
  2041. Select_4.Size = UDim2.new(0, 40, 0, 20)
  2042. Select_4.Font = Enum.Font.SourceSans
  2043. Select_4.TextSize = 14
  2044. Select_4.Text = "Add"
  2045. Select_4.TextColor3 = Color3.new(0, 0, 0)
  2046. Select_4.ZIndex = 10
  2047. table.insert(shade3,Select_4)
  2048. table.insert(text2,Select_4)
  2049.  
  2050. Float.Name = "Float"
  2051. Float.Parent = Toggles
  2052. Float.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2053. Float.BorderSizePixel = 0
  2054. Float.Position = UDim2.new(0, 0, 0, 50)
  2055. Float.Size = UDim2.new(0, 192, 0, 20)
  2056. Float.Font = Enum.Font.SourceSans
  2057. Float.TextSize = 14
  2058. Float.Text = " Toggle Float"
  2059. Float.TextColor3 = Color3.new(1, 1, 1)
  2060. Float.TextXAlignment = Enum.TextXAlignment.Left
  2061. Float.ZIndex = 10
  2062. table.insert(shade2,Float)
  2063. table.insert(text1,Float)
  2064.  
  2065. Select_5.Name = "Select"
  2066. Select_5.Parent = Float
  2067. Select_5.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  2068. Select_5.BorderSizePixel = 0
  2069. Select_5.Position = UDim2.new(0, 152, 0, 0)
  2070. Select_5.Size = UDim2.new(0, 40, 0, 20)
  2071. Select_5.Font = Enum.Font.SourceSans
  2072. Select_5.TextSize = 14
  2073. Select_5.Text = "Add"
  2074. Select_5.TextColor3 = Color3.new(0, 0, 0)
  2075. Select_5.ZIndex = 10
  2076. table.insert(shade3,Select_5)
  2077. table.insert(text2,Select_5)
  2078.  
  2079. ClickTP.Name = "Click TP"
  2080. ClickTP.Parent = Toggles
  2081. ClickTP.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2082. ClickTP.BorderSizePixel = 0
  2083. ClickTP.Position = UDim2.new(0, 0, 0, 75)
  2084. ClickTP.Size = UDim2.new(0, 192, 0, 20)
  2085. ClickTP.Font = Enum.Font.SourceSans
  2086. ClickTP.TextSize = 14
  2087. ClickTP.Text = " Click TP (Hold Key & Click)"
  2088. ClickTP.TextColor3 = Color3.new(1, 1, 1)
  2089. ClickTP.TextXAlignment = Enum.TextXAlignment.Left
  2090. ClickTP.ZIndex = 10
  2091. table.insert(shade2,ClickTP)
  2092. table.insert(text1,ClickTP)
  2093.  
  2094. Select_6.Name = "Select"
  2095. Select_6.Parent = ClickTP
  2096. Select_6.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  2097. Select_6.BorderSizePixel = 0
  2098. Select_6.Position = UDim2.new(0, 152, 0, 0)
  2099. Select_6.Size = UDim2.new(0, 40, 0, 20)
  2100. Select_6.Font = Enum.Font.SourceSans
  2101. Select_6.TextSize = 14
  2102. Select_6.Text = "Add"
  2103. Select_6.TextColor3 = Color3.new(0, 0, 0)
  2104. Select_6.ZIndex = 10
  2105. table.insert(shade3,Select_6)
  2106. table.insert(text2,Select_6)
  2107.  
  2108. ClickDelete.Name = "Click Delete"
  2109. ClickDelete.Parent = Toggles
  2110. ClickDelete.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2111. ClickDelete.BorderSizePixel = 0
  2112. ClickDelete.Position = UDim2.new(0, 0, 0, 100)
  2113. ClickDelete.Size = UDim2.new(0, 192, 0, 20)
  2114. ClickDelete.Font = Enum.Font.SourceSans
  2115. ClickDelete.TextSize = 14
  2116. ClickDelete.Text = " Click Delete (Hold Key & Click)"
  2117. ClickDelete.TextColor3 = Color3.new(1, 1, 1)
  2118. ClickDelete.TextXAlignment = Enum.TextXAlignment.Left
  2119. ClickDelete.ZIndex = 10
  2120. table.insert(shade2,ClickDelete)
  2121. table.insert(text1,ClickDelete)
  2122.  
  2123. Select_13.Name = "Select"
  2124. Select_13.Parent = ClickDelete
  2125. Select_13.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  2126. Select_13.BorderSizePixel = 0
  2127. Select_13.Position = UDim2.new(0, 152, 0, 0)
  2128. Select_13.Size = UDim2.new(0, 40, 0, 20)
  2129. Select_13.Font = Enum.Font.SourceSans
  2130. Select_13.TextSize = 14
  2131. Select_13.Text = "Add"
  2132. Select_13.TextColor3 = Color3.new(0, 0, 0)
  2133. Select_13.ZIndex = 10
  2134. table.insert(shade3,Select_13)
  2135. table.insert(text2,Select_13)
  2136.  
  2137. Xray.Name = "Xray"
  2138. Xray.Parent = Toggles
  2139. Xray.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2140. Xray.BorderSizePixel = 0
  2141. Xray.Position = UDim2.new(0, 0, 0, 125)
  2142. Xray.Size = UDim2.new(0, 192, 0, 20)
  2143. Xray.Font = Enum.Font.SourceSans
  2144. Xray.TextSize = 14
  2145. Xray.Text = " Toggle Xray"
  2146. Xray.TextColor3 = Color3.new(1, 1, 1)
  2147. Xray.TextXAlignment = Enum.TextXAlignment.Left
  2148. Xray.ZIndex = 10
  2149. table.insert(shade2,Xray)
  2150. table.insert(text1,Xray)
  2151.  
  2152. Select_10.Name = "Select"
  2153. Select_10.Parent = Xray
  2154. Select_10.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  2155. Select_10.BorderSizePixel = 0
  2156. Select_10.Position = UDim2.new(0, 152, 0, 0)
  2157. Select_10.Size = UDim2.new(0, 40, 0, 20)
  2158. Select_10.Font = Enum.Font.SourceSans
  2159. Select_10.TextSize = 14
  2160. Select_10.Text = "Add"
  2161. Select_10.TextColor3 = Color3.new(0, 0, 0)
  2162. Select_10.ZIndex = 10
  2163. table.insert(shade3,Select_10)
  2164. table.insert(text2,Select_10)
  2165.  
  2166. Swim.Name = "Swim"
  2167. Swim.Parent = Toggles
  2168. Swim.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2169. Swim.BorderSizePixel = 0
  2170. Swim.Position = UDim2.new(0, 0, 0, 150)
  2171. Swim.Size = UDim2.new(0, 192, 0, 20)
  2172. Swim.Font = Enum.Font.SourceSans
  2173. Swim.TextSize = 14
  2174. Swim.Text = " Toggle Swim"
  2175. Swim.TextColor3 = Color3.new(1, 1, 1)
  2176. Swim.TextXAlignment = Enum.TextXAlignment.Left
  2177. Swim.ZIndex = 10
  2178. table.insert(shade2,Swim)
  2179. table.insert(text1,Swim)
  2180.  
  2181. Select_11.Name = "Select"
  2182. Select_11.Parent = Swim
  2183. Select_11.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  2184. Select_11.BorderSizePixel = 0
  2185. Select_11.Position = UDim2.new(0, 152, 0, 0)
  2186. Select_11.Size = UDim2.new(0, 40, 0, 20)
  2187. Select_11.Font = Enum.Font.SourceSans
  2188. Select_11.TextSize = 14
  2189. Select_11.Text = "Add"
  2190. Select_11.TextColor3 = Color3.new(0, 0, 0)
  2191. Select_11.ZIndex = 10
  2192. table.insert(shade3,Select_11)
  2193. table.insert(text2,Select_11)
  2194.  
  2195. Fling.Name = "Fling"
  2196. Fling.Parent = Toggles
  2197. Fling.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2198. Fling.BorderSizePixel = 0
  2199. Fling.Position = UDim2.new(0, 0, 0, 175)
  2200. Fling.Size = UDim2.new(0, 192, 0, 20)
  2201. Fling.Font = Enum.Font.SourceSans
  2202. Fling.TextSize = 14
  2203. Fling.Text = " Toggle Fling"
  2204. Fling.TextColor3 = Color3.new(1, 1, 1)
  2205. Fling.TextXAlignment = Enum.TextXAlignment.Left
  2206. Fling.ZIndex = 10
  2207. table.insert(shade2,Fling)
  2208. table.insert(text1,Fling)
  2209.  
  2210. Select_12.Name = "Select"
  2211. Select_12.Parent = Fling
  2212. Select_12.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  2213. Select_12.BorderSizePixel = 0
  2214. Select_12.Position = UDim2.new(0, 152, 0, 0)
  2215. Select_12.Size = UDim2.new(0, 40, 0, 20)
  2216. Select_12.Font = Enum.Font.SourceSans
  2217. Select_12.TextSize = 14
  2218. Select_12.Text = "Add"
  2219. Select_12.TextColor3 = Color3.new(0, 0, 0)
  2220. Select_12.ZIndex = 10
  2221. table.insert(shade3,Select_12)
  2222. table.insert(text2,Select_12)
  2223.  
  2224. Invisible.Name = "Invisible"
  2225. Invisible.Parent = Toggles
  2226. Invisible.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2227. Invisible.BorderSizePixel = 0
  2228. Invisible.Position = UDim2.new(0, 0, 0, 200)
  2229. Invisible.Size = UDim2.new(0, 192, 0, 20)
  2230. Invisible.Font = Enum.Font.SourceSans
  2231. Invisible.TextSize = 14
  2232. Invisible.Text = " Toggle Invisible"
  2233. Invisible.TextColor3 = Color3.new(1, 1, 1)
  2234. Invisible.TextXAlignment = Enum.TextXAlignment.Left
  2235. Invisible.ZIndex = 10
  2236. table.insert(shade2,Invisible)
  2237. table.insert(text1,Invisible)
  2238.  
  2239. Select_14.Name = "Select"
  2240. Select_14.Parent = Invisible
  2241. Select_14.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  2242. Select_14.BorderSizePixel = 0
  2243. Select_14.Position = UDim2.new(0, 152, 0, 0)
  2244. Select_14.Size = UDim2.new(0, 40, 0, 20)
  2245. Select_14.Font = Enum.Font.SourceSans
  2246. Select_14.TextSize = 14
  2247. Select_14.Text = "Add"
  2248. Select_14.TextColor3 = Color3.new(0, 0, 0)
  2249. Select_14.ZIndex = 10
  2250. table.insert(shade3,Select_14)
  2251. table.insert(text2,Select_14)
  2252.  
  2253. shadow_2.Name = "shadow"
  2254. shadow_2.Parent = KeybindEditor
  2255. shadow_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2256. shadow_2.BorderSizePixel = 0
  2257. shadow_2.Size = UDim2.new(0, 360, 0, 20)
  2258. shadow_2.ZIndex = 10
  2259. table.insert(shade2,shadow_2)
  2260.  
  2261. PopupText_2.Name = "PopupText"
  2262. PopupText_2.Parent = shadow_2
  2263. PopupText_2.BackgroundTransparency = 1
  2264. PopupText_2.Size = UDim2.new(1, 0, 0.95, 0)
  2265. PopupText_2.ZIndex = 10
  2266. PopupText_2.Font = Enum.Font.SourceSans
  2267. PopupText_2.TextSize = 14
  2268. PopupText_2.Text = "Set Keybinds"
  2269. PopupText_2.TextColor3 = Color3.new(1, 1, 1)
  2270. PopupText_2.TextWrapped = true
  2271. table.insert(text1,PopupText_2)
  2272.  
  2273. Exit_2.Name = "Exit"
  2274. Exit_2.Parent = shadow_2
  2275. Exit_2.BackgroundTransparency = 1
  2276. Exit_2.Position = UDim2.new(1, -20, 0, 0)
  2277. Exit_2.Size = UDim2.new(0, 20, 0, 20)
  2278. Exit_2.Text = ""
  2279. Exit_2.ZIndex = 10
  2280.  
  2281. ExitImage_2.Parent = Exit_2
  2282. ExitImage_2.BackgroundColor3 = Color3.new(1, 1, 1)
  2283. ExitImage_2.BackgroundTransparency = 1
  2284. ExitImage_2.Position = UDim2.new(0, 5, 0, 5)
  2285. ExitImage_2.Size = UDim2.new(0, 10, 0, 10)
  2286. ExitImage_2.Image = "rbxassetid://5054663650"
  2287. ExitImage_2.ZIndex = 10
  2288.  
  2289. PositionsFrame.Name = "PositionsFrame"
  2290. PositionsFrame.Parent = Settings
  2291. PositionsFrame.Active = true
  2292. PositionsFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  2293. PositionsFrame.BorderSizePixel = 0
  2294. PositionsFrame.Size = UDim2.new(0, 250, 0, 175)
  2295. PositionsFrame.Position = UDim2.new(0, 0, 0, 175)
  2296. PositionsFrame.ZIndex = 10
  2297. table.insert(shade1,PositionsFrame)
  2298.  
  2299. Close_3.Name = "Close"
  2300. Close_3.Parent = PositionsFrame
  2301. Close_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2302. Close_3.BorderSizePixel = 0
  2303. Close_3.Position = UDim2.new(0, 205, 0, 150)
  2304. Close_3.Size = UDim2.new(0, 40, 0, 20)
  2305. Close_3.Font = Enum.Font.SourceSans
  2306. Close_3.TextSize = 14
  2307. Close_3.Text = "Close"
  2308. Close_3.TextColor3 = Color3.new(1, 1, 1)
  2309. Close_3.ZIndex = 10
  2310. table.insert(shade2,Close_3)
  2311. table.insert(text1,Close_3)
  2312.  
  2313. Delete_5.Name = "Delete"
  2314. Delete_5.Parent = PositionsFrame
  2315. Delete_5.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2316. Delete_5.BorderSizePixel = 0
  2317. Delete_5.Position = UDim2.new(0, 50, 0, 150)
  2318. Delete_5.Size = UDim2.new(0, 40, 0, 20)
  2319. Delete_5.Font = Enum.Font.SourceSans
  2320. Delete_5.TextSize = 14
  2321. Delete_5.Text = "Clear"
  2322. Delete_5.TextColor3 = Color3.new(1, 1, 1)
  2323. Delete_5.ZIndex = 10
  2324. table.insert(shade2,Delete_5)
  2325. table.insert(text1,Delete_5)
  2326.  
  2327. Part.Name = "PartGoto"
  2328. Part.Parent = PositionsFrame
  2329. Part.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2330. Part.BorderSizePixel = 0
  2331. Part.Position = UDim2.new(0, 5, 0, 150)
  2332. Part.Size = UDim2.new(0, 40, 0, 20)
  2333. Part.Font = Enum.Font.SourceSans
  2334. Part.TextSize = 14
  2335. Part.Text = "Part"
  2336. Part.TextColor3 = Color3.new(1, 1, 1)
  2337. Part.ZIndex = 10
  2338. table.insert(shade2,Part)
  2339. table.insert(text1,Part)
  2340.  
  2341. Holder_4.Name = "Holder"
  2342. Holder_4.Parent = PositionsFrame
  2343. Holder_4.BackgroundTransparency = 1
  2344. Holder_4.BorderSizePixel = 0
  2345. Holder_4.Position = UDim2.new(0, 0, 0, 0)
  2346. Holder_4.Selectable = false
  2347. Holder_4.Size = UDim2.new(0, 250, 0, 145)
  2348. Holder_4.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  2349. Holder_4.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  2350. Holder_4.CanvasSize = UDim2.new(0, 0, 0, 0)
  2351. Holder_4.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  2352. Holder_4.ScrollBarThickness = 0
  2353. Holder_4.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  2354. Holder_4.VerticalScrollBarInset = 'Always'
  2355. Holder_4.ZIndex = 10
  2356.  
  2357. Example_4.Name = "Example"
  2358. Example_4.Parent = PositionsFrame
  2359. Example_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2360. Example_4.BorderSizePixel = 0
  2361. Example_4.Size = UDim2.new(0, 10, 0, 20)
  2362. Example_4.Visible = false
  2363. Example_4.Position = UDim2.new(0, 0, 0, -5)
  2364. Example_4.ZIndex = 10
  2365. table.insert(shade2,Example_4)
  2366.  
  2367. Text_5.Name = "Text"
  2368. Text_5.Parent = Example_4
  2369. Text_5.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2370. Text_5.BorderSizePixel = 0
  2371. Text_5.Position = UDim2.new(0, 10, 0, 0)
  2372. Text_5.Size = UDim2.new(0, 240, 0, 20)
  2373. Text_5.Font = Enum.Font.SourceSans
  2374. Text_5.TextSize = 14
  2375. Text_5.Text = "Position"
  2376. Text_5.TextColor3 = Color3.new(1, 1, 1)
  2377. Text_5.TextXAlignment = Enum.TextXAlignment.Left
  2378. Text_5.ZIndex = 10
  2379. table.insert(shade2,Text_5)
  2380. table.insert(text1,Text_5)
  2381.  
  2382. Delete_6.Name = "Delete"
  2383. Delete_6.Parent = Text_5
  2384. Delete_6.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  2385. Delete_6.BorderSizePixel = 0
  2386. Delete_6.Position = UDim2.new(0, 200, 0, 0)
  2387. Delete_6.Size = UDim2.new(0, 40, 0, 20)
  2388. Delete_6.Font = Enum.Font.SourceSans
  2389. Delete_6.TextSize = 14
  2390. Delete_6.Text = "Delete"
  2391. Delete_6.TextColor3 = Color3.new(0, 0, 0)
  2392. Delete_6.ZIndex = 10
  2393. table.insert(shade3,Delete_6)
  2394. table.insert(text2,Delete_6)
  2395.  
  2396. TP.Name = "TP"
  2397. TP.Parent = Text_5
  2398. TP.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  2399. TP.BorderSizePixel = 0
  2400. TP.Position = UDim2.new(0, 155, 0, 0)
  2401. TP.Size = UDim2.new(0, 40, 0, 20)
  2402. TP.Font = Enum.Font.SourceSans
  2403. TP.TextSize = 14
  2404. TP.Text = "Goto"
  2405. TP.TextColor3 = Color3.new(0, 0, 0)
  2406. TP.ZIndex = 10
  2407. table.insert(shade3,TP)
  2408. table.insert(text2,TP)
  2409.  
  2410. AliasesFrame.Name = "AliasesFrame"
  2411. AliasesFrame.Parent = Settings
  2412. AliasesFrame.Active = true
  2413. AliasesFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  2414. AliasesFrame.BorderSizePixel = 0
  2415. AliasesFrame.Position = UDim2.new(0, 0, 0, 175)
  2416. AliasesFrame.Size = UDim2.new(0, 250, 0, 175)
  2417. AliasesFrame.ZIndex = 10
  2418. table.insert(shade1,AliasesFrame)
  2419.  
  2420. Close_2.Name = "Close"
  2421. Close_2.Parent = AliasesFrame
  2422. Close_2.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2423. Close_2.BorderSizePixel = 0
  2424. Close_2.Position = UDim2.new(0, 205, 0, 150)
  2425. Close_2.Size = UDim2.new(0, 40, 0, 20)
  2426. Close_2.Font = Enum.Font.SourceSans
  2427. Close_2.TextSize = 14
  2428. Close_2.Text = "Close"
  2429. Close_2.TextColor3 = Color3.new(1, 1, 1)
  2430. Close_2.ZIndex = 10
  2431. table.insert(shade2,Close_2)
  2432. table.insert(text1,Close_2)
  2433.  
  2434. Delete_3.Name = "Delete"
  2435. Delete_3.Parent = AliasesFrame
  2436. Delete_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2437. Delete_3.BorderSizePixel = 0
  2438. Delete_3.Position = UDim2.new(0, 5, 0, 150)
  2439. Delete_3.Size = UDim2.new(0, 40, 0, 20)
  2440. Delete_3.Font = Enum.Font.SourceSans
  2441. Delete_3.TextSize = 14
  2442. Delete_3.Text = "Clear"
  2443. Delete_3.TextColor3 = Color3.new(1, 1, 1)
  2444. Delete_3.ZIndex = 10
  2445. table.insert(shade2,Delete_3)
  2446. table.insert(text1,Delete_3)
  2447.  
  2448. Holder_3.Name = "Holder"
  2449. Holder_3.Parent = AliasesFrame
  2450. Holder_3.BackgroundTransparency = 1
  2451. Holder_3.BorderSizePixel = 0
  2452. Holder_3.Position = UDim2.new(0, 0, 0, 0)
  2453. Holder_3.Size = UDim2.new(0, 250, 0, 145)
  2454. Holder_3.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  2455. Holder_3.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  2456. Holder_3.CanvasSize = UDim2.new(0, 0, 0, 0)
  2457. Holder_3.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  2458. Holder_3.ScrollBarThickness = 0
  2459. Holder_3.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  2460. Holder_3.VerticalScrollBarInset = 'Always'
  2461. Holder_3.ZIndex = 10
  2462.  
  2463. Example_3.Name = "Example"
  2464. Example_3.Parent = AliasesFrame
  2465. Example_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2466. Example_3.BorderSizePixel = 0
  2467. Example_3.Size = UDim2.new(0, 10, 0, 20)
  2468. Example_3.Visible = false
  2469. Example_3.ZIndex = 10
  2470. table.insert(shade2,Example_3)
  2471.  
  2472. Text_4.Name = "Text"
  2473. Text_4.Parent = Example_3
  2474. Text_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2475. Text_4.BorderSizePixel = 0
  2476. Text_4.Position = UDim2.new(0, 10, 0, 0)
  2477. Text_4.Size = UDim2.new(0, 240, 0, 20)
  2478. Text_4.Font = Enum.Font.SourceSans
  2479. Text_4.TextSize = 14
  2480. Text_4.Text = "honk"
  2481. Text_4.TextColor3 = Color3.new(1, 1, 1)
  2482. Text_4.TextXAlignment = Enum.TextXAlignment.Left
  2483. Text_4.ZIndex = 10
  2484. table.insert(shade2,Text_4)
  2485. table.insert(text1,Text_4)
  2486.  
  2487. Delete_4.Name = "Delete"
  2488. Delete_4.Parent = Text_4
  2489. Delete_4.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  2490. Delete_4.BorderSizePixel = 0
  2491. Delete_4.Position = UDim2.new(0, 200, 0, 0)
  2492. Delete_4.Size = UDim2.new(0, 40, 0, 20)
  2493. Delete_4.Font = Enum.Font.SourceSans
  2494. Delete_4.TextSize = 14
  2495. Delete_4.Text = "Delete"
  2496. Delete_4.TextColor3 = Color3.new(0, 0, 0)
  2497. Delete_4.ZIndex = 10
  2498. table.insert(shade3,Delete_4)
  2499. table.insert(text2,Delete_4)
  2500.  
  2501. PluginsFrame.Name = "PluginsFrame"
  2502. PluginsFrame.Parent = Settings
  2503. PluginsFrame.Active = true
  2504. PluginsFrame.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  2505. PluginsFrame.BorderSizePixel = 0
  2506. PluginsFrame.Position = UDim2.new(0, 0, 0, 175)
  2507. PluginsFrame.Size = UDim2.new(0, 250, 0, 175)
  2508. PluginsFrame.ZIndex = 10
  2509. table.insert(shade1,PluginsFrame)
  2510.  
  2511. Close_4.Name = "Close"
  2512. Close_4.Parent = PluginsFrame
  2513. Close_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2514. Close_4.BorderSizePixel = 0
  2515. Close_4.Position = UDim2.new(0, 205, 0, 150)
  2516. Close_4.Size = UDim2.new(0, 40, 0, 20)
  2517. Close_4.Font = Enum.Font.SourceSans
  2518. Close_4.TextSize = 14
  2519. Close_4.Text = "Close"
  2520. Close_4.TextColor3 = Color3.new(1, 1, 1)
  2521. Close_4.ZIndex = 10
  2522. table.insert(shade2,Close_4)
  2523. table.insert(text1,Close_4)
  2524.  
  2525. Add_3.Name = "Add"
  2526. Add_3.Parent = PluginsFrame
  2527. Add_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2528. Add_3.BorderSizePixel = 0
  2529. Add_3.Position = UDim2.new(0, 5, 0, 150)
  2530. Add_3.Size = UDim2.new(0, 40, 0, 20)
  2531. Add_3.Font = Enum.Font.SourceSans
  2532. Add_3.TextSize = 14
  2533. Add_3.Text = "Add"
  2534. Add_3.TextColor3 = Color3.new(1, 1, 1)
  2535. Add_3.ZIndex = 10
  2536. table.insert(shade2,Add_3)
  2537. table.insert(text1,Add_3)
  2538.  
  2539. Holder_5.Name = "Holder"
  2540. Holder_5.Parent = PluginsFrame
  2541. Holder_5.BackgroundTransparency = 1
  2542. Holder_5.BorderSizePixel = 0
  2543. Holder_5.Position = UDim2.new(0, 0, 0, 0)
  2544. Holder_5.Selectable = false
  2545. Holder_5.Size = UDim2.new(0, 250, 0, 145)
  2546. Holder_5.ScrollBarImageColor3 = Color3.fromRGB(78,78,79)
  2547. Holder_5.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  2548. Holder_5.CanvasSize = UDim2.new(0, 0, 0, 0)
  2549. Holder_5.MidImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  2550. Holder_5.ScrollBarThickness = 0
  2551. Holder_5.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  2552. Holder_5.VerticalScrollBarInset = 'Always'
  2553. Holder_5.ZIndex = 10
  2554.  
  2555. Example_5.Name = "Example"
  2556. Example_5.Parent = PluginsFrame
  2557. Example_5.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2558. Example_5.BorderSizePixel = 0
  2559. Example_5.Size = UDim2.new(0, 10, 0, 20)
  2560. Example_5.Visible = false
  2561. Example_5.ZIndex = 10
  2562. table.insert(shade2,Example_5)
  2563.  
  2564. Text_6.Name = "Text"
  2565. Text_6.Parent = Example_5
  2566. Text_6.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2567. Text_6.BorderSizePixel = 0
  2568. Text_6.Position = UDim2.new(0, 10, 0, 0)
  2569. Text_6.Size = UDim2.new(0, 240, 0, 20)
  2570. Text_6.Font = Enum.Font.SourceSans
  2571. Text_6.TextSize = 14
  2572. Text_6.Text = "F4 > Toggle Fly"
  2573. Text_6.TextColor3 = Color3.new(1, 1, 1)
  2574. Text_6.TextXAlignment = Enum.TextXAlignment.Left
  2575. Text_6.ZIndex = 10
  2576. table.insert(shade2,Text_6)
  2577. table.insert(text1,Text_6)
  2578.  
  2579. Delete_7.Name = "Delete"
  2580. Delete_7.Parent = Text_6
  2581. Delete_7.BackgroundColor3 = Color3.fromRGB(78, 78, 79)
  2582. Delete_7.BorderSizePixel = 0
  2583. Delete_7.Position = UDim2.new(0, 200, 0, 0)
  2584. Delete_7.Size = UDim2.new(0, 40, 0, 20)
  2585. Delete_7.Font = Enum.Font.SourceSans
  2586. Delete_7.TextSize = 14
  2587. Delete_7.Text = "Delete"
  2588. Delete_7.TextColor3 = Color3.new(0, 0, 0)
  2589. Delete_7.ZIndex = 10
  2590. table.insert(shade3,Delete_7)
  2591. table.insert(text2,Delete_7)
  2592.  
  2593. PluginEditor.Name = randomString()
  2594. PluginEditor.Parent = PARENT
  2595. PluginEditor.BorderSizePixel = 0
  2596. PluginEditor.Active = true
  2597. PluginEditor.BackgroundTransparency = 1
  2598. PluginEditor.Position = UDim2.new(0.5, -180, 0, -500)
  2599. PluginEditor.Size = UDim2.new(0, 360, 0, 20)
  2600. PluginEditor.ZIndex = 10
  2601.  
  2602. background_3.Name = "background"
  2603. background_3.Parent = PluginEditor
  2604. background_3.Active = true
  2605. background_3.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  2606. background_3.BorderSizePixel = 0
  2607. background_3.Position = UDim2.new(0, 0, 0, 20)
  2608. background_3.Size = UDim2.new(0, 360, 0, 160)
  2609. background_3.ZIndex = 10
  2610. table.insert(shade1,background_3)
  2611.  
  2612. Dark_9.Name = "Dark"
  2613. Dark_9.Parent = background_3
  2614. Dark_9.Active = true
  2615. Dark_9.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2616. Dark_9.BorderSizePixel = 0
  2617. Dark_9.Position = UDim2.new(0, 222, 0, 0)
  2618. Dark_9.Size = UDim2.new(0, 2, 0, 160)
  2619. Dark_9.ZIndex = 10
  2620. table.insert(shade2,Dark_9)
  2621.  
  2622. Img.Name = "Img"
  2623. Img.Parent = background_3
  2624. Img.BackgroundTransparency = 1
  2625. Img.Position = UDim2.new(0, 242, 0, 3)
  2626. Img.Size = UDim2.new(0, 100, 0, 95)
  2627. Img.Image = "rbxassetid://4113050383"
  2628. Img.ZIndex = 10
  2629.  
  2630. AddPlugin.Name = "AddPlugin"
  2631. AddPlugin.Parent = background_3
  2632. AddPlugin.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2633. AddPlugin.BorderSizePixel = 0
  2634. AddPlugin.Position = UDim2.new(0, 235, 0, 100)
  2635. AddPlugin.Size = UDim2.new(0, 115, 0, 50)
  2636. AddPlugin.Font = Enum.Font.SourceSans
  2637. AddPlugin.TextSize = 14
  2638. AddPlugin.Text = "Add Plugin"
  2639. AddPlugin.TextColor3 = Color3.new(1, 1, 1)
  2640. AddPlugin.ZIndex = 10
  2641. table.insert(shade2,AddPlugin)
  2642. table.insert(text1,AddPlugin)
  2643.  
  2644. FileName.Name = "FileName"
  2645. FileName.Parent = background_3
  2646. FileName.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2647. FileName.BorderSizePixel = 0
  2648. FileName.Position = UDim2.new(0.028, 0, 0.625, 0)
  2649. FileName.Size = UDim2.new(0, 200, 0, 50)
  2650. FileName.Font = Enum.Font.SourceSans
  2651. FileName.TextSize = 14
  2652. FileName.Text = "Plugin File Name"
  2653. FileName.TextColor3 = Color3.new(1, 1, 1)
  2654. FileName.ZIndex = 10
  2655. table.insert(shade2,FileName)
  2656. table.insert(text1,FileName)
  2657.  
  2658. About.Name = "About"
  2659. About.Parent = background_3
  2660. About.BackgroundTransparency = 1
  2661. About.BorderSizePixel = 0
  2662. About.Position = UDim2.new(0, 17, 0, 10)
  2663. About.Size = UDim2.new(0, 187, 0, 49)
  2664. About.Font = Enum.Font.SourceSans
  2665. About.TextSize = 14
  2666. About.Text = "Plugins are .iy files and should be located in the 'workspace' folder of your exploit."
  2667. About.TextColor3 = Color3.fromRGB(255, 255, 255)
  2668. About.TextWrapped = true
  2669. About.TextYAlignment = Enum.TextYAlignment.Top
  2670. About.ZIndex = 10
  2671. table.insert(text1,About)
  2672.  
  2673. Directions_2.Name = "Directions"
  2674. Directions_2.Parent = background_3
  2675. Directions_2.BackgroundTransparency = 1
  2676. Directions_2.BorderSizePixel = 0
  2677. Directions_2.Position = UDim2.new(0, 17, 0, 60)
  2678. Directions_2.Size = UDim2.new(0, 187, 0, 49)
  2679. Directions_2.Font = Enum.Font.SourceSans
  2680. Directions_2.TextSize = 14
  2681. Directions_2.Text = "Type the name of the plugin file you want to add below."
  2682. Directions_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  2683. Directions_2.TextWrapped = true
  2684. Directions_2.TextYAlignment = Enum.TextYAlignment.Top
  2685. Directions_2.ZIndex = 10
  2686. table.insert(text1,Directions_2)
  2687.  
  2688. shadow_3.Name = "shadow"
  2689. shadow_3.Parent = PluginEditor
  2690. shadow_3.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2691. shadow_3.BorderSizePixel = 0
  2692. shadow_3.Size = UDim2.new(0, 360, 0, 20)
  2693. shadow_3.ZIndex = 10
  2694. table.insert(shade2,shadow_3)
  2695.  
  2696. PopupText_3.Name = "PopupText"
  2697. PopupText_3.Parent = shadow_3
  2698. PopupText_3.BackgroundTransparency = 1
  2699. PopupText_3.Size = UDim2.new(1, 0, 0.95, 0)
  2700. PopupText_3.ZIndex = 10
  2701. PopupText_3.Font = Enum.Font.SourceSans
  2702. PopupText_3.TextSize = 14
  2703. PopupText_3.Text = "Add Plugins"
  2704. PopupText_3.TextColor3 = Color3.new(1, 1, 1)
  2705. PopupText_3.TextWrapped = true
  2706. table.insert(text1,PopupText_3)
  2707.  
  2708. Exit_3.Name = "Exit"
  2709. Exit_3.Parent = shadow_3
  2710. Exit_3.BackgroundTransparency = 1
  2711. Exit_3.Position = UDim2.new(1, -20, 0, 0)
  2712. Exit_3.Size = UDim2.new(0, 20, 0, 20)
  2713. Exit_3.Text = ""
  2714. Exit_3.ZIndex = 10
  2715.  
  2716. ExitImage_3.Parent = Exit_3
  2717. ExitImage_3.BackgroundColor3 = Color3.new(1, 1, 1)
  2718. ExitImage_3.BackgroundTransparency = 1
  2719. ExitImage_3.Position = UDim2.new(0, 5, 0, 5)
  2720. ExitImage_3.Size = UDim2.new(0, 10, 0, 10)
  2721. ExitImage_3.Image = "rbxassetid://5054663650"
  2722. ExitImage_3.ZIndex = 10
  2723.  
  2724. AliasHint.Name = "AliasHint"
  2725. AliasHint.Parent = AliasesFrame
  2726. AliasHint.BackgroundTransparency = 1
  2727. AliasHint.BorderSizePixel = 0
  2728. AliasHint.Position = UDim2.new(0, 25, 0, 40)
  2729. AliasHint.Size = UDim2.new(0, 200, 0, 50)
  2730. AliasHint.Font = Enum.Font.SourceSansItalic
  2731. AliasHint.TextSize = 16
  2732. AliasHint.Text = "Add aliases by using the 'addalias' command"
  2733. AliasHint.TextColor3 = Color3.new(1, 1, 1)
  2734. AliasHint.TextStrokeColor3 = Color3.new(1, 1, 1)
  2735. AliasHint.TextWrapped = true
  2736. AliasHint.ZIndex = 10
  2737. table.insert(text1,AliasHint)
  2738.  
  2739. PluginsHint.Name = "PluginsHint"
  2740. PluginsHint.Parent = PluginsFrame
  2741. PluginsHint.BackgroundTransparency = 1
  2742. PluginsHint.BorderSizePixel = 0
  2743. PluginsHint.Position = UDim2.new(0, 25, 0, 40)
  2744. PluginsHint.Size = UDim2.new(0, 200, 0, 50)
  2745. PluginsHint.Font = Enum.Font.SourceSansItalic
  2746. PluginsHint.TextSize = 16
  2747. PluginsHint.Text = "Download plugins from the IY Discord (discord.io/infiniteyield)"
  2748. PluginsHint.TextColor3 = Color3.new(1, 1, 1)
  2749. PluginsHint.TextStrokeColor3 = Color3.new(1, 1, 1)
  2750. PluginsHint.TextWrapped = true
  2751. PluginsHint.ZIndex = 10
  2752. table.insert(text1,PluginsHint)
  2753.  
  2754. PositionsHint.Name = "PositionsHint"
  2755. PositionsHint.Parent = PositionsFrame
  2756. PositionsHint.BackgroundTransparency = 1
  2757. PositionsHint.BorderSizePixel = 0
  2758. PositionsHint.Position = UDim2.new(0, 25, 0, 40)
  2759. PositionsHint.Size = UDim2.new(0, 200, 0, 70)
  2760. PositionsHint.Font = Enum.Font.SourceSansItalic
  2761. PositionsHint.TextSize = 16
  2762. PositionsHint.Text = "Use the 'swp' or 'setwaypoint' command to add a position using your character (NOTE: Part teleports will not save)"
  2763. PositionsHint.TextColor3 = Color3.new(1, 1, 1)
  2764. PositionsHint.TextStrokeColor3 = Color3.new(1, 1, 1)
  2765. PositionsHint.TextWrapped = true
  2766. PositionsHint.ZIndex = 10
  2767. table.insert(text1,PositionsHint)
  2768.  
  2769. ToPartFrame.Name = randomString()
  2770. ToPartFrame.Parent = PARENT
  2771. ToPartFrame.Active = true
  2772. ToPartFrame.BackgroundTransparency = 1
  2773. ToPartFrame.Position = UDim2.new(0.5, -180, 0, -500)
  2774. ToPartFrame.Size = UDim2.new(0, 360, 0, 20)
  2775. ToPartFrame.ZIndex = 10
  2776.  
  2777. background_5.Name = "background"
  2778. background_5.Parent = ToPartFrame
  2779. background_5.Active = true
  2780. background_5.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  2781. background_5.BorderSizePixel = 0
  2782. background_5.Position = UDim2.new(0, 0, 0, 20)
  2783. background_5.Size = UDim2.new(0, 360, 0, 117)
  2784. background_5.ZIndex = 10
  2785. table.insert(shade1,background_5)
  2786.  
  2787. ChoosePart.Name = "ChoosePart"
  2788. ChoosePart.Parent = background_5
  2789. ChoosePart.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2790. ChoosePart.BorderSizePixel = 0
  2791. ChoosePart.Position = UDim2.new(0, 100, 0, 55)
  2792. ChoosePart.Size = UDim2.new(0, 75, 0, 30)
  2793. ChoosePart.Font = Enum.Font.SourceSans
  2794. ChoosePart.TextSize = 14
  2795. ChoosePart.Text = "Select Part"
  2796. ChoosePart.TextColor3 = Color3.new(1, 1, 1)
  2797. ChoosePart.ZIndex = 10
  2798. table.insert(shade2,ChoosePart)
  2799. table.insert(text1,ChoosePart)
  2800.  
  2801. CopyPath.Name = "CopyPath"
  2802. CopyPath.Parent = background_5
  2803. CopyPath.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2804. CopyPath.BorderSizePixel = 0
  2805. CopyPath.Position = UDim2.new(0, 185, 0, 55)
  2806. CopyPath.Size = UDim2.new(0, 75, 0, 30)
  2807. CopyPath.Font = Enum.Font.SourceSans
  2808. CopyPath.TextSize = 14
  2809. CopyPath.Text = "Copy Path"
  2810. CopyPath.TextColor3 = Color3.new(1, 1, 1)
  2811. CopyPath.ZIndex = 10
  2812. table.insert(shade2,CopyPath)
  2813. table.insert(text1,CopyPath)
  2814.  
  2815. Directions_4.Name = "Directions"
  2816. Directions_4.Parent = background_5
  2817. Directions_4.BackgroundTransparency = 1
  2818. Directions_4.BorderSizePixel = 0
  2819. Directions_4.Position = UDim2.new(0, 51, 0, 17)
  2820. Directions_4.Size = UDim2.new(0, 257, 0, 32)
  2821. Directions_4.Font = Enum.Font.SourceSans
  2822. Directions_4.TextSize = 14
  2823. Directions_4.Text = 'Click on a part and then click the "Select Part" button below to set it as a teleport location'
  2824. Directions_4.TextColor3 = Color3.new(1, 1, 1)
  2825. Directions_4.TextWrapped = true
  2826. Directions_4.TextYAlignment = Enum.TextYAlignment.Top
  2827. Directions_4.ZIndex = 10
  2828. table.insert(text1,Directions_4)
  2829.  
  2830. Path.Name = "Path"
  2831. Path.Parent = background_5
  2832. Path.BackgroundTransparency = 1
  2833. Path.BorderSizePixel = 0
  2834. Path.Position = UDim2.new(0, 0, 0, 94)
  2835. Path.Size = UDim2.new(0, 360, 0, 16)
  2836. Path.Font = Enum.Font.SourceSansItalic
  2837. Path.TextSize = 14
  2838. Path.Text = ""
  2839. Path.TextColor3 = Color3.new(1, 1, 1)
  2840. Path.TextScaled = true
  2841. Path.TextWrapped = true
  2842. Path.TextYAlignment = Enum.TextYAlignment.Top
  2843. Path.ZIndex = 10
  2844. table.insert(text1,Path)
  2845.  
  2846. shadow_4.Name = "shadow"
  2847. shadow_4.Parent = ToPartFrame
  2848. shadow_4.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  2849. shadow_4.BorderSizePixel = 0
  2850. shadow_4.Size = UDim2.new(0, 360, 0, 20)
  2851. shadow_4.ZIndex = 10
  2852. table.insert(shade2,shadow_4)
  2853.  
  2854. PopupText_5.Name = "PopupText"
  2855. PopupText_5.Parent = shadow_4
  2856. PopupText_5.BackgroundTransparency = 1
  2857. PopupText_5.Size = UDim2.new(1, 0, 0.95, 0)
  2858. PopupText_5.ZIndex = 10
  2859. PopupText_5.Font = Enum.Font.SourceSans
  2860. PopupText_5.TextSize = 14
  2861. PopupText_5.Text = "Teleport to Part"
  2862. PopupText_5.TextColor3 = Color3.new(1, 1, 1)
  2863. PopupText_5.TextWrapped = true
  2864. table.insert(text1,PopupText_5)
  2865.  
  2866. Exit_4.Name = "Exit"
  2867. Exit_4.Parent = shadow_4
  2868. Exit_4.BackgroundTransparency = 1
  2869. Exit_4.Position = UDim2.new(1, -20, 0, 0)
  2870. Exit_4.Size = UDim2.new(0, 20, 0, 20)
  2871. Exit_4.Text = ""
  2872. Exit_4.ZIndex = 10
  2873.  
  2874. ExitImage_5.Parent = Exit_4
  2875. ExitImage_5.BackgroundColor3 = Color3.new(1, 1, 1)
  2876. ExitImage_5.BackgroundTransparency = 1
  2877. ExitImage_5.Position = UDim2.new(0, 5, 0, 5)
  2878. ExitImage_5.Size = UDim2.new(0, 10, 0, 10)
  2879. ExitImage_5.Image = "rbxassetid://5054663650"
  2880. ExitImage_5.ZIndex = 10
  2881.  
  2882. logs.Name = randomString()
  2883. logs.Parent = PARENT
  2884. logs.Active = true
  2885. logs.BackgroundTransparency = 1
  2886. logs.Position = UDim2.new(0, 0, 1, 10)
  2887. logs.Size = UDim2.new(0, 338, 0, 20)
  2888. logs.ZIndex = 10
  2889.  
  2890. shadow.Name = "shadow"
  2891. shadow.Parent = logs
  2892. shadow.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  2893. shadow.BorderSizePixel = 0
  2894. shadow.Position = UDim2.new(0, 0, 0.00999999978, 0)
  2895. shadow.Size = UDim2.new(0, 338, 0, 20)
  2896. shadow.ZIndex = 10
  2897. table.insert(shade2,shadow)
  2898.  
  2899. Hide.Name = "Hide"
  2900. Hide.Parent = shadow
  2901. Hide.BackgroundTransparency = 1
  2902. Hide.Position = UDim2.new(1, -40, 0, 0)
  2903. Hide.Size = UDim2.new(0, 20, 0, 20)
  2904. Hide.ZIndex = 10
  2905. Hide.Text = ""
  2906.  
  2907. ImageLabel.Parent = Hide
  2908. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  2909. ImageLabel.BackgroundTransparency = 1
  2910. ImageLabel.Position = UDim2.new(0, 3, 0, 3)
  2911. ImageLabel.Size = UDim2.new(0, 14, 0, 14)
  2912. ImageLabel.Image = "rbxassetid://2406617031"
  2913.  
  2914. PopupText.Name = "PopupText"
  2915. PopupText.Parent = shadow
  2916. PopupText.BackgroundTransparency = 1
  2917. PopupText.Size = UDim2.new(1, 0, 0.949999988, 0)
  2918. PopupText.ZIndex = 10
  2919. PopupText.Font = Enum.Font.SourceSans
  2920. PopupText.FontSize = Enum.FontSize.Size14
  2921. PopupText.Text = "Logs"
  2922. PopupText.TextColor3 = Color3.new(1, 1, 1)
  2923. PopupText.TextWrapped = true
  2924. table.insert(text1,PopupText)
  2925.  
  2926. Exit.Name = "Exit"
  2927. Exit.Parent = shadow
  2928. Exit.BackgroundTransparency = 1
  2929. Exit.Position = UDim2.new(1, -20, 0, 0)
  2930. Exit.Size = UDim2.new(0, 20, 0, 20)
  2931. Exit.ZIndex = 10
  2932. Exit.Text = ""
  2933.  
  2934. ImageLabel_2.Parent = Exit
  2935. ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  2936. ImageLabel_2.BackgroundTransparency = 1
  2937. ImageLabel_2.Position = UDim2.new(0, 5, 0, 5)
  2938. ImageLabel_2.Size = UDim2.new(0, 10, 0, 10)
  2939. ImageLabel_2.Image = "rbxassetid://5054663650"
  2940. ImageLabel_2.ZIndex = 10
  2941.  
  2942. background.Name = "background"
  2943. background.Parent = logs
  2944. background.Active = true
  2945. background.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098)
  2946. background.BorderSizePixel = 0
  2947. background.ClipsDescendants = true
  2948. background.Position = UDim2.new(0, 0, 1, 0)
  2949. background.Size = UDim2.new(0, 338, 0, 245)
  2950. background.ZIndex = 10
  2951.  
  2952. chat.Name = "chat"
  2953. chat.Parent = background
  2954. chat.Active = true
  2955. chat.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098)
  2956. chat.BorderSizePixel = 0
  2957. chat.ClipsDescendants = true
  2958. chat.Size = UDim2.new(0, 338, 0, 245)
  2959. chat.ZIndex = 10
  2960. table.insert(shade1,chat)
  2961.  
  2962. Clear.Name = "Clear"
  2963. Clear.Parent = chat
  2964. Clear.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  2965. Clear.BorderSizePixel = 0
  2966. Clear.Position = UDim2.new(0, 5, 0, 220)
  2967. Clear.Size = UDim2.new(0, 50, 0, 20)
  2968. Clear.ZIndex = 10
  2969. Clear.Font = Enum.Font.SourceSans
  2970. Clear.FontSize = Enum.FontSize.Size14
  2971. Clear.Text = "Clear"
  2972. Clear.TextColor3 = Color3.new(1, 1, 1)
  2973. table.insert(shade2,Clear)
  2974. table.insert(text1,Clear)
  2975.  
  2976. SaveChatlogs.Name = "SaveChatlogs"
  2977. SaveChatlogs.Parent = chat
  2978. SaveChatlogs.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  2979. SaveChatlogs.BorderSizePixel = 0
  2980. SaveChatlogs.Position = UDim2.new(0, 258, 0, 220)
  2981. SaveChatlogs.Size = UDim2.new(0, 75, 0, 20)
  2982. SaveChatlogs.ZIndex = 10
  2983. SaveChatlogs.Font = Enum.Font.SourceSans
  2984. SaveChatlogs.FontSize = Enum.FontSize.Size14
  2985. SaveChatlogs.Text = "Save To .txt"
  2986. SaveChatlogs.TextColor3 = Color3.new(1, 1, 1)
  2987. table.insert(shade2,SaveChatlogs)
  2988. table.insert(text1,SaveChatlogs)
  2989.  
  2990. Toggle.Name = "Toggle"
  2991. Toggle.Parent = chat
  2992. Toggle.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  2993. Toggle.BorderSizePixel = 0
  2994. Toggle.Position = UDim2.new(0, 60, 0, 220)
  2995. Toggle.Size = UDim2.new(0, 66, 0, 20)
  2996. Toggle.ZIndex = 10
  2997. Toggle.Font = Enum.Font.SourceSans
  2998. Toggle.FontSize = Enum.FontSize.Size14
  2999. Toggle.Text = "Disabled"
  3000. Toggle.TextColor3 = Color3.new(1, 1, 1)
  3001. table.insert(shade2,Toggle)
  3002. table.insert(text1,Toggle)
  3003.  
  3004. scroll_2.Name = "scroll"
  3005. scroll_2.Parent = chat
  3006. scroll_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  3007. scroll_2.BorderSizePixel = 0
  3008. scroll_2.Position = UDim2.new(0, 5, 0, 25)
  3009. scroll_2.Size = UDim2.new(0, 328, 0, 190)
  3010. scroll_2.ZIndex = 10
  3011. scroll_2.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  3012. scroll_2.CanvasSize = UDim2.new(0, 0, 0, 10)
  3013. scroll_2.ScrollBarThickness = 8
  3014. scroll_2.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  3015. table.insert(scroll,scroll_2)
  3016. table.insert(shade2,scroll_2)
  3017.  
  3018. join.Name = "join"
  3019. join.Parent = background
  3020. join.Active = true
  3021. join.BackgroundColor3 = Color3.new(0.141176, 0.141176, 0.145098)
  3022. join.BorderSizePixel = 0
  3023. join.ClipsDescendants = true
  3024. join.Size = UDim2.new(0, 338, 0, 245)
  3025. join.Visible = false
  3026. join.ZIndex = 10
  3027. table.insert(shade1,join)
  3028.  
  3029. Toggle_2.Name = "Toggle"
  3030. Toggle_2.Parent = join
  3031. Toggle_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  3032. Toggle_2.BorderSizePixel = 0
  3033. Toggle_2.Position = UDim2.new(0, 60, 0, 220)
  3034. Toggle_2.Size = UDim2.new(0, 66, 0, 20)
  3035. Toggle_2.ZIndex = 10
  3036. Toggle_2.Font = Enum.Font.SourceSans
  3037. Toggle_2.FontSize = Enum.FontSize.Size14
  3038. Toggle_2.Text = "Disabled"
  3039. Toggle_2.TextColor3 = Color3.new(1, 1, 1)
  3040. table.insert(shade2,Toggle_2)
  3041. table.insert(text1,Toggle_2)
  3042.  
  3043. Clear_2.Name = "Clear"
  3044. Clear_2.Parent = join
  3045. Clear_2.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  3046. Clear_2.BorderSizePixel = 0
  3047. Clear_2.Position = UDim2.new(0, 5, 0, 220)
  3048. Clear_2.Size = UDim2.new(0, 50, 0, 20)
  3049. Clear_2.ZIndex = 10
  3050. Clear_2.Font = Enum.Font.SourceSans
  3051. Clear_2.FontSize = Enum.FontSize.Size14
  3052. Clear_2.Text = "Clear"
  3053. Clear_2.TextColor3 = Color3.new(1, 1, 1)
  3054. table.insert(shade2,Clear_2)
  3055. table.insert(text1,Clear_2)
  3056.  
  3057. scroll_3.Name = "scroll"
  3058. scroll_3.Parent = join
  3059. scroll_3.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  3060. scroll_3.BorderSizePixel = 0
  3061. scroll_3.Position = UDim2.new(0, 5, 0, 25)
  3062. scroll_3.Size = UDim2.new(0, 328, 0, 190)
  3063. scroll_3.ZIndex = 10
  3064. scroll_3.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  3065. scroll_3.CanvasSize = UDim2.new(0, 0, 0, 10)
  3066. scroll_3.ScrollBarThickness = 8
  3067. scroll_3.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  3068. table.insert(scroll,scroll_3)
  3069. table.insert(shade2,scroll_3)
  3070.  
  3071. selectChat.Name = "selectChat"
  3072. selectChat.Parent = background
  3073. selectChat.BackgroundColor3 = Color3.new(0.180392, 0.180392, 0.184314)
  3074. selectChat.BorderSizePixel = 0
  3075. selectChat.Position = UDim2.new(0, 5, 0, 5)
  3076. selectChat.Size = UDim2.new(0, 164, 0, 20)
  3077. selectChat.ZIndex = 10
  3078. selectChat.Font = Enum.Font.SourceSans
  3079. selectChat.FontSize = Enum.FontSize.Size14
  3080. selectChat.Text = "Chat Logs"
  3081. selectChat.TextColor3 = Color3.new(1, 1, 1)
  3082. table.insert(shade2,selectChat)
  3083. table.insert(text1,selectChat)
  3084.  
  3085. selectJoin.Name = "selectJoin"
  3086. selectJoin.Parent = background
  3087. selectJoin.BackgroundColor3 = Color3.new(0.305882, 0.305882, 0.309804)
  3088. selectJoin.BorderSizePixel = 0
  3089. selectJoin.Position = UDim2.new(0, 169, 0, 5)
  3090. selectJoin.Size = UDim2.new(0, 164, 0, 20)
  3091. selectJoin.ZIndex = 10
  3092. selectJoin.Font = Enum.Font.SourceSans
  3093. selectJoin.FontSize = Enum.FontSize.Size14
  3094. selectJoin.Text = "Join Logs"
  3095. selectJoin.TextColor3 = Color3.new(1, 1, 1)
  3096. table.insert(shade3,selectJoin)
  3097. table.insert(text1,selectJoin)
  3098.  
  3099. function create(data)
  3100. local insts = {}
  3101. for i,v in pairs(data) do insts[v[1]] = Instance.new(v[2]) end
  3102.  
  3103. for _,v in pairs(data) do
  3104. for prop,val in pairs(v[3]) do
  3105. if type(val) == "table" then
  3106. insts[v[1]][prop] = insts[val[1]]
  3107. else
  3108. insts[v[1]][prop] = val
  3109. end
  3110. end
  3111. end
  3112.  
  3113. return insts[1]
  3114. end
  3115.  
  3116. ViewportTextBox = (function()
  3117. local textService = game:GetService("TextService")
  3118.  
  3119. local funcs = {}
  3120. funcs.Update = function(self)
  3121. local cursorPos = self.TextBox.CursorPosition
  3122. local text = self.TextBox.Text
  3123. if text == "" then self.TextBox.Position = UDim2.new(0,2,0,0) return end
  3124. if cursorPos == -1 then return end
  3125.  
  3126. local cursorText = text:sub(1,cursorPos-1)
  3127. local pos = nil
  3128. local leftEnd = -self.TextBox.Position.X.Offset
  3129. local rightEnd = leftEnd + self.View.AbsoluteSize.X
  3130.  
  3131. local totalTextSize = textService:GetTextSize(text,self.TextBox.TextSize,self.TextBox.Font,Vector2.new(999999999,100)).X
  3132. local cursorTextSize = textService:GetTextSize(cursorText,self.TextBox.TextSize,self.TextBox.Font,Vector2.new(999999999,100)).X
  3133.  
  3134. if cursorTextSize > rightEnd then
  3135. pos = math.max(-2,cursorTextSize - self.View.AbsoluteSize.X + 2)
  3136. elseif cursorTextSize < leftEnd then
  3137. pos = math.max(-2,cursorTextSize-2)
  3138. elseif totalTextSize < rightEnd then
  3139. pos = math.max(-2,totalTextSize - self.View.AbsoluteSize.X + 2)
  3140. end
  3141.  
  3142. if pos then
  3143. self.TextBox.Position = UDim2.new(0,-pos,0,0)
  3144. self.TextBox.Size = UDim2.new(1,pos,1,0)
  3145. end
  3146. end
  3147.  
  3148. local mt = {}
  3149. mt.__index = funcs
  3150.  
  3151. local function convert(textbox)
  3152. local obj = setmetatable({OffsetX = 0, TextBox = textbox},mt)
  3153.  
  3154. local view = Instance.new("Frame")
  3155. view.BackgroundTransparency = textbox.BackgroundTransparency
  3156. view.BackgroundColor3 = textbox.BackgroundColor3
  3157. view.BorderSizePixel = textbox.BorderSizePixel
  3158. view.BorderColor3 = textbox.BorderColor3
  3159. view.Position = textbox.Position
  3160. view.Size = textbox.Size
  3161. view.ClipsDescendants = true
  3162. view.Name = textbox.Name
  3163. textbox.BackgroundTransparency = 1
  3164. textbox.Position = UDim2.new(0,4,0,0)
  3165. textbox.Size = UDim2.new(1,-8,1,0)
  3166. textbox.TextXAlignment = Enum.TextXAlignment.Left
  3167. textbox.Name = "Input"
  3168. table.insert(text1,textbox)
  3169. table.insert(shade2,view)
  3170.  
  3171. obj.View = view
  3172.  
  3173. textbox.Changed:Connect(function(prop)
  3174. if prop == "Text" or prop == "CursorPosition" or prop == "AbsoluteSize" then
  3175. obj:Update()
  3176. end
  3177. end)
  3178.  
  3179. obj:Update()
  3180.  
  3181. view.Parent = textbox.Parent
  3182. textbox.Parent = view
  3183.  
  3184. return obj
  3185. end
  3186.  
  3187. return {convert = convert}
  3188. end)()
  3189.  
  3190. ViewportTextBox.convert(Cmdbar).View.ZIndex = 10
  3191. ViewportTextBox.convert(Cmdbar_2).View.ZIndex = 10
  3192.  
  3193. IYMouse = Players.LocalPlayer:GetMouse()
  3194. UserInputService = game:GetService("UserInputService")
  3195.  
  3196. local sethidden = sethiddenproperty or set_hidden_property or set_hidden_prop
  3197. local gethidden = gethiddenproperty or get_hidden_property or get_hidden_prop
  3198.  
  3199. function writefileExploit()
  3200. if writefile then
  3201. return true
  3202. end
  3203. end
  3204.  
  3205. function isNumber(str)
  3206. if tonumber(str) ~= nil or str == 'inf' then
  3207. return true
  3208. end
  3209. end
  3210.  
  3211. function getRoot(char)
  3212. local rootPart = char:FindFirstChild('HumanoidRootPart') or char:FindFirstChild('Torso') or char:FindFirstChild('UpperTorso')
  3213. return rootPart
  3214. end
  3215.  
  3216. function tools(plr)
  3217. if plr:FindFirstChildOfClass("Backpack"):FindFirstChildOfClass('Tool') or plr.Character:FindFirstChildOfClass('Tool') then
  3218. return true
  3219. end
  3220. end
  3221.  
  3222. function r15(plr)
  3223. if plr.Character:FindFirstChildOfClass('Humanoid').RigType == Enum.HumanoidRigType.R15 then
  3224. return true
  3225. end
  3226. end
  3227.  
  3228. function toClipboard(String)
  3229. local clipBoard = setclipboard or toclipboard or set_clipboard or (Clipboard and Clipboard.set)
  3230. if clipBoard then
  3231. clipBoard(String)
  3232. notify('Clipboard','Copied to clipboard')
  3233. else
  3234. notify('Clipboard',"Your exploit doesn't have the ability to use the clipboard")
  3235. end
  3236. end
  3237.  
  3238. function getHierarchy(obj)
  3239. local fullname
  3240. local period
  3241.  
  3242. if string.find(obj.Name,' ') then
  3243. fullname = '["'..obj.Name..'"]'
  3244. period = false
  3245. else
  3246. fullname = obj.Name
  3247. period = true
  3248. end
  3249.  
  3250. local getS = obj
  3251. local parent = obj
  3252. local service = ''
  3253.  
  3254. if getS.Parent ~= game then
  3255. repeat
  3256. getS = getS.Parent
  3257. service = getS.ClassName
  3258. until getS.Parent == game
  3259. end
  3260.  
  3261. if parent.Parent ~= getS then
  3262. repeat
  3263. parent = parent.Parent
  3264. if string.find(tostring(parent),' ') then
  3265. if period then
  3266. fullname = '["'..parent.Name..'"].'..fullname
  3267. else
  3268. fullname = '["'..parent.Name..'"]'..fullname
  3269. end
  3270. period = false
  3271. else
  3272. if period then
  3273. fullname = parent.Name..'.'..fullname
  3274. else
  3275. fullname = parent.Name..''..fullname
  3276. end
  3277. period = true
  3278. end
  3279. until parent.Parent == getS
  3280. elseif string.find(tostring(parent),' ') then
  3281. fullname = '["'..parent.Name..'"]'
  3282. period = false
  3283. end
  3284.  
  3285. if period then
  3286. return 'game:GetService("'..service..'").'..fullname
  3287. else
  3288. return 'game:GetService("'..service..'")'..fullname
  3289. end
  3290. end
  3291.  
  3292. AllWaypoints = {}
  3293.  
  3294. local cooldown = false
  3295. function writefileCooldown(name,data)
  3296. spawn(function()
  3297. if not cooldown then
  3298. cooldown = true
  3299. writefile(name, data)
  3300. else
  3301. repeat wait() until cooldown == false
  3302. writefileCooldown(name,data)
  3303. end
  3304. wait(3)
  3305. cooldown = false
  3306. end)
  3307. end
  3308.  
  3309. function dragGUI(gui)
  3310. spawn(function()
  3311. local dragging
  3312. local dragInput
  3313. local dragStart
  3314. local startPos
  3315. local function update(input)
  3316. local delta = input.Position - dragStart
  3317. local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  3318. game:GetService("TweenService"):Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  3319. end
  3320. gui.InputBegan:Connect(function(input)
  3321. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  3322. dragging = true
  3323. dragStart = input.Position
  3324. startPos = gui.Position
  3325.  
  3326. input.Changed:Connect(function()
  3327. if input.UserInputState == Enum.UserInputState.End then
  3328. dragging = false
  3329. end
  3330. end)
  3331. end
  3332. end)
  3333. gui.InputChanged:Connect(function(input)
  3334. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  3335. dragInput = input
  3336. end
  3337. end)
  3338. UserInputService.InputChanged:Connect(function(input)
  3339. if input == dragInput and dragging then
  3340. update(input)
  3341. end
  3342. end)
  3343. end)
  3344. end
  3345.  
  3346. dragGUI(logs)
  3347. dragGUI(KeybindEditor)
  3348. dragGUI(PluginEditor)
  3349. dragGUI(ToPartFrame)
  3350.  
  3351. eventEditor = (function()
  3352. local events = {}
  3353.  
  3354. local function registerEvent(name,sets)
  3355. events[name] = {
  3356. commands = {},
  3357. sets = sets or {}
  3358. }
  3359. end
  3360.  
  3361. local onEdited = nil
  3362.  
  3363. local function fireEvent(name,...)
  3364. local args = {...}
  3365. local event = events[name]
  3366. if event then
  3367. for i,cmd in pairs(event.commands) do
  3368. local metCondition = true
  3369. for idx,set in pairs(event.sets) do
  3370. local argVal = args[idx]
  3371. local cmdSet = cmd[2][idx]
  3372. local condType = set.Type
  3373. if condType == "Player" then
  3374. if cmdSet == 0 then
  3375. metCondition = metCondition and (tostring(Players.LocalPlayer) == argVal)
  3376. elseif cmdSet ~= 1 then
  3377. metCondition = metCondition and table.find(getPlayer(cmdSet,Players.LocalPlayer),argVal)
  3378. end
  3379. elseif condType == "String" then
  3380. if cmdSet ~= 0 then
  3381. metCondition = metCondition and string.find(argVal:lower(),cmdSet:lower())
  3382. end
  3383. end
  3384. if not metCondition then break end
  3385. end
  3386.  
  3387. if metCondition then
  3388. pcall(coroutine.wrap(function()
  3389. local cmdStr = cmd[1]
  3390. for count,arg in pairs(args) do
  3391. cmdStr = cmdStr:gsub("%$"..count,arg)
  3392. end
  3393. wait(cmd[3] or 0)
  3394. execCmd(cmdStr)
  3395. end))
  3396. end
  3397. end
  3398. end
  3399. end
  3400.  
  3401. local main = create({
  3402. {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,}},
  3403. {2,"Frame",{BackgroundColor3=currentShade2,BorderSizePixel=0,Name="TopBar",Parent={1},Size=UDim2.new(1,0,0,20),ZIndex=10,}},
  3404. {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,}},
  3405. {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,}},
  3406. {5,"ImageLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Image="rbxassetid://5054663650",Parent={4},Position=UDim2.new(0,5,0,5),Size=UDim2.new(0,10,0,10),ZIndex=10,}},
  3407. {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,}},
  3408. {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,}},
  3409. {8,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={7},Size=UDim2.new(1,0,1,0),ZIndex=10,}},
  3410. {9,"UIListLayout",{Parent={8},SortOrder=2,}},
  3411. {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,}},
  3412. {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,}},
  3413. {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,}},
  3414. {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,}},
  3415. {14,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={13},Size=UDim2.new(1,0,1,0),ZIndex=10,}},
  3416. {15,"UIListLayout",{Parent={14},SortOrder=2,}},
  3417. {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,}},
  3418. {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,}},
  3419. {18,"Folder",{Name="Templates",Parent={10},}},
  3420. {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,}},
  3421. {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,}},
  3422. {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,}},
  3423. {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,}},
  3424. {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,}},
  3425. {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,}},
  3426. {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,}},
  3427. {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,}},
  3428. {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,}},
  3429. {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,}},
  3430. {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,}},
  3431. {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,}},
  3432. {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,}},
  3433. {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,}},
  3434. {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,}},
  3435. {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,}},
  3436. {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,}},
  3437. {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,}},
  3438. {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,}},
  3439. {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,}},
  3440. {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,}},
  3441. {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,}},
  3442. {41,"Frame",{BackgroundColor3=currentShade1,BorderSizePixel=0,ClipsDescendants=true,Name="EventTemplate",Parent={6},Size=UDim2.new(1,0,0,20),Visible=false,ZIndex=10,}},
  3443. {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,}},
  3444. {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,}},
  3445. {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,}},
  3446. {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,}},
  3447. {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,}},
  3448. {47,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Holder",Parent={44},Size=UDim2.new(1,0,1,-20),ZIndex=10,}},
  3449. {48,"UIListLayout",{Parent={47},SortOrder=2,}},
  3450. {49,"Frame",{currentShade1,BorderSizePixel=0,ClipsDescendants=true,Name="CmdTemplate",Parent={6},Size=UDim2.new(1,0,0,20),Visible=false,ZIndex=10,}},
  3451. {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,}},
  3452. {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,}},
  3453. {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,}},
  3454. {53,"ImageLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Image="rbxassetid://1204397029",Parent={52},Position=UDim2.new(0,2,0,2),Size=UDim2.new(0,16,0,16),ZIndex=10,}},
  3455. })
  3456. main.Name = randomString()
  3457. local mainFrame = main:WaitForChild("Content")
  3458. local eventList = mainFrame:WaitForChild("List")
  3459. local eventListHolder = eventList:WaitForChild("Holder")
  3460. local cmdTemplate = mainFrame:WaitForChild("CmdTemplate")
  3461. local eventTemplate = mainFrame:WaitForChild("EventTemplate")
  3462. local settingsFrame = mainFrame:WaitForChild("Settings"):WaitForChild("Slider")
  3463. local settingsTemplates = mainFrame.Settings:WaitForChild("Templates")
  3464. local settingsList = settingsFrame:WaitForChild("List"):WaitForChild("Holder")
  3465. table.insert(shade2,main.TopBar) table.insert(shade1,mainFrame) table.insert(shade2,eventTemplate)
  3466. table.insert(text1,eventTemplate.EventName) table.insert(shade1,eventTemplate.Cmds.Add) table.insert(shade1,cmdTemplate)
  3467. table.insert(text1,cmdTemplate.TextBox) table.insert(shade2,cmdTemplate.Delete) table.insert(shade2,cmdTemplate.Settings)
  3468. table.insert(scroll,mainFrame.List) table.insert(shade1,settingsFrame) table.insert(shade2,settingsFrame.Line)
  3469. table.insert(shade2,settingsFrame.Close) table.insert(scroll,settingsFrame.List) table.insert(shade2,settingsTemplates.DelayEditor.Secs)
  3470. table.insert(text1,settingsTemplates.DelayEditor.Secs) table.insert(text1,settingsTemplates.DelayEditor.Secs.Label) table.insert(text1,settingsTemplates.Players.Title)
  3471. table.insert(shade3,settingsTemplates.Players.CustomButton) table.insert(shade2,settingsTemplates.Players.Custom) table.insert(text1,settingsTemplates.Players.Custom)
  3472. table.insert(shade3,settingsTemplates.Players.Any.Button) table.insert(shade3,settingsTemplates.Players.Me.Button) table.insert(text1,settingsTemplates.Players.Any)
  3473. table.insert(text1,settingsTemplates.Players.Me) table.insert(text1,settingsTemplates.Strings.Title) table.insert(text1,settingsTemplates.Strings.Any)
  3474. table.insert(shade3,settingsTemplates.Strings.Any.Button) table.insert(shade3,settingsTemplates.Strings.CustomButton) table.insert(text1,settingsTemplates.Strings.Custom)
  3475. table.insert(shade2,settingsTemplates.Strings.Custom)
  3476.  
  3477. local tween = game:GetService("TweenService")
  3478. local tweenInf = TweenInfo.new(0.25,Enum.EasingStyle.Quart,Enum.EasingDirection.Out)
  3479.  
  3480. local currentlyEditingCmd = nil
  3481.  
  3482. settingsFrame:WaitForChild("Close").MouseButton1Click:Connect(function()
  3483. settingsFrame:TweenPosition(UDim2.new(0,-150,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
  3484. end)
  3485.  
  3486. local function resizeList()
  3487. local size = 0
  3488.  
  3489. for i,v in pairs(eventListHolder:GetChildren()) do
  3490. if v.Name == "EventTemplate" then
  3491. size = size + 20
  3492. if v.Expand.Text == "V" then
  3493. size = size + 20*(1+(#events[v.EventName.Text].commands or 0))
  3494. end
  3495. end
  3496. end
  3497.  
  3498. tween:Create(eventList,tweenInf,{CanvasSize = UDim2.new(0,0,0,size)}):Play()
  3499.  
  3500. if size > eventList.AbsoluteSize.Y then
  3501. eventListHolder.Size = UDim2.new(1,-8,1,0)
  3502. else
  3503. eventListHolder.Size = UDim2.new(1,0,1,0)
  3504. end
  3505. end
  3506.  
  3507. local function resizeSettingsList()
  3508. local size = 0
  3509.  
  3510. for i,v in pairs(settingsList:GetChildren()) do
  3511. if v:IsA("Frame") then
  3512. size = size + v.AbsoluteSize.Y
  3513. end
  3514. end
  3515.  
  3516. settingsList.Parent.CanvasSize = UDim2.new(0,0,0,size)
  3517.  
  3518. if size > settingsList.Parent.AbsoluteSize.Y then
  3519. settingsList.Size = UDim2.new(1,-8,1,0)
  3520. else
  3521. settingsList.Size = UDim2.new(1,0,1,0)
  3522. end
  3523. end
  3524.  
  3525. local function setupCheckbox(button,callback)
  3526. local enabled = button.On.BackgroundTransparency == 0
  3527.  
  3528. local function update()
  3529. button.On.BackgroundTransparency = (enabled and 0 or 1)
  3530. end
  3531.  
  3532. button.On.MouseButton1Click:Connect(function()
  3533. enabled = not enabled
  3534. update()
  3535. if callback then callback(enabled) end
  3536. end)
  3537.  
  3538. return {
  3539. Toggle = function(nocall) enabled = not enabled update() if not nocall and callback then callback(enabled) end end,
  3540. Enable = function(nocall) if enabled then return end enabled = true update()if not nocall and callback then callback(enabled) end end,
  3541. Disable = function(nocall) if not enabled then return end enabled = false update()if not nocall and callback then callback(enabled) end end,
  3542. IsEnabled = function() return enabled end
  3543. }
  3544. end
  3545.  
  3546. local function openSettingsEditor(event,cmd)
  3547. currentlyEditingCmd = cmd
  3548.  
  3549. for i,v in pairs(settingsList:GetChildren()) do if v:IsA("Frame") then v:Destroy() end end
  3550.  
  3551. local delayEditor = settingsTemplates.DelayEditor:Clone()
  3552. delayEditor.Secs.FocusLost:Connect(function()
  3553. cmd[3] = tonumber(delayEditor.Secs.Text) or 0
  3554. delayEditor.Secs.Text = cmd[3]
  3555. if onEdited then onEdited() end
  3556. end)
  3557. delayEditor.Secs.Text = cmd[3]
  3558. delayEditor.Visible = true
  3559. table.insert(shade2,delayEditor.Secs)
  3560. table.insert(text1,delayEditor.Secs)
  3561. table.insert(text1,delayEditor.Secs.Label)
  3562. delayEditor.Parent = settingsList
  3563.  
  3564. for i,v in pairs(event.sets) do
  3565. if v.Type == "Player" then
  3566. local template = settingsTemplates.Players:Clone()
  3567. template.Title.Text = v.Name or "Player"
  3568.  
  3569. local me,any,custom
  3570.  
  3571. me = setupCheckbox(template.Me.Button,function(on)
  3572. if not on then return end
  3573. any.Disable()
  3574. custom.Disable()
  3575. cmd[2][i] = 0
  3576. if onEdited then onEdited() end
  3577. end)
  3578.  
  3579. any = setupCheckbox(template.Any.Button,function(on)
  3580. if not on then return end
  3581. me.Disable()
  3582. custom.Disable()
  3583. cmd[2][i] = 1
  3584. if onEdited then onEdited() end
  3585. end)
  3586.  
  3587. local customTextBox = template.Custom
  3588. custom = setupCheckbox(template.CustomButton,function(on)
  3589. if not on then return end
  3590. me.Disable()
  3591. any.Disable()
  3592. cmd[2][i] = customTextBox.Text
  3593. if onEdited then onEdited() end
  3594. end)
  3595.  
  3596. ViewportTextBox.convert(customTextBox)
  3597. customTextBox.FocusLost:Connect(function()
  3598. if custom:IsEnabled() then
  3599. cmd[2][i] = customTextBox.Text
  3600. if onEdited then onEdited() end
  3601. end
  3602. end)
  3603.  
  3604. local cVal = cmd[2][i]
  3605. if cVal == 0 then
  3606. me:Enable()
  3607. elseif cVal == 1 then
  3608. any:Enable()
  3609. else
  3610. custom:Enable()
  3611. customTextBox.Text = cVal
  3612. end
  3613.  
  3614. template.Visible = true
  3615. table.insert(text1,template.Title)
  3616. table.insert(shade3,template.CustomButton)
  3617. table.insert(shade3,template.Any.Button)
  3618. table.insert(shade3,template.Me.Button)
  3619. table.insert(text1,template.Any)
  3620. table.insert(text1,template.Me)
  3621. template.Parent = settingsList
  3622. elseif v.Type == "String" then
  3623. local template = settingsTemplates.Strings:Clone()
  3624. template.Title.Text = v.Name or "String"
  3625.  
  3626. local any,custom
  3627.  
  3628. any = setupCheckbox(template.Any.Button,function(on)
  3629. if not on then return end
  3630. custom.Disable()
  3631. cmd[2][i] = 0
  3632. if onEdited then onEdited() end
  3633. end)
  3634.  
  3635. local customTextBox = template.Custom
  3636. custom = setupCheckbox(template.CustomButton,function(on)
  3637. if not on then return end
  3638. any.Disable()
  3639. cmd[2][i] = customTextBox.Text
  3640. if onEdited then onEdited() end
  3641. end)
  3642.  
  3643. ViewportTextBox.convert(customTextBox)
  3644. customTextBox.FocusLost:Connect(function()
  3645. if custom:IsEnabled() then
  3646. cmd[2][i] = customTextBox.Text
  3647. if onEdited then onEdited() end
  3648. end
  3649. end)
  3650.  
  3651. local cVal = cmd[2][i]
  3652. if cVal == 0 then
  3653. any:Enable()
  3654. else
  3655. custom:Enable()
  3656. customTextBox.Text = cVal
  3657. end
  3658.  
  3659. template.Visible = true
  3660. table.insert(text1,template.Title)
  3661. table.insert(text1,template.Any)
  3662. table.insert(shade3,template.Any.Button)
  3663. table.insert(shade3,template.CustomButton)
  3664. template.Parent = settingsList
  3665. end
  3666. end
  3667. resizeSettingsList()
  3668. settingsFrame:TweenPosition(UDim2.new(0,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
  3669. end
  3670.  
  3671. local function defaultSettings(ev)
  3672. local res = {}
  3673.  
  3674. for i,v in pairs(ev.sets) do
  3675. if v.Type == "Player" then
  3676. res[#res+1] = v.Default or 0
  3677. elseif v.Type == "String" then
  3678. res[#res+1] = v.Default or 0
  3679. end
  3680. end
  3681.  
  3682. return res
  3683. end
  3684.  
  3685. local function refreshList()
  3686. for i,v in pairs(eventListHolder:GetChildren()) do if v:IsA("Frame") then v:Destroy() end end
  3687.  
  3688. for name,event in pairs(events) do
  3689. local eventF = eventTemplate:Clone()
  3690. eventF.EventName.Text = name
  3691. eventF.Visible = true
  3692. table.insert(shade2,eventF)
  3693. table.insert(text1,eventF.EventName)
  3694. table.insert(shade1,eventF.Cmds.Add)
  3695.  
  3696. local expanded = false
  3697. eventF.Expand.MouseButton1Down:Connect(function()
  3698. expanded = not expanded
  3699. 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)
  3700. eventF.Expand.Text = expanded and "V" or ">"
  3701. resizeList()
  3702. end)
  3703.  
  3704. local function refreshCommands()
  3705. for i,v in pairs(eventF.Cmds.Holder:GetChildren()) do
  3706. if v.Name == "CmdTemplate" then
  3707. v:Destroy()
  3708. end
  3709. end
  3710.  
  3711. for i,cmd in pairs(event.commands) do
  3712. local cmdF = cmdTemplate:Clone()
  3713. local cmdTextBox = cmdF.TextBox
  3714. ViewportTextBox.convert(cmdTextBox)
  3715. cmdTextBox.Text = cmd[1]
  3716. cmdF.Visible = true
  3717. table.insert(shade1,cmdF)
  3718. table.insert(shade2,cmdF.Delete)
  3719. table.insert(shade2,cmdF.Settings)
  3720.  
  3721. cmdTextBox.FocusLost:Connect(function()
  3722. event.commands[i] = {cmdTextBox.Text,cmd[2],cmd[3]}
  3723. if onEdited then onEdited() end
  3724. end)
  3725.  
  3726. cmdF.Settings.MouseButton1Click:Connect(function()
  3727. openSettingsEditor(event,cmd)
  3728. end)
  3729.  
  3730. cmdF.Delete.MouseButton1Click:Connect(function()
  3731. table.remove(event.commands,i)
  3732. refreshCommands()
  3733. resizeList()
  3734.  
  3735. if currentlyEditingCmd == cmd then
  3736. settingsFrame:TweenPosition(UDim2.new(0,-150,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.25,true)
  3737. end
  3738. if onEdited then onEdited() end
  3739. end)
  3740.  
  3741. cmdF.Parent = eventF.Cmds.Holder
  3742. end
  3743.  
  3744. 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)
  3745. end
  3746.  
  3747. local newBox = eventF.Cmds.Add.TextBox
  3748. ViewportTextBox.convert(newBox)
  3749. newBox.FocusLost:Connect(function(enter)
  3750. if enter then
  3751. event.commands[#event.commands+1] = {newBox.Text,defaultSettings(event),0}
  3752. newBox.Text = ""
  3753.  
  3754. refreshCommands()
  3755. resizeList()
  3756. if onEdited then onEdited() end
  3757. end
  3758. end)
  3759.  
  3760. --eventF:GetPropertyChangedSignal("AbsoluteSize"):Connect(resizeList)
  3761.  
  3762. eventF.Parent = eventListHolder
  3763.  
  3764. refreshCommands()
  3765. end
  3766.  
  3767. resizeList()
  3768. end
  3769.  
  3770. local function saveData()
  3771. local result = {}
  3772. for i,v in pairs(events) do
  3773. result[i] = v.commands
  3774. end
  3775. return game:GetService("HttpService"):JSONEncode(result)
  3776. end
  3777.  
  3778. local function loadData(str)
  3779. local data = game:GetService("HttpService"):JSONDecode(str)
  3780. for i,v in pairs(data) do
  3781. if events[i] then
  3782. events[i].commands = v
  3783. end
  3784. end
  3785. end
  3786.  
  3787. local function addCmd(event,data)
  3788. table.insert(events[event].commands,data)
  3789. end
  3790.  
  3791. local function setOnEdited(f)
  3792. if type(f) == "function" then
  3793. onEdited = f
  3794. end
  3795. end
  3796.  
  3797. main.TopBar.Close.MouseButton1Click:Connect(function()
  3798. main:TweenPosition(UDim2.new(0.5,-175,0,-500), "InOut", "Quart", 0.5, true, nil)
  3799. end)
  3800. dragGUI(main)
  3801. main.Parent = PARENT
  3802.  
  3803. return {
  3804. RegisterEvent = registerEvent,
  3805. FireEvent = fireEvent,
  3806. Refresh = refreshList,
  3807. SaveData = saveData,
  3808. LoadData = loadData,
  3809. AddCmd = addCmd,
  3810. Frame = main,
  3811. SetOnEdited = setOnEdited
  3812. }
  3813. end)()
  3814.  
  3815. reference = (function()
  3816. local main = create({
  3817. {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,}},
  3818. {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,}},
  3819. {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,}},
  3820. {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,}},
  3821. {5,"ImageLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Image="rbxassetid://5054663650",Parent={4},Position=UDim2.new(0,5,0,5),Size=UDim2.new(0,10,0,10),ZIndex=10,}},
  3822. {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,}},
  3823. {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,1295),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,}},
  3824. {8,"UIListLayout",{Parent={7},SortOrder=2,}},
  3825. {9,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,411),ZIndex=10,}},
  3826. {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,}},
  3827. {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,}},
  3828. {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,}},
  3829. {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,}},
  3830. {14,"UIListLayout",{Parent={13},SortOrder=2,}},
  3831. {15,"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,}},
  3832. {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,}},
  3833. {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,}},
  3834. {18,"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,}},
  3835. {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,}},
  3836. {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,}},
  3837. {21,"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,}},
  3838. {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,}},
  3839. {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,}},
  3840. {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,}},
  3841. {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,}},
  3842. {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,}},
  3843. {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,}},
  3844. {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,}},
  3845. {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,}},
  3846. {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,}},
  3847. {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,}},
  3848. {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,}},
  3849. {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,}},
  3850. {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,}},
  3851. {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,}},
  3852. {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,}},
  3853. {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,}},
  3854. {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,}},
  3855. {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,}},
  3856. {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,}},
  3857. {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,}},
  3858. {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,}},
  3859. {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,}},
  3860. {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,}},
  3861. {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,}},
  3862. {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,}},
  3863. {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,}},
  3864. {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,}},
  3865. {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,}},
  3866. {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,}},
  3867. {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,}},
  3868. {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,}},
  3869. {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,}},
  3870. {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,}},
  3871. {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,}},
  3872. {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,}},
  3873. {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,}},
  3874. {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,}},
  3875. {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,}},
  3876. {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,}},
  3877. {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,}},
  3878. {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,}},
  3879. {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,}},
  3880. {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,}},
  3881. {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,}},
  3882. {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,}},
  3883. {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,}},
  3884. {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,}},
  3885. {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,}},
  3886. {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,}},
  3887. {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,}},
  3888. {72,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,180),ZIndex=10,}},
  3889. {73,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={72},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,}},
  3890. {74,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={72},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
  3891. {75,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={72},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,}},
  3892. {76,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={72},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,}},
  3893. {77,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={72},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,}},
  3894. {78,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={72},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,}},
  3895. {79,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={72},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,}},
  3896. {80,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={72},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,}},
  3897. {81,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,154),ZIndex=10,}},
  3898. {82,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={81},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,}},
  3899. {83,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={81},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,}},
  3900. {84,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={81},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
  3901. {85,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={81},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,}},
  3902. {86,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={81},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,}},
  3903. {87,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={81},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,}},
  3904. {88,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,120),ZIndex=10,}},
  3905. {89,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={88},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,}},
  3906. {90,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={88},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,}},
  3907. {91,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={88},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
  3908. {92,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={88},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,}},
  3909. {93,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={88},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,}},
  3910. {94,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,75),ZIndex=10,}},
  3911. {95,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={94},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,}},
  3912. {96,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={94},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,}},
  3913. {97,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={94},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
  3914. {98,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,75),ZIndex=10,}},
  3915. {99,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={98},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,}},
  3916. {100,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={98},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,}},
  3917. {101,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={98},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
  3918. {102,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,175),ZIndex=10,}},
  3919. {103,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={102},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,}},
  3920. {104,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={102},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,}},
  3921. {105,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={102},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),ZIndex=10,}},
  3922. {106,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={102},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,}},
  3923. {107,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Text",Parent={102},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,}},
  3924. {108,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={102},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,}},
  3925. {109,"Frame",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Name="Section",Parent={7},Size=UDim2.new(1,0,0,105),ZIndex=10,}},
  3926. {110,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=4,Name="Header",Parent={109},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,}},
  3927. {111,"TextLabel",{BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,Font=3,Name="Text",Parent={109},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,}},
  3928. {112,"Frame",{BackgroundColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),BorderSizePixel=0,Name="Line",Parent={109},Position=UDim2.new(0,10,1,-1),Size=UDim2.new(1,-20,0,1),Visible=false,ZIndex=10,}},
  3929. {113,"TextButton",{BackgroundColor3=Color3.new(0.48627451062202,0.61960786581039,0.85098040103912),BorderColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),Font=4,Name="InviteButton",Parent={109},Position=UDim2.new(0,5,0,75),Size=UDim2.new(1,-10,0,25),Text="Copy Discord Invite Link (https://discord.io/infiniteyield)",TextColor3=Color3.new(0.1803921610117,0.1803921610117,0.1843137294054),TextSize=16,ZIndex=10,}},
  3930. })
  3931. for i,v in pairs(main.Content.List:GetDescendants()) do
  3932. if v:IsA("TextLabel") then
  3933. table.insert(text1,v)
  3934. end
  3935. end
  3936. table.insert(scroll,main.Content.List)
  3937. table.insert(shade1,main.Content)
  3938. table.insert(shade2,main.TopBar)
  3939. main.Name = randomString()
  3940. main.TopBar.Close.MouseButton1Click:Connect(function()
  3941. main:TweenPosition(UDim2.new(0.5,-250,0,-500), "InOut", "Quart", 0.5, true, nil)
  3942. end)
  3943. local inviteButton = main:FindFirstChild("InviteButton",true)
  3944. local lastPress = nil
  3945. inviteButton.MouseButton1Click:Connect(function()
  3946. local func = setclipboard or toclipboard or set_clipboard or (Clipboard and Clipboard.set)
  3947. if func then
  3948. func("https://discord.io/infiniteyield")
  3949. inviteButton.Text = "Copied"
  3950. else
  3951. inviteButton.Text = "No Clipboard Function, type out the link"
  3952. end
  3953. local pressTime = tick()
  3954. lastPress = pressTime
  3955. wait(2)
  3956. if lastPress ~= pressTime then return end
  3957. inviteButton.Text = "Copy Discord Invite Link (https://discord.io/infiniteyield)"
  3958. end)
  3959. dragGUI(main)
  3960. main.Parent = PARENT
  3961.  
  3962. ReferenceButton.MouseButton1Click:Connect(function()
  3963. main:TweenPosition(UDim2.new(0.5,-250,0.5,-150), "InOut", "Quart", 0.5, true, nil)
  3964. end)
  3965. end)()
  3966.  
  3967. currentShade1 = Color3.fromRGB(36, 36, 37)
  3968. currentShade2 = Color3.fromRGB(46, 46, 47)
  3969. currentShade3 = Color3.fromRGB(78, 78, 79)
  3970. currentText1 = Color3.new(1, 1, 1)
  3971. currentText2 = Color3.new(0, 0, 0)
  3972. currentScroll = Color3.fromRGB(78,78,79)
  3973.  
  3974. defaultsettings = {
  3975. prefix = ';';
  3976. StayOpen = false;
  3977. logsEnabled = false;
  3978. jLogsEnabled = false;
  3979. aliases = {};
  3980. binds = {};
  3981. WayPoints = {};
  3982. PluginsTable = {};
  3983. currentShade1 = {currentShade1.R,currentShade1.G,currentShade1.B};
  3984. currentShade2 = {currentShade2.R,currentShade2.G,currentShade2.B};
  3985. currentShade3 = {currentShade3.R,currentShade3.G,currentShade3.B};
  3986. currentText1 = {currentText1.R,currentText1.G,currentText1.B};
  3987. currentText2 = {currentText2.R,currentText2.G,currentText2.B};
  3988. currentScroll = {currentScroll.R,currentScroll.G,currentScroll.B};
  3989. eventBinds = eventEditor.SaveData()
  3990. }
  3991.  
  3992. defaults = game:GetService("HttpService"):JSONEncode(defaultsettings)
  3993.  
  3994. nosaves = false
  3995.  
  3996. local loadedEventData = nil
  3997. function saves()
  3998. if writefileExploit() then
  3999. if pcall(function() readfile("IY_FE.iy") end) then
  4000. if readfile("IY_FE.iy") ~= nil then
  4001. local success, response = pcall(function()
  4002. local json = game:GetService("HttpService"):JSONDecode(readfile("IY_FE.iy"))
  4003. if json.prefix ~= nil then prefix = json.prefix else prefix = ';' end
  4004. if json.StayOpen ~= nil then StayOpen = json.StayOpen else StayOpen = false end
  4005. if json.logsEnabled ~= nil then logsEnabled = json.logsEnabled else logsEnabled = false end
  4006. if json.jLogsEnabled ~= nil then jLogsEnabled = json.jLogsEnabled else jLogsEnabled = false end
  4007. if json.aliases ~= nil then aliases = json.aliases else aliases = {} end
  4008. if json.binds ~= nil then binds = json.binds else binds = {} end
  4009. if json.spawnCmds ~= nil then spawnCmds = json.spawnCmds end
  4010. if json.WayPoints ~= nil then AllWaypoints = json.WayPoints else WayPoints = {} AllWaypoints = {} end
  4011. if json.PluginsTable ~= nil then PluginsTable = json.PluginsTable else PluginsTable = {} end
  4012. if json.currentShade1 ~= nil then currentShade1 = Color3.new(json.currentShade1[1],json.currentShade1[2],json.currentShade1[3]) end
  4013. if json.currentShade2 ~= nil then currentShade2 = Color3.new(json.currentShade2[1],json.currentShade2[2],json.currentShade2[3]) end
  4014. if json.currentShade3 ~= nil then currentShade3 = Color3.new(json.currentShade3[1],json.currentShade3[2],json.currentShade3[3]) end
  4015. if json.currentText1 ~= nil then currentText1 = Color3.new(json.currentText1[1],json.currentText1[2],json.currentText1[3]) end
  4016. if json.currentText2 ~= nil then currentText2 = Color3.new(json.currentText2[1],json.currentText2[2],json.currentText2[3]) end
  4017. if json.currentScroll ~= nil then currentScroll = Color3.new(json.currentScroll[1],json.currentScroll[2],json.currentScroll[3]) end
  4018. if json.eventBinds then loadedEventData = json.eventBinds end
  4019. end)
  4020. if not success then
  4021. warn("Save Json Error:", response)
  4022. warn("Overwriting Save File")
  4023. writefileCooldown("IY_FE.iy", defaults)
  4024. wait()
  4025. saves()
  4026. end
  4027. else
  4028. writefileCooldown("IY_FE.iy", defaults)
  4029. wait()
  4030. saves()
  4031. end
  4032. else
  4033. writefileCooldown("IY_FE.iy", defaults)
  4034. wait()
  4035. if pcall(function() readfile("IY_FE.iy") end) then
  4036. saves()
  4037. else
  4038. nosaves = true
  4039. prefix = ';'
  4040. StayOpen = false
  4041. logsEnabled = false
  4042. jLogsEnabled = false
  4043. aliases = {}
  4044. binds = {}
  4045. WayPoints = {}
  4046. PluginsTable = {}
  4047.  
  4048. local FileError = Instance.new("Frame")
  4049. local background = Instance.new("Frame")
  4050. local Directions = Instance.new("TextLabel")
  4051. local shadow = Instance.new("Frame")
  4052. local PopupText = Instance.new("TextLabel")
  4053. local Exit = Instance.new("TextButton")
  4054. local ExitImage = Instance.new("ImageLabel")
  4055.  
  4056. FileError.Name = randomString()
  4057. FileError.Parent = PARENT
  4058. FileError.Active = true
  4059. FileError.BackgroundTransparency = 1
  4060. FileError.Position = UDim2.new(0.5, -180, 0, 290)
  4061. FileError.Size = UDim2.new(0, 360, 0, 20)
  4062. FileError.ZIndex = 10
  4063.  
  4064. background.Name = "background"
  4065. background.Parent = FileError
  4066. background.Active = true
  4067. background.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
  4068. background.BorderSizePixel = 0
  4069. background.Position = UDim2.new(0, 0, 0, 20)
  4070. background.Size = UDim2.new(0, 360, 0, 205)
  4071. background.ZIndex = 10
  4072.  
  4073. Directions.Name = "Directions"
  4074. Directions.Parent = background
  4075. Directions.BackgroundTransparency = 1
  4076. Directions.BorderSizePixel = 0
  4077. Directions.Position = UDim2.new(0, 10, 0, 10)
  4078. Directions.Size = UDim2.new(0, 340, 0, 185)
  4079. Directions.Font = Enum.Font.SourceSans
  4080. Directions.TextSize = 14
  4081. Directions.Text = "There was a problem writing a save file to your PC.\n\nPlease contact the developer/support team for your exploit and tell them writefile is not working.\n\nYour settings, keybinds, waypoints, and aliases will not save if you continue.\n\nThings to try:\n> Make sure a 'workspace' folder is located in the same folder as your exploit\n> If your exploit is inside of a zip/rar file, extract it.\n> Rejoin the game and try again or restart your PC and try again."
  4082. Directions.TextColor3 = Color3.new(1, 1, 1)
  4083. Directions.TextWrapped = true
  4084. Directions.TextXAlignment = Enum.TextXAlignment.Left
  4085. Directions.TextYAlignment = Enum.TextYAlignment.Top
  4086. Directions.ZIndex = 10
  4087.  
  4088. shadow.Name = "shadow"
  4089. shadow.Parent = FileError
  4090. shadow.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
  4091. shadow.BorderSizePixel = 0
  4092. shadow.Size = UDim2.new(0, 360, 0, 20)
  4093. shadow.ZIndex = 10
  4094.  
  4095. PopupText.Name = "PopupText"
  4096. PopupText.Parent = shadow
  4097. PopupText.BackgroundTransparency = 1
  4098. PopupText.Size = UDim2.new(1, 0, 0.95, 0)
  4099. PopupText.ZIndex = 10
  4100. PopupText.Font = Enum.Font.SourceSans
  4101. PopupText.TextSize = 14
  4102. PopupText.Text = "File Error"
  4103. PopupText.TextColor3 = Color3.new(1, 1, 1)
  4104. PopupText.TextWrapped = true
  4105.  
  4106. Exit.Name = "Exit"
  4107. Exit.Parent = shadow
  4108. Exit.BackgroundTransparency = 1
  4109. Exit.Position = UDim2.new(1, -20, 0, 0)
  4110. Exit.Size = UDim2.new(0, 20, 0, 20)
  4111. Exit.Text = ""
  4112. Exit.ZIndex = 10
  4113.  
  4114. ExitImage.Parent = Exit
  4115. ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
  4116. ExitImage.BackgroundTransparency = 1
  4117. ExitImage.Position = UDim2.new(0, 5, 0, 5)
  4118. ExitImage.Size = UDim2.new(0, 10, 0, 10)
  4119. ExitImage.Image = "rbxassetid://5054663650"
  4120. ExitImage.ZIndex = 10
  4121.  
  4122. Exit.MouseButton1Click:Connect(function()
  4123. FileError:Destroy()
  4124. end)
  4125. end
  4126. end
  4127. else
  4128. prefix = ';'
  4129. StayOpen = false
  4130. logsEnabled = false
  4131. jLogsEnabled = false
  4132. aliases = {}
  4133. binds = {}
  4134. WayPoints = {}
  4135. PluginsTable = {}
  4136. end
  4137. end
  4138.  
  4139. saves()
  4140.  
  4141. function updatesaves()
  4142. if nosaves == false and writefileExploit() then
  4143. local update = {
  4144. prefix = prefix;
  4145. StayOpen = StayOpen;
  4146. logsEnabled = logsEnabled;
  4147. jLogsEnabled = jLogsEnabled;
  4148. aliases = aliases;
  4149. binds = binds;
  4150. WayPoints = AllWaypoints;
  4151. PluginsTable = PluginsTable;
  4152. currentShade1 = {currentShade1.R,currentShade1.G,currentShade1.B};
  4153. currentShade2 = {currentShade2.R,currentShade2.G,currentShade2.B};
  4154. currentShade3 = {currentShade3.R,currentShade3.G,currentShade3.B};
  4155. currentText1 = {currentText1.R,currentText1.G,currentText1.B};
  4156. currentText2 = {currentText2.R,currentText2.G,currentText2.B};
  4157. currentScroll = {currentScroll.R,currentScroll.G,currentScroll.B};
  4158. eventBinds = eventEditor.SaveData()
  4159. }
  4160. writefileCooldown("IY_FE.iy", game:GetService("HttpService"):JSONEncode(update))
  4161. end
  4162. end
  4163.  
  4164. eventEditor.SetOnEdited(updatesaves)
  4165.  
  4166. pWayPoints = {}
  4167. WayPoints = {}
  4168.  
  4169. if #AllWaypoints > 0 then
  4170. for i = 1, #AllWaypoints do
  4171. if not AllWaypoints[i].GAME or AllWaypoints[i].GAME == game.PlaceId then
  4172. WayPoints[#WayPoints + 1] = {NAME = AllWaypoints[i].NAME, COORD = {AllWaypoints[i].COORD[1], AllWaypoints[i].COORD[2], AllWaypoints[i].COORD[3]}, GAME = AllWaypoints[i].GAME}
  4173. end
  4174. end
  4175. end
  4176.  
  4177. function Time()
  4178. local HOUR = math.floor((tick() % 86400) / 3600)
  4179. local MINUTE = math.floor((tick() % 3600) / 60)
  4180. local SECOND = math.floor(tick() % 60)
  4181. local AP = HOUR > 11 and 'PM' or 'AM'
  4182. HOUR = (HOUR % 12 == 0 and 12 or HOUR % 12)
  4183. HOUR = HOUR < 10 and '0' .. HOUR or HOUR
  4184. MINUTE = MINUTE < 10 and '0' .. MINUTE or MINUTE
  4185. SECOND = SECOND < 10 and '0' .. SECOND or SECOND
  4186. return HOUR .. ':' .. MINUTE .. ':' .. SECOND .. ' ' .. AP
  4187. end
  4188.  
  4189. PrefixBox.Text = prefix
  4190. local SettingsOpen = false
  4191.  
  4192. if StayOpen == false then
  4193. On.BackgroundTransparency = 1
  4194. else
  4195. On.BackgroundTransparency = 0
  4196. end
  4197.  
  4198. if logsEnabled then
  4199. Toggle.Text = 'Enabled'
  4200. else
  4201. Toggle.Text = 'Disabled'
  4202. end
  4203.  
  4204. if jLogsEnabled then
  4205. Toggle_2.Text = 'Enabled'
  4206. else
  4207. Toggle_2.Text = 'Disabled'
  4208. end
  4209.  
  4210. function maximizeHolder()
  4211. if StayOpen == false then
  4212. Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, -220), "InOut", "Quart", 0.2, true, nil)
  4213. end
  4214. end
  4215.  
  4216. local minimizeNum = -20
  4217. function minimizeHolder()
  4218. if StayOpen == false then
  4219. Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, minimizeNum), "InOut", "Quart", 0.5, true, nil)
  4220. end
  4221. end
  4222.  
  4223. function cmdbarHolder()
  4224. if StayOpen == false then
  4225. Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, -45), "InOut", "Quart", 0.5, true, nil)
  4226. end
  4227. end
  4228.  
  4229. pinNotification = nil
  4230. local notifyCount = 0
  4231. function notify(text,text2,length)
  4232. spawn(function()
  4233. local LnotifyCount = notifyCount+1
  4234. local notificationPinned = false
  4235. notifyCount = notifyCount+1
  4236. if pinNotification then pinNotification:Disconnect() end
  4237. pinNotification = Notification.MouseEnter:Connect(function()
  4238. spawn(function()
  4239. pinNotification:Disconnect()
  4240. notificationPinned = true
  4241. Notification.Title.BackgroundTransparency = 1
  4242. wait(0.5)
  4243. Notification.Title.BackgroundTransparency = 0
  4244. end)
  4245. end)
  4246. Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil)
  4247. wait(0.6)
  4248. local closepressed = false
  4249. if text2 then
  4250. Notification.Title.Text = text
  4251. Notification.Text.Text = text2
  4252. else
  4253. Notification.Title.Text = 'Notification'
  4254. Notification.Text.Text = text
  4255. end
  4256. Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, -100), "InOut", "Quart", 0.5, true, nil)
  4257. Notification.CloseButton.MouseButton1Click:Connect(function()
  4258. Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil)
  4259. closepressed = true
  4260. pinNotification:Disconnect()
  4261. end)
  4262. if length and isNumber(length) then
  4263. wait(length)
  4264. else
  4265. wait(10)
  4266. end
  4267. if LnotifyCount == notifyCount then
  4268. if closepressed == false and notificationPinned == false then
  4269. pinNotification:Disconnect()
  4270. Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, 0), "InOut", "Quart", 0.5, true, nil)
  4271. end
  4272. notifyCount = 0
  4273. end
  4274. end)
  4275. end
  4276.  
  4277. local lastMessage = nil
  4278. local lastLabel = nil
  4279. local dupeCount = 1
  4280. function CreateLabel(Name, Text)
  4281. if lastMessage == Name..Text then
  4282. dupeCount = dupeCount+1
  4283. lastLabel.Text = Time()..' - ['..Name..']: '..Text..' (x'..dupeCount..')'
  4284. else
  4285. if dupeCount > 1 then dupeCount = 1 end
  4286. if #scroll_2:GetChildren() >= 2546 then
  4287. scroll_2:ClearAllChildren()
  4288. end
  4289. local alls = 0
  4290. for i,v in pairs(scroll_2:GetChildren()) do
  4291. if v then
  4292. alls = v.Size.Y.Offset + alls
  4293. end
  4294. if not v then
  4295. alls = 0
  4296. end
  4297. end
  4298. local tl = Instance.new('TextLabel', scroll_2)
  4299. lastMessage = Name..Text
  4300. lastLabel = tl
  4301. tl.Name = Name
  4302. tl.ZIndex = 10
  4303. tl.Text = Time().." - ["..Name.."]: "..Text
  4304. tl.Size = UDim2.new(0,322,0,84)
  4305. tl.BackgroundTransparency = 1
  4306. tl.BorderSizePixel = 0
  4307. tl.Font = "SourceSans"
  4308. tl.Position = UDim2.new(-1,0,0,alls)
  4309. tl.TextTransparency = 1
  4310. tl.TextScaled = false
  4311. tl.TextSize = 14
  4312. tl.TextWrapped = true
  4313. tl.TextXAlignment = "Left"
  4314. tl.TextYAlignment = "Top"
  4315. tl.TextColor3 = currentText1
  4316. tl.Size = UDim2.new(0,322,0,tl.TextBounds.Y)
  4317. table.insert(text1,tl)
  4318. scroll_2.CanvasSize = UDim2.new(0,0,0,alls+tl.TextBounds.Y)
  4319. scroll_2.CanvasPosition = Vector2.new(0,scroll_2.CanvasPosition.Y+tl.TextBounds.Y)
  4320. tl:TweenPosition(UDim2.new(0,3,0,alls), 'In', 'Quint', 0.5)
  4321. for i = 0,50 do wait(0.05)
  4322. tl.TextTransparency = tl.TextTransparency - 0.05
  4323. end
  4324. tl.TextTransparency = 0
  4325. end
  4326. end
  4327.  
  4328. function CreateJoinLabel(plr,ID)
  4329. if #scroll_3:GetChildren() >= 2546 then
  4330. scroll_3:ClearAllChildren()
  4331. end
  4332. local infoFrame = Instance.new("Frame")
  4333. local info1 = Instance.new("TextLabel")
  4334. local info2 = Instance.new("TextLabel")
  4335. local ImageLabel_3 = Instance.new("ImageLabel")
  4336. infoFrame.Name = "infoFrame"
  4337. infoFrame.Parent = scroll_3
  4338. infoFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  4339. infoFrame.BackgroundTransparency = 1
  4340. infoFrame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  4341. infoFrame.Size = UDim2.new(1, 0, 0, 50)
  4342. info1.Name = "info1"
  4343. info1.Parent = infoFrame
  4344. info1.BackgroundTransparency = 1
  4345. info1.BorderSizePixel = 0
  4346. info1.Position = UDim2.new(0, 45, 0, 0)
  4347. info1.Size = UDim2.new(0, 135, 1, 0)
  4348. info1.ZIndex = 10
  4349. info1.Font = Enum.Font.SourceSans
  4350. info1.FontSize = Enum.FontSize.Size14
  4351. info1.Text = "Username: "..plr.Name.."\nJoined Server: "..Time()
  4352. info1.TextColor3 = Color3.new(1, 1, 1)
  4353. info1.TextWrapped = true
  4354. info1.TextXAlignment = Enum.TextXAlignment.Left
  4355. info2.Name = "info2"
  4356. info2.Parent = infoFrame
  4357. info2.BackgroundTransparency = 1
  4358. info2.BorderSizePixel = 0
  4359. info2.Position = UDim2.new(0, 185, 0, 0)
  4360. info2.Size = UDim2.new(0, 140, 1, -5)
  4361. info2.ZIndex = 10
  4362. info2.Font = Enum.Font.SourceSans
  4363. info2.FontSize = Enum.FontSize.Size14
  4364. info2.Text = "User ID: "..ID.."\nAccount Age: "..plr.AccountAge.."\nJoined Roblox: Loading..."
  4365. info2.TextColor3 = Color3.new(1, 1, 1)
  4366. info2.TextWrapped = true
  4367. info2.TextXAlignment = Enum.TextXAlignment.Left
  4368. info2.TextYAlignment = Enum.TextYAlignment.Center
  4369. ImageLabel_3.Parent = infoFrame
  4370. ImageLabel_3.BackgroundTransparency = 1
  4371. ImageLabel_3.BorderSizePixel = 0
  4372. ImageLabel_3.Size = UDim2.new(0, 45, 1, 0)
  4373. ImageLabel_3.Image = game.Players:GetUserThumbnailAsync(ID, Enum.ThumbnailType.AvatarThumbnail, Enum.ThumbnailSize.Size420x420)
  4374. scroll_3.CanvasSize = UDim2.new(0, 0, 0, listlayout.AbsoluteContentSize.Y)
  4375. scroll_3.CanvasPosition = Vector2.new(0,scroll_2.CanvasPosition.Y+infoFrame.AbsoluteSize.Y)
  4376. wait()
  4377. local user = game:HttpGet("https://users.roblox.com/v1/users/"..ID)
  4378. local json = game:GetService("HttpService"):JSONDecode(user)
  4379. local date = json["created"]:sub(1,10)
  4380. local splitDates = string.split(date,"-")
  4381. info2.Text = string.gsub(info2.Text, "Loading...",splitDates[2].."/"..splitDates[3].."/"..splitDates[1])
  4382. end
  4383.  
  4384. IYMouse.KeyDown:connect(function(Key)
  4385. if (Key==prefix) then
  4386. Cmdbar:CaptureFocus()
  4387. spawn(function()
  4388. repeat Cmdbar.Text = '' until Cmdbar.Text == ''
  4389. end)
  4390. maximizeHolder()
  4391. end
  4392. end)
  4393.  
  4394. local lastMinimizeReq = 0
  4395. Holder.MouseEnter:Connect(function()
  4396. lastMinimizeReq = 0
  4397. maximizeHolder()
  4398. end)
  4399.  
  4400. Holder.MouseLeave:Connect(function()
  4401. if not Cmdbar:IsFocused() then
  4402. local reqTime = tick()
  4403. lastMinimizeReq = reqTime
  4404. wait(1)
  4405. if lastMinimizeReq ~= reqTime then return end
  4406. if not Cmdbar:IsFocused() then
  4407. minimizeHolder()
  4408. end
  4409. end
  4410. end)
  4411.  
  4412. function updateColors(color,ctype)
  4413. if ctype == shade1 then
  4414. for i,v in pairs(shade1) do
  4415. v.BackgroundColor3 = color
  4416. end
  4417. currentShade1 = color
  4418. elseif ctype == shade2 then
  4419. for i,v in pairs(shade2) do
  4420. v.BackgroundColor3 = color
  4421. end
  4422. currentShade2 = color
  4423. elseif ctype == shade3 then
  4424. for i,v in pairs(shade3) do
  4425. v.BackgroundColor3 = color
  4426. end
  4427. currentShade3 = color
  4428. elseif ctype == text1 then
  4429. for i,v in pairs(text1) do
  4430. v.TextColor3 = color
  4431. if v:IsA("TextBox") then
  4432. v.PlaceholderColor3 = color
  4433. end
  4434. end
  4435. currentText1 = color
  4436. elseif ctype == text2 then
  4437. for i,v in pairs(text2) do
  4438. v.TextColor3 = color
  4439. end
  4440. currentText2 = color
  4441. elseif ctype == scroll then
  4442. for i,v in pairs(scroll) do
  4443. v.ScrollBarImageColor3 = color
  4444. end
  4445. currentScroll = color
  4446. end
  4447. end
  4448.  
  4449. local colorpickerOpen = false
  4450. ColorsButton.MouseButton1Click:Connect(function()
  4451. cache_currentShade1 = currentShade1
  4452. cache_currentShade2 = currentShade2
  4453. cache_currentShade3 = currentShade3
  4454. cache_currentText1 = currentText1
  4455. cache_currentText2 = currentText2
  4456. cache_currentScroll = currentScroll
  4457. if not colorpickerOpen then
  4458. colorpickerOpen = true
  4459. picker = game:GetObjects("rbxassetid://4908465318")[1]
  4460. picker.Name = randomString()
  4461. picker.Parent = PARENT
  4462.  
  4463. local ColorPicker do
  4464. ColorPicker = {}
  4465.  
  4466. ColorPicker.new = function()
  4467. local newMt = setmetatable({},{})
  4468.  
  4469. local pickerGui = picker.ColorPicker
  4470. local pickerTopBar = pickerGui.TopBar
  4471. local pickerExit = pickerTopBar.Exit
  4472. local pickerFrame = pickerGui.Content
  4473. local colorSpace = pickerFrame.ColorSpaceFrame.ColorSpace
  4474. local colorStrip = pickerFrame.ColorStrip
  4475. local previewFrame = pickerFrame.Preview
  4476. local basicColorsFrame = pickerFrame.BasicColors
  4477. local customColorsFrame = pickerFrame.CustomColors
  4478. local defaultButton = pickerFrame.Default
  4479. local cancelButton = pickerFrame.Cancel
  4480. local shade1Button = pickerFrame.Shade1
  4481. local shade2Button = pickerFrame.Shade2
  4482. local shade3Button = pickerFrame.Shade3
  4483. local text1Button = pickerFrame.Text1
  4484. local text2Button = pickerFrame.Text2
  4485. local scrollButton = pickerFrame.Scroll
  4486.  
  4487. local colorScope = colorSpace.Scope
  4488. local colorArrow = pickerFrame.ArrowFrame.Arrow
  4489.  
  4490. local hueInput = pickerFrame.Hue.Input
  4491. local satInput = pickerFrame.Sat.Input
  4492. local valInput = pickerFrame.Val.Input
  4493.  
  4494. local redInput = pickerFrame.Red.Input
  4495. local greenInput = pickerFrame.Green.Input
  4496. local blueInput = pickerFrame.Blue.Input
  4497.  
  4498. local mouse = IYMouse
  4499.  
  4500. local hue,sat,val = 0,0,1
  4501. local red,green,blue = 1,1,1
  4502. local chosenColor = Color3.new(0,0,0)
  4503.  
  4504. 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)}
  4505. local customColors = {}
  4506.  
  4507. dragGUI(picker)
  4508.  
  4509. local function updateColor(noupdate)
  4510. local relativeX,relativeY,relativeStripY = 219 - hue*219, 199 - sat*199, 199 - val*199
  4511. local hsvColor = Color3.fromHSV(hue,sat,val)
  4512.  
  4513. if noupdate == 2 or not noupdate then
  4514. hueInput.Text = tostring(math.ceil(359*hue))
  4515. satInput.Text = tostring(math.ceil(255*sat))
  4516. valInput.Text = tostring(math.floor(255*val))
  4517. end
  4518. if noupdate == 1 or not noupdate then
  4519. redInput.Text = tostring(math.floor(255*red))
  4520. greenInput.Text = tostring(math.floor(255*green))
  4521. blueInput.Text = tostring(math.floor(255*blue))
  4522. end
  4523.  
  4524. chosenColor = Color3.new(red,green,blue)
  4525.  
  4526. colorScope.Position = UDim2.new(0,relativeX-9,0,relativeY-9)
  4527. colorStrip.ImageColor3 = Color3.fromHSV(hue,sat,1)
  4528. colorArrow.Position = UDim2.new(0,-2,0,relativeStripY-4)
  4529. previewFrame.BackgroundColor3 = chosenColor
  4530.  
  4531. newMt.Color = chosenColor
  4532. if newMt.Changed then newMt:Changed(chosenColor) end
  4533. end
  4534.  
  4535. local function colorSpaceInput()
  4536. local relativeX = mouse.X - colorSpace.AbsolutePosition.X
  4537. local relativeY = mouse.Y - colorSpace.AbsolutePosition.Y
  4538.  
  4539. if relativeX < 0 then relativeX = 0 elseif relativeX > 219 then relativeX = 219 end
  4540. if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
  4541.  
  4542. hue = (219 - relativeX)/219
  4543. sat = (199 - relativeY)/199
  4544.  
  4545. local hsvColor = Color3.fromHSV(hue,sat,val)
  4546. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  4547.  
  4548. updateColor()
  4549. end
  4550.  
  4551. local function colorStripInput()
  4552. local relativeY = mouse.Y - colorStrip.AbsolutePosition.Y
  4553.  
  4554. if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
  4555.  
  4556. val = (199 - relativeY)/199
  4557.  
  4558. local hsvColor = Color3.fromHSV(hue,sat,val)
  4559. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  4560.  
  4561. updateColor()
  4562. end
  4563.  
  4564. local function hookButtons(frame,func)
  4565. frame.ArrowFrame.Up.InputBegan:Connect(function(input)
  4566. if input.UserInputType == Enum.UserInputType.MouseMovement then
  4567. frame.ArrowFrame.Up.BackgroundTransparency = 0.5
  4568. elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  4569. local releaseEvent,runEvent
  4570.  
  4571. local startTime = tick()
  4572. local pressing = true
  4573. local startNum = tonumber(frame.Text)
  4574.  
  4575. if not startNum then return end
  4576.  
  4577. releaseEvent = UserInputService.InputEnded:Connect(function(input)
  4578. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  4579. releaseEvent:Disconnect()
  4580. pressing = false
  4581. end)
  4582.  
  4583. startNum = startNum + 1
  4584. func(startNum)
  4585. while pressing do
  4586. if tick()-startTime > 0.3 then
  4587. startNum = startNum + 1
  4588. func(startNum)
  4589. end
  4590. wait(0.1)
  4591. end
  4592. end
  4593. end)
  4594.  
  4595. frame.ArrowFrame.Up.InputEnded:Connect(function(input)
  4596. if input.UserInputType == Enum.UserInputType.MouseMovement then
  4597. frame.ArrowFrame.Up.BackgroundTransparency = 1
  4598. end
  4599. end)
  4600.  
  4601. frame.ArrowFrame.Down.InputBegan:Connect(function(input)
  4602. if input.UserInputType == Enum.UserInputType.MouseMovement then
  4603. frame.ArrowFrame.Down.BackgroundTransparency = 0.5
  4604. elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  4605. local releaseEvent,runEvent
  4606.  
  4607. local startTime = tick()
  4608. local pressing = true
  4609. local startNum = tonumber(frame.Text)
  4610.  
  4611. if not startNum then return end
  4612.  
  4613. releaseEvent = UserInputService.InputEnded:Connect(function(input)
  4614. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  4615. releaseEvent:Disconnect()
  4616. pressing = false
  4617. end)
  4618.  
  4619. startNum = startNum - 1
  4620. func(startNum)
  4621. while pressing do
  4622. if tick()-startTime > 0.3 then
  4623. startNum = startNum - 1
  4624. func(startNum)
  4625. end
  4626. wait(0.1)
  4627. end
  4628. end
  4629. end)
  4630.  
  4631. frame.ArrowFrame.Down.InputEnded:Connect(function(input)
  4632. if input.UserInputType == Enum.UserInputType.MouseMovement then
  4633. frame.ArrowFrame.Down.BackgroundTransparency = 1
  4634. end
  4635. end)
  4636. end
  4637.  
  4638. colorSpace.InputBegan:Connect(function(input)
  4639. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  4640. local releaseEvent,mouseEvent
  4641.  
  4642. releaseEvent = UserInputService.InputEnded:Connect(function(input)
  4643. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  4644. releaseEvent:Disconnect()
  4645. mouseEvent:Disconnect()
  4646. end)
  4647.  
  4648. mouseEvent = UserInputService.InputChanged:Connect(function(input)
  4649. if input.UserInputType == Enum.UserInputType.MouseMovement then
  4650. colorSpaceInput()
  4651. end
  4652. end)
  4653.  
  4654. colorSpaceInput()
  4655. end
  4656. end)
  4657.  
  4658. colorStrip.InputBegan:Connect(function(input)
  4659. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  4660. local releaseEvent,mouseEvent
  4661.  
  4662. releaseEvent = UserInputService.InputEnded:Connect(function(input)
  4663. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  4664. releaseEvent:Disconnect()
  4665. mouseEvent:Disconnect()
  4666. end)
  4667.  
  4668. mouseEvent = UserInputService.InputChanged:Connect(function(input)
  4669. if input.UserInputType == Enum.UserInputType.MouseMovement then
  4670. colorStripInput()
  4671. end
  4672. end)
  4673.  
  4674. colorStripInput()
  4675. end
  4676. end)
  4677.  
  4678. local function updateHue(str)
  4679. local num = tonumber(str)
  4680. if num then
  4681. hue = math.clamp(math.floor(num),0,359)/359
  4682. local hsvColor = Color3.fromHSV(hue,sat,val)
  4683. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  4684. hueInput.Text = tostring(hue*359)
  4685. updateColor(1)
  4686. end
  4687. end
  4688. hueInput.FocusLost:Connect(function() updateHue(hueInput.Text) end) hookButtons(hueInput,updateHue)
  4689.  
  4690. local function updateSat(str)
  4691. local num = tonumber(str)
  4692. if num then
  4693. sat = math.clamp(math.floor(num),0,255)/255
  4694. local hsvColor = Color3.fromHSV(hue,sat,val)
  4695. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  4696. satInput.Text = tostring(sat*255)
  4697. updateColor(1)
  4698. end
  4699. end
  4700. satInput.FocusLost:Connect(function() updateSat(satInput.Text) end) hookButtons(satInput,updateSat)
  4701.  
  4702. local function updateVal(str)
  4703. local num = tonumber(str)
  4704. if num then
  4705. val = math.clamp(math.floor(num),0,255)/255
  4706. local hsvColor = Color3.fromHSV(hue,sat,val)
  4707. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  4708. valInput.Text = tostring(val*255)
  4709. updateColor(1)
  4710. end
  4711. end
  4712. valInput.FocusLost:Connect(function() updateVal(valInput.Text) end) hookButtons(valInput,updateVal)
  4713.  
  4714. local function updateRed(str)
  4715. local num = tonumber(str)
  4716. if num then
  4717. red = math.clamp(math.floor(num),0,255)/255
  4718. local newColor = Color3.new(red,green,blue)
  4719. hue,sat,val = Color3.toHSV(newColor)
  4720. redInput.Text = tostring(red*255)
  4721. updateColor(2)
  4722. end
  4723. end
  4724. redInput.FocusLost:Connect(function() updateRed(redInput.Text) end) hookButtons(redInput,updateRed)
  4725.  
  4726. local function updateGreen(str)
  4727. local num = tonumber(str)
  4728. if num then
  4729. green = math.clamp(math.floor(num),0,255)/255
  4730. local newColor = Color3.new(red,green,blue)
  4731. hue,sat,val = Color3.toHSV(newColor)
  4732. greenInput.Text = tostring(green*255)
  4733. updateColor(2)
  4734. end
  4735. end
  4736. greenInput.FocusLost:Connect(function() updateGreen(greenInput.Text) end) hookButtons(greenInput,updateGreen)
  4737.  
  4738. local function updateBlue(str)
  4739. local num = tonumber(str)
  4740. if num then
  4741. blue = math.clamp(math.floor(num),0,255)/255
  4742. local newColor = Color3.new(red,green,blue)
  4743. hue,sat,val = Color3.toHSV(newColor)
  4744. blueInput.Text = tostring(blue*255)
  4745. updateColor(2)
  4746. end
  4747. end
  4748. blueInput.FocusLost:Connect(function() updateBlue(blueInput.Text) end) hookButtons(blueInput,updateBlue)
  4749.  
  4750. local colorChoice = Instance.new("TextButton")
  4751. colorChoice.Name = "Choice"
  4752. colorChoice.Size = UDim2.new(0,25,0,18)
  4753. colorChoice.BorderColor3 = Color3.new(96/255,96/255,96/255)
  4754. colorChoice.Text = ""
  4755. colorChoice.AutoButtonColor = false
  4756. colorChoice.ZIndex = 10
  4757.  
  4758. local row = 0
  4759. local column = 0
  4760. for i,v in pairs(basicColors) do
  4761. local newColor = colorChoice:Clone()
  4762. newColor.BackgroundColor3 = v
  4763. newColor.Position = UDim2.new(0,1 + 30*column,0,21 + 23*row)
  4764.  
  4765. newColor.MouseButton1Click:Connect(function()
  4766. red,green,blue = v.r,v.g,v.b
  4767. local newColor = Color3.new(red,green,blue)
  4768. hue,sat,val = Color3.toHSV(newColor)
  4769. updateColor()
  4770. end)
  4771.  
  4772. newColor.Parent = basicColorsFrame
  4773. column = column + 1
  4774. if column == 6 then row = row + 1 column = 0 end
  4775. end
  4776.  
  4777. row = 0
  4778. column = 0
  4779. for i = 1,12 do
  4780. local color = customColors[i] or Color3.new(0,0,0)
  4781. local newColor = colorChoice:Clone()
  4782. newColor.BackgroundColor3 = color
  4783. newColor.Position = UDim2.new(0,1 + 30*column,0,20 + 23*row)
  4784.  
  4785. newColor.MouseButton1Click:Connect(function()
  4786. local curColor = customColors[i] or Color3.new(0,0,0)
  4787. red,green,blue = curColor.r,curColor.g,curColor.b
  4788. hue,sat,val = Color3.toHSV(curColor)
  4789. updateColor()
  4790. end)
  4791.  
  4792. newColor.MouseButton2Click:Connect(function()
  4793. customColors[i] = chosenColor
  4794. newColor.BackgroundColor3 = chosenColor
  4795. end)
  4796.  
  4797. newColor.Parent = customColorsFrame
  4798. column = column + 1
  4799. if column == 6 then row = row + 1 column = 0 end
  4800. end
  4801.  
  4802. shade1Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade1) end end)
  4803. shade1Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade1Button.BackgroundTransparency = 0.4 end end)
  4804. shade1Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade1Button.BackgroundTransparency = 0 end end)
  4805.  
  4806. shade2Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade2) end end)
  4807. shade2Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade2Button.BackgroundTransparency = 0.4 end end)
  4808. shade2Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade2Button.BackgroundTransparency = 0 end end)
  4809.  
  4810. shade3Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,shade3) end end)
  4811. shade3Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade3Button.BackgroundTransparency = 0.4 end end)
  4812. shade3Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then shade3Button.BackgroundTransparency = 0 end end)
  4813.  
  4814. text1Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,text1) end end)
  4815. text1Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text1Button.BackgroundTransparency = 0.4 end end)
  4816. text1Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text1Button.BackgroundTransparency = 0 end end)
  4817.  
  4818. text2Button.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,text2) end end)
  4819. text2Button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text2Button.BackgroundTransparency = 0.4 end end)
  4820. text2Button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then text2Button.BackgroundTransparency = 0 end end)
  4821.  
  4822. scrollButton.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor,scroll) end end)
  4823. scrollButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then scrollButton.BackgroundTransparency = 0.4 end end)
  4824. scrollButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then scrollButton.BackgroundTransparency = 0 end end)
  4825.  
  4826. cancelButton.MouseButton1Click:Connect(function() if newMt.Cancel then newMt:Cancel() end end)
  4827. cancelButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0.4 end end)
  4828. cancelButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0 end end)
  4829.  
  4830. defaultButton.MouseButton1Click:Connect(function() if newMt.Default then newMt:Default() end end)
  4831. defaultButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0.4 end end)
  4832. defaultButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0 end end)
  4833.  
  4834. pickerExit.MouseButton1Click:Connect(function()
  4835. picker:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil)
  4836. end)
  4837.  
  4838. updateColor()
  4839.  
  4840. newMt.SetColor = function(self,color)
  4841. red,green,blue = color.r,color.g,color.b
  4842. hue,sat,val = Color3.toHSV(color)
  4843. updateColor()
  4844. end
  4845.  
  4846. return newMt
  4847. end
  4848. end
  4849.  
  4850. picker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil)
  4851.  
  4852. local Npicker = ColorPicker.new()
  4853. Npicker.Confirm = function(self,color,ctype) updateColors(color,ctype) wait() updatesaves() end
  4854. Npicker.Cancel = function(self)
  4855. updateColors(cache_currentShade1,shade1)
  4856. updateColors(cache_currentShade2,shade2)
  4857. updateColors(cache_currentShade3,shade3)
  4858. updateColors(cache_currentText1,text1)
  4859. updateColors(cache_currentText2,text2)
  4860. updateColors(cache_currentScroll,scroll)
  4861. wait()
  4862. updatesaves()
  4863. end
  4864. Npicker.Default = function(self)
  4865. updateColors(Color3.fromRGB(36, 36, 37),shade1)
  4866. updateColors(Color3.fromRGB(46, 46, 47),shade2)
  4867. updateColors(Color3.fromRGB(78, 78, 79),shade3)
  4868. updateColors(Color3.new(1, 1, 1),text1)
  4869. updateColors(Color3.new(0, 0, 0),text2)
  4870. updateColors(Color3.fromRGB(78,78,79),scroll)
  4871. wait()
  4872. updatesaves()
  4873. end
  4874. else
  4875. picker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil)
  4876. end
  4877. end)
  4878.  
  4879.  
  4880. SettingsButton.MouseButton1Click:Connect(function()
  4881. if SettingsOpen == false then SettingsOpen = true
  4882. Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.5, true, nil)
  4883. CMDsF.Visible = false
  4884. else SettingsOpen = false
  4885. CMDsF.Visible = true
  4886. Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.5, true, nil)
  4887. end
  4888. end)
  4889.  
  4890. On.MouseButton1Click:Connect(function()
  4891. if StayOpen == false then StayOpen = true
  4892. On.BackgroundTransparency = 0
  4893. else StayOpen = false
  4894. On.BackgroundTransparency = 1
  4895. end
  4896. updatesaves()
  4897. end)
  4898.  
  4899. Clear.MouseButton1Down:connect(function()
  4900. for _, child in pairs(scroll_2:GetChildren()) do
  4901. child:Destroy()
  4902. end
  4903. scroll_2.CanvasSize = UDim2.new(0, 0, 0, 10)
  4904. end)
  4905.  
  4906. Toggle.MouseButton1Down:connect(function()
  4907. if logsEnabled then
  4908. logsEnabled = false
  4909. Toggle.Text = 'Disabled'
  4910. updatesaves()
  4911. else
  4912. logsEnabled = true
  4913. Toggle.Text = 'Enabled'
  4914. updatesaves()
  4915. end
  4916. end)
  4917.  
  4918. Toggle_2.MouseButton1Down:connect(function()
  4919. if jLogsEnabled then
  4920. jLogsEnabled = false
  4921. Toggle_2.Text = 'Disabled'
  4922. updatesaves()
  4923. else
  4924. jLogsEnabled = true
  4925. Toggle_2.Text = 'Enabled'
  4926. updatesaves()
  4927. end
  4928. end)
  4929.  
  4930. selectChat.MouseButton1Down:connect(function()
  4931. join.Visible = false
  4932. chat.Visible = true
  4933. table.remove(shade3,table.find(shade3,selectChat))
  4934. table.remove(shade2,table.find(shade2,selectJoin))
  4935. table.insert(shade2,selectChat)
  4936. table.insert(shade3,selectJoin)
  4937. selectJoin.BackgroundColor3 = currentShade3
  4938. selectChat.BackgroundColor3 = currentShade2
  4939. end)
  4940.  
  4941. selectJoin.MouseButton1Down:connect(function()
  4942. chat.Visible = false
  4943. join.Visible = true
  4944. table.remove(shade3,table.find(shade3,selectJoin))
  4945. table.remove(shade2,table.find(shade2,selectChat))
  4946. table.insert(shade2,selectJoin)
  4947. table.insert(shade3,selectChat)
  4948. selectChat.BackgroundColor3 = currentShade3
  4949. selectJoin.BackgroundColor3 = currentShade2
  4950. end)
  4951.  
  4952. if not writefileExploit() then
  4953. notify('Saves','Your exploit does not support read/write file. Your settings will not save.')
  4954. end
  4955.  
  4956. ChatLog = function(plr)
  4957. plr.Chatted:Connect(function(Message)
  4958. if logsEnabled == true then
  4959. CreateLabel(plr.Name,Message)
  4960. end
  4961. end)
  4962. end
  4963.  
  4964. JoinLog = function(plr)
  4965. if jLogsEnabled == true then
  4966. CreateJoinLabel(plr,plr.UserId)
  4967. end
  4968. end
  4969.  
  4970. SaveChatlogs.MouseButton1Down:connect(function()
  4971. if writefileExploit() then
  4972. if #scroll_2:GetChildren() > 0 then
  4973. notify("Loading",'Hold on a sec')
  4974. local placeName = game:GetService('MarketplaceService'):GetProductInfo(game.PlaceId).Name
  4975. local writelogs = '-- Infinite Yield Chat logs for "'..placeName..'"\n'
  4976. for _, child in pairs(scroll_2:GetChildren()) do
  4977. writelogs = writelogs..'\n'..child.Text
  4978. end
  4979. local writelogsFile = tostring(writelogs)
  4980. local fileext = 0
  4981. local function nameFile()
  4982. local file
  4983. pcall(function() file = readfile(placeName..' Chat Logs ('..fileext..').txt') end)
  4984. if file then
  4985. fileext = fileext+1
  4986. nameFile()
  4987. else
  4988. writefileCooldown(placeName..' Chat Logs ('..fileext..').txt', writelogsFile)
  4989. end
  4990. end
  4991. nameFile()
  4992. notify('Chat Logs','Saved chat logs to the workspace folder within your exploit folder.')
  4993. end
  4994. else
  4995. notify('Chat Logs','Your exploit does not support write file. You cannot save chat logs.')
  4996. end
  4997. end)
  4998.  
  4999. for _, plr in pairs(Players:GetChildren()) do
  5000. if plr.ClassName == "Player" then
  5001. ChatLog(plr)
  5002. end
  5003. end
  5004.  
  5005. Players.PlayerRemoving:connect(function(player)
  5006. for i,v in pairs(PARENT:GetChildren()) do
  5007. if v.Name == player.Name..'_ESP' or v.Name == player.Name..'_LC' or v.Name == player.Name..'_CHMS' then
  5008. v:Destroy()
  5009. end
  5010. end
  5011. if viewing ~= nil and player == viewing then
  5012. workspace.CurrentCamera.CameraSubject = Players.LocalPlayer.Character
  5013. viewing = nil
  5014. if viewDied then
  5015. viewDied:Disconnect()
  5016. viewChanged:Disconnect()
  5017. end
  5018. notify('Spectate','View turned off (player left)')
  5019. end
  5020. end)
  5021.  
  5022. shadow.Exit.MouseButton1Down:connect(function()
  5023. logs:TweenPosition(UDim2.new(0, 0, 1, 10), "InOut", "Quart", 0.3, true, nil)
  5024. end)
  5025.  
  5026. shadow.Hide.MouseButton1Down:connect(function()
  5027. if logs.Position ~= UDim2.new(0, 0, 1, -20) then
  5028. logs:TweenPosition(UDim2.new(0, 0, 1, -20), "InOut", "Quart", 0.3, true, nil)
  5029. else
  5030. logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  5031. end
  5032. end)
  5033.  
  5034. EventBind.MouseButton1Click:Connect(function()
  5035. eventEditor.Frame:TweenPosition(UDim2.new(0.5,-175,0.5,-101), "InOut", "Quart", 0.5, true, nil)
  5036. end)
  5037.  
  5038. Keybinds.MouseButton1Click:Connect(function()
  5039. KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  5040. wait(0.5)
  5041. SettingsHolder.Visible = false
  5042. end)
  5043.  
  5044. KeybindsFrame.Close.MouseButton1Click:Connect(function()
  5045. SettingsHolder.Visible = true
  5046. KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  5047. end)
  5048.  
  5049. Keybinds.MouseButton1Click:Connect(function()
  5050. KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  5051. wait(0.5)
  5052. SettingsHolder.Visible = false
  5053. end)
  5054.  
  5055. KeybindsFrame.Add.MouseButton1Click:Connect(function()
  5056. KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0, 260), "InOut", "Quart", 0.5, true, nil)
  5057. end)
  5058.  
  5059. KeybindsFrame.Delete.MouseButton1Click:Connect(function()
  5060. binds = {}
  5061. refreshbinds()
  5062. updatesaves()
  5063. notify('Keybinds Updated','Removed all keybinds')
  5064. end)
  5065.  
  5066. AliasesFrame.Close.MouseButton1Click:Connect(function()
  5067. SettingsHolder.Visible = true
  5068. AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  5069. end)
  5070.  
  5071. Aliases.MouseButton1Click:Connect(function()
  5072. AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  5073. wait(0.5)
  5074. SettingsHolder.Visible = false
  5075. end)
  5076.  
  5077. PositionsFrame.Close.MouseButton1Click:Connect(function()
  5078. SettingsHolder.Visible = true
  5079. PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  5080. end)
  5081.  
  5082. Positions.MouseButton1Click:Connect(function()
  5083. PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  5084. wait(0.5)
  5085. SettingsHolder.Visible = false
  5086. end)
  5087.  
  5088. local selectionBox = Instance.new("SelectionBox")
  5089. selectionBox.Name = randomString()
  5090. selectionBox.Color3 = Color3.new(255,255,255)
  5091. selectionBox.Adornee = nil
  5092. selectionBox.Parent = PARENT
  5093.  
  5094. local selected = Instance.new("SelectionBox")
  5095. selected.Name = randomString()
  5096. selected.Color3 = Color3.new(0,166,0)
  5097. selected.Adornee = nil
  5098. selected.Parent = PARENT
  5099.  
  5100. local ActivateHighlight = nil
  5101. local ClickSelect = nil
  5102. Part.MouseButton1Click:Connect(function()
  5103. ToPartFrame:TweenPosition(UDim2.new(0.5, -180, 0, 335), "InOut", "Quart", 0.5, true, nil)
  5104. local function HighlightPart()
  5105. if selected.Adornee ~= IYMouse.Target then
  5106. selectionBox.Adornee = IYMouse.Target
  5107. else
  5108. selectionBox.Adornee = nil
  5109. end
  5110. end
  5111. ActivateHighlight = IYMouse.Move:connect(HighlightPart)
  5112. local function SelectPart()
  5113. if IYMouse.Target ~= nil then
  5114. selected.Adornee = IYMouse.Target
  5115. Path.Text = getHierarchy(IYMouse.Target)
  5116. end
  5117. end
  5118. ClickSelect = IYMouse.Button1Down:connect(SelectPart)
  5119. end)
  5120.  
  5121. Exit_4.MouseButton1Click:Connect(function()
  5122. ToPartFrame:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  5123. if ActivateHighlight then
  5124. ActivateHighlight:Disconnect()
  5125. end
  5126. if ClickSelect then
  5127. ClickSelect:Disconnect()
  5128. end
  5129. selectionBox.Adornee = nil
  5130. selected.Adornee = nil
  5131. Path.Text = ""
  5132. end)
  5133.  
  5134. CopyPath.MouseButton1Click:Connect(function()
  5135. if Path.Text ~= "" then
  5136. toClipboard(Path.Text)
  5137. else
  5138. notify('Copy Path','Select a part to copy its path')
  5139. end
  5140. end)
  5141.  
  5142. ChoosePart.MouseButton1Click:Connect(function()
  5143. if Path.Text ~= "" then
  5144. local tpNameExt = ''
  5145. local function handleWpNames()
  5146. local FoundDupe = false
  5147. for i,v in pairs(pWayPoints) do
  5148. if v.NAME:lower() == selected.Adornee.Name:lower()..tpNameExt then
  5149. FoundDupe = true
  5150. end
  5151. end
  5152. if not FoundDupe then
  5153. notify('Modified Waypoints',"Created waypoint: "..selected.Adornee.Name..tpNameExt)
  5154. pWayPoints[#pWayPoints + 1] = {NAME = selected.Adornee.Name..tpNameExt, COORD = {selected.Adornee}}
  5155. else
  5156. if isNumber(tpNameExt) then
  5157. tpNameExt = tpNameExt+1
  5158. else
  5159. tpNameExt = 1
  5160. end
  5161. handleWpNames()
  5162. end
  5163. end
  5164. handleWpNames()
  5165. refreshwaypoints()
  5166. else
  5167. notify('Part Selection','Select a part first')
  5168. end
  5169. end)
  5170.  
  5171. cmds={}
  5172. customAlias = {}
  5173. AliasesFrame.Delete.MouseButton1Click:Connect(function()
  5174. customAlias = {}
  5175. aliases = {}
  5176. notify('Aliases Modified','Removed all aliases')
  5177. updatesaves()
  5178. refreshaliases()
  5179. end)
  5180.  
  5181. PrefixBox:GetPropertyChangedSignal("Text"):connect(function()
  5182. prefix = PrefixBox.Text
  5183. Cmdbar.PlaceholderText = "Command Bar ("..prefix..")"
  5184. updatesaves()
  5185. end)
  5186.  
  5187. function CamViewport()
  5188. if workspace.CurrentCamera then
  5189. return workspace.CurrentCamera.ViewportSize.X
  5190. end
  5191. end
  5192.  
  5193. function UpdateToViewport()
  5194. if Holder.Position.X.Offset < -CamViewport() then
  5195. Holder:TweenPosition(UDim2.new(1, -CamViewport(), Holder.Position.Y.Scale, Holder.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
  5196. Notification:TweenPosition(UDim2.new(1, -CamViewport() + 250, Notification.Position.Y.Scale, Notification.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
  5197. end
  5198. end
  5199. CameraChanged = workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):connect(UpdateToViewport)
  5200.  
  5201. function updateCamera(child, parent)
  5202. if parent ~= workspace then
  5203. CamMoved:Disconnect()
  5204. CameraChanged:Disconnect()
  5205. repeat wait() until workspace.CurrentCamera
  5206. CameraChanged = workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):connect(UpdateToViewport)
  5207. CamMoved = workspace.CurrentCamera.AncestryChanged:Connect(updateCamera)
  5208. end
  5209. end
  5210. CamMoved = workspace.CurrentCamera.AncestryChanged:Connect(updateCamera)
  5211.  
  5212. function dragMain(dragpoint,gui)
  5213. spawn(function()
  5214. local dragging
  5215. local dragInput
  5216. local dragStart
  5217. local startPos
  5218. local function update(input)
  5219. local pos = -250
  5220. local delta = input.Position - dragStart
  5221. if startPos.X.Offset + delta.X <= -500 then
  5222. local Position = UDim2.new(1, -250, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  5223. game:GetService("TweenService"):Create(Notification, TweenInfo.new(.20), {Position = Position}):Play()
  5224. pos = 250
  5225. else
  5226. local Position = UDim2.new(1, -500, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  5227. game:GetService("TweenService"):Create(Notification, TweenInfo.new(.20), {Position = Position}):Play()
  5228. pos = -250
  5229. end
  5230. if startPos.X.Offset + delta.X <= -250 and -CamViewport() <= startPos.X.Offset + delta.X then
  5231. local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, gui.Position.Y.Scale, gui.Position.Y.Offset)
  5232. game:GetService("TweenService"):Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  5233. local Position2 = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X + pos, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  5234. game:GetService("TweenService"):Create(Notification, TweenInfo.new(.20), {Position = Position2}):Play()
  5235. elseif startPos.X.Offset + delta.X > -500 then
  5236. local Position = UDim2.new(1, -250, gui.Position.Y.Scale, gui.Position.Y.Offset)
  5237. game:GetService("TweenService"):Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  5238. elseif -CamViewport() > startPos.X.Offset + delta.X then
  5239. gui:TweenPosition(UDim2.new(1, -CamViewport(), gui.Position.Y.Scale, gui.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
  5240. local Position = UDim2.new(1, -CamViewport(), gui.Position.Y.Scale, gui.Position.Y.Offset)
  5241. game:GetService("TweenService"):Create(gui, TweenInfo.new(.20), {Position = Position}):Play()
  5242. local Position2 = UDim2.new(1, -CamViewport() + 250, Notification.Position.Y.Scale, Notification.Position.Y.Offset)
  5243. game:GetService("TweenService"):Create(Notification, TweenInfo.new(.20), {Position = Position2}):Play()
  5244. end
  5245. end
  5246. dragpoint.InputBegan:Connect(function(input)
  5247. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  5248. dragging = true
  5249. dragStart = input.Position
  5250. startPos = gui.Position
  5251.  
  5252. input.Changed:Connect(function()
  5253. if input.UserInputState == Enum.UserInputState.End then
  5254. dragging = false
  5255. end
  5256. end)
  5257. end
  5258. end)
  5259. dragpoint.InputChanged:Connect(function(input)
  5260. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  5261. dragInput = input
  5262. end
  5263. end)
  5264. UserInputService.InputChanged:Connect(function(input)
  5265. if input == dragInput and dragging then
  5266. update(input)
  5267. end
  5268. end)
  5269. end)
  5270. end
  5271.  
  5272. dragMain(Title,Holder)
  5273.  
  5274. Match = function(name,str)
  5275. str = str:gsub("%W", "%%%1")
  5276. return name:lower():find(str:lower()) and true
  5277. end
  5278.  
  5279. local canvasPos = Vector2.new(0,0)
  5280. local topCommand = nil
  5281. IndexContents = function(str,bool,cmdbar,Ianim)
  5282. local Index,SizeY = 0,0
  5283. local indexnum = 0
  5284. local frame = CMDsF
  5285. topCommand = nil
  5286. local chunks = {}
  5287. if str:sub(#str,#str) == "\\" then str = "" end
  5288. for w in string.gmatch(str,"[^\\]+") do
  5289. table.insert(chunks,w)
  5290. end
  5291. if #chunks > 0 then str = chunks[#chunks] end
  5292. if str:sub(1,1) == "!" then str = str:sub(2) end
  5293. for i,v in next, frame:GetChildren() do
  5294. if bool then
  5295. if Match(v.Text,str) then
  5296. indexnum = indexnum + 1
  5297. Index = Index + 1
  5298. v.Visible = true
  5299. v:TweenPosition(UDim2.new(0,10,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y), "InOut", "Quart", 0.2, true, nil)
  5300. SizeY = SizeY + v.AbsoluteSize.Y
  5301. frame.CanvasSize = UDim2.new(0,0,0,SizeY)
  5302. if topCommand == nil then
  5303. topCommand = v.Text
  5304. end
  5305. else
  5306. v.Visible = false
  5307. end
  5308. else
  5309. v.Visible = true
  5310. SizeY = SizeY + v.AbsoluteSize.Y
  5311. frame.CanvasSize = UDim2.new(0,0,0,SizeY)
  5312. if topCommand == nil then
  5313. topCommand = v.Text
  5314. end
  5315. end
  5316. end
  5317. if not Ianim then
  5318. if indexnum == 0 or string.find(str, " ") then
  5319. if not cmdbar then
  5320. minimizeHolder()
  5321. elseif cmdbar then
  5322. cmdbarHolder()
  5323. end
  5324. else
  5325. maximizeHolder()
  5326. end
  5327. else
  5328. minimizeHolder()
  5329. end
  5330. end
  5331.  
  5332. PlayerGui = Players.LocalPlayer:FindFirstChildOfClass("PlayerGui")
  5333. local chatbox
  5334. if pcall(function() chatbox = Players.LocalPlayer:FindFirstChildWhichIsA("PlayerGui").Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar end) then
  5335. local function chatboxFocused()
  5336. canvasPos = CMDsF.CanvasPosition
  5337. end
  5338. local chatboxFocusedC = chatbox.Focused:Connect(chatboxFocused)
  5339.  
  5340. local function Index()
  5341. if chatbox.Text:lower():sub(1,1) == prefix then
  5342. if SettingsOpen == true then
  5343. wait(0.2)
  5344. CMDsF.Visible = true
  5345. Holder.Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil)
  5346. end
  5347. IndexContents(PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(2),true)
  5348. else
  5349. minimizeHolder()
  5350. if SettingsOpen == true then
  5351. wait(0.2)
  5352. Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.2, true, nil)
  5353. CMDsF.Visible = false
  5354. end
  5355. end
  5356. end
  5357. local chatboxFunc = chatbox:GetPropertyChangedSignal("Text"):Connect(Index)
  5358.  
  5359. function chatboxFocusLost(enterpressed)
  5360. if not enterpressed or chatbox.Text:lower():sub(1,1) ~= prefix then
  5361. IndexContents('',true)
  5362. end
  5363. CMDsF.CanvasPosition = canvasPos
  5364. minimizeHolder()
  5365. end
  5366. local chatboxFocusLostC = chatbox.FocusLost:Connect(chatboxFocusLost)
  5367.  
  5368. Players.LocalPlayer:FindFirstChildWhichIsA("PlayerGui").Chat.Frame.ChatBarParentFrame.ChildAdded:Connect(function(newbar)
  5369. wait()
  5370. if newbar:FindFirstChild('BoxFrame') then
  5371. chatbox = Players.LocalPlayer:FindFirstChildWhichIsA("PlayerGui").Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar
  5372. if chatboxFocusedC then chatboxFocusedC:Disconnect() end
  5373. chatboxFocusedC = chatbox.Focused:Connect(chatboxFocused)
  5374. if chatboxFunc then chatboxFunc:Disconnect() end
  5375. chatboxFunc = chatbox:GetPropertyChangedSignal("Text"):Connect(Index)
  5376. if chatboxFocusLostC then chatboxFocusLostC:Disconnect() end
  5377. chatboxFocusLostC = chatbox.FocusLost:Connect(chatboxFocusLost)
  5378. end
  5379. end)
  5380. --else
  5381. --print('Custom chat detected. Will not provide suggestions for commands typed in the chat.')
  5382. end
  5383.  
  5384. function autoComplete(str,curText)
  5385. local endingChar = {"[", "/", "(", " "}
  5386. local stop = 0
  5387. for i=1,#str do
  5388. local c = str:sub(i,i)
  5389. if table.find(endingChar, c) then
  5390. stop = i
  5391. break
  5392. end
  5393. end
  5394. curText = curText or Cmdbar.Text
  5395. local subPos = 0
  5396. local pos = 1
  5397. local findRes = string.find(curText,"\\",pos)
  5398. while findRes do
  5399. subPos = findRes
  5400. pos = findRes+1
  5401. findRes = string.find(curText,"\\",pos)
  5402. end
  5403. if curText:sub(subPos+1,subPos+1) == "!" then subPos = subPos + 1 end
  5404. Cmdbar.Text = curText:sub(1,subPos) .. str:sub(1, stop - 1)..' '
  5405. wait()
  5406. Cmdbar.Text = Cmdbar.Text:gsub( '\t', '' )
  5407. Cmdbar.CursorPosition = #Cmdbar.Text+1--1020
  5408. end
  5409.  
  5410. CMDs = {}
  5411. CMDs[#CMDs + 1] = {NAME = 'console', DESC = 'Loads old Roblox console'}
  5412. CMDs[#CMDs + 1] = {NAME = 'explorer / dex', DESC = 'Opens DEX explorer'}
  5413. CMDs[#CMDs + 1] = {NAME = 'remotespy / rspy', DESC = 'Opens FrostHook Spy'}
  5414. CMDs[#CMDs + 1] = {NAME = 'serverinfo / info', DESC = 'Gives you info about the server'}
  5415. CMDs[#CMDs + 1] = {NAME = 'jobid', DESC = 'Copies the games JobId to your clipboard'}
  5416. CMDs[#CMDs + 1] = {NAME = 'notifyjobid', DESC = 'Notifies you the games JobId'}
  5417. CMDs[#CMDs + 1] = {NAME = 'rejoin / rj', DESC = 'Makes you rejoin the game'}
  5418. CMDs[#CMDs + 1] = {NAME = 'serverhop [maxplayers] [minplayers] [maxqueries]', DESC = 'Teleports you to a different server'}
  5419. CMDs[#CMDs + 1] = {NAME = 'joinplayer [username / ID] [place ID]', DESC = 'Joins a specific players server'}
  5420. CMDs[#CMDs + 1] = {NAME = 'gameteleport / gametp [place ID]', DESC = 'Joins a game by ID'}
  5421. CMDs[#CMDs + 1] = {NAME = 'antiidle / antiafk', DESC = 'Prevents the game from kicking you for being idle/afk'}
  5422. CMDs[#CMDs + 1] = {NAME = 'datalimit [num]', DESC = 'Set outgoing KBPS limit'}
  5423. CMDs[#CMDs + 1] = {NAME = 'replicationlag / backtrack [num]', DESC = 'Set IncommingReplicationLag'}
  5424. CMDs[#CMDs + 1] = {NAME = 'nopurchaseprompts / noprompts', DESC = 'Prevents the game from showing you purchase prompts'}
  5425. CMDs[#CMDs + 1] = {NAME = 'showpurchaseprompts / showprompts', DESC = 'Allows the game to show purchase prompts again'}
  5426. CMDs[#CMDs + 1] = {NAME = 'enable [inventory/playerlist/chat/all]', DESC = 'Toggles visibility of coregui items'}
  5427. CMDs[#CMDs + 1] = {NAME = 'disable [inventory/playerlist/chat/all]', DESC = 'Toggles visibility of coregui items'}
  5428. CMDs[#CMDs + 1] = {NAME = 'showguis', DESC = 'Shows any invisible GUIs'}
  5429. CMDs[#CMDs + 1] = {NAME = 'unshowguis', DESC = 'Undoes showguis'}
  5430. CMDs[#CMDs + 1] = {NAME = 'hideguis', DESC = 'Hides any GUIs in PlayerGui'}
  5431. CMDs[#CMDs + 1] = {NAME = 'unhideguis', DESC = 'Undoes hideguis'}
  5432. CMDs[#CMDs + 1] = {NAME = 'hideiy', DESC = 'Hides the main IY GUI'}
  5433. CMDs[#CMDs + 1] = {NAME = 'showiy', DESC = 'Shows IY again'}
  5434. CMDs[#CMDs + 1] = {NAME = 'savegame / saveplace', DESC = 'Uses saveinstance to save the game'}
  5435. CMDs[#CMDs + 1] = {NAME = 'clearerror', DESC = 'Clears the annoying box and blur when a game kicks you'}
  5436. CMDs[#CMDs + 1] = {NAME = 'clientantikick / antikick (CLIENT)', DESC = 'Prevents localscripts from kicking you'}
  5437. CMDs[#CMDs + 1] = {NAME = 'volume / vol [0-10]', DESC = 'Adjusts your game volume on a scale of 0 to 10'}
  5438. CMDs[#CMDs + 1] = {NAME = 'antilag / boostfps / lowgraphics', DESC = 'Lowers game quality to boost FPS'}
  5439. CMDs[#CMDs + 1] = {NAME = 'notify [text]', DESC = 'Sends you a notification with the provided text'}
  5440. CMDs[#CMDs + 1] = {NAME = 'exit', DESC = 'Kills roblox process'}
  5441. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5442. CMDs[#CMDs + 1] = {NAME = 'noclip', DESC = 'Go through objects'}
  5443. CMDs[#CMDs + 1] = {NAME = 'unnoclip / clip', DESC = 'Disables noclip'}
  5444. CMDs[#CMDs + 1] = {NAME = 'fly', DESC = 'Makes you fly'}
  5445. CMDs[#CMDs + 1] = {NAME = 'unfly', DESC = 'Disables fly'}
  5446. CMDs[#CMDs + 1] = {NAME = 'flyspeed [num]', DESC = 'Set fly speed (default is 20)'}
  5447. CMDs[#CMDs + 1] = {NAME = 'vehiclefly / vfly', DESC = 'Makes you fly in a vehicle'}
  5448. CMDs[#CMDs + 1] = {NAME = 'unvehiclefly / unvfly', DESC = 'Disables vehicle fly'}
  5449. CMDs[#CMDs + 1] = {NAME = 'vehicleflyspeed / vflyspeed [num]', DESC = 'Set vehicle fly speed'}
  5450. CMDs[#CMDs + 1] = {NAME = 'qefly [true / false]', DESC = 'enables or disables the Q and E hotkeys for fly'}
  5451. CMDs[#CMDs + 1] = {NAME = 'vehiclenoclip / vnoclip', DESC = 'Turns off vehicle collision'}
  5452. CMDs[#CMDs + 1] = {NAME = 'vehicleclip / vclip / unvnoclip', DESC = 'Enables vehicle collision'}
  5453. CMDs[#CMDs + 1] = {NAME = 'float / platform', DESC = 'Spawns a platform beneath you causing you to float'}
  5454. CMDs[#CMDs + 1] = {NAME = 'unfloat / noplatform', DESC = 'Removes the platform'}
  5455. CMDs[#CMDs + 1] = {NAME = 'swim', DESC = 'Allows you to swim in the air'}
  5456. CMDs[#CMDs + 1] = {NAME = 'unswim / noswim', DESC = 'Stops you from swimming everywhere'}
  5457. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5458. CMDs[#CMDs + 1] = {NAME = 'setwaypoint / swp [name]', DESC = 'Sets a waypoint at your position'}
  5459. CMDs[#CMDs + 1] = {NAME = 'waypointpos / wpp [name] [X Y Z]', DESC = 'Sets a waypoint with specified coordinates'}
  5460. CMDs[#CMDs + 1] = {NAME = 'showwaypoints / showwp', DESC = 'Shows all currently set waypoints'}
  5461. CMDs[#CMDs + 1] = {NAME = 'hidewaypoints / hidewp', DESC = 'Hides shown waypoints'}
  5462. CMDs[#CMDs + 1] = {NAME = 'waypoint / wp [name]', DESC = 'Teleports player to a waypoint'}
  5463. CMDs[#CMDs + 1] = {NAME = 'tweenwaypoint / twp [name]', DESC = 'Tweens player to a waypoint'}
  5464. CMDs[#CMDs + 1] = {NAME = 'deletewaypoint / dwp [name]', DESC = 'Deletes a waypoint'}
  5465. CMDs[#CMDs + 1] = {NAME = 'clearwaypoints / cwp', DESC = 'Clears all waypoints'}
  5466. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5467. CMDs[#CMDs + 1] = {NAME = 'goto [plr]', DESC = 'Go to a player'}
  5468. CMDs[#CMDs + 1] = {NAME = 'tweengoto / tgoto [plr]', DESC = 'Tween to a player (bypasses some anti cheats)'}
  5469. CMDs[#CMDs + 1] = {NAME = 'vehiclegoto / vgoto [plr]', DESC = 'Go to a player while in a vehicle'}
  5470. CMDs[#CMDs + 1] = {NAME = 'loopgoto [plr] [distance] [delay]', DESC = 'Loop teleport to a player'}
  5471. CMDs[#CMDs + 1] = {NAME = 'unloopgoto [plr]', DESC = 'Stops teleporting you to a player'}
  5472. CMDs[#CMDs + 1] = {NAME = 'clientbring / cbring [plr] (CLIENT)', DESC = 'Bring a player'}
  5473. CMDs[#CMDs + 1] = {NAME = 'loopbring [plr] [distance] [delay] (CLIENT)', DESC = 'Loop brings a player to you (useful for killing)'}
  5474. CMDs[#CMDs + 1] = {NAME = 'unloopbring [plr]', DESC = 'Undoes loopbring'}
  5475. CMDs[#CMDs + 1] = {NAME = 'freeze / fr [plr] (CLIENT)', DESC = 'Freezes a player'}
  5476. CMDs[#CMDs + 1] = {NAME = 'thaw / unfr [plr] (CLIENT)', DESC = 'Unfreezes a player'}
  5477. CMDs[#CMDs + 1] = {NAME = 'tpposition / tppos [X Y Z]', DESC = 'Teleports you to certain coordinates'}
  5478. CMDs[#CMDs + 1] = {NAME = 'tweentpposition / ttppos [X Y Z]', DESC = 'Tween to coordinates (bypasses some anti cheats)'}
  5479. CMDs[#CMDs + 1] = {NAME = 'offset [X Y Z]', DESC = 'Offsets you by certain coordinates'}
  5480. CMDs[#CMDs + 1] = {NAME = 'tweenoffset / toffset [X Y Z]', DESC = 'Tween offset (bypasses some anti cheats)'}
  5481. CMDs[#CMDs + 1] = {NAME = 'notifyposition / notifypos [plr]', DESC = 'Notifies you the coordinates of a character'}
  5482. CMDs[#CMDs + 1] = {NAME = 'copyposition / copypos [plr]', DESC = 'Copies the coordinates of a character to your clipboard'}
  5483. CMDs[#CMDs + 1] = {NAME = 'spawnpoint / spawn [delay]', DESC = 'Sets a position where you will spawn'}
  5484. CMDs[#CMDs + 1] = {NAME = 'nospawnpoint / nospawn', DESC = 'Removes your custom spawn point'}
  5485. CMDs[#CMDs + 1] = {NAME = 'flashback / diedtp', DESC = 'Teleports you to where you last died'}
  5486. CMDs[#CMDs + 1] = {NAME = 'walltp', DESC = 'Teleports you above/over any wall you run into'}
  5487. CMDs[#CMDs + 1] = {NAME = 'nowalltp / unwalltp', DESC = 'Disables walltp'}
  5488. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5489. CMDs[#CMDs + 1] = {NAME = 'logs', DESC = 'Opens the logs GUI'}
  5490. CMDs[#CMDs + 1] = {NAME = 'chatlogs / clogs', DESC = 'Log what people say or whisper'}
  5491. CMDs[#CMDs + 1] = {NAME = 'joinlogs / jlogs', DESC = 'Log when people join'}
  5492. CMDs[#CMDs + 1] = {NAME = 'chat / say [text]', DESC = 'Makes you chat a string (possible mute bypass)'}
  5493. CMDs[#CMDs + 1] = {NAME = 'spam [text]', DESC = 'Makes you spam the chat'}
  5494. CMDs[#CMDs + 1] = {NAME = 'unspam', DESC = 'Turns off spam'}
  5495. CMDs[#CMDs + 1] = {NAME = 'pmspam [plr] [text]', DESC = 'Makes you spam a players whispers'}
  5496. CMDs[#CMDs + 1] = {NAME = 'unpmspam [plr]', DESC = 'Turns off pm spam'}
  5497. CMDs[#CMDs + 1] = {NAME = 'spamspeed [num]', DESC = 'How quickly you spam (default is 1)'}
  5498. CMDs[#CMDs + 1] = {NAME = 'bubblechat (CLIENT)', DESC = 'Enables bubble chat for your client'}
  5499. CMDs[#CMDs + 1] = {NAME = 'unbubblechat / nobubblechat', DESC = 'Disables the bubblechat command'}
  5500. CMDs[#CMDs + 1] = {NAME = 'safechat', DESC = 'Enables safe chat'}
  5501. CMDs[#CMDs + 1] = {NAME = 'nosafechat / disablesafechat', DESC = 'Disables safechat'}
  5502. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5503. CMDs[#CMDs + 1] = {NAME = 'esp', DESC = 'View all players and their status'}
  5504. CMDs[#CMDs + 1] = {NAME = 'noesp / unesp', DESC = 'Removes esp'}
  5505. CMDs[#CMDs + 1] = {NAME = 'partesp [part name]', DESC = 'Highlights a part'}
  5506. CMDs[#CMDs + 1] = {NAME = 'unpartesp / nopartesp [part name]', DESC = 'removes partesp'}
  5507. CMDs[#CMDs + 1] = {NAME = 'chams', DESC = 'ESP but without text in the way'}
  5508. CMDs[#CMDs + 1] = {NAME = 'nochams / unchams', DESC = 'Removes chams'}
  5509. CMDs[#CMDs + 1] = {NAME = 'locate [plr]', DESC = 'View a single player and their status'}
  5510. CMDs[#CMDs + 1] = {NAME = 'unlocate / nolocate [plr]', DESC = 'Removes locate'}
  5511. CMDs[#CMDs + 1] = {NAME = 'xray', DESC = 'Makes all parts in workspace transparent'}
  5512. CMDs[#CMDs + 1] = {NAME = 'unxray / noxray', DESC = 'Restores transparency'}
  5513. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5514. CMDs[#CMDs + 1] = {NAME = 'spectate / view [plr]', DESC = 'View a player'}
  5515. CMDs[#CMDs + 1] = {NAME = 'viewpart / viewp [part name]', DESC = 'View a part'}
  5516. CMDs[#CMDs + 1] = {NAME = 'unspectate / unview', DESC = 'Stops viewing player'}
  5517. CMDs[#CMDs + 1] = {NAME = 'freecam / fc', DESC = 'Allows you to freely move camera around the game'}
  5518. CMDs[#CMDs + 1] = {NAME = 'freecampos / fcpos [X Y Z]', DESC = 'Moves / opens freecam in a certain position'}
  5519. CMDs[#CMDs + 1] = {NAME = 'freecamwaypoint / fcwp [name]', DESC = 'Moves / opens freecam to a waypoint'}
  5520. CMDs[#CMDs + 1] = {NAME = 'freecamgoto / fcgoto / fctp [plr]', DESC = 'Moves / opens freecam to a player'}
  5521. CMDs[#CMDs + 1] = {NAME = 'unfreecam / unfc', DESC = 'Disables freecam'}
  5522. CMDs[#CMDs + 1] = {NAME = 'freecamspeed / fcspeed [num]', DESC = 'Adjusts freecam speed (default is 1)'}
  5523. CMDs[#CMDs + 1] = {NAME = 'gotocamera / gotocam', DESC = 'Teleports you to the location of your camera'}
  5524. CMDs[#CMDs + 1] = {NAME = 'firstp', DESC = 'Forces camera to go into first person'}
  5525. CMDs[#CMDs + 1] = {NAME = 'thirdp', DESC = 'Allows camera to go into third person'}
  5526. CMDs[#CMDs + 1] = {NAME = 'noclipcam / nccam', DESC = 'Allows camera to go through objects like walls'}
  5527. CMDs[#CMDs + 1] = {NAME = 'maxzoom [num]', DESC = 'Maximum camera zoom'}
  5528. CMDs[#CMDs + 1] = {NAME = 'minzoom [num]', DESC = 'Minimum camera zoom'}
  5529. CMDs[#CMDs + 1] = {NAME = 'fov [num]', DESC = 'Adjusts field of view (default is 70)'}
  5530. CMDs[#CMDs + 1] = {NAME = 'fixcam / restorecam', DESC = 'Fixes camera'}
  5531. CMDs[#CMDs + 1] = {NAME = 'enableshiftlock / enablesl', DESC = 'Enables the shift lock option'}
  5532. CMDs[#CMDs + 1] = {NAME = 'lookat [plr]', DESC = 'Moves your camera view to a player'}
  5533. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5534. CMDs[#CMDs + 1] = {NAME = 'btools (CLIENT)', DESC = 'Gives you building tools (DOES NOT REPLICATE)'}
  5535. CMDs[#CMDs + 1] = {NAME = 'f3x (CLIENT)', DESC = 'Gives you F3X building tools (DOES NOT REPLICATE)'}
  5536. CMDs[#CMDs + 1] = {NAME = 'delete [instance name] (CLIENT)', DESC = 'Removes any part with a certain name from the workspace (DOES NOT REPLICATE)'}
  5537. CMDs[#CMDs + 1] = {NAME = 'deleteclass / dc [class name] (CLIENT)', DESC = 'Removes any part with a certain classname from the workspace (DOES NOT REPLICATE)'}
  5538. CMDs[#CMDs + 1] = {NAME = 'lockworkspace / lockws', DESC = 'Locks the whole workspace'}
  5539. CMDs[#CMDs + 1] = {NAME = 'unlockworkspace / unlockws', DESC = 'Unlocks the whole workspace'}
  5540. CMDs[#CMDs + 1] = {NAME = 'invisibleparts / invisparts (CLIENT)', DESC = 'Shows invisible parts'}
  5541. CMDs[#CMDs + 1] = {NAME = 'uninvisibleparts / uninvisparts (CLIENT)', DESC = 'Makes parts affected by invisparts return to normal'}
  5542. CMDs[#CMDs + 1] = {NAME = 'deleteinvisparts / dip (CLIENT)', DESC = 'Deletes invisible parts'}
  5543. CMDs[#CMDs + 1] = {NAME = 'gotopart [part name]', DESC = 'Moves your character to a part or multiple parts'}
  5544. CMDs[#CMDs + 1] = {NAME = 'tweengotopart / tgotopart [part name]', DESC = 'Tweens your character to a part or multiple parts'}
  5545. CMDs[#CMDs + 1] = {NAME = 'gotopartclass / gpc [class name]', DESC = 'Moves your character to a part or multiple parts based on classname'}
  5546. CMDs[#CMDs + 1] = {NAME = 'tweengotopartclass / tgpc [class name]', DESC = 'Tweens your character to a part or multiple parts based on classname'}
  5547. CMDs[#CMDs + 1] = {NAME = 'gotopartdelay [num]', DESC = 'Adjusts how quickly you teleport to each part (default is 0.1)'}
  5548. CMDs[#CMDs + 1] = {NAME = 'bringpart [part name] (CLIENT)', DESC = 'Moves a part or multiple parts to your character'}
  5549. CMDs[#CMDs + 1] = {NAME = 'bringpartclass / bpc [class name] (CLIENT)', DESC = 'Moves a part or multiple parts to your character based on classname'}
  5550. CMDs[#CMDs + 1] = {NAME = 'noclickdetectorlimits / nocdlimits', DESC = 'Sets all click detectors MaxActivationDistance to math.huge'}
  5551. CMDs[#CMDs + 1] = {NAME = 'fireclickdetectors / firecd', DESC = 'Uses all click detectors in a game'}
  5552. CMDs[#CMDs + 1] = {NAME = 'simulationradius / simradius', DESC = 'Sets your SimulationRadius to math.huge'}
  5553. CMDs[#CMDs + 1] = {NAME = 'nosimulationradius / nosimradius', DESC = 'Turns off the SimulationRadius loop and restores values to default'}
  5554. CMDs[#CMDs + 1] = {NAME = 'tpunanchored / tpua [plr]', DESC = 'Teleports unanchored parts to a player'}
  5555. CMDs[#CMDs + 1] = {NAME = 'freezeunanchored / freezeua', DESC = 'Freezes unanchored parts'}
  5556. CMDs[#CMDs + 1] = {NAME = 'thawunanchored / thawua / unfreezeua', DESC = 'Thaws unanchored parts'}
  5557. CMDs[#CMDs + 1] = {NAME = 'removeterrain / rterrain / noterrain', DESC = 'Removes all terrain'}
  5558. CMDs[#CMDs + 1] = {NAME = 'clearnilinstances / nonilinstances / cni', DESC = 'Removes nil instances'}
  5559. CMDs[#CMDs + 1] = {NAME = 'destroyheight / dh [num]', DESC = 'Sets FallenPartsDestroyHeight'}
  5560. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5561. CMDs[#CMDs + 1] = {NAME = 'fullbright / fb (CLIENT)', DESC = 'Makes the map brighter / more visible'}
  5562. CMDs[#CMDs + 1] = {NAME = 'ambient [num] [num] [num] (CLIENT)', DESC = 'Changes ambient'}
  5563. CMDs[#CMDs + 1] = {NAME = 'day (CLIENT)', DESC = 'Changes the time to day for the client'}
  5564. CMDs[#CMDs + 1] = {NAME = 'night (CLIENT)', DESC = 'Changes the time to night for the client'}
  5565. CMDs[#CMDs + 1] = {NAME = 'nofog (CLIENT)', DESC = 'Removes fog'}
  5566. CMDs[#CMDs + 1] = {NAME = 'brightness [num] (CLIENT)', DESC = 'Changes the brightness lighting property'}
  5567. CMDs[#CMDs + 1] = {NAME = 'globalshadows / gshadows (CLIENT)', DESC = 'Enables global shadows'}
  5568. CMDs[#CMDs + 1] = {NAME = 'noglobalshadows / nogshadows (CLIENT)', DESC = 'Disables global shadows'}
  5569. CMDs[#CMDs + 1] = {NAME = 'restorelighting / rlighting', DESC = 'Restores Lighting properties'}
  5570. CMDs[#CMDs + 1] = {NAME = 'light [radius] (CLIENT)', DESC = 'Gives your player dynamic light'}
  5571. CMDs[#CMDs + 1] = {NAME = 'nolight / unlight', DESC = 'Removes dynamic light from your player'}
  5572. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5573. CMDs[#CMDs + 1] = {NAME = 'age [plr]', DESC = 'Tells you the age of a player'}
  5574. CMDs[#CMDs + 1] = {NAME = 'chatage [plr]', DESC = 'Chats the age of a player'}
  5575. CMDs[#CMDs + 1] = {NAME = 'joindate / jd [plr]', DESC = 'Tells you the date the player joined Roblox'}
  5576. CMDs[#CMDs + 1] = {NAME = 'chatjoindate / cjd [plr]', DESC = 'Chats the date the player joined Roblox'}
  5577. CMDs[#CMDs + 1] = {NAME = 'copyname / copyuser [plr]', DESC = 'Copies a players full username to your clipboard'}
  5578. CMDs[#CMDs + 1] = {NAME = 'userid / id [plr]', DESC = 'Notifies a players user ID'}
  5579. CMDs[#CMDs + 1] = {NAME = 'copyuserid / copyid [plr]', DESC = 'Copies a players user ID to your clipboard'}
  5580. CMDs[#CMDs + 1] = {NAME = 'appearanceid / aid [plr]', DESC = 'Notifies a players appearance ID'}
  5581. CMDs[#CMDs + 1] = {NAME = 'copyappearanceid / caid [plr]', DESC = 'Copies a players appearance ID to your clipboard'}
  5582. CMDs[#CMDs + 1] = {NAME = 'bang [plr] [speed]', DESC = 'owo'}
  5583. CMDs[#CMDs + 1] = {NAME = 'unbang', DESC = 'uwu'}
  5584. CMDs[#CMDs + 1] = {NAME = 'carpet [plr]', DESC = 'Be someones carpet'}
  5585. CMDs[#CMDs + 1] = {NAME = 'uncarpet', DESC = 'Undoes carpet'}
  5586. CMDs[#CMDs + 1] = {NAME = 'friend [plr]', DESC = 'Sends a friend request to certain players'}
  5587. CMDs[#CMDs + 1] = {NAME = 'unfriend [plr]', DESC = 'Unfriends certain players'}
  5588. CMDs[#CMDs + 1] = {NAME = 'headsit [plr]', DESC = 'Sit on a players head'}
  5589. CMDs[#CMDs + 1] = {NAME = 'walkto / follow [plr]', DESC = 'Follow a player'}
  5590. CMDs[#CMDs + 1] = {NAME = 'unwalkto / unfollow', DESC = 'Stops following a player'}
  5591. CMDs[#CMDs + 1] = {NAME = 'attach [plr] (TOOL)', DESC = 'Attaches you to a player (YOU NEED A TOOL)'}
  5592. CMDs[#CMDs + 1] = {NAME = 'kill [plr] (TOOL)', DESC = 'Kills a player (YOU NEED A TOOL)'}
  5593. CMDs[#CMDs + 1] = {NAME = 'fastkill [plr] (TOOL)', DESC = 'Kills a player (less reliable) (YOU NEED A TOOL)'}
  5594. CMDs[#CMDs + 1] = {NAME = 'bring [plr] (TOOL)', DESC = 'Brings a player (YOU NEED A TOOL)'}
  5595. CMDs[#CMDs + 1] = {NAME = 'fastbring [plr] (TOOL)', DESC = 'Brings a player (less reliable) (YOU NEED A TOOL)'}
  5596. CMDs[#CMDs + 1] = {NAME = 'teleport / tp [plr] [plr] (TOOL)', DESC = 'Teleports a player to another player (YOU NEED A TOOL)'}
  5597. CMDs[#CMDs + 1] = {NAME = 'fastteleport / fasttp [plr] [plr] (TOOL)', DESC = 'Teleports a player to another player (less reliable) (YOU NEED A TOOL)'}
  5598. CMDs[#CMDs + 1] = {NAME = 'fling', DESC = 'Flings anyone you touch'}
  5599. CMDs[#CMDs + 1] = {NAME = 'unfling', DESC = 'Disables the fling command'}
  5600. CMDs[#CMDs + 1] = {NAME = 'invisfling', DESC = 'Enables invisible fling'}
  5601. CMDs[#CMDs + 1] = {NAME = 'loopoof', DESC = 'Loops everyones character sounds (everyone can hear)'}
  5602. CMDs[#CMDs + 1] = {NAME = 'unloopoof', DESC = 'Stops the oof chaos'}
  5603. CMDs[#CMDs + 1] = {NAME = 'muteboombox [plr]', DESC = 'Mutes someones boombox'}
  5604. CMDs[#CMDs + 1] = {NAME = 'unmuteboombox [plr]', DESC = 'Unmutes someones boombox'}
  5605. CMDs[#CMDs + 1] = {NAME = 'unloopoof', DESC = 'Stops the oof chaos'}
  5606. CMDs[#CMDs + 1] = {NAME = 'hitbox [plr] [size]', DESC = 'Expands the hitbox for players heads (default is 1)'}
  5607. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5608. CMDs[#CMDs + 1] = {NAME = 'reset', DESC = 'Resets your character normally'}
  5609. CMDs[#CMDs + 1] = {NAME = 'respawn', DESC = 'Respawns you'}
  5610. CMDs[#CMDs + 1] = {NAME = 'refresh / re', DESC = 'Respawns and brings you back to the same position'}
  5611. CMDs[#CMDs + 1] = {NAME = 'invisible / invis', DESC = 'Makes you invisible to other players'}
  5612. CMDs[#CMDs + 1] = {NAME = 'visible / vis', DESC = 'Makes you visible to other players'}
  5613. CMDs[#CMDs + 1] = {NAME = 'speed / ws [num]', DESC = 'Change your walkspeed'}
  5614. CMDs[#CMDs + 1] = {NAME = 'loopspeed / loopws [num]', DESC = 'Loops your walkspeed'}
  5615. CMDs[#CMDs + 1] = {NAME = 'unloopspeed / unloopws', DESC = 'Turns off loopspeed'}
  5616. CMDs[#CMDs + 1] = {NAME = 'hipheight / hheight [num]', DESC = 'Adjusts hip height'}
  5617. CMDs[#CMDs + 1] = {NAME = 'jumppower / jpower [num]', DESC = 'Change a players jump height'}
  5618. CMDs[#CMDs + 1] = {NAME = 'gravity / grav [num] (CLIENT)', DESC = 'Change your gravity'}
  5619. CMDs[#CMDs + 1] = {NAME = 'sit', DESC = 'Makes your character sit'}
  5620. CMDs[#CMDs + 1] = {NAME = 'sitwalk', DESC = 'Makes your character sit while still being able to walk'}
  5621. CMDs[#CMDs + 1] = {NAME = 'nosit', DESC = 'Prevents your character from sitting'}
  5622. CMDs[#CMDs + 1] = {NAME = 'unnosit', DESC = 'Disables nosit'}
  5623. CMDs[#CMDs + 1] = {NAME = 'jump', DESC = 'Makes your character jump'}
  5624. CMDs[#CMDs + 1] = {NAME = 'infinitejump / infjump', DESC = 'Allows you to jump before hitting the ground'}
  5625. CMDs[#CMDs + 1] = {NAME = 'uninfinitejump / uninfjump', DESC = 'Disables infjump'}
  5626. CMDs[#CMDs + 1] = {NAME = 'platformstand / stun', DESC = 'Enables PlatformStand'}
  5627. CMDs[#CMDs + 1] = {NAME = 'unplatformstand / unstun', DESC = 'Disables PlatformStand'}
  5628. CMDs[#CMDs + 1] = {NAME = 'team [team name] (CLIENT)', DESC = 'Changes your team. Sometimes fools localscripts.'}
  5629. CMDs[#CMDs + 1] = {NAME = 'nobillboardgui / nobgui / noname', DESC = 'Removes billboard and surface guis from your players (i.e. name guis at cafes)'}
  5630. CMDs[#CMDs + 1] = {NAME = 'noarms', DESC = 'Removes your arms'}
  5631. CMDs[#CMDs + 1] = {NAME = 'nolegs', DESC = 'Removes your legs'}
  5632. CMDs[#CMDs + 1] = {NAME = 'nolimbs', DESC = 'Removes your limbs'}
  5633. CMDs[#CMDs + 1] = {NAME = 'naked', DESC = 'Removes your clothing'}
  5634. CMDs[#CMDs + 1] = {NAME = 'noface / removeface', DESC = 'Removes your face'}
  5635. CMDs[#CMDs + 1] = {NAME = 'blockhead', DESC = 'Turns your head into a block'}
  5636. CMDs[#CMDs + 1] = {NAME = 'blockhats', DESC = 'Turns your hats into blocks'}
  5637. CMDs[#CMDs + 1] = {NAME = 'blocktool', DESC = 'Turns the currently selected tool into a block'}
  5638. CMDs[#CMDs + 1] = {NAME = 'creeper', DESC = 'Makes you look like a creeper'}
  5639. CMDs[#CMDs + 1] = {NAME = 'drophats', DESC = 'Drops your hats'}
  5640. CMDs[#CMDs + 1] = {NAME = 'nohats / deletehats / rhats', DESC = 'Deletes your hats'}
  5641. CMDs[#CMDs + 1] = {NAME = 'chardelete / cd [instance name]', DESC = 'Removes any part with a certain name from your character'}
  5642. CMDs[#CMDs + 1] = {NAME = 'chardeleteclass / cdc [class name]', DESC = 'Removes any part with a certain classname from your character'}
  5643. CMDs[#CMDs + 1] = {NAME = 'deletevelocity / dv / removeforces', DESC = 'Removes any velocity / force instances in your character'}
  5644. CMDs[#CMDs + 1] = {NAME = 'weaken [num]', DESC = 'Makes your character less dense'}
  5645. CMDs[#CMDs + 1] = {NAME = 'unweaken', DESC = 'Sets your characters CustomPhysicalProperties to default'}
  5646. CMDs[#CMDs + 1] = {NAME = 'strengthen [num]', DESC = 'Makes your character more dense (CustomPhysicalProperties)'}
  5647. CMDs[#CMDs + 1] = {NAME = 'unstrengthen', DESC = 'Sets your characters CustomPhysicalProperties to default'}
  5648. CMDs[#CMDs + 1] = {NAME = 'breakvelocity', DESC = 'Sets your characters velocity to 0'}
  5649. CMDs[#CMDs + 1] = {NAME = 'spin [speed]', DESC = 'Spins your character'}
  5650. CMDs[#CMDs + 1] = {NAME = 'unspin', DESC = 'Disables spin'}
  5651. CMDs[#CMDs + 1] = {NAME = 'hatspin / spinhats', DESC = 'Spins your characters accessories'}
  5652. CMDs[#CMDs + 1] = {NAME = 'unhatspin / unspinhats', DESC = 'Undoes spinhats'}
  5653. CMDs[#CMDs + 1] = {NAME = 'vr', DESC = 'Loads CLOVR by Abacaxl'}
  5654. CMDs[#CMDs + 1] = {NAME = 'split', DESC = 'Splits your character in half'}
  5655. CMDs[#CMDs + 1] = {NAME = 'nilchar', DESC = 'Sets your characters parent to nil'}
  5656. CMDs[#CMDs + 1] = {NAME = 'unnilchar / nonilchar', DESC = 'Sets your characters parent to workspace'}
  5657. CMDs[#CMDs + 1] = {NAME = 'noroot / removeroot / rroot', DESC = 'Removes your characters HumanoidRootPart'}
  5658. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5659. CMDs[#CMDs + 1] = {NAME = 'animation / anim [ID] [speed]', DESC = 'Makes your character perform an animation (must be by roblox to replicate)'}
  5660. CMDs[#CMDs + 1] = {NAME = 'dance', DESC = 'Makes you d a n c e'}
  5661. CMDs[#CMDs + 1] = {NAME = 'undance', DESC = 'Stops dance animations'}
  5662. CMDs[#CMDs + 1] = {NAME = 'spasm', DESC = 'Makes you c r a z y'}
  5663. CMDs[#CMDs + 1] = {NAME = 'unspasm', DESC = 'Stops spasm'}
  5664. CMDs[#CMDs + 1] = {NAME = 'headthrow', DESC = 'Simply makes you throw your head'}
  5665. CMDs[#CMDs + 1] = {NAME = 'noanim', DESC = 'Disables your animations'}
  5666. CMDs[#CMDs + 1] = {NAME = 'reanim', DESC = 'Restores your animations'}
  5667. CMDs[#CMDs + 1] = {NAME = 'animspeed [num]', DESC = 'Changes the speed of your current animation'}
  5668. CMDs[#CMDs + 1] = {NAME = 'stopanimations / stopanims', DESC = 'Stops running animations'}
  5669. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5670. CMDs[#CMDs + 1] = {NAME = 'autoclick [click delay] [release delay]', DESC = 'Automatically clicks your mouse with a set delay'}
  5671. CMDs[#CMDs + 1] = {NAME = 'unautoclick / noautoclick', DESC = 'Turns off autoclick'}
  5672. CMDs[#CMDs + 1] = {NAME = 'autokeypress [key] [down delay] [up delay]', DESC = 'Automatically presses a key with a set delay'}
  5673. CMDs[#CMDs + 1] = {NAME = 'unautokeypress', DESC = 'Stops autokeypress'}
  5674. CMDs[#CMDs + 1] = {NAME = 'hovername', DESC = 'Shows a players username when your mouse is hovered over them'}
  5675. CMDs[#CMDs + 1] = {NAME = 'unhovername / nohovername', DESC = 'Turns off hovername'}
  5676. CMDs[#CMDs + 1] = {NAME = 'mousesensitivity / ms [0-10]', DESC = 'Sets your mouse sensitivity (affects first person and right click drag) (default is 1)'}
  5677. CMDs[#CMDs + 1] = {NAME = 'clickdelete', DESC = 'Go to settings>Keybinds>Add for clicktp'}
  5678. CMDs[#CMDs + 1] = {NAME = 'clickteleport', DESC = 'Go to settings>Keybinds>Add for click tp'}
  5679. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5680. CMDs[#CMDs + 1] = {NAME = 'tools', DESC = 'Copies tools from ReplicatedStorage and Lighting'}
  5681. CMDs[#CMDs + 1] = {NAME = 'notools / removetools / deletetools', DESC = 'Removes tools from character and backpack'}
  5682. CMDs[#CMDs + 1] = {NAME = 'deleteselectedtool / dst', DESC = 'Removes any currently selected tools'}
  5683. CMDs[#CMDs + 1] = {NAME = 'grabtools', DESC = 'Automatically get tools that are dropped'}
  5684. CMDs[#CMDs + 1] = {NAME = 'ungrabtools / nograbtools', DESC = 'Disables grabtools'}
  5685. CMDs[#CMDs + 1] = {NAME = 'copytools [plr] (CLIENT)', DESC = 'Copies a players tools'}
  5686. CMDs[#CMDs + 1] = {NAME = 'dupetools / clonetools [num]', DESC = 'Duplicates your inventory tools a set ammount of times'}
  5687. CMDs[#CMDs + 1] = {NAME = 'droptools', DESC = 'Drops your tools'}
  5688. CMDs[#CMDs + 1] = {NAME = 'droppabletools', DESC = 'Makes your tools droppable'}
  5689. CMDs[#CMDs + 1] = {NAME = 'equiptools', DESC = 'Equips every tool in your inventory at once'}
  5690. CMDs[#CMDs + 1] = {NAME = 'reach [num]', DESC = 'Increases the hitbox of your held tool'}
  5691. CMDs[#CMDs + 1] = {NAME = 'unreach / noreach', DESC = 'Turns off reach'}
  5692. CMDs[#CMDs + 1] = {NAME = 'grippos [X Y Z]', DESC = 'Changes your current tools grip position'}
  5693. CMDs[#CMDs + 1] = {NAME = 'usetools', DESC = 'Activates all tools in your backpack at the same time'}
  5694. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5695. CMDs[#CMDs + 1] = {NAME = 'addalias [cmd] [alias]', DESC = 'Adds an alias to a command'}
  5696. CMDs[#CMDs + 1] = {NAME = 'removealias [alias]', DESC = 'Removes a custom alias'}
  5697. CMDs[#CMDs + 1] = {NAME = 'clraliases', DESC = 'Removes all custom aliases'}
  5698. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5699. CMDs[#CMDs + 1] = {NAME = 'addplugin / plugin [name]', DESC = 'Add a plugin via command'}
  5700. CMDs[#CMDs + 1] = {NAME = 'removeplugin / deleteplugin [name]', DESC = 'Remove a plugin via command'}
  5701. CMDs[#CMDs + 1] = {NAME = 'reloadplugin [name]', DESC = 'Reloads a plugin'}
  5702. CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
  5703. CMDs[#CMDs + 1] = {NAME = 'breakloops / break (cmd loops)', DESC = 'Stops any cmd loops (;100^1^cmd)'}
  5704. CMDs[#CMDs + 1] = {NAME = 'removecmd / deletecmd', DESC = 'Removes a command until the admin is reloaded'}
  5705. wait()
  5706.  
  5707. for i = 1, #CMDs do
  5708. local newcmd = Example:Clone()
  5709. newcmd.Parent = CMDsF
  5710. newcmd.Visible = false
  5711. newcmd.Text = CMDs[i].NAME
  5712. newcmd.Name = 'CMD'
  5713. table.insert(text1,newcmd)
  5714. if CMDs[i].DESC ~= '' then
  5715. local title = Instance.new("StringValue",newcmd)
  5716. title.Name = "Title"
  5717. title.Value = CMDs[i].NAME
  5718. local desc = Instance.new("StringValue",newcmd)
  5719. desc.Name = "Desc"
  5720. desc.Value = CMDs[i].DESC
  5721. newcmd.MouseButton1Down:Connect(function()
  5722. if newcmd.Visible and newcmd.TextTransparency == 0 then
  5723. local currentText = Cmdbar.Text
  5724. Cmdbar:CaptureFocus()
  5725. autoComplete(newcmd.Text,currentText)
  5726. maximizeHolder()
  5727. end
  5728. end)
  5729. end
  5730. end
  5731.  
  5732. IndexContents('',true)
  5733.  
  5734. function getText(object)
  5735. if object ~= nil then
  5736. if object:FindFirstChild('Desc') ~= nil then
  5737. return {object.Desc.Value, object:FindFirstChild('Title')}
  5738. elseif object.Parent:FindFirstChild('Desc') ~= nil then
  5739. return {object.Parent.Desc.Value, object.Parent:FindFirstChild('Title')}
  5740. end
  5741. end
  5742. return nil
  5743. end
  5744.  
  5745. function checkTT()
  5746. local t
  5747. local guisAtPosition = game:GetService("CoreGui"):GetGuiObjectsAtPosition(IYMouse.X, IYMouse.Y)
  5748.  
  5749. for _, gui in pairs(guisAtPosition) do
  5750. if gui.Parent == CMDsF then
  5751. t = gui
  5752. end
  5753. end
  5754.  
  5755. if t ~= nil then
  5756. local gt = getText(t)
  5757. if gt ~= nil then
  5758. local x = IYMouse.X
  5759. local y = IYMouse.Y
  5760. local xP
  5761. local yP
  5762. if IYMouse.X > 200 then
  5763. xP = x - 201
  5764. else
  5765. xP = x + 21
  5766. end
  5767. if IYMouse.Y > (IYMouse.ViewSizeY-96) then
  5768. yP = y - 97
  5769. else
  5770. yP = y
  5771. end
  5772. Tooltip.Position = UDim2.new(0, xP, 0, yP)
  5773. Tooltip.Description.Text = gt[1]
  5774. if gt[2] ~= nil then
  5775. Tooltip.Title.Text = gt[2].Value
  5776. else
  5777. Tooltip.Title.Text = ''
  5778. end
  5779. Tooltip.Visible = true
  5780. else
  5781. Tooltip.Visible = false
  5782. end
  5783. else
  5784. Tooltip.Visible = false
  5785. end
  5786. end
  5787.  
  5788. function FindInTable(Table, Name)
  5789. for i,v in pairs(Table) do
  5790. if v == Name then
  5791. return true
  5792. end
  5793. end
  5794. return false
  5795. end
  5796.  
  5797. function GetInTable(Table, Name)
  5798. for i = 1, #Table do
  5799. if Table[i] == Name then
  5800. return i
  5801. end
  5802. end
  5803. return false
  5804. end
  5805.  
  5806. function respawn(plr)
  5807. if invisRunning then TurnVisible() end
  5808. local char = plr.Character
  5809. char:ClearAllChildren()
  5810. local newChar = Instance.new("Model",workspace)
  5811. plr.Character = newChar
  5812. wait()
  5813. plr.Character = char
  5814. newChar:Destroy()
  5815. end
  5816.  
  5817. local refreshCmd = false
  5818. function refresh(plr)
  5819. spawn(function()
  5820. refreshCmd = true
  5821. local rpos = getRoot(plr.Character).Position
  5822. wait()
  5823. respawn(plr)
  5824. wait()
  5825. repeat wait() until plr.Character and getRoot(plr.Character)
  5826. wait(.1)
  5827. if rpos then
  5828. plr.Character:MoveTo(rpos)
  5829. wait()
  5830. end
  5831. refreshCmd = false
  5832. end)
  5833. end
  5834.  
  5835. local lastDeath
  5836.  
  5837. function onDied()
  5838. spawn(function()
  5839. if pcall(function() Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') end) and Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  5840. Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').Died:connect(function()
  5841. if getRoot(Players.LocalPlayer.Character) then
  5842. lastDeath = getRoot(Players.LocalPlayer.Character).CFrame
  5843. end
  5844. end)
  5845. else
  5846. wait(2)
  5847. onDied()
  5848. end
  5849. end)
  5850. end
  5851.  
  5852. Clip = true
  5853. spDelay = 0.1
  5854. Players.LocalPlayer.CharacterAdded:Connect(function()
  5855. FLYING = false
  5856. Floating = false
  5857.  
  5858. if not Clip then
  5859. execCmd('clip nonotify')
  5860. end
  5861.  
  5862. repeat wait() until getRoot(Players.LocalPlayer.Character)
  5863.  
  5864. pcall(function()
  5865. if spawnpoint and not refreshCmd and spawnpos ~= nil then
  5866. wait(spDelay)
  5867. getRoot(Players.LocalPlayer.Character).CFrame = spawnpos
  5868. end
  5869. end)
  5870.  
  5871. onDied()
  5872. end)
  5873.  
  5874. onDied()
  5875.  
  5876. std={}
  5877. std.inTable=function(tbl,val)
  5878. if tbl==nil then return false end
  5879. for _,v in pairs(tbl)do
  5880. if v==val then return true end
  5881. end
  5882. return false
  5883. end
  5884.  
  5885. function getstring(begin)
  5886. local start = begin-1
  5887. local AA = '' for i,v in pairs(cargs) do
  5888. if i > start then
  5889. if AA ~= '' then
  5890. AA = AA .. ' ' .. v
  5891. else
  5892. AA = AA .. v
  5893. end
  5894. end
  5895. end
  5896. return AA
  5897. end
  5898.  
  5899. findCmd=function(cmd_name)
  5900. for i,v in pairs(cmds)do
  5901. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then
  5902. return v
  5903. end
  5904. end
  5905. return customAlias[cmd_name:lower()]
  5906. end
  5907.  
  5908. function splitString(str,delim)
  5909. local broken = {}
  5910. if delim == nil then delim = "," end
  5911. for w in string.gmatch(str,"[^"..delim.."]+") do
  5912. table.insert(broken,w)
  5913. end
  5914. return broken
  5915. end
  5916.  
  5917. cmdHistory = {}
  5918. local lastCmds = {}
  5919. local historyCount = 0
  5920. local split=" "
  5921. local lastBreakTime = 0
  5922. function execCmd(cmdStr,speaker,store)
  5923. cmdStr = cmdStr:gsub("%s+$","")
  5924. spawn(function()
  5925. local rawCmdStr = cmdStr
  5926. cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%")
  5927. local commandsToRun = splitString(cmdStr,"\\")
  5928. for i,v in pairs(commandsToRun) do
  5929. v = string.gsub(v,"%%BackSlash%%","\\")
  5930. local x,y,num = v:find("^(%d+)%^")
  5931. local cmdDelay = 0
  5932. local infTimes = false
  5933. if num then
  5934. v = v:sub(y+1)
  5935. local x,y,del = v:find("^([%d%.]+)%^")
  5936. if del then
  5937. v = v:sub(y+1)
  5938. cmdDelay = tonumber(del) or 0
  5939. end
  5940. else
  5941. local x,y = v:find("^inf%^")
  5942. if x then
  5943. infTimes = true
  5944. v = v:sub(y+1)
  5945. local x,y,del = v:find("^([%d%.]+)%^")
  5946. if del then
  5947. v = v:sub(y+1)
  5948. del = tonumber(del) or 1
  5949. cmdDelay = (del > 0 and del or 1)
  5950. else
  5951. cmdDelay = 1
  5952. end
  5953. end
  5954. end
  5955. num = tonumber(num or 1)
  5956.  
  5957. if v:sub(1,1) == "!" then
  5958. local chunks = splitString(v:sub(2),split)
  5959. if chunks[1] and lastCmds[chunks[1]] then v = lastCmds[chunks[1]] end
  5960. end
  5961.  
  5962. local args = splitString(v,split)
  5963. local cmdName = args[1]
  5964. local cmd = findCmd(cmdName)
  5965. if cmd then
  5966. table.remove(args,1)
  5967. cargs = args
  5968. if not speaker then speaker = Players.LocalPlayer end
  5969. if store then
  5970. if speaker == Players.LocalPlayer then
  5971. if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end
  5972. end
  5973. if #cmdHistory > 30 then table.remove(cmdHistory) end
  5974.  
  5975. lastCmds[cmdName] = v
  5976. end
  5977. local cmdStartTime = tick()
  5978. if infTimes then
  5979. while lastBreakTime < cmdStartTime do
  5980. local success,err = pcall(cmd.FUNC,args, speaker)
  5981. if not success and _G.IY_DEBUG then
  5982. warn("Command Error:", cmdName, err)
  5983. end
  5984. wait(cmdDelay)
  5985. end
  5986. else
  5987. for rep = 1,num do
  5988. if lastBreakTime > cmdStartTime then break end
  5989. local success,err = pcall(function()
  5990. cmd.FUNC(args, speaker)
  5991. end)
  5992. if not success and _G.IY_DEBUG then
  5993. warn("Command Error:", cmdName, err)
  5994. end
  5995. if cmdDelay ~= 0 then wait(cmdDelay) end
  5996. end
  5997. end
  5998. end
  5999. end
  6000. end)
  6001. end
  6002.  
  6003. function addcmd(name,alias,func,plgn)
  6004. cmds[#cmds+1]=
  6005. {
  6006. NAME=name;
  6007. ALIAS=alias or {};
  6008. FUNC=func;
  6009. PLUGIN=plgn;
  6010. }
  6011. end
  6012.  
  6013. function removecmd(cmd)
  6014. if cmd ~= " " then
  6015. for i = #cmds,1,-1 do
  6016. if cmds[i].NAME == cmd or FindInTable(cmds[i].ALIAS,cmd) then
  6017. table.remove(cmds, i)
  6018. for a,c in pairs(CMDsF:GetChildren()) do
  6019. 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
  6020. c.TextTransparency = 0.7
  6021. c.MouseButton1Click:Connect(function()
  6022. notify(c.Text, "Command has been disabled by you or a plugin")
  6023. end)
  6024. end
  6025. end
  6026. end
  6027. end
  6028. end
  6029. end
  6030.  
  6031. function addbind(cmd,key,iskeyup)
  6032. binds[#binds+1]=
  6033. {
  6034. COMMAND=cmd;
  6035. KEY=key;
  6036. ISKEYUP=iskeyup;
  6037. }
  6038. end
  6039.  
  6040. function addcmdtext(text,name,desc)
  6041. local newcmd = Example:Clone()
  6042. local tooltipText = tostring(text)
  6043. local tooltipDesc = tostring(desc)
  6044. newcmd.Parent = CMDsF
  6045. newcmd.Visible = false
  6046. newcmd.Text = text
  6047. newcmd.Name = 'PLUGIN_'..name
  6048. table.insert(text1,newcmd)
  6049. if desc and desc ~= '' then
  6050. local title = Instance.new("StringValue",newcmd)
  6051. title.Name = "Title"
  6052. title.Value = tooltipText
  6053. local desc = Instance.new("StringValue",newcmd)
  6054. desc.Name = "Desc"
  6055. desc.Value = tooltipDesc
  6056. newcmd.MouseButton1Down:Connect(function()
  6057. if newcmd.Visible and newcmd.TextTransparency == 0 then
  6058. Cmdbar:CaptureFocus()
  6059. autoComplete(newcmd.Text)
  6060. maximizeHolder()
  6061. end
  6062. end)
  6063. end
  6064. end
  6065.  
  6066. SpecialPlayerCases = {
  6067. ["all"] = function(speaker)return Players:GetPlayers() end,
  6068. ["others"] = function(speaker)
  6069. local plrs = {}
  6070. for i,v in pairs(Players:GetPlayers()) do
  6071. if v ~= speaker then
  6072. table.insert(plrs,v)
  6073. end
  6074. end
  6075. return plrs
  6076. end,
  6077. ["me"] = function(speaker)return {speaker} end,
  6078. ["#(%d+)"] = function(speaker,args,currentList)
  6079. local returns = {}
  6080. local randAmount = tonumber(args[1])
  6081. local players = {unpack(currentList)}
  6082. for i = 1,randAmount do
  6083. if #players == 0 then break end
  6084. local randIndex = math.random(1,#players)
  6085. table.insert(returns,players[randIndex])
  6086. table.remove(players,randIndex)
  6087. end
  6088. return returns
  6089. end,
  6090. ["random"] = function(speaker,args,currentList)
  6091. local players = currentList
  6092. return {players[math.random(1,#players)]}
  6093. end,
  6094. ["%%(.+)"] = function(speaker,args)
  6095. local returns = {}
  6096. local team = args[1]
  6097. for _,plr in pairs(Players:GetPlayers()) do
  6098. if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then
  6099. table.insert(returns,plr)
  6100. end
  6101. end
  6102. return returns
  6103. end,
  6104. ["allies"] = function(speaker)
  6105. local returns = {}
  6106. local team = speaker.Team
  6107. for _,plr in pairs(Players:GetPlayers()) do
  6108. if plr.Team == team then
  6109. table.insert(returns,plr)
  6110. end
  6111. end
  6112. return returns
  6113. end,
  6114. ["enemies"] = function(speaker)
  6115. local returns = {}
  6116. local team = speaker.Team
  6117. for _,plr in pairs(Players:GetPlayers()) do
  6118. if plr.Team ~= team then
  6119. table.insert(returns,plr)
  6120. end
  6121. end
  6122. return returns
  6123. end,
  6124. ["team"] = function(speaker)
  6125. local returns = {}
  6126. local team = speaker.Team
  6127. for _,plr in pairs(Players:GetPlayers()) do
  6128. if plr.Team == team then
  6129. table.insert(returns,plr)
  6130. end
  6131. end
  6132. return returns
  6133. end,
  6134. ["nonteam"] = function(speaker)
  6135. local returns = {}
  6136. local team = speaker.Team
  6137. for _,plr in pairs(Players:GetPlayers()) do
  6138. if plr.Team ~= team then
  6139. table.insert(returns,plr)
  6140. end
  6141. end
  6142. return returns
  6143. end,
  6144. ["friends"] = function(speaker,args)
  6145. local returns = {}
  6146. for _,plr in pairs(Players:GetPlayers()) do
  6147. if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  6148. table.insert(returns,plr)
  6149. end
  6150. end
  6151. return returns
  6152. end,
  6153. ["nonfriends"] = function(speaker,args)
  6154. local returns = {}
  6155. for _,plr in pairs(Players:GetPlayers()) do
  6156. if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  6157. table.insert(returns,plr)
  6158. end
  6159. end
  6160. return returns
  6161. end,
  6162. ["guests"] = function(speaker,args)
  6163. local returns = {}
  6164. for _,plr in pairs(Players:GetPlayers()) do
  6165. if plr.Guest then
  6166. table.insert(returns,plr)
  6167. end
  6168. end
  6169. return returns
  6170. end,
  6171. ["bacons"] = function(speaker,args)
  6172. local returns = {}
  6173. for _,plr in pairs(Players:GetPlayers()) do
  6174. if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then
  6175. table.insert(returns,plr)
  6176. end
  6177. end
  6178. return returns
  6179. end,
  6180. ["age(%d+)"] = function(speaker,args)
  6181. local returns = {}
  6182. local age = tonumber(args[1])
  6183. if not age == nil then return end
  6184. for _,plr in pairs(Players:GetPlayers()) do
  6185. if plr.AccountAge <= age then
  6186. table.insert(returns,plr)
  6187. end
  6188. end
  6189. return returns
  6190. end,
  6191. ["nearest"] = function(speaker,args)
  6192. local speakerChar = speaker.Character
  6193. if not speakerChar or not getRoot(speakerChar) then return end
  6194. local lowest = math.huge
  6195. local NearestPlayer = nil
  6196. for _,plr in pairs(Players:GetPlayers()) do
  6197. if plr ~= speaker and plr.Character then
  6198. local distance = plr:DistanceFromCharacter(getRoot(speakerChar).Position)
  6199. if distance < lowest then
  6200. lowest = distance
  6201. NearestPlayer = {plr}
  6202. end
  6203. end
  6204. end
  6205. return NearestPlayer
  6206. end,
  6207. ["farthest"] = function(speaker,args)
  6208. local speakerChar = speaker.Character
  6209. if not speakerChar or not getRoot(speakerChar) then return end
  6210. local highest = math.huge
  6211. local FarthestPlayer = nil
  6212. for _,plr in pairs(Players:GetPlayers()) do
  6213. if plr ~= speaker and plr.Character then
  6214. local distance = plr:DistanceFromCharacter(getRoot(speakerChar).Position)
  6215. if distance > highest then
  6216. highest = distance
  6217. FarthestPlayer = {plr}
  6218. end
  6219. end
  6220. end
  6221. return FarthestPlayer
  6222. end,
  6223. ["group(%d+)"] = function(speaker,args)
  6224. local returns = {}
  6225. local groupID = tonumber(args[1])
  6226. for _,plr in pairs(Players:GetPlayers()) do
  6227. if plr:IsInGroup(groupID) then
  6228. table.insert(returns,plr)
  6229. end
  6230. end
  6231. return returns
  6232. end,
  6233. ["alive"] = function(speaker,args)
  6234. local returns = {}
  6235. for _,plr in pairs(Players:GetPlayers()) do
  6236. if plr.Character and plr.Character:FindFirstChildOfClass("Humanoid") and plr.Character:FindFirstChildOfClass("Humanoid").Health > 0 then
  6237. table.insert(returns,plr)
  6238. end
  6239. end
  6240. return returns
  6241. end,
  6242. ["dead"] = function(speaker,args)
  6243. local returns = {}
  6244. for _,plr in pairs(Players:GetPlayers()) do
  6245. if (not plr.Character or not plr.Character:FindFirstChildOfClass("Humanoid")) or plr.Character:FindFirstChildOfClass("Humanoid").Health <= 0 then
  6246. table.insert(returns,plr)
  6247. end
  6248. end
  6249. return returns
  6250. end,
  6251. ["rad(%d+)"] = function(speaker,args)
  6252. local returns = {}
  6253. local radius = tonumber(args[1])
  6254. local speakerChar = speaker.Character
  6255. if not speakerChar or not getRoot(speakerChar) then return end
  6256. for _,plr in pairs(Players:GetPlayers()) do
  6257. if plr.Character and getRoot(plr.Character) then
  6258. local magnitude = (getRoot(plr.Character).Position-getRoot(speakerChar).Position).magnitude
  6259. if magnitude <= radius then table.insert(returns,plr) end
  6260. end
  6261. end
  6262. return returns
  6263. end
  6264. }
  6265.  
  6266. function toTokens(str)
  6267. local tokens = {}
  6268. for op,name in string.gmatch(str,"([+-])([^+-]+)") do
  6269. table.insert(tokens,{Operator = op,Name = name})
  6270. end
  6271. return tokens
  6272. end
  6273.  
  6274. function onlyIncludeInTable(tab,matches)
  6275. local matchTable = {}
  6276. local resultTable = {}
  6277. for i,v in pairs(matches) do matchTable[v.Name] = true end
  6278. for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end
  6279. return resultTable
  6280. end
  6281.  
  6282. function removeTableMatches(tab,matches)
  6283. local matchTable = {}
  6284. local resultTable = {}
  6285. for i,v in pairs(matches) do matchTable[v.Name] = true end
  6286. for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end
  6287. return resultTable
  6288. end
  6289.  
  6290. function getPlayersByName(name)
  6291. local found = {}
  6292. for i,v in pairs(Players:GetChildren()) do
  6293. if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then
  6294. table.insert(found,v)
  6295. end
  6296. end
  6297. return found
  6298. end
  6299.  
  6300. function getPlayer(list,speaker)
  6301. if list == nil then return {speaker.Name} end
  6302. local nameList = splitString(list,",")
  6303.  
  6304. local foundList = {}
  6305.  
  6306. for _,name in pairs(nameList) do
  6307. if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end
  6308. local tokens = toTokens(name)
  6309. local initialPlayers = Players:GetPlayers()
  6310.  
  6311. for i,v in pairs(tokens) do
  6312. if v.Operator == "+" then
  6313. local tokenContent = v.Name
  6314. local foundCase = false
  6315. for regex,case in pairs(SpecialPlayerCases) do
  6316. local matches = {string.match(tokenContent,"^"..regex.."$")}
  6317. if #matches > 0 then
  6318. foundCase = true
  6319. initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers))
  6320. end
  6321. end
  6322. if not foundCase then
  6323. initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent))
  6324. end
  6325. else
  6326. local tokenContent = v.Name
  6327. local foundCase = false
  6328. for regex,case in pairs(SpecialPlayerCases) do
  6329. local matches = {string.match(tokenContent,"^"..regex.."$")}
  6330. if #matches > 0 then
  6331. foundCase = true
  6332. initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers))
  6333. end
  6334. end
  6335. if not foundCase then
  6336. initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent))
  6337. end
  6338. end
  6339. end
  6340.  
  6341. for i,v in pairs(initialPlayers) do table.insert(foundList,v) end
  6342. end
  6343.  
  6344. local foundNames = {}
  6345. for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end
  6346.  
  6347. return foundNames
  6348. end
  6349.  
  6350. getprfx=function(strn)
  6351. if strn:sub(1,string.len(prefix))==prefix then return{'cmd',string.len(prefix)+1}
  6352. end return
  6353. end
  6354.  
  6355. function do_exec(str, plr)
  6356. str = str:gsub('/e ', '')
  6357. local t = getprfx(str)
  6358. if not t then return end
  6359. str = str:sub(t[2])
  6360. if t[1]=='cmd' then
  6361. execCmd(str, plr, true)
  6362. IndexContents('',true,false,true)
  6363. CMDsF.CanvasPosition = canvasPos
  6364. end
  6365. end
  6366.  
  6367. lastTextBoxString,lastTextBoxCon,lastEnteredString = nil,nil,nil
  6368.  
  6369. UserInputService.TextBoxFocused:Connect(function(obj)
  6370. if lastTextBoxCon then lastTextBoxCon:Disconnect() end
  6371. if obj == Cmdbar then lastTextBoxString = nil return end
  6372. lastTextBoxString = obj.Text
  6373. lastTextBoxCon = obj:GetPropertyChangedSignal("Text"):Connect(function()
  6374. if not (UserInputService:IsKeyDown(Enum.KeyCode.Return) or UserInputService:IsKeyDown(Enum.KeyCode.KeypadEnter)) then
  6375. lastTextBoxString = obj.Text
  6376. end
  6377. end)
  6378. end)
  6379.  
  6380. UserInputService.InputBegan:Connect(function(input,gameProcessed)
  6381. if gameProcessed then
  6382. if Cmdbar and Cmdbar:IsFocused() then
  6383. if input.KeyCode == Enum.KeyCode.Up then
  6384. historyCount = historyCount + 1
  6385. if historyCount > #cmdHistory then historyCount = #cmdHistory end
  6386. Cmdbar.Text = cmdHistory[historyCount] or ""
  6387. Cmdbar.CursorPosition = 1020
  6388. elseif input.KeyCode == Enum.KeyCode.Down then
  6389. historyCount = historyCount - 1
  6390. if historyCount < 0 then historyCount = 0 end
  6391. Cmdbar.Text = cmdHistory[historyCount] or ""
  6392. Cmdbar.CursorPosition = 1020
  6393. end
  6394. elseif input.KeyCode == Enum.KeyCode.Return or input.KeyCode == Enum.KeyCode.KeypadEnter then
  6395. lastEnteredString = lastTextBoxString
  6396. end
  6397. end
  6398. end)
  6399.  
  6400. Players.LocalPlayer.Chatted:connect(function()
  6401. wait()
  6402. if lastEnteredString then
  6403. local message = lastEnteredString
  6404. lastEnteredString = nil
  6405. do_exec(message, Players.LocalPlayer)
  6406. end
  6407. end)
  6408.  
  6409. Cmdbar.PlaceholderText = "Command Bar ("..prefix..")"
  6410. Cmdbar:GetPropertyChangedSignal("Text"):connect(function()
  6411. if Cmdbar:IsFocused() then
  6412. IndexContents(Cmdbar.Text,true,true)
  6413. end
  6414. end)
  6415.  
  6416. local tabComplete = nil
  6417. Cmdbar.FocusLost:connect(function(enterpressed)
  6418. if enterpressed then
  6419. execCmd(Cmdbar.Text,Players.LocalPlayer,true)
  6420. end
  6421. if tabComplete then tabComplete:Disconnect() end
  6422. wait()
  6423. if not Cmdbar:IsFocused() then
  6424. Cmdbar.Text = ""
  6425. IndexContents('',true,false,true)
  6426. if SettingsOpen == true then
  6427. wait(0.2)
  6428. Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.2, true, nil)
  6429. CMDsF.Visible = false
  6430. end
  6431. end
  6432. CMDsF.CanvasPosition = canvasPos
  6433. end)
  6434.  
  6435. Cmdbar.Focused:Connect(function()
  6436. historyCount = 0
  6437. canvasPos = CMDsF.CanvasPosition
  6438. if SettingsOpen == true then
  6439. wait(0.2)
  6440. CMDsF.Visible = true
  6441. Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil)
  6442. end
  6443. tabComplete = UserInputService.InputBegan:Connect(function(input,gameProcessed)
  6444. if Cmdbar:IsFocused() then
  6445. if input.KeyCode == Enum.KeyCode.Tab and topCommand ~= nil then
  6446. autoComplete(topCommand)
  6447. end
  6448. else
  6449. tabComplete:Disconnect()
  6450. end
  6451. end)
  6452. end)
  6453.  
  6454. ESPenabled = false
  6455. CHMSenabled = false
  6456.  
  6457. function round(num, numDecimalPlaces)
  6458. local mult = 10^(numDecimalPlaces or 0)
  6459. return math.floor(num * mult + 0.5) / mult
  6460. end
  6461.  
  6462. function ESP(plr)
  6463. spawn(function()
  6464. for i,v in pairs(PARENT:GetChildren()) do
  6465. if v.Name == plr.Name..'_ESP' then
  6466. v:Destroy()
  6467. end
  6468. end
  6469. wait()
  6470. if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not PARENT:FindFirstChild(plr.Name..'_ESP') then
  6471. local ESPholder = Instance.new("Folder", PARENT)
  6472. ESPholder.Name = plr.Name..'_ESP'
  6473. repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
  6474. for b,n in pairs (plr.Character:GetChildren()) do
  6475. if (n:IsA("BasePart")) then
  6476. local a = Instance.new("BoxHandleAdornment", ESPholder)
  6477. a.Name = plr.Name
  6478. a.Adornee = n
  6479. a.AlwaysOnTop = true
  6480. a.ZIndex = 10
  6481. a.Size = n.Size
  6482. a.Transparency = 0.3
  6483. a.Color = plr.TeamColor
  6484. end
  6485. end
  6486. if plr.Character and plr.Character:FindFirstChild('Head') then
  6487. local BillboardGui = Instance.new("BillboardGui", ESPholder)
  6488. local TextLabel = Instance.new("TextLabel")
  6489. BillboardGui.Adornee = plr.Character.Head
  6490. BillboardGui.Name = plr.Name
  6491. BillboardGui.Size = UDim2.new(0, 100, 0, 150)
  6492. BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
  6493. BillboardGui.AlwaysOnTop = true
  6494. TextLabel.Parent = BillboardGui
  6495. TextLabel.BackgroundTransparency = 1
  6496. TextLabel.Position = UDim2.new(0, 0, 0, -50)
  6497. TextLabel.Size = UDim2.new(0, 100, 0, 100)
  6498. TextLabel.Font = Enum.Font.SourceSansSemibold
  6499. TextLabel.TextSize = 20
  6500. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  6501. TextLabel.TextStrokeTransparency = 0
  6502. TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
  6503. TextLabel.Text = 'Name: '..plr.Name
  6504. local espLoopFunc
  6505. local teamChange
  6506. local addedFunc
  6507. addedFunc = plr.CharacterAdded:Connect(function()
  6508. if ESPenabled then
  6509. espLoopFunc:Disconnect()
  6510. teamChange:Disconnect()
  6511. ESPholder:Destroy()
  6512. repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
  6513. ESP(plr)
  6514. addedFunc:Disconnect()
  6515. else
  6516. teamChange:Disconnect()
  6517. addedFunc:Disconnect()
  6518. end
  6519. end)
  6520. teamChange = plr:GetPropertyChangedSignal("TeamColor"):connect(function()
  6521. if ESPenabled then
  6522. espLoopFunc:Disconnect()
  6523. addedFunc:Disconnect()
  6524. ESPholder:Destroy()
  6525. repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
  6526. ESP(plr)
  6527. teamChange:Disconnect()
  6528. else
  6529. teamChange:Disconnect()
  6530. end
  6531. end)
  6532. local function espLoop()
  6533. if PARENT:FindFirstChild(plr.Name..'_ESP') then
  6534. if plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid') and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
  6535. local pos = math.floor((getRoot(Players.LocalPlayer.Character).Position - getRoot(plr.Character).Position).magnitude)
  6536. TextLabel.Text = 'Name: '..plr.Name..' | Health: '..round(plr.Character:FindFirstChildOfClass('Humanoid').Health, 1)..' | Studs: '..pos
  6537. end
  6538. else
  6539. teamChange:Disconnect()
  6540. addedFunc:Disconnect()
  6541. espLoopFunc:Disconnect()
  6542. end
  6543. end
  6544. espLoopFunc = game:GetService("RunService").RenderStepped:Connect(espLoop)
  6545. end
  6546. end
  6547. end)
  6548. end
  6549.  
  6550. function CHMS(plr)
  6551. spawn(function()
  6552. for i,v in pairs(PARENT:GetChildren()) do
  6553. if v.Name == plr.Name..'_CHMS' then
  6554. v:Destroy()
  6555. end
  6556. end
  6557. wait()
  6558. if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not PARENT:FindFirstChild(plr.Name..'_CHMS') then
  6559. local ESPholder = Instance.new("Folder", PARENT)
  6560. ESPholder.Name = plr.Name..'_CHMS'
  6561. repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
  6562. for b,n in pairs (plr.Character:GetChildren()) do
  6563. if (n:IsA("BasePart")) then
  6564. local a = Instance.new("BoxHandleAdornment", ESPholder)
  6565. a.Name = plr.Name
  6566. a.Adornee = n
  6567. a.AlwaysOnTop = true
  6568. a.ZIndex = 10
  6569. a.Size = n.Size
  6570. a.Transparency = 0.3
  6571. a.Color = plr.TeamColor
  6572. end
  6573. end
  6574. local addedFunc
  6575. local teamChange
  6576. local CHMSremoved
  6577. addedFunc = plr.CharacterAdded:Connect(function()
  6578. if CHMSenabled then
  6579. ESPholder:Destroy()
  6580. teamChange:Disconnect()
  6581. repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
  6582. CHMS(plr)
  6583. addedFunc:Disconnect()
  6584. else
  6585. teamChange:Disconnect()
  6586. addedFunc:Disconnect()
  6587. end
  6588. end)
  6589. teamChange = plr:GetPropertyChangedSignal("TeamColor"):connect(function()
  6590. if CHMSenabled then
  6591. ESPholder:Destroy()
  6592. addedFunc:Disconnect()
  6593. repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
  6594. CHMS(plr)
  6595. teamChange:Disconnect()
  6596. else
  6597. teamChange:Disconnect()
  6598. end
  6599. end)
  6600. CHMSremoved = ESPholder.AncestryChanged:connect(function()
  6601. teamChange:Disconnect()
  6602. addedFunc:Disconnect()
  6603. CHMSremoved:Disconnect()
  6604. end)
  6605. end
  6606. end)
  6607. end
  6608.  
  6609. function Locate(plr)
  6610. spawn(function()
  6611. for i,v in pairs(PARENT:GetChildren()) do
  6612. if v.Name == plr.Name..'_LC' then
  6613. v:Destroy()
  6614. end
  6615. end
  6616. wait()
  6617. if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not PARENT:FindFirstChild(plr.Name..'_LC') then
  6618. local ESPholder = Instance.new("Folder", PARENT)
  6619. ESPholder.Name = plr.Name..'_LC'
  6620. repeat wait(1) until plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
  6621. for b,n in pairs (plr.Character:GetChildren()) do
  6622. if (n:IsA("BasePart")) then
  6623. local a = Instance.new("BoxHandleAdornment", ESPholder)
  6624. a.Name = plr.Name
  6625. a.Adornee = n
  6626. a.AlwaysOnTop = true
  6627. a.ZIndex = 10
  6628. a.Size = n.Size
  6629. a.Transparency = 0.3
  6630. a.Color = plr.TeamColor
  6631. end
  6632. end
  6633. if plr.Character and plr.Character:FindFirstChild('Head') then
  6634. local BillboardGui = Instance.new("BillboardGui", ESPholder)
  6635. local TextLabel = Instance.new("TextLabel")
  6636. BillboardGui.Adornee = plr.Character.Head
  6637. BillboardGui.Name = plr.Name
  6638. BillboardGui.Size = UDim2.new(0, 100, 0, 150)
  6639. BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
  6640. BillboardGui.AlwaysOnTop = true
  6641. TextLabel.Parent = BillboardGui
  6642. TextLabel.BackgroundTransparency = 1
  6643. TextLabel.Position = UDim2.new(0, 0, 0, -50)
  6644. TextLabel.Size = UDim2.new(0, 100, 0, 100)
  6645. TextLabel.Font = Enum.Font.SourceSansSemibold
  6646. TextLabel.TextSize = 20
  6647. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  6648. TextLabel.TextStrokeTransparency = 0
  6649. TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
  6650. TextLabel.Text = 'Name: '..plr.Name
  6651. local lcLoopFunc
  6652. local addedFunc
  6653. local teamChange
  6654. addedFunc = plr.CharacterAdded:Connect(function()
  6655. if ESPholder ~= nil and ESPholder.Parent ~= nil then
  6656. lcLoopFunc:Disconnect()
  6657. teamChange:Disconnect()
  6658. ESPholder:Destroy()
  6659. repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
  6660. Locate(plr)
  6661. addedFunc:Disconnect()
  6662. else
  6663. teamChange:Disconnect()
  6664. addedFunc:Disconnect()
  6665. end
  6666. end)
  6667. teamChange = plr:GetPropertyChangedSignal("TeamColor"):connect(function()
  6668. if ESPholder ~= nil and ESPholder.Parent ~= nil then
  6669. lcLoopFunc:Disconnect()
  6670. addedFunc:Disconnect()
  6671. ESPholder:Destroy()
  6672. repeat wait(1) until getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid')
  6673. Locate(plr)
  6674. teamChange:Disconnect()
  6675. else
  6676. teamChange:Disconnect()
  6677. end
  6678. end)
  6679. local function lcLoop()
  6680. if PARENT:FindFirstChild(plr.Name..'_LC') then
  6681. if plr.Character and getRoot(plr.Character) and plr.Character:FindFirstChild('Humanoid') and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
  6682. local pos = math.floor((getRoot(Players.LocalPlayer.Character).Position - getRoot(plr.Character).Position).magnitude)
  6683. TextLabel.Text = 'Name: '..plr.Name..' | Health: '..round(plr.Character:FindFirstChildOfClass('Humanoid').Health, 1)..' | Studs: '..pos
  6684. end
  6685. else
  6686. teamChange:Disconnect()
  6687. addedFunc:Disconnect()
  6688. lcLoopFunc:Disconnect()
  6689. end
  6690. end
  6691. lcLoopFunc = game:GetService("RunService").RenderStepped:Connect(lcLoop)
  6692. end
  6693. end
  6694. end)
  6695. end
  6696.  
  6697. local bindsGUI = KeybindEditor
  6698. local awaitingInput = false
  6699. local keySelected = false
  6700.  
  6701. function unkeybind(cmd,key)
  6702. for i = #binds,1,-1 do
  6703. if binds[i].COMMAND == cmd and binds[i].KEY == key then
  6704. table.remove(binds, i)
  6705. end
  6706. end
  6707. refreshbinds()
  6708. updatesaves()
  6709. if key == 'RightClick' or key == 'LeftClick' then
  6710. notify('Keybinds Updated','Unbinded '..key..' from '..cmd)
  6711. else
  6712. notify('Keybinds Updated','Unbinded '..key:sub(14)..' from '..cmd)
  6713. end
  6714. end
  6715.  
  6716. function refreshbinds()
  6717. if Holder_2 then
  6718. Holder_2:ClearAllChildren()
  6719. Holder_2.CanvasSize = UDim2.new(0, 0, 0, 10)
  6720. for i = 1, #binds do
  6721. local YSize = 25
  6722. local Position = ((i * YSize) - YSize)
  6723. local newbind = Example_2:Clone()
  6724. newbind.Parent = Holder_2
  6725. newbind.Visible = true
  6726. newbind.Position = UDim2.new(0,0,0, Position + 5)
  6727. table.insert(shade2,newbind)
  6728. table.insert(shade2,newbind.Text)
  6729. table.insert(text1,newbind.Text)
  6730. table.insert(shade3,newbind.Text.Delete)
  6731. table.insert(text2,newbind.Text.Delete)
  6732. local input = tostring(binds[i].KEY)
  6733. local key
  6734. if input == 'RightClick' or input == 'LeftClick' then
  6735. key = input
  6736. else
  6737. key = input:sub(14)
  6738. end
  6739. newbind.Text.Text = key.." > "..binds[i].COMMAND.." "..(binds[i].ISKEYUP and "(keyup)" or "(keydown)")
  6740. Holder_2.CanvasSize = UDim2.new(0,0,0, Position + 30)
  6741. newbind.Text.Delete.MouseButton1Click:Connect(function()
  6742. unkeybind(binds[i].COMMAND,binds[i].KEY)
  6743. end)
  6744. end
  6745. end
  6746. end
  6747.  
  6748. refreshbinds()
  6749.  
  6750. PositionsFrame.Delete.MouseButton1Click:Connect(function()
  6751. execCmd('cpos')
  6752. end)
  6753.  
  6754. function refreshwaypoints()
  6755. if #WayPoints > 0 or #pWayPoints > 0 then
  6756. PositionsHint:Destroy()
  6757. end
  6758. if Holder_4 then
  6759. Holder_4:ClearAllChildren()
  6760. Holder_4.CanvasSize = UDim2.new(0, 0, 0, 10)
  6761. local YSize = 25
  6762. local num = 1
  6763. for i = 1, #WayPoints do
  6764. local Position = ((num * YSize) - YSize)
  6765. local newpoint = Example_4:Clone()
  6766. newpoint.Parent = Holder_4
  6767. newpoint.Visible = true
  6768. newpoint.Position = UDim2.new(0,0,0, Position + 5)
  6769. newpoint.Text.Text = WayPoints[i].NAME
  6770. table.insert(shade2,newpoint)
  6771. table.insert(shade2,newpoint.Text)
  6772. table.insert(text1,newpoint.Text)
  6773. table.insert(shade3,newpoint.Text.Delete)
  6774. table.insert(text2,newpoint.Text.Delete)
  6775. table.insert(shade3,newpoint.Text.TP)
  6776. table.insert(text2,newpoint.Text.TP)
  6777. Holder_4.CanvasSize = UDim2.new(0,0,0, Position + 30)
  6778. newpoint.Text.Delete.MouseButton1Click:Connect(function()
  6779. execCmd('dpos '..WayPoints[i].NAME)
  6780. end)
  6781. newpoint.Text.TP.MouseButton1Click:Connect(function()
  6782. execCmd("loadpos "..WayPoints[i].NAME)
  6783. end)
  6784. num = num+1
  6785. end
  6786. for i = 1, #pWayPoints do
  6787. local Position = ((num * YSize) - YSize)
  6788. local newpoint = Example_4:Clone()
  6789. newpoint.Parent = Holder_4
  6790. newpoint.Visible = true
  6791. newpoint.Position = UDim2.new(0,0,0, Position + 5)
  6792. newpoint.Text.Text = pWayPoints[i].NAME
  6793. table.insert(shade2,newpoint)
  6794. table.insert(shade2,newpoint.Text)
  6795. table.insert(text1,newpoint.Text)
  6796. table.insert(shade3,newpoint.Text.Delete)
  6797. table.insert(text2,newpoint.Text.Delete)
  6798. table.insert(shade3,newpoint.Text.TP)
  6799. table.insert(text2,newpoint.Text.TP)
  6800. Holder_4.CanvasSize = UDim2.new(0,0,0, Position + 30)
  6801. newpoint.Text.Delete.MouseButton1Click:Connect(function()
  6802. execCmd('dpos '..pWayPoints[i].NAME)
  6803. end)
  6804. newpoint.Text.TP.MouseButton1Click:Connect(function()
  6805. execCmd("loadpos "..pWayPoints[i].NAME)
  6806. end)
  6807. num = num+1
  6808. end
  6809. end
  6810. end
  6811.  
  6812. refreshwaypoints()
  6813.  
  6814. function refreshaliases()
  6815. if #aliases > 0 then
  6816. AliasHint:Destroy()
  6817. end
  6818. if Holder_3 then
  6819. Holder_3:ClearAllChildren()
  6820. Holder_3.CanvasSize = UDim2.new(0, 0, 0, 10)
  6821. for i = 1, #aliases do
  6822. local YSize = 25
  6823. local Position = ((i * YSize) - YSize)
  6824. local newalias = Example_3:Clone()
  6825. newalias.Parent = Holder_3
  6826. newalias.Visible = true
  6827. newalias.Position = UDim2.new(0,0,0, Position + 5)
  6828. newalias.Text.Text = aliases[i].CMD.." > "..aliases[i].ALIAS
  6829. table.insert(shade2,newalias)
  6830. table.insert(shade2,newalias.Text)
  6831. table.insert(text1,newalias.Text)
  6832. table.insert(shade3,newalias.Text.Delete)
  6833. table.insert(text2,newalias.Text.Delete)
  6834. Holder_3.CanvasSize = UDim2.new(0,0,0, Position + 30)
  6835. newalias.Text.Delete.MouseButton1Click:Connect(function()
  6836. execCmd('removealias '..aliases[i].ALIAS)
  6837. end)
  6838. end
  6839. end
  6840. end
  6841.  
  6842. local bindChosenKeyUp = false
  6843.  
  6844. BindTo.MouseButton1Click:Connect(function()
  6845. awaitingInput = true
  6846. BindTo.Text = 'Press something'
  6847. end)
  6848.  
  6849. BindTriggerSelect.MouseButton1Click:Connect(function()
  6850. bindChosenKeyUp = not bindChosenKeyUp
  6851. BindTriggerSelect.Text = bindChosenKeyUp and "KeyUp" or "KeyDown"
  6852. end)
  6853.  
  6854. Add_2.MouseButton1Click:Connect(function()
  6855. if keySelected then
  6856. if string.find(Cmdbar_2.Text, "\\\\") then
  6857. notify('Keybind Error','Only use one backslash to keybind multiple commands into one keybind or command')
  6858. else
  6859. addbind(Cmdbar_2.Text,keyPressed,bindChosenKeyUp)
  6860. refreshbinds()
  6861. updatesaves()
  6862. if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  6863. notify('Keybinds Updated','Binded '..keyPressed..' to '..Cmdbar_2.Text)
  6864. else
  6865. notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to '..Cmdbar_2.Text)
  6866. end
  6867. end
  6868. end
  6869. end)
  6870.  
  6871. Exit_2.MouseButton1Click:Connect(function()
  6872. Cmdbar_2.Text = 'Command'
  6873. BindTo.Text = 'Click to bind'
  6874. bindChosenKeyUp = false
  6875. BindTriggerSelect.Text = "KeyDown"
  6876. keySelected = false
  6877. KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  6878. end)
  6879.  
  6880. function onInputBegan(input,gameProcessed)
  6881. if awaitingInput then
  6882. if input.UserInputType == Enum.UserInputType.Keyboard then
  6883. keyPressed = tostring(input.KeyCode)
  6884. BindTo.Text = keyPressed:sub(14)
  6885. elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  6886. keyPressed = 'LeftClick'
  6887. BindTo.Text = 'LeftClick'
  6888. elseif input.UserInputType == Enum.UserInputType.MouseButton2 then
  6889. keyPressed = 'RightClick'
  6890. BindTo.Text = 'RightClick'
  6891. end
  6892. awaitingInput = false
  6893. keySelected = true
  6894. end
  6895. if not gameProcessed and #binds > 0 then
  6896. for i,v in pairs(binds) do
  6897. if not v.ISKEYUP then
  6898. if input.UserInputType == Enum.UserInputType.Keyboard and v.KEY:lower()==tostring(input.KeyCode):lower() then
  6899. execCmd(v.COMMAND,Players.LocalPlayer)
  6900. elseif input.UserInputType == Enum.UserInputType.MouseButton1 and v.KEY:lower()=='leftclick' then
  6901. execCmd(v.COMMAND,Players.LocalPlayer)
  6902. elseif input.UserInputType == Enum.UserInputType.MouseButton2 and v.KEY:lower()=='rightclick' then
  6903. execCmd(v.COMMAND,Players.LocalPlayer)
  6904. end
  6905. end
  6906. end
  6907. end
  6908. end
  6909.  
  6910. function onInputEnded(input,gameProcessed)
  6911. if not gameProcessed and #binds > 0 then
  6912. for i,v in pairs(binds) do
  6913. if v.ISKEYUP then
  6914. if input.UserInputType == Enum.UserInputType.Keyboard and v.KEY:lower()==tostring(input.KeyCode):lower() then
  6915. execCmd(v.COMMAND,Players.LocalPlayer)
  6916. elseif input.UserInputType == Enum.UserInputType.MouseButton1 and v.KEY:lower()=='leftclick' then
  6917. execCmd(v.COMMAND,Players.LocalPlayer)
  6918. elseif input.UserInputType == Enum.UserInputType.MouseButton2 and v.KEY:lower()=='rightclick' then
  6919. execCmd(v.COMMAND,Players.LocalPlayer)
  6920. end
  6921. end
  6922. end
  6923. end
  6924. end
  6925.  
  6926. UserInputService.InputBegan:connect(onInputBegan)
  6927. UserInputService.InputEnded:connect(onInputEnded)
  6928.  
  6929. Fly.Select.MouseButton1Click:Connect(function()
  6930. if keySelected then
  6931. addbind('togglefly',keyPressed,bindChosenKeyUp)
  6932. refreshbinds()
  6933. updatesaves()
  6934. if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  6935. notify('Keybinds Updated','Binded '..keyPressed..' to toggle fly')
  6936. else
  6937. notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle fly')
  6938. end
  6939. end
  6940. end)
  6941.  
  6942. Noclip.Select.MouseButton1Click:Connect(function()
  6943. if keySelected then
  6944. addbind('togglenoclip',keyPressed,bindChosenKeyUp)
  6945. refreshbinds()
  6946. updatesaves()
  6947. if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  6948. notify('Keybinds Updated','Binded '..keyPressed..' to toggle noclip')
  6949. else
  6950. notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle noclip')
  6951. end
  6952. end
  6953. end)
  6954.  
  6955. Float.Select.MouseButton1Click:Connect(function()
  6956. if keySelected then
  6957. addbind('togglefloat',keyPressed,bindChosenKeyUp)
  6958. refreshbinds()
  6959. updatesaves()
  6960. if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  6961. notify('Keybinds Updated','Binded '..keyPressed..' to toggle float')
  6962. else
  6963. notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle float')
  6964. end
  6965. end
  6966. end)
  6967.  
  6968. ClickTP.Select.MouseButton1Click:Connect(function()
  6969. if keySelected then
  6970. addbind('clicktp',keyPressed,bindChosenKeyUp)
  6971. refreshbinds()
  6972. updatesaves()
  6973. if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  6974. notify('Keybinds Updated','Binded '..keyPressed..' to click tp')
  6975. else
  6976. notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to click tp')
  6977. end
  6978. end
  6979. end)
  6980.  
  6981. ClickDelete.Select.MouseButton1Click:Connect(function()
  6982. if keySelected then
  6983. addbind('clickdel',keyPressed,bindChosenKeyUp)
  6984. refreshbinds()
  6985. updatesaves()
  6986. if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  6987. notify('Keybinds Updated','Binded '..keyPressed..' to click delete')
  6988. else
  6989. notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to click delete')
  6990. end
  6991. end
  6992. end)
  6993.  
  6994. Xray.Select.MouseButton1Click:Connect(function()
  6995. if keySelected then
  6996. addbind('togglexray',keyPressed,bindChosenKeyUp)
  6997. refreshbinds()
  6998. updatesaves()
  6999. if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  7000. notify('Keybinds Updated','Binded '..keyPressed..' to toggle xray')
  7001. else
  7002. notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle xray')
  7003. end
  7004. end
  7005. end)
  7006.  
  7007. Swim.Select.MouseButton1Click:Connect(function()
  7008. if keySelected then
  7009. addbind('toggleswim',keyPressed,bindChosenKeyUp)
  7010. refreshbinds()
  7011. updatesaves()
  7012. if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  7013. notify('Keybinds Updated','Binded '..keyPressed..' to toggle swim')
  7014. else
  7015. notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle swim')
  7016. end
  7017. end
  7018. end)
  7019.  
  7020. Fling.Select.MouseButton1Click:Connect(function()
  7021. if keySelected then
  7022. addbind('togglefling',keyPressed,bindChosenKeyUp)
  7023. refreshbinds()
  7024. updatesaves()
  7025. if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  7026. notify('Keybinds Updated','Binded '..keyPressed..' to toggle fling')
  7027. else
  7028. notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle fling')
  7029. end
  7030. end
  7031. end)
  7032.  
  7033. Invisible.Select.MouseButton1Click:Connect(function()
  7034. if keySelected then
  7035. addbind('toggleinvis',keyPressed,bindChosenKeyUp)
  7036. refreshbinds()
  7037. updatesaves()
  7038. if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
  7039. notify('Keybinds Updated','Binded '..keyPressed..' to toggle invisible')
  7040. else
  7041. notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle invisible')
  7042. end
  7043. end
  7044. end)
  7045.  
  7046. IYMouse.Button1Down:connect(function()
  7047. for i,v in pairs(binds) do
  7048. if v.COMMAND == 'clicktp' then
  7049. local input = v.KEY
  7050. if input == 'RightClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) and Players.LocalPlayer.Character then
  7051. pcall(function() getRoot(Players.LocalPlayer.Character).CFrame = IYMouse.Hit + Vector3.new(0,7,0) end)
  7052. elseif input == 'LeftClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) and Players.LocalPlayer.Character then
  7053. pcall(function() getRoot(Players.LocalPlayer.Character).CFrame = IYMouse.Hit + Vector3.new(0,7,0) end)
  7054. elseif UserInputService:IsKeyDown(Enum.KeyCode[input:sub(14)]) and Players.LocalPlayer.Character then
  7055. pcall(function() getRoot(Players.LocalPlayer.Character).CFrame = IYMouse.Hit + Vector3.new(0,7,0) end)
  7056. end
  7057. elseif v.COMMAND == 'clickdel' then
  7058. local input = v.KEY
  7059. if input == 'RightClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then
  7060. pcall(function() IYMouse.Target:Destroy() end)
  7061. elseif input == 'LeftClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
  7062. pcall(function() IYMouse.Target:Destroy() end)
  7063. elseif UserInputService:IsKeyDown(Enum.KeyCode[input:sub(14)]) then
  7064. pcall(function() IYMouse.Target:Destroy() end)
  7065. end
  7066. end
  7067. end
  7068. end)
  7069.  
  7070. PluginsGUI = PluginEditor.background
  7071.  
  7072. function addPlugin(name)
  7073. if name:lower() == 'plugin file name' or name:lower() == 'iy_fe.iy' or name == 'iy_fe' then
  7074. notify('Plugin Error','Please enter a valid plugin')
  7075. else
  7076. local file
  7077. local fileName
  7078. if name:sub(-3) == '.iy' then
  7079. pcall(function() file = readfile(name) end)
  7080. fileName = name
  7081. else
  7082. pcall(function() file = readfile(name..'.iy') end)
  7083. fileName = name..'.iy'
  7084. end
  7085. if file then
  7086. if not FindInTable(PluginsTable, fileName) then
  7087. table.insert(PluginsTable, fileName)
  7088. LoadPlugin(fileName)
  7089. refreshplugins()
  7090. pcall(eventEditor.Refresh)
  7091. else
  7092. notify('Plugin Error','This plugin is already added')
  7093. end
  7094. else
  7095. notify('Plugin Error','Cannot locate file "'..fileName..'". Is the file in the correct folder?')
  7096. end
  7097. end
  7098. end
  7099.  
  7100. function deletePlugin(name)
  7101. local pName = name..'.iy'
  7102. if name:sub(-3) == '.iy' then
  7103. pName = name
  7104. end
  7105. for i = #cmds,1,-1 do
  7106. if cmds[i].PLUGIN == pName then
  7107. table.remove(cmds, i)
  7108. end
  7109. end
  7110. for i,v in pairs(CMDsF:GetChildren()) do
  7111. if v.Name == 'PLUGIN_'..pName then
  7112. v:Destroy()
  7113. end
  7114. end
  7115. for i,v in pairs(PluginsTable) do
  7116. if v == pName then
  7117. table.remove(PluginsTable, i)
  7118. notify('Removed Plugin',pName..' was removed')
  7119. end
  7120. end
  7121. IndexContents('',true)
  7122. refreshplugins()
  7123. end
  7124.  
  7125. function refreshplugins(dontSave)
  7126. if #PluginsTable > 0 then
  7127. PluginsHint:Destroy()
  7128. end
  7129. if Holder_5 then
  7130. Holder_5:ClearAllChildren()
  7131. Holder_5.CanvasSize = UDim2.new(0, 0, 0, 10)
  7132. for i,v in pairs(PluginsTable) do
  7133. local pName = v
  7134. local YSize = 25
  7135. local Position = ((i * YSize) - YSize)
  7136. local newplugin = Example_5:Clone()
  7137. newplugin.Parent = Holder_5
  7138. newplugin.Visible = true
  7139. newplugin.Position = UDim2.new(0,0,0, Position + 5)
  7140. newplugin.Text.Text = pName
  7141. table.insert(shade2,newplugin)
  7142. table.insert(shade2,newplugin.Text)
  7143. table.insert(text1,newplugin.Text)
  7144. table.insert(shade3,newplugin.Text.Delete)
  7145. table.insert(text2,newplugin.Text.Delete)
  7146. Holder_5.CanvasSize = UDim2.new(0,0,0, Position + 30)
  7147. newplugin.Text.Delete.MouseButton1Click:Connect(function()
  7148. deletePlugin(pName)
  7149. end)
  7150. end
  7151. if not dontSave then
  7152. updatesaves()
  7153. end
  7154. end
  7155. end
  7156.  
  7157. local PluginCache
  7158. function LoadPlugin(val,startup)
  7159. local plugin
  7160.  
  7161. function CatchedPluginLoad()
  7162. plugin = loadfile(val)()
  7163. end
  7164.  
  7165. function handlePluginError(plerror)
  7166. notify('Plugin Error','An error occurred with the plugin, "'..val..'" and it could not be loaded')
  7167. if FindInTable(PluginsTable,val) then
  7168. for i,v in pairs(PluginsTable) do
  7169. if v == val then
  7170. table.remove(PluginsTable,i)
  7171. end
  7172. end
  7173. end
  7174.  
  7175. print("Original Error: "..tostring(plerror))
  7176. print("Plugin Error, stack traceback: "..tostring(debug.traceback()))
  7177.  
  7178. plugin = nil
  7179.  
  7180. return false
  7181. end
  7182.  
  7183. xpcall(CatchedPluginLoad, handlePluginError)
  7184.  
  7185. if plugin ~= nil then
  7186. if not startup then
  7187. notify('Loaded Plugin',"Name: "..plugin["PluginName"].."\n".."Description: "..plugin["PluginDescription"])
  7188. end
  7189. addcmdtext('',val)
  7190. addcmdtext(string.upper('--'..plugin["PluginName"]),val,plugin["PluginDescription"])
  7191. for i,v in pairs(plugin["Commands"]) do
  7192. local cmdExt = ''
  7193. local cmdName = i
  7194. local function handleNames()
  7195. cmdName = i
  7196. if findCmd(cmdName..cmdExt) then
  7197. if isNumber(cmdExt) then
  7198. cmdExt = cmdExt+1
  7199. else
  7200. cmdExt = 1
  7201. end
  7202. handleNames()
  7203. else
  7204. cmdName = cmdName..cmdExt
  7205. end
  7206. end
  7207. handleNames()
  7208. addcmd(cmdName, v["Aliases"], v["Function"], val)
  7209. if v["ListName"] then
  7210. local newName = v.ListName
  7211. local cmdNames = {i,unpack(v.Aliases)}
  7212. for i,v in pairs(cmdNames) do
  7213. newName = newName:gsub(v,v..cmdExt)
  7214. end
  7215. addcmdtext(newName,val,v["Description"])
  7216. else
  7217. addcmdtext(cmdName,val,v["Description"])
  7218. end
  7219. end
  7220. IndexContents('',true)
  7221. elseif plugin == nil then
  7222. plugin = nil
  7223. end
  7224. end
  7225.  
  7226. function FindPlugins()
  7227. if PluginsTable ~= nil and type(PluginsTable) == "table" then
  7228. for i,v in pairs(PluginsTable) do
  7229. LoadPlugin(v,true)
  7230. end
  7231. refreshplugins(true)
  7232. end
  7233. end
  7234.  
  7235. PluginsGUI.AddPlugin.MouseButton1Click:connect(function()
  7236. addPlugin(PluginsGUI.FileName.Text)
  7237. end)
  7238.  
  7239. Exit_3.MouseButton1Click:connect(function()
  7240. PluginEditor:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  7241. PluginsGUI.FileName.Text = 'Plugin File Name'
  7242. end)
  7243.  
  7244. PluginsFrame.Add.MouseButton1Click:Connect(function()
  7245. PluginEditor:TweenPosition(UDim2.new(0.5, -180, 0, 310), "InOut", "Quart", 0.5, true, nil)
  7246. end)
  7247.  
  7248. Plugins.MouseButton1Click:Connect(function()
  7249. if writefileExploit() then
  7250. PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
  7251. wait(0.5)
  7252. SettingsHolder.Visible = false
  7253. else
  7254. notify('Incompatible Exploit','Your exploit is unable to use plugins (missing read/writefile)')
  7255. end
  7256. end)
  7257.  
  7258. PluginsFrame.Close.MouseButton1Click:Connect(function()
  7259. SettingsHolder.Visible = true
  7260. PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
  7261. end)
  7262.  
  7263. addcmd('addalias',{},
  7264. function(args, speaker)
  7265. if #args < 2 then return end
  7266. local cmd = string.lower(args[1])
  7267. local alias = string.lower(args[2])
  7268. for i,v in pairs(cmds) do
  7269. if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then
  7270. customAlias[alias] = v
  7271. aliases[#aliases + 1] = {CMD = cmd, ALIAS = alias}
  7272. notify('Aliases Modified',"Added "..alias.." as an alias to "..cmd)
  7273. updatesaves()
  7274. refreshaliases()
  7275. break
  7276. end
  7277. end
  7278. end)
  7279.  
  7280. addcmd('removealias',{},
  7281. function(args, speaker)
  7282. if #args < 1 then return end
  7283. local alias = string.lower(args[1])
  7284. if customAlias[alias] then
  7285. local cmd = customAlias[alias].NAME
  7286. customAlias[alias] = nil
  7287. for i = #aliases,1,-1 do
  7288. if aliases[i].ALIAS == tostring(alias) then
  7289. table.remove(aliases, i)
  7290. end
  7291. end
  7292. notify('Aliases Modified',"Removed the alias "..alias.." from "..cmd)
  7293. updatesaves()
  7294. refreshaliases()
  7295. end
  7296. end)
  7297.  
  7298. addcmd('clraliases',{},
  7299. function(args, speaker)
  7300. customAlias = {}
  7301. aliases = {}
  7302. notify('Aliases Modified','Removed all aliases')
  7303. updatesaves()
  7304. refreshaliases()
  7305. end)
  7306.  
  7307. addcmd('serverinfo',{'info','sinfo'},
  7308. function(args, speaker)
  7309. spawn(function()
  7310. local FRAME = Instance.new("Frame")
  7311. local shadow = Instance.new("Frame")
  7312. local PopupText = Instance.new("TextLabel")
  7313. local Exit = Instance.new("TextButton")
  7314. local ExitImage = Instance.new("ImageLabel")
  7315. local background = Instance.new("Frame")
  7316. local TextLabel = Instance.new("TextLabel")
  7317. local TextLabel2 = Instance.new("TextLabel")
  7318. local TextLabel3 = Instance.new("TextLabel")
  7319. local Time = Instance.new("TextLabel")
  7320. local appearance = Instance.new("TextLabel")
  7321. local maxplayers = Instance.new("TextLabel")
  7322. local name = Instance.new("TextLabel")
  7323. local placeid = Instance.new("TextLabel")
  7324. local playerid = Instance.new("TextLabel")
  7325. local players = Instance.new("TextLabel")
  7326. local CopyApp = Instance.new("TextButton")
  7327. local CopyPlrID = Instance.new("TextButton")
  7328. local CopyPlcID = Instance.new("TextButton")
  7329.  
  7330. FRAME.Name = randomString()
  7331. FRAME.Parent = PARENT
  7332. FRAME.Active = true
  7333. FRAME.BackgroundTransparency = 1
  7334. FRAME.Position = UDim2.new(0.5, -130, 0, -500)
  7335. FRAME.Size = UDim2.new(0, 250, 0, 20)
  7336. FRAME.ZIndex = 10
  7337. dragGUI(FRAME)
  7338.  
  7339. shadow.Name = "shadow"
  7340. shadow.Parent = FRAME
  7341. shadow.BackgroundColor3 = currentShade2
  7342. shadow.BorderSizePixel = 0
  7343. shadow.Size = UDim2.new(0, 250, 0, 20)
  7344. shadow.ZIndex = 10
  7345. table.insert(shade2,shadow)
  7346.  
  7347. PopupText.Name = "PopupText"
  7348. PopupText.Parent = shadow
  7349. PopupText.BackgroundTransparency = 1
  7350. PopupText.Size = UDim2.new(1, 0, 0.95, 0)
  7351. PopupText.ZIndex = 10
  7352. PopupText.Font = Enum.Font.SourceSans
  7353. PopupText.TextSize = 14
  7354. PopupText.Text = "Server"
  7355. PopupText.TextColor3 = currentText1
  7356. PopupText.TextWrapped = true
  7357. table.insert(text1,PopupText)
  7358.  
  7359. Exit.Name = "Exit"
  7360. Exit.Parent = shadow
  7361. Exit.BackgroundTransparency = 1
  7362. Exit.Position = UDim2.new(1, -20, 0, 0)
  7363. Exit.Size = UDim2.new(0, 20, 0, 20)
  7364. Exit.Text = ""
  7365. Exit.ZIndex = 10
  7366.  
  7367. ExitImage.Parent = Exit
  7368. ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
  7369. ExitImage.BackgroundTransparency = 1
  7370. ExitImage.Position = UDim2.new(0, 5, 0, 5)
  7371. ExitImage.Size = UDim2.new(0, 10, 0, 10)
  7372. ExitImage.Image = "rbxassetid://5054663650"
  7373. ExitImage.ZIndex = 10
  7374.  
  7375. background.Name = "background"
  7376. background.Parent = FRAME
  7377. background.Active = true
  7378. background.BackgroundColor3 = currentShade1
  7379. background.BorderSizePixel = 0
  7380. background.Position = UDim2.new(0, 0, 1, 0)
  7381. background.Size = UDim2.new(0, 250, 0, 250)
  7382. background.ZIndex = 10
  7383. table.insert(shade1,background)
  7384.  
  7385. TextLabel.Name = "Text Label"
  7386. TextLabel.Parent = background
  7387. TextLabel.BackgroundTransparency = 1
  7388. TextLabel.BorderSizePixel = 0
  7389. TextLabel.Position = UDim2.new(0, 5, 0, 80)
  7390. TextLabel.Size = UDim2.new(0, 100, 0, 20)
  7391. TextLabel.ZIndex = 10
  7392. TextLabel.Font = Enum.Font.SourceSansLight
  7393. TextLabel.TextSize = 20
  7394. TextLabel.Text = "Run Time:"
  7395. TextLabel.TextColor3 = currentText1
  7396. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  7397. table.insert(text1,TextLabel)
  7398.  
  7399. TextLabel2.Name = "Text Label2"
  7400. TextLabel2.Parent = background
  7401. TextLabel2.BackgroundTransparency = 1
  7402. TextLabel2.BorderSizePixel = 0
  7403. TextLabel2.Position = UDim2.new(0, 5, 0, 130)
  7404. TextLabel2.Size = UDim2.new(0, 100, 0, 20)
  7405. TextLabel2.ZIndex = 10
  7406. TextLabel2.Font = Enum.Font.SourceSansLight
  7407. TextLabel2.TextSize = 20
  7408. TextLabel2.Text = "Statistics:"
  7409. TextLabel2.TextColor3 = currentText1
  7410. TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
  7411. table.insert(text1,TextLabel2)
  7412.  
  7413. TextLabel3.Name = "Text Label3"
  7414. TextLabel3.Parent = background
  7415. TextLabel3.BackgroundTransparency = 1
  7416. TextLabel3.BorderSizePixel = 0
  7417. TextLabel3.Position = UDim2.new(0, 5, 0, 10)
  7418. TextLabel3.Size = UDim2.new(0, 100, 0, 20)
  7419. TextLabel3.ZIndex = 10
  7420. TextLabel3.Font = Enum.Font.SourceSansLight
  7421. TextLabel3.TextSize = 20
  7422. TextLabel3.Text = "Local Player:"
  7423. TextLabel3.TextColor3 = currentText1
  7424. TextLabel3.TextXAlignment = Enum.TextXAlignment.Left
  7425. table.insert(text1,TextLabel3)
  7426.  
  7427. Time.Name = "Time"
  7428. Time.Parent = background
  7429. Time.BackgroundTransparency = 1
  7430. Time.BorderSizePixel = 0
  7431. Time.Position = UDim2.new(0, 5, 0, 105)
  7432. Time.Size = UDim2.new(0, 100, 0, 20)
  7433. Time.ZIndex = 10
  7434. Time.Font = Enum.Font.SourceSans
  7435. Time.FontSize = Enum.FontSize.Size14
  7436. Time.Text = "LOADING"
  7437. Time.TextColor3 = currentText1
  7438. Time.TextXAlignment = Enum.TextXAlignment.Left
  7439. table.insert(text1,Time)
  7440.  
  7441. appearance.Name = "appearance"
  7442. appearance.Parent = background
  7443. appearance.BackgroundTransparency = 1
  7444. appearance.BorderSizePixel = 0
  7445. appearance.Position = UDim2.new(0, 5, 0, 55)
  7446. appearance.Size = UDim2.new(0, 100, 0, 20)
  7447. appearance.ZIndex = 10
  7448. appearance.Font = Enum.Font.SourceSans
  7449. appearance.FontSize = Enum.FontSize.Size14
  7450. appearance.Text = "Appearance: LOADING"
  7451. appearance.TextColor3 = currentText1
  7452. appearance.TextXAlignment = Enum.TextXAlignment.Left
  7453. table.insert(text1,appearance)
  7454.  
  7455. maxplayers.Name = "maxplayers"
  7456. maxplayers.Parent = background
  7457. maxplayers.BackgroundTransparency = 1
  7458. maxplayers.BorderSizePixel = 0
  7459. maxplayers.Position = UDim2.new(0, 5, 0, 175)
  7460. maxplayers.Size = UDim2.new(0, 100, 0, 20)
  7461. maxplayers.ZIndex = 10
  7462. maxplayers.Font = Enum.Font.SourceSans
  7463. maxplayers.FontSize = Enum.FontSize.Size14
  7464. maxplayers.Text = "LOADING"
  7465. maxplayers.TextColor3 = currentText1
  7466. maxplayers.TextXAlignment = Enum.TextXAlignment.Left
  7467. table.insert(text1,maxplayers)
  7468.  
  7469. name.Name = "name"
  7470. name.Parent = background
  7471. name.BackgroundTransparency = 1
  7472. name.BorderSizePixel = 0
  7473. name.Position = UDim2.new(0, 5, 0, 215)
  7474. name.Size = UDim2.new(0, 240, 0, 30)
  7475. name.ZIndex = 10
  7476. name.Font = Enum.Font.SourceSans
  7477. name.FontSize = Enum.FontSize.Size14
  7478. name.Text = "Place Name: LOADING"
  7479. name.TextColor3 = currentText1
  7480. name.TextWrapped = true
  7481. name.TextXAlignment = Enum.TextXAlignment.Left
  7482. name.TextYAlignment = Enum.TextYAlignment.Top
  7483. table.insert(text1,name)
  7484.  
  7485. placeid.Name = "placeid"
  7486. placeid.Parent = background
  7487. placeid.BackgroundTransparency = 1
  7488. placeid.BorderSizePixel = 0
  7489. placeid.Position = UDim2.new(0, 5, 0, 195)
  7490. placeid.Size = UDim2.new(0, 100, 0, 20)
  7491. placeid.ZIndex = 10
  7492. placeid.Font = Enum.Font.SourceSans
  7493. placeid.FontSize = Enum.FontSize.Size14
  7494. placeid.Text = "Place ID: LOADING"
  7495. placeid.TextColor3 = currentText1
  7496. placeid.TextXAlignment = Enum.TextXAlignment.Left
  7497. table.insert(text1,placeid)
  7498.  
  7499. playerid.Name = "playerid"
  7500. playerid.Parent = background
  7501. playerid.BackgroundTransparency = 1
  7502. playerid.BorderSizePixel = 0
  7503. playerid.Position = UDim2.new(0, 5, 0, 35)
  7504. playerid.Size = UDim2.new(0, 100, 0, 20)
  7505. playerid.ZIndex = 10
  7506. playerid.Font = Enum.Font.SourceSans
  7507. playerid.FontSize = Enum.FontSize.Size14
  7508. playerid.Text = "Player ID: LOADING"
  7509. playerid.TextColor3 = currentText1
  7510. playerid.TextXAlignment = Enum.TextXAlignment.Left
  7511. table.insert(text1,playerid)
  7512.  
  7513. players.Name = "players"
  7514. players.Parent = background
  7515. players.BackgroundTransparency = 1
  7516. players.BorderSizePixel = 0
  7517. players.Position = UDim2.new(0, 5, 0, 155)
  7518. players.Size = UDim2.new(0, 100, 0, 20)
  7519. players.ZIndex = 10
  7520. players.Font = Enum.Font.SourceSans
  7521. players.FontSize = Enum.FontSize.Size14
  7522. players.Text = "LOADING"
  7523. players.TextColor3 = currentText1
  7524. players.TextXAlignment = Enum.TextXAlignment.Left
  7525. table.insert(text1,players)
  7526.  
  7527. CopyApp.Name = "CopyApp"
  7528. CopyApp.Parent = background
  7529. CopyApp.BackgroundColor3 = currentShade2
  7530. CopyApp.BorderSizePixel = 0
  7531. CopyApp.Position = UDim2.new(0, 210, 0, 55)
  7532. CopyApp.Size = UDim2.new(0, 35, 0, 20)
  7533. CopyApp.Font = Enum.Font.SourceSans
  7534. CopyApp.TextSize = 14
  7535. CopyApp.Text = "Copy"
  7536. CopyApp.TextColor3 = currentText1
  7537. CopyApp.ZIndex = 10
  7538. table.insert(shade2,CopyApp)
  7539. table.insert(text1,CopyApp)
  7540.  
  7541. CopyPlrID.Name = "CopyPlrID"
  7542. CopyPlrID.Parent = background
  7543. CopyPlrID.BackgroundColor3 = currentShade2
  7544. CopyPlrID.BorderSizePixel = 0
  7545. CopyPlrID.Position = UDim2.new(0, 210, 0, 35)
  7546. CopyPlrID.Size = UDim2.new(0, 35, 0, 20)
  7547. CopyPlrID.Font = Enum.Font.SourceSans
  7548. CopyPlrID.TextSize = 14
  7549. CopyPlrID.Text = "Copy"
  7550. CopyPlrID.TextColor3 = currentText1
  7551. CopyPlrID.ZIndex = 10
  7552. table.insert(shade2,CopyPlrID)
  7553. table.insert(text1,CopyPlrID)
  7554.  
  7555. CopyPlcID.Name = "CopyPlcID"
  7556. CopyPlcID.Parent = background
  7557. CopyPlcID.BackgroundColor3 = currentShade2
  7558. CopyPlcID.BorderSizePixel = 0
  7559. CopyPlcID.Position = UDim2.new(0, 210, 0, 195)
  7560. CopyPlcID.Size = UDim2.new(0, 35, 0, 20)
  7561. CopyPlcID.Font = Enum.Font.SourceSans
  7562. CopyPlcID.TextSize = 14
  7563. CopyPlcID.Text = "Copy"
  7564. CopyPlcID.TextColor3 = currentText1
  7565. CopyPlcID.ZIndex = 10
  7566. table.insert(shade2,CopyPlcID)
  7567. table.insert(text1,CopyPlcID)
  7568.  
  7569. local SINFOGUI = background
  7570. FRAME:TweenPosition(UDim2.new(0.5, -130, 0, 100), "InOut", "Quart", 0.5, true, nil)
  7571. wait(0.5)
  7572. Exit.MouseButton1Click:Connect(function()
  7573. FRAME:TweenPosition(UDim2.new(0.5, -130, 0, -500), "InOut", "Quart", 0.5, true, nil)
  7574. wait(0.6)
  7575. FRAME:Destroy()
  7576. end)
  7577. local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
  7578. SINFOGUI.name.Text = "Place Name: " .. Asset.Name
  7579. SINFOGUI.playerid.Text = "Player ID: " ..speaker.UserId
  7580. SINFOGUI.maxplayers.Text = Players.MaxPlayers.. " Players Max"
  7581. SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId
  7582.  
  7583. CopyApp.MouseButton1Click:Connect(function()
  7584. toClipboard(speaker.CharacterAppearanceId)
  7585. end)
  7586. CopyPlrID.MouseButton1Click:Connect(function()
  7587. toClipboard(speaker.UserId)
  7588. end)
  7589. CopyPlcID.MouseButton1Click:Connect(function()
  7590. toClipboard(game.PlaceId)
  7591. end)
  7592.  
  7593. repeat
  7594. players = Players:getPlayers()
  7595. SINFOGUI.players.Text = #players.. " Player(s)"
  7596. SINFOGUI.appearance.Text = "Appearance: " ..speaker.CharacterAppearanceId
  7597. local seconds = math.floor(workspace.DistributedGameTime)
  7598. local minutes = math.floor(workspace.DistributedGameTime / 60)
  7599. local hours = math.floor(workspace.DistributedGameTime / 60 / 60)
  7600. local seconds = seconds - (minutes * 60)
  7601. local minutes = minutes - (hours * 60)
  7602. if hours < 1 then if minutes < 1 then
  7603. SINFOGUI.Time.Text = seconds .. " Second(s)" else
  7604. SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)"
  7605. end
  7606. else
  7607. SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
  7608. end
  7609. wait(1)
  7610. until SINFOGUI.Parent == nil
  7611. end)
  7612. end)
  7613.  
  7614. addcmd('jobid',{},
  7615. function(args, speaker)
  7616. local jobId = 'Roblox.GameLauncher.joinGameInstance('..game.PlaceId..', "'..game.JobId..'")'
  7617. toClipboard(jobId)
  7618. end)
  7619.  
  7620. addcmd('notifyjobid',{},
  7621. function(args, speaker)
  7622. notify('JobId / PlaceId',game.JobId..' / '..game.PlaceId)
  7623. end)
  7624.  
  7625. addcmd('breakloops',{'break'},
  7626. function(args, speaker)
  7627. lastBreakTime = tick()
  7628. end)
  7629.  
  7630. addcmd('gametp',{'gameteleport'},
  7631. function(args, speaker)
  7632. game:GetService('TeleportService'):Teleport(args[1])
  7633. end)
  7634.  
  7635. addcmd('rejoin',{'rj'},
  7636. function(args, speaker)
  7637. if #Players:GetPlayers() <= 1 then
  7638. Players.LocalPlayer:Kick("\nRejoining...")
  7639. wait()
  7640. game:GetService('TeleportService'):Teleport(game.PlaceId, Players.LocalPlayer)
  7641. else
  7642. game:GetService('TeleportService'):TeleportToPlaceInstance(game.PlaceId, game.JobId, Players.LocalPlayer)
  7643. end
  7644. end)
  7645.  
  7646. local PlaceId = game.PlaceId
  7647. local URL = ("https://www.roblox.com/games/getgameinstancesjson?placeId=%s&startindex="):format(PlaceId)
  7648. local HttpService = game:GetService("HttpService")
  7649. local TeleportService = game:GetService("TeleportService")
  7650.  
  7651. function ServerHop(MaxQueries, MaxPlayers, MinPlayers)
  7652. local List = {}
  7653. MaxQueries = (MaxQueries or 10) * 10
  7654.  
  7655. for page = 0, MaxQueries do
  7656. local Query = HttpService:JSONDecode(game:HttpGet(URL..page))
  7657.  
  7658. if page % 10 == 0 then -- ask roblox, not me.
  7659. for i,v in next, Query.Collection do
  7660. List[v.Guid] = {
  7661. PlayerCount = #v.CurrentPlayers,
  7662. IsSlow = v.ShowShutdownAllButton,
  7663. Capacity = v.Capacity,
  7664. }
  7665. end
  7666. end
  7667. end
  7668.  
  7669. local ChosenServer = nil
  7670.  
  7671. for i,v in pairs(List) do
  7672. if i ~= game.JobId then
  7673. local MaxCheck = (MaxPlayers and v.PlayerCount <= MaxPlayers) or (not MaxPlayers and true)
  7674. local MinCheck = (MinPlayers and v.PlayerCount >= MinPlayers) or (not MinPlayers and true)
  7675. local CapacityCheck = v.Capacity ~= v.PlayerCount
  7676. local SlowCheck = not v.IsSlow
  7677.  
  7678. if MaxCheck and MinCheck and CapacityCheck and SlowCheck then
  7679. ChosenServer = i
  7680. break
  7681. end
  7682. end
  7683. end
  7684.  
  7685. if ChosenServer then
  7686. TeleportService:TeleportToPlaceInstance(game.PlaceId, ChosenServer, game.Players.LocalPlayer)
  7687. else
  7688. notify("Server Hop Failure", "Could not find a server!")
  7689. end
  7690. end
  7691.  
  7692. addcmd('serverhop',{'shop'},
  7693. function(args, speaker)
  7694. ServerHop(tonumber(args[3]), tonumber(args[1]), tonumber(args[2]))
  7695. end)
  7696.  
  7697. addcmd('joinplayer',{'joinp'},
  7698. function(args, speaker)
  7699. local retries = 0
  7700. local gameID = game.PlaceId
  7701. if args[2] then
  7702. gameID = args[2]
  7703. end
  7704. function ToServer(User,PlaceId)
  7705. if not pcall(function()
  7706. local FoundUser, UserId = pcall(function()
  7707. if tonumber(User) then
  7708. return tonumber(User)
  7709. end
  7710.  
  7711. return game:GetService("Players"):GetUserIdFromNameAsync(User)
  7712. end)
  7713. if not FoundUser then
  7714. notify('Join Error','Username/UserID does not exist')
  7715. else
  7716. notify('Join Player','Loading servers. Hold on a sec.')
  7717. local res = game:HttpGet("https://www.roblox.com/headshot-thumbnail/json?userId="..UserId.."&width=48&height=48")
  7718. local HttpURL = game:GetService("HttpService"):JSONDecode(res)
  7719. local ThumbGrab = HttpURL["Url"]
  7720. local Thumb = ThumbGrab
  7721. local URL2 = ("https://www.roblox.com/games/getgameinstancesjson?placeId="..PlaceId.."&startindex=")
  7722. local Http = game:GetService("HttpService"):JSONDecode(game:HttpGet(URL2.."0"))
  7723. local GUID
  7724. for i = 0,Http.TotalCollectionSize do
  7725. local Http = game:GetService("HttpService"):JSONDecode(game:HttpGet(URL2..i))
  7726. for x,n in pairs(Http.Collection) do
  7727. for _,v in pairs(n.CurrentPlayers) do
  7728. if v.Thumbnail.Url == Thumb then
  7729. GUID = n.Guid
  7730. end
  7731. end
  7732. end
  7733. end
  7734. if GUID ~= nil then
  7735. notify('Join Player','Joining '..User)
  7736. game:GetService("TeleportService"):TeleportToPlaceInstance(PlaceId,GUID,speaker)
  7737. else
  7738. notify('Join Error','Unable to join user.')
  7739. end
  7740. end
  7741. end)
  7742. then
  7743. if retries < 3 then
  7744. retries = retries + 1
  7745. print('ERROR retrying '..retries..'/3')
  7746. notify('Join Error','Error while trying to join. Retrying '..retries..'/3.')
  7747. ToServer(User,PlaceId)
  7748. else
  7749. notify('Join Error','Error while trying to join.')
  7750. end
  7751. end
  7752. end
  7753. ToServer(args[1],gameID)
  7754. end)
  7755.  
  7756. addcmd('exit',{},
  7757. function(args, speaker)
  7758. game:shutdown()
  7759. end)
  7760.  
  7761. local Noclipping = nil
  7762. addcmd('noclip',{},
  7763. function(args, speaker)
  7764. Clip = false
  7765. wait(0.1)
  7766. local function NoclipLoop()
  7767. if Clip == false and speaker.Character ~= nil then
  7768. for _, child in pairs(speaker.Character:GetDescendants()) do
  7769. if child:IsA("BasePart") and child.CanCollide == true then
  7770. child.CanCollide = false
  7771. end
  7772. end
  7773. end
  7774. end
  7775. Noclipping = game:GetService('RunService').Stepped:connect(NoclipLoop)
  7776. if args[1] and args[1] == 'nonotify' then return end
  7777. notify('Noclip','Noclip Enabled')
  7778. end)
  7779.  
  7780. addcmd('clip',{'unnoclip'},
  7781. function(args, speaker)
  7782. if Noclipping then
  7783. Noclipping:Disconnect()
  7784. end
  7785. Clip = true
  7786. if args[1] and args[1] == 'nonotify' then return end
  7787. notify('Noclip','Noclip Disabled')
  7788. end)
  7789.  
  7790. addcmd('togglenoclip',{},
  7791. function(args, speaker)
  7792. if Clip then
  7793. execCmd('noclip')
  7794. else
  7795. execCmd('clip')
  7796. end
  7797. end)
  7798.  
  7799. FLYING = false
  7800. QEfly = true
  7801. iyflyspeed = 1
  7802. vehicleflyspeed = 1
  7803. function sFLY(vfly)
  7804. repeat wait() until Players.LocalPlayer and Players.LocalPlayer.Character and getRoot(Players.LocalPlayer.Character) and Players.LocalPlayer.Character:FindFirstChild('Humanoid')
  7805. repeat wait() until IYMouse
  7806.  
  7807. local T = getRoot(Players.LocalPlayer.Character)
  7808. local CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  7809. local lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  7810. local SPEED = 0
  7811.  
  7812. local function FLY()
  7813. FLYING = true
  7814. local BG = Instance.new('BodyGyro', T)
  7815. local BV = Instance.new('BodyVelocity', T)
  7816. BG.P = 9e4
  7817. BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  7818. BG.cframe = T.CFrame
  7819. BV.velocity = Vector3.new(0, 0, 0)
  7820. BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  7821. spawn(function()
  7822. repeat wait()
  7823. if not vfly and Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  7824. Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  7825. end
  7826. if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0 then
  7827. SPEED = 50
  7828. elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0) and SPEED ~= 0 then
  7829. SPEED = 0
  7830. end
  7831. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 or (CONTROL.Q + CONTROL.E) ~= 0 then
  7832. 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
  7833. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  7834. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and (CONTROL.Q + CONTROL.E) == 0 and SPEED ~= 0 then
  7835. 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
  7836. else
  7837. BV.velocity = Vector3.new(0, 0, 0)
  7838. end
  7839. BG.cframe = workspace.CurrentCamera.CoordinateFrame
  7840. until not FLYING
  7841. CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  7842. lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
  7843. SPEED = 0
  7844. BG:destroy()
  7845. BV:destroy()
  7846. if Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid') then
  7847. Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  7848. end
  7849. end)
  7850. end
  7851. IYMouse.KeyDown:connect(function(KEY)
  7852. if KEY:lower() == 'w' then
  7853. if vfly then
  7854. CONTROL.F = vehicleflyspeed
  7855. else
  7856. CONTROL.F = iyflyspeed
  7857. end
  7858. elseif KEY:lower() == 's' then
  7859. if vfly then
  7860. CONTROL.B = - vehicleflyspeed
  7861. else
  7862. CONTROL.B = - iyflyspeed
  7863. end
  7864. elseif KEY:lower() == 'a' then
  7865. if vfly then
  7866. CONTROL.L = - vehicleflyspeed
  7867. else
  7868. CONTROL.L = - iyflyspeed
  7869. end
  7870. elseif KEY:lower() == 'd' then
  7871. if vfly then
  7872. CONTROL.R = vehicleflyspeed
  7873. else
  7874. CONTROL.R = iyflyspeed
  7875. end
  7876. elseif QEfly and KEY:lower() == 'e' then
  7877. if vfly then
  7878. CONTROL.Q = vehicleflyspeed*2
  7879. else
  7880. CONTROL.Q = iyflyspeed*2
  7881. end
  7882. elseif QEfly and KEY:lower() == 'q' then
  7883. if vfly then
  7884. CONTROL.E = -vehicleflyspeed*2
  7885. else
  7886. CONTROL.E = -iyflyspeed*2
  7887. end
  7888. end
  7889. end)
  7890. IYMouse.KeyUp:connect(function(KEY)
  7891. if KEY:lower() == 'w' then
  7892. CONTROL.F = 0
  7893. elseif KEY:lower() == 's' then
  7894. CONTROL.B = 0
  7895. elseif KEY:lower() == 'a' then
  7896. CONTROL.L = 0
  7897. elseif KEY:lower() == 'd' then
  7898. CONTROL.R = 0
  7899. elseif KEY:lower() == 'e' then
  7900. CONTROL.Q = 0
  7901. elseif KEY:lower() == 'q' then
  7902. CONTROL.E = 0
  7903. end
  7904. end)
  7905. FLY()
  7906. end
  7907.  
  7908. function NOFLY()
  7909. FLYING = false
  7910. Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  7911. end
  7912.  
  7913. addcmd('fly',{},
  7914. function(args, speaker)
  7915. NOFLY()
  7916. wait()
  7917. sFLY()
  7918. end)
  7919.  
  7920. addcmd('flyspeed',{'flysp'},
  7921. function(args, speaker)
  7922. local speed = args[1] or 1
  7923. if isNumber(speed) then
  7924. iyflyspeed = speed
  7925. end
  7926. end)
  7927.  
  7928. addcmd('unfly',{'nofly','novfly','unvehiclefly','novehiclefly','unvfly'},
  7929. function(args, speaker)
  7930. NOFLY()
  7931. end)
  7932.  
  7933. addcmd('vfly',{'vehiclefly'},
  7934. function(args, speaker)
  7935. NOFLY()
  7936. wait()
  7937. sFLY(true)
  7938. end)
  7939.  
  7940. addcmd('vflyspeed',{'vflysp','vehicleflyspeed','vehicleflysp'},
  7941. function(args, speaker)
  7942. local speed = args[1] or 1
  7943. if isNumber(speed) then
  7944. vehicleflyspeed = speed
  7945. end
  7946. end)
  7947.  
  7948. addcmd('qefly',{'flyqe'},
  7949. function(args, speaker)
  7950. if args[1] == 'false' then
  7951. QEfly = false
  7952. else
  7953. QEfly = true
  7954. end
  7955. end)
  7956.  
  7957. addcmd('togglefly',{},
  7958. function(args, speaker)
  7959. if FLYING then
  7960. NOFLY()
  7961. else
  7962. sFLY()
  7963. end
  7964. end)
  7965.  
  7966. Floating = false
  7967. addcmd('float', {'platform'},
  7968. function(args, speaker)
  7969. Floating = true
  7970. local pchar = speaker.Character
  7971. if pchar and not pchar:FindFirstChild("Float") then
  7972. spawn(function()
  7973. local Float = Instance.new('Part', pchar)
  7974. Float.Name = 'Float'
  7975. Float.Transparency = 1
  7976. Float.Size = Vector3.new(6,1,6)
  7977. Float.Anchored = true
  7978. local FloatValue = -3.5
  7979. if r15(speaker) then FloatValue = -3.65 end
  7980. Float.CFrame = getRoot(pchar).CFrame * CFrame.new(0,FloatValue,0)
  7981. notify('Float','Float Enabled (Q = down & E = up)')
  7982. qUp = IYMouse.KeyUp:connect(function(KEY)
  7983. if KEY == 'q' then
  7984. FloatValue = FloatValue + 0.5
  7985. end
  7986. end)
  7987. eUp = IYMouse.KeyUp:connect(function(KEY)
  7988. if KEY == 'e' then
  7989. FloatValue = FloatValue - 0.5
  7990. end
  7991. end)
  7992. qDown = IYMouse.KeyDown:connect(function(KEY)
  7993. if KEY == 'q' then
  7994. FloatValue = FloatValue - 0.5
  7995. end
  7996. end)
  7997. eDown = IYMouse.KeyDown:connect(function(KEY)
  7998. if KEY == 'e' then
  7999. FloatValue = FloatValue + 0.5
  8000. end
  8001. end)
  8002. floatDied = speaker.Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
  8003. FloatingFunc:Disconnect()
  8004. Float:Destroy()
  8005. qUp:Disconnect()
  8006. eUp:Disconnect()
  8007. qDown:Disconnect()
  8008. eDown:Disconnect()
  8009. floatDied:Disconnect()
  8010. end)
  8011. local function FloatPadLoop()
  8012. if pchar:FindFirstChild("Float") and getRoot(pchar) then
  8013. Float.CFrame = getRoot(pchar).CFrame * CFrame.new(0,FloatValue,0)
  8014. else
  8015. FloatingFunc:Disconnect()
  8016. Float:Destroy()
  8017. qUp:Disconnect()
  8018. eUp:Disconnect()
  8019. qDown:Disconnect()
  8020. eDown:Disconnect()
  8021. floatDied:Disconnect()
  8022. end
  8023. end
  8024. FloatingFunc = game:GetService('RunService').Heartbeat:connect(FloatPadLoop)
  8025. end)
  8026. end
  8027. end)
  8028.  
  8029. addcmd('unfloat',{'nofloat','unplatform','noplatform'},
  8030. function(args, speaker)
  8031. Floating = false
  8032. local pchar = speaker.Character
  8033. notify('Float','Float Disabled')
  8034. if pchar:FindFirstChild("Float") then
  8035. pchar.Float:Destroy()
  8036. end
  8037. if floatDied then
  8038. FloatingFunc:Disconnect()
  8039. qUp:Disconnect()
  8040. eUp:Disconnect()
  8041. qDown:Disconnect()
  8042. eDown:Disconnect()
  8043. floatDied:Disconnect()
  8044. end
  8045. end)
  8046.  
  8047. addcmd('togglefloat',{},
  8048. function(args, speaker)
  8049. if Floating then
  8050. execCmd('unfloat')
  8051. else
  8052. execCmd('float')
  8053. end
  8054. end)
  8055.  
  8056. swimming = false
  8057. addcmd('swim',{},
  8058. function(args, speaker)
  8059. workspace.Gravity = 0
  8060. local function swimDied()
  8061. workspace.Gravity = 198.2
  8062. swimming = false
  8063. end
  8064. gravReset = speaker.Character:FindFirstChildOfClass('Humanoid').Died:connect(swimDied)
  8065. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,false)
  8066. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,false)
  8067. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,false)
  8068. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,false)
  8069. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false)
  8070. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,false)
  8071. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,false)
  8072. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,false)
  8073. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,false)
  8074. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  8075. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,false)
  8076. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,false)
  8077. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,false)
  8078. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,false)
  8079. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,false)
  8080. speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Swimming)
  8081. swimming = true
  8082. end)
  8083.  
  8084. addcmd('unswim',{'noswim'},
  8085. function(args, speaker)
  8086. workspace.Gravity = 198.2
  8087. swimming = false
  8088. if gravReset then
  8089. gravReset:Disconnect()
  8090. end
  8091. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,true)
  8092. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,true)
  8093. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,true)
  8094. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,true)
  8095. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true)
  8096. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,true)
  8097. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,true)
  8098. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,true)
  8099. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,true)
  8100. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,true)
  8101. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,true)
  8102. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,true)
  8103. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,true)
  8104. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,true)
  8105. speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,true)
  8106. speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.RunningNoPhysics)
  8107. end)
  8108.  
  8109. addcmd('toggleswim',{},
  8110. function(args, speaker)
  8111. if swimming then
  8112. execCmd('unswim')
  8113. else
  8114. execCmd('swim')
  8115. end
  8116. end)
  8117.  
  8118. addcmd('setwaypoint',{'swp','setwp','spos','saveposition','savepos'},
  8119. function(args, speaker)
  8120. local WPName = tostring(getstring(1))
  8121. if getRoot(speaker.Character) then
  8122. notify('Modified Waypoints',"Created waypoint: "..getstring(1))
  8123. local torso = getRoot(speaker.Character)
  8124. WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}, GAME = game.PlaceId}
  8125. if AllWaypoints ~= nil then
  8126. AllWaypoints[#AllWaypoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}, GAME = game.PlaceId}
  8127. end
  8128. end
  8129. refreshwaypoints()
  8130. updatesaves()
  8131. end)
  8132.  
  8133. addcmd('waypointpos',{'wpp','setwaypointposition','setpos','setwaypoint','setwaypointpos'},
  8134. function(args, speaker)
  8135. local WPName = tostring(getstring(1))
  8136. if getRoot(speaker.Character) then
  8137. notify('Modified Waypoints',"Created waypoint: "..getstring(1))
  8138. WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {args[2], args[3], args[4]}, GAME = game.PlaceId}
  8139. if AllWaypoints ~= nil then
  8140. AllWaypoints[#AllWaypoints + 1] = {NAME = WPName, COORD = {args[2], args[3], args[4]}, GAME = game.PlaceId}
  8141. end
  8142. end
  8143. refreshwaypoints()
  8144. updatesaves()
  8145. end)
  8146.  
  8147. waypointParts = {}
  8148. addcmd('showwaypoints',{'showwp','showwps'},
  8149. function(args, speaker)
  8150. execCmd('hidewaypoints')
  8151. wait()
  8152. for i,_ in pairs(WayPoints) do
  8153. local x = WayPoints[i].COORD[1]
  8154. local y = WayPoints[i].COORD[2]
  8155. local z = WayPoints[i].COORD[3]
  8156. local part = Instance.new("Part",workspace)
  8157. part.Size = Vector3.new(5,5,5)
  8158. part.CFrame = CFrame.new(x,y,z)
  8159. part.Anchored = true
  8160. part.CanCollide = false
  8161. table.insert(waypointParts,part)
  8162. local view = Instance.new("BoxHandleAdornment", part)
  8163. view.Adornee = part
  8164. view.AlwaysOnTop = true
  8165. view.ZIndex = 10
  8166. view.Size = part.Size
  8167. end
  8168. for i,v in pairs(pWayPoints) do
  8169. local view = Instance.new("BoxHandleAdornment", pWayPoints[i].COORD[1])
  8170. view.Adornee = pWayPoints[i].COORD[1]
  8171. view.AlwaysOnTop = true
  8172. view.ZIndex = 10
  8173. view.Size = pWayPoints[i].COORD[1].Size
  8174. table.insert(waypointParts,view)
  8175. end
  8176. end)
  8177.  
  8178. addcmd('hidewaypoints',{'hidewp','hidewps'},
  8179. function(args, speaker)
  8180. for i,v in pairs(waypointParts) do
  8181. v:Destroy()
  8182. end
  8183. waypointParts = {}
  8184. end)
  8185.  
  8186. addcmd('waypoint',{'wp','lpos','loadposition','loadpos'},
  8187. function(args, speaker)
  8188. local WPName = tostring(getstring(1))
  8189. if speaker.Character then
  8190. for i,_ in pairs(WayPoints) do
  8191. if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8192. local x = WayPoints[i].COORD[1]
  8193. local y = WayPoints[i].COORD[2]
  8194. local z = WayPoints[i].COORD[3]
  8195. getRoot(speaker.Character).CFrame = CFrame.new(x,y,z)
  8196. end
  8197. end
  8198. for i,_ in pairs(pWayPoints) do
  8199. if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8200. getRoot(speaker.Character).CFrame = CFrame.new(pWayPoints[i].COORD[1].Position)
  8201. end
  8202. end
  8203. end
  8204. end)
  8205.  
  8206. addcmd('tweenwaypoint',{'twp'},
  8207. function(args, speaker)
  8208. local WPName = tostring(getstring(1))
  8209. if speaker.Character then
  8210. for i,_ in pairs(WayPoints) do
  8211. local x = WayPoints[i].COORD[1]
  8212. local y = WayPoints[i].COORD[2]
  8213. local z = WayPoints[i].COORD[3]
  8214. if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8215. game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(1, Enum.EasingStyle.Linear), {CFrame = CFrame.new(x,y,z)}):Play()
  8216. end
  8217. end
  8218. for i,_ in pairs(pWayPoints) do
  8219. if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8220. game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(1, Enum.EasingStyle.Linear), {CFrame = CFrame.new(pWayPoints[i].COORD[1].Position)}):Play()
  8221. end
  8222. end
  8223. end
  8224. end)
  8225.  
  8226. addcmd('deletewaypoint',{'dwp','dpos','deleteposition','deletepos'},
  8227. function(args, speaker)
  8228. for i,v in pairs(WayPoints) do
  8229. if v.NAME:lower() == tostring(getstring(1)):lower() then
  8230. notify('Modified Waypoints',"Deleted waypoint: " .. v.NAME)
  8231. table.remove(WayPoints, i)
  8232. end
  8233. end
  8234. if AllWaypoints ~= nil and #AllWaypoints > 0 then
  8235. for i,v in pairs(AllWaypoints) do
  8236. if v.NAME:lower() == tostring(getstring(1)):lower() then
  8237. if not v.GAME or v.GAME == game.PlaceId then
  8238. table.remove(AllWaypoints, i)
  8239. end
  8240. end
  8241. end
  8242. end
  8243. for i,v in pairs(pWayPoints) do
  8244. if v.NAME:lower() == tostring(getstring(1)):lower() then
  8245. notify('Modified Waypoints',"Deleted waypoint: " .. v.NAME)
  8246. table.remove(pWayPoints, i)
  8247. end
  8248. end
  8249. refreshwaypoints()
  8250. updatesaves()
  8251. end)
  8252.  
  8253. addcmd('clearwaypoints',{'cwp','clearpositions','cpos','clearpos'},
  8254. function(args, speaker)
  8255. WayPoints = {}
  8256. pWayPoints = {}
  8257. refreshwaypoints()
  8258. updatesaves()
  8259. AllWaypoints = {}
  8260. notify('Modified Waypoints','Removed all waypoints')
  8261. end)
  8262.  
  8263. addcmd('enable',{},
  8264. function(args, speaker)
  8265. if args[1]:lower() == 'inventory' or args[1]:lower() == 'backpack' then
  8266. game:GetService("StarterGui"):SetCoreGuiEnabled('Backpack', true)
  8267. elseif args[1]:lower() == 'playerlist' then
  8268. game:GetService("StarterGui"):SetCoreGuiEnabled('PlayerList', true)
  8269. elseif args[1]:lower() == 'chat' then
  8270. game:GetService("StarterGui"):SetCoreGuiEnabled('Chat', true)
  8271. elseif args[1]:lower() == 'all' then
  8272. game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
  8273. end
  8274. end)
  8275.  
  8276. addcmd('disable',{},
  8277. function(args, speaker)
  8278. if args[1]:lower() == 'inventory' or args[1]:lower() == 'backpack' then
  8279. game:GetService("StarterGui"):SetCoreGuiEnabled('Backpack', false)
  8280. elseif args[1]:lower() == 'playerlist' then
  8281. game:GetService("StarterGui"):SetCoreGuiEnabled('PlayerList', false)
  8282. elseif args[1]:lower() == 'chat' then
  8283. game:GetService("StarterGui"):SetCoreGuiEnabled('Chat', false)
  8284. elseif args[1]:lower() == 'all' then
  8285. game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
  8286. end
  8287. end)
  8288.  
  8289. local invisGUIS = {}
  8290. addcmd('showguis',{},
  8291. function(args, speaker)
  8292. for i,v in pairs(speaker:FindFirstChildWhichIsA("PlayerGui"):GetDescendants()) do
  8293. if (v:IsA("Frame") or v:IsA("ImageLabel") or v:IsA("ScrollingFrame")) and not v.Visible then
  8294. v.Visible = true
  8295. if not FindInTable(invisGUIS,v) then
  8296. table.insert(invisGUIS,v)
  8297. end
  8298. end
  8299. end
  8300. end)
  8301.  
  8302. addcmd('unshowguis',{},
  8303. function(args, speaker)
  8304. for i,v in pairs(invisGUIS) do
  8305. v.Visible = false
  8306. end
  8307. invisGUIS = {}
  8308. end)
  8309.  
  8310. local hiddenGUIS = {}
  8311. addcmd('hideguis',{},
  8312. function(args, speaker)
  8313. for i,v in pairs(speaker:FindFirstChildWhichIsA("PlayerGui"):GetDescendants()) do
  8314. if (v:IsA("Frame") or v:IsA("ImageLabel") or v:IsA("ScrollingFrame")) and v.Visible then
  8315. v.Visible = false
  8316. if not FindInTable(hiddenGUIS,v) then
  8317. table.insert(hiddenGUIS,v)
  8318. end
  8319. end
  8320. end
  8321. end)
  8322.  
  8323. addcmd('unhideguis',{},
  8324. function(args, speaker)
  8325. for i,v in pairs(hiddenGUIS) do
  8326. v.Visible = true
  8327. end
  8328. hiddenGUIS = {}
  8329. end)
  8330.  
  8331. local wasStayOpen = StayOpen
  8332. addcmd('hideiy',{},
  8333. function(args, speaker)
  8334. wasStayOpen = StayOpen
  8335. if StayOpen == true then StayOpen = false
  8336. On.BackgroundTransparency = 1
  8337. end
  8338. minimizeNum = 0
  8339. minimizeHolder()
  8340. notify('IY Hidden','You can press the prefix key to access the command bar')
  8341. end)
  8342.  
  8343. addcmd('showiy',{},
  8344. function(args, speaker)
  8345. minimizeNum = -20
  8346. if wasStayOpen then
  8347. maximizeHolder()
  8348. StayOpen = true
  8349. On.BackgroundTransparency = 0
  8350. else
  8351. minimizeHolder()
  8352. end
  8353. end)
  8354.  
  8355. addcmd('savegame',{'saveplace'},
  8356. function(args, speaker)
  8357. if syn_checkcaller then
  8358. notify("Loading","Fetching Moon's SaveInstance")
  8359. loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/saveinstance/master/source'))()
  8360. repeat wait() until saveplace
  8361. notify("Loading","Downloading game. This will take a while")
  8362. local placeName = tostring(game.PlaceId).." Map"
  8363. saveplace(tostring(game.PlaceId).." Map")
  8364. wait(1)
  8365. notify('Game Saved','Saved place to the workspace folder within your exploit folder.')
  8366. elseif saveinstance then
  8367. notify("Loading","Downloading game. This will take a while")
  8368. saveinstance()
  8369. notify('Game Saved','Saved place to the workspace folder within your exploit folder.')
  8370. else
  8371. notify('Incompatible Exploit','Your exploit does not support this command (missing saveinstance)')
  8372. end
  8373. end)
  8374.  
  8375.  
  8376. addcmd('clearerror',{'clearerrors'},
  8377. function(args, speaker)
  8378. game:GetService("GuiService"):ClearError()
  8379. end)
  8380.  
  8381. addcmd('clientantikick',{'antikick'},
  8382. function(args, speaker)
  8383. local mt = getrawmetatable(game)
  8384. local old = mt.__namecall
  8385. local protect = newcclosure or protect_function
  8386.  
  8387. if not protect then
  8388. notify("Incompatible Exploit Warning", "Your exploit does not support protection against stack trace errors, resulting to fallback function")
  8389. protect = function(f) return f end
  8390. end
  8391.  
  8392. setreadonly(mt, false)
  8393. mt.__namecall = protect(function(self, ...)
  8394. local method = getnamecallmethod()
  8395. if method == "Kick" then
  8396. wait(9e9)
  8397. return
  8398. end
  8399. return old(self, ...)
  8400. end)
  8401. hookfunction(game:GetService("Players").LocalPlayer.Kick,protect(function() wait(9e9) end))
  8402.  
  8403. notify('Client Antikick','Client anti kick is now active (only effective on localscript kick)')
  8404. end)
  8405.  
  8406. addcmd('volume',{'vol'},
  8407. function(args, speaker)
  8408. local level = args[1]/10
  8409. UserSettings():GetService("UserGameSettings").MasterVolume = level
  8410. end)
  8411.  
  8412. addcmd('antilag',{'boostfps','lowgraphics'},
  8413. function(args, speaker)
  8414. workspace:FindFirstChildOfClass('Terrain').WaterWaveSize = 0
  8415. workspace:FindFirstChildOfClass('Terrain').WaterWaveSpeed = 0
  8416. workspace:FindFirstChildOfClass('Terrain').WaterReflectance = 0
  8417. workspace:FindFirstChildOfClass('Terrain').WaterTransparency = 0
  8418. game:GetService("Lighting").GlobalShadows = false
  8419. game:GetService("Lighting").FogEnd = 9e9
  8420. settings().Rendering.QualityLevel = 1
  8421. for i,v in pairs(game:GetDescendants()) do
  8422. if v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("MeshPart") or v:IsA("CornerWedgePart") or v:IsA("TrussPart") then
  8423. v.Material = "Plastic"
  8424. v.Reflectance = 0
  8425. elseif v:IsA("Decal") then
  8426. v.Transparency = 1
  8427. elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  8428. v.Lifetime = NumberRange.new(0)
  8429. elseif v:IsA("Explosion") then
  8430. v.BlastPressure = 1
  8431. v.BlastRadius = 1
  8432. end
  8433. end
  8434. for i,v in pairs(game:GetService("Lighting"):GetDescendants()) do
  8435. if v:IsA("BlurEffect") or v:IsA("SunRaysEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("BloomEffect") or v:IsA("DepthOfFieldEffect") then
  8436. v.Enabled = false
  8437. end
  8438. end
  8439. end)
  8440.  
  8441. addcmd('notify',{},
  8442. function(args, speaker)
  8443. notify(getstring(1))
  8444. end)
  8445.  
  8446. addcmd('esp',{},
  8447. function(args, speaker)
  8448. if not CHMSenabled then
  8449. ESPenabled = true
  8450. for i,v in pairs(Players:GetChildren()) do
  8451. if v.ClassName == "Player" and v.Name ~= speaker.Name then
  8452. ESP(v)
  8453. end
  8454. end
  8455. else
  8456. notify('ESP','Disable chams (nochams) before using esp')
  8457. end
  8458. end)
  8459.  
  8460. addcmd('noesp',{'unesp'},
  8461. function(args, speaker)
  8462. ESPenabled = false
  8463. for i,c in pairs(PARENT:GetChildren()) do
  8464. if string.sub(c.Name, -4) == '_ESP' then
  8465. c:Destroy()
  8466. end
  8467. end
  8468. end)
  8469.  
  8470. local espParts = {}
  8471. local partEspTrigger = nil
  8472. function partAdded(part)
  8473. if #espParts > 0 then
  8474. if FindInTable(espParts,part.Name:lower()) then
  8475. local a = Instance.new("BoxHandleAdornment", part)
  8476. a.Name = part.Name:lower().."_PESP"
  8477. a.Adornee = part
  8478. a.AlwaysOnTop = true
  8479. a.ZIndex = 0
  8480. a.Size = part.Size
  8481. a.Transparency = 0.3
  8482. a.Color = BrickColor.new("Lime green")
  8483. end
  8484. else
  8485. partEspTrigger:Disconnect()
  8486. partEspTrigger = nil
  8487. end
  8488. end
  8489.  
  8490. addcmd('partesp',{},
  8491. function(args, speaker)
  8492. local partEspName = getstring(1):lower()
  8493. if not FindInTable(espParts,partEspName) then
  8494. table.insert(espParts,partEspName)
  8495. for i,v in pairs(workspace:GetDescendants()) do
  8496. if v:IsA("BasePart") and v.Name:lower() == partEspName then
  8497. local a = Instance.new("BoxHandleAdornment", v)
  8498. a.Name = partEspName.."_PESP"
  8499. a.Adornee = v
  8500. a.AlwaysOnTop = true
  8501. a.ZIndex = 0
  8502. a.Size = v.Size
  8503. a.Transparency = 0.3
  8504. a.Color = BrickColor.new("Lime green")
  8505. end
  8506. end
  8507. end
  8508. if partEspTrigger == nil then
  8509. partEspTrigger = workspace.DescendantAdded:Connect(partAdded)
  8510. end
  8511. end)
  8512.  
  8513. addcmd('unpartesp',{'nopartesp'},
  8514. function(args, speaker)
  8515. if args[1] then
  8516. local partEspName = getstring(1):lower()
  8517. if FindInTable(espParts,partEspName) then
  8518. table.remove(espParts, GetInTable(espParts, partEspName))
  8519. end
  8520. for i,v in pairs(workspace:GetDescendants()) do
  8521. if v:IsA("BoxHandleAdornment") and v.Name == partEspName..'_PESP' then
  8522. v:Destroy()
  8523. end
  8524. end
  8525. else
  8526. partEspTrigger:Disconnect()
  8527. partEspTrigger = nil
  8528. espParts = {}
  8529. for i,v in pairs(workspace:GetDescendants()) do
  8530. if v:IsA("BoxHandleAdornment") and v.Name:sub(-5) == '_PESP' then
  8531. v:Destroy()
  8532. end
  8533. end
  8534. end
  8535. end)
  8536.  
  8537. addcmd('chams',{},
  8538. function(args, speaker)
  8539. if not ESPenabled then
  8540. CHMSenabled = true
  8541. for i,v in pairs(Players:GetChildren()) do
  8542. if v.ClassName == "Player" and v.Name ~= speaker.Name then
  8543. CHMS(v)
  8544. end
  8545. end
  8546. else
  8547. notify('Chams','Disable ESP (noesp) before using chams')
  8548. end
  8549. end)
  8550.  
  8551. addcmd('nochams',{'unchams'},
  8552. function(args, speaker)
  8553. CHMSenabled = false
  8554. for i,v in pairs(Players:GetChildren()) do
  8555. local chmsplr = v
  8556. for i,c in pairs(PARENT:GetChildren()) do
  8557. if c.Name == chmsplr.Name..'_CHMS' then
  8558. c:Destroy()
  8559. end
  8560. end
  8561. end
  8562. end)
  8563.  
  8564. addcmd('locate',{},
  8565. function(args, speaker)
  8566. local players = getPlayer(args[1], speaker)
  8567. for i,v in pairs(players) do
  8568. Locate(Players[v])
  8569. end
  8570. end)
  8571.  
  8572. addcmd('nolocate',{'unlocate'},
  8573. function(args, speaker)
  8574. local players = getPlayer(args[1], speaker)
  8575. if args[1] then
  8576. for i,v in pairs(players) do
  8577. for i,c in pairs(PARENT:GetChildren()) do
  8578. if c.Name == Players[v].Name..'_LC' then
  8579. c:Destroy()
  8580. end
  8581. end
  8582. end
  8583. else
  8584. for i,c in pairs(PARENT:GetChildren()) do
  8585. if string.sub(c.Name, -3) == '_LC' then
  8586. c:Destroy()
  8587. end
  8588. end
  8589. end
  8590. end)
  8591.  
  8592. viewing = nil
  8593. addcmd('view',{'spectate'},
  8594. function(args, speaker)
  8595. StopFreecam()
  8596. local players = getPlayer(args[1], speaker)
  8597. for i,v in pairs(players) do
  8598. if viewDied then
  8599. viewDied:Disconnect()
  8600. viewChanged:Disconnect()
  8601. end
  8602. viewing = Players[v]
  8603. workspace.CurrentCamera.CameraSubject = viewing.Character
  8604. notify('Spectate','Viewing ' .. Players[v].Name)
  8605. local function viewDiedFunc()
  8606. repeat wait() until Players[v].Character ~= nil and getRoot(Players[v].Character)
  8607. workspace.CurrentCamera.CameraSubject = viewing.Character
  8608. end
  8609. viewDied = Players[v].CharacterAdded:connect(viewDiedFunc)
  8610. local function viewChangedFunc()
  8611. workspace.CurrentCamera.CameraSubject = viewing.Character
  8612. end
  8613. viewChanged = workspace.CurrentCamera:GetPropertyChangedSignal("CameraSubject"):connect(viewChangedFunc)
  8614. end
  8615. end)
  8616.  
  8617. addcmd('viewpart',{'viewp'},
  8618. function(args, speaker)
  8619. StopFreecam()
  8620. if args[1] then
  8621. for i,v in pairs(workspace:GetDescendants()) do
  8622. if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  8623. wait(0.1)
  8624. workspace.CurrentCamera.CameraSubject = v
  8625. end
  8626. end
  8627. end
  8628. end)
  8629.  
  8630. addcmd('unview',{'unspectate'},
  8631. function(args, speaker)
  8632. StopFreecam()
  8633. if viewing ~= nil then
  8634. viewing = nil
  8635. notify('Spectate','View turned off')
  8636. end
  8637. if viewDied then
  8638. viewDied:Disconnect()
  8639. viewChanged:Disconnect()
  8640. end
  8641. workspace.CurrentCamera.CameraSubject = speaker.Character
  8642. end)
  8643.  
  8644.  
  8645. fcRunning = false
  8646. local Camera = workspace.CurrentCamera
  8647. workspace:GetPropertyChangedSignal("CurrentCamera"):Connect(function()
  8648. local newCamera = workspace.CurrentCamera
  8649. if newCamera then
  8650. Camera = newCamera
  8651. end
  8652. end)
  8653.  
  8654. local INPUT_PRIORITY = Enum.ContextActionPriority.High.Value
  8655.  
  8656. Spring = {} do
  8657. Spring.__index = Spring
  8658.  
  8659. function Spring.new(freq, pos)
  8660. local self = setmetatable({}, Spring)
  8661. self.f = freq
  8662. self.p = pos
  8663. self.v = pos*0
  8664. return self
  8665. end
  8666.  
  8667. function Spring:Update(dt, goal)
  8668. local f = self.f*2*math.pi
  8669. local p0 = self.p
  8670. local v0 = self.v
  8671.  
  8672. local offset = goal - p0
  8673. local decay = math.exp(-f*dt)
  8674.  
  8675. local p1 = goal + (v0*dt - offset*(f*dt + 1))*decay
  8676. local v1 = (f*dt*(offset*f - v0) + v0)*decay
  8677.  
  8678. self.p = p1
  8679. self.v = v1
  8680.  
  8681. return p1
  8682. end
  8683.  
  8684. function Spring:Reset(pos)
  8685. self.p = pos
  8686. self.v = pos*0
  8687. end
  8688. end
  8689.  
  8690. local cameraPos = Vector3.new()
  8691. local cameraRot = Vector2.new()
  8692.  
  8693. local velSpring = Spring.new(5, Vector3.new())
  8694. local panSpring = Spring.new(5, Vector2.new())
  8695.  
  8696. Input = {} do
  8697.  
  8698. keyboard = {
  8699. W = 0,
  8700. A = 0,
  8701. S = 0,
  8702. D = 0,
  8703. E = 0,
  8704. Q = 0,
  8705. Up = 0,
  8706. Down = 0,
  8707. LeftShift = 0,
  8708. }
  8709.  
  8710. mouse = {
  8711. Delta = Vector2.new(),
  8712. }
  8713.  
  8714. NAV_KEYBOARD_SPEED = Vector3.new(1, 1, 1)
  8715. PAN_MOUSE_SPEED = Vector2.new(1, 1)*(math.pi/64)
  8716. NAV_ADJ_SPEED = 0.75
  8717. NAV_SHIFT_MUL = 0.25
  8718.  
  8719. navSpeed = 1
  8720.  
  8721. function Input.Vel(dt)
  8722. navSpeed = math.clamp(navSpeed + dt*(keyboard.Up - keyboard.Down)*NAV_ADJ_SPEED, 0.01, 4)
  8723.  
  8724. local kKeyboard = Vector3.new(
  8725. keyboard.D - keyboard.A,
  8726. keyboard.E - keyboard.Q,
  8727. keyboard.S - keyboard.W
  8728. )*NAV_KEYBOARD_SPEED
  8729.  
  8730. local shift = UserInputService:IsKeyDown(Enum.KeyCode.LeftShift)
  8731.  
  8732. return (kKeyboard)*(navSpeed*(shift and NAV_SHIFT_MUL or 1))
  8733. end
  8734.  
  8735. function Input.Pan(dt)
  8736. local kMouse = mouse.Delta*PAN_MOUSE_SPEED
  8737. mouse.Delta = Vector2.new()
  8738. return kMouse
  8739. end
  8740.  
  8741. do
  8742. function Keypress(action, state, input)
  8743. keyboard[input.KeyCode.Name] = state == Enum.UserInputState.Begin and 1 or 0
  8744. return Enum.ContextActionResult.Sink
  8745. end
  8746.  
  8747. function MousePan(action, state, input)
  8748. local delta = input.Delta
  8749. mouse.Delta = Vector2.new(-delta.y, -delta.x)
  8750. return Enum.ContextActionResult.Sink
  8751. end
  8752.  
  8753. function Zero(t)
  8754. for k, v in pairs(t) do
  8755. t[k] = v*0
  8756. end
  8757. end
  8758.  
  8759. function Input.StartCapture()
  8760. game:GetService("ContextActionService"):BindActionAtPriority("FreecamKeyboard",Keypress,false,INPUT_PRIORITY,
  8761. Enum.KeyCode.W,
  8762. Enum.KeyCode.A,
  8763. Enum.KeyCode.S,
  8764. Enum.KeyCode.D,
  8765. Enum.KeyCode.E,
  8766. Enum.KeyCode.Q,
  8767. Enum.KeyCode.Up,
  8768. Enum.KeyCode.Down
  8769. )
  8770. game:GetService("ContextActionService"):BindActionAtPriority("FreecamMousePan",MousePan,false,INPUT_PRIORITY,Enum.UserInputType.MouseMovement)
  8771. end
  8772.  
  8773. function Input.StopCapture()
  8774. navSpeed = 1
  8775. Zero(keyboard)
  8776. Zero(mouse)
  8777. game:GetService("ContextActionService"):UnbindAction("FreecamKeyboard")
  8778. game:GetService("ContextActionService"):UnbindAction("FreecamMousePan")
  8779. end
  8780. end
  8781. end
  8782.  
  8783. function GetFocusDistance(cameraFrame)
  8784. local znear = 0.1
  8785. local viewport = Camera.ViewportSize
  8786. local projy = 2*math.tan(cameraFov/2)
  8787. local projx = viewport.x/viewport.y*projy
  8788. local fx = cameraFrame.rightVector
  8789. local fy = cameraFrame.upVector
  8790. local fz = cameraFrame.lookVector
  8791.  
  8792. local minVect = Vector3.new()
  8793. local minDist = 512
  8794.  
  8795. for x = 0, 1, 0.5 do
  8796. for y = 0, 1, 0.5 do
  8797. local cx = (x - 0.5)*projx
  8798. local cy = (y - 0.5)*projy
  8799. local offset = fx*cx - fy*cy + fz
  8800. local origin = cameraFrame.p + offset*znear
  8801. local _, hit = workspace:FindPartOnRay(Ray.new(origin, offset.unit*minDist))
  8802. local dist = (hit - origin).magnitude
  8803. if minDist > dist then
  8804. minDist = dist
  8805. minVect = offset.unit
  8806. end
  8807. end
  8808. end
  8809.  
  8810. return fz:Dot(minVect)*minDist
  8811. end
  8812.  
  8813. local function StepFreecam(dt)
  8814. local vel = velSpring:Update(dt, Input.Vel(dt))
  8815. local pan = panSpring:Update(dt, Input.Pan(dt))
  8816.  
  8817. local zoomFactor = math.sqrt(math.tan(math.rad(70/2))/math.tan(math.rad(cameraFov/2)))
  8818.  
  8819. cameraRot = cameraRot + pan*Vector2.new(0.75, 1)*8*(dt/zoomFactor)
  8820. cameraRot = Vector2.new(math.clamp(cameraRot.x, -math.rad(90), math.rad(90)), cameraRot.y%(2*math.pi))
  8821.  
  8822. local cameraCFrame = CFrame.new(cameraPos)*CFrame.fromOrientation(cameraRot.x, cameraRot.y, 0)*CFrame.new(vel*Vector3.new(1, 1, 1)*64*dt)
  8823. cameraPos = cameraCFrame.p
  8824.  
  8825. Camera.CFrame = cameraCFrame
  8826. Camera.Focus = cameraCFrame*CFrame.new(0, 0, -GetFocusDistance(cameraCFrame))
  8827. Camera.FieldOfView = cameraFov
  8828. end
  8829.  
  8830. local PlayerState = {} do
  8831. mouseBehavior = ""
  8832. mouseIconEnabled = ""
  8833. cameraType = ""
  8834. cameraFocus = ""
  8835. cameraCFrame = ""
  8836. cameraFieldOfView = ""
  8837.  
  8838. function PlayerState.Push()
  8839. cameraFieldOfView = Camera.FieldOfView
  8840. Camera.FieldOfView = 70
  8841.  
  8842. cameraType = Camera.CameraType
  8843. Camera.CameraType = Enum.CameraType.Custom
  8844.  
  8845. cameraCFrame = Camera.CFrame
  8846. cameraFocus = Camera.Focus
  8847.  
  8848. mouseIconEnabled = UserInputService.MouseIconEnabled
  8849. UserInputService.MouseIconEnabled = true
  8850.  
  8851. mouseBehavior = UserInputService.MouseBehavior
  8852. UserInputService.MouseBehavior = Enum.MouseBehavior.Default
  8853. end
  8854.  
  8855. function PlayerState.Pop()
  8856. Camera.FieldOfView = 70
  8857.  
  8858. Camera.CameraType = cameraType
  8859. cameraType = nil
  8860.  
  8861. Camera.CFrame = cameraCFrame
  8862. cameraCFrame = nil
  8863.  
  8864. Camera.Focus = cameraFocus
  8865. cameraFocus = nil
  8866.  
  8867. UserInputService.MouseIconEnabled = mouseIconEnabled
  8868. mouseIconEnabled = nil
  8869.  
  8870. UserInputService.MouseBehavior = mouseBehavior
  8871. mouseBehavior = nil
  8872. end
  8873. end
  8874.  
  8875. function StartFreecam(pos)
  8876. if fcRunning then
  8877. StopFreecam()
  8878. end
  8879. local cameraCFrame = Camera.CFrame
  8880. if pos then
  8881. cameraCFrame = pos
  8882. end
  8883. cameraRot = Vector2.new()
  8884. cameraPos = cameraCFrame.p
  8885. cameraFov = Camera.FieldOfView
  8886.  
  8887. velSpring:Reset(Vector3.new())
  8888. panSpring:Reset(Vector2.new())
  8889.  
  8890. PlayerState.Push()
  8891. game:GetService("RunService"):BindToRenderStep("Freecam", Enum.RenderPriority.Camera.Value, StepFreecam)
  8892. Input.StartCapture()
  8893. fcRunning = true
  8894. end
  8895.  
  8896. function StopFreecam()
  8897. if not fcRunning then return end
  8898. Input.StopCapture()
  8899. game:GetService("RunService"):UnbindFromRenderStep("Freecam")
  8900. PlayerState.Pop()
  8901. workspace.Camera.FieldOfView = 70
  8902. fcRunning = false
  8903. end
  8904.  
  8905. addcmd('freecam',{'fc'},
  8906. function(args, speaker)
  8907. StartFreecam()
  8908. end)
  8909.  
  8910. addcmd('freecampos',{'fcpos','fcp','freecamposition','fcposition'},
  8911. function(args, speaker)
  8912. if not args[1] then return end
  8913. local freecamPos = CFrame.new(args[1],args[2],args[3])
  8914. StartFreecam(freecamPos)
  8915. end)
  8916.  
  8917. addcmd('freecamwaypoint',{'fcwp'},
  8918. function(args, speaker)
  8919. local WPName = tostring(getstring(1))
  8920. if speaker.Character then
  8921. for i,_ in pairs(WayPoints) do
  8922. local x = WayPoints[i].COORD[1]
  8923. local y = WayPoints[i].COORD[2]
  8924. local z = WayPoints[i].COORD[3]
  8925. if tostring(WayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8926. StartFreecam(CFrame.new(x,y,z))
  8927. end
  8928. end
  8929. for i,_ in pairs(pWayPoints) do
  8930. if tostring(pWayPoints[i].NAME):lower() == tostring(WPName):lower() then
  8931. StartFreecam(CFrame.new(pWayPoints[i].COORD[1].Position))
  8932. end
  8933. end
  8934. end
  8935. end)
  8936.  
  8937. addcmd('freecamgoto',{'fcgoto','freecamtp','fctp'},
  8938. function(args, speaker)
  8939. local players = getPlayer(args[1], speaker)
  8940. for i,v in pairs(players) do
  8941. StartFreecam(getRoot(Players[v].Character).CFrame)
  8942. end
  8943. end)
  8944.  
  8945. addcmd('unfreecam',{'nofreecam','unfc','nofc'},
  8946. function(args, speaker)
  8947. StopFreecam()
  8948. end)
  8949.  
  8950. addcmd('freecamspeed',{'fcspeed'},
  8951. function(args, speaker)
  8952. local FCspeed = args[1] or 1
  8953. if isNumber(FCspeed) then
  8954. NAV_KEYBOARD_SPEED = Vector3.new(FCspeed, FCspeed, FCspeed)
  8955. end
  8956. end)
  8957.  
  8958. addcmd('gotocamera',{'gotocam','tocam'},
  8959. function(args, speaker)
  8960. getRoot(speaker.Character).CFrame = workspace.Camera.CFrame
  8961. end)
  8962.  
  8963. addcmd('fov',{},
  8964. function(args, speaker)
  8965. local fov = args[1] or 70
  8966. if isNumber(fov) then
  8967. workspace.CurrentCamera.FieldOfView = fov
  8968. end
  8969. end)
  8970.  
  8971. local preMaxZoom = Players.LocalPlayer.CameraMaxZoomDistance
  8972. local preMinZoom = Players.LocalPlayer.CameraMinZoomDistance
  8973. addcmd('lookat',{},
  8974. function(args, speaker)
  8975. if speaker.CameraMaxZoomDistance ~= 0.5 then
  8976. preMaxZoom = speaker.CameraMaxZoomDistance
  8977. preMinZoom = speaker.CameraMinZoomDistance
  8978. end
  8979. speaker.CameraMaxZoomDistance = 0.5
  8980. speaker.CameraMinZoomDistance = 0.5
  8981. wait()
  8982. local players = getPlayer(args[1], speaker)
  8983. for i,v in pairs(players) do
  8984. local target = Players[v].Character
  8985. if target and target:FindFirstChild('Head') then
  8986. workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.p, target.Head.CFrame.p)
  8987. wait(0.1)
  8988. end
  8989. end
  8990. speaker.CameraMaxZoomDistance = preMaxZoom
  8991. speaker.CameraMinZoomDistance = preMinZoom
  8992. end)
  8993.  
  8994. addcmd('fixcam',{'restorecam'},
  8995. function(args, speaker)
  8996. StopFreecam()
  8997. execCmd('unview')
  8998. workspace.CurrentCamera:remove()
  8999. wait(.1)
  9000. repeat wait() until speaker.Character ~= nil
  9001. workspace.CurrentCamera.CameraSubject = speaker.Character:FindFirstChildWhichIsA('Humanoid')
  9002. workspace.CurrentCamera.CameraType = "Custom"
  9003. speaker.CameraMinZoomDistance = 0.5
  9004. speaker.CameraMaxZoomDistance = 400
  9005. speaker.CameraMode = "Classic"
  9006. speaker.Character.Head.Anchored = false
  9007. end)
  9008.  
  9009. addcmd('enableshiftlock',{'enablesl','shiftlock'},
  9010. function(args, speaker)
  9011. speaker.DevEnableMouseLock = true
  9012. notify('Shiftlock','Shift lock is now available')
  9013. end)
  9014.  
  9015. addcmd('firstp',{},
  9016. function(args, speaker)
  9017. speaker.CameraMode = "LockFirstPerson"
  9018. end)
  9019.  
  9020. addcmd('thirdp',{},
  9021. function(args, speaker)
  9022. speaker.CameraMode = "Classic"
  9023. end)
  9024.  
  9025. addcmd('noclipcam',{'nccam'},
  9026. function(args, speaker)
  9027. speaker.CameraMinZoomDistance = math.huge - math.huge
  9028. speaker.CameraMaxZoomDistance = math.huge - math.huge
  9029. end)
  9030.  
  9031.  
  9032. addcmd('maxzoom',{},
  9033. function(args, speaker)
  9034. speaker.CameraMaxZoomDistance = args[1]
  9035. end)
  9036.  
  9037. addcmd('minzoom',{},
  9038. function(args, speaker)
  9039. speaker.CameraMinZoomDistance = args[1]
  9040. end)
  9041.  
  9042. addcmd('unlockws',{'unlockworkspace'},
  9043. function(args, speaker)
  9044. for i,v in pairs(workspace:GetDescendants()) do
  9045. if v:IsA("BasePart") then
  9046. v.Locked = false
  9047. end
  9048. end
  9049. end)
  9050.  
  9051. addcmd('lockws',{'lockworkspace'},
  9052. function(args, speaker)
  9053. for i,v in pairs(workspace:GetDescendants()) do
  9054. if v:IsA("BasePart") then
  9055. v.Locked = true
  9056. end
  9057. end
  9058. end)
  9059.  
  9060. addcmd('delete',{'remove'},
  9061. function(args, speaker)
  9062. for i,v in pairs(workspace:GetDescendants()) do
  9063. if v.Name:lower() == getstring(1):lower() then
  9064. v:Destroy()
  9065. end
  9066. end
  9067. notify('Item(s) Deleted','Deleted ' ..getstring(1))
  9068. end)
  9069.  
  9070. addcmd('deleteclass',{'removeclass','deleteclassname','removeclassname','dc'},
  9071. function(args, speaker)
  9072. for i,v in pairs(workspace:GetDescendants()) do
  9073. if v.ClassName:lower() == getstring(1):lower() then
  9074. v:Destroy()
  9075. end
  9076. end
  9077. notify('Item(s) Deleted','Deleted items with ClassName ' ..getstring(1))
  9078. end)
  9079.  
  9080. addcmd('chardelete',{'charremove','cd'},
  9081. function(args, speaker)
  9082. for i,v in pairs(speaker.Character:GetDescendants()) do
  9083. if v.Name:lower() == getstring(1):lower() then
  9084. v:Destroy()
  9085. end
  9086. end
  9087. notify('Item(s) Deleted','Deleted ' ..getstring(1))
  9088. end)
  9089.  
  9090. addcmd('chardeleteclass',{'charremoveclass','chardeleteclassname','charremoveclassname','cdc'},
  9091. function(args, speaker)
  9092. for i,v in pairs(speaker.Character:GetDescendants()) do
  9093. if v.ClassName:lower() == getstring(1):lower() then
  9094. v:Destroy()
  9095. end
  9096. end
  9097. notify('Item(s) Deleted','Deleted items with ClassName ' ..getstring(1))
  9098. end)
  9099.  
  9100. addcmd('deletevelocity',{'dv','removevelocity','removeforces'},
  9101. function(args, speaker)
  9102. for i,v in pairs(speaker.Character:GetDescendants()) do
  9103. 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
  9104. v:Destroy()
  9105. end
  9106. end
  9107. end)
  9108.  
  9109. addcmd('deleteinvisparts',{'deleteinvisibleparts','dip'},
  9110. function(args, speaker)
  9111. for i,v in pairs(workspace:GetDescendants()) do
  9112. if v:IsA("BasePart") and v.Transparency == 1 and v.CanCollide then
  9113. v:Destroy()
  9114. end
  9115. end
  9116. end)
  9117.  
  9118. local shownParts = {}
  9119. addcmd('invisibleparts',{'invisparts'},
  9120. function(args, speaker)
  9121. for i,v in pairs(workspace:GetDescendants()) do
  9122. if v:IsA("BasePart") and v.Transparency == 1 then
  9123. if not table.find(shownParts,v) then
  9124. table.insert(shownParts,v)
  9125. end
  9126. v.Transparency = 0
  9127. end
  9128. end
  9129. end)
  9130.  
  9131. addcmd('uninvisibleparts',{'uninvisparts'},
  9132. function(args, speaker)
  9133. for i,v in pairs(shownParts) do
  9134. v.Transparency = 1
  9135. end
  9136. shownParts = {}
  9137. end)
  9138.  
  9139. addcmd('btools',{},
  9140. function(args, speaker)
  9141. Instance.new("HopperBin", speaker:FindFirstChildOfClass("Backpack")).BinType = 1
  9142. Instance.new("HopperBin", speaker:FindFirstChildOfClass("Backpack")).BinType = 2
  9143. Instance.new("HopperBin", speaker:FindFirstChildOfClass("Backpack")).BinType = 3
  9144. Instance.new("HopperBin", speaker:FindFirstChildOfClass("Backpack")).BinType = 4
  9145. end)
  9146.  
  9147. addcmd('f3x',{'fex'},
  9148. function(args, speaker)
  9149. loadstring(game:GetObjects("rbxassetid://4698064966")[1].Source)()
  9150. end)
  9151.  
  9152. addcmd('antiafk',{'antiidle'},
  9153. function(args, speaker)
  9154. local GC = getconnections or get_signal_cons
  9155. if GC then
  9156. for i,v in pairs(GC(Players.LocalPlayer.Idled)) do
  9157. if v["Disable"] then
  9158. v["Disable"](v)
  9159. elseif v["Disconnect"] then
  9160. v["Disconnect"](v)
  9161. end
  9162. end
  9163. notify('Anti Idle','Anti idle is enabled')
  9164. else
  9165. notify('Incompatible Exploit','Your exploit does not support this command (missing getconnections)')
  9166. end
  9167. end)
  9168.  
  9169. addcmd('datalimit',{},
  9170. function(args, speaker)
  9171. if tonumber(args[1]) then
  9172. game:GetService("NetworkClient"):SetOutgoingKBPSLimit(args[1])
  9173. end
  9174. end)
  9175.  
  9176. addcmd('replicationlag',{'backtrack'},
  9177. function(args, speaker)
  9178. if tonumber(args[1]) then
  9179. settings():GetService("NetworkSettings").IncommingReplicationLag = args[1]
  9180. end
  9181. end)
  9182.  
  9183. addcmd('nopurchaseprompts',{'noprompts'},
  9184. function(args, speaker)
  9185. game:GetService("CoreGui").PurchasePromptApp.PurchasePromptUI.Visible = false
  9186. end)
  9187.  
  9188. addcmd('showpurchaseprompts',{'showprompts'},
  9189. function(args, speaker)
  9190. game:GetService("CoreGui").PurchasePromptApp.PurchasePromptUI.Visible = true
  9191. end)
  9192.  
  9193. addcmd('age',{},
  9194. function(args, speaker)
  9195. local players = getPlayer(args[1], speaker)
  9196. local ages = {}
  9197. for i,v in pairs(players) do
  9198. local p = Players[v]
  9199. table.insert(ages, p.Name.."'s age is: "..p.AccountAge)
  9200. end
  9201. notify('Account Age',table.concat(ages, ',\n'))
  9202. end)
  9203.  
  9204. addcmd('chatage',{},
  9205. function(args, speaker)
  9206. local players = getPlayer(args[1], speaker)
  9207. local ages = {}
  9208. for i,v in pairs(players) do
  9209. local p = Players[v]
  9210. table.insert(ages, p.Name.."'s age is: "..p.AccountAge)
  9211. end
  9212. local chatString = table.concat(ages, ', ')
  9213. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(chatString, "All")
  9214. end)
  9215.  
  9216. addcmd('joindate',{'jd'},
  9217. function(args, speaker)
  9218. local players = getPlayer(args[1], speaker)
  9219. local dates = {}
  9220. notify("Loading",'Hold on a sec')
  9221. for i,v in pairs(players) do
  9222. local user = game:HttpGet("https://users.roblox.com/v1/users/"..Players[v].UserId)
  9223. local json = game:GetService("HttpService"):JSONDecode(user)
  9224. local date = json["created"]:sub(1,10)
  9225. local splitDates = string.split(date,"-")
  9226. table.insert(dates,Players[v].Name.." joined: "..splitDates[2].."/"..splitDates[3].."/"..splitDates[1])
  9227. end
  9228. notify('Join Date (Month/Day/Year)',table.concat(dates, ',\n'))
  9229. end)
  9230.  
  9231. addcmd('chatjoindate',{'cjd'},
  9232. function(args, speaker)
  9233. local players = getPlayer(args[1], speaker)
  9234. local dates = {}
  9235. notify("Loading",'Hold on a sec')
  9236. for i,v in pairs(players) do
  9237. local user = game:HttpGet("https://users.roblox.com/v1/users/"..Players[v].UserId)
  9238. local json = game:GetService("HttpService"):JSONDecode(user)
  9239. local date = json["created"]:sub(1,10)
  9240. local splitDates = string.split(date,"-")
  9241. table.insert(dates,Players[v].Name.." joined: "..splitDates[2].."/"..splitDates[3].."/"..splitDates[1])
  9242. end
  9243. local chatString = table.concat(dates, ', ')
  9244. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(chatString, "All")
  9245. end)
  9246.  
  9247. addcmd('copyname',{'copyuser'},
  9248. function(args, speaker)
  9249. local players = getPlayer(args[1], speaker)
  9250. for i,v in pairs(players) do
  9251. local name = tostring(Players[v].Name)
  9252. toClipboard(name)
  9253. end
  9254. end)
  9255.  
  9256. addcmd('userid',{'id'},
  9257. function(args, speaker)
  9258. local players = getPlayer(args[1], speaker)
  9259. for i,v in pairs(players) do
  9260. local id = tostring(Players[v].UserId)
  9261. notify('User ID',id)
  9262. end
  9263. end)
  9264.  
  9265. addcmd('copyid',{'copyuserid'},
  9266. function(args, speaker)
  9267. local players = getPlayer(args[1], speaker)
  9268. for i,v in pairs(players) do
  9269. local id = tostring(Players[v].UserId)
  9270. toClipboard(id)
  9271. end
  9272. end)
  9273.  
  9274. addcmd('appearanceid',{'aid'},
  9275. function(args, speaker)
  9276. local players = getPlayer(args[1], speaker)
  9277. for i,v in pairs(players) do
  9278. local aid = tostring(Players[v].CharacterAppearanceId)
  9279. notify('Appearance ID',aid)
  9280. end
  9281. end)
  9282.  
  9283. addcmd('copyappearanceid',{'caid'},
  9284. function(args, speaker)
  9285. local players = getPlayer(args[1], speaker)
  9286. for i,v in pairs(players) do
  9287. local aid = tostring(Players[v].CharacterAppearanceId)
  9288. toClipboard(aid)
  9289. end
  9290. end)
  9291.  
  9292. addcmd('goto',{'to'},
  9293. function(args, speaker)
  9294. local players = getPlayer(args[1], speaker)
  9295. for i,v in pairs(players)do
  9296. if Players[v].Character ~= nil then
  9297. if speaker.Character:FindFirstChild("Humanoid") then
  9298. speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  9299. end
  9300. wait(0.1)
  9301. getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0)
  9302. end
  9303. end
  9304. execCmd('breakvelocity')
  9305. end)
  9306.  
  9307. addcmd('tweengoto',{'tgoto','tto','tweento'},
  9308. function(args, speaker)
  9309. local players = getPlayer(args[1], speaker)
  9310. for i,v in pairs(players)do
  9311. if Players[v].Character ~= nil then
  9312. if speaker.Character:FindFirstChild("Humanoid") then
  9313. speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  9314. end
  9315. wait(0.1)
  9316. game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(1, Enum.EasingStyle.Linear), {CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(3,1,0)}):Play()
  9317. end
  9318. end
  9319. execCmd('breakvelocity')
  9320. end)
  9321.  
  9322. addcmd('vehiclegoto',{'vgoto','vtp','vehicletp'},
  9323. function(args, speaker)
  9324. local players = getPlayer(args[1], speaker)
  9325. for i,v in pairs(players)do
  9326. if Players[v].Character ~= nil then
  9327. local seat = speaker.Character.Humanoid.SeatPart
  9328. local vehicleModel = seat.Parent
  9329. repeat
  9330. if vehicleModel.ClassName ~= "Model" then
  9331. vehicleModel = vehicleModel.Parent
  9332. end
  9333. until vehicleModel.ClassName == "Model"
  9334. wait(0.1)
  9335. vehicleModel:MoveTo(getRoot(Players[v].Character).Position)
  9336. end
  9337. end
  9338. end)
  9339.  
  9340. local vnoclipParts = {}
  9341. addcmd('vehiclenoclip',{'vnoclip'},
  9342. function(args, speaker)
  9343. vnoclipParts = {}
  9344. local seat = speaker.Character.Humanoid.SeatPart
  9345. local vehicleModel = seat.Parent
  9346. repeat
  9347. if vehicleModel.ClassName ~= "Model" then
  9348. vehicleModel = vehicleModel.Parent
  9349. end
  9350. until vehicleModel.ClassName == "Model"
  9351. wait(0.1)
  9352. execCmd('noclip')
  9353. for i,v in pairs(vehicleModel:GetDescendants()) do
  9354. if v:IsA("BasePart") and v.CanCollide then
  9355. table.insert(vnoclipParts,v)
  9356. v.CanCollide = false
  9357. end
  9358. end
  9359. end)
  9360.  
  9361. addcmd('vehicleclip',{'vclip','unvnoclip','unvehiclenoclip'},
  9362. function(args, speaker)
  9363. execCmd('clip')
  9364. for i,v in pairs(vnoclipParts) do
  9365. v.CanCollide = true
  9366. end
  9367. end)
  9368.  
  9369. addcmd('clientbring',{'cbring'},
  9370. function(args, speaker)
  9371. local players = getPlayer(args[1], speaker)
  9372. for i,v in pairs(players)do
  9373. if Players[v].Character ~= nil then
  9374. if Players[v].Character:FindFirstChild("Humanoid") then
  9375. Players[v].Character:FindFirstChildOfClass('Humanoid').Sit = false
  9376. end
  9377. wait()
  9378. getRoot(Players[v].Character).CFrame = getRoot(speaker.Character).CFrame + Vector3.new(3,1,0)
  9379. end
  9380. end
  9381. end)
  9382.  
  9383. local bringT = {}
  9384. addcmd('loopbring',{},
  9385. function(args, speaker)
  9386. local players = getPlayer(args[1], speaker)
  9387. for i,v in pairs(players)do
  9388. spawn(function()
  9389. if Players[v].Name ~= speaker.Name and not FindInTable(bringT, Players[v].Name) then
  9390. table.insert(bringT, Players[v].Name)
  9391. local pchar=Players[v].Character
  9392. if pchar:FindFirstChild("Humanoid") then
  9393. pchar:FindFirstChildOfClass('Humanoid').Sit = false
  9394. end
  9395. wait()
  9396. local distance = 3
  9397. if args[2] and isNumber(args[2]) then
  9398. distance = args[2]
  9399. end
  9400. local lDelay = 0
  9401. if args[3] and isNumber(args[3]) then
  9402. lDelay = args[3]
  9403. end
  9404. repeat
  9405. pchar = Players[v].Character
  9406. for i,c in pairs(players) do
  9407. if pchar~= nil and getRoot(pchar) and speaker.Character ~= nil and getRoot(speaker.Character) then
  9408. getRoot(pchar).CFrame = getRoot(speaker.Character).CFrame + Vector3.new(distance,1,0)
  9409. end
  9410. end
  9411. wait(lDelay)
  9412. until not FindInTable(bringT, Players[v].Name)
  9413. end
  9414. end)
  9415. end
  9416. end)
  9417.  
  9418. addcmd('unloopbring',{'noloopbring'},
  9419. function(args, speaker)
  9420. local players = getPlayer(args[1], speaker)
  9421. for i,v in pairs(players)do
  9422. spawn(function()
  9423. for a,b in pairs(bringT) do if b == Players[v].Name then table.remove(bringT, a) end end
  9424. end)
  9425. end
  9426. end)
  9427.  
  9428. local walkto
  9429. addcmd('walkto',{'follow'},
  9430. function(args, speaker)
  9431. local players = getPlayer(args[1], speaker)
  9432. for i,v in pairs(players)do
  9433. if Players[v].Character ~= nil then
  9434. if speaker.Character:FindFirstChild("Humanoid") then
  9435. speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  9436. end
  9437. walkto = true
  9438. repeat wait()
  9439. speaker.Character.Humanoid:MoveTo(getRoot(Players[v].Character).Position)
  9440. until Players[v].Character == nil or not getRoot(Players[v].Character) or walkto == false
  9441. end
  9442. end
  9443. end)
  9444.  
  9445. addcmd('unwalkto',{'nowalkto','unfollow','nofollow'},
  9446. function(args, speaker)
  9447. walkto = false
  9448. end)
  9449.  
  9450. addcmd('freeze',{'fr'},
  9451. function(args, speaker)
  9452. local players = getPlayer(args[1], speaker)
  9453. if players ~= nil then
  9454. for i,v in pairs(players) do
  9455. spawn(function()
  9456. for i, x in next, Players[v].Character:GetDescendants() do
  9457. if x:IsA("BasePart") and not x.Anchored then
  9458. x.Anchored = true
  9459. end
  9460. end
  9461. end)
  9462. end
  9463. end
  9464. end)
  9465.  
  9466. addcmd('thaw',{'unfreeze','unfr'},
  9467. function(args, speaker)
  9468. local players = getPlayer(args[1], speaker)
  9469. if players ~= nil then
  9470. for i,v in pairs(players) do
  9471. spawn(function()
  9472. for i, x in next, Players[v].Character:GetDescendants() do
  9473. if x:IsA("BasePart") and x.Anchored then
  9474. x.Anchored = false
  9475. end
  9476. end
  9477. end)
  9478. end
  9479. end
  9480. end)
  9481.  
  9482. oofing = false
  9483. addcmd('loopoof',{},
  9484. function(args, speaker)
  9485. oofing = true
  9486. repeat wait(0.1)
  9487. for i,v in pairs(Players:GetPlayers()) do
  9488. if v.Character ~= nil and v.Character:FindFirstChild'Head' then
  9489. for _,x in pairs(v.Character.Head:GetChildren()) do
  9490. if x:IsA'Sound' then x.Playing = true end
  9491. end
  9492. end
  9493. end
  9494. until oofing == false
  9495. end)
  9496.  
  9497. addcmd('unloopoof',{},
  9498. function(args, speaker)
  9499. oofing = false
  9500. end)
  9501.  
  9502. local notifiedRespectFiltering = false
  9503. addcmd('muteboombox',{},
  9504. function(args, speaker)
  9505. if not notifiedRespectFiltering and game:GetService("SoundService").RespectFilteringEnabled then notifiedRespectFiltering = true notify('RespectFilteringEnabled','RespectFilteringEnabled is set to true (the command will still work but may only be clientsided)') end
  9506. local players = getPlayer(args[1], speaker)
  9507. if players ~= nil then
  9508. for i,v in pairs(players) do
  9509. spawn(function()
  9510. for i, x in next, Players[v].Character:GetDescendants() do
  9511. if x:IsA("Sound") and x.Playing == true then
  9512. x.Playing = false
  9513. end
  9514. end
  9515. for i, x in next, Players[v]:FindFirstChildOfClass("Backpack"):GetDescendants() do
  9516. if x:IsA("Sound") and x.Playing == true then
  9517. x.Playing = false
  9518. end
  9519. end
  9520. end)
  9521. end
  9522. end
  9523. end)
  9524.  
  9525. addcmd('unmuteboombox',{},
  9526. function(args, speaker)
  9527. if not notifiedRespectFiltering and game:GetService("SoundService").RespectFilteringEnabled then notifiedRespectFiltering = true notify('RespectFilteringEnabled','RespectFilteringEnabled is set to true (the command will still work but may only be clientsided)') end
  9528. local players = getPlayer(args[1], speaker)
  9529. if players ~= nil then
  9530. for i,v in pairs(players) do
  9531. spawn(function()
  9532. for i, x in next, Players[v].Character:GetDescendants() do
  9533. if x:IsA("Sound") and x.Playing == false then
  9534. x.Playing = true
  9535. end
  9536. end
  9537. end)
  9538. end
  9539. end
  9540. end)
  9541.  
  9542. addcmd('reset',{},
  9543. function(args, speaker)
  9544. speaker.Character:BreakJoints()
  9545. end)
  9546.  
  9547. addcmd('respawn',{},
  9548. function(args, speaker)
  9549. respawn(speaker)
  9550. end)
  9551.  
  9552. addcmd('refresh',{'re'},
  9553. function(args, speaker)
  9554. refresh(speaker)
  9555. end)
  9556.  
  9557. invisRunning = false
  9558. addcmd('invisible',{'invis'},
  9559. function(args, speaker)
  9560. if invisRunning then return end
  9561. invisRunning = true
  9562. -- Full credit to AmokahFox @V3rmillion
  9563. local Player = speaker
  9564. repeat wait(.1) until Player.Character
  9565. local Character = Player.Character
  9566. Character.Archivable = true
  9567. local IsInvis = false
  9568. local IsRunning = true
  9569. local InvisibleCharacter = Character:Clone()
  9570. InvisibleCharacter.Parent = game:GetService'Lighting'
  9571. local Void = workspace.FallenPartsDestroyHeight
  9572. InvisibleCharacter.Name = ""
  9573. local CF
  9574.  
  9575. local invisFix = game:GetService("RunService").Stepped:Connect(function()
  9576. pcall(function()
  9577. local IsInteger
  9578. if tostring(Void):find'-' then
  9579. IsInteger = true
  9580. else
  9581. IsInteger = false
  9582. end
  9583. local Pos = Player.Character.HumanoidRootPart.Position
  9584. local Pos_String = tostring(Pos)
  9585. local Pos_Seperate = Pos_String:split(', ')
  9586. local X = tonumber(Pos_Seperate[1])
  9587. local Y = tonumber(Pos_Seperate[2])
  9588. local Z = tonumber(Pos_Seperate[3])
  9589. if IsInteger == true then
  9590. if Y <= Void then
  9591. Respawn()
  9592. end
  9593. elseif IsInteger == false then
  9594. if Y >= Void then
  9595. Respawn()
  9596. end
  9597. end
  9598. end)
  9599. end)
  9600.  
  9601. for i,v in pairs(InvisibleCharacter:GetDescendants())do
  9602. if v:IsA("BasePart") then
  9603. if v.Name == "HumanoidRootPart" then
  9604. v.Transparency = 1
  9605. else
  9606. v.Transparency = .5
  9607. end
  9608. end
  9609. end
  9610.  
  9611. function Respawn()
  9612. IsRunning = false
  9613. if IsInvis == true then
  9614. pcall(function()
  9615. Player.Character = Character
  9616. wait()
  9617. Character.Parent = workspace
  9618. Character:FindFirstChildWhichIsA'Humanoid':Destroy()
  9619. IsInvis = false
  9620. InvisibleCharacter.Parent = nil
  9621. invisRunning = false
  9622. end)
  9623. elseif IsInvis == false then
  9624. pcall(function()
  9625. Player.Character = Character
  9626. wait()
  9627. Character.Parent = workspace
  9628. Character:FindFirstChildWhichIsA'Humanoid':Destroy()
  9629. TurnVisible()
  9630. end)
  9631. end
  9632. end
  9633.  
  9634. local invisDied
  9635. invisDied = InvisibleCharacter:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
  9636. Respawn()
  9637. invisDied:Disconnect()
  9638. end)
  9639.  
  9640. if IsInvis == true then return end
  9641. IsInvis = true
  9642. CF = workspace.CurrentCamera.CFrame
  9643. local CF_1 = Player.Character.HumanoidRootPart.CFrame
  9644. Character:MoveTo(Vector3.new(0,math.pi*1000000,0))
  9645. workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
  9646. wait(.2)
  9647. workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
  9648. InvisibleCharacter = InvisibleCharacter
  9649. Character.Parent = game:GetService'Lighting'
  9650. InvisibleCharacter.Parent = workspace
  9651. InvisibleCharacter.HumanoidRootPart.CFrame = CF_1
  9652. Player.Character = InvisibleCharacter
  9653. execCmd('fixcam')
  9654. Player.Character.Animate.Disabled = true
  9655. Player.Character.Animate.Disabled = false
  9656.  
  9657. function TurnVisible()
  9658. if IsInvis == false then return end
  9659. invisFix:Disconnect()
  9660. invisDied:Disconnect()
  9661. CF = workspace.CurrentCamera.CFrame
  9662. Character = Character
  9663. local CF_1 = Player.Character.HumanoidRootPart.CFrame
  9664. Character.HumanoidRootPart.CFrame = CF_1
  9665. InvisibleCharacter:Destroy()
  9666. Player.Character = Character
  9667. Character.Parent = workspace
  9668. IsInvis = false
  9669. Player.Character.Animate.Disabled = true
  9670. Player.Character.Animate.Disabled = false
  9671. invisDied = Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
  9672. Respawn()
  9673. invisDied:Disconnect()
  9674. end)
  9675. invisRunning = false
  9676. end
  9677. notify('Invisible','You now appear invisible to other players')
  9678. end)
  9679.  
  9680. addcmd('visible',{'vis'},
  9681. function(args, speaker)
  9682. TurnVisible()
  9683. end)
  9684.  
  9685. addcmd('toggleinvis',{},
  9686. function(args, speaker)
  9687. if invisRunning then
  9688. execCmd('visible')
  9689. else
  9690. execCmd('invisible')
  9691. end
  9692. end)
  9693.  
  9694. addcmd('strengthen',{},
  9695. function(args, speaker)
  9696. for _, child in pairs(speaker.Character:GetDescendants()) do
  9697. if child.ClassName == "Part" then
  9698. if args[1] then
  9699. child.CustomPhysicalProperties = PhysicalProperties.new(args[1], 0.3, 0.5)
  9700. else
  9701. child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5)
  9702. end
  9703. end
  9704. end
  9705. end)
  9706.  
  9707. addcmd('weaken',{},
  9708. function(args, speaker)
  9709. for _, child in pairs(speaker.Character:GetDescendants()) do
  9710. if child.ClassName == "Part" then
  9711. if args[1] then
  9712. child.CustomPhysicalProperties = PhysicalProperties.new(-args[1], 0.3, 0.5)
  9713. else
  9714. child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5)
  9715. end
  9716. end
  9717. end
  9718. end)
  9719.  
  9720. addcmd('unweaken',{'unstrengthen'},
  9721. function(args, speaker)
  9722. for _, child in pairs(speaker.Character:GetDescendants()) do
  9723. if child.ClassName == "Part" then
  9724. child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
  9725. end
  9726. end
  9727. end)
  9728.  
  9729. addcmd('breakvelocity',{},
  9730. function(args, speaker)
  9731. local BeenASecond = false
  9732. spawn(function()
  9733. repeat wait()
  9734. for i,v in pairs(speaker:GetDescendants()) do
  9735. if v:IsA("BasePart") then
  9736. v.Velocity = Vector3.new(0, 0, 0)
  9737. end
  9738. end
  9739. until BeenASecond
  9740. end)
  9741. spawn(function()
  9742. wait(1)
  9743. BeenASecond = true
  9744. end)
  9745. end)
  9746.  
  9747. addcmd('jpower',{'jumppower','jp'},
  9748. function(args, speaker)
  9749. local jpower = args[1] or 50
  9750. if isNumber(jpower) then
  9751. speaker.Character:FindFirstChildOfClass('Humanoid').JumpPower = jpower
  9752. end
  9753. end)
  9754.  
  9755. addcmd('gravity',{'grav'},
  9756. function(args, speaker)
  9757. local grav = args[1] or 196.2
  9758. if isNumber(grav) then
  9759. workspace.Gravity = grav
  9760. end
  9761. end)
  9762.  
  9763. addcmd('hipheight',{'hheight'},
  9764. function(args, speaker)
  9765. local height
  9766. if r15(speaker) then
  9767. height = args[1] or 2.1
  9768. else
  9769. height = args[1] or 0
  9770. end
  9771. speaker.Character:FindFirstChildOfClass('Humanoid').HipHeight = height
  9772. end)
  9773. --2.1
  9774. addcmd('dance',{},
  9775. function(args, speaker)
  9776. if not r15(speaker) then
  9777. local pchar=speaker.Character
  9778. local anim = nil
  9779. local dance1 = math.random(1,7)
  9780. if dance1 == 1 then
  9781. anim = '27789359'
  9782. end
  9783. if dance1 == 2 then
  9784. anim = '30196114'
  9785. end
  9786. if dance1 == 3 then
  9787. anim = '248263260'
  9788. end
  9789. if dance1 == 4 then
  9790. anim = '45834924'
  9791. end
  9792. if dance1 == 5 then
  9793. anim = '33796059'
  9794. end
  9795. if dance1 == 6 then
  9796. anim = '28488254'
  9797. end
  9798. if dance1 == 7 then
  9799. anim = '52155728'
  9800. end
  9801. local animation = Instance.new("Animation")
  9802. animation.AnimationId = "rbxassetid://"..anim
  9803. animTrack = pchar.Humanoid:LoadAnimation(animation)
  9804. animTrack:Play()
  9805. else
  9806. notify('R6 Required','This command requires the r6 rig type')
  9807. end
  9808. end)
  9809.  
  9810. addcmd('undance',{'nodance'},
  9811. function(args, speaker)
  9812. animTrack:Stop()
  9813. animTrack:Destroy()
  9814. end)
  9815.  
  9816. addcmd('nolimbs',{'rlimbs'},
  9817. function(args, speaker)
  9818. if r15(speaker) then
  9819. for i,v in pairs(speaker.Character:GetChildren()) do
  9820. if v:IsA("BasePart") and
  9821. v.Name == "RightUpperLeg" or
  9822. v.Name == "LeftUpperLeg" or
  9823. v.Name == "RightUpperArm" or
  9824. v.Name == "LeftUpperArm" then
  9825. v:Destroy()
  9826. end
  9827. end
  9828. else
  9829. for i,v in pairs(speaker.Character:GetChildren()) do
  9830. if v:IsA("BasePart") and
  9831. v.Name == "Right Leg" or
  9832. v.Name == "Left Leg" or
  9833. v.Name == "Right Arm" or
  9834. v.Name == "Left Arm" then
  9835. v:Destroy()
  9836. end
  9837. end
  9838. end
  9839. end)
  9840.  
  9841. addcmd('noarms',{'rarms'},
  9842. function(args, speaker)
  9843. if r15(speaker) then
  9844. for i,v in pairs(speaker.Character:GetChildren()) do
  9845. if v:IsA("BasePart") and
  9846. v.Name == "RightUpperArm" or
  9847. v.Name == "LeftUpperArm" then
  9848. v:Destroy()
  9849. end
  9850. end
  9851. else
  9852. for i,v in pairs(speaker.Character:GetChildren()) do
  9853. if v:IsA("BasePart") and
  9854. v.Name == "Right Arm" or
  9855. v.Name == "Left Arm" then
  9856. v:Destroy()
  9857. end
  9858. end
  9859. end
  9860. end)
  9861.  
  9862. addcmd('nolegs',{'rlegs'},
  9863. function(args, speaker)
  9864. if r15(speaker) then
  9865. for i,v in pairs(speaker.Character:GetChildren()) do
  9866. if v:IsA("BasePart") and
  9867. v.Name == "RightUpperLeg" or
  9868. v.Name == "LeftUpperLeg" then
  9869. v:Destroy()
  9870. end
  9871. end
  9872. else
  9873. for i,v in pairs(speaker.Character:GetChildren()) do
  9874. if v:IsA("BasePart") and
  9875. v.Name == "Right Leg" or
  9876. v.Name == "Left Leg" then
  9877. v:Destroy()
  9878. end
  9879. end
  9880. end
  9881. end)
  9882.  
  9883. addcmd('sit',{},
  9884. function(args, speaker)
  9885. speaker.Character:FindFirstChildOfClass("Humanoid").Sit = true
  9886. end)
  9887.  
  9888. addcmd('sitwalk',{},
  9889. function(args, speaker)
  9890. local anims = speaker.Character.Animate
  9891. local sit = anims.sit:FindFirstChildOfClass("Animation").AnimationId
  9892. anims.idle:FindFirstChildOfClass("Animation").AnimationId = sit
  9893. anims.walk:FindFirstChildOfClass("Animation").AnimationId = sit
  9894. anims.run:FindFirstChildOfClass("Animation").AnimationId = sit
  9895. anims.jump:FindFirstChildOfClass("Animation").AnimationId = sit
  9896. if r15(speaker) then
  9897. speaker.Character.Humanoid.HipHeight = 0.5
  9898. else
  9899. speaker.Character.Humanoid.HipHeight = -1.5
  9900. end
  9901. end)
  9902.  
  9903. function noSitFunc()
  9904. wait()
  9905. if Players.LocalPlayer.Character.Humanoid.Sit then
  9906. Players.LocalPlayer.Character.Humanoid.Sit = false
  9907. end
  9908. end
  9909. addcmd('nosit',{},
  9910. function(args, speaker)
  9911. if noSit then noSit:Disconnect() nositDied:Disconnect() end
  9912. noSit = Players.LocalPlayer.Character.Humanoid:GetPropertyChangedSignal("Sit"):connect(noSitFunc)
  9913. local function nositDiedFunc()
  9914. repeat wait() until speaker.Character ~= nil and speaker.Character:FindFirstChild('Humanoid')
  9915. noSit:Disconnect()
  9916. noSit = Players.LocalPlayer.Character.Humanoid:GetPropertyChangedSignal("Sit"):connect(noSitFunc)
  9917. end
  9918. nositDied = speaker.CharacterAdded:connect(nositDiedFunc)
  9919. end)
  9920.  
  9921. addcmd('unnosit',{},
  9922. function(args, speaker)
  9923. if noSit then noSit:Disconnect() nositDied:Disconnect() end
  9924. end)
  9925.  
  9926. addcmd('jump',{},
  9927. function(args, speaker)
  9928. speaker.Character:FindFirstChildOfClass("Humanoid").Jump = true
  9929. end)
  9930.  
  9931. local infjump
  9932. addcmd('infjump',{'infinitejump'},
  9933. function(args, speaker)
  9934. if infJump then infJump:Disconnect() end
  9935. infJump = game:GetService("UserInputService").JumpRequest:connect(function(Jump)
  9936. game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
  9937. end)
  9938. end)
  9939.  
  9940. addcmd('uninfjump',{'uninfinitejump','noinfjump','noinfinitejump'},
  9941. function(args, speaker)
  9942. if infJump then infJump:Disconnect() end
  9943. end)
  9944.  
  9945. addcmd('team',{},
  9946. function(args, speaker)
  9947. local teamname = nil
  9948. for a,b in pairs(game:GetService("Teams"):GetChildren()) do
  9949. local L_name = b.Name:lower()
  9950. local F = L_name:find(getstring(1))
  9951. if F == 1 then
  9952. teamname = b
  9953. end
  9954. end
  9955. speaker.Team = teamname
  9956. end)
  9957.  
  9958. addcmd('nobgui',{'unbgui','nobillboardgui','unbillboardgui','noname','rohg'},
  9959. function(args, speaker)
  9960. for i,v in pairs(speaker.Character:GetDescendants())do
  9961. if v:IsA("BillboardGui") or v:IsA("SurfaceGui") then
  9962. v:Destroy()
  9963. end
  9964. end
  9965. end)
  9966.  
  9967. addcmd('spasm',{},
  9968. function(args, speaker)
  9969. if not r15(speaker) then
  9970. local pchar=speaker.Character
  9971. local AnimationId = "33796059"
  9972. SpasmAnim = Instance.new("Animation")
  9973. SpasmAnim.AnimationId = "rbxassetid://"..AnimationId
  9974. Spasm = pchar.Humanoid:LoadAnimation(SpasmAnim)
  9975. Spasm:Play()
  9976. Spasm:AdjustSpeed(99)
  9977. else
  9978. notify('R6 Required','This command requires the r6 rig type')
  9979. end
  9980. end)
  9981.  
  9982. addcmd('unspasm',{'nospasm'},
  9983. function(args, speaker)
  9984. Spasm:Stop()
  9985. SpasmAnim:Destroy()
  9986. end)
  9987.  
  9988. addcmd('headthrow',{},
  9989. function(args, speaker)
  9990. if not r15(speaker) then
  9991. local AnimationId = "35154961"
  9992. local Anim = Instance.new("Animation")
  9993. Anim.AnimationId = "rbxassetid://"..AnimationId
  9994. local k = speaker.Character.Humanoid:LoadAnimation(Anim)
  9995. k:Play(0)
  9996. k:AdjustSpeed(1)
  9997. else
  9998. notify('R6 Required','This command requires the r6 rig type')
  9999. end
  10000. end)
  10001.  
  10002. addcmd('animation',{'anim'},
  10003. function(args, speaker)
  10004. if not r15(speaker) then
  10005. local pchar=speaker.Character
  10006. local AnimationId = tostring(args[1])
  10007. local Anim = Instance.new("Animation")
  10008. Anim.AnimationId = "rbxassetid://"..AnimationId
  10009. local k = pchar.Humanoid:LoadAnimation(Anim)
  10010. k:Play()
  10011. if args[2] then
  10012. k:AdjustSpeed(tostring(args[2]))
  10013. end
  10014. else
  10015. notify('R6 Required','This command requires the r6 rig type')
  10016. end
  10017. end)
  10018.  
  10019. addcmd('noanim',{},
  10020. function(args, speaker)
  10021. speaker.Character.Animate.Disabled = true
  10022. end)
  10023.  
  10024. addcmd('reanim',{},
  10025. function(args, speaker)
  10026. speaker.Character.Animate.Disabled = false
  10027. end)
  10028.  
  10029. addcmd('animspeed', {},
  10030. function(args, speaker)
  10031. local Char = speaker.Character
  10032. local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
  10033.  
  10034. for i,v in next, Hum:GetPlayingAnimationTracks() do
  10035. v:AdjustSpeed(tonumber(args[1] or 1))
  10036. end
  10037. end)
  10038.  
  10039. addcmd('stopanimations', {'stopanims','stopanim'},
  10040. function(args, speaker)
  10041. local Char = speaker.Character
  10042. local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
  10043.  
  10044. for i,v in next, Hum:GetPlayingAnimationTracks() do
  10045. v:Stop()
  10046. end
  10047. end)
  10048.  
  10049. addcmd('tpposition',{'tppos'},
  10050. function(args, speaker)
  10051. if #args < 3 then return end
  10052. local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
  10053. local char = speaker.Character
  10054. if char and getRoot(char) then
  10055. getRoot(char).CFrame = CFrame.new(tpX,tpY,tpZ)
  10056. end
  10057. end)
  10058.  
  10059. addcmd('tweentpposition',{'ttppos'},
  10060. function(args, speaker)
  10061. if #args < 3 then return end
  10062. local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
  10063. local char = speaker.Character
  10064. if char and getRoot(char) then
  10065. game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(1, Enum.EasingStyle.Linear), {CFrame = CFrame.new(tpX,tpY,tpZ)}):Play()
  10066. end
  10067. end)
  10068.  
  10069. addcmd('offset',{},
  10070. function(args, speaker)
  10071. if #args < 3 then return end
  10072. local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
  10073. local char = speaker.Character
  10074. if char and getRoot(char) then
  10075. getRoot(char).CFrame = getRoot(char).CFrame + Vector3.new(tpX,tpY,tpZ)
  10076. end
  10077. end)
  10078.  
  10079. addcmd('tweenoffset',{'toffset'},
  10080. function(args, speaker)
  10081. if #args < 3 then return end
  10082. local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
  10083. local char = speaker.Character
  10084. if char and getRoot(char) then
  10085. game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(1, Enum.EasingStyle.Linear), {CFrame = CFrame.new(tpX,tpY,tpZ)}):Play()
  10086. end
  10087. end)
  10088.  
  10089. addcmd('clickteleport',{},
  10090. function(args, speaker)
  10091. if speaker == Players.LocalPlayer then
  10092. notify('Click TP','Go to Settings>Keybinds>Add to set up click tp')
  10093. end
  10094. end)
  10095.  
  10096. addcmd('clickdelete',{},
  10097. function(args, speaker)
  10098. if speaker == Players.LocalPlayer then
  10099. notify('Click Delete','Go to Settings>Keybinds>Add to set up click delete')
  10100. end
  10101. end)
  10102.  
  10103. addcmd('getposition',{'getpos','notifypos','notifyposition'},
  10104. function(args, speaker)
  10105. local players = getPlayer(args[1], speaker)
  10106. for i,v in pairs(players)do
  10107. local char = Players[v].Character
  10108. if char and getRoot(char) then
  10109. local pos = tostring(getRoot(char).Position)
  10110. notify('Current Position',pos)
  10111. end
  10112. end
  10113. end)
  10114.  
  10115. addcmd('copyposition',{'copypos'},
  10116. function(args, speaker)
  10117. local players = getPlayer(args[1], speaker)
  10118. for i,v in pairs(players)do
  10119. local char = Players[v].Character
  10120. if char and getRoot(char) then
  10121. local pos = tostring(getRoot(char).Position)
  10122. toClipboard(pos)
  10123. end
  10124. end
  10125. end)
  10126.  
  10127. addcmd('speed',{'ws','walkspeed'},
  10128. function(args, speaker)
  10129. if args[2] then
  10130. local speed = args[2] or 16
  10131. if isNumber(speed) then
  10132. speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
  10133. end
  10134. else
  10135. local speed = args[1] or 16
  10136. if isNumber(speed) then
  10137. speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
  10138. end
  10139. end
  10140. end)
  10141.  
  10142. local speedDied
  10143. addcmd('loopspeed',{'loopws'},
  10144. function(args, speaker)
  10145. if args[2] then
  10146. local speed = args[2] or 16
  10147. if isNumber(speed) then
  10148. speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
  10149. local function speedChangedFunc()
  10150. speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
  10151. end
  10152. speedChanged = speaker.Character:FindFirstChildOfClass('Humanoid'):GetPropertyChangedSignal("WalkSpeed"):connect(speedChangedFunc)
  10153. speedDied = speaker.CharacterAdded:connect(function()
  10154. speedChanged:Disconnect()
  10155. repeat wait() until speaker.Character:FindFirstChildOfClass('Humanoid')
  10156. speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
  10157. speedChanged = speaker.Character:FindFirstChildOfClass('Humanoid'):GetPropertyChangedSignal("WalkSpeed"):connect(speedChangedFunc)
  10158. end)
  10159. end
  10160. else
  10161. local speed = args[1] or 16
  10162. if isNumber(speed) then
  10163. speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
  10164. local function speedChangedFunc()
  10165. speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
  10166. end
  10167. speedChanged = speaker.Character:FindFirstChildOfClass('Humanoid'):GetPropertyChangedSignal("WalkSpeed"):connect(speedChangedFunc)
  10168. speedDied = speaker.CharacterAdded:connect(function()
  10169. speedChanged:Disconnect()
  10170. repeat wait() until speaker.Character:FindFirstChildOfClass('Humanoid')
  10171. speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = speed
  10172. speedChanged = speaker.Character:FindFirstChildOfClass('Humanoid'):GetPropertyChangedSignal("WalkSpeed"):connect(speedChangedFunc)
  10173. end)
  10174. end
  10175. end
  10176. end)
  10177.  
  10178. addcmd('unloopspeed',{'unloopws'},
  10179. function(args, speaker)
  10180. speedChanged:Disconnect()
  10181. speedDied:Disconnect()
  10182. speaker.Character:FindFirstChildOfClass('Humanoid').WalkSpeed = 16
  10183. end)
  10184.  
  10185. addcmd('tools',{'gears'},
  10186. function(args, speaker)
  10187. local function copy(instance)
  10188. for i,c in pairs(instance:GetChildren())do
  10189. if c:IsA('Tool') or c:IsA('HopperBin') then
  10190. c:Clone().Parent = speaker:FindFirstChildOfClass("Backpack")
  10191. end
  10192. copy(c)
  10193. end
  10194. end
  10195. copy(game:GetService("Lighting"))
  10196. local function copy(instance)
  10197. for i,c in pairs(instance:GetChildren())do
  10198. if c:IsA('Tool') or c:IsA('HopperBin') then
  10199. c:Clone().Parent = speaker:FindFirstChildOfClass("Backpack")
  10200. end
  10201. copy(c)
  10202. end
  10203. end
  10204. copy(game:GetService("ReplicatedStorage"))
  10205. notify('Tools','Copied tools from ReplicatedStorage and Lighting')
  10206. end)
  10207.  
  10208. addcmd('notools',{'rtools','clrtools','removetools','deletetools','dtools'},
  10209. function(args, speaker)
  10210. for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetDescendants()) do
  10211. if v:IsA('Tool') or v:IsA('HopperBin') then
  10212. v:destroy()
  10213. end
  10214. end
  10215. for i,v in pairs(speaker.Character:GetDescendants()) do
  10216. if v:IsA('Tool') or v:IsA('HopperBin') then
  10217. v:destroy()
  10218. end
  10219. end
  10220. end)
  10221.  
  10222. addcmd('deleteselectedtool',{'dst'},
  10223. function(args, speaker)
  10224. for i,v in pairs(speaker.Character:GetDescendants()) do
  10225. if v:IsA('Tool') or v:IsA('HopperBin') then
  10226. v:destroy()
  10227. end
  10228. end
  10229. end)
  10230.  
  10231. addcmd('console',{},
  10232. function(args, speaker)
  10233. -- Thanks wally!!
  10234. notify("Loading",'Hold on a sec')
  10235. local _, str = pcall(function()
  10236. return game:HttpGet("https://pastebin.com/raw/i35eCznS", true)
  10237. end)
  10238.  
  10239. local s, e = loadstring(str)
  10240. if typeof(s) ~= "function" then
  10241. return
  10242. end
  10243.  
  10244. local success, message = pcall(s)
  10245. if (not success) then
  10246. if printconsole then
  10247. printconsole(message)
  10248. elseif printoutput then
  10249. printoutput(message)
  10250. end
  10251. end
  10252. wait(1)
  10253. notify('Console','Press F9 to open the console')
  10254. end)
  10255.  
  10256. addcmd('explorer',{'dex'},
  10257. function(args, speaker)
  10258. if PARENT:FindFirstChild'Dex' then
  10259. PARENT.Dex:Destroy();
  10260. end
  10261. notify("Loading",'Hold on a sec')
  10262. local Dex = game:GetObjects("rbxassetid://3567096419")[1]
  10263. Dex.Name = 'Dex'
  10264. Dex.Parent = PARENT
  10265.  
  10266. local function Load(Obj, Url)
  10267. local function GiveOwnGlobals(Func, Script)
  10268. local Fenv = {}
  10269. local RealFenv = {script = Script}
  10270. local FenvMt = {}
  10271. FenvMt.__index = function(a,b)
  10272. if RealFenv[b] == nil then
  10273. return getfenv()[b]
  10274. else
  10275. return RealFenv[b]
  10276. end
  10277. end
  10278. FenvMt.__newindex = function(a, b, c)
  10279. if RealFenv[b] == nil then
  10280. getfenv()[b] = c
  10281. else
  10282. RealFenv[b] = c
  10283. end
  10284. end
  10285. setmetatable(Fenv, FenvMt)
  10286. setfenv(Func, Fenv)
  10287. return Func
  10288. end
  10289. local function LoadScripts(Script)
  10290. if Script.ClassName == "Script" or Script.ClassName == "LocalScript" then
  10291. spawn(function()
  10292. GiveOwnGlobals(loadstring(Script.Source, "=" .. Script:GetFullName()), Script)()
  10293. end)
  10294. end
  10295. for i,v in pairs(Script:GetChildren()) do
  10296. LoadScripts(v)
  10297. end
  10298. end
  10299. LoadScripts(Obj)
  10300. end
  10301.  
  10302. Load(Dex)
  10303. end)
  10304.  
  10305. addcmd('remotespy',{'rspy'},
  10306. function(args, speaker)
  10307. notify("Loading",'Hold on a sec')
  10308. loadstring(game:HttpGet("https://raw.githubusercontent.com/Nootchtai/FrostHook_Spy/master/Spy.lua"))()
  10309. end)
  10310.  
  10311. local loopgoto = nil
  10312. addcmd('loopgoto',{},
  10313. function(args, speaker)
  10314. local players = getPlayer(args[1], speaker)
  10315. for i,v in pairs(players)do
  10316. loopgoto = nil
  10317. if speaker.Character:FindFirstChild("Humanoid") then
  10318. speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10319. end
  10320. wait()
  10321. loopgoto = Players[v]
  10322. local distance = 3
  10323. if args[2] and isNumber(args[2]) then
  10324. distance = args[2]
  10325. end
  10326. local lDelay = 0
  10327. if args[3] and isNumber(args[3]) then
  10328. lDelay = args[3]
  10329. end
  10330. repeat
  10331. if Players[v].Character ~= nil then
  10332. getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame + Vector3.new(distance,1,0)
  10333. end
  10334. wait(lDelay)
  10335. until loopgoto ~= Players[v]
  10336. end
  10337. end)
  10338.  
  10339. addcmd('unloopgoto',{'noloopgoto'},
  10340. function(args, speaker)
  10341. loopgoto = nil
  10342. end)
  10343.  
  10344. addcmd('headsit',{},
  10345. function(args, speaker)
  10346. local players = getPlayer(args[1], speaker)
  10347. for i,v in pairs(players)do
  10348. speaker.Character:FindFirstChildOfClass('Humanoid').Sit = true
  10349. headSit = game:GetService("RunService").Heartbeat:Connect(function()
  10350. if Players[v].Character ~= nil and getRoot(Players[v].Character) and getRoot(speaker.Character) then
  10351. if Players:FindFirstChild(Players[v].Name) and speaker.Character:FindFirstChildOfClass('Humanoid').Sit == true then
  10352. getRoot(speaker.Character).CFrame = getRoot(Players[v].Character).CFrame * CFrame.Angles(0,math.rad(0),0)* CFrame.new(0,1.6,0.4)
  10353. else
  10354. headSit:Disconnect()
  10355. end
  10356. end
  10357. end)
  10358. end
  10359. end)
  10360.  
  10361. addcmd('chat',{'say'},
  10362. function(args, speaker)
  10363. local cString = getstring(1)
  10364. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(cString, "All")
  10365. end)
  10366.  
  10367. spamming = false
  10368. spamspeed = 1
  10369. addcmd('spam',{},
  10370. function(args, speaker)
  10371. spamming = true
  10372. local spamstring = getstring(1)
  10373. repeat wait(spamspeed)
  10374. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(spamstring, "All")
  10375. until spamming == false
  10376. end)
  10377.  
  10378. addcmd('nospam',{'unspam'},
  10379. function(args, speaker)
  10380. spamming = false
  10381. end)
  10382.  
  10383. pmspamming = {}
  10384. addcmd('pmspam',{},
  10385. function(args, speaker)
  10386. local players = getPlayer(args[1], speaker)
  10387. for i,v in pairs(players)do
  10388. spawn(function()
  10389. if FindInTable(pmspamming, Players[v].Name) then return end
  10390. table.insert(pmspamming, Players[v].Name)
  10391. local pmspamstring = getstring(2)
  10392. repeat wait(spamspeed)
  10393. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..Players[v].Name.." "..pmspamstring, "All")
  10394. until not FindInTable(pmspamming, Players[v].Name)
  10395. end)
  10396. end
  10397. end)
  10398.  
  10399. addcmd('nopmspam',{'unpmspam'},
  10400. function(args, speaker)
  10401. local players = getPlayer(args[1], speaker)
  10402. for i,v in pairs(players)do
  10403. spawn(function()
  10404. for a,b in pairs(pmspamming) do
  10405. if b == Players[v].Name then
  10406. table.remove(pmspamming, a)
  10407. end
  10408. end
  10409. end)
  10410. end
  10411. end)
  10412.  
  10413. addcmd('spamspeed',{},
  10414. function(args, speaker)
  10415. local speed = args[1] or 1
  10416. if isNumber(speed) then
  10417. spamspeed = speed
  10418. end
  10419. end)
  10420.  
  10421. bubblechatting = false
  10422. local getBubblechat
  10423. addcmd('bubblechat',{},
  10424. function(args, speaker)
  10425. if bubblechatting then return end
  10426. bubblechatting = true
  10427. if getBubblechat then getBubblechat:Disconnect() end
  10428. getBubblechat = Players.PlayerAdded:connect(function(plr)
  10429. local chatfunc
  10430. chatfunc = plr.Chatted:connect(function(chat)
  10431. if bubblechatting == true then
  10432. game:GetService("Chat"):Chat(plr.Character.Head,chat,Enum.ChatColor.White)
  10433. else
  10434. chatfunc:Disconnect()
  10435. end
  10436. end)
  10437. end)
  10438. for i,v in pairs(Players:GetPlayers()) do
  10439. local chatfunc
  10440. chatfunc = v.Chatted:connect(function(chat)
  10441. if bubblechatting == true then
  10442. game:GetService("Chat"):Chat(v.Character.Head,chat,Enum.ChatColor.White)
  10443. else
  10444. chatfunc:Disconnect()
  10445. end
  10446. end)
  10447. end
  10448. end)
  10449.  
  10450. addcmd('unbubblechat',{'nobubblechat'},
  10451. function(args, speaker)
  10452. bubblechatting = false
  10453. if getBubblechat then getBubblechat:Disconnect() end
  10454. end)
  10455.  
  10456. addcmd('safechat',{},
  10457. function(args, speaker)
  10458. speaker.SetSuperSafeChat(true)
  10459. end)
  10460.  
  10461. addcmd('nosafechat',{'disablesafechat','unsafechat'},
  10462. function(args, speaker)
  10463. speaker.SetSuperSafeChat(false)
  10464. end)
  10465.  
  10466. addcmd('blockhead',{},
  10467. function(args, speaker)
  10468. speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy()
  10469. end)
  10470.  
  10471. addcmd('blockhats',{},
  10472. function(args, speaker)
  10473. for _,v in pairs(speaker.Character.Humanoid:GetAccessories()) do
  10474. for i,c in pairs(v:GetDescendants()) do
  10475. if c:IsA("SpecialMesh") then
  10476. c:Destroy()
  10477. end
  10478. end
  10479. end
  10480. end)
  10481.  
  10482. addcmd('blocktool',{},
  10483. function(args, speaker)
  10484. for _,v in pairs(speaker.Character:GetChildren()) do
  10485. if v:IsA("Tool") or v:IsA("HopperBin") then
  10486. for i,c in pairs(v:GetDescendants()) do
  10487. if c:IsA("SpecialMesh") then
  10488. c:Destroy()
  10489. end
  10490. end
  10491. end
  10492. end
  10493. end)
  10494.  
  10495. addcmd('creeper',{},
  10496. function(args, speaker)
  10497. if r15(speaker) then
  10498. speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy()
  10499. speaker.Character.LeftUpperArm:Destroy()
  10500. speaker.Character.RightUpperArm:Destroy()
  10501. speaker.Character:FindFirstChildOfClass("Humanoid"):RemoveAccessories()
  10502. else
  10503. speaker.Character.Head:FindFirstChildOfClass("SpecialMesh"):Destroy()
  10504. speaker.Character["Left Arm"]:Destroy()
  10505. speaker.Character["Right Arm"]:Destroy()
  10506. speaker.Character:FindFirstChildOfClass("Humanoid"):RemoveAccessories()
  10507. end
  10508. end)
  10509.  
  10510. addcmd('bang',{'rape'},
  10511. function(args, speaker)
  10512. if not r15(speaker) then
  10513. execCmd('unbang')
  10514. wait()
  10515. local players = getPlayer(args[1], speaker)
  10516. for i,v in pairs(players)do
  10517. bangAnim = Instance.new("Animation")
  10518. bangAnim.AnimationId = "rbxassetid://148840371"
  10519. bang = speaker.Character.Humanoid:LoadAnimation(bangAnim)
  10520. bang:Play(.1, 1, 1)
  10521. if args[2] then
  10522. bang:AdjustSpeed(args[2])
  10523. else
  10524. bang:AdjustSpeed(3)
  10525. end
  10526. local bangplr = Players[v].Name
  10527. bangDied = speaker.Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
  10528. bangLoop:Disconnect()
  10529. bang:Stop()
  10530. bangAnim:Destroy()
  10531. bangDied:Disconnect()
  10532. end)
  10533. bangLoop = game:GetService('RunService').Stepped:connect(function()
  10534. pcall(function()
  10535. getRoot(Players.LocalPlayer.Character).CFrame = getRoot(Players[bangplr].Character).CFrame
  10536. end)
  10537. end)
  10538. end
  10539. else
  10540. notify('R6 Required','This command requires the r6 rig type')
  10541. end
  10542. end)
  10543.  
  10544. addcmd('unbang',{'unrape'},
  10545. function(args, speaker)
  10546. if bangLoop then
  10547. bangLoop:Disconnect()
  10548. bangDied:Disconnect()
  10549. bang:Stop()
  10550. bangAnim:Destroy()
  10551. end
  10552. end)
  10553.  
  10554. addcmd('carpet',{},
  10555. function(args, speaker)
  10556. if not r15(speaker) then
  10557. execCmd('uncarpet')
  10558. wait()
  10559. local players = getPlayer(args[1], speaker)
  10560. for i,v in pairs(players)do
  10561. carpetAnim = Instance.new("Animation")
  10562. carpetAnim.AnimationId = "rbxassetid://282574440"
  10563. carpet = speaker.Character.Humanoid:LoadAnimation(carpetAnim)
  10564. carpet:Play(.1, 1, 1)
  10565. local carpetplr = Players[v].Name
  10566. carpetDied = speaker.Character:FindFirstChildOfClass'Humanoid'.Died:Connect(function()
  10567. carpetLoop:Disconnect()
  10568. carpet:Stop()
  10569. carpetAnim:Destroy()
  10570. carpetDied:Disconnect()
  10571. end)
  10572. carpetLoop = game:GetService('RunService').Heartbeat:connect(function()
  10573. pcall(function()
  10574. getRoot(Players.LocalPlayer.Character).CFrame = getRoot(Players[carpetplr].Character).CFrame
  10575. end)
  10576. end)
  10577. end
  10578. else
  10579. notify('R6 Required','This command requires the r6 rig type')
  10580. end
  10581. end)
  10582.  
  10583. addcmd('uncarpet',{'nocarpet'},
  10584. function(args, speaker)
  10585. if carpetLoop then
  10586. carpetLoop:Disconnect()
  10587. carpetDied:Disconnect()
  10588. carpet:Stop()
  10589. carpetAnim:Destroy()
  10590. end
  10591. end)
  10592.  
  10593. addcmd('friend',{},
  10594. function(args, speaker)
  10595. local players = getPlayer(args[1], speaker)
  10596. for i,v in pairs(players)do
  10597. speaker:RequestFriendship(v)
  10598. end
  10599. end)
  10600.  
  10601. addcmd('unfriend',{},
  10602. function(args, speaker)
  10603. local players = getPlayer(args[1], speaker)
  10604. for i,v in pairs(players)do
  10605. speaker:RevokeFriendship(v)
  10606. end
  10607. end)
  10608.  
  10609. addcmd('bringpart',{},
  10610. function(args, speaker)
  10611. for i,v in pairs(workspace:GetDescendants()) do
  10612. if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10613. v.CFrame = getRoot(speaker.Character).CFrame
  10614. end
  10615. end
  10616. end)
  10617.  
  10618. addcmd('bringpartclass',{'bpc'},
  10619. function(args, speaker)
  10620. for i,v in pairs(workspace:GetDescendants()) do
  10621. if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10622. v.CFrame = getRoot(speaker.Character).CFrame
  10623. end
  10624. end
  10625. end)
  10626.  
  10627. gotopartDelay = 0.1
  10628. addcmd('gotopart',{},
  10629. function(args, speaker)
  10630. for i,v in pairs(workspace:GetDescendants()) do
  10631. if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10632. if speaker.Character:FindFirstChild("Humanoid") then
  10633. speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10634. end
  10635. wait(gotopartDelay)
  10636. getRoot(speaker.Character).CFrame = v.CFrame
  10637. end
  10638. end
  10639. end)
  10640.  
  10641. addcmd('tweengotopart',{'tgotopart'},
  10642. function(args, speaker)
  10643. for i,v in pairs(workspace:GetDescendants()) do
  10644. if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10645. if speaker.Character:FindFirstChild("Humanoid") then
  10646. speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10647. end
  10648. wait(gotopartDelay)
  10649. getRoot(speaker.Character).CFrame = v.CFrame
  10650. game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(1, Enum.EasingStyle.Linear), {CFrame = v.CFrame}):Play()
  10651. end
  10652. end
  10653. end)
  10654.  
  10655. addcmd('gotopartclass',{'gpc'},
  10656. function(args, speaker)
  10657. for i,v in pairs(workspace:GetDescendants()) do
  10658. if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10659. if speaker.Character:FindFirstChild("Humanoid") then
  10660. speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10661. end
  10662. wait(gotopartDelay)
  10663. getRoot(speaker.Character).CFrame = v.CFrame
  10664. end
  10665. end
  10666. end)
  10667.  
  10668. addcmd('tweengotopartclass',{'tgpc'},
  10669. function(args, speaker)
  10670. for i,v in pairs(workspace:GetDescendants()) do
  10671. if v.ClassName:lower() == getstring(1):lower() and v:IsA("BasePart") then
  10672. if speaker.Character:FindFirstChild("Humanoid") then
  10673. speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10674. end
  10675. wait(gotopartDelay)
  10676. game:GetService("TweenService"):Create(getRoot(speaker.Character), TweenInfo.new(1, Enum.EasingStyle.Linear), {CFrame = v.CFrame}):Play()
  10677. end
  10678. end
  10679. end)
  10680.  
  10681. addcmd('gotopartdelay',{},
  10682. function(args, speaker)
  10683. local gtpDelay = args[1] or 0.1
  10684. if isNumber(gtpDelay) then
  10685. gotopartDelay = gtpDelay
  10686. end
  10687. end)
  10688.  
  10689. addcmd('noclickdetectorlimits',{'nocdlimits','removecdlimits'},
  10690. function(args, speaker)
  10691. for i,v in pairs(workspace:GetDescendants()) do
  10692. if v:IsA("ClickDetector") then
  10693. v.MaxActivationDistance = math.huge
  10694. end
  10695. end
  10696. end)
  10697.  
  10698. addcmd('fireclickdetectors',{'firecd','firecds'},
  10699. function(args, speaker)
  10700. if fireclickdetector then
  10701. for i,v in pairs(workspace:GetDescendants()) do
  10702. if v:IsA("ClickDetector") then
  10703. fireclickdetector(v)
  10704. end
  10705. end
  10706. else
  10707. notify('Incompatible Exploit','Your exploit does not support this command (missing fireclickdetector)')
  10708. end
  10709. end)
  10710.  
  10711. addcmd('simulationradius',{'simradius'},
  10712. function(args, speaker)
  10713. if sethidden then
  10714. simRadLoop = game:GetService('RunService').Stepped:connect(function()
  10715. speaker.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
  10716. sethidden(speaker,"SimulationRadius", math.pow(math.huge,math.huge)*math.huge)
  10717. end)
  10718. else
  10719. notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
  10720. end
  10721. end)
  10722.  
  10723. addcmd('nosimulationradius',{'nosimradius','unsimradius'},
  10724. function(args, speaker)
  10725. if sethidden then
  10726. if simRadLoop then simRadLoop:Disconnect() end
  10727. wait()
  10728. speaker.MaximumSimulationRadius = 139
  10729. sethidden(speaker, "SimulationRadius", 139)
  10730. else
  10731. notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
  10732. end
  10733. end)
  10734.  
  10735. addcmd('grabtools',{},
  10736. function(args, speaker)
  10737. for i,v in pairs(workspace:GetChildren()) do
  10738. spawn(function()
  10739. if v:IsA("Tool") or v:IsA("HopperBin") then
  10740. if v:FindFirstChild("Handle") then
  10741. repeat
  10742. wait()
  10743. if getRoot(speaker.Character) then
  10744. v.Handle.CFrame = getRoot(speaker.Character).CFrame
  10745. end
  10746. until v.Parent == speaker.Character
  10747. end
  10748. end
  10749. end)
  10750. end
  10751. grabtoolsFunc = workspace.ChildAdded:connect(function(part)
  10752. if part:IsA("Tool") or part:IsA("HopperBin") then
  10753. if part:FindFirstChild("Handle") then
  10754. repeat
  10755. wait()
  10756. if getRoot(speaker.Character) then
  10757. part.Handle.CFrame = getRoot(speaker.Character).CFrame
  10758. end
  10759. until part.Parent == speaker.Character
  10760. end
  10761. end
  10762. end)
  10763. notify('Grabtools','Picking up any dropped tools')
  10764. end)
  10765.  
  10766. addcmd('nograbtools',{'ungrabtools'},
  10767. function(args, speaker)
  10768. grabtoolsFunc:Disconnect()
  10769. notify('Grabtools','Grabtools has been disabled')
  10770. end)
  10771.  
  10772. addcmd('light',{},
  10773. function(args, speaker)
  10774. local light = Instance.new("PointLight", getRoot(speaker.Character))
  10775. light.Range = 30
  10776. if args[1] then
  10777. light.Brightness = args[1]
  10778. light.Range = args[1]
  10779. else
  10780. light.Brightness = 5
  10781. end
  10782. end)
  10783.  
  10784. addcmd('unlight',{'nolight'},
  10785. function(args, speaker)
  10786. for i,v in pairs(speaker.Character:GetDescendants()) do
  10787. if v.ClassName == "PointLight" then
  10788. v:Destroy()
  10789. end
  10790. end
  10791. end)
  10792.  
  10793. addcmd('copytools',{},
  10794. function(args, speaker)
  10795. local players = getPlayer(args[1], speaker)
  10796. for i,v in pairs(players)do
  10797. spawn(function()
  10798. for i,v in pairs(Players[v]:FindFirstChildOfClass("Backpack"):GetChildren()) do
  10799. if v:IsA('Tool') or v:IsA('HopperBin') then
  10800. v:Clone().Parent = speaker:FindFirstChildOfClass("Backpack")
  10801. end
  10802. end
  10803. end)
  10804. end
  10805. end)
  10806.  
  10807. addcmd('naked',{},
  10808. function(args, speaker)
  10809. for i,v in pairs(speaker.Character:GetDescendants()) do
  10810. if v:IsA("Clothing") or v:IsA("ShirtGraphic") then
  10811. v:Destroy()
  10812. end
  10813. end
  10814. end)
  10815.  
  10816. addcmd('noface',{'removeface'},
  10817. function(args, speaker)
  10818. for i,v in pairs(speaker.Character:GetDescendants()) do
  10819. if v:IsA("Decal") and v.Name == 'face' then
  10820. v:Destroy()
  10821. end
  10822. end
  10823. end)
  10824.  
  10825. addcmd('spawnpoint',{'spawn'},
  10826. function(args, speaker)
  10827. spawnpos = getRoot(speaker.Character).CFrame
  10828. spawnpoint = true
  10829. spDelay = tonumber(args[1]) or 0.1
  10830. notify('Spawn Point','Spawn point created at '..tostring(spawnpos))
  10831. end)
  10832.  
  10833. addcmd('nospawnpoint',{'nospawn','removespawnpoint'},
  10834. function(args, speaker)
  10835. spawnpoint = false
  10836. notify('Spawn Point','Removed spawn point')
  10837. end)
  10838.  
  10839. addcmd('flashback',{'diedtp'},
  10840. function(args, speaker)
  10841. if lastDeath ~= nil then
  10842. if speaker.Character:FindFirstChild("Humanoid") then
  10843. speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  10844. end
  10845. wait()
  10846. getRoot(speaker.Character).CFrame = lastDeath
  10847. end
  10848. end)
  10849.  
  10850. addcmd('hatspin',{'spinhats'},
  10851. function(args, speaker)
  10852. execCmd('unhatspin')
  10853. wait(.5)
  10854. for _,v in pairs(speaker.Character.Humanoid:GetAccessories()) do
  10855. local keep = Instance.new("BodyPosition") keep.Parent = v.Handle keep.Name = "no"
  10856. local spin = Instance.new("BodyAngularVelocity") spin.Parent = v.Handle spin.Name = "ha"
  10857. v.Handle:FindFirstChildOfClass("Weld"):Destroy()
  10858. if args[1] then
  10859. spin.AngularVelocity = Vector3.new(0, args[1], 0)
  10860. spin.MaxTorque = Vector3.new(0, args[1] * 2, 0)
  10861. else
  10862. spin.AngularVelocity = Vector3.new(0, 100, 0)
  10863. spin.MaxTorque = Vector3.new(0, 200, 0)
  10864. end
  10865. keep.P = 30000
  10866. keep.D = 50
  10867. spinhats = game:GetService('RunService').Stepped:connect(function()
  10868. pcall(function()
  10869. keep.Position = Players.LocalPlayer.Character.Head.Position
  10870. end)
  10871. end)
  10872. end
  10873. end)
  10874.  
  10875. addcmd('unhatspin',{'unspinhats'},
  10876. function(args, speaker)
  10877. if spinhats then
  10878. spinhats:Disconnect()
  10879. end
  10880. for _,v in pairs(speaker.Character.Humanoid:GetAccessories()) do
  10881. v.Parent = workspace
  10882. v.Handle.no:Destroy()
  10883. v.Handle.ha:Destroy()
  10884. wait()
  10885. v.Parent = speaker.Character
  10886. end
  10887. end)
  10888.  
  10889. addcmd('vr',{},
  10890. function(args, speaker)
  10891. -- Full credit to Abacaxl @V3rmillion
  10892. -- Free for all thanks to Zinnia
  10893. loadstring(game:HttpGet('https://ghostbin.co/paste/yb288/raw'))()
  10894. end)
  10895.  
  10896. addcmd('split',{},
  10897. function(args, speaker)
  10898. if r15(speaker) then
  10899. speaker.Character.UpperTorso.Waist:Destroy()
  10900. else
  10901. notify('R15 Required','This command requires the r15 rig type')
  10902. end
  10903. end)
  10904.  
  10905. addcmd('nilchar',{},
  10906. function(args, speaker)
  10907. if speaker.Character ~= nil then
  10908. speaker.Character.Parent = nil
  10909. end
  10910. end)
  10911.  
  10912. addcmd('unnilchar',{'nonilchar'},
  10913. function(args, speaker)
  10914. if speaker.Character ~= nil then
  10915. speaker.Character.Parent = workspace
  10916. end
  10917. end)
  10918.  
  10919. addcmd('noroot',{'removeroot','rroot'},
  10920. function(args, speaker)
  10921. if speaker.Character ~= nil then
  10922. local char = Players.LocalPlayer.Character
  10923. char.Parent = nil
  10924. char.HumanoidRootPart:Destroy()
  10925. char.Parent = workspace
  10926. end
  10927. end)
  10928.  
  10929. addcmd('equiptools',{},
  10930. function(args, speaker)
  10931. for i,v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
  10932. if v:IsA("Tool") or v:IsA("HopperBin") then
  10933. v.Parent = speaker.Character
  10934. end
  10935. end
  10936. end)
  10937.  
  10938. addcmd('dupetools',{'clonetools'},
  10939. function(args, speaker)
  10940. local ME = speaker
  10941. local LOOP_NUM = args[1] or 1
  10942. local tools, pos, pos1 = {}, ME.Character.HumanoidRootPart.CFrame, CFrame.new(math.random(-2e5, 2e5), 2e5, math.random(-2e5, 2e5))
  10943. for _ = 1, tonumber(tonumber(LOOP_NUM) or 1) do
  10944. ME.Character.HumanoidRootPart.CFrame = pos1
  10945. wait(.2)
  10946. ME.Character.HumanoidRootPart.Anchored = true
  10947. wait(.2)
  10948. ME.Character.Humanoid:UnequipTools()
  10949. for _, v in pairs(ME:FindFirstChildOfClass("Backpack"):GetChildren()) do
  10950. if v:IsA("Tool") and v:FindFirstChild("Handle") then
  10951. v.Parent = ME.Character
  10952. v.Handle.Anchored = true
  10953. v.Parent = workspace
  10954. table.insert(tools, v)
  10955. end
  10956. end
  10957. ME.Character:FindFirstChildOfClass("Humanoid"):ChangeState(15)
  10958. ME.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = pos
  10959. end
  10960. if type(firetouchinterest) == "function" then
  10961. for _, v in pairs(tools) do
  10962. pcall(coroutine.wrap(function()
  10963. v.Handle.Anchored = false
  10964. firetouchinterest(v.Handle, ME.Character:WaitForChild("HumanoidRootPart"), 0)
  10965. repeat
  10966. wait()
  10967. until v.Parent == ME.Character
  10968. firetouchinterest(v.Handle, ME.Character.HumanoidRootPart, 1)
  10969. end))
  10970. end
  10971. else
  10972. ME.Character.HumanoidRootPart.Anchored = true
  10973. wait(.15)
  10974. for _, v in pairs(tools) do
  10975. spawn(function()
  10976. v.Handle.Anchored = false
  10977. while v.Parent ~= ME.Character and game:GetService("RunService").RenderStepped:Wait() do
  10978. v.Handle.CFrame = ME.Character:WaitForChild("HumanoidRootPart").CFrame
  10979. end
  10980. end)
  10981. end
  10982. wait((function(num)
  10983. local e = 0
  10984. for _ = 1, num do
  10985. e = e + .1
  10986. end
  10987. return e
  10988. end)(#tools))
  10989. ME.Character.HumanoidRootPart.Anchored = false
  10990. end
  10991. end)
  10992.  
  10993. addcmd('fullbright',{'fb','fullbrightness'},
  10994. function(args, speaker)
  10995. game:GetService("Lighting").Brightness = 2
  10996. game:GetService("Lighting").ClockTime = 14
  10997. game:GetService("Lighting").FogEnd = 100000
  10998. game:GetService("Lighting").GlobalShadows = false
  10999. game:GetService("Lighting").OutdoorAmbient = Color3.fromRGB(128, 128, 128)
  11000. end)
  11001.  
  11002. addcmd('ambient',{},
  11003. function(args, speaker)
  11004. game:GetService("Lighting").Ambient = Color3.new(args[1],args[2],args[3])
  11005. game:GetService("Lighting").OutdoorAmbient = Color3.new(args[1],args[2],args[3])
  11006. end)
  11007.  
  11008. addcmd('day',{},
  11009. function(args, speaker)
  11010. game:GetService("Lighting").ClockTime = 14
  11011. end)
  11012.  
  11013. addcmd('night',{},
  11014. function(args, speaker)
  11015. game:GetService("Lighting").ClockTime = 0
  11016. end)
  11017.  
  11018. addcmd('nofog',{},
  11019. function(args, speaker)
  11020. game:GetService("Lighting").FogEnd = 100000
  11021. end)
  11022.  
  11023. addcmd('brightness',{},
  11024. function(args, speaker)
  11025. game:GetService("Lighting").Brightness = args[1]
  11026. end)
  11027.  
  11028. addcmd('globalshadows',{'gshadows'},
  11029. function(args, speaker)
  11030. game:GetService("Lighting").GlobalShadows = true
  11031. end)
  11032.  
  11033. addcmd('unglobalshadows',{'nogshadows','ungshadows','noglobalshadows'},
  11034. function(args, speaker)
  11035. game:GetService("Lighting").GlobalShadows = false
  11036. end)
  11037.  
  11038. origsettings = {abt = game:GetService("Lighting").Ambient, oabt = game:GetService("Lighting").OutdoorAmbient, brt = game:GetService("Lighting").Brightness, time = game:GetService("Lighting").ClockTime, fe = game:GetService("Lighting").FogEnd, fs = game:GetService("Lighting").FogStart, gs = game:GetService("Lighting").GlobalShadows}
  11039.  
  11040. addcmd('restorelighting',{'rlighting'},
  11041. function(args, speaker)
  11042. game:GetService("Lighting").Ambient = origsettings.abt
  11043. game:GetService("Lighting").OutdoorAmbient = origsettings.oabt
  11044. game:GetService("Lighting").Brightness = origsettings.brt
  11045. game:GetService("Lighting").ClockTime = origsettings.time
  11046. game:GetService("Lighting").FogEnd = origsettings.fe
  11047. game:GetService("Lighting").FogStart = origsettings.fs
  11048. game:GetService("Lighting").GlobalShadows = origsettings.gs
  11049. end)
  11050.  
  11051. addcmd('stun',{'platformstand'},
  11052. function(args, speaker)
  11053. speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
  11054. end)
  11055.  
  11056. addcmd('unstun',{'nostun','unplatformstand','noplatformstand'},
  11057. function(args, speaker)
  11058. speaker.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
  11059. end)
  11060.  
  11061. addcmd('drophats',{'drophat'},
  11062. function(args, speaker)
  11063. if speaker.Character then
  11064. for _,v in pairs(speaker.Character.Humanoid:GetAccessories()) do
  11065. v.Parent = workspace
  11066. end
  11067. end
  11068. end)
  11069.  
  11070. addcmd('deletehats',{'nohats','rhats'},
  11071. function(args, speaker)
  11072. if speaker.Character then
  11073. speaker.Character:FindFirstChildOfClass("Humanoid"):RemoveAccessories()
  11074. end
  11075. end)
  11076.  
  11077. addcmd('droptools',{'droptool'},
  11078. function(args, speaker)
  11079. if speaker.Character then
  11080. for _,obj in pairs(speaker.Character:GetChildren()) do
  11081. if obj:IsA("Tool") then
  11082. obj.Parent = workspace
  11083. end
  11084. end
  11085. end
  11086. if speaker:FindFirstChildOfClass("Backpack") then
  11087. for _,obj in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
  11088. if obj:IsA("Tool") then
  11089. obj.Parent = workspace
  11090. end
  11091. end
  11092. end
  11093. end)
  11094.  
  11095. addcmd('droppabletools',{},
  11096. function(args, speaker)
  11097. if speaker.Character then
  11098. for _,obj in pairs(speaker.Character:GetChildren()) do
  11099. if obj:IsA("Tool") then
  11100. obj.CanBeDropped = true
  11101. end
  11102. end
  11103. end
  11104. if speaker:FindFirstChildOfClass("Backpack") then
  11105. for _,obj in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
  11106. if obj:IsA("Tool") then
  11107. obj.CanBeDropped = true
  11108. end
  11109. end
  11110. end
  11111. end)
  11112.  
  11113. local currentToolSize = ""
  11114. local currentGripPos = ""
  11115. addcmd('reach',{},
  11116. function(args, speaker)
  11117. execCmd('unreach')
  11118. wait()
  11119. for i,v in pairs(speaker.Character:GetDescendants()) do
  11120. if v:IsA("Tool") then
  11121. if args[1] then
  11122. currentToolSize = v.Handle.Size
  11123. currentGripPos = v.GripPos
  11124. local a = Instance.new("SelectionBox",v.Handle)
  11125. a.Name = "SelectionBoxCreated"
  11126. a.Adornee = v.Handle
  11127. v.Handle.Massless = true
  11128. v.Handle.Size = Vector3.new(0.5,0.5,args[1])
  11129. v.GripPos = Vector3.new(0,0,0)
  11130. speaker.Character.Humanoid:UnequipTools()
  11131. else
  11132. currentToolSize = v.Handle.Size
  11133. currentGripPos = v.GripPos
  11134. local a = Instance.new("SelectionBox",v.Handle)
  11135. a.Name = "SelectionBoxCreated"
  11136. a.Adornee = v.Handle
  11137. v.Handle.Massless = true
  11138. v.Handle.Size = Vector3.new(0.5,0.5,60)
  11139. v.GripPos = Vector3.new(0,0,0)
  11140. speaker.Character.Humanoid:UnequipTools()
  11141. end
  11142. end
  11143. end
  11144. end)
  11145.  
  11146. addcmd('unreach',{'noreach'},
  11147. function(args, speaker)
  11148. for i,v in pairs(speaker.Character:GetDescendants()) do
  11149. if v:IsA("Tool") then
  11150. v.Handle.Size = currentToolSize
  11151. v.GripPos = currentGripPos
  11152. v.Handle.SelectionBoxCreated:Destroy()
  11153. end
  11154. end
  11155. end)
  11156.  
  11157. addcmd('grippos',{},
  11158. function(args, speaker)
  11159. for i,v in pairs(speaker.Character:GetDescendants()) do
  11160. if v:IsA("Tool") then
  11161. v.Parent = speaker:FindFirstChildOfClass("Backpack")
  11162. v.GripPos = Vector3.new(args[1],args[2],args[3])
  11163. v.Parent = speaker.Character
  11164. end
  11165. end
  11166. end)
  11167.  
  11168. addcmd('usetools',{},
  11169. function(args, speaker)
  11170. for _, v in pairs(speaker:FindFirstChildOfClass("Backpack"):GetChildren()) do
  11171. v.Parent = game.Players.LocalPlayer.Character
  11172. v:Activate()
  11173. v.Parent = speaker:FindFirstChildOfClass("Backpack")
  11174. end
  11175. end)
  11176.  
  11177. addcmd('logs',{},
  11178. function(args, speaker)
  11179. logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  11180. end)
  11181.  
  11182. addcmd('chatlogs',{'clogs'},
  11183. function(args, speaker)
  11184. join.Visible = false
  11185. chat.Visible = true
  11186. table.remove(shade3,table.find(shade3,selectChat))
  11187. table.remove(shade2,table.find(shade2,selectJoin))
  11188. table.insert(shade2,selectChat)
  11189. table.insert(shade3,selectJoin)
  11190. selectJoin.BackgroundColor3 = currentShade3
  11191. selectChat.BackgroundColor3 = currentShade2
  11192. logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  11193. end)
  11194.  
  11195. addcmd('joinlogs',{'jlogs'},
  11196. function(args, speaker)
  11197. chat.Visible = false
  11198. join.Visible = true
  11199. table.remove(shade3,table.find(shade3,selectJoin))
  11200. table.remove(shade2,table.find(shade2,selectChat))
  11201. table.insert(shade2,selectJoin)
  11202. table.insert(shade3,selectChat)
  11203. selectChat.BackgroundColor3 = currentShade3
  11204. selectJoin.BackgroundColor3 = currentShade2
  11205. logs:TweenPosition(UDim2.new(0, 0, 1, -265), "InOut", "Quart", 0.3, true, nil)
  11206. end)
  11207.  
  11208. flinging = false
  11209. addcmd('fling',{},
  11210. function(args, speaker)
  11211. for _, child in pairs(speaker.Character:GetDescendants()) do
  11212. if child:IsA("BasePart") then
  11213. child.CustomPhysicalProperties = PhysicalProperties.new(2, 0.3, 0.5)
  11214. end
  11215. end
  11216. execCmd('noclip nonotify')
  11217. wait(.1)
  11218. local bambam = Instance.new("BodyAngularVelocity", getRoot(speaker.Character))
  11219. bambam.Name = randomString()
  11220. bambam.AngularVelocity = Vector3.new(0,311111,0)
  11221. bambam.MaxTorque = Vector3.new(0,311111,0)
  11222. bambam.P = math.huge
  11223. local function PauseFling()
  11224. if speaker.Character:FindFirstChildOfClass("Humanoid") then
  11225. if speaker.Character:FindFirstChildOfClass("Humanoid").FloorMaterial == Enum.Material.Air then
  11226. bambam.AngularVelocity = Vector3.new(0,0,0)
  11227. else
  11228. bambam.AngularVelocity = Vector3.new(0,311111,0)
  11229. end
  11230. end
  11231. end
  11232. if TouchingFloor then
  11233. TouchingFloor:Disconnect()
  11234. end
  11235. if TouchingFloorReset then
  11236. TouchingFloorReset:Disconnect()
  11237. end
  11238. TouchingFloor = speaker.Character:FindFirstChildOfClass("Humanoid"):GetPropertyChangedSignal("FloorMaterial"):connect(PauseFling)
  11239. flinging = true
  11240. local function flingDied()
  11241. execCmd('unfling')
  11242. end
  11243. TouchingFloorReset = speaker.Character:FindFirstChildOfClass('Humanoid').Died:connect(flingDied)
  11244. end)
  11245.  
  11246. addcmd('unfling',{'nofling'},
  11247. function(args, speaker)
  11248. execCmd('clip nonotify')
  11249. if TouchingFloor then
  11250. TouchingFloor:Disconnect()
  11251. end
  11252. if TouchingFloorReset then
  11253. TouchingFloorReset:Disconnect()
  11254. end
  11255. flinging = false
  11256. wait(.1)
  11257. local speakerChar = speaker.Character
  11258. if not speakerChar or not getRoot(speakerChar) then return end
  11259. for i,v in pairs(getRoot(speakerChar):GetChildren()) do
  11260. if v.ClassName == 'BodyAngularVelocity' then
  11261. v:Destroy()
  11262. end
  11263. end
  11264. for _, child in pairs(speakerChar:GetDescendants()) do
  11265. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  11266. child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
  11267. end
  11268. end
  11269. end)
  11270.  
  11271. addcmd('togglefling',{},
  11272. function(args, speaker)
  11273. if flinging then
  11274. execCmd('unfling')
  11275. else
  11276. execCmd('fling')
  11277. end
  11278. end)
  11279.  
  11280. addcmd('invisfling',{},
  11281. function(args, speaker)
  11282. local ch = speaker.Character
  11283. local prt=Instance.new("Model", speaker.Character)
  11284. local z1 = Instance.new("Part")
  11285. z1.Name="Torso"
  11286. z1.CanCollide = false
  11287. z1.Anchored = true
  11288. local z2 = Instance.new("Part", prt)
  11289. z2.Name="Head"
  11290. z2.Anchored = true
  11291. z2.CanCollide = false
  11292. local z3 =Instance.new("Humanoid", prt)
  11293. z3.Name="Humanoid"
  11294. z1.Position = Vector3.new(0,9999,0)
  11295. speaker.Character=prt
  11296. wait(3)
  11297. speaker.Character=ch
  11298. wait(3)
  11299. local Hum = Instance.new("Humanoid")
  11300. z2:Clone()
  11301. Hum.Parent = speaker.Character
  11302. local root = getRoot(speaker.Character)
  11303. for i,v in pairs(speaker.Character:GetChildren()) do
  11304. if v ~= root and v.Name ~= "Humanoid" then
  11305. v:Destroy()
  11306. end
  11307. end
  11308. root.Transparency = 0
  11309. root.Color = Color3.new(1, 1, 1)
  11310. local invisflingStepped
  11311. invisflingStepped = game:GetService('RunService').Stepped:connect(function()
  11312. if speaker.Character and getRoot(speaker.Character) then
  11313. getRoot(speaker.Character).CanCollide = false
  11314. else
  11315. invisflingStepped:Disconnect()
  11316. end
  11317. end)
  11318. sFLY()
  11319. workspace.CurrentCamera.CameraSubject = root
  11320. local bambam = Instance.new("BodyThrust")
  11321. bambam.Parent = getRoot(speaker.Character)
  11322. bambam.Force = Vector3.new(99999,99999*10,99999)
  11323. bambam.Location = getRoot(speaker.Character).Position
  11324. end)
  11325.  
  11326. function attach(speaker,target)
  11327. if tools(speaker) then
  11328. local char = speaker.Character
  11329. local tchar = target.Character
  11330. local hum = speaker.Character:FindFirstChildOfClass("Humanoid")
  11331. local hrp = getRoot(speaker.Character)
  11332. local hrp2 = getRoot(target.Character)
  11333. hum.Name = "1"
  11334. local newHum = hum:Clone()
  11335. newHum.Parent = char
  11336. newHum.Name = "Humanoid"
  11337. wait()
  11338. hum:Destroy()
  11339. workspace.CurrentCamera.CameraSubject = char
  11340. newHum.DisplayDistanceType = "None"
  11341. local tool = speaker:FindFirstChildOfClass("Backpack"):FindFirstChildOfClass("Tool") or speaker.Character:FindFirstChildOfClass("Tool")
  11342. tool.Parent = char
  11343. 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)
  11344. local n = 0
  11345. repeat
  11346. wait(.1)
  11347. n = n + 1
  11348. hrp.CFrame = hrp2.CFrame
  11349. until (tool.Parent ~= char or not hrp or not hrp2 or not hrp.Parent or not hrp2.Parent or n > 250) and n > 2
  11350. else
  11351. notify('Tool Required','You need to have an item in your inventory to use this command')
  11352. end
  11353. end
  11354.  
  11355. addcmd('attach',{},
  11356. function(args, speaker)
  11357. local players = getPlayer(args[1], speaker)
  11358. for i,v in pairs(players) do
  11359. attach(speaker,Players[v])
  11360. end
  11361. end)
  11362.  
  11363. function kill(speaker,target,fast)
  11364. if tools(speaker) then
  11365. if target ~= nil then
  11366. local NormPos = getRoot(speaker.Character).CFrame
  11367. if not fast then
  11368. refresh(speaker)
  11369. wait()
  11370. repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character)
  11371. wait(0.3)
  11372. end
  11373. local hrp = getRoot(speaker.Character)
  11374. attach(speaker,target)
  11375. repeat
  11376. wait()
  11377. hrp.CFrame = CFrame.new(999999, workspace.FallenPartsDestroyHeight + 5,999999)
  11378. until not getRoot(target.Character) or not getRoot(speaker.Character)
  11379. wait(1)
  11380. speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos
  11381. end
  11382. else
  11383. notify('Tool Required','You need to have an item in your inventory to use this command')
  11384. end
  11385. end
  11386.  
  11387. addcmd('kill',{'fekill'},
  11388. function(args, speaker)
  11389. local players = getPlayer(args[1], speaker)
  11390. for i,v in pairs(players) do
  11391. kill(speaker,Players[v])
  11392. end
  11393. end)
  11394.  
  11395. addcmd('fastkill',{'fastfekill'},
  11396. function(args, speaker)
  11397. local players = getPlayer(args[1], speaker)
  11398. for i,v in pairs(players) do
  11399. kill(speaker,Players[v],true)
  11400. end
  11401. end)
  11402.  
  11403. function bring(speaker,target,fast)
  11404. if tools(speaker) then
  11405. if target ~= nil then
  11406. local NormPos = getRoot(speaker.Character).CFrame
  11407. if not fast then
  11408. refresh(speaker)
  11409. wait()
  11410. repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character)
  11411. wait(0.3)
  11412. end
  11413. local hrp = getRoot(speaker.Character)
  11414. attach(speaker,target)
  11415. repeat
  11416. wait()
  11417. hrp.CFrame = NormPos
  11418. until not getRoot(target.Character) or not getRoot(speaker.Character)
  11419. wait(1)
  11420. speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos
  11421. end
  11422. else
  11423. notify('Tool Required','You need to have an item in your inventory to use this command')
  11424. end
  11425. end
  11426.  
  11427. addcmd('bring',{'febring'},
  11428. function(args, speaker)
  11429. local players = getPlayer(args[1], speaker)
  11430. for i,v in pairs(players) do
  11431. bring(speaker,Players[v])
  11432. end
  11433. end)
  11434.  
  11435. addcmd('fastbring',{'fastfebring'},
  11436. function(args, speaker)
  11437. local players = getPlayer(args[1], speaker)
  11438. for i,v in pairs(players) do
  11439. bring(speaker,Players[v],true)
  11440. end
  11441. end)
  11442.  
  11443. function teleport(speaker,target,target2,fast)
  11444. if tools(speaker) then
  11445. if target ~= nil then
  11446. local NormPos = getRoot(speaker.Character).CFrame
  11447. if not fast then
  11448. refresh(speaker)
  11449. wait()
  11450. repeat wait() until speaker.Character ~= nil and getRoot(speaker.Character)
  11451. wait(0.3)
  11452. end
  11453. local hrp = getRoot(speaker.Character)
  11454. local hrp2 = getRoot(target2.Character)
  11455. attach(speaker,target)
  11456. repeat
  11457. wait()
  11458. hrp.CFrame = hrp2.CFrame
  11459. until not getRoot(target.Character) or not getRoot(speaker.Character)
  11460. wait(1)
  11461. speaker.CharacterAdded:Wait():WaitForChild("HumanoidRootPart").CFrame = NormPos
  11462. end
  11463. else
  11464. notify('Tool Required','You need to have an item in your inventory to use this command')
  11465. end
  11466. end
  11467.  
  11468. addcmd('tp',{'teleport'},
  11469. function(args, speaker)
  11470. local players1=getPlayer(args[1], speaker)
  11471. local players2=getPlayer(args[2], speaker)
  11472. for i,v in pairs(players1)do
  11473. if getRoot(Players[v].Character) and getRoot(Players[players2[1]].Character) then
  11474. if speaker.Character:FindFirstChild("Humanoid") then
  11475. speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  11476. end
  11477. wait(0.1)
  11478. teleport(speaker,Players[v],Players[players2[1]])
  11479. end
  11480. end
  11481. end)
  11482.  
  11483. addcmd('fasttp',{'fastteleport'},
  11484. function(args, speaker)
  11485. local players1=getPlayer(args[1], speaker)
  11486. local players2=getPlayer(args[2], speaker)
  11487. for i,v in pairs(players1)do
  11488. if getRoot(Players[v].Character) and getRoot(Players[players2[1]].Character) then
  11489. if speaker.Character:FindFirstChild("Humanoid") then
  11490. speaker.Character:FindFirstChildOfClass('Humanoid').Sit = false
  11491. end
  11492. wait(0.1)
  11493. teleport(speaker,Players[v],Players[players2[1]],true)
  11494. end
  11495. end
  11496. end)
  11497.  
  11498. addcmd('spin',{},
  11499. function(args, speaker)
  11500. local spinSpeed = 20
  11501. if args[1] and isNumber(args[1]) then
  11502. spinSpeed = args[1]
  11503. end
  11504. for i,v in pairs(getRoot(speaker.Character):GetChildren()) do
  11505. if v.Name == "Spinning" then
  11506. v:Destroy()
  11507. end
  11508. end
  11509. local Spin = Instance.new("BodyAngularVelocity", getRoot(speaker.Character))
  11510. Spin.Name = "Spinning"
  11511. Spin.MaxTorque = Vector3.new(0, math.huge, 0)
  11512. Spin.AngularVelocity = Vector3.new(0,spinSpeed,0)
  11513. end)
  11514.  
  11515. addcmd('unspin',{},
  11516. function(args, speaker)
  11517. for i,v in pairs(getRoot(speaker.Character):GetChildren()) do
  11518. if v.Name == "Spinning" then
  11519. v:Destroy()
  11520. end
  11521. end
  11522. end)
  11523.  
  11524. local transparent = false
  11525. function x(v)
  11526. if v then
  11527. for _,i in pairs(workspace:GetDescendants()) do
  11528. if i:IsA("BasePart") and not i.Parent:FindFirstChild("Humanoid") and not i.Parent.Parent:FindFirstChild("Humanoid") then
  11529. i.LocalTransparencyModifier = 0.5
  11530. end
  11531. end
  11532. else
  11533. for _,i in pairs(workspace:GetDescendants()) do
  11534. if i:IsA("BasePart") and not i.Parent:FindFirstChild("Humanoid") and not i.Parent.Parent:FindFirstChild("Humanoid") then
  11535. i.LocalTransparencyModifier = 0
  11536. end
  11537. end
  11538. end
  11539. end
  11540.  
  11541. addcmd('xray',{},
  11542. function(args, speaker)
  11543. transparent = true
  11544. x(transparent)
  11545. end)
  11546.  
  11547. addcmd('unxray',{'noxray'},
  11548. function(args, speaker)
  11549. transparent = false
  11550. x(transparent)
  11551. end)
  11552.  
  11553. addcmd('togglexray',{},
  11554. function(args, speaker)
  11555. transparent=not transparent
  11556. x(transparent)
  11557. end)
  11558.  
  11559. local walltpTouch = nil
  11560. addcmd('walltp',{},
  11561. function(args, speaker)
  11562. local torso
  11563. if r15(speaker) then
  11564. torso = speaker.Character.UpperTorso
  11565. else
  11566. torso = speaker.Character.Torso
  11567. end
  11568. local function touchedFunc(hit)
  11569. local Root = getRoot(speaker.Character)
  11570. if hit:IsA("BasePart") and hit.Position.Y > Root.Position.Y - speaker.Character.Humanoid.HipHeight then
  11571. local hitP = getRoot(hit.Parent)
  11572. if hitP ~= nil then
  11573. Root.CFrame = hit.CFrame * CFrame.new(Root.CFrame.lookVector.X,hitP.Size.Z/2 + speaker.Character.Humanoid.HipHeight,Root.CFrame.lookVector.Z)
  11574. elseif hitP == nil then
  11575. Root.CFrame = hit.CFrame * CFrame.new(Root.CFrame.lookVector.X,hit.Size.Y/2 + speaker.Character.Humanoid.HipHeight,Root.CFrame.lookVector.Z)
  11576. end
  11577. end
  11578. end
  11579. walltpTouch = torso.Touched:Connect(touchedFunc)
  11580. end)
  11581.  
  11582. addcmd('unwalltp',{'nowalltp'},
  11583. function(args, speaker)
  11584. if walltpTouch then
  11585. walltpTouch:Disconnect()
  11586. end
  11587. end)
  11588.  
  11589. autoclicking = false
  11590. addcmd('autoclick',{},
  11591. function(args, speaker)
  11592. if mouse1press and mouse1release then
  11593. execCmd('unautoclick')
  11594. wait()
  11595. local clickDelay = 0.1
  11596. local releaseDelay = 0.1
  11597. if args[1] and isNumber(args[1]) then clickDelay = args[1] end
  11598. if args[2] and isNumber(args[2]) then releaseDelay = args[2] end
  11599. autoclicking = true
  11600. cancelAutoClick = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  11601. if not gameProcessedEvent then
  11602. 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
  11603. autoclicking = false
  11604. cancelAutoClick:Disconnect()
  11605. end
  11606. end
  11607. end)
  11608. notify('Auto Clicker',"Press [backspace] and [=] at the same time to stop")
  11609. repeat wait(clickDelay)
  11610. mouse1press()
  11611. wait(releaseDelay)
  11612. mouse1release()
  11613. until autoclicking == false
  11614. else
  11615. notify('Auto Clicker',"Your exploit doesn't have the ability to use the autoclick")
  11616. end
  11617. end)
  11618.  
  11619. addcmd('unautoclick',{'noautoclick'},
  11620. function(args, speaker)
  11621. autoclicking = false
  11622. if cancelAutoClick then cancelAutoClick:Disconnect() end
  11623. end)
  11624.  
  11625. addcmd('mousesensitivity',{'ms'},
  11626. function(args, speaker)
  11627. UserInputService.MouseDeltaSensitivity = args[1]
  11628. end)
  11629.  
  11630. local nameBox = nil
  11631. local nbSelection = nil
  11632. addcmd('hovername',{},
  11633. function(args, speaker)
  11634. execCmd('unhovername')
  11635. wait()
  11636. nameBox = Instance.new("TextLabel")
  11637. nameBox.Name = randomString()
  11638. nameBox.Parent = PARENT
  11639. nameBox.BackgroundTransparency = 1
  11640. nameBox.Size = UDim2.new(0,200,0,30)
  11641. nameBox.Font = Enum.Font.Code
  11642. nameBox.TextSize = 16
  11643. nameBox.Text = ""
  11644. nameBox.TextColor3 = Color3.new(1, 1, 1)
  11645. nameBox.TextStrokeTransparency = 0
  11646. nameBox.TextXAlignment = Enum.TextXAlignment.Left
  11647. nameBox.ZIndex = 10
  11648. nbSelection = Instance.new('SelectionBox')
  11649. nbSelection.Name = randomString()
  11650. nbSelection.LineThickness = 0.03
  11651. nbSelection.Color3 = Color3.new(1, 1, 1)
  11652. local function updateNameBox()
  11653. local t
  11654. local target = IYMouse.Target
  11655.  
  11656. if target then
  11657. local humanoid = target.Parent:FindFirstChild('Humanoid') or target.Parent.Parent:FindFirstChild('Humanoid')
  11658. if humanoid then
  11659. t = humanoid.Parent
  11660. end
  11661. end
  11662.  
  11663. if t ~= nil then
  11664. local x = IYMouse.X
  11665. local y = IYMouse.Y
  11666. local xP
  11667. local yP
  11668. if IYMouse.X > 200 then
  11669. xP = x - 205
  11670. nameBox.TextXAlignment = Enum.TextXAlignment.Right
  11671. else
  11672. xP = x + 25
  11673. nameBox.TextXAlignment = Enum.TextXAlignment.Left
  11674. end
  11675. nameBox.Position = UDim2.new(0, xP, 0, y)
  11676. nameBox.Text = t.Name
  11677. nameBox.Visible = true
  11678. nbSelection.Parent = t
  11679. nbSelection.Adornee = t
  11680. else
  11681. nameBox.Visible = false
  11682. nbSelection.Parent = nil
  11683. nbSelection.Adornee = nil
  11684. end
  11685. end
  11686. nbUpdateFunc = IYMouse.Move:connect(updateNameBox)
  11687. end)
  11688.  
  11689. addcmd('unhovername',{'nohovername'},
  11690. function(args, speaker)
  11691. if nbUpdateFunc then
  11692. nbUpdateFunc:Disconnect()
  11693. nameBox:Destroy()
  11694. nbSelection:Destroy()
  11695. end
  11696. end)
  11697.  
  11698. addcmd('hitbox',{},
  11699. function(args, speaker)
  11700. local players = getPlayer(args[1], speaker)
  11701. for i,v in pairs(players) do
  11702. if Players[v]~= speaker and Players[v].Character:FindFirstChild('Head') then
  11703. local sizeArg = tonumber(args[2])
  11704. local Size = Vector3.new(sizeArg,sizeArg,sizeArg)
  11705. local Head = Players[v].Character:FindFirstChild('Head')
  11706. if Head:IsA("BasePart") then
  11707. if not args[2] or sizeArg == 1 then
  11708. Head.Size = Vector3.new(2,1,1)
  11709. else
  11710. Head.Size = Size
  11711. end
  11712. end
  11713. end
  11714. end
  11715. end)
  11716.  
  11717. addcmd('removeterrain',{'rterrain','noterrain'},
  11718. function(args, speaker)
  11719. workspace:FindFirstChildOfClass('Terrain'):Clear()
  11720. end)
  11721.  
  11722. addcmd('clearnilinstances',{'nonilinstances','cni'},
  11723. function(args, speaker)
  11724. if getnilinstances then
  11725. for i,v in pairs(getnilinstances()) do
  11726. v:Destroy()
  11727. end
  11728. else
  11729. notify('Incompatible Exploit','Your exploit does not support this command (missing getnilinstances)')
  11730. end
  11731. end)
  11732.  
  11733. addcmd('destroyheight',{'dh'},
  11734. function(args, speaker)
  11735. local dh = args[1] or -500
  11736. if isNumber(dh) then
  11737. workspace.FallenPartsDestroyHeight = dh
  11738. end
  11739. end)
  11740.  
  11741. local freezingua = nil
  11742. frozenParts = {}
  11743. addcmd('freezeunanchored',{'freezeua'},
  11744. function(args, speaker)
  11745. if sethidden then
  11746. local badnames = {
  11747. "Head",
  11748. "UpperTorso",
  11749. "LowerTorso",
  11750. "RightUpperArm",
  11751. "LeftUpperArm",
  11752. "RightLowerArm",
  11753. "LeftLowerArm",
  11754. "RightHand",
  11755. "LeftHand",
  11756. "RightUpperLeg",
  11757. "LeftUpperLeg",
  11758. "RightLowerLeg",
  11759. "LeftLowerLeg",
  11760. "RightFoot",
  11761. "LeftFoot",
  11762. "Torso",
  11763. "Right Arm",
  11764. "Left Arm",
  11765. "Right Leg",
  11766. "Left Leg",
  11767. "HumanoidRootPart"
  11768. }
  11769. local function FREEZENOOB(v)
  11770. if v:IsA("BasePart" or "UnionOperation") and v.Anchored == false then
  11771. local BADD = false
  11772. for i = 1,#badnames do
  11773. if v.Name == badnames[i] then
  11774. BADD = true
  11775. end
  11776. end
  11777. if speaker.Character and v:IsDescendantOf(speaker.Character) then
  11778. BADD = true
  11779. end
  11780. if BADD == false then
  11781. for i,c in pairs(v:GetChildren()) do
  11782. if c:IsA("BodyPosition") or c:IsA("BodyGyro") then
  11783. c:Destroy()
  11784. end
  11785. end
  11786. speaker.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
  11787. sethidden(speaker,"SimulationRadius", math.pow(math.huge,math.huge)*math.huge)
  11788. local bodypos = Instance.new("BodyPosition",v)
  11789. bodypos.Position = v.Position
  11790. bodypos.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  11791. local bodygyro = Instance.new("BodyGyro",v)
  11792. bodygyro.CFrame = v.CFrame
  11793. bodygyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  11794. if not table.find(frozenParts,v) then
  11795. table.insert(frozenParts,v)
  11796. end
  11797. end
  11798. end
  11799. end
  11800. for i,v in pairs(workspace:GetDescendants()) do
  11801. FREEZENOOB(v)
  11802. end
  11803. freezingua = workspace.DescendantAdded:Connect(FREEZENOOB)
  11804. else
  11805. notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
  11806. end
  11807. end)
  11808.  
  11809. addcmd('thawunanchored',{'thawua','unfreezeunanchored','unfreezeua'},
  11810. function(args, speaker)
  11811. if sethidden then
  11812. if freezingua then
  11813. freezingua:Disconnect()
  11814. end
  11815. speaker.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
  11816. sethidden(speaker,"SimulationRadius", math.pow(math.huge,math.huge)*math.huge)
  11817. for i,v in pairs(frozenParts) do
  11818. for i,c in pairs(v:GetChildren()) do
  11819. if c:IsA("BodyPosition") or c:IsA("BodyGyro") then
  11820. c:Destroy()
  11821. end
  11822. end
  11823. end
  11824. frozenParts = {}
  11825. else
  11826. notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
  11827. end
  11828. end)
  11829.  
  11830. addcmd('tpunanchored',{'tpua'},
  11831. function(args, speaker)
  11832. if sethidden then
  11833. local players = getPlayer(args[1], speaker)
  11834. for i,v in pairs(players) do
  11835. local Forces = {}
  11836. for _,part in pairs(workspace:GetDescendants()) do
  11837. 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
  11838. for i,c in pairs(part:GetChildren()) do
  11839. if c:IsA("BodyPosition") or c:IsA("BodyGyro") then
  11840. c:Destroy()
  11841. end
  11842. end
  11843. local ForceInstance = Instance.new("BodyPosition", part)
  11844. ForceInstance.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  11845. table.insert(Forces, ForceInstance)
  11846. if not table.find(frozenParts,part) then
  11847. table.insert(frozenParts,part)
  11848. end
  11849. end
  11850. end
  11851. speaker.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
  11852. sethidden(speaker,"SimulationRadius", math.pow(math.huge,math.huge)*math.huge)
  11853. for i,c in pairs(Forces) do
  11854. c.Position = Players[v].Character.Head.Position
  11855. end
  11856. end
  11857. else
  11858. notify('Incompatible Exploit','Your exploit does not support this command (missing sethiddenproperty)')
  11859. end
  11860. end)
  11861.  
  11862. keycodeMap = {
  11863. ["0"] = 0x30,
  11864. ["1"] = 0x31,
  11865. ["2"] = 0x32,
  11866. ["3"] = 0x33,
  11867. ["4"] = 0x34,
  11868. ["5"] = 0x35,
  11869. ["6"] = 0x36,
  11870. ["7"] = 0x37,
  11871. ["8"] = 0x38,
  11872. ["9"] = 0x39,
  11873. ["a"] = 0x41,
  11874. ["b"] = 0x42,
  11875. ["c"] = 0x43,
  11876. ["d"] = 0x44,
  11877. ["e"] = 0x45,
  11878. ["f"] = 0x46,
  11879. ["g"] = 0x47,
  11880. ["h"] = 0x48,
  11881. ["i"] = 0x49,
  11882. ["j"] = 0x4A,
  11883. ["k"] = 0x4B,
  11884. ["l"] = 0x4C,
  11885. ["m"] = 0x4D,
  11886. ["n"] = 0x4E,
  11887. ["o"] = 0x4F,
  11888. ["p"] = 0x50,
  11889. ["q"] = 0x51,
  11890. ["r"] = 0x52,
  11891. ["s"] = 0x53,
  11892. ["t"] = 0x54,
  11893. ["u"] = 0x55,
  11894. ["v"] = 0x56,
  11895. ["w"] = 0x57,
  11896. ["x"] = 0x58,
  11897. ["y"] = 0x59,
  11898. ["z"] = 0x5A,
  11899. ["enter"] = 0x0D,
  11900. ["shift"] = 0x10,
  11901. ["ctrl"] = 0x11,
  11902. ["alt"] = 0x12,
  11903. ["pause"] = 0x13,
  11904. ["capslock"] = 0x14,
  11905. ["spacebar"] = 0x20,
  11906. ["pageup"] = 0x21,
  11907. ["pagedown"] = 0x22,
  11908. ["end"] = 0x23,
  11909. ["home"] = 0x24,
  11910. ["left"] = 0x25,
  11911. ["up"] = 0x26,
  11912. ["right"] = 0x27,
  11913. ["down"] = 0x28,
  11914. ["insert"] = 0x2D,
  11915. ["delete"] = 0x2E,
  11916. ["f1"] = 0x70,
  11917. ["f2"] = 0x71,
  11918. ["f3"] = 0x72,
  11919. ["f4"] = 0x73,
  11920. ["f5"] = 0x74,
  11921. ["f6"] = 0x75,
  11922. ["f7"] = 0x76,
  11923. ["f8"] = 0x77,
  11924. ["f9"] = 0x78,
  11925. ["f10"] = 0x79,
  11926. ["f11"] = 0x7A,
  11927. ["f12"] = 0x7B,
  11928. }
  11929. autoKeyPressing = false
  11930. cancelAutoKeyPress = nil
  11931.  
  11932. addcmd('autokeypress',{'keypress'},
  11933. function(args, speaker)
  11934. if keypress and keyrelease and args[1] then
  11935. local code = keycodeMap[args[1]:lower()]
  11936. if not code then notify('Auto Key Press',"Invalid key") return end
  11937. execCmd('unautokeypress')
  11938. wait()
  11939. local clickDelay = 0.1
  11940. local releaseDelay = 0.1
  11941. if args[2] and isNumber(args[2]) then clickDelay = args[2] end
  11942. if args[3] and isNumber(args[3]) then releaseDelay = args[3] end
  11943. autoKeyPressing = true
  11944. cancelAutoKeyPress = UserInputService.InputBegan:Connect(function(input, gameProcessedEvent)
  11945. if not gameProcessedEvent then
  11946. if (input.KeyCode == Enum.KeyCode.Backspace and UserInputService:IsKeyDown(Enum.KeyCode.Equals)) or (input.KeyCode == Enum.KeyCode.Equals and UserInputService:IsKeyDown(Enum.KeyCode.Backspace)) then
  11947. autoKeyPressing = false
  11948. cancelAutoKeyPress:Disconnect()
  11949. end
  11950. end
  11951. end)
  11952. notify('Auto Key Press',"Press [backspace] and [=] at the same time to stop")
  11953. repeat wait(clickDelay)
  11954. keypress(code)
  11955. wait(releaseDelay)
  11956. keyrelease(code)
  11957. until autoKeyPressing == false
  11958. if cancelAutoKeyPress then cancelAutoKeyPress:Disconnect() keyrelease(code) end
  11959. else
  11960. notify('Auto Key Press',"Your exploit doesn't have the ability to use auto key press")
  11961. end
  11962. end)
  11963.  
  11964. addcmd('unautokeypress',{'noautokeypress','unkeypress','nokeypress'},
  11965. function(args, speaker)
  11966. autoKeyPressing = false
  11967. if cancelAutoKeyPress then cancelAutoKeyPress:Disconnect() end
  11968. end)
  11969.  
  11970. addcmd('addplugin',{'plugin'},
  11971. function(args, speaker)
  11972. addPlugin(getstring(1))
  11973. end)
  11974.  
  11975. addcmd('removeplugin',{'deleteplugin'},
  11976. function(args, speaker)
  11977. deletePlugin(getstring(1))
  11978. end)
  11979.  
  11980. addcmd('reloadplugin',{},
  11981. function(args, speaker)
  11982. local pluginName = getstring(1)
  11983. deletePlugin(pluginName)
  11984. wait(1)
  11985. addPlugin(pluginName)
  11986. end)
  11987.  
  11988. addcmd('removecmd',{'deletecmd'},
  11989. function(args, speaker)
  11990. removecmd(args[1])
  11991. end)
  11992.  
  11993. updateColors(currentShade1,shade1)
  11994. updateColors(currentShade2,shade2)
  11995. updateColors(currentShade3,shade3)
  11996. updateColors(currentText1,text1)
  11997. updateColors(currentText2,text2)
  11998. updateColors(currentScroll,scroll)
  11999.  
  12000. if PluginsTable ~= nil or PluginsTable ~= {} then
  12001. FindPlugins(PluginsTable)
  12002. end
  12003.  
  12004. -- Events
  12005. eventEditor.RegisterEvent("OnExecute")
  12006. eventEditor.RegisterEvent("OnSpawn",{
  12007. {Type="Player",Name="Player Filter ($1)"}
  12008. })
  12009. eventEditor.RegisterEvent("OnDied",{
  12010. {Type="Player",Name="Player Filter ($1)"}
  12011. })
  12012. eventEditor.RegisterEvent("OnKilled",{
  12013. {Type="Player",Name="Victim Player ($1)"},
  12014. {Type="Player",Name="Killer Player ($2)",Default = 1}
  12015. })
  12016. eventEditor.RegisterEvent("OnJoin",{
  12017. {Type="Player",Name="Player Filter ($1)",Default = 1}
  12018. })
  12019. eventEditor.RegisterEvent("OnChatted",{
  12020. {Type="Player",Name="Player Filter ($1)",Default = 1},
  12021. {Type="String",Name="Message Filter ($2)"}
  12022. })
  12023.  
  12024. function hookCharEvents(plr,instant)
  12025. local char = plr.Character
  12026. if not char then return end
  12027.  
  12028. local humanoid = char:WaitForChild("Humanoid",10)
  12029. if not humanoid then return end
  12030.  
  12031. humanoid.Died:Connect(function()
  12032. eventEditor.FireEvent("OnDied",plr.Name)
  12033.  
  12034. local killedBy = humanoid:FindFirstChild("creator")
  12035. if killedBy and killedBy.Value and killedBy.Value.Parent then
  12036. eventEditor.FireEvent("OnKilled",plr.Name,killedBy.Name)
  12037. end
  12038. end)
  12039. end
  12040.  
  12041. game:GetService("Players").PlayerAdded:Connect(function(plr)
  12042. eventEditor.FireEvent("OnJoin",plr.Name)
  12043. plr.Chatted:Connect(function(msg) eventEditor.FireEvent("OnChatted",tostring(plr),msg) end)
  12044. plr.CharacterAdded:Connect(function() eventEditor.FireEvent("OnSpawn",tostring(plr)) hookCharEvents(plr) end)
  12045. JoinLog(plr)
  12046. ChatLog(plr)
  12047. if ESPenabled then
  12048. repeat wait(1) until plr.Character and getRoot(plr.Character)
  12049. ESP(plr)
  12050. end
  12051. if CHMSenabled then
  12052. repeat wait(1) until plr.Character and getRoot(plr.Character)
  12053. CHMS(plr)
  12054. end
  12055. end)
  12056.  
  12057. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  12058. pcall(function()
  12059. plr.Chatted:Connect(function(msg) eventEditor.FireEvent("OnChatted",tostring(plr),msg) end)
  12060. plr.CharacterAdded:Connect(function() eventEditor.FireEvent("OnSpawn",tostring(plr)) hookCharEvents(plr) end)
  12061. hookCharEvents(plr)
  12062. end)
  12063. end
  12064.  
  12065. if spawnCmds and #spawnCmds > 0 then
  12066. for i,v in pairs(spawnCmds) do
  12067. eventEditor.AddCmd("OnSpawn",{v.COMMAND or "",{0},v.DELAY or 0})
  12068. end
  12069. updatesaves()
  12070. end
  12071.  
  12072. if loadedEventData then eventEditor.LoadData(loadedEventData) end
  12073. eventEditor.Refresh()
  12074.  
  12075. eventEditor.FireEvent("OnExecute")
  12076.  
  12077. if aliases and #aliases > 0 then
  12078. local cmdMap = {}
  12079. for i,v in pairs(cmds) do
  12080. cmdMap[v.NAME:lower()] = v
  12081. for _,alias in pairs(v.ALIAS) do
  12082. cmdMap[alias:lower()] = v
  12083. end
  12084. end
  12085. for i = 1, #aliases do
  12086. local cmd = string.lower(aliases[i].CMD)
  12087. local alias = string.lower(aliases[i].ALIAS)
  12088. if cmdMap[cmd] then
  12089. customAlias[alias] = cmdMap[cmd]
  12090. end
  12091. end
  12092. refreshaliases()
  12093. end
  12094.  
  12095. IYMouse.Move:connect(checkTT)
  12096.  
  12097. if pcall(function() loadstring(game:HttpGet('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/version'))() end) then
  12098. if ver ~= Version then
  12099. notify('Outdated','Get the new version at infyield.yolasite.com')
  12100. end
  12101. if Announcement and Announcement ~= '' then
  12102. local AnnGUI = Instance.new("Frame")
  12103. local background = Instance.new("Frame")
  12104. local TextBox = Instance.new("TextLabel")
  12105. local shadow = Instance.new("Frame")
  12106. local PopupText = Instance.new("TextLabel")
  12107. local Exit = Instance.new("TextButton")
  12108. local ExitImage = Instance.new("ImageLabel")
  12109.  
  12110. AnnGUI.Name = randomString()
  12111. AnnGUI.Parent = PARENT
  12112. AnnGUI.Active = true
  12113. AnnGUI.BackgroundTransparency = 1
  12114. AnnGUI.Position = UDim2.new(0.5, -180, 0, -500)
  12115. AnnGUI.Size = UDim2.new(0, 360, 0, 20)
  12116. AnnGUI.ZIndex = 10
  12117.  
  12118. background.Name = "background"
  12119. background.Parent = AnnGUI
  12120. background.Active = true
  12121. background.BackgroundColor3 = currentShade1
  12122. background.BorderSizePixel = 0
  12123. background.Position = UDim2.new(0, 0, 0, 20)
  12124. background.Size = UDim2.new(0, 360, 0, 150)
  12125. background.ZIndex = 10
  12126.  
  12127. TextBox.Parent = background
  12128. TextBox.BackgroundTransparency = 1
  12129. TextBox.Position = UDim2.new(0, 5, 0, 5)
  12130. TextBox.Size = UDim2.new(0, 350, 0, 140)
  12131. TextBox.Font = Enum.Font.SourceSans
  12132. TextBox.TextSize = 18
  12133. TextBox.TextWrapped = true
  12134. TextBox.Text = Announcement
  12135. TextBox.TextColor3 = currentText1
  12136. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  12137. TextBox.TextYAlignment = Enum.TextYAlignment.Top
  12138. TextBox.ZIndex = 10
  12139.  
  12140. shadow.Name = "shadow"
  12141. shadow.Parent = AnnGUI
  12142. shadow.BackgroundColor3 = currentShade2
  12143. shadow.BorderSizePixel = 0
  12144. shadow.Size = UDim2.new(0, 360, 0, 20)
  12145. shadow.ZIndex = 10
  12146.  
  12147. PopupText.Name = "PopupText"
  12148. PopupText.Parent = shadow
  12149. PopupText.BackgroundTransparency = 1
  12150. PopupText.Size = UDim2.new(1, 0, 0.95, 0)
  12151. PopupText.ZIndex = 10
  12152. PopupText.Font = Enum.Font.SourceSans
  12153. PopupText.TextSize = 14
  12154. PopupText.Text = "Server Announcement"
  12155. PopupText.TextColor3 = currentText1
  12156. PopupText.TextWrapped = true
  12157.  
  12158. Exit.Name = "Exit"
  12159. Exit.Parent = shadow
  12160. Exit.BackgroundTransparency = 1
  12161. Exit.Position = UDim2.new(1, -20, 0, 0)
  12162. Exit.Size = UDim2.new(0, 20, 0, 20)
  12163. Exit.Text = ""
  12164. Exit.ZIndex = 10
  12165.  
  12166. ExitImage.Parent = Exit
  12167. ExitImage.BackgroundColor3 = Color3.new(1, 1, 1)
  12168. ExitImage.BackgroundTransparency = 1
  12169. ExitImage.Position = UDim2.new(0, 5, 0, 5)
  12170. ExitImage.Size = UDim2.new(0, 10, 0, 10)
  12171. ExitImage.Image = "rbxassetid://5054663650"
  12172. ExitImage.ZIndex = 10
  12173.  
  12174. wait(1)
  12175. AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil)
  12176.  
  12177. Exit.MouseButton1Click:Connect(function()
  12178. AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, -500), "InOut", "Quart", 0.5, true, nil)
  12179. wait(0.6)
  12180. AnnGUI:Destroy()
  12181. end)
  12182. end
  12183. end
  12184.  
  12185. wait()
  12186. Credits:TweenPosition(UDim2.new(0,0,0.9,0), "Out", "Quart", 0.2)
  12187. Logo:TweenSizeAndPosition(UDim2.new(0,175,0,175),UDim2.new(0,37,0,45), "Out", "Quart", 0.3)
  12188. wait(1)
  12189. for i=0,1,0.1 do
  12190. Logo.ImageTransparency = i
  12191. IntroBackground.BackgroundTransparency = i
  12192. wait()
  12193. end
  12194. Credits:TweenPosition(UDim2.new(0,0,0.9,30), "Out", "Quart", 0.2)
  12195. wait(0.2)
  12196. Logo:Destroy()
  12197. Credits:Destroy()
  12198. IntroBackground:Destroy()
  12199. minimizeHolder()
  12200. end)
  12201.  
  12202. VynixusGUI.Name = " Vynixu's GUI"
  12203. VynixusGUI.Parent = Frame
  12204. VynixusGUI.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  12205. VynixusGUI.Position = UDim2.new(0.538264632, 0, 0.598506272, 0)
  12206. VynixusGUI.Size = UDim2.new(0, 144, 0, 38)
  12207. VynixusGUI.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  12208. VynixusGUI.Font = Enum.Font.SciFi
  12209. VynixusGUI.Text = " Vynixu's GUI"
  12210. VynixusGUI.TextColor3 = Color3.fromRGB(0, 0, 0)
  12211. VynixusGUI.TextSize = 19.000
  12212. VynixusGUI.MouseButton1Down:connect(function()
  12213. loadstring(game:GetObjects("rbxassetid://4001118261")[1].Source)()
  12214. end)
  12215.  
  12216. title.Name = "title"
  12217. title.Parent = Frame
  12218. title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  12219. title.BackgroundTransparency = 1.000
  12220. title.Position = UDim2.new(0.0270605832, 0, 0.956927598, 0)
  12221. title.Size = UDim2.new(0, 303, 0, 23)
  12222. title.Font = Enum.Font.SciFi
  12223. title.Text = "Script Hub"
  12224. title.TextColor3 = Color3.fromRGB(0, 0, 0)
  12225. title.TextSize = 19.000
Add Comment
Please, Sign In to add comment