Advertisement
LegacyCore

Untitled

May 11th, 2019
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 140.26 KB | None | 0 0
  1. --------------------------
  2. --Made by Cataclysm#1443--
  3. --------------------------
  4.  
  5. v = "V1"
  6.  
  7. local LP = game:GetService("Players").LocalPlayer
  8.  
  9. if game.PlaceId == 1019862527 then
  10. print("Correct Game!")
  11. else
  12. LP:Kick("Incorrect Game!")
  13. end
  14.  
  15. Gui = Instance.new("ScreenGui", game.CoreGui)
  16. Gui.Name = RDM
  17.  
  18. MainFrame = Instance.new("Frame", Gui)
  19. MainFrame.Active = true
  20. MainFrame.Draggable = true
  21. MainFrame.Visible = true
  22. MainFrame.Size = UDim2.new(0,200,0,170)
  23. MainFrame.Position = UDim2.new(0.013,0,0.5,0)
  24. MainFrame.BackgroundTransparency = 0
  25. MainFrame.BackgroundColor3 = Color3.new(0,0,0)
  26.  
  27. Frame1 = Instance.new("Frame", MainFrame)
  28. Frame1.Visible = true
  29. Frame1.Size = UDim2.new(0,200,0,150)
  30. Frame1.Position = UDim2.new(0,0,0.12,0)
  31. Frame1.BackgroundTransparency = 0
  32. Frame1.BackgroundColor3 = Color3.new(0,0,0)
  33.  
  34. Frame2 = Instance.new("TextLabel", MainFrame)
  35. Frame2.Text = "Welcome to Cataclysmic, "..LP.Name
  36. Frame2.Visible = true
  37. Frame2.Font = Enum.Font.SourceSans
  38. Frame2.FontSize = 5
  39. Frame2.Size = UDim2.new(0,200,0,20)
  40. Frame2.Position = UDim2.new(0,0,0,0)
  41. Frame2.BackgroundTransparency = 0
  42. Frame2.BackgroundColor3 = Color3.new(1,1,1)
  43.  
  44. Button1 = Instance.new("TextButton", Frame1)
  45. Button1.Text = "Regular Autofarm"
  46. Button1.Visible = true
  47. Button1.TextScaled = true
  48. Button1.Size = UDim2.new(0,80,0,20)
  49. Button1.BackgroundTransparency = 0
  50. Button1.Font = Enum.Font.SourceSans
  51. Button1.TextColor3 = Color3.new(1,1,1)
  52. Button1.BackgroundColor3 = Color3.new(0,0,0)
  53.  
  54. Button2 = Instance.new("TextButton", Frame1)
  55. Button2.Text = "Double Autofarm"
  56. Button2.Visible = true
  57. Button2.TextScaled = true
  58. Button2.Size = UDim2.new(0,80,0,20)
  59. Button2.BackgroundTransparency = 0
  60. Button2.Font = Enum.Font.SourceSans
  61. Button2.TextColor3 = Color3.new(1,1,1)
  62. Button2.BackgroundColor3 = Color3.new(0,0,0)
  63.  
  64. Button3 = Instance.new("TextButton", Frame1)
  65. Button3.Text = "Triple Autofarm"
  66. Button3.Visible = true
  67. Button3.TextScaled = true
  68. Button3.Size = UDim2.new(0,80,0,20)
  69. Button3.BackgroundTransparency = 0
  70. Button3.Font = Enum.Font.SourceSans
  71. Button3.TextColor3 = Color3.new(1,1,1)
  72. Button3.BackgroundColor3 = Color3.new(0,0,0)
  73.  
  74. Button4 = Instance.new("TextButton", Frame1)
  75. Button4.Text = "Event"
  76. Button4.Visible = true
  77. Button4.TextScaled = true
  78. Button4.Size = UDim2.new(0,80,0,20)
  79. Button4.BackgroundTransparency = 0
  80. Button4.Font = Enum.Font.SourceSans
  81. Button4.TextColor3 = Color3.new(1,1,1)
  82. Button4.BackgroundColor3 = Color3.new(0,0,0)
  83.  
  84. Button5 = Instance.new("TextButton", Frame1)
  85. Button5.Text = "Desert"
  86. Button5.Visible = true
  87. Button5.TextScaled = true
  88. Button5.Size = UDim2.new(0,80,0,20)
  89. Button5.BackgroundTransparency = 0
  90. Button5.Font = Enum.Font.SourceSans
  91. Button5.TextColor3 = Color3.new(1,1,1)
  92. Button5.BackgroundColor3 = Color3.new(0,0,0)
  93.  
  94. Button6 = Instance.new("TextButton", Frame1)
  95. Button6.Text = "Mystery"
  96. Button6.Visible = true
  97. Button6.TextScaled = true
  98. Button6.Size = UDim2.new(0,80,0,20)
  99. Button6.BackgroundTransparency = 0
  100. Button6.Font = Enum.Font.SourceSans
  101. Button6.TextColor3 = Color3.new(1,1,1)
  102. Button6.BackgroundColor3 = Color3.new(0,0,0)
  103.  
  104. Button7 = Instance.new("TextButton", Frame1)
  105. Button7.Text = "Main"
  106. Button7.Visible = true
  107. Button7.TextScaled = true
  108. Button7.Size = UDim2.new(0,80,0,20)
  109. Button7.BackgroundTransparency = 0
  110. Button7.Font = Enum.Font.SourceSans
  111. Button7.TextColor3 = Color3.new(1,1,1)
  112. Button7.BackgroundColor3 = Color3.new(0,0,0)
  113.  
  114. Button8 = Instance.new("TextButton", Frame1)
  115. Button8.Text = "Snow"
  116. Button8.Visible = true
  117. Button8.TextScaled = true
  118. Button8.Size = UDim2.new(0,80,0,20)
  119. Button8.BackgroundTransparency = 0
  120. Button8.Font = Enum.Font.SourceSans
  121. Button8.TextColor3 = Color3.new(1,1,1)
  122. Button8.BackgroundColor3 = Color3.new(0,0,0)
  123.  
  124. Button9 = Instance.new("TextButton", Frame1)
  125. Button9.Text = "Graveyard"
  126. Button9.Visible = true
  127. Button9.TextScaled = true
  128. Button9.Size = UDim2.new(0,80,0,20)
  129. Button9.BackgroundTransparency = 0
  130. Button9.Font = Enum.Font.SourceSans
  131. Button9.TextColor3 = Color3.new(1,1,1)
  132. Button9.BackgroundColor3 = Color3.new(0,0,0)
  133.  
  134. Button10 = Instance.new("TextButton", Frame1)
  135. Button10.Text = "Shattervast"
  136. Button10.Visible = true
  137. Button10.TextScaled = true
  138. Button10.Size = UDim2.new(0,80,0,20)
  139. Button10.BackgroundTransparency = 0
  140. Button10.Font = Enum.Font.SourceSans
  141. Button10.TextColor3 = Color3.new(1,1,1)
  142. Button10.BackgroundColor3 = Color3.new(0,0,0)
  143.  
  144. a = 0.01975
  145. Button1.Position = UDim2.new(0.075,0,0.1-a,0)
  146. Button2.Position = UDim2.new(0.525,0,0.1-a,0)
  147. Button3.Position = UDim2.new(0.075,0,0.275-a,0)
  148. Button4.Position = UDim2.new(0.525,0,0.275-a,0)
  149. Button5.Position = UDim2.new(0.075,0,0.45-a,0)
  150. Button6.Position = UDim2.new(0.525,0,0.45-a,0)
  151. Button7.Position = UDim2.new(0.075,0,0.625-a,0)
  152. Button8.Position = UDim2.new(0.525,0,0.625-a,0)
  153. Button9.Position = UDim2.new(0.075,0,0.8-a,0)
  154. Button10.Position = UDim2.new(0.525,0,0.8-a,0)
  155.  
  156. -- Funcs --
  157.  
  158. Button1.MouseButton1Down:connect(function()
  159. while (true)
  160. do
  161. wait(0.1)
  162. local Cataclysm =
  163. {
  164. "lel",
  165. Vector3.new(0.686218262, 6.96915436, -350.236359),
  166. 0.68621826171875,
  167. 6.9691543579102,
  168. -350.23635864258,
  169. "S"
  170. }
  171. game:GetService("ReplicatedStorage").CreatePartEvent:FireServer(unpack(Cataclysm))
  172. end
  173. end)
  174.  
  175. Button2.MouseButton1Down:connect(function()
  176. while (true)
  177. do
  178. wait(0.1)
  179. local Cataclysm =
  180. {
  181. "lel",
  182. Vector3.new(0.686218262, 6.96915436, -350.236359),
  183. 0.68621826171875,
  184. 6.9691543579102,
  185. -350.23635864258,
  186. "S2"
  187. }
  188. game:GetService("ReplicatedStorage").CreatePartEvent:FireServer(unpack(Cataclysm))
  189. end
  190. end)
  191.  
  192. Button3.MouseButton1Down:connect(function()
  193. while (true)
  194. do
  195. wait(0.1)
  196. local Cataclysm =
  197. {
  198. "lel",
  199. Vector3.new(0.686218262, 6.96915436, -350.236359),
  200. 0.68621826171875,
  201. 6.9691543579102,
  202. -350.23635864258,
  203. "S3"
  204. }
  205. game:GetService("ReplicatedStorage").CreatePartEvent:FireServer(unpack(Cataclysm))
  206. end
  207. end)
  208.  
  209. Button4.MouseButton1Down:connect(function()
  210. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-4499.24854, 160.209885, 688.273865)
  211. end)
  212.  
  213. Button5.MouseButton1Down:connect(function()
  214. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-942.083374, 172.363083, -5038.97949)
  215. end)
  216.  
  217. Button6.MouseButton1Down:connect(function()
  218. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(17140.0723, 174.999619, 8501.94629)
  219. end)
  220.  
  221. Button7.MouseButton1Down:connect(function()
  222. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(12.2301207, 74.0046082, -132.118744)
  223. end)
  224.  
  225. Button8.MouseButton1Down:connect(function()
  226. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1557.71484, 383.358978, 3990.55225)
  227. end)
  228.  
  229. Button9.MouseButton1Down:connect(function()
  230. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-2809 , 81887 , 1572)
  231. end)
  232.  
  233. Button10.MouseButton1Down:connect(function()
  234. -- By illremember#3799
  235.  
  236. -- Important Loading
  237. trueSettings = {
  238. commandPrefix = ";";
  239. hotkeys = {};
  240. fchotkeymode = "unfc";
  241. }
  242.  
  243. -- Important Variables
  244. gsPlayers = game:GetService("Players")
  245. gsWorkspace = game:GetService("Workspace")
  246. gsLighting = game:GetService("Lighting")
  247. gsReplicatedStorage = game:GetService("ReplicatedStorage")
  248. gsCoreGui = game:GetService("CoreGui")
  249. gsTween = game:GetService("TweenService")
  250. gsHttp = game:GetService("HttpService")
  251.  
  252. LP = gsPlayers.LocalPlayer
  253. Mouse = LP:GetMouse()
  254.  
  255. defaultSettings = gsHttp:JSONEncode(trueSettings)
  256. function CreateSave()
  257. writefile("Shattervast.txt", defaultSettings)
  258. wait(0.5)
  259. local content = readfile("Shattervast.txt")
  260. local trueValue = gsHttp:JSONDecode(content)
  261. commandPrefix = trueValue.commandPrefix
  262. hotkeys = trueValue.hotkeys
  263. fchotkeymode = trueValue.fchotkeymode
  264. end
  265. function fullUpdate()
  266. local updatedSettings = {
  267. commandPrefix = commandPrefix;
  268. hotkeys = hotkeys;
  269. fchotkeymode = fchotkeymode;
  270. }
  271. local fullUPDATED = gsHttp:JSONEncode(updatedSettings)
  272. wait(0.2)
  273. writefile("Shattervast.txt", fullUPDATED)
  274. end
  275. if writefile ~= nil then
  276. function builder()
  277. local TESTsave = readfile("Shattervast.txt")
  278. if TESTsave == nil then
  279. return false
  280. else
  281. return true
  282. end
  283. end
  284. local success, message = pcall(builder)
  285. if success == true then
  286. function reader()
  287. local content = readfile("Shattervast.txt")
  288. local trueValue = gsHttp:JSONDecode(content)
  289. commandPrefix = trueValue.commandPrefix
  290. hotkeys = trueValue.hotkeys
  291. if trueValue.fchotkeymode == nil then
  292. fchotkeymode = "unfc"
  293. fullUpdate()
  294. else
  295. fchotkeymode = trueValue.fchotkeymode
  296. end
  297. end
  298. reader()
  299. elseif success == false then
  300. CreateSave()
  301. end
  302. else
  303. commandPrefix = ";"
  304. hotkeys = {}
  305. fchotkeymode = "unfc"
  306. end
  307.  
  308. CurrentGravity = gsWorkspace.Gravity
  309. CurrentWalkspeed = LP.Character.Humanoid.WalkSpeed
  310. CurrentJumppower = LP.Character.Humanoid.JumpPower
  311. CurrentHipheight = LP.Character.Humanoid.HipHeight
  312. CurrentNormal = LP.DevCameraOcclusionMode
  313.  
  314. gsWorkspace.Camera.Changed:Connect(function()
  315. gsWorkspace.Camera.FieldOfView = 70
  316. end)
  317.  
  318. -- Important Functions
  319. function view(plr)
  320. if plr.Character.Humanoid ~= nil then
  321. gsWorkspace.CurrentCamera.CameraSubject = plr.Character.Humanoid
  322. else
  323. gsWorkspace.CurrentCamera.CameraSubject = plr.Character.Head
  324. end
  325. end
  326. function unlockWS()
  327. for i,part in pairs(gsWorkspace:GetDescendants()) do
  328. if part:IsA("Part") then
  329. part.Locked = false
  330. end
  331. end
  332. end
  333. function lockWS()
  334. for i,part in pairs(gsWorkspace:GetDescendants()) do
  335. if part:IsA("Part") then
  336. part.Locked = true
  337. end
  338. end
  339. end
  340. function FEGodmode()
  341. local changeview = false
  342. if gsWorkspace.CurrentCamera.CameraSubject == LP.Character.Humanoid or gsWorkspace.CurrentCamera.CameraSubject == LP.Character then
  343. changeview = true
  344. end
  345. LP.Character.Humanoid.Name = 1
  346. local l = LP.Character["1"]:Clone()
  347. l.Parent = LP.Character
  348. l.Name = "Humanoid"
  349. wait(0.1)
  350. LP.Character["1"]:Destroy()
  351. if changeview then
  352. game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character
  353. end
  354. LP.Character.Animate.Disabled = true
  355. wait(0.1)
  356. LP.Character.Animate.Disabled = false
  357. LP.Character.Humanoid.DisplayDistanceType = "None"
  358. end
  359. function RocketPropulsion(maxthrust,maxspeed,thrustp,targetplr,name)
  360. local l = Instance.new("RocketPropulsion")
  361. l.Parent = LP.Character.HumanoidRootPart
  362. l.CartoonFactor = 1
  363. l.MaxThrust = maxthrust
  364. l.MaxSpeed = maxspeed
  365. l.ThrustP = thrustp
  366. l.Name = name
  367. l.Target = targetplr.Character.HumanoidRootPart
  368. l:Fire()
  369. end
  370. function createIntro(style, msg, length)
  371. if gsCoreGui:FindFirstChild("Notification") then
  372. gsCoreGui:FindFirstChild("Notification"):Destroy()
  373. end
  374. local info = "http://www.roblox.com/asset/?id=1281284684"
  375. local warning = "http://www.roblox.com/asset/?id=1281286925"
  376. if style == "info" then
  377. style = info
  378. elseif style == "warning" then
  379. style = warning
  380. end
  381. local Notification = Instance.new("ScreenGui")
  382. local Frame = Instance.new("Frame")
  383. local TextLabel = Instance.new("TextLabel")
  384. local IMAGE = Instance.new("ImageLabel")
  385. Notification.Name = "Notification"
  386. Notification.Parent = gsCoreGui
  387. Frame.Parent = Notification
  388. Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  389. Frame.BackgroundTransparency = 0.20000000298023
  390. Frame.BorderSizePixel = 0
  391. Frame.Position = UDim2.new(0, 0, -0.2, 0)
  392. Frame.Size = UDim2.new(1, 0, 0, 30)
  393. TextLabel.Parent = Frame
  394. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  395. TextLabel.BackgroundTransparency = 1
  396. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  397. TextLabel.Font = Enum.Font.SourceSansLight
  398. TextLabel.Text = msg
  399. TextLabel.TextColor3 = Color3.new(0.905882, 0.905882, 0.905882)
  400. TextLabel.TextScaled = true
  401. TextLabel.TextSize = 14
  402. TextLabel.TextWrapped = true
  403. IMAGE.Parent = Frame
  404. IMAGE.BackgroundTransparency = 1
  405. IMAGE.Size = UDim2.new(0, 50, 0, 50)
  406. IMAGE.Position = UDim2.new(0.1, 0, 0, 0)
  407. IMAGE.Image = style
  408. local Intro = Instance.new("ScreenGui")
  409. local Frame2 = Instance.new("Frame")
  410. local IMAGE2 = Instance.new("ImageLabel")
  411. Intro.Name = "Intro"
  412. Intro.Parent = gsCoreGui
  413. Frame2.Parent = Intro
  414. Frame2.BackgroundTransparency = 1
  415. Frame2.BorderSizePixel = 0
  416. Frame2.Position = UDim2.new(0, 0, -0.2, 0)
  417. Frame2.Size = UDim2.new(1, 0, 0, 30)
  418. IMAGE2.Parent = Frame
  419. IMAGE2.BackgroundTransparency = 1
  420. IMAGE2.AnchorPoint = Vector2.new(0.5, 0)
  421. IMAGE2.Size = UDim2.new(0, 240, 0, 120)
  422. IMAGE2.Position = UDim2.new(0.5, 0, 0, 0)
  423. IMAGE2.Image = "http://www.roblox.com/asset/?id=1795472522"
  424. Frame2:TweenPosition(UDim2.new(0, 0, 0, 200), "Out", "Quad", 1.5)
  425. Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1.5)
  426. wait(length)
  427. pcall(function()
  428. Frame:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
  429. Frame2:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
  430. end)
  431. wait(3.01)
  432. Intro:Destroy()
  433. Notification:Destroy()
  434. end
  435. function Notification(style, msg, length)
  436. if gsCoreGui:FindFirstChild("Notification") then
  437. gsCoreGui:FindFirstChild("Notification"):Destroy()
  438. end
  439. local info = "http://www.roblox.com/asset/?id=1281284684"
  440. local warning = "http://www.roblox.com/asset/?id=1281286925"
  441. if style == "info" then
  442. style = info
  443. elseif style == "warning" then
  444. style = warning
  445. end
  446. local Notification = Instance.new("ScreenGui")
  447. local Frame = Instance.new("Frame")
  448. local TextLabel = Instance.new("TextLabel")
  449. local IMAGE = Instance.new("ImageLabel")
  450. Notification.Name = "Notification"
  451. Notification.Parent = gsCoreGui
  452. Frame.Parent = Notification
  453. Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  454. Frame.BackgroundTransparency = 0.20000000298023
  455. Frame.BorderSizePixel = 0
  456. Frame.Position = UDim2.new(0, 0, -0.2, 0)
  457. Frame.Size = UDim2.new(1, 0, 0, 30)
  458. TextLabel.Parent = Frame
  459. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  460. TextLabel.BackgroundTransparency = 1
  461. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  462. TextLabel.Font = Enum.Font.SourceSansLight
  463. TextLabel.Text = msg
  464. TextLabel.TextColor3 = Color3.new(0.905882, 0.905882, 0.905882)
  465. TextLabel.TextScaled = true
  466. TextLabel.TextSize = 14
  467. TextLabel.TextWrapped = true
  468. IMAGE.Parent = Frame
  469. IMAGE.BackgroundTransparency = 1
  470. IMAGE.Size = UDim2.new(0, 50, 0, 50)
  471. IMAGE.Position = UDim2.new(0.1, 0, 0, 0)
  472. IMAGE.Image = style
  473. Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 1.5)
  474. wait(length)
  475. pcall(function()
  476. Frame:TweenPosition(UDim2.new(0, 0, -1.5, 0), "Out", "Quad", 3)
  477. end)
  478. wait(3.01)
  479. Notification:Destroy()
  480. end
  481. function hasTools()
  482. local a = false
  483. local b = false
  484. for i,v in pairs(LP.Character:GetDescendants()) do
  485. if v:IsA("Tool") then
  486. if v ~= nil then
  487. a = true
  488. else
  489. a = false
  490. end
  491. end
  492. end
  493. for i,k in pairs(LP.Backpack:GetDescendants()) do
  494. if k:IsA("Tool") then
  495. if k ~= nil then
  496. b = true
  497. else
  498. b = false
  499. end
  500. end
  501. end
  502. return a or b
  503. end
  504. Compliments = {" is the coolest person in this server!", ", I really like your avatar!", ", I really want to be your friend!", " is truly amazing. Truly!", " is incredible!", ", you are my favourite here!!", ", I am complimenting you right now at this very moment.", " you are really awesome", " when will you be my friend!?", " is such a great person", " is a fantastic person!"}
  505. function complimentplr(player)
  506. local plrName = player.Name
  507. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(plrName..Compliments[math.random(1, #Compliments)], "All")
  508. end
  509. function createINFO(player)
  510. local InfoGUIv2 = Instance.new("ScreenGui")
  511. local Frame = Instance.new("Frame")
  512. local Frame_2 = Instance.new("Frame")
  513. local infoguiCLOSE = Instance.new("TextButton")
  514. local Frame_3 = Instance.new("Frame")
  515. local playerName = Instance.new("TextLabel")
  516. local Frame_4 = Instance.new("Frame")
  517. local playerAvatar = Instance.new("ImageLabel")
  518. local playerAccAge = Instance.new("TextLabel")
  519. local playerId = Instance.new("TextLabel")
  520. local playerOs = Instance.new("TextLabel")
  521. local playerMembership = Instance.new("TextLabel")
  522. local Frame_5 = Instance.new("Frame")
  523. local Frame_6 = Instance.new("Frame")
  524. InfoGUIv2.Name = "InfoGUIv2"
  525. InfoGUIv2.Parent = gsCoreGui
  526. Frame.Parent = InfoGUIv2
  527. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  528. Frame.BackgroundTransparency = 1
  529. Frame.BorderColor3 = Color3.new(0, 0, 0)
  530. Frame.ClipsDescendants = true
  531. Frame.Position = UDim2.new(0.45, 0, 1, 0)
  532. Frame.Size = UDim2.new(0, 265, 0, 302)
  533. Frame.ZIndex = -1
  534. Frame_2.Parent = Frame
  535. Frame_2.BackgroundColor3 = Color3.new(0.290196, 0, 0.447059)
  536. Frame_2.BorderSizePixel = 0
  537. Frame_2.Size = UDim2.new(0, 260, 0, 20)
  538. infoguiCLOSE.Name = "infoguiCLOSE"
  539. infoguiCLOSE.Parent = Frame_2
  540. infoguiCLOSE.BackgroundColor3 = Color3.new(1, 1, 1)
  541. infoguiCLOSE.BackgroundTransparency = 1
  542. infoguiCLOSE.BorderSizePixel = 0
  543. infoguiCLOSE.Position = UDim2.new(0, 230, 0, 0)
  544. infoguiCLOSE.Size = UDim2.new(0, 30, 0, 20)
  545. infoguiCLOSE.Font = Enum.Font.SourceSansBold
  546. infoguiCLOSE.Text = "X"
  547. infoguiCLOSE.TextColor3 = Color3.new(0.992157, 0.992157, 0.992157)
  548. infoguiCLOSE.TextSize = 20
  549. Frame_3.Parent = Frame
  550. Frame_3.BackgroundColor3 = Color3.new(0.482353, 0.121569, 0.635294)
  551. Frame_3.BorderSizePixel = 0
  552. Frame_3.Position = UDim2.new(0, 0, 0, 20)
  553. Frame_3.Size = UDim2.new(0, 260, 0, 40)
  554. playerName.Name = "playerName"
  555. playerName.Parent = Frame_3
  556. playerName.BackgroundColor3 = Color3.new(1, 1, 1)
  557. playerName.BackgroundTransparency = 1
  558. playerName.Position = UDim2.new(0, 10, 0, 5)
  559. playerName.Size = UDim2.new(0, 240, 0, 30)
  560. playerName.Font = Enum.Font.SourceSansLight
  561. playerName.Text = player.Name
  562. playerName.TextColor3 = Color3.new(0.988235, 0.988235, 0.988235)
  563. playerName.TextScaled = true
  564. playerName.TextSize = 14
  565. playerName.TextWrapped = true
  566. Frame_4.Parent = Frame
  567. Frame_4.BackgroundColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  568. Frame_4.BorderSizePixel = 0
  569. Frame_4.Position = UDim2.new(0, 0, 0, 60)
  570. Frame_4.Size = UDim2.new(0, 260, 0, 237)
  571. playerAvatar.Name = "playerAvatar"
  572. playerAvatar.Parent = Frame_4
  573. playerAvatar.BackgroundColor3 = Color3.new(1, 1, 1)
  574. playerAvatar.Position = UDim2.new(0, 85, 0, 10)
  575. playerAvatar.Size = UDim2.new(0, 85, 0, 85)
  576. playerAvatar.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=150&Format=Png&username="..player.Name
  577. playerAccAge.Name = "playerAccAge"
  578. playerAccAge.Parent = Frame_4
  579. playerAccAge.BackgroundColor3 = Color3.new(1, 1, 1)
  580. playerAccAge.BackgroundTransparency = 1
  581. playerAccAge.Position = UDim2.new(0, 5, 0, 101)
  582. playerAccAge.Size = UDim2.new(0, 250, 0, 30)
  583. playerAccAge.Font = Enum.Font.SourceSans
  584. playerAccAge.Text = "Account Age: "..player.AccountAge
  585. playerAccAge.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  586. playerAccAge.TextScaled = true
  587. playerAccAge.TextSize = 14
  588. playerAccAge.TextWrapped = true
  589. playerId.Name = "playerId"
  590. playerId.Parent = Frame_4
  591. playerId.BackgroundColor3 = Color3.new(1, 1, 1)
  592. playerId.BackgroundTransparency = 1
  593. playerId.Position = UDim2.new(0, 5, 0, 131)
  594. playerId.Size = UDim2.new(0, 250, 0, 30)
  595. playerId.Font = Enum.Font.SourceSans
  596. playerId.Text = "Account ID: "..player.UserId
  597. playerId.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  598. playerId.TextScaled = true
  599. playerId.TextSize = 14
  600. playerId.TextWrapped = true
  601. playerOs.Name = "playerOs"
  602. playerOs.Parent = Frame_4
  603. playerOs.BackgroundColor3 = Color3.new(1, 1, 1)
  604. playerOs.BackgroundTransparency = 1
  605. playerOs.Position = UDim2.new(0, 5, 0, 161)
  606. playerOs.Size = UDim2.new(0, 250, 0, 30)
  607. playerOs.Font = Enum.Font.SourceSansLight
  608. playerOs.Text = "Player OS: "..player.OsPlatform
  609. playerOs.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  610. playerOs.TextScaled = true
  611. playerOs.TextSize = 14
  612. playerOs.TextWrapped = true
  613. playerMembership.Name = "playerMembership"
  614. playerMembership.Parent = Frame_4
  615. playerMembership.BackgroundColor3 = Color3.new(1, 1, 1)
  616. playerMembership.BackgroundTransparency = 1
  617. playerMembership.Position = UDim2.new(0, 5, 0, 191)
  618. playerMembership.Size = UDim2.new(0, 250, 0, 30)
  619. playerMembership.Font = Enum.Font.SourceSansLight
  620. if player.MembershipType == Enum.MembershipType.None then
  621. playerMembership.Text = "No builder's club."
  622. elseif player.MembershipType == Enum.MembershipType.BuildersClub then
  623. playerMembership.Text = "Builder's club!"
  624. elseif player.MembershipType == Enum.MembershipType.TurboBuildersClub then
  625. playerMembership.Text = "Turbo Builder's club!"
  626. elseif player.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
  627. playerMembership.Text = "Outrageous Builder's club!"
  628. end
  629. playerMembership.TextColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  630. playerMembership.TextScaled = true
  631. playerMembership.TextSize = 14
  632. playerMembership.TextWrapped = true
  633. Frame_5.Parent = Frame
  634. Frame_5.BackgroundColor3 = Color3.new(0, 0, 0)
  635. Frame_5.BackgroundTransparency = 0.69999998807907
  636. Frame_5.BorderColor3 = Color3.new(0, 0, 0)
  637. Frame_5.BorderSizePixel = 0
  638. Frame_5.ClipsDescendants = true
  639. Frame_5.Position = UDim2.new(0, 10, 0, 10)
  640. Frame_5.Selectable = true
  641. Frame_5.Size = UDim2.new(0, 255, 0, 292)
  642. Frame_5.ZIndex = -1
  643. Frame_6.Parent = Frame
  644. Frame_6.BackgroundColor3 = Color3.new(0, 0, 0)
  645. Frame_6.BackgroundTransparency = 0.69999998807907
  646. Frame_6.BorderColor3 = Color3.new(0, 0, 0)
  647. Frame_6.BorderSizePixel = 0
  648. Frame_6.ClipsDescendants = true
  649. Frame_6.Position = UDim2.new(0, 8, 0, 8)
  650. Frame_6.Selectable = true
  651. Frame_6.Size = UDim2.new(0, 255, 0, 292)
  652. Frame_6.ZIndex = -1
  653. local closeGet = {}
  654. closeGet.Size = UDim2.new(0, 0, 0, 0)
  655. local openGet = {}
  656. openGet.Position = UDim2.new(0.45, 0, 0.45, 0)
  657. local closeFunction = gsTween:Create(Frame, TweenInfo.new(2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), closeGet)
  658. local openFunction = gsTween:Create(Frame, TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), openGet)
  659. infoguiCLOSE.MouseButton1Click:Connect(function()
  660. closeFunction:Play()
  661. Frame:TweenPosition((Frame.Position + UDim2.new(0, 265 / 2, 0, 302 / 2)), "InOut", "Sine", 2)
  662. wait(2.01)
  663. Frame:Destroy()
  664. end)
  665. openFunction:Play()
  666. local UserInputService = game:GetService("UserInputService")
  667. local dragging
  668. local dragInput
  669. local dragStart
  670. local startPos
  671. local function update(input)
  672. local delta = input.Position - dragStart
  673. local dragTime = 0.055
  674. local SmoothDrag = {}
  675. SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  676. local dragSmoothFunction = gsTween:Create(Frame, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
  677. dragSmoothFunction:Play()
  678. end
  679. Frame.InputBegan:Connect(function(input)
  680. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  681. dragging = true
  682. dragStart = input.Position
  683. startPos = Frame.Position
  684. input.Changed:Connect(function()
  685. if input.UserInputState == Enum.UserInputState.End then
  686. dragging = false
  687. end
  688. end)
  689. end
  690. end)
  691. Frame.InputChanged:Connect(function(input)
  692. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  693. dragInput = input
  694. end
  695. end)
  696. UserInputService.InputChanged:Connect(function(input)
  697. if input == dragInput and dragging and Frame.Size == UDim2.new(0, 265, 0, 302) then
  698. update(input)
  699. end
  700. end)
  701. end
  702. function clientSided()
  703. Notification("info", "This command is for the client (you) only, no one else can see!", 6)
  704. end
  705. searchCmds={"1 print [msg] - Prints a message to the developer console","2 warn [msg] - Warns a message to the developer console","3 sit - Makes you sit","4 god - Activates FE Godmode (breaks tools)","5 view [plr] - Changes your camera subject to another player","6 unview - Changes your camera back to your player","7 gravity [num] - Changes workspace gravity to [num]","8 ungravity - Reverts workspace gravity to game's default","9 goto [plr] - Teleports you to a player","10 fecheck - Checks whether the game is FE or not","11 lockws - Locks the whole workspace","12 unlockws - Unlocks the whole workspace","13 noclip - Allows you to walk through walls and other objects","14 clip - Stops noclip, can collide","15 follow [plr] / [num] - Makes you follow a player constantly, optional [num] for how far away to follow","16 unfollow - Stops you from following","17 fling [plr] / [pow] - Uses your character to fling a player, optional [pow] for how much power to put into the fling","18 unfling - Stops you from flinging","19 trail [plr] / [num] - Makes you trail (walk infront) of a player constantly, optional [num] for how far away to trail","20 untrail - Stops you from trailing","21 annoy [plr] - Loop teleports you to the player","22 unannoy - Stops loop teleporting you","23 reset - Resets your character","24 grespawn - Respawns your character, best for use after FE godmode","25 respawn - Respawns your character, best to use if grespawn fails to work","26 speed // ws [num] - Changes your walkspeed (speed or ws) to [num]","27 jumppower // jp [num] - Changes your jumppower (jumppower or jp) to [num]","28 hipheight // hh [num] - Changes your hipheight (hipheight or hh) to [num]","29 default - Changes your walkspeed, jumppower and hipheight back to normal","30 credits - Displays admin credits (by illremember#3799)","31 attach [plr] - Attaches you to a player, tool required","32 fly / [speed] - Enables fly, optional [speed] for how fast to fly","33 unfly - Disables fly","34 kill [plr] - Kills a player, tool required","35 bring [plr] - Brings a player, tool required","36 naked - Displays avatar body colours","37 nolimbs - Deletes all your arms and legs","38 noarms - Deletes both your arms","39 nolegs - Deletes both your legs","40 antikick [on/off] - Blocks all remotes for antikick when on, disables when off","41 blockremote [remote] / [service] - Blocks a remote from firing, optional [service] for where the remote is located","42 remotespy [on/off] - Prints all remotes to developer console when on when fired, stops printing when off","43 bang [plr] / [speed] - Bangs a player, optional [speed] to set animation adjust speed","44 unbang - Stops bang player","45 spam [msg] - Spams [msg] in chat","46 spamdelay [num] - Sets how long to wait in between spamming","47 unspam - Stops spamming","48 info [plr] - Creates GUI with information about player account, shows Account age, membership and account ID","49 age [plr] - Chats account age of player","50 invisible - Enables FE invisibility, by Timeless","51 walk [plr] - Begins to make you loop walk towards player","52 glitch [plr] / [num] - Glitches a player, tool required, optional [num] for strength of glitch","53 tp [plr] [plr] - Teleports a player to another player, tool required","54 givetool [plr] / [tool] - Gives your current equipped tool to player, optional [tool] to pick a tool by name from your inventory","55 givealltools [plr] - Gives all tools currently equipped and in inventory to player","56 blockhats - Removes mesh of all accessories","57 blocktool - Removes mesh of currently equipped tool","58 orbit [plr] - Begins to make you orbit around a player","59 unorbit - Stops you orbiting a player","60 pos - Shows your current position","61 savepos - Saves your current position","62 loadpos - Loads your current position from savepos","63 tppos [num] [num] [num] - Teleports you to position [num], [num], [num]","64 pmspam [plr] [msg] - Makes you spam a player's pm with [msg]","65 unpmspam - Stops spamming a player's pm","66 wsvis [num] - Changes all parts in workspace to [num] transparency","67 bringobj [obj] / [num] - Brings an object in the workspace to you, optional [num] for how far away to bring object","68 cbring [plr] - Brings a player to you constantly on client","69 uncbring - Stops bringing a player to you on client","70 cfreeze [plr] - Freezes a player on your client","71 uncfreeze / [plr] - Unfreezes a player on your cleint","72 unattach - Unattaches you from a player","73 reach [on/off] / [num] - Activates/Deactivates reach for currently equipped tool, optional [num] for how long the reach should be","74 droptool / [tool] - Drops a tool into the workspace, optional [tool] command for which tool to drop","75 drophats - Drops all your accessories into the workspace","76 hidecmdbar - Hides the command bar","77 showcmdbar - Shows the command bar","78 prefix [key] - Changes your prefix to [key] must be 1 character","79 removeinvis - Removes all invisible parts in workspace","80 removefog - Removes fog in lighting","81 animation [id/gui] / [speed] - Makes you play an animation with [id], optional [speed] for adjusting animation speed OR [gui] to open Energize animation GUI","82 btools - Gives you btools for deleting, copying and dragging (client side)","83 esp [plr] - Enables an esp for that player, credits to Infinite Yield","84 unesp / [plr] - Disables all esp, optional [plr] for disabling esp just for that player","85 dice - Chats you rolling a dice for 1, 2, 3, 4, 5 or 6","86 random [min] [max] - Chats you picking a random number between [min] and [max]","87 closegame - Shutsdown/closes your game","88 savetool / [tool] - Saves a tool to your player equipped, optional [tool] for which tool to save in your inventory","89 loadtool / [tool] - Loads a tool from your player, optional [tool] for which tool to load by name","90 savealltool - Saves all tools in your character/inventory","91 loadalltool - Loads all tools in your player saved tools","92 clicktp / [key] - Enables click teleport, optional [key] to set a key instead of clicking","93 clickdel / [key] - Enables click delete part, optional [key] to set a key instead of clicking","94 unclicktp - Disables clicktp","95 unclickdel - Disables clickdel","96 shutdown - Attempts a server shutdown","97 chatlogs - Opens up a chat log gui with options to print chat to developer console","98 stopadmin - Disables currently running admin completely","99 freecam / [speed] - Enables freecam (like flying but not in character), optional [speed] for how fast the freecam should go","100 unfreecam // unfc - Disables freecam","101 fctp [plr] - Teleports your freecam to player","102 gotofc - Teleports you to current freecam position","103 cmds - Opens up this GUI with commands","104 fullcredits - Shows full individual credits for all help with the admin","105 hotkey [key] [cmd] - Creates a hotkey that executes [cmd] when [key] is pressed","106 removehotkey [key] - Removes a hotkey with [key]","107 removeallhotkey - Removes all current hotkeys for commands","108 printhotkeys - Prints all current existing hotkeys","109 os [plr] - Chats the current OS of a player","110 spin [plr] - Makes you spin with a player, tool required","111 unspin - Stops you spinning a player/teleporting to a player","112 explorer - Loads DEX explorer","113 maxzoom [num] - Changes your maxzoom to number","114 stare [plr] - Makes you stare at another player","115 unstare [plr] - Makes you stop staring at player","116 tempgod - Enables temporary FE godmode, does not work on all games, does not break tools","117 void [plr] - Teleports you and a player to the void, requires a tool","118 freefall [plr] - Makes you and a player freefall to the ground","119 version - Shows current admin's version","120 shiftlockon - Enables shift lock if not enabled by game developer","121 copychat [plr] - Makes you copy the chat player says, use uncopychat to stop copying chat","122 newattach [plr] - Does not FE Godmode you, requires 2 tools, attaches you to player","123 newkill [plr] - Does not FE Godmode you, requires 2 tools, kills player","124 newbring [plr] - Does not FE Godmode you, requires 2 tools, brings player","125 spawn [ws/jp/hh/god] [num] - Sets your walkspeed/jumppower/hipheight to number whenever you respawn, or makes you FE Godded whenever you respawn","126 unspawn - Stops you spawning with stats set by "..commandPrefix.."spawn","127 autosavetool [on/off] - Auto saves your tools when you reset","128 beginbot / [mode] - Makes you a bot for other players, type just "..commandPrefix.."beginbot to print available modes","129 endbot / [mode] - Ends "..commandPrefix.."beginbot, optional [mode] to disable one mode only","130 stopsit - Disables your ability to sit","131 gosit - Enables your ability to sit","132 spawnpoint - Sets your spawnpoint for whenever you reset to where you are","133 nospawn - Removes your spawnpoint","134 chaterror - Creates a chat error, works best first time","135 bypass [on/off] - Changes certain commands like "..commandPrefix.."fly so they are not detected by most anti-exploits", "136 fixcam - Fixes your camera in case it breaks", "137 gotoobj [obj] - Teleports you to a part in the workspace, make sure you put the name properly!", "138 breakcam - Makes it so your camera can go through parts, fixed with "..commandPrefix.."fixcam", "139 inviscam - Makes it so your camera goes through parts and makes them transparent so your character is always visible, fixed with "..commandPrefix.."fixcam", "140 printobj / [key] - Prints the object's path clicked to developer console, optional [key] for key pressed instead of click", "141 unprintobj - Stops printobj from running", "142 hotkeyfc [goto/unfc] - If freecam is set as a hotkey, chooses whether to use unfreecam or gotofc when disabling through a hotkey", "143 carpet [plr] - Makes you a carpet for a player", "144 uncarpet - Stops carpet", "145 brickcreate [num] / [pos] [pos] [pos] - Creates [num] amount of bricks from accessories, wont work in all games, optional [pos] for position to create bricks", "146 uncopychat - Stops copying chat", "147 forward / [speed] - Makes you automatically move forward default speed is 1", "148 unforward - Stops you moving automatically forward from forward", "149 id [plr] - Makes you chat the user ID of the player", "150 spinhats / [pow] - Makes all your accessories begin to spin around! Credit to xFunnieuss.", "151 unspinhats - Stops spinhats from spinning accessories", "152 headless - Makes you headless, but cannot control your character after, use grespawn to reset", "153 savemap - Saves the current workspace/map", "154 loadmap - Loads map saved by savemap", "155 creatorid - Changes your user ID to the game creator's user ID", "156 gameid - Shows the game's ID", "157 delobj [obj] - Allows you to delete an object in the workspace by name", "158 glide [plr] / [speed] - Makes you glide towards a player, optional [speed] for the speed of gliding", "159 stutter [on/off] - Makes your character begin stuttering as you move", "160 platform - Creates a platform on your client that you can stand on, deletes in 20 seconds", "161 servertime - Gets the server time", "162 ride [plr] - Makes you ride a player's head", "163 unride [plr] - Makes you stop riding a player's head", "164 cmute [plr] - Client mutes a player, useful for muting spammers", "165 uncmute - Unmutes a player that has been cmuted", "166 hat [plr] - Makes you carpet a player, but on their head", "167 unhat - Stops hat from running", "168 chat [msg] - Makes you chat a string, useful for hotkeys"}
  706. CMDS={"print [msg]","warn [msg]","sit","god","view [plr]","unview","gravity [num]","ungravity","goto [plr]","fecheck","lockws","unlockws","noclip","clip","follow [plr] / [num]","unfollow","fling [plr] / [pow]","unfling","trail [plr] / [num]","untrail","annoy [plr]","unannoy","reset","grespawn","respawn","speed // ws [num]","jumppower // jp [num]","hipheight // hh [num]","default","credits","attach [plr]","fly / [speed]","unfly","kill [plr]","bring [plr]","naked","nolimbs","noarms","nolegs","antikick [on/off]","blockremote [remote] / [service]","remotespy [on/off]","bang [plr] / [speed]","unbang","spam [msg]","spamdelay [num]","unspam","info [plr]","age [plr]","invisible","walk [plr]","glitch [plr] / [num]","tp [plr] [plr]","givetool [plr] / [tool]","givealltools [plr]","blockhats","blocktool","orbit [plr]","unorbit","pos","savepos","loadpos","tppos [num] [num] [num]","pmspam [plr] [msg]","unpmspam","wsvis [num]","bringobj [obj] / [num]","cbring [plr] / [num]","uncbring","cfreeze [plr]","uncfreeze / [plr]","unattach","reach [on/off] / [num]","droptool / [tool]","drophats","hidecmdbar","showcmdbar","prefix [key]","removeinvis","removefog","animation [id/gui] / [speed]","btools","esp [plr]","unesp / [plr]","dice","random [min] [max]","closegame","savetool / [tool]","loadtool / [tool]","savealltool","loadalltool","clicktp / [key]","clickdel / [key]","unclicktp","unclickdel","oof","chatlogs","stopadmin","freecam / [speed] // fc / [speed]","unfreecam // unfc","gotofc","cmds","fullcredits","hotkey [key] [cmd]","removehotkey [key]","removeallhotkey","printhotkeys","os [plr]","spin [plr]","unspin","fctp [plr]","explorer","maxzoom [num]","stare [plr]","unstare [plr]","tempgod","void [plr]","freefall [plr]","version","shiftlockon","copychat [plr]","newattach [plr]","newkill [plr]","newbring [plr]","spawn [ws/jp/hh/god] [num]","unspawn","autosavetool [on/off]","beginbot / [mode]","endbot / [mode]","stopsit","gosit","spawnpoint","nospawn","chaterror", "bypass [on/off]", "fixcam", "gotoobj [obj]", "breakcam", "inviscam", "printobj / [key]", "unprintobj", "hotkeyfc [goto/unfc]", "carpet [plr]", "uncarpet", "brickcreate [num] / [pos] [pos] [pos]", "uncopychat", "forward / [speed]", "unforward", "id [plr]", "spinhats / [pow]", "unspinhats", "headless", "savemap", "loadmap", "creatorid", "gameid", "delobj [obj]", "glide [plr] / [speed]", "stutter [on/off]", "platform", "servertime", "ride [plr]", "unride", "cmute [plr]", "uncmute", "hat [plr]", "unhat", "chat [msg]"} -- 168
  707. local CMDS_GUI_V2 = Instance.new("ScreenGui")
  708. local CMDSmain = Instance.new("Frame")
  709. local CMDSframemain = Instance.new("Frame")
  710. local cmdgui_topframe = Instance.new("Frame")
  711. local closecmdsgui = Instance.new("TextButton")
  712. local cmdgui_midframe = Instance.new("Frame")
  713. local cmdsgui_SearchFunction = Instance.new("TextBox")
  714. local cmdsgui_searchDETAILFRAME = Instance.new("Frame")
  715. local cmdsgui_searchDETAILTEXT = Instance.new("TextLabel")
  716. local ListofCMDS = Instance.new("ScrollingFrame")
  717. local cmdTutorial = Instance.new("TextLabel")
  718. local cmdTutorial_2 = Instance.new("TextLabel")
  719. local cmdTutorial_3 = Instance.new("TextLabel")
  720. local CMDS_Shadow = Instance.new("Frame")
  721. local CMDS_Shadow2 = Instance.new("Frame")
  722. CMDS_GUI_V2.Name = "CMDS_GUI_V2"
  723. CMDS_GUI_V2.Parent = gsCoreGui
  724. CMDSmain.Name = "CMDSmain"
  725. CMDSmain.Parent = CMDS_GUI_V2
  726. CMDSmain.BackgroundColor3 = Color3.new(1, 1, 1)
  727. CMDSmain.BackgroundTransparency = 1
  728. CMDSmain.Position = UDim2.new(0, 695, 0, 297)
  729. CMDSmain.Size = UDim2.new(0, 440, 0, 367)
  730. CMDSmain.AnchorPoint = Vector2.new(0.5, 0.5)
  731. CMDSmain.Visible = false
  732. CMDSmain.ClipsDescendants = true
  733. CMDSframemain.Name = "CMDSframemain"
  734. CMDSframemain.Parent = CMDSmain
  735. CMDSframemain.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804)
  736. CMDSframemain.BorderSizePixel = 0
  737. CMDSframemain.Size = UDim2.new(0, 440, 0, 367)
  738. cmdgui_topframe.Name = "cmdgui_topframe"
  739. cmdgui_topframe.Parent = CMDSframemain
  740. cmdgui_topframe.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  741. cmdgui_topframe.BorderSizePixel = 0
  742. cmdgui_topframe.Size = UDim2.new(0, 440, 0, 15)
  743. closecmdsgui.Name = "closecmdsgui"
  744. closecmdsgui.Parent = cmdgui_topframe
  745. closecmdsgui.BackgroundColor3 = Color3.new(1, 1, 1)
  746. closecmdsgui.BackgroundTransparency = 1
  747. closecmdsgui.Position = UDim2.new(0, 410, 0, 0)
  748. closecmdsgui.Size = UDim2.new(0, 30, 0, 15)
  749. closecmdsgui.Font = Enum.Font.SourceSansBold
  750. closecmdsgui.Text = "X"
  751. closecmdsgui.TextColor3 = Color3.new(0.968628, 0.968628, 0.968628)
  752. closecmdsgui.TextSize = 20
  753. cmdgui_midframe.Name = "cmdgui_midframe"
  754. cmdgui_midframe.Parent = CMDSframemain
  755. cmdgui_midframe.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  756. cmdgui_midframe.BorderSizePixel = 0
  757. cmdgui_midframe.Position = UDim2.new(0, 0, 0, 15)
  758. cmdgui_midframe.Size = UDim2.new(0, 440, 0, 45)
  759. cmdsgui_SearchFunction.Name = "cmdsgui_SearchFunction"
  760. cmdsgui_SearchFunction.Parent = cmdgui_midframe
  761. cmdsgui_SearchFunction.BackgroundColor3 = Color3.new(1, 1, 1)
  762. cmdsgui_SearchFunction.BackgroundTransparency = 1
  763. cmdsgui_SearchFunction.BorderSizePixel = 0
  764. cmdsgui_SearchFunction.Position = UDim2.new(0, 120, 0, 10)
  765. cmdsgui_SearchFunction.Size = UDim2.new(0, 200, 0, 25)
  766. cmdsgui_SearchFunction.Font = Enum.Font.SourceSans
  767. cmdsgui_SearchFunction.Text = ""
  768. cmdsgui_SearchFunction.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  769. cmdsgui_SearchFunction.TextScaled = true
  770. cmdsgui_SearchFunction.TextSize = 14
  771. cmdsgui_SearchFunction.TextWrapped = true
  772. cmdsgui_searchDETAILFRAME.Name = "cmdsgui_searchDETAILFRAME"
  773. cmdsgui_searchDETAILFRAME.Parent = cmdsgui_SearchFunction
  774. cmdsgui_searchDETAILFRAME.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  775. cmdsgui_searchDETAILFRAME.BorderSizePixel = 0
  776. cmdsgui_searchDETAILFRAME.Position = UDim2.new(0, 0, 0, 25)
  777. cmdsgui_searchDETAILFRAME.Size = UDim2.new(0, 200, 0, 2)
  778. cmdsgui_searchDETAILTEXT.Name = "cmdsgui_searchDETAILTEXT"
  779. cmdsgui_searchDETAILTEXT.Parent = cmdsgui_SearchFunction
  780. cmdsgui_searchDETAILTEXT.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  781. cmdsgui_searchDETAILTEXT.BackgroundTransparency = 1
  782. cmdsgui_searchDETAILTEXT.Size = UDim2.new(0, 200, 0, 25)
  783. cmdsgui_searchDETAILTEXT.Font = Enum.Font.SourceSansLight
  784. cmdsgui_searchDETAILTEXT.Text = "Search"
  785. cmdsgui_searchDETAILTEXT.TextColor3 = Color3.fromRGB(240, 240, 240)
  786. cmdsgui_searchDETAILTEXT.TextSize = 30
  787. ListofCMDS.Name = "ListofCMDS"
  788. ListofCMDS.Parent = CMDSframemain
  789. ListofCMDS.BackgroundColor3 = Color3.new(0.309804, 0.309804, 0.309804)
  790. ListofCMDS.BorderSizePixel = 0
  791. ListofCMDS.Position = UDim2.new(0, 0, 0, 60)
  792. ListofCMDS.Size = UDim2.new(0, 440, 0, 307)
  793. ListofCMDS.CanvasSize = UDim2.new(5, 0, 8, 0)
  794. ListofCMDS.ScrollingDirection = Enum.ScrollingDirection.XY
  795. cmdTutorial.Name = "cmdTutorial"
  796. cmdTutorial.Parent = ListofCMDS
  797. cmdTutorial.BackgroundColor3 = Color3.new(1, 1, 1)
  798. cmdTutorial.BackgroundTransparency = 1
  799. cmdTutorial.BorderSizePixel = 0
  800. cmdTutorial.Position = UDim2.new(0, 5, 0, 5)
  801. cmdTutorial.Size = UDim2.new(0, 420, 0, 20)
  802. cmdTutorial.Font = Enum.Font.SourceSansBold
  803. cmdTutorial.Text = "\"/\" means OPTIONAL argument after"
  804. cmdTutorial.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  805. cmdTutorial.TextScaled = true
  806. cmdTutorial.TextSize = 14
  807. cmdTutorial.TextWrapped = true
  808. cmdTutorial.TextXAlignment = Enum.TextXAlignment.Left
  809. cmdTutorial_2.Name = "cmdTutorial"
  810. cmdTutorial_2.Parent = ListofCMDS
  811. cmdTutorial_2.BackgroundColor3 = Color3.new(1, 1, 1)
  812. cmdTutorial_2.BackgroundTransparency = 1
  813. cmdTutorial_2.BorderSizePixel = 0
  814. cmdTutorial_2.Position = UDim2.new(0, 5, 0, 25)
  815. cmdTutorial_2.Size = UDim2.new(0, 420, 0, 20)
  816. cmdTutorial_2.Font = Enum.Font.SourceSansBold
  817. cmdTutorial_2.Text = "\"//\" means another way of running command"
  818. cmdTutorial_2.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  819. cmdTutorial_2.TextScaled = true
  820. cmdTutorial_2.TextSize = 14
  821. cmdTutorial_2.TextWrapped = true
  822. cmdTutorial_2.TextXAlignment = Enum.TextXAlignment.Left
  823. cmdTutorial_3.Name = "cmdTutorial"
  824. cmdTutorial_3.Parent = ListofCMDS
  825. cmdTutorial_3.BackgroundColor3 = Color3.new(1, 1, 1)
  826. cmdTutorial_3.BackgroundTransparency = 1
  827. cmdTutorial_3.BorderSizePixel = 0
  828. cmdTutorial_3.Position = UDim2.new(0, 5, 0, 45)
  829. cmdTutorial_3.Size = UDim2.new(0, 420, 0, 20)
  830. cmdTutorial_3.Font = Enum.Font.SourceSansBold
  831. cmdTutorial_3.Text = "Anything inside \"[ ]\" is an argument for the command"
  832. cmdTutorial_3.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  833. cmdTutorial_3.TextScaled = true
  834. cmdTutorial_3.TextSize = 14
  835. cmdTutorial_3.TextWrapped = true
  836. cmdTutorial_3.TextXAlignment = Enum.TextXAlignment.Left
  837. CMDS_Shadow.Name = "CMDS_Shadow"
  838. CMDS_Shadow.Parent = CMDSmain
  839. CMDS_Shadow.BackgroundColor3 = Color3.new(0, 0, 0)
  840. CMDS_Shadow.BackgroundTransparency = 0.60000002384186
  841. CMDS_Shadow.BorderSizePixel = 0
  842. CMDS_Shadow.Position = UDim2.new(0, 2, 0, 2)
  843. CMDS_Shadow.Size = UDim2.new(0, 440, 0, 367)
  844. CMDS_Shadow.ZIndex = -1
  845. CMDS_Shadow2.Name = "CMDS_Shadow2"
  846. CMDS_Shadow2.Parent = CMDSmain
  847. CMDS_Shadow2.BackgroundColor3 = Color3.new(0, 0, 0)
  848. CMDS_Shadow2.BackgroundTransparency = 0.80000001192093
  849. CMDS_Shadow2.BorderSizePixel = 0
  850. CMDS_Shadow2.Position = UDim2.new(0, 5, 0, 5)
  851. CMDS_Shadow2.Size = UDim2.new(0, 440, 0, 367)
  852. CMDS_Shadow2.ZIndex = -1
  853. closecmdsgui.MouseButton1Click:Connect(function()
  854. CMDSmain:TweenSize(UDim2.new(0, 0, 0, 0), "InOut", "Sine", 2)
  855. end)
  856. function CreateCMDlabel(position, text)
  857. local sizenow = 15
  858. local cmdHere = Instance.new("TextLabel")
  859. cmdHere.Name = "cmdHere"
  860. cmdHere.TextWrapped = true
  861. cmdHere.Parent = ListofCMDS
  862. cmdHere.BackgroundColor3 = Color3.new(1, 1, 1)
  863. cmdHere.BackgroundTransparency = 1
  864. cmdHere.BorderSizePixel = 0
  865. cmdHere.Position = position
  866. cmdHere.Size = UDim2.new(0, 1950, 0, sizenow)
  867. cmdHere.Font = Enum.Font.SourceSans
  868. cmdHere.Text = text
  869. cmdHere.TextWrapped = true
  870. cmdHere.TextColor3 = Color3.new(0.956863, 0.956863, 0.956863)
  871. cmdHere.TextScaled = false
  872. cmdHere.TextSize = 20
  873. cmdHere.TextXAlignment = Enum.TextXAlignment.Left
  874. end
  875. for i,_cmds in pairs(searchCmds) do
  876. CreateCMDlabel(UDim2.new(0, 5, 0, 50 + (i * 15)), _cmds)
  877. end
  878. local UserInputService = game:GetService("UserInputService")
  879. local dragging
  880. local dragInput
  881. local dragStart
  882. local startPos
  883. local function updateCMDS(input)
  884. local delta = input.Position - dragStart
  885. local dragTime = 0.055
  886. local SmoothDrag = {}
  887. SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  888. local dragSmoothFunction = gsTween:Create(CMDSmain, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
  889. dragSmoothFunction:Play()
  890. end
  891. cmdgui_topframe.InputBegan:Connect(function(input)
  892. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  893. dragging = true
  894. dragStart = input.Position
  895. startPos = CMDSmain.Position
  896. input.Changed:Connect(function()
  897. if input.UserInputState == Enum.UserInputState.End then
  898. dragging = false
  899. end
  900. end)
  901. end
  902. end)
  903. cmdgui_topframe.InputChanged:Connect(function(input)
  904. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  905. dragInput = input
  906. end
  907. end)
  908. cmdgui_midframe.InputBegan:Connect(function(input)
  909. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  910. dragging = true
  911. dragStart = input.Position
  912. startPos = CMDSmain.Position
  913. input.Changed:Connect(function()
  914. if input.UserInputState == Enum.UserInputState.End then
  915. dragging = false
  916. end
  917. end)
  918. end
  919. end)
  920. cmdgui_midframe.InputChanged:Connect(function(input)
  921. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  922. dragInput = input
  923. end
  924. end)
  925. UserInputService.InputChanged:Connect(function(input)
  926. if input == dragInput and dragging then
  927. updateCMDS(input)
  928. end
  929. end)
  930. cmdsgui_SearchFunction.Focused:Connect(function()
  931. cmdsgui_SearchFunction.TextTransparency = 0
  932. local searchTween = {}
  933. searchTween.TextColor3 = Color3.new(0.0980392, 0.462745, 0.823529)
  934. searchTween.TextSize = 18
  935. searchTween.Position = UDim2.new(0, -70, 0, -15)
  936. local frameTweenblue = {}
  937. frameTweenblue.BackgroundColor3 = Color3.new(0.0980392, 0.462745, 0.823529)
  938. local searchTween1 = gsTween:Create(cmdsgui_searchDETAILTEXT, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), searchTween)
  939. searchTween1:Play()
  940. local frameTweenblue1 = gsTween:Create(cmdsgui_searchDETAILFRAME, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), frameTweenblue)
  941. frameTweenblue1:Play()
  942. end)
  943. cmdsgui_SearchFunction.FocusLost:Connect(function(enterPressed)
  944. if not enterPressed then
  945. cmdsgui_SearchFunction.TextTransparency = 1
  946. else
  947. cmdsgui_SearchFunction.Text = " "
  948. end
  949. local searchTween = {}
  950. searchTween.TextColor3 = Color3.fromRGB(240, 240, 240)
  951. searchTween.TextSize = 30
  952. searchTween.Position = UDim2.new(0, 0, 0, 0)
  953. local frameTweenblue = {}
  954. frameTweenblue.BackgroundColor3 = Color3.fromRGB(240, 240, 240)
  955. local searchTween1 = gsTween:Create(cmdsgui_searchDETAILTEXT, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), searchTween)
  956. searchTween1:Play()
  957. local frameTweenblue1 = gsTween:Create(cmdsgui_searchDETAILFRAME, TweenInfo.new(0.3, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), frameTweenblue)
  958. frameTweenblue1:Play()
  959. end)
  960. cmdsgui_SearchFunction.Changed:Connect(function()
  961. local index = 0
  962. if cmdsgui_SearchFunction.Text ~= "" then
  963. for i,v in pairs(ListofCMDS:GetChildren()) do
  964. if v.Name == "cmdHere" then
  965. if not string.find(v.Text, cmdsgui_SearchFunction.Text) then
  966. v.Visible = false
  967. else
  968. v.Visible = true
  969. index = index + 1
  970. v.Position = UDim2.new(0, 5, 0, 50 + (index * 15))
  971. end
  972. end
  973. end
  974. end
  975. end)
  976.  
  977. -- Command Execution
  978. LP.Chatted:Connect(function(chat)
  979. run(chat)
  980. end)
  981.  
  982. function run(msg)
  983. if string.lower(string.sub(msg, 2, 5)) == "chat" then
  984. msg = msg
  985. elseif string.match(msg, "hotkey") and string.match(msg, "chat") then
  986. msg = msg
  987. else
  988. msg = string.lower(msg)
  989. end
  990. local cmdPrefix = string.sub(msg, 1, 1)
  991. if cmdPrefix == commandPrefix then
  992. msg = string.sub(msg, 2)
  993. local args = {}
  994. for arg in string.gmatch(msg,"[^%s]+") do
  995. table.insert(args,arg)
  996. end
  997. local cmdName = args[1]
  998. table.remove(args,1)
  999. local doCmd = Commands[cmdName]
  1000.  
  1001. if doCmd ~= nil then
  1002. doCmd(args)
  1003. end
  1004. end
  1005. end
  1006.  
  1007. -- Command bar
  1008. local CommandBar = Instance.new("ScreenGui")
  1009. local CMDBAR = Instance.new("Frame")
  1010. local CMDBARText = Instance.new("TextBox")
  1011. CommandBar.Name = "CommandBar"
  1012. CommandBar.Parent = gsCoreGui
  1013. CMDBAR.Name = "CMDBAR"
  1014. CMDBAR.Parent = CommandBar
  1015. CMDBAR.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.172549)
  1016. CMDBAR.BorderSizePixel = 0
  1017. CMDBAR.Position = UDim2.new(0.025, 0, 1, 0)
  1018. CMDBAR.Size = UDim2.new(0, 270, 0, 35)
  1019. CMDBARText.Name = "CMDBARText"
  1020. CMDBARText.Parent = CMDBAR
  1021. CMDBARText.BackgroundColor3 = Color3.new(0.188235, 0.188235, 0.188235)
  1022. CMDBARText.BorderSizePixel = 0
  1023. CMDBARText.Position = UDim2.new(0, 5, 0, 5)
  1024. CMDBARText.Size = UDim2.new(0, 260, 0, 25)
  1025. CMDBARText.Font = Enum.Font.SourceSansLight
  1026. CMDBARText.Text = ""
  1027. CMDBARText.TextColor3 = Color3.new(0.933333, 0.933333, 0.933333)
  1028. CMDBARText.TextScaled = true
  1029. CMDBARText.TextSize = 14
  1030. CMDBARText.TextWrapped = true
  1031. Mouse.KeyDown:connect(function(Key)
  1032. if Key == string.lower(commandPrefix) then
  1033. CMDBARText:CaptureFocus()
  1034. CMDBAR:TweenPosition(UDim2.new(0.015, 0, 0.95, 0), "Out", "Elastic", 0.5, true)
  1035. end
  1036. end)
  1037. CMDBARText.FocusLost:connect(function(enterPressed)
  1038. CMDBAR:TweenPosition(UDim2.new(0.015, 0, 1, 0), "Out", "Quad", 0.5, true)
  1039. if enterPressed then
  1040. local cmdmsg = CMDBARText.Text
  1041. CMDBARText.Text = ""
  1042. run(commandPrefix..cmdmsg)
  1043. end
  1044. end)
  1045. local Match = Instance.new("Frame")
  1046. Match.Name = "Match"
  1047. Match.Parent = CMDBAR
  1048. Match.BackgroundColor3 = Color3.new(0.164706, 0.152941, 0.172549)
  1049. Match.BorderSizePixel = 0
  1050. Match.Position = UDim2.new(0, 0, -4, 0)
  1051. Match.Size = UDim2.new(1, 0, 4, 0)
  1052. Match.Visible = false
  1053. function CreateOption(Text)
  1054. local Option1 = Instance.new("TextLabel")
  1055. Option1.Name = "Option"
  1056. Option1.Parent = Match
  1057. Option1.BackgroundColor3 = Color3.new(1, 1, 1)
  1058. Option1.BackgroundTransparency = 1
  1059. Option1.Position = UDim2.new(-10, 0, 0, 0)
  1060. Option1.Size = UDim2.new(1, 0, 0, 20)
  1061. Option1.Font = Enum.Font.SourceSans
  1062. Option1.Text = Text
  1063. Option1.TextColor3 = Color3.new(0.952941, 0.952941, 0.952941)
  1064. Option1.TextScaled = true
  1065. Option1.TextWrapped = true
  1066. end
  1067. for i,cmdtext2 in pairs(CMDS) do
  1068. CreateOption(cmdtext2)
  1069. end
  1070. CMDBARText.Changed:Connect(function()
  1071. if CMDBARText.Text ~= "" and CMDBARText.Text ~= commandPrefix then
  1072. Match.Visible = true
  1073. local PositionMatch = 0
  1074. for i,cmdtext in pairs(Match:GetChildren()) do
  1075. if cmdtext.Name == "Option" then
  1076. if string.find(cmdtext.Text, CMDBARText.Text) then
  1077. cmdtext.Position = UDim2.new(0, 0, 0, 2 + (PositionMatch * 20))
  1078. PositionMatch = PositionMatch + 1
  1079. if cmdtext.Position == UDim2.new(0, 0, 0, 142) then
  1080. cmdtext.Position = UDim2.new(-10, 0, 0, 0)
  1081. PositionMatch = PositionMatch - 1
  1082. end
  1083. else
  1084. cmdtext.Position = UDim2.new(-10, 0, 0, 0)
  1085. end
  1086. end
  1087. end
  1088. else
  1089. Match.Visible = false
  1090. end
  1091. end)
  1092.  
  1093. -- Chat
  1094. local ChatLogsv2 = Instance.new("ScreenGui")
  1095. local MainChatFrame = Instance.new("Frame")
  1096. local Framess = Instance.new("Frame")
  1097. local CloseChatGUI = Instance.new("TextButton")
  1098. local Frame_222 = Instance.new("Frame")
  1099. local PrintChat = Instance.new("TextButton")
  1100. local Shadow1 = Instance.new("Frame")
  1101. local Shadow2 = Instance.new("Frame")
  1102. local ScrollingFrame = Instance.new("ScrollingFrame")
  1103. ChatLogsv2.Name = "ChatLogsv2"
  1104. ChatLogsv2.Parent = gsCoreGui
  1105. MainChatFrame.Name = "MainChatFrame"
  1106. MainChatFrame.Parent = ChatLogsv2
  1107. MainChatFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  1108. MainChatFrame.BackgroundTransparency = 1
  1109. MainChatFrame.Position = UDim2.new(0, 760, 0, 261)
  1110. MainChatFrame.Size = UDim2.new(0, 525, 0, 337)
  1111. MainChatFrame.Visible = false
  1112. Framess.Parent = MainChatFrame
  1113. Framess.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  1114. Framess.BorderSizePixel = 0
  1115. Framess.Size = UDim2.new(0, 525, 0, 15)
  1116. CloseChatGUI.Name = "CloseChatGUI"
  1117. CloseChatGUI.Parent = Framess
  1118. CloseChatGUI.BackgroundColor3 = Color3.new(1, 1, 1)
  1119. CloseChatGUI.BackgroundTransparency = 1
  1120. CloseChatGUI.BorderSizePixel = 0
  1121. CloseChatGUI.Position = UDim2.new(0, 495, 0, 0)
  1122. CloseChatGUI.Size = UDim2.new(0, 30, 0, 15)
  1123. CloseChatGUI.Font = Enum.Font.SourceSansBold
  1124. CloseChatGUI.Text = "X"
  1125. CloseChatGUI.TextColor3 = Color3.new(0.945098, 0.945098, 0.945098)
  1126. CloseChatGUI.TextSize = 20
  1127. Frame_222.Parent = MainChatFrame
  1128. Frame_222.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  1129. Frame_222.BorderSizePixel = 0
  1130. Frame_222.Position = UDim2.new(0, 0, 0, 15)
  1131. Frame_222.Size = UDim2.new(0, 525, 0, 50)
  1132. PrintChat.Name = "PrintChat"
  1133. PrintChat.Parent = Frame_222
  1134. PrintChat.BackgroundColor3 = Color3.new(0.870588, 0.25098, 0.25098)
  1135. PrintChat.BorderSizePixel = 0
  1136. PrintChat.Position = UDim2.new(0, 15, 0, 0)
  1137. PrintChat.Size = UDim2.new(0, 170, 0, 30)
  1138. PrintChat.Font = Enum.Font.SourceSansLight
  1139. PrintChat.Text = "Print Chat"
  1140. PrintChat.TextColor3 = Color3.new(0.960784, 0.960784, 0.960784)
  1141. PrintChat.TextSize = 30
  1142. PrintChat.TextWrapped = true
  1143. Shadow1.Name = "Shadow1"
  1144. Shadow1.Parent = MainChatFrame
  1145. Shadow1.BackgroundColor3 = Color3.new(0, 0, 0)
  1146. Shadow1.BackgroundTransparency = 0.5
  1147. Shadow1.Position = UDim2.new(0, 2, 0, 2)
  1148. Shadow1.Size = UDim2.new(0, 525, 0, 337)
  1149. Shadow1.ZIndex = -1
  1150. Shadow2.Name = "Shadow2"
  1151. Shadow2.Parent = MainChatFrame
  1152. Shadow2.BackgroundColor3 = Color3.new(0, 0, 0)
  1153. Shadow2.BackgroundTransparency = 0.80000001192093
  1154. Shadow2.Position = UDim2.new(0, 5, 0, 5)
  1155. Shadow2.Size = UDim2.new(0, 525, 0, 337)
  1156. Shadow2.ZIndex = -1
  1157. ScrollingFrame.Parent = MainChatFrame
  1158. ScrollingFrame.BackgroundColor3 = Color3.new(0.266667, 0.266667, 0.266667)
  1159. ScrollingFrame.BorderSizePixel = 0
  1160. ScrollingFrame.Position = UDim2.new(0, 0, 0, 65)
  1161. ScrollingFrame.Size = UDim2.new(0, 525, 0, 271)
  1162. ScrollingFrame.CanvasPosition = Vector2.new(0, 403)
  1163. ScrollingFrame.ScrollBarThickness = 8
  1164. function CreateChatText(plr, chat)
  1165. for i,v in pairs(ScrollingFrame:GetDescendants()) do
  1166. v.Position = v.Position - UDim2.new(0, 0, 0, 20)
  1167. if v.Position == UDim2.new(0, 5, 0, 10) then
  1168. v:Destroy()
  1169. end
  1170. end
  1171. local Example = Instance.new("TextLabel")
  1172. Example.Name = "Example"
  1173. Example.Parent = ScrollingFrame
  1174. Example.BackgroundColor3 = Color3.new(1, 1, 1)
  1175. Example.BackgroundTransparency = 1
  1176. Example.Position = UDim2.new(0, 5, 0, 650)
  1177. Example.Size = UDim2.new(0, 500, 0, 20)
  1178. Example.Font = Enum.Font.SourceSans
  1179. Example.Text = "["..plr.Name.."]: "..chat
  1180. Example.TextColor3 = Color3.new(0.960784, 0.960784, 0.960784)
  1181. Example.TextScaled = true
  1182. Example.TextSize = 20
  1183. Example.TextWrapped = true
  1184. Example.TextXAlignment = Enum.TextXAlignment.Left
  1185. end
  1186. CloseChatGUI.MouseButton1Click:Connect(function()
  1187. MainChatFrame:TweenPosition(UDim2.new(0, 550, 0, -550), "InOut", "Sine", 2)
  1188. wait(2.01)
  1189. MainChatFrame.Visible = false
  1190. end)
  1191. printingChat = false
  1192. PrintChat.MouseButton1Click:Connect(function()
  1193. if printingChat == false then
  1194. printingChat = true
  1195. PrintChat.BackgroundColor3 = Color3.fromRGB(60, 200, 60)
  1196. elseif printingChat == true then
  1197. printingChat = false
  1198. PrintChat.BackgroundColor3 = Color3.new(0.870588, 0.25098, 0.25098)
  1199. end
  1200. end)
  1201. local UserInputService = game:GetService("UserInputService")
  1202. local dragging
  1203. local dragInput
  1204. local dragStart
  1205. local startPos
  1206. local function updateChat(input)
  1207. local delta = input.Position - dragStart
  1208. local dragTime = 0.055
  1209. local SmoothDrag = {}
  1210. SmoothDrag.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  1211. local dragSmoothFunction = gsTween:Create(MainChatFrame, TweenInfo.new(dragTime, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), SmoothDrag)
  1212. dragSmoothFunction:Play()
  1213. end
  1214. Frame_222.InputBegan:Connect(function(input)
  1215. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  1216. dragging = true
  1217. dragStart = input.Position
  1218. startPos = MainChatFrame.Position
  1219. input.Changed:Connect(function()
  1220. if input.UserInputState == Enum.UserInputState.End then
  1221. dragging = false
  1222. end
  1223. end)
  1224. end
  1225. end)
  1226. Frame_222.InputChanged:Connect(function(input)
  1227. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  1228. dragInput = input
  1229. end
  1230. end)
  1231. UserInputService.InputChanged:Connect(function(input)
  1232. if input == dragInput and dragging then
  1233. updateChat(input)
  1234. end
  1235. end)
  1236.  
  1237. function printChat(player, chat)
  1238. print("["..player.Name.."]: "..chat)
  1239. end
  1240. complimentReady = true
  1241. for i,currentPlayersChatting in pairs(game:GetService("Players"):GetPlayers()) do
  1242. currentPlayersChatting.Chatted:connect(function(chat)
  1243. CreateChatText(currentPlayersChatting, chat)
  1244. if printingChat then
  1245. printChat(currentPlayersChatting, chat)
  1246. end
  1247. if copychatACTIVE then
  1248. if currentPlayersChatting == copychatplayer then
  1249. gsReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(chat, "All")
  1250. end
  1251. end
  1252. if modeFling == true then
  1253. if string.lower(string.sub(chat, 1, 7)) == "!fling " then
  1254. if gsWorkspace:PGSIsEnabled() == false then
  1255. FEGodmode()
  1256. end
  1257. if string.lower(string.sub(chat, 8)) == "me" then
  1258. run(commandPrefix.."unfling")
  1259. LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
  1260. run(commandPrefix.."fling "..currentPlayersChatting.Name.." 2000000")
  1261. else
  1262. for i,notAll in pairs(findSinglePlayer(string.lower(string.sub(chat, 8)))) do
  1263. if notAll ~= LP then
  1264. run(commandPrefix.."unfling")
  1265. LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
  1266. run(commandPrefix.."fling "..notAll.Name.." 2000000")
  1267. end
  1268. end
  1269. end
  1270. end
  1271. end
  1272. if modeCompliment == true then
  1273. if string.lower(string.sub(chat, 1, 3)) == "!c " then
  1274. if complimentReady then
  1275. complimentReady = false
  1276. if string.lower(string.sub(chat, 4)) == "me" then
  1277. complimentplr(currentPlayersChatting)
  1278. else
  1279. for i,Others in pairs(findSinglePlayer(string.lower(string.sub(chat, 4)))) do
  1280. if Others == LP then
  1281. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Don't be silly, I can't compliment myself!", "All")
  1282. else
  1283. complimentplr(Others)
  1284. end
  1285. end
  1286. end
  1287. wait(1)
  1288. complimentReady = true
  1289. end
  1290. end
  1291. end
  1292. if modeMove == true then
  1293. if string.lower(string.sub(chat, 1, 9)) == "!bringbot" then
  1294. run(commandPrefix.."unfollow")
  1295. run(commandPrefix.."unwalk")
  1296. run(commandPrefix.."goto "..currentPlayersChatting.Name)
  1297. elseif string.lower(string.sub(chat, 1, 6)) == "!walk " then
  1298. for i,getWalkPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 7)))) do
  1299. if getWalkPlayer == LP then
  1300. run(commandPrefix.."unfollow")
  1301. run(commandPrefix.."walk "..currentPlayersChatting.Name)
  1302. else
  1303. run(commandPrefix.."unfollow")
  1304. run(commandPrefix.."walk "..getWalkPlayer.Name)
  1305. end
  1306. end
  1307. elseif string.lower(string.sub(chat, 1, 8)) == "!follow " then
  1308. for i,getFollowPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 9)))) do
  1309. if getFollowPlayer == LP then
  1310. run(commandPrefix.."unwalk")
  1311. run(commandPrefix.."follow "..currentPlayersChatting.Name)
  1312. else
  1313. run(commandPrefix.."unwalk")
  1314. run(commandPrefix.."follow "..getFollowPlayer.Name)
  1315. end
  1316. end
  1317. end
  1318. end
  1319. if modeInfo == true then
  1320. if infoReady then
  1321. infoReady = false
  1322. if string.lower(string.sub(chat, 1, 5)) == "!age " then
  1323. for i,v in pairs(findSinglePlayer(string.lower(string.sub(chat, 6)))) do
  1324. if v == LP then
  1325. run(commandPrefix.."age "..currentPlayersChatting.Name)
  1326. else
  1327. run(commandPrefix.."age "..v.Name)
  1328. end
  1329. end
  1330. end
  1331. if string.lower(string.sub(chat, 1, 4)) == "!id " then
  1332. for i,a in pairs(findSinglePlayer(string.lower(string.sub(chat, 5)))) do
  1333. if a == LP then
  1334. run(commandPrefix.."id "..currentPlayersChatting.Name)
  1335. else
  1336. run(commandPrefix.."id "..a.Name)
  1337. end
  1338. end
  1339. end
  1340. wait(1)
  1341. infoReady = true
  1342. end
  1343. end
  1344. end)
  1345. end
  1346. game:GetService("Players").PlayerAdded:connect(function(plr)
  1347. plr.Chatted:connect(function(chat)
  1348. CreateChatText(plr, chat)
  1349. if printingChat then
  1350. printChat(plr, chat)
  1351. end
  1352. if modeFling == true then
  1353. if string.lower(string.sub(chat, 1, 7)) == "!fling " then
  1354. if gsWorkspace:PGSIsEnabled() == false then
  1355. FEGodmode()
  1356. end
  1357. if string.lower(string.sub(chat, 8)) == "me" then
  1358. run(commandPrefix.."unfling")
  1359. LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
  1360. run(commandPrefix.."fling "..plr.Name.." 2000000")
  1361. else
  1362. for i,notAll in pairs(findSinglePlayer(string.lower(string.sub(chat, 8)))) do
  1363. if notAll ~= LP then
  1364. run(commandPrefix.."unfling")
  1365. LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 10, 0)
  1366. run(commandPrefix.."fling "..notAll.Name.." 2000000")
  1367. end
  1368. end
  1369. end
  1370. end
  1371. end
  1372. if modeCompliment == true then
  1373. if string.lower(string.sub(chat, 1, 3)) == "!c " then
  1374. if complimentReady == true then
  1375. complimentReady = false
  1376. if string.lower(string.sub(chat, 4)) == "me" then
  1377. complimentplr(plr)
  1378. else
  1379. for i,Others in pairs(findSinglePlayer(string.lower(string.sub(chat, 4)))) do
  1380. if Others == LP then
  1381. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Don't be silly, I can't compliment myself!", "All")
  1382. else
  1383. complimentplr(Others)
  1384. end
  1385. end
  1386. end
  1387. wait(1)
  1388. complimentReady = true
  1389. end
  1390. end
  1391. end
  1392. if modeMove == true then
  1393. if string.lower(string.sub(chat, 1, 9)) == "!bringbot" then
  1394. run(commandPrefix.."unfollow")
  1395. run(commandPrefix.."unwalk")
  1396. run(commandPrefix.."goto "..plr.Name)
  1397. elseif string.lower(string.sub(chat, 1, 6)) == "!walk " then
  1398. for i,getWalkPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 7)))) do
  1399. if getWalkPlayer == LP then
  1400. run(commandPrefix.."unfollow")
  1401. run(commandPrefix.."walk "..plr.Name)
  1402. else
  1403. run(commandPrefix.."unfollow")
  1404. run(commandPrefix.."walk "..getWalkPlayer.Name)
  1405. end
  1406. end
  1407. elseif string.lower(string.sub(chat, 1, 8)) == "!follow " then
  1408. for i,getFollowPlayer in pairs(findSinglePlayer(string.lower(string.sub(chat, 9)))) do
  1409. if getFollowPlayer == LP then
  1410. run(commandPrefix.."unwalk")
  1411. run(commandPrefix.."follow "..plr.Name)
  1412. else
  1413. run(commandPrefix.."unwalk")
  1414. run(commandPrefix.."follow "..getFollowPlayer.Name)
  1415. end
  1416. end
  1417. end
  1418. end
  1419. if modeInfo == true then
  1420. if infoReady then
  1421. infoReady = false
  1422. if string.lower(string.sub(chat, 1, 5)) == "!age " then
  1423. for i,v in pairs(findSinglePlayer(string.lower(string.sub(chat, 6)))) do
  1424. if v == LP then
  1425. run(commandPrefix.."age "..plr.Name)
  1426. else
  1427. run(commandPrefix.."age "..v.Name)
  1428. end
  1429. end
  1430. end
  1431. if string.lower(string.sub(chat, 1, 4)) == "!id " then
  1432. for i,a in pairs(findSinglePlayer(string.lower(string.sub(chat, 5)))) do
  1433. if a == LP then
  1434. run(commandPrefix.."id "..plr.Name)
  1435. else
  1436. run(commandPrefix.."id "..a.Name)
  1437. end
  1438. end
  1439. end
  1440. wait(1)
  1441. infoReady = true
  1442. end
  1443. end
  1444. end)
  1445. end)
  1446.  
  1447. -- Loops
  1448. noclip = false
  1449. following = false
  1450. trailing = false
  1451. annoying = false
  1452. flingnoclip = false
  1453. staring = false
  1454. stopsitting = false
  1455. stareplr = ""
  1456. CBRINGamount = 3
  1457. spawnWS = CurrentWalkspeed
  1458. spawnJP = CurrentJumppower
  1459. spawnHH = CurrentHipheight
  1460. spawningfegod = false
  1461. looptpbypassfly = false
  1462. if game.GameId == 245662005 or game.GameId == 601130232 then
  1463. bypassMODE = true
  1464. else
  1465. bypassMODE = false
  1466. end
  1467. viewplr = ""
  1468. loopview = false
  1469. cmdForward = false
  1470. forwardSpeed = 1
  1471. loopviewfc = false
  1472. spinTOhead = false
  1473. spinObj = ""
  1474. rideACTIVE = false
  1475. ridePLAYER = ""
  1476.  
  1477. LPcurrenthumanoid = LP.Character.Humanoid
  1478. game:GetService('RunService').Stepped:connect(function()
  1479. if LP.Character.Humanoid ~= nil then
  1480. LPcurrenthumanoid = LP.Character.Humanoid
  1481. end
  1482. if noclip then
  1483. if LP.Character then
  1484. if LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  1485. LP.Character.Head.CanCollide = false
  1486. LP.Character.Torso.CanCollide = false
  1487. LP.Character["Left Leg"].CanCollide = false
  1488. LP.Character["Right Leg"].CanCollide = false
  1489. LP.Character["Left Arm"].CanCollide = false
  1490. LP.Character["Right Arm"].CanCollide = false
  1491. elseif LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  1492. LP.Character.Head.CanCollide = false
  1493. LP.Character.UpperTorso.CanCollide = false
  1494. LP.Character.LowerTorso.CanCollide = false
  1495. LP.Character.HumanoidRootPart.CanCollide = false
  1496. end
  1497. end
  1498. end
  1499. if following then
  1500. LP.Character.HumanoidRootPart.CFrame = gsPlayers[flwplr.Name].Character.HumanoidRootPart.CFrame + gsPlayers[flwplr.Name].Character.HumanoidRootPart.CFrame.lookVector * flwnum
  1501. end
  1502. if trailing then
  1503. LP.Character.HumanoidRootPart.CFrame = gsPlayers[trlplr.Name].Character.HumanoidRootPart.CFrame + gsPlayers[trlplr.Name].Character.HumanoidRootPart.CFrame.lookVector * trlnum
  1504. end
  1505. if annoying then
  1506. LP.Character.HumanoidRootPart.CFrame = gsPlayers[annplr.Name].Character.HumanoidRootPart.CFrame
  1507. end
  1508. if walkto then
  1509. LP.Character.Humanoid:MoveTo(walkplr.Character.HumanoidRootPart.Position)
  1510. end
  1511. if cbringing then
  1512. CBRINGplr.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * CBRINGamount
  1513. end
  1514. if cbringingall then
  1515. for i,getbringplrs in pairs(gsPlayers:GetPlayers()) do
  1516. if getbringplrs ~= LP then
  1517. getbringplrs.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * CBRINGamount
  1518. end
  1519. end
  1520. end
  1521. if staring then
  1522. LP.Character.HumanoidRootPart.CFrame = CFrame.new(LP.Character.Torso.Position, gsPlayers[stareplr.Name].Character.Torso.Position)
  1523. end
  1524. if stopsitting then
  1525. LP.Character.Humanoid.Sit = false
  1526. end
  1527. if looptpbypassfly then
  1528. pcall(function()
  1529. LP.Character.Head.Anchored = false
  1530. LP.Character.HumanoidRootPart.CFrame = gsWorkspace.rGETpartNUMBER2.CFrame
  1531. LP.Character.Head.Anchored = true
  1532. end)
  1533. end
  1534. if loopview then
  1535. view(viewplr)
  1536. end
  1537. if cmdForward then
  1538. LP.Character.HumanoidRootPart.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * forwardSpeed
  1539. end
  1540. if loopviewfc then
  1541. pcall(function()
  1542. gsWorkspace.CurrentCamera.CameraSubject = gsWorkspace.rGETpartNUMBER2
  1543. end)
  1544. end
  1545. if spinTOhead then
  1546. pcall(function()
  1547. spinObj.Position = LP.Character.Head.Position
  1548. end)
  1549. end
  1550. if rideACTIVE == true then
  1551. LP.character.HumanoidRootPart.CFrame = ridePLAYER.Character.HumanoidRootPart.CFrame + Vector3.new(0, 3, 0)
  1552. end
  1553. end)
  1554. spawningatreset = false
  1555. spawnresetpoint = LP.Character.Head.CFrame
  1556.  
  1557. LPcurrenthumanoid.Died:Connect(function()
  1558. flying = false
  1559. doFREECAM = false
  1560. if savingtoolsloop then
  1561. run(commandPrefix.."savealltool")
  1562. end
  1563. if spawningatreset == true then
  1564. spawnresetpoint = LP.Character.Head.CFrame + Vector3.new(0, 5, 0)
  1565. end
  1566. end)
  1567.  
  1568. LP.CharacterAdded:Connect(function()
  1569. wait(0.2)
  1570. LP.Character.Humanoid.WalkSpeed = spawnWS
  1571. LP.Character.Humanoid.JumpPower = spawnJP
  1572. LP.Character.Humanoid.HipHeight = spawnHH
  1573. if spawningfegod then
  1574. FEGodmode()
  1575. end
  1576. if spawningpos and spawnpos ~= nil then
  1577. LP.Character.HumanoidRootPart.CFrame = spawnpos
  1578. end
  1579. if spawningatreset == true then
  1580. LP.Character.HumanoidRootPart.CFrame = spawnresetpoint
  1581. end
  1582. end)
  1583.  
  1584. -- Commands
  1585. Commands = {}
  1586.  
  1587. Commands.print = function(args)
  1588. local msg = table.concat(args," ")
  1589. print(msg)
  1590. end
  1591.  
  1592. Commands.warn = function(args)
  1593. local msg = table.concat(args," ")
  1594. warn(msg)
  1595. end
  1596.  
  1597. Commands.sit = function(args)
  1598. LP.Character.Humanoid.Sit = true
  1599. end
  1600.  
  1601. Commands.god = function(args)
  1602. FEGodmode()
  1603. Notification("warning", "You have enabled FE Godmode, tools will not work. Use "..commandPrefix.."grespawn to remove.", 7)
  1604. end
  1605.  
  1606. Commands.view = function(args)
  1607. if args[1] then
  1608. for i,v in pairs(findSinglePlayer(args[1])) do
  1609. if bypassMODE == false then
  1610. view(v)
  1611. Notification("info", "Now viewing "..v.Name..". Use "..commandPrefix.."unview to stop viewing.", 3)
  1612. elseif bypassMODE == true then
  1613. viewplr = v
  1614. loopview = true
  1615. end
  1616. end
  1617. end
  1618. end
  1619.  
  1620. Commands.unview = function(args)
  1621. view(LP)
  1622. loopview = false
  1623. end
  1624.  
  1625. Commands.gravity = function(args)
  1626. if args[1] then
  1627. gsWorkspace.Gravity = args[1]
  1628. end
  1629. end
  1630.  
  1631. Commands.ungravity = function(args)
  1632. gsWorkspace.Gravity = CurrentGravity
  1633. end
  1634.  
  1635. Commands.goto = function(args)
  1636. if args[1] then
  1637. if bypassMODE == false then
  1638. for i,v in pairs(findPlayer(args[1])) do
  1639. LP.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
  1640. end
  1641. elseif bypassMODE == true then
  1642. for i,v in pairs(findPlayer(args[1])) do
  1643. local TPbypass = {}
  1644. TPbypass.CFrame = v.Character.HumanoidRootPart.CFrame + Vector3.new(0, 5, 0)
  1645. local TPFunction = gsTween:Create(LP.Character.HumanoidRootPart, TweenInfo.new(1.5, Enum.EasingStyle.Sine, Enum.EasingDirection.In), TPbypass)
  1646. TPFunction:Play()
  1647. end
  1648. end
  1649. end
  1650. end
  1651.  
  1652. Commands.fecheck = function(args)
  1653. if gsWorkspace.FilteringEnabled == true then
  1654. Notification("warning", "FE is enabled!", 7)
  1655. else
  1656. Notification("warning", "FE is disabled. Consider using a different script.", 7)
  1657. end
  1658. end
  1659.  
  1660. Commands.lockws = function(args)
  1661. lockWS()
  1662. Notification("info", "Workspace locked.", 4)
  1663. end
  1664.  
  1665. Commands.unlockws = function(args)
  1666. unlockWS()
  1667. Notification("info", "Workspace unlocked.", 4)
  1668. end
  1669.  
  1670. Commands.noclip = function(args)
  1671. noclip = true
  1672. Notification("info", "Noclip enabled.", 4)
  1673. end
  1674.  
  1675. Commands.clip = function(args)
  1676. noclip = false
  1677. Notification("info", "Noclip disabled.", 4)
  1678. end
  1679.  
  1680. Commands.follow = function(args)
  1681. if args[1] then
  1682. for i,v in pairs(findPlayer(args[1])) do
  1683. flwplr = v
  1684. end
  1685. if args[2] then
  1686. flwnum = args[2]
  1687. else
  1688. flwnum = -5
  1689. end
  1690. following = true
  1691. else
  1692. Notification("warning", "No player selected to follow! Use: "..commandPrefix.."follow player", 4)
  1693. end
  1694. end
  1695.  
  1696. Commands.unfollow = function(args)
  1697. following = false
  1698. end
  1699.  
  1700. Commands.fling = function(args)
  1701. if args[1] then
  1702. for i,v in pairs(findSinglePlayer(args[1])) do
  1703. if v ~= LP then
  1704. view(v)
  1705. pcall(function()
  1706. LP.Character.HumanoidRootPart.Fling:Destroy()
  1707. end)
  1708. if not args[2] then
  1709. RocketPropulsion(800000,1000,400000,v,"Fling")
  1710. else
  1711. RocketPropulsion(args[2],1500,400000,v,"Fling")
  1712. end
  1713. if noclip ~= true then
  1714. flingnoclip = true
  1715. noclip = true
  1716. end
  1717. end
  1718. end
  1719. else
  1720. Notification("warning", "No player selected to fling! Use: "..commandPrefix.."fling player", 4)
  1721. end
  1722. end
  1723.  
  1724. Commands.unfling = function(args)
  1725. view(LP)
  1726. pcall(function()
  1727. if LP.Character.HumanoidRootPart.Fling then
  1728. for i,v in pairs(LP.Character:GetDescendants()) do
  1729. if v.Name == "Fling" and v:IsA("RocketPropulsion") then
  1730. v:Destroy()
  1731. end
  1732. end
  1733. end
  1734. end)
  1735. if flingnoclip == true then
  1736. noclip = false
  1737. flingnoclip = false
  1738. end
  1739. end
  1740.  
  1741. Commands.trail = function(args)
  1742. if args[1] then
  1743. for i,v in pairs(findPlayer(args[1])) do
  1744. trlplr = v
  1745. end
  1746. if args[2] then
  1747. trlnum = args[2]
  1748. else
  1749. trlnum = 5
  1750. end
  1751. trailing = true
  1752. else
  1753. Notification("warning", "No player selected to trail! Use: "..commandPrefix.."trail player", 4)
  1754. end
  1755. end
  1756.  
  1757. Commands.untrail = function(args)
  1758. trailing = false
  1759. end
  1760.  
  1761. Commands.annoy = function(args)
  1762. if args[1] then
  1763. for i,v in pairs(findPlayer(args[1])) do
  1764. annplr = v
  1765. end
  1766. annoying = true
  1767. else
  1768. Notification("warning", "No player selected to annoy! Use: "..commandPrefix.."annoy player", 4)
  1769. end
  1770. end
  1771.  
  1772. Commands.unannoy = function(args)
  1773. annoying = false
  1774. end
  1775.  
  1776. Commands.reset = function(args)
  1777. LP.Character:BreakJoints()
  1778. end
  1779.  
  1780. Commands.grespawn = function(args)
  1781. LP.Character.Humanoid.Health = 0
  1782. wait(1)
  1783. LP.Character.Head.CFrame = CFrame.new(1000000,0,1000000)
  1784. LP.Character.Torso.CFrame = CFrame.new(1000000,0,1000000)
  1785. end
  1786.  
  1787. Commands.respawn = function(args)
  1788. local mod = Instance.new('Model', workspace) mod.Name = 'new '..LP.Name
  1789. local hum = Instance.new('Humanoid', mod)
  1790. local ins = Instance.new('Part', mod) ins.Name = 'Torso' ins.CanCollide = false ins.Transparency = 1
  1791. LP.Character = mod
  1792. end
  1793.  
  1794. Commands.speed = function(args)
  1795. if args[1] then
  1796. run(commandPrefix.."ws "..args[1])
  1797. end
  1798. end
  1799.  
  1800. bypassingwalkspeed = false
  1801. Commands.ws = function(args)
  1802. if args[1] then
  1803. if bypassMODE == false then
  1804. LP.Character.Humanoid.WalkSpeed = args[1]
  1805. elseif bypassMODE == true then
  1806. if game.GameId == 245662005 then
  1807. bypassingwalkspeed = true
  1808. bypassWalkspeed = args[1]
  1809. end
  1810. end
  1811. end
  1812. end
  1813.  
  1814. game:GetService("RunService").Heartbeat:Connect(function()
  1815. if bypassingwalkspeed then
  1816. LP.Character.Humanoid.WalkSpeed = bypassWalkspeed
  1817. end
  1818. end)
  1819.  
  1820. Commands.jumppower = function(args)
  1821. if args[1] then
  1822. LP.Character.Humanoid.JumpPower = args[1]
  1823. end
  1824. end
  1825.  
  1826. Commands.jp = function(args)
  1827. if args[1] then
  1828. LP.Character.Humanoid.JumpPower = args[1]
  1829. end
  1830. end
  1831.  
  1832. Commands.hipheight = function(args)
  1833. if args[1] then
  1834. LP.Character.Humanoid.HipHeight = args[1]
  1835. end
  1836. end
  1837.  
  1838. Commands.hh = function(args)
  1839. if args[1] then
  1840. LP.Character.Humanoid.HipHeight = args[1]
  1841. end
  1842. end
  1843.  
  1844. Commands.default = function(args)
  1845. LP.Character.Humanoid.WalkSpeed = CurrentWalkspeed
  1846. LP.Character.Humanoid.HipHeight = CurrentHipheight
  1847. LP.Character.Humanoid.JumpPower = CurrentJumppower
  1848. end
  1849.  
  1850. Commands.credits = function(args)
  1851. Notification("info", "Shattervast was made by illremember#3799 , "..commandPrefix.."fullcredits for all credits.", 8)
  1852. end
  1853.  
  1854. Commands.attach = function(args)
  1855. if hasTools() == false then
  1856. Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
  1857. else
  1858. FEGodmode()
  1859. for i,v in pairs(LP.Backpack:GetChildren())do
  1860. LP.Character.Humanoid:EquipTool(v)
  1861. end
  1862. if args[1] then
  1863. for i,v in pairs(findSinglePlayer(args[1])) do
  1864. if v ~= LP then
  1865. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  1866. wait(0.3)
  1867. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  1868. end
  1869. end
  1870. end
  1871. end
  1872. end
  1873.  
  1874. Commands.fly = function(args)
  1875. if bypassMODE == false then
  1876. local speedget = 1
  1877. repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid')
  1878. repeat wait() until Mouse
  1879. if args[1] then
  1880. speedfly = args[1]
  1881. else
  1882. speedfly = 1
  1883. end
  1884.  
  1885. local T = LP.Character.HumanoidRootPart
  1886. local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  1887. local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  1888. local SPEED = speedget
  1889.  
  1890. local function fly()
  1891. flying = true
  1892. local BG = Instance.new('BodyGyro', T)
  1893. local BV = Instance.new('BodyVelocity', T)
  1894. BG.P = 9e4
  1895. BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  1896. BG.cframe = T.CFrame
  1897. BV.velocity = Vector3.new(0, 0.1, 0)
  1898. BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  1899. spawn(function()
  1900. repeat wait()
  1901. LP.Character.Humanoid.PlatformStand = true
  1902. if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  1903. SPEED = 50
  1904. elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  1905. SPEED = 0
  1906. end
  1907. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  1908. 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
  1909. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  1910. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  1911. 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
  1912. else
  1913. BV.velocity = Vector3.new(0, 0.1, 0)
  1914. end
  1915. BG.cframe = workspace.CurrentCamera.CoordinateFrame
  1916. until not flying
  1917. CONTROL = {F = 0, B = 0, L = 0, R = 0}
  1918. lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  1919. SPEED = 0
  1920. BG:destroy()
  1921. BV:destroy()
  1922. LP.Character.Humanoid.PlatformStand = false
  1923. end)
  1924. end
  1925. Mouse.KeyDown:connect(function(KEY)
  1926. if KEY:lower() == 'w' then
  1927. CONTROL.F = speedfly
  1928. elseif KEY:lower() == 's' then
  1929. CONTROL.B = -speedfly
  1930. elseif KEY:lower() == 'a' then
  1931. CONTROL.L = -speedfly
  1932. elseif KEY:lower() == 'd' then
  1933. CONTROL.R = speedfly
  1934. end
  1935. end)
  1936. Mouse.KeyUp:connect(function(KEY)
  1937. if KEY:lower() == 'w' then
  1938. CONTROL.F = 0
  1939. elseif KEY:lower() == 's' then
  1940. CONTROL.B = 0
  1941. elseif KEY:lower() == 'a' then
  1942. CONTROL.L = 0
  1943. elseif KEY:lower() == 'd' then
  1944. CONTROL.R = 0
  1945. end
  1946. end)
  1947. fly()
  1948. elseif bypassMODE == true then
  1949. if not args[1] then
  1950. run(commandPrefix.."fc")
  1951. else
  1952. run(commandPrefix.."fc "..args[1])
  1953. end
  1954. LP.Character.Head.Anchored = false
  1955. looptpbypassfly = true
  1956. view(LP)
  1957. end
  1958. end
  1959.  
  1960. Commands.unfly = function(args)
  1961. if bypassMODE == false then
  1962. flying = false
  1963. LP.Character.Humanoid.PlatformStand = false
  1964. else
  1965. looptpbypassfly = false
  1966. run(commandPrefix.."unfreecam")
  1967. local goalTP = LP.Character.HumanoidRootPart.CFrame
  1968. if game.GameId == 245662005 then
  1969. for i = 1, 5 do wait(0.2)
  1970. LP.Character.HumanoidRootPart.CFrame = goalTP
  1971. end
  1972. else
  1973. LP.Character.HumanoidRootPart.CFrame = goalTP
  1974. end
  1975. LP.Character.Head.Anchored = false
  1976. end
  1977. end
  1978.  
  1979. Commands.kill = function(args)
  1980. if args[1] then
  1981. for i,v in pairs(findSinglePlayer(args[1])) do
  1982. if v == LP then
  1983. LP.Character:BreakJoints()
  1984. else
  1985. if hasTools() == false then
  1986. Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
  1987. else
  1988. FEGodmode()
  1989. for i,v in pairs(LP.Backpack:GetChildren())do
  1990. LP.Character.Humanoid:EquipTool(v)
  1991. end
  1992. local NOW = LP.Character.HumanoidRootPart.CFrame
  1993. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  1994. wait(0.3)
  1995. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  1996. local function tp(player,player2)
  1997. local char1,char2=player.Character,player2.Character
  1998. if char1 and char2 then
  1999. char1:MoveTo(char2.Head.Position)
  2000. end
  2001. end
  2002. wait(0.5)
  2003. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(100000,0,100000))
  2004. wait(0.5)
  2005. tp(LP,game:GetService("Players")[v.Name])
  2006. wait(0.7)
  2007. LP.Character.HumanoidRootPart.CFrame = NOW
  2008. view(LP)
  2009. end
  2010. end
  2011. end
  2012. end
  2013. end
  2014. Commands.bring = function(args)
  2015. if hasTools() == false then
  2016. Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
  2017. else
  2018. FEGodmode()
  2019. for i,v in pairs(LP.Backpack:GetChildren())do
  2020. LP.Character.Humanoid:EquipTool(v)
  2021. end
  2022. if args[1] then
  2023. for i,v in pairs(findSinglePlayer(args[1])) do
  2024. if v ~= LP then
  2025. local NOW = LP.Character.HumanoidRootPart.CFrame
  2026. local function tp(player,player2)
  2027. local char1,char2=player.Character,player2.Character
  2028. if char1 and char2 then
  2029. char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
  2030. end
  2031. end
  2032. local function getout(player,player2)
  2033. local char1,char2=player.Character,player2.Character
  2034. if char1 and char2 then
  2035. char1:MoveTo(char2.Head.Position)
  2036. end
  2037. end
  2038. tp(game:GetService("Players")[v.Name], LP)
  2039. wait(0.2)
  2040. tp(game:GetService("Players")[v.Name], LP)
  2041. wait(0.5)
  2042. LP.Character.HumanoidRootPart.CFrame = NOW
  2043. wait(0.5)
  2044. getout(LP, game:GetService("Players")[v.Name])
  2045. wait(0.3)
  2046. LP.Character.HumanoidRootPart.CFrame = NOW
  2047. end
  2048. end
  2049. end
  2050. end
  2051. end
  2052.  
  2053. Commands.naked = function(args)
  2054. for i,v in pairs(LP.Character:GetDescendants()) do
  2055. if v:IsA("Clothing") then
  2056. v:Destroy()
  2057. end
  2058. end
  2059. end
  2060.  
  2061. Commands.nolimbs = function(args)
  2062. LP.Character["Left Arm"]:Destroy()
  2063. LP.Character["Right Arm"]:Destroy()
  2064. LP.Character["Left Leg"]:Destroy()
  2065. LP.Character["Right Leg"]:Destroy()
  2066. end
  2067.  
  2068. Commands.noarms = function(args)
  2069. LP.Character["Left Arm"]:Destroy()
  2070. LP.Character["Right Arm"]:Destroy()
  2071. end
  2072.  
  2073. Commands.nolegs = function(args)
  2074. LP.Character["Left Leg"]:Destroy()
  2075. LP.Character["Right Leg"]:Destroy()
  2076. end
  2077.  
  2078. Commands.headless = function(args)
  2079. local l = LP.Character.Humanoid:Clone()
  2080. LP.Character.Humanoid:Destroy()
  2081. wait(0.2)
  2082. LP.Character.Head.CanCollide = false
  2083. for i,v in pairs(LP.Character:GetDescendants()) do
  2084. if string.sub(v.Name, 1, 4) == "Neck" then
  2085. v:Destroy()
  2086. end
  2087. end
  2088. wait(0.2)
  2089. l.Name = "Humanoid"
  2090. l.Parent = LP.Character
  2091. wait(0.1)
  2092. game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character
  2093. LP.Character.Animate:Destroy()
  2094. end
  2095.  
  2096. antiremotes = false
  2097. Commands.antikick = function(args)
  2098. if args[1] then
  2099. if args[1] == "on" then
  2100. antiremotes = true
  2101. wait(0.2)
  2102. for i,v in pairs(LP.Character:GetChildren()) do
  2103. if string.find(string.lower(v.Name), "exploit") and v:IsA("LocalScript") then
  2104. v.Disabled = true
  2105. end
  2106. end
  2107. Notification("warning", "This command disables all remotes incase they are kick remotes, may break game.", 8)
  2108. Notification("info", "Does not prevent serverside kicks, use "..commandPrefix.."antikick off to turn off.", 8)
  2109. elseif args[1] == "off" then
  2110. antiremotes = false
  2111. Notification("warning", "Remote anti-kick turned off.", 8)
  2112. end
  2113. end
  2114. end
  2115.  
  2116. blockedremotes = {}
  2117. Commands.blockremote = function(args)
  2118. local getService = ""
  2119. if args[1] then
  2120. local remoteName = string.lower(tostring(args[1]))
  2121. if args[2] then
  2122. local serviceRemote = string.lower(tostring(args[2]))
  2123. if serviceRemote == "workspace" then
  2124. getService = "Workspace"
  2125. elseif serviceRemote == "replicatedstorage" then
  2126. getService = "ReplicatedStorage"
  2127. elseif serviceRemote == "players" then
  2128. getService = "Players"
  2129. elseif serviceRemote == "lighting" then
  2130. getService = "Lighting"
  2131. elseif serviceRemote == "startergui" then
  2132. getService = "StarterGui"
  2133. elseif serviceRemote == "starterpack" then
  2134. getService = "StarterPack"
  2135. elseif serviceRemote == "starterplayer" then
  2136. getService = "StarterPlayer"
  2137. else
  2138. getService = "ReplicatedStorage"
  2139. end
  2140. else
  2141. getService = "ReplicatedStorage"
  2142. end
  2143. for i,getRemote in pairs(game:GetService(getService):GetDescendants()) do
  2144. if string.lower(getRemote.Name) == remoteName then
  2145. table.insert(blockedremotes, getRemote.Name)
  2146. end
  2147. end
  2148. end
  2149. Notification("warning", "If this command does not work, make sure you type remote name/service fully correct.", 8)
  2150. end
  2151.  
  2152. spyingremotes = false
  2153. Commands.remotespy = function(args)
  2154. if args[1] then
  2155. if args[1] == "on" then
  2156. spyingremotes = true
  2157. Notification("info", "Remotespy turned on.", 4)
  2158. elseif args[1] == "off" then
  2159. spyingremotes = false
  2160. Notification("info", "Remotespy turned off.", 4)
  2161. end
  2162. end
  2163. end
  2164.  
  2165. Commands.bang = function(args)
  2166. if args[1] then
  2167. for i,v in pairs(findSinglePlayer(args[1])) do
  2168. if v ~= nil then
  2169. following = true
  2170. flwplr = v
  2171. flwnum = -1
  2172. local bangAnimation = Instance.new("Animation")
  2173. bangAnimation.AnimationId = "rbxassetid://148840371"
  2174. bangTrack = LP.Character.Humanoid:LoadAnimation(bangAnimation)
  2175. if args[2] then
  2176. bangTrack:Play(.1, 1, args[2])
  2177. else
  2178. bangTrack:Play(.1, 1, 1)
  2179. end
  2180. end
  2181. end
  2182. else
  2183. Notification("warning", "No player selected to follow! Use: "..commandPrefix.."follow player", 4)
  2184. end
  2185. end
  2186.  
  2187. Commands.unbang = function(args)
  2188. following = false
  2189. bangTrack:Stop()
  2190. end
  2191.  
  2192. spamdelay = 1
  2193. spamtext = "Spam"
  2194. spamming = false
  2195. Commands.spam = function(args)
  2196. if args[1] then
  2197. spamtext = args[1]
  2198. spamming = true
  2199. end
  2200. end
  2201. Commands.spamdelay = function(args)
  2202. if args[1] then
  2203. spamdelay = args[1]
  2204. end
  2205. end
  2206. spawn(function()
  2207. while wait(spamdelay) do
  2208. if spamming then
  2209. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(spamtext, "All")
  2210. end
  2211. end
  2212. end)
  2213.  
  2214. Commands.unspam = function(args)
  2215. spamming = false
  2216. end
  2217.  
  2218. Commands.info = function(args)
  2219. if args[1] then
  2220. for i,v in pairs(findSinglePlayer(args[1])) do
  2221. createINFO(v)
  2222. end
  2223. end
  2224. end
  2225.  
  2226. Commands.age = function(args)
  2227. if args[1] then
  2228. for i,v in pairs(findPlayer(args[1])) do
  2229. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(v.Name.." Account Age: "..v.AccountAge.." days!", "All")
  2230. end
  2231. end
  2232. end
  2233.  
  2234. Commands.invisible = function(args)
  2235. local Character = LP.Character
  2236. if LP.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  2237. local Clone = Character.HumanoidRootPart:Clone()
  2238. Character.HumanoidRootPart:Destroy()
  2239. Clone.Parent = Character
  2240. else
  2241. local Clone = Character.LowerTorso.Root:Clone()
  2242. Character.LowerTorso.Root:Destroy()
  2243. Clone.Parent = Character.LowerTorso
  2244. end
  2245. end
  2246.  
  2247. walkto = false
  2248. walkplr = ""
  2249. Commands.walk = function(args)
  2250. if args[1] then
  2251. for i,v in pairs(findSinglePlayer(args[1])) do
  2252. walkplr = v
  2253. walkto = true
  2254. noclip = true
  2255. end
  2256. end
  2257. end
  2258.  
  2259. Commands.unwalk = function(args)
  2260. walkto = false
  2261. noclip = false
  2262. LP.Character.Humanoid:MoveTo(LP.Character.HumanoidRootPart.Position)
  2263. end
  2264.  
  2265. Commands.glitch = function(args)
  2266. if hasTools() == false then
  2267. Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
  2268. else
  2269. FEGodmode()
  2270. for i,v in pairs(LP.Backpack:GetChildren())do
  2271. LP.Character.Humanoid:EquipTool(v)
  2272. end
  2273. if args[1] then
  2274. for i,v in pairs(findSinglePlayer(args[1])) do
  2275. local function tp(player,player2)
  2276. local char1,char2=player.Character,player2.Character
  2277. if char1 and char2 then
  2278. char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
  2279. end
  2280. end
  2281. tp(game:GetService("Players")[v.Name], LP)
  2282. wait(0.2)
  2283. tp(game:GetService("Players")[v.Name], LP)
  2284. wait(0.5)
  2285. local b = Instance.new("BodyForce")
  2286. b.Parent = LP.Character.HumanoidRootPart
  2287. b.Name = "Glitch"
  2288. if args[2] then
  2289. b.Force = Vector3.new(args[2],5000,0)
  2290. else
  2291. b.Force = Vector3.new(100000000,5000,0)
  2292. end
  2293. wait(6)
  2294. b:Destroy()
  2295. end
  2296. end
  2297. end
  2298. end
  2299.  
  2300. Commands.tp = function(args)
  2301. if args[1] then
  2302. for i,v in pairs(findSinglePlayer(args[1])) do
  2303. if v == LP then
  2304. if args[2] then
  2305. for i,a in pairs(findSinglePlayer(args[2])) do
  2306. v.Character.HumanoidRootPart.CFrame = a.Character.HumanoidRootPart.CFrame
  2307. end
  2308. end
  2309. else
  2310. if hasTools() == false then
  2311. Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
  2312. else
  2313. FEGodmode()
  2314. for i,v in pairs(LP.Backpack:GetChildren())do
  2315. LP.Character.Humanoid:EquipTool(v)
  2316. end
  2317. if args[1] then
  2318. for i,first in pairs(findSinglePlayer(args[1])) do
  2319. if args[2] then
  2320. for i,second in pairs(findSinglePlayer(args[2])) do
  2321. local function tp(player,player2)
  2322. local char1,char2=player.Character,player2.Character
  2323. if char1 and char2 then
  2324. char1.HumanoidRootPart.CFrame = char2.HumanoidRootPart.CFrame
  2325. end
  2326. end
  2327. local function getout(player,player2)
  2328. local char1,char2=player.Character,player2.Character
  2329. if char1 and char2 then
  2330. char1:MoveTo(char2.Head.Position)
  2331. end
  2332. end
  2333. tp(LP, first)
  2334. wait(0.2)
  2335. tp(LP, first)
  2336. wait(0.5)
  2337. tp(LP, second)
  2338. wait(0.2)
  2339. tp(LP, second)
  2340. wait(0.2)
  2341. getout(LP, first)
  2342. end
  2343. end
  2344. end
  2345. end
  2346. end
  2347. end
  2348. end
  2349. end
  2350. end
  2351.  
  2352. Commands.givetool = function(args)
  2353. if args[1] then
  2354. if args[2] then
  2355. local selectedTool = ""
  2356. for i,allTools in pairs(LP.Character:GetDescendants()) do
  2357. if allTools:IsA("Tool") and string.lower(allTools.Name) == string.lower(args[2]) then
  2358. selectedTool = allTools
  2359. else
  2360. for i,otherTools in pairs(LP.Backpack:GetDescendants()) do
  2361. if otherTools:IsA("Tool") and string.lower(otherTools.Name) == string.lower(args[2]) then
  2362. selectedTool = otherTools
  2363. end
  2364. end
  2365. end
  2366. end
  2367. for i,v in pairs(findSinglePlayer(args[1])) do
  2368. if selectedTool ~= "" then
  2369. selectedTool.Parent = v.Character
  2370. end
  2371. end
  2372. else
  2373. for i,plr in pairs(findSinglePlayer(args[1])) do
  2374. for i,tool in pairs(LP.Character:GetDescendants()) do
  2375. if tool:IsA("Tool") then
  2376. tool.Parent = plr.Character
  2377. end
  2378. end
  2379. end
  2380. end
  2381. end
  2382. end
  2383.  
  2384. Commands.givealltools = function(args)
  2385. LP.Character.Humanoid:UnequipTools()
  2386. for i,plr in pairs(findSinglePlayer(args[1])) do
  2387. for i,v in pairs(LP.Character:GetDescendants()) do
  2388. if v:IsA("Tool") then
  2389. v.Parent = plr.Character
  2390. end
  2391. end
  2392. for i,a in pairs(LP.Backpack:GetDescendants()) do
  2393. if a:IsA("Tool") then
  2394. a.Parent = plr.Character
  2395. end
  2396. end
  2397. end
  2398. end
  2399.  
  2400. Commands.blockhats = function(args)
  2401. for i,v in pairs(LP.Character:GetDescendants()) do
  2402. if v:IsA("Accessory") or v:IsA("Hat") then
  2403. for i,mesh in pairs(v:GetDescendants()) do
  2404. if mesh.Name == "Mesh" then
  2405. mesh:Destroy()
  2406. end
  2407. end
  2408. end
  2409. end
  2410. end
  2411.  
  2412. Commands.blocktool = function(args)
  2413. for i,v in pairs(LP.Character:GetDescendants()) do
  2414. if v:IsA("Tool") then
  2415. for i,mesh in pairs(v:GetDescendants()) do
  2416. if mesh.Name == "Mesh" then
  2417. mesh:Destroy()
  2418. end
  2419. end
  2420. end
  2421. end
  2422. end
  2423.  
  2424. Commands.orbit = function(args)
  2425. if args[1] then
  2426. for i,v in pairs(findSinglePlayer(args[1])) do
  2427. view(v)
  2428. RocketPropulsion(5000,100,5000,v,"OrbitMove")
  2429. end
  2430. else
  2431. Notification("warning", "No player selected to orbit! Use: "..commandPrefix.."orbit player", 4)
  2432. end
  2433. end
  2434.  
  2435. Commands.unorbit = function(args)
  2436. for i,v in pairs(LP.Character:GetDescendants()) do
  2437. if v.Name == "OrbitMove" then
  2438. v:Destroy()
  2439. end
  2440. end
  2441. view(LP)
  2442. end
  2443.  
  2444. Commands.pos = function(args)
  2445. Notification("info", "Your current position is ".. tostring(LP.Character.HumanoidRootPart.Position), 9)
  2446. end
  2447.  
  2448. SavedPosition = ""
  2449. Commands.savepos = function(args)
  2450. SavedPosition = LP.Character.HumanoidRootPart.CFrame
  2451. end
  2452. Commands.loadpos = function(args)
  2453. if SavedPosition ~= "" then
  2454. LP.Character.HumanoidRootPart.CFrame = SavedPosition
  2455. end
  2456. end
  2457.  
  2458. Commands.tppos = function(args)
  2459. if args[1] and args[2] and args[3] then
  2460. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(args[1], args[2], args[3]))
  2461. end
  2462. end
  2463.  
  2464. Commands.pmspam = function(args)
  2465. if args[1] then
  2466. local gotPlayer = ""
  2467. for i,v in pairs(findPlayer(args[1])) do
  2468. gotPlayer = v
  2469. end
  2470. table.remove(args, 1)
  2471. local pmSpamMsg = table.concat(args," ")
  2472. spamtext = "/w "..gotPlayer.Name.." "..pmSpamMsg
  2473. spamming = true
  2474. end
  2475. end
  2476.  
  2477. Commands.unpmspam = function(args)
  2478. spamming = false
  2479. end
  2480.  
  2481. Commands.wsvis = function(args)
  2482. if args[1] then
  2483. for i,v in pairs(gsWorkspace:GetDescendants()) do
  2484. if v:IsA("Part") or v:IsA("Decal") then
  2485. if tonumber(args[1]) > 1 then
  2486. v.Transparency = 0.5
  2487. else
  2488. v.Transparency = args[1]
  2489. end
  2490. end
  2491. end
  2492. end
  2493. clientSided()
  2494. end
  2495.  
  2496. Commands.bringobj = function(args)
  2497. if args[1] then
  2498. local Object = ""
  2499. for i,v in pairs(gsWorkspace:GetDescendants()) do
  2500. if string.lower(v.Name) == string.lower(args[1]) then
  2501. Object = v
  2502. end
  2503. end
  2504. if Object == "" then
  2505. Notification("warning", "Object was not found in the workspace.", 6)
  2506. end
  2507. if args[2] then
  2508. Object.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * args[2]
  2509. else
  2510. Object.CFrame = LP.Character.HumanoidRootPart.CFrame + LP.Character.HumanoidRootPart.CFrame.lookVector * 3
  2511. end
  2512. clientSided()
  2513. end
  2514. end
  2515.  
  2516. CBRINGplr = ""
  2517. cbringing = false
  2518. cbringingall = false
  2519. Commands.cbring = function(args)
  2520. if args[1] then
  2521. if string.lower(tostring(args[1])) == "all" or string.lower(tostring(args[1])) == "others" then
  2522. cbringingall = true
  2523. else
  2524. for i,v in pairs(findPlayer(args[1])) do
  2525. CBRINGplr = v
  2526. cbringing = true
  2527. end
  2528. end
  2529. if args[2] then
  2530. CBRINGamount = args[2]
  2531. else
  2532. CBRINGamount = 3
  2533. end
  2534. clientSided()
  2535. end
  2536. end
  2537.  
  2538. Commands.uncbring = function(args)
  2539. cbringing = false
  2540. cbringingall = false
  2541. end
  2542.  
  2543. Commands.cfreeze = function(args)
  2544. if args[1] then
  2545. for i,v in pairs(findPlayer(args[1])) do
  2546. v.Character.HumanoidRootPart.Anchored = true
  2547. end
  2548. clientSided()
  2549. end
  2550. end
  2551.  
  2552. Commands.uncfreeze = function(args)
  2553. if args[1] then
  2554. for i,v in pairs(findPlayer(args[1])) do
  2555. v.Character.HumanoidRootPart.Anchored = false
  2556. end
  2557. else
  2558. for i,all in pairs(gsPlayers:GetPlayers()) do
  2559. all.Character.HumanoidRootPart.Anchored = false
  2560. end
  2561. end
  2562. end
  2563.  
  2564. Commands.unattach = function(args)
  2565. local function getout(player,player2)
  2566. local char1,char2=player.Character,player2.Character
  2567. if char1 and char2 then
  2568. char1:MoveTo(char2.Head.Position)
  2569. end
  2570. end
  2571. getout(LP, LP)
  2572. end
  2573.  
  2574. currentToolSize = ""
  2575. Commands.reach = function(args)
  2576. if args[1] then
  2577. for i,v in pairs(LP.Character:GetDescendants()) do
  2578. if v:IsA("Tool") then
  2579. if string.lower(tostring(args[1])) == "off" then
  2580. v.Handle.Size = currentToolSize
  2581. v.Handle.SelectionBoxCreated:Destroy()
  2582. LP.Character.Humanoid:UnequipTools()
  2583. elseif string.lower(tostring(args[1])) == "on" then
  2584. if args[2] then
  2585. currentToolSize = v.Handle.Size
  2586. local a = Instance.new("SelectionBox",v.Handle)
  2587. a.Name = "SelectionBoxCreated"
  2588. a.Adornee = v.Handle
  2589. v.Handle.Size = Vector3.new(0.5,0.5,args[2])
  2590. v.GripPos = Vector3.new(0,0,0)
  2591. LP.Character.Humanoid:UnequipTools()
  2592. else
  2593. currentToolSize = v.Handle.Size
  2594. local a = Instance.new("SelectionBox",v.Handle)
  2595. a.Name = "SelectionBoxCreated"
  2596. a.Adornee = v.Handle
  2597. v.Handle.Size = Vector3.new(0.5,0.5,60)
  2598. v.GripPos = Vector3.new(0,0,0)
  2599. LP.Character.Humanoid:UnequipTools()
  2600. end
  2601. end
  2602. end
  2603. end
  2604. end
  2605. end
  2606.  
  2607. Commands.droptool = function(args)
  2608. for i,v in pairs(LP.Character:GetDescendants()) do
  2609. if v:IsA("Tool") then
  2610. v.Parent = gsWorkspace
  2611. end
  2612. end
  2613. for i,a in pairs(LP.Backpack:GetDescendants()) do
  2614. if a:IsA("Tool") then
  2615. a.Parent = gsWorkspace
  2616. end
  2617. end
  2618. end
  2619.  
  2620. Commands.drophats = function(args)
  2621. for i,v in pairs(LP.Character:GetDescendants()) do
  2622. if v:IsA("Accessory") or v:IsA("Hat") then
  2623. v.Parent = gsWorkspace
  2624. end
  2625. end
  2626. end
  2627.  
  2628. Commands.hidecmdbar = function(args)
  2629. CMDBAR.Visible = false
  2630. end
  2631.  
  2632. Commands.showcmdbar = function(args)
  2633. CMDBAR.Visible = true
  2634. end
  2635.  
  2636. Commands.prefix = function(args)
  2637. if args[1] then
  2638. commandPrefix = string.sub(tostring(args[1]), 1, 1)
  2639. fullUpdate()
  2640. end
  2641. end
  2642.  
  2643. Commands.removeinvis = function(args)
  2644. for i,v in pairs(gsWorkspace:GetDescendants()) do
  2645. if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
  2646. if v.Transparency == 1 then
  2647. v:Destroy()
  2648. end
  2649. end
  2650. end
  2651. clientSided()
  2652. end
  2653.  
  2654. Commands.removefog = function(args)
  2655. gsLighting.FogStart = 0
  2656. gsLighting.FogEnd = 9999999999999
  2657. clientSided()
  2658. end
  2659.  
  2660. Commands.animation = function(args)
  2661. if args[1] then
  2662. if string.lower(tostring(args[1])) == "gui" then
  2663. loadstring(game:HttpGet(("https://pastebin.com/raw/mdbTSP4d"),true))()
  2664. else
  2665. local Anim = Instance.new("Animation")
  2666. Anim.AnimationId = "rbxassetid://".. tostring(args[1])
  2667. local track = LP.Character.Humanoid:LoadAnimation(Anim)
  2668. if args[2] then
  2669. track:Play(.1, 1, args[2])
  2670. else
  2671. track:Play(.1, 1, 1)
  2672. end
  2673. end
  2674. end
  2675. end
  2676.  
  2677. Commands.btools = function(args)
  2678. local Clone_T = Instance.new("HopperBin",LP.Backpack)
  2679. Clone_T.BinType = "Clone"
  2680. local Destruct = Instance.new("HopperBin",LP.Backpack)
  2681. Destruct.BinType = "Hammer"
  2682. local Hold_T = Instance.new("HopperBin",LP.Backpack)
  2683. Hold_T.BinType = "Grab"
  2684. clientSided()
  2685. end
  2686.  
  2687. Commands.esp = function(args)
  2688. if args[1] then
  2689. for i,v in pairs(findPlayer(args[1])) do
  2690. local espPlayer = v
  2691. for i,createESP in pairs(espPlayer.Character:GetDescendants()) do
  2692. if createESP:IsA("Part") or createESP:IsA("MeshPart") then
  2693. if createESP.Name ~= "HumanoidRootPart" and createESP.Name ~= "Handle" then
  2694. local current = true
  2695. local espBOX = Instance.new("BoxHandleAdornment")
  2696. espBOX.Parent = gsCoreGui
  2697. espBOX.Name = "rGET"..espPlayer.Name
  2698. espBOX.Adornee = createESP
  2699. espBOX.AlwaysOnTop = true
  2700. espBOX.ZIndex = 0
  2701. espBOX.Size = createESP.Size
  2702. espBOX.Transparency = 0.3
  2703. local AboveHead = Instance.new("BillboardGui")
  2704. AboveHead.Parent = gsCoreGui
  2705. AboveHead.Adornee = espPlayer.Character.Head
  2706. AboveHead.Name = "rGET"..espPlayer.Name
  2707. AboveHead.Size = UDim2.new(0, 100, 0, 100)
  2708. AboveHead.StudsOffset = Vector3.new(0, 1, 0)
  2709. AboveHead.AlwaysOnTop = true
  2710. local Info = Instance.new("TextLabel")
  2711. Info.Parent = AboveHead
  2712. Info.BackgroundTransparency = 1
  2713. Info.Position = UDim2.new(0, 0, 0, 0)
  2714. Info.Size = UDim2.new(1, 0, 0, 40)
  2715. Info.TextColor3 = Color3.fromRGB(200,200,200)
  2716. Info.TextStrokeTransparency = 0.5
  2717. Info.TextSize = 15
  2718. if espPlayer.TeamColor == LP.TeamColor then
  2719. espBOX.Color = BrickColor.new("Lime green")
  2720. Info.TextStrokeColor3 = Color3.fromRGB(10,100,10)
  2721. else
  2722. espBOX.Color = BrickColor.new("Really red")
  2723. Info.TextStrokeColor3 = Color3.fromRGB(100,10,10)
  2724. end
  2725. game:GetService('RunService').Stepped:connect(function()
  2726. if current and LP.Character.Humanoid and espPlayer.Character.HumanoidRootPart then
  2727. Info.Text = espPlayer.Name.." (".. math.floor((LP.Character.HumanoidRootPart.Position - espPlayer.Character.HumanoidRootPart.Position).magnitude)..")"
  2728. end
  2729. end)
  2730. espPlayer.Character.Humanoid.Died:Connect(function()
  2731. current = false
  2732. espBOX:Destroy()
  2733. AboveHead:Destroy()
  2734. end)
  2735. gsPlayers.PlayerRemoving:Connect(function(plr)
  2736. if plr == espPlayer then
  2737. current = false
  2738. espBOX:Destroy()
  2739. AboveHead:Destroy()
  2740. end
  2741. end)
  2742. end
  2743. end
  2744. end
  2745. end
  2746. clientSided()
  2747. end
  2748. end
  2749.  
  2750. Commands.unesp = function(args)
  2751. if not args[1] then
  2752. for i,v in pairs(gsCoreGui:GetDescendants()) do
  2753. if string.sub(v.Name, 1, 4) == "rGET" then
  2754. v:Destroy()
  2755. end
  2756. end
  2757. else
  2758. for i,v in pairs(gsCoreGui:GetDescendants()) do
  2759. if string.sub(v.Name, 1, 4) == "rGET" then
  2760. for i,a in pairs(findPlayer(args[1])) do
  2761. if string.sub(v.Name, 5) == a.Name then
  2762. v:Destroy()
  2763. end
  2764. end
  2765. end
  2766. end
  2767. end
  2768. end
  2769.  
  2770. Commands.dice = function(args)
  2771. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("You rolled a dice for ".. tostring(math.random(1, 6)), "All")
  2772. end
  2773.  
  2774. Commands.random = function(args)
  2775. if args[1] and args[2] then
  2776. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Picking random number between "..args[1].." and "..args[2].."... The number is ".. tostring(math.random(args[1], args[2])), "All")
  2777. end
  2778. end
  2779.  
  2780. Commands.closegame = function(args)
  2781. game:Shutdown()
  2782. end
  2783.  
  2784. Commands.savetool = function(args)
  2785. if args[1] then
  2786. for i,a in pairs(LP.Character:GetDescendants()) do
  2787. if a:IsA("Tool") and string.lower(a.Name) == string.lower(tostring(args[1])) then
  2788. a.Parent = LP
  2789. local oldName = a.Name
  2790. a.Name = "saved "..oldName
  2791. else
  2792. for i,n in pairs(LP.Backpack:GetDescendants()) do
  2793. if n:IsA("Tool") and string.lower(n.Name) == string.lower(tostring(args[1])) then
  2794. n.Parent = LP
  2795. local sOldName = n.Name
  2796. n.Name = "saved "..sOldName
  2797. end
  2798. end
  2799. end
  2800. end
  2801. else
  2802. for i,v in pairs(LP.Character:GetDescendants()) do
  2803. if v:IsA("Tool") then
  2804. v.Parent = LP
  2805. local oldName = v.Name
  2806. v.Name = "saved "..oldName
  2807. end
  2808. end
  2809. end
  2810. end
  2811.  
  2812. Commands.loadtool = function(args)
  2813. if args[1] then
  2814. for i,a in pairs(LP:GetChildren()) do
  2815. if a:IsA("Tool") and string.sub(a.Name, 1, 5) == "saved" and string.lower(string.sub(a.Name, 7)) == string.lower(tostring(args[1])) then
  2816. a.Parent = LP.Backpack
  2817. local currentName = a.Name
  2818. a.Name = string.sub(currentName, 7)
  2819. end
  2820. end
  2821. else
  2822. for i,v in pairs(LP:GetChildren()) do
  2823. if string.sub(v.Name, 1, 5) == "saved" then
  2824. v.Parent = LP.Backpack
  2825. local currentName = v.Name
  2826. v.Name = string.sub(currentName, 7)
  2827. end
  2828. end
  2829. end
  2830. end
  2831.  
  2832. Commands.savealltool = function(args)
  2833. for i,v in pairs(LP.Character:GetDescendants()) do
  2834. if v:IsA("Tool") then
  2835. v.Parent = LP
  2836. local oldName = v.Name
  2837. v.Name = "saved "..oldName
  2838. end
  2839. end
  2840. for i,v in pairs(LP.Backpack:GetDescendants()) do
  2841. if v:IsA("Tool") then
  2842. v.Parent = LP
  2843. local oldName = v.Name
  2844. v.Name = "saved "..oldName
  2845. end
  2846. end
  2847. end
  2848.  
  2849. Commands.loadalltool = function(args)
  2850. for i,v in pairs(LP:GetChildren()) do
  2851. if v:IsA("Tool") and string.sub(v.Name, 1, 5) == "saved" then
  2852. v.Parent = LP.Backpack
  2853. local currentName = v.Name
  2854. v.Name = string.sub(currentName, 7)
  2855. end
  2856. end
  2857. end
  2858.  
  2859. Mouse.KeyDown:Connect(function(key)
  2860. if key == clicktpKEY and clicktpACTIVE == true then
  2861. if Mouse.Target then
  2862. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z)
  2863. end
  2864. end
  2865. if key == clickdelKEY and clickdelACTIVE == true then
  2866. if Mouse.Target then
  2867. Mouse.Target:Destroy()
  2868. end
  2869. end
  2870. end)
  2871. Mouse.Button1Down:Connect(function()
  2872. if clicktpACTIVE == true and clicktpCLICK == true then
  2873. if Mouse.Target then
  2874. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.x, Mouse.Hit.y + 5, Mouse.Hit.z)
  2875. end
  2876. end
  2877. if clickdelACTIVE == true and clickdelCLICK == true then
  2878. if Mouse.Target then
  2879. Mouse.Target:Destroy()
  2880. end
  2881. end
  2882. end)
  2883.  
  2884. clicktpKEY = ""
  2885. clickdelKEY = ""
  2886. clicktpACTIVE = false
  2887. clickdelACTIVE = false
  2888. clicktpCLICK = false
  2889. clickdelCLICK = false
  2890.  
  2891. Commands.clicktp = function(args)
  2892. if args[1] then
  2893. clicktpKEY = string.sub(tostring(args[1]), 1, 1)
  2894. clicktpACTIVE = true
  2895. clicktpCLICK = false
  2896. else
  2897. clicktpKEY = ""
  2898. clicktpACTIVE = true
  2899. clicktpCLICK = true
  2900. end
  2901. clientSided()
  2902. end
  2903.  
  2904. Commands.clickdel = function(args)
  2905. if args[1] then
  2906. clickdelKEY = string.sub(tostring(args[1]), 1, 1)
  2907. clickdelACTIVE = true
  2908. clickdelCLICK = false
  2909. else
  2910. clickdelKEY = ""
  2911. clickdelACTIVE = true
  2912. clickdelCLICK = true
  2913. end
  2914. clientSided()
  2915. end
  2916.  
  2917. Commands.unclicktp = function(args)
  2918. clicktpACTIVE = false
  2919. end
  2920.  
  2921. Commands.unclickdel = function(args)
  2922. clickdelACTIVE = false
  2923. end
  2924.  
  2925. Commands.oof = function(args)
  2926. spawn(function()
  2927. while wait() do
  2928. for i,v in pairs(game:GetService'Players':GetPlayers()) do
  2929. if v.Character ~= nil and v.Character:FindFirstChild'Head' then
  2930. for _,x in pairs(v.Character.Head:GetChildren()) do
  2931. if x:IsA'Sound' then x.Playing = true x.CharacterSoundEvent:FireServer(true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true) end
  2932. end
  2933. end
  2934. end
  2935. end
  2936. end)
  2937. end
  2938.  
  2939. Commands.chatlogs = function(args)
  2940. MainChatFrame.Position = UDim2.new(0, 760, 0, 261)
  2941. MainChatFrame.Visible = true
  2942. end
  2943.  
  2944. Commands.stopadmin = function(args)
  2945. commandPrefix = " "
  2946. following = false
  2947. trailing = false
  2948. annoying = false
  2949. CMDBAR.Visible = false
  2950. Match.Visible = false
  2951. flying = false
  2952. end
  2953.  
  2954. Commands.freecam = function(args)
  2955. for i,getFC in pairs(gsWorkspace:GetDescendants()) do
  2956. if getFC.Name == "rGETpartNUMBER2" then
  2957. getFC:Destroy()
  2958. end
  2959. end
  2960. local CameraPart = Instance.new("Part")
  2961. CameraPart.CanCollide = false
  2962. CameraPart.CFrame = LP.Character.Head.CFrame
  2963. CameraPart.Locked = true
  2964. CameraPart.Transparency = 1
  2965. CameraPart.Size = Vector3.new(1, 1, 1)
  2966. CameraPart.Parent = gsWorkspace
  2967. CameraPart.Name = "rGETpartNUMBER2"
  2968. if bypassMODE == true then
  2969. loopviewfc = true
  2970. elseif bypassMODE == false then
  2971. gsWorkspace.CurrentCamera.CameraSubject = CameraPart
  2972. end
  2973. local speedget = 1
  2974. local T = CameraPart
  2975. local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  2976. local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  2977. local SPEED = speedget
  2978. if args[1] then
  2979. speedfly = tonumber(args[1])
  2980. else
  2981. speedfly = 1
  2982. end
  2983. local function freecamfly()
  2984. LP.Character.Head.Anchored = true
  2985. doFREECAM = true
  2986. local BG = Instance.new('BodyGyro', T)
  2987. local BV = Instance.new('BodyVelocity', T)
  2988. BG.P = 9e4
  2989. BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  2990. BG.cframe = T.CFrame
  2991. BV.velocity = Vector3.new(0, 0.1, 0)
  2992. BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  2993. spawn(function()
  2994. repeat wait()
  2995. if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  2996. SPEED = 50
  2997. elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  2998. SPEED = 0
  2999. end
  3000. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  3001. 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
  3002. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  3003. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  3004. 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
  3005. else
  3006. BV.velocity = Vector3.new(0, 0.1, 0)
  3007. end
  3008. BG.cframe = workspace.CurrentCamera.CoordinateFrame
  3009. until not doFREECAM
  3010. CONTROL = {F = 0, B = 0, L = 0, R = 0}
  3011. lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  3012. SPEED = 0
  3013. BG:destroy()
  3014. BV:destroy()
  3015. end)
  3016. end
  3017. Mouse.KeyDown:connect(function(KEY)
  3018. if KEY:lower() == 'w' then
  3019. CONTROL.F = speedfly
  3020. elseif KEY:lower() == 's' then
  3021. CONTROL.B = -speedfly
  3022. elseif KEY:lower() == 'a' then
  3023. CONTROL.L = -speedfly
  3024. elseif KEY:lower() == 'd' then
  3025. CONTROL.R = speedfly
  3026. end
  3027. end)
  3028. Mouse.KeyUp:connect(function(KEY)
  3029. if KEY:lower() == 'w' then
  3030. CONTROL.F = 0
  3031. elseif KEY:lower() == 's' then
  3032. CONTROL.B = 0
  3033. elseif KEY:lower() == 'a' then
  3034. CONTROL.L = 0
  3035. elseif KEY:lower() == 'd' then
  3036. CONTROL.R = 0
  3037. end
  3038. end)
  3039. freecamfly()
  3040. end
  3041.  
  3042. Commands.fc = function(args)
  3043. if args[1] then
  3044. run(commandPrefix.."freecam "..args[1])
  3045. else
  3046. run(commandPrefix.."freecam")
  3047. end
  3048. end
  3049.  
  3050. Commands.unfreecam = function(args)
  3051. doFREECAM = false
  3052. LP.Character.Head.Anchored = false
  3053. view(LP)
  3054. if gsWorkspace.rGETpartNUMBER2 then
  3055. gsWorkspace.rGETpartNUMBER2:Destroy()
  3056. end
  3057. loopviewfc = false
  3058. end
  3059.  
  3060. Commands.unfc = function(args)
  3061. doFREECAM = false
  3062. LP.Character.Head.Anchored = false
  3063. view(LP)
  3064. if gsWorkspace.rGETpartNUMBER2 then
  3065. gsWorkspace.rGETpartNUMBER2:Destroy()
  3066. end
  3067. loopviewfc = false
  3068. end
  3069.  
  3070. Commands.gotofc = function(args)
  3071. doFREECAM = false
  3072. LP.Character.Head.Anchored = false
  3073. view(LP)
  3074. pcall(function()
  3075. LP.Character.HumanoidRootPart.CFrame = gsWorkspace.rGETpartNUMBER2.CFrame
  3076. gsWorkspace.rGETpartNUMBER2:Destroy()
  3077. end)
  3078. loopviewfc = false
  3079. end
  3080.  
  3081. Commands.fctp = function(args)
  3082. if args[1] then
  3083. for i,v in pairs(findPlayer(args[1])) do
  3084. pcall(function()
  3085. gsWorkspace.rGETpartNUMBER2.CFrame = v.Character.Head.CFrame
  3086. end)
  3087. end
  3088. end
  3089. end
  3090.  
  3091. Commands.cmds = function(args)
  3092. CMDSmain.Position = UDim2.new(0, 695, 0, 297)
  3093. CMDSmain.Visible = true
  3094. CMDSmain:TweenSize(UDim2.new(0, 440, 0, 367), "InOut", "Sine", 1)
  3095. end
  3096.  
  3097. Commands.fullcredits = function(args)
  3098. Notification("info", "Credit to Autumn, Josh and 3dsboy08 (Help with "..commandPrefix.."remotespy and anti client kick)", 1)
  3099. Notification("info", "Credit to Infinite Yield developers (Assisted in "..commandPrefix.."esp and "..commandPrefix.."fly commands)", 1)
  3100. Notification("info", "Credit to Timeless ("..commandPrefix.."invisible) and Harkinian ("..commandPrefix.."shutdown)", 1)
  3101. Notification("info", "Credit to DEX creators ("..commandPrefix.."explorer) and xFunnieuss ("..commandPrefix.."spinhats)", 1)
  3102. Notification("info", "Only creator is illremember", 2)
  3103. end
  3104.  
  3105. Commands.hotkey = function(args)
  3106. if args[1] then
  3107. local hotkeyKEY = string.sub(tostring(args[1]), 1, 3)
  3108. if args[2] then
  3109. table.remove(args, 1)
  3110. local hotkeyCMD = table.concat(args, " ")
  3111. table.insert(hotkeys, hotkeyCMD.."//"..hotkeyKEY)
  3112. fullUpdate()
  3113. Notification("info", "Hotkey added!", 1)
  3114. end
  3115. end
  3116. end
  3117.  
  3118. Mouse.KeyDown:Connect(function(key)
  3119. for i,v in pairs(hotkeys) do
  3120. local currentKey = string.match(v, "[%a%d]+$")
  3121. if string.len(currentKey) == 1 then
  3122. if key == string.sub(v, #v, #v) then
  3123. local commandtoRUN = string.match(v, "^[%w%s]+")
  3124. if string.sub(string.lower(tostring(commandtoRUN)), 1, 3) == "fly" then
  3125. if bypassMODE == true then
  3126. if doFREECAM == false then
  3127. run(commandPrefix..tostring(commandtoRUN))
  3128. else
  3129. run(commandPrefix.."unfly")
  3130. end
  3131. else
  3132. if flying == false then
  3133. run(commandPrefix..tostring(commandtoRUN))
  3134. else
  3135. run(commandPrefix.."unfly")
  3136. end
  3137. end
  3138. elseif tostring(commandtoRUN) == "noclip" then
  3139. if noclip == false then
  3140. run(commandPrefix..tostring(commandtoRUN))
  3141. else
  3142. run(commandPrefix.."clip")
  3143. end
  3144. elseif tostring(commandtoRUN) == "freecam" or tostring(commandtoRUN) == "fc" then
  3145. if doFREECAM == false then
  3146. run(commandPrefix..tostring(commandtoRUN))
  3147. else
  3148. if fchotkeymode == "goto" then
  3149. run(commandPrefix.."gotofc")
  3150. elseif fchotkeymode == "unfc" then
  3151. run(commandPrefix.."unfreecam")
  3152. end
  3153. end
  3154. else
  3155. run(commandPrefix..tostring(commandtoRUN))
  3156. end
  3157. end
  3158. else
  3159. if string.lower(string.sub(tostring(currentKey), 1, 1)) == "f" then
  3160. local commandtoRUN = string.match(v, "^[%w%s]+")
  3161. local hotkeyadjust = tonumber(string.sub(currentKey, 2, 3)) + 25
  3162. if string.byte(key) == hotkeyadjust then
  3163. if string.sub(string.lower(tostring(commandtoRUN)), 1, 3) == "fly" then
  3164. if bypassMODE == true then
  3165. if doFREECAM == false then
  3166. run(commandPrefix..tostring(commandtoRUN))
  3167. else
  3168. run(commandPrefix.."unfly")
  3169. end
  3170. else
  3171. if flying == false then
  3172. run(commandPrefix..tostring(commandtoRUN))
  3173. else
  3174. run(commandPrefix.."unfly")
  3175. end
  3176. end
  3177. elseif tostring(commandtoRUN) == "noclip" then
  3178. if noclip == false then
  3179. run(commandPrefix..tostring(commandtoRUN))
  3180. else
  3181. run(commandPrefix.."clip")
  3182. end
  3183. elseif tostring(commandtoRUN) == "freecam" or tostring(commandtoRUN) == "fc" then
  3184. if doFREECAM == false then
  3185. run(commandPrefix..tostring(commandtoRUN))
  3186. else
  3187. if fchotkeymode == "goto" then
  3188. run(commandPrefix.."gotofc")
  3189. elseif fchotkeymode == "unfc" then
  3190. run(commandPrefix.."unfreecam")
  3191. end
  3192. end
  3193. else
  3194. run(commandPrefix..tostring(commandtoRUN))
  3195. end
  3196. end
  3197. end
  3198. end
  3199. end
  3200. end)
  3201.  
  3202. Commands.removeallhotkey = function(args)
  3203. hotkeys = {}
  3204. fullUpdate()
  3205. Notification("warning", "All hotkeys reset/removed", 6)
  3206. end
  3207.  
  3208. Commands.removehotkey = function(args)
  3209. if args[1] then
  3210. for i,v in pairs(hotkeys) do
  3211. local currentKey = string.match(v, "[%a%d]+$")
  3212. if currentKey == string.lower(tostring(args[1])) then
  3213. table.remove(hotkeys, i)
  3214. fullUpdate()
  3215. end
  3216. end
  3217. end
  3218. end
  3219.  
  3220. Commands.printhotkeys = function(args)
  3221. for i,v in pairs(hotkeys) do
  3222. warn("HOTKEYS:")
  3223. print(v)
  3224. end
  3225. end
  3226.  
  3227. Commands.os = function(args)
  3228. if args[1] then
  3229. for i,v in pairs(findPlayer(args[1])) do
  3230. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(v.Name.." is on "..v.OsPlatform, "All")
  3231. end
  3232. end
  3233. end
  3234.  
  3235. spinning = false
  3236. Commands.spin = function(args)
  3237. if args[1] then
  3238. for i,v in pairs(findSinglePlayer(args[1])) do
  3239. run(commandPrefix.."attach "..v.Name)
  3240. annplr = v
  3241. annoying = true
  3242. spinning = true
  3243. end
  3244. end
  3245. end
  3246.  
  3247. Commands.unspin = function(args)
  3248. if spinning then
  3249. annoying = false
  3250. spinning = false
  3251. end
  3252. run(""..commandPrefix.."unattach")
  3253. end
  3254.  
  3255. Commands.explorer = function(args)
  3256. loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)()
  3257. Notification("info", "Loaded DEX explorer!", 5)
  3258. end
  3259.  
  3260. Commands.maxzoom = function(args)
  3261. if args[1] then
  3262. LP.CameraMaxZoomDistance = args[1]
  3263. end
  3264. end
  3265.  
  3266. Commands.stare = function(args)
  3267. if args[1] then
  3268. for i,v in pairs(findSinglePlayer(args[1])) do
  3269. stareplr = v
  3270. staring = true
  3271. end
  3272. end
  3273. end
  3274.  
  3275. Commands.unstare = function(args)
  3276. staring = false
  3277. end
  3278.  
  3279. Commands.tempgod = function(args)
  3280. local hu = LP.Character.Humanoid
  3281. local l = Instance.new("Humanoid")
  3282. l.Parent = LP.Character
  3283. l.Name = "Humanoid"
  3284. wait(0.1)
  3285. hu.Parent = LP
  3286. gsWorkspace.CurrentCamera.CameraSubject = LP.Character
  3287. LP.Character.Animate.Disabled = true
  3288. wait(0.1)
  3289. LP.Character.Animate.Disabled = false
  3290. Notification("info", "Enabled Temp FE Godmode", 4)
  3291. end
  3292.  
  3293. Commands.void = function(args)
  3294. if hasTools() == false then
  3295. Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
  3296. else
  3297. FEGodmode()
  3298. for i,v in pairs(LP.Backpack:GetChildren())do
  3299. LP.Character.Humanoid:EquipTool(v)
  3300. end
  3301. if args[1] then
  3302. for i,v in pairs(findSinglePlayer(args[1])) do
  3303. local NOW = LP.Character.HumanoidRootPart.CFrame
  3304. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  3305. wait(0.3)
  3306. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  3307. local function tp(player,player2)
  3308. local char1,char2=player.Character,player2.Character
  3309. if char1 and char2 then
  3310. char1:MoveTo(char2.Head.Position)
  3311. end
  3312. end
  3313. wait(0.5)
  3314. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(999999999999999,0,999999999999999))
  3315. end
  3316. end
  3317. end
  3318. end
  3319.  
  3320. Commands.freefall = function(args)
  3321. if hasTools() == false then
  3322. Notification("warning", "You need a tool in your backpack/inventory to use this command.", 8)
  3323. else
  3324. FEGodmode()
  3325. for i,v in pairs(LP.Backpack:GetChildren())do
  3326. LP.Character.Humanoid:EquipTool(v)
  3327. end
  3328. if args[1] then
  3329. for i,v in pairs(findSinglePlayer(args[1])) do
  3330. local NOW = LP.Character.HumanoidRootPart.CFrame
  3331. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  3332. wait(0.3)
  3333. LP.Character.HumanoidRootPart.CFrame = v.Character["Left Arm"].CFrame
  3334. wait(0.5)
  3335. LP.Character.HumanoidRootPart.CFrame = NOW
  3336. wait(0.5)
  3337. LP.Character.HumanoidRootPart.CFrame = NOW
  3338. wait(0.6)
  3339. LP.Character.HumanoidRootPart.CFrame = CFrame.new(0,50000,0)
  3340. end
  3341. end
  3342. end
  3343. end
  3344.  
  3345. Commands.version = function(args)
  3346. Notification("info", "Current Shattervast Version: V2.8", 7)
  3347. end
  3348.  
  3349. Commands.shiftlockon = function(args)
  3350. LP.DevEnableMouseLock = true
  3351. Notification("info", "Shift lock enabled!", 5)
  3352. end
  3353.  
  3354. for i,needChat in pairs(gsPlayers:GetPlayers()) do
  3355. needChat.Chatted:Connect(function(msg)
  3356. if copychatall then
  3357. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(msg, "All")
  3358. end
  3359. end)
  3360. end
  3361. gsPlayers.PlayerAdded:Connect(function(plr)
  3362. plr.Chatted:Connect(function(msg)
  3363. if copychatall then
  3364. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(msg, "All")
  3365. end
  3366. end)
  3367. end)
  3368.  
  3369. copychatplayer = nil
  3370. copychatall = false
  3371. copychatACTIVE = false
  3372. Commands.copychat = function(args)
  3373. if args[1] then
  3374. if string.lower(args[1]) == "all" or string.lower(args[1]) == "others" then
  3375. copychatall = true
  3376. else
  3377. for i,v in pairs(findPlayer(args[1])) do
  3378. if v ~= LP then
  3379. copychatplayer = v
  3380. copychatACTIVE = true
  3381. end
  3382. end
  3383. end
  3384. end
  3385. end
  3386.  
  3387. Commands.uncopychat = function(args)
  3388. copychatall = false
  3389. copychatACTIVE = false
  3390. end
  3391.  
  3392. Commands.newkill = function(args)
  3393. if hasTools() == false then
  3394. Notification("warning", "You need TWO tools in your backpack/inventory to use this command.", 8)
  3395. else
  3396. if args[1] then
  3397. for i,plr in pairs(findSinglePlayer(args[1])) do
  3398. for i,v in pairs(LP.Backpack:GetChildren())do
  3399. LP.Character.Humanoid:EquipTool(v)
  3400. end
  3401. for i,v in pairs(LP.Backpack:GetDescendants()) do
  3402. if v:IsA("Tool") then
  3403. v.Parent = LP.Character
  3404. wait()
  3405. v.Parent = plr.Character
  3406. end
  3407. end
  3408. wait(0.4)
  3409. LP.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(4000000, -10, 200000))
  3410. end
  3411. end
  3412. end
  3413. end
  3414.  
  3415. Commands.newattach = function(args)
  3416. if hasTools() == false then
  3417. Notification("warning", "You need TWO tools in your backpack/inventory to use this command.", 8)
  3418. else
  3419. if args[1] then
  3420. for i,plr in pairs(findSinglePlayer(args[1])) do
  3421. for i,v in pairs(LP.Backpack:GetChildren())do
  3422. LP.Character.Humanoid:EquipTool(v)
  3423. end
  3424. for i,v in pairs(LP.Backpack:GetDescendants()) do
  3425. if v:IsA("Tool") then
  3426. v.Parent = LP.Character
  3427. wait()
  3428. v.Parent = plr.Character
  3429. end
  3430. end
  3431. end
  3432. end
  3433. end
  3434. end
  3435.  
  3436. Commands.newbring = function(args)
  3437. if hasTools() == false then
  3438. Notification("warning", "You need TWO tools in your backpack/inventory to use this command.", 8)
  3439. else
  3440. if args[1] then
  3441. for i,plr in pairs(findSinglePlayer(args[1])) do
  3442. local NOW = LP.Character.HumanoidRootPart.CFrame
  3443. for i,v in pairs(LP.Backpack:GetChildren())do
  3444. LP.Character.Humanoid:EquipTool(v)
  3445. end
  3446. for i,v in pairs(LP.Backpack:GetDescendants()) do
  3447. if v:IsA("Tool") then
  3448. v.Parent = LP.Character
  3449. wait()
  3450. v.Parent = plr.Character
  3451. end
  3452. end
  3453. wait(0.4)
  3454. LP.Character.HumanoidRootPart.CFrame = NOW
  3455. wait(0.4)
  3456. LP.Character.HumanoidRootPart.CFrame = NOW
  3457. end
  3458. end
  3459. end
  3460. end
  3461.  
  3462. Commands.spawn = function(args)
  3463. if args[1] then
  3464. if string.lower(tostring(args[1])) == "ws" then
  3465. spawnWS = args[2] or CurrentWalkspeed
  3466. LP.Character.Humanoid.WalkSpeed = args[2] or CurrentWalkspeed
  3467. elseif string.lower(tostring(args[1])) == "jp" then
  3468. spawnJP = args[2] or CurrentJumppower
  3469. LP.Character.Humanoid.JumpPower = args[2] or CurrentJumppower
  3470. elseif string.lower(tostring(args[1])) == "hh" then
  3471. spawnHH = args[2] or CurrentHipheight
  3472. LP.Character.Humanoid.HipHeight = args[2] or CurrentHipheight
  3473. elseif string.lower(tostring(args[1])) == "god" then
  3474. spawningfegod = true
  3475. FEGodmode()
  3476. end
  3477. end
  3478. end
  3479.  
  3480. Commands.unspawn = function(args)
  3481. spawnWS = CurrentWalkspeed
  3482. spawnJP = CurrentJumppower
  3483. spawnHH = CurrentHipheight
  3484. spawningfegod = false
  3485. Notification("info", "Reset spawning stats", 5)
  3486. end
  3487.  
  3488. savingtoolsloop = false
  3489. Commands.autosavetool = function(args)
  3490. if args[1] then
  3491. if string.lower(tostring(args[1])) == "on" then
  3492. savingtoolsloop = true
  3493. elseif string.lower(tostring(args[1])) == "off" then
  3494. savingtoolsloop = false
  3495. end
  3496. end
  3497. end
  3498.  
  3499. modeFling = false
  3500. modeCompliment = false
  3501. modeMove = false
  3502. modeInfo = false
  3503. Commands.beginbot = function(args)
  3504. if not args[1] then
  3505. print("fling // compliment // move // info")
  3506. Notification("info", ""..commandPrefix.."beginbot Modes printed", 5)
  3507. else
  3508. if string.lower(tostring(args[1])) == "fling" then
  3509. modeFling = true
  3510. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Hello! I am Fling-Bot 5000! Say !fling [Player] to fling that player!", "All")
  3511. elseif string.lower(tostring(args[1])) == "compliment" then
  3512. modeCompliment = true
  3513. complimentReady = true
  3514. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Good day, I am Compliment-Bot. Say !c [Player] to give them a compliment.", "All")
  3515. elseif string.lower(tostring(args[1])) == "move" then
  3516. modeMove = true
  3517. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Hi, I am movement bot. Commands you can use: !walk [Player], !bringbot, !follow [Player].", "All")
  3518. elseif string.lower(tostring(args[1])) == "info" then
  3519. modeInfo = true
  3520. infoReady = true
  3521. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Hey, I'm Info-Bot. Commands you can use: !age [Player], !id [Player].", "All")
  3522. end
  3523. end
  3524. end
  3525.  
  3526. Commands.endbot = function(args)
  3527. if not args[1] then
  3528. modeFling = false
  3529. modeCompliment = false
  3530. modeMove = false
  3531. modeInfo = false
  3532. else
  3533. if string.lower(tostring(args[1])) == "fling" then
  3534. modeFling = false
  3535. elseif string.lower(tostring(args[1])) == "compliment" then
  3536. modeCompliment = false
  3537. elseif string.lower(tostring(args[1])) == "move" then
  3538. modeMove = false
  3539. elseif string.lower(tostring(args[1])) == "info" then
  3540. modeInfo = false
  3541. end
  3542. end
  3543. end
  3544.  
  3545. Commands.stopsit = function(args)
  3546. stopsitting = true
  3547. end
  3548.  
  3549. Commands.gosit = function(args)
  3550. stopsitting = false
  3551. end
  3552.  
  3553. chattingerror = true
  3554. Commands.chaterror = function(args)
  3555. if chattingerror then
  3556. chattingerror = false
  3557. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(" ", "All")
  3558. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(" ", "All")
  3559. wait(4)
  3560. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(" ", "All")
  3561. wait(3)
  3562. chattingerror = true
  3563. end
  3564. end
  3565.  
  3566. spawnpos = nil
  3567. spawningpos = true
  3568. Commands.spawnpoint = function(args)
  3569. spawnpos = LP.Character.HumanoidRootPart.CFrame
  3570. spawningpos = true
  3571. Notification("info", "Spawn point has been set! Use "..commandPrefix.."nospawn to remove.", 6)
  3572. end
  3573.  
  3574. Commands.nospawn = function(args)
  3575. spawningpos = false
  3576. Notification("info", "Spawn point has been removed. Use "..commandPrefix.."spawnpoint to enable.", 6)
  3577. end
  3578.  
  3579. Commands.bypass = function(args)
  3580. if args[1] then
  3581. if string.lower(tostring(args[1])) == "on" then
  3582. bypassMODE = true
  3583. Notification("warning", "Bypass mode turned on, this changes functions of "..commandPrefix.."fly and other commands to bypass most anti-exploits.", 7)
  3584. elseif string.lower(tostring(args[1])) == "off" then
  3585. bypassMODE = false
  3586. Notification("warning", "Bypass mode has been turned off.", 7)
  3587. end
  3588. end
  3589. end
  3590.  
  3591. Commands.fixcam = function(args)
  3592. gsWorkspace.CurrentCamera:Destroy()
  3593. wait(0.1)
  3594. game:GetService("Workspace").CurrentCamera.CameraSubject = LP.Character.Humanoid
  3595. game:GetService("Workspace").CurrentCamera.CameraType = "Custom"
  3596. LP.CameraMinZoomDistance = 0.5
  3597. LP.CameraMaxZoomDistance = 400
  3598. LP.CameraMode = "Classic"
  3599. LP.DevCameraOcclusionMode = CurrentNormal
  3600. end
  3601.  
  3602. Commands.gotoobj = function(args)
  3603. if args[1] then
  3604. for i,v in pairs(gsWorkspace:GetDescendants()) do
  3605. if string.lower(v.Name) == string.lower(tostring(args[1])) then
  3606. LP.Character.HumanoidRootPart.CFrame = v.CFrame + Vector3.new(0, 3, 0)
  3607. end
  3608. end
  3609. end
  3610. end
  3611.  
  3612. Commands.breakcam = function(args)
  3613. gsWorkspace.CurrentCamera.CameraSubject = LP.Character.Head
  3614. end
  3615.  
  3616. Commands.inviscam = function(args)
  3617. LP.DevCameraOcclusionMode = "Invisicam"
  3618. end
  3619.  
  3620. printobjKEY = ""
  3621. printobjCLICKING = false
  3622. printobjACTIVE = false
  3623.  
  3624. Commands.printobj = function(args)
  3625. if args[1] then
  3626. printobjKEY = string.sub(tostring(args[1]), 1, 1)
  3627. printobjACTIVE = true
  3628. printobjCLICKING = false
  3629. else
  3630. printobjKEY = ""
  3631. printobjACTIVE = true
  3632. printobjCLICKING = true
  3633. end
  3634. end
  3635.  
  3636. Mouse.KeyDown:Connect(function(key)
  3637. if key == printobjKEY and printobjACTIVE == true then
  3638. if Mouse.Target then
  3639. local path = Mouse.Target:GetFullName()
  3640. local getPath = "game:GetService(\"Workspace\")"
  3641. local getSpaces = ""
  3642. local separate = {}
  3643. local a = nil
  3644. for v in string.gmatch(string.sub(path, 10), "[^.]+") do
  3645. if string.match(v, " ") then
  3646. a = "["..v.."]"
  3647. table.insert(separate, a)
  3648. else
  3649. a = "."..v
  3650. table.insert(separate, a)
  3651. end
  3652. getSpaces = table.concat(separate, "")
  3653. end
  3654. local fullPath = getPath..getSpaces
  3655. print(fullPath)
  3656. end
  3657. end
  3658. end)
  3659. Mouse.Button1Down:Connect(function()
  3660. if printobjCLICKING == true and printobjACTIVE == true then
  3661. if Mouse.Target then
  3662. local path = Mouse.Target:GetFullName()
  3663. local getPath = "game:GetService(\"Workspace\")"
  3664. local getSpaces = ""
  3665. local separate = {}
  3666. local a = nil
  3667. for v in string.gmatch(string.sub(path, 10), "[^.]+") do
  3668. if string.match(v, " ") then
  3669. a = "["..v.."]"
  3670. table.insert(separate, a)
  3671. else
  3672. a = "."..v
  3673. table.insert(separate, a)
  3674. end
  3675. getSpaces = table.concat(separate, "")
  3676. end
  3677. local fullPath = getPath..getSpaces
  3678. print(fullPath)
  3679. end
  3680. end
  3681. end)
  3682.  
  3683. Commands.unprintobj = function(args)
  3684. printobjACTIVE = false
  3685. printobjCLICKING = false
  3686. end
  3687.  
  3688. Commands.hotkeyfc = function(args)
  3689. if args[1] then
  3690. if string.lower(tostring(args[1])) == "goto" then
  3691. fchotkeymode = "goto"
  3692. elseif string.lower(tostring(args[1])) == "unfc" then
  3693. fchotkeymode = "unfc"
  3694. end
  3695. fullUpdate()
  3696. end
  3697. end
  3698.  
  3699. Commands.carpet = function(args)
  3700. if args[1] then
  3701. for i,v in pairs(findSinglePlayer(args[1])) do
  3702. if v ~= nil then
  3703. annoying = true
  3704. annplr = v
  3705. local carpetAnimation = Instance.new("Animation")
  3706. carpetAnimation.AnimationId = "rbxassetid://282574440"
  3707. carpetTrack = LP.Character.Humanoid:LoadAnimation(carpetAnimation)
  3708. carpetTrack:Play(.1, 1, 1)
  3709. end
  3710. end
  3711. end
  3712. end
  3713.  
  3714. Commands.uncarpet = function(args)
  3715. annoying = false
  3716. carpetTrack:Stop()
  3717. end
  3718.  
  3719. Commands.brickcreate = function(args)
  3720. if args[1] then
  3721. local createPosition = LP.Character.HumanoidRootPart.CFrame
  3722. if args[2] and args[3] and args[4] then
  3723. createPosition = CFrame.new(Vector3.new(args[2], args[3], args[4]))
  3724. else
  3725. createPosition = LP.Character.HumanoidRootPart.CFrame
  3726. end
  3727. for i = 1, args[1] do
  3728. LP.Character.HumanoidRootPart.CFrame = createPosition
  3729. run(commandPrefix.."blockhats")
  3730. wait(0.2)
  3731. run(commandPrefix.."drophats")
  3732. wait(0.2)
  3733. run(commandPrefix.."reset")
  3734. wait(6)
  3735. end
  3736. end
  3737. end
  3738.  
  3739. Commands.forward = function(args)
  3740. if args[1] then
  3741. forwardSpeed = args[1]
  3742. else
  3743. forwardSpeed = 1
  3744. end
  3745. cmdForward = true
  3746. end
  3747.  
  3748. Commands.unforward = function(args)
  3749. cmdForward = false
  3750. end
  3751.  
  3752. Commands.id = function(args)
  3753. if args[1] then
  3754. for i,v in pairs(findPlayer(args[1])) do
  3755. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(v.Name.." Account ID: "..v.UserId.."!", "All")
  3756. end
  3757. end
  3758. end
  3759.  
  3760. Commands.spinhats = function(args) -- Credit to xFunnieuss
  3761. for i,v in pairs(LP.Character:GetDescendants()) do
  3762. if v:IsA("Accessory") or v:IsA("Hat") then
  3763. local keep = Instance.new("BodyPosition") keep.Parent = v.Handle keep.Name = "no"
  3764. local spin = Instance.new("BodyAngularVelocity") spin.Parent = v.Handle spin.Name = "ha"
  3765. if v.Handle.AccessoryWeld then
  3766. v.Handle.AccessoryWeld:Destroy()
  3767. end
  3768. if args[1] then
  3769. spin.AngularVelocity = Vector3.new(0, args[1], 0)
  3770. spin.MaxTorque = Vector3.new(0, args[1] * 2, 0)
  3771. else
  3772. spin.AngularVelocity = Vector3.new(0, 100, 0)
  3773. spin.MaxTorque = Vector3.new(0, 200, 0)
  3774. end
  3775. keep.P = 30000
  3776. keep.D = 50
  3777. spinObj = keep
  3778. spinTOhead = true
  3779. end
  3780. end
  3781. end
  3782.  
  3783. Commands.unspinhats = function(args)
  3784. for i,v in pairs(LP.Character:GetDescendants()) do
  3785. if v:IsA("Accessory") or v:IsA("Hat") then
  3786. pcall(function()
  3787. run(commandPrefix.."drophats")
  3788. wait(2)
  3789. v.Handle.spin:Destroy()
  3790. v.Handle.keep:Destroy()
  3791. end)
  3792. end
  3793. end
  3794. end
  3795.  
  3796. savedmap = {}
  3797. Commands.savemap = function(args)
  3798. for i,v in pairs(gsWorkspace:GetChildren()) do
  3799. v.Archivable = true
  3800. if not v:IsA("Terrain") and not v:IsA("Camera") then
  3801. if not gsPlayers:FindFirstChild(v.Name) then
  3802. table.insert(savedmap, v:Clone())
  3803. end
  3804. end
  3805. end
  3806. clientSided()
  3807. end
  3808.  
  3809. Commands.loadmap = function(args)
  3810. for i,v in pairs(gsWorkspace:GetChildren()) do
  3811. if not v:IsA("Terrain") and not v:IsA("Camera") then
  3812. if not gsPlayers:FindFirstChild(v.Name) then
  3813. pcall(function()
  3814. v:Destroy()
  3815. end)
  3816. end
  3817. end
  3818. end
  3819. for i,a in ipairs(savedmap) do
  3820. a:Clone().Parent = gsWorkspace
  3821. end
  3822. clientSided()
  3823. end
  3824.  
  3825. Commands.creatorid = function(args)
  3826. LP.UserId = game.CreatorId
  3827. end
  3828.  
  3829. Commands.gameid = function(args)
  3830. Notification("info", "Current game's ID = "..game.GameId, 8)
  3831. end
  3832.  
  3833. Commands.delobj = function(args)
  3834. if args[1] then
  3835. for i,v in pairs(gsWorkspace:GetDescendants()) do
  3836. if string.lower(v.Name) == string.lower(tostring(args[1])) then
  3837. v:Destroy()
  3838. clientSided()
  3839. end
  3840. end
  3841. end
  3842. end
  3843.  
  3844. Commands.glide = function(args)
  3845. if args[1] then
  3846. for i,v in pairs(findSinglePlayer(args[1])) do
  3847. local goal = {}
  3848. goal.CFrame = v.Character.HumanoidRootPart.CFrame
  3849. local defaultSpeed = 3
  3850. if args[2] then
  3851. if tonumber(args[2]) < 10 then
  3852. defaultSpeed = tonumber(args[2])
  3853. else
  3854. defaultSpeed = 5
  3855. end
  3856. else
  3857. defaultSpeed = 3
  3858. end
  3859. local goalFunction = gsTween:Create(LP.Character.HumanoidRootPart, TweenInfo.new(defaultSpeed, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut), goal)
  3860. goalFunction:Play()
  3861. end
  3862. end
  3863. end
  3864.  
  3865. stutterON = false
  3866. Commands.stutter = function(args)
  3867. if args[1] then
  3868. if string.lower(tostring(args[1])) == "on" then
  3869. stutterON = true
  3870. elseif string.lower(tostring(args[1])) == "off" then
  3871. stutterON = false
  3872. wait(0.4)
  3873. LP.Character.HumanoidRootPart.Anchored = false
  3874. end
  3875. end
  3876. end
  3877.  
  3878. spawn(function()
  3879. while wait(0.1) do
  3880. if stutterON == true then
  3881. LP.Character.HumanoidRootPart.Anchored = false
  3882. wait(0.1)
  3883. LP.Character.HumanoidRootPart.Anchored = true
  3884. end
  3885. end
  3886. end)
  3887.  
  3888. Commands.platform = function(args)
  3889. local a = Instance.new("Part")
  3890. a.Parent = gsWorkspace
  3891. a.Size = Vector3.new(10, 1, 10)
  3892. a.Anchored = true
  3893. a.CFrame = LP.Character.HumanoidRootPart.CFrame + Vector3.new(0, 5, 0)
  3894. LP.Character.HumanoidRootPart.CFrame = a.CFrame + Vector3.new(0, 2, 0)
  3895. clientSided()
  3896. wait(20)
  3897. a:Destroy()
  3898. end
  3899.  
  3900. Commands.servertime = function(args)
  3901. Notification("info", "Server time is "..math.ceil(tonumber(gsWorkspace.DistributedGameTime)).." seconds.", 8)
  3902. end
  3903.  
  3904. Commands.ride = function(args)
  3905. if args[1] then
  3906. for i,v in pairs(findSinglePlayer(args[1])) do
  3907. local Anim = Instance.new("Animation")
  3908. Anim.AnimationId = "rbxassetid://179224234"
  3909. RIDEtrack = LP.Character.Humanoid:LoadAnimation(Anim)
  3910. rideACTIVE = true
  3911. ridePLAYER = v
  3912. RIDEtrack:Play()
  3913. end
  3914. end
  3915. end
  3916.  
  3917. Commands.unride = function(args)
  3918. RIDEtrack:Stop()
  3919. rideACTIVE = false
  3920. end
  3921.  
  3922. Commands.cmute = function(args)
  3923. if args[1] then
  3924. for i,v in pairs(findSinglePlayer(args[1])) do
  3925. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/mute "..v.Name, "All")
  3926. clientSided()
  3927. end
  3928. end
  3929. end
  3930.  
  3931. Commands.uncmute = function(args)
  3932. if args[1] then
  3933. for i,v in pairs(findSinglePlayer(args[1])) do
  3934. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/unmute "..v.Name, "All")
  3935. end
  3936. end
  3937. end
  3938.  
  3939. Commands.hat = function(args)
  3940. if args[1] then
  3941. for i,v in pairs(findSinglePlayer(args[1])) do
  3942. local Anim = Instance.new("Animation")
  3943. Anim.AnimationId = "rbxassetid://282574440"
  3944. HATtrack = LP.Character.Humanoid:LoadAnimation(Anim)
  3945. rideACTIVE = true
  3946. ridePLAYER = v
  3947. HATtrack:Play()
  3948. view(v)
  3949. end
  3950. end
  3951. end
  3952.  
  3953. Commands.unhat = function(args)
  3954. HATtrack:Stop()
  3955. rideACTIVE = false
  3956. view(LP)
  3957. end
  3958.  
  3959. --[[Commands.spawnreset = function(args)
  3960. if args[1] then
  3961. if string.lower(tostring(args[1])) == "on" then
  3962. spawningatreset = true
  3963. elseif string.lower(tostring(args[1])) == "off" then
  3964. spawningatreset = false
  3965. end
  3966. end
  3967. end]]
  3968.  
  3969. Commands.chat = function(args)
  3970. if args[1] then
  3971. local Chatmsg = table.concat(args, " ")
  3972. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Chatmsg, "All")
  3973. end
  3974. end
  3975.  
  3976. -- findPlayer function (ALL, OTHERS, ME, NOOBS, VETERANS, OLDVETERANS, FRIENDS, NOFRIENDS, DEFAULT, RANDOM, SAMETEAM, NOTEAM, OTHERTEAM, TEAMname)
  3977. function findPlayer(plr)
  3978. local players = {}
  3979. local find = plr:lower()
  3980. local getAllNames = getmultipleplayers(find)
  3981. for i,mplr in pairs(getAllNames) do
  3982. if mplr == "all" then
  3983. for i,v in pairs(gsPlayers:GetPlayers()) do
  3984. table.insert(players,v)
  3985. end
  3986. elseif mplr == "others" then
  3987. for i,v in pairs(gsPlayers:GetPlayers()) do
  3988. if v.Name ~= LP.Name then
  3989. table.insert(players,v)
  3990. end
  3991. end
  3992. elseif mplr == "me" then
  3993. table.insert(players,LP)
  3994. elseif mplr == "noobs" then
  3995. for i,v in pairs(gsPlayers:GetPlayers()) do
  3996. if v.AccountAge <= 3 then
  3997. table.insert(players,v)
  3998. end
  3999. end
  4000. elseif mplr == "veterans" then
  4001. for i,v in pairs(gsPlayers:GetPlayers()) do
  4002. if v.AccountAge >= 365 then
  4003. table.insert(players,v)
  4004. end
  4005. end
  4006. elseif mplr == "oldveterans" then
  4007. for i,v in pairs(gsPlayers:GetPlayers()) do
  4008. if v.AccountAge >= 1500 then
  4009. table.insert(players,v)
  4010. end
  4011. end
  4012. elseif mplr == "friends" then
  4013. for i,v in pairs(gsPlayers:GetPlayers()) do
  4014. if v:IsFriendsWith(LP.UserId) and v.Name ~= LP.Name then
  4015. table.insert(players,v)
  4016. end
  4017. end
  4018. elseif mplr == "nofriends" then
  4019. for i,v in pairs(gsPlayers:GetPlayers()) do
  4020. if not v:IsFriendsWith(LP.UserId) and v.Name ~= LP.Name then
  4021. table.insert(players,v)
  4022. end
  4023. end
  4024. elseif mplr == "default" then
  4025. for i,v in pairs(gsPlayers:GetPlayers()) do
  4026. if v.Character:FindFirstChild("Pal Hair") or v.Character:FindFirstChild("Kate Hair") then
  4027. table.insert(players,v)
  4028. end
  4029. end
  4030. elseif mplr == "random" then
  4031. for i,v in pairs(gsPlayers:GetPlayers()) do
  4032. table.insert(players,v[math.random(1, #v)])
  4033. end
  4034. elseif mplr == "sameteam" then
  4035. for i,v in pairs(gsPlayers:GetPlayers()) do
  4036. if v.Team == LP.Team then
  4037. table.insert(players,v)
  4038. end
  4039. end
  4040. elseif mplr == "noteam" then
  4041. for i,v in pairs(gsPlayers:GetPlayers()) do
  4042. if v.Team == nil then
  4043. table.insert(players,v)
  4044. end
  4045. end
  4046. elseif mplr == "otherteam" then
  4047. for i,v in pairs(gsPlayers:GetPlayers()) do
  4048. if v.Team ~= LP.Team then
  4049. table.insert(players,v)
  4050. end
  4051. end
  4052. elseif string.sub(mplr, 1, 4) == "team" then
  4053. for i,v in pairs(gsPlayers:GetPlayers()) do
  4054. local spaceTEAM = {}
  4055. for teamValues in (string.gmatch(string.sub(mplr, 5), "[^_]+")) do
  4056. spaceTEAM[#spaceTEAM + 1] = teamValues
  4057. end
  4058. local gottrueteam = table.concat(spaceTEAM, " ")
  4059. if string.lower(tostring(v.Team)) == string.lower(gottrueteam) then
  4060. table.insert(players,v)
  4061. end
  4062. end
  4063. else
  4064. for i,v in pairs(gsPlayers:GetPlayers()) do
  4065. if string.lower(v.Name):sub(1, #mplr) == string.lower(mplr) then
  4066. table.insert(players,v)
  4067. end
  4068. end
  4069. end
  4070. end
  4071.  
  4072. return players
  4073. end
  4074. function getmultipleplayers(plr)
  4075. local plrsgotten = {}
  4076. for i in string.gmatch(plr,"[^,]+") do
  4077. table.insert(plrsgotten,i)
  4078. end
  4079. return plrsgotten
  4080. end
  4081. function findSinglePlayer(plr)
  4082. local players = {}
  4083. local find = plr:lower()
  4084. if find == "me" then
  4085. table.insert(players,LP)
  4086. else
  4087. for i,v in pairs(gsPlayers:GetPlayers()) do
  4088. if string.lower(v.Name):sub(1, #find) == string.lower(find) then
  4089. table.insert(players,v)
  4090. end
  4091. end
  4092. end
  4093. local oneplayer = {}
  4094. pcall(function()
  4095. table.insert(oneplayer, players[math.random(1, #players)])
  4096. end)
  4097. return oneplayer
  4098. end
  4099.  
  4100. -- Anti Kick
  4101.  
  4102. if getrawmetatable then
  4103. function formatargs(getArgs,v)
  4104. if #getArgs == 0 then
  4105. return ""
  4106. end
  4107.  
  4108. local collectArgs = {}
  4109. for k,v in next,getArgs do
  4110. local argument = ""
  4111. if type(v) == "string" then
  4112. argument = "\""..v.."\""
  4113. elseif type(v) == "table" then
  4114. argument = "{" .. formatargs(v,true) .. "}"
  4115. else
  4116. argument = tostring(v)
  4117. end
  4118. if v and type(k) ~= "number" then
  4119. table.insert(collectArgs,k.."="..argument)
  4120. else
  4121. table.insert(collectArgs,argument)
  4122. end
  4123. end
  4124. return table.concat(collectArgs, ", ")
  4125. end
  4126.  
  4127. kicknum = 0
  4128. local game_meta = getrawmetatable(game)
  4129. local game_namecall = game_meta.__namecall
  4130. local game_index = game_meta.__index
  4131. local w = (setreadonly or fullaccess or make_writeable)
  4132. pcall(w, game_meta, false)
  4133. game_meta.__namecall = function(out, ...)
  4134. local args = {...}
  4135. local Method = args[#args]
  4136. args[#args] = nil
  4137.  
  4138. if Method == "Kick" and out == LP then
  4139. kicknum = kicknum + 1
  4140. warn("Blocked client-kick attempt "..kicknum)
  4141. return
  4142. end
  4143.  
  4144. if antiremotes then
  4145. if Method == "FireServer" or Method == "InvokeServer" then
  4146. if out.Name ~= "CharacterSoundEvent" and out.Name ~= "SayMessageRequest" and out.Name ~= "AddCharacterLoadedEvent" and out.Name ~= "RemoveCharacterEvent" and out.Name ~= "DefaultServerSoundEvent" and out.Parent ~= "DefaultChatSystemChatEvents" then
  4147. warn("Blocked remote: "..out.Name.." // Method: "..Method)
  4148. return
  4149. end
  4150. end
  4151. else
  4152. if Method == "FireServer" or Method == "InvokeServer" then
  4153. for i,noremote in pairs(blockedremotes) do
  4154. if out.Name == noremote and out.Name ~= "SayMessageRequest" then
  4155. warn("Blocked remote: "..out.Name.." // Method: "..Method)
  4156. return
  4157. end
  4158. end
  4159. end
  4160. end
  4161.  
  4162. if spyingremotes then
  4163. if Method == "FireServer" or Method == "InvokeServer" then
  4164. if out.Name ~= "CharacterSoundEvent" and out.Name ~= "AddCharacterLoadedEvent" and out.Name ~= "RemoveCharacterEvent" and out.Name ~= "DefaultServerSoundEvent" and out.Name ~= "SayMessageRequest" then
  4165. local arguments = {}
  4166. for i = 1,#args do
  4167. arguments[i] = args[i]
  4168. end
  4169. local getScript = getfenv(2).script
  4170. if getScript == nil then
  4171. getScript = "??? (Not Found) ???"
  4172. end
  4173. warn("<> <> <> A "..out.ClassName.." has been fired! How to fire:\ngame."..out:GetFullName()..":"..Method.."("..formatargs(arguments)..")\n\nFired from script: ".. tostring(getScript:GetFullName()))
  4174. end
  4175. end
  4176. end
  4177.  
  4178. return game_namecall(out, ...)
  4179. end
  4180. end
  4181.  
  4182. -- FE Check
  4183. function FEcheckDefault()
  4184. if gsWorkspace.FilteringEnabled == true then
  4185. createIntro("warning", "FE is enabled! Press "..commandPrefix.." to bring Command Bar.", 7)
  4186. else
  4187. createIntro("warning", "FE is disabled. Consider using a different script.", 7)
  4188. end
  4189. end
  4190. FEcheckDefault()
  4191. end)
  4192.  
  4193. game:GetService("StarterGui"):SetCore("SendNotification", {
  4194. Title = "Cataclysm's GUI";
  4195. Text = "Cataclysmic GUI Has Loaded";
  4196. })
  4197.  
  4198. print('Cataclysmic ' ..v .." Has Loaded")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement