Advertisement
ghostteen14

Untitled

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