Advertisement
alek_

Shattervast

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