Advertisement
m26_Lincoln

Admin In Every Game

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