Advertisement
Guest User

Untitled

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