Advertisement
xdlolepicgay

Shattervast

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