Advertisement
Guest User

Test

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