Advertisement
Guest User

Shattervast

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