Advertisement
OwenNichols

Shattervast

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