Advertisement
Guest User

GUI script.

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