psub_reborn

Admin Zommands FE

Feb 24th, 2025
867
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 22.85 KB | None | 0 0
  1. local player = game.Players.LocalPlayer
  2. local TextChatService = game:GetService("TextChatService")
  3.  
  4. local gui = Instance.new("ScreenGui", player.PlayerGui)
  5. gui.ResetOnSpawn = false
  6. gui.Name = "AdminExec"
  7.  
  8. local function createMsg(text: string, sec: number)
  9.     local msg = Instance.new("Message", workspace)
  10.     msg.Text = text
  11.     game:GetService("Debris"):AddItem(msg, sec)
  12. end
  13.  
  14. local function send(str)
  15.     str = tostring(str)
  16.     if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
  17.         TextChatService.TextChannels.RBXGeneral:SendAsync(str)
  18.     else
  19.         game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(str, "All")
  20.     end
  21. end
  22.  
  23. local function checkIfR6(c)
  24.     if c:FindFirstChild("Torso") then
  25.         return true
  26.     else
  27.         createMsg("Switch your rig to R6 for this", 4)
  28.         return false
  29.     end
  30. end
  31.  
  32. local help = false
  33. local sprintEnabled = false
  34. local flySwimEnabled = false
  35. local flyJumpEnabled = false
  36. local power = 0
  37. local orbitEnabled = false
  38. local cameraLocked = false
  39. local noclipEnabled = false
  40. local chamsEnabled = false
  41. local looptoEnabled = false
  42. local loopuseEnabled = false
  43. local carpetEnabled = false
  44. local bangEnabled = false
  45. local punchMode = false
  46.  
  47. local frame = Instance.new("Frame", gui)
  48. frame.Size = UDim2.new(0.2, 0, 0.5, 0)
  49. frame.Position = UDim2.new(1, 0, 1, 0)
  50. frame.AnchorPoint = Vector2.new(1, 1)
  51. frame.BackgroundColor3 = Color3.new(0.2, 0.3, 0.3)
  52. frame.Active = true
  53. frame.Draggable = true
  54. Instance.new("UICorner", frame).CornerRadius = UDim.new(0.1, 0)
  55. Instance.new("UIStroke", frame)
  56.  
  57. game:GetService("TweenService"):Create(frame, TweenInfo.new(
  58.     3,
  59.     Enum.EasingStyle.Elastic,
  60.     Enum.EasingDirection.Out,
  61.     0,
  62.     false,
  63.     0.125
  64. ), {BackgroundColor3 = Color3.new(0.6, 0.8, 0.9)}):Play()
  65.  
  66. local labelText = Instance.new("TextLabel", frame)
  67. labelText.AnchorPoint = Vector2.new(0.5, 0)
  68. labelText.Position = UDim2.new(0.5, 0, 0.075, 0)
  69. labelText.Size = UDim2.new(0.9, 0, 0.2, 0)
  70. labelText.RichText = true
  71. labelText.Text = "<b>admin zommands exec</b>"
  72. labelText.TextColor3 = Color3.new(0, 0, 0)
  73. labelText.BorderSizePixel = 0
  74. labelText.BackgroundTransparency = 1
  75. labelText.Font = Enum.Font.SourceSans
  76. labelText.TextScaled = true
  77.  
  78. local labelText2 = Instance.new("TextLabel", frame)
  79. labelText2.AnchorPoint = Vector2.new(0.5, 0.5)
  80. labelText2.Position = UDim2.new(0.5, 0, 0.5, 0)
  81. labelText2.Size = UDim2.new(0.9, 0, 0.05, 0)
  82. labelText2.Text = "version 1.61"
  83. labelText2.TextColor3 = Color3.new(0, 0, 0)
  84. labelText2.BorderSizePixel = 0
  85. labelText2.BackgroundTransparency = 1
  86. labelText2.Font = Enum.Font.SourceSans
  87. labelText2.TextScaled = true
  88.  
  89. local textBox = Instance.new("TextBox", frame)
  90. textBox.AnchorPoint = Vector2.new(0.5, 0)
  91. textBox.ClearTextOnFocus = false
  92. textBox.Position = UDim2.new(0.5, 0, 0.7, 0)
  93. textBox.Size = UDim2.new(0.7, 0, 0.1, 0)
  94. textBox.BackgroundColor3 = Color3.new(1, 1, 1)
  95. textBox.Text = ""
  96. textBox.PlaceholderText = "help"
  97. textBox.TextScaled = true
  98. textBox.Font = Enum.Font.SourceSans
  99. textBox.TextXAlignment = Enum.TextXAlignment.Left
  100. textBox.BorderColor3 = Color3.new(0, 0, 0)
  101.  
  102. local button = Instance.new("TextButton", frame)
  103. button.AnchorPoint = Vector2.new(0.5, 0)
  104. button.Position = UDim2.new(0.5, 0, 0.85, 0)
  105. button.Size = UDim2.new(0.7, 0, 0.1, 0)
  106. button.BackgroundTransparency = 1
  107. button.Text = "Execute"
  108. button.TextScaled = true
  109. button.BorderSizePixel = 1
  110. button.Font = Enum.Font.SourceSans
  111. button.BorderColor3 = Color3.new(0, 0, 0)
  112. Instance.new("UIStroke", button).ApplyStrokeMode = 1
  113.  
  114. local function playerList()
  115.     if gui:FindFirstChild("PlayerListFrame") then
  116.         return gui.PlayerListFrame:Destroy()
  117.     end
  118.  
  119.     local frame = Instance.new("ScrollingFrame", gui)
  120.     frame.Name = "PlayerListFrame"
  121.     frame.Size = UDim2.new(0.2, 0, 0.8, 0)
  122.     frame.Position = UDim2.new(0.5, 0, 0.5, 0)
  123.     frame.AnchorPoint = Vector2.new(0.5, 0.5)
  124.     frame.BackgroundColor3 = Color3.new(0.6, 0.8, 0.9)
  125.     Instance.new("UIStroke", frame)
  126.  
  127.     for i, v in pairs(game.Players:GetPlayers()) do
  128.         if v ~= player then
  129.             local button = Instance.new("TextButton", frame)
  130.             button.AnchorPoint = Vector2.new(0.5, 0)
  131.             button.Size = UDim2.new(0.8, 0, 0, 20)
  132.             button.Position = UDim2.new(0.5, 0, 0, ((i - 1) * 23) + 10)
  133.             button.BackgroundColor3 = Color3.new(1, 1, 1)
  134.             button.BorderColor3 = Color3.new(0, 0, 0)
  135.             button.TextColor3 = Color3.new(0, 0, 0)
  136.             button.Font = Enum.Font.SourceSans
  137.             button.Text = v.DisplayName
  138.             button.TextScaled = true
  139.             button.MouseButton1Click:Connect(function()
  140.                 textBox.Text = textBox.Text .. v.Name
  141.                 frame:Destroy()
  142.             end)
  143.         end
  144.     end
  145.  
  146.     frame.CanvasSize = UDim2.new(0, 0, #game.Players:GetPlayers() * 0.1, 0)
  147. end
  148.  
  149. local plrList = Instance.new("TextButton", frame)
  150. plrList.AnchorPoint = Vector2.new(0, 0.5)
  151. plrList.Size = UDim2.new(0.25, 0, 0.25, 0)
  152. plrList.Position = UDim2.new(-0.3, 0, 0.5, 0)
  153. plrList.BackgroundColor3 = Color3.new(1, 1, 1)
  154. plrList.TextColor3 = Color3.new(0, 0, 0)
  155. plrList.BorderColor3 = Color3.new(0, 0, 0)
  156. plrList.Font = Enum.Font.SourceSans
  157. plrList.Text = "Player List"
  158. plrList.TextScaled = true
  159. plrList.MouseButton1Click:Connect(playerList)
  160.  
  161. local commands = {
  162.     "help - Shows help",
  163.     "sit - Makes you sit",
  164.     "speed <num> - Sets your WalkSpeed with an argument",
  165.     "jump <num> - Sets your JumpPower with an argument",
  166.     "dance :num: - Makes you dance, the :num: argument is optional",
  167.     "reset - Resets your character",
  168.     "crazy - go through a panic attack",
  169.     "kill <plr> [SWORD] - Kills a player, but you need a tool",
  170.     "killall [SWORD] - Kills all playes, but you need a tool",
  171.     "sprint [PC] - Enables/Disables the ability to sprint",
  172.     "flyswim - A bunch of HappyMod menus have this feature, but I might aswell include it here",
  173.     "flyjump [PC] - FlySwim but you only need to press the space bar.",
  174.     "wank/masturbate - uwu",
  175.     "undance/uncrazy/unwank/unmasturbate - Stops every animation thats playing in the humanoid",
  176.     "to <plr> - Teleport to a player",
  177.     "tweento <plr> - Teleports you to a player but using TweenService",
  178.     "spin <num> - Makes you spin",
  179.     "unspin - Stops you from spinning",
  180.     "freeze - Anchors your HRP",
  181.     "thaw/unfreeze - Unanchors your HRP",
  182.     "orbit <plr> - Spin around the player",
  183.     "hipheight <num> - Sets your HipHeight with an argument",
  184.     "gravity <num> - Sets the Workspace's gravity, default is 196.2",
  185.     "fov <num> - Sets the Camera's field of view, default is 70",
  186.     "lockcamera - Changes the Camera's property to \"Scriptable\"",
  187.     "ascend - fly to heaven :D",
  188.     "noclip - Go through walls and other stuff?",
  189.     "chams - Basically ESP but without the status and that stuff",
  190.     "loopto <plr> - Teleports you to a player frequently",
  191.     "noanim/noanimations - Removes the animator from the humanoid",
  192.     "blockhats [CLIENT] - This might show no changes to other players though, but it deletes the mesh from your hats",
  193.     "btools [CLIENT] - The default building tools that were standard in old roblox, but now dont work because of FE",
  194.     "partspawner [CLIENT] - Gives you a tool that spawns a part",
  195.     "loopuse [TOOL] - Constantly activates the tool that you are holding",
  196.     "carpet <plr> - Be someones carpet",
  197.     "bang <plr> - hi",
  198.     "floathead/decapitate/headfloat - Makes your head float",
  199.     "WWchatbypass <text> - Potential bans, use this at your own risk. But basically you can bypass the chat filter",
  200.     "say <text> - Makes you say anything in chat",
  201.     "math <expression> - Evaluate math",
  202.     "bmp <0/3> - Lets you create a BMP, example: bmp 11111 10101 11111 10001 11111",
  203.     "punch [PC] - harmless but fun"
  204. }
  205.  
  206. button.MouseButton1Click:Connect(function()
  207.     local character = workspace:FindFirstChild(player.Name)
  208.     local h = character:FindFirstChild("Humanoid")
  209.     local msg = textBox.Text
  210.  
  211.     if msg == "help" then
  212.         if not help then
  213.             help = true
  214.             for i, v in pairs(commands) do
  215.                 if string.find(v, "WW") ~= nil then
  216.                     warn(string.sub(v, 3))
  217.                 else
  218.                     print(v)
  219.                 end
  220.             end
  221.         end
  222.  
  223.         print(("\n"):rep(20))
  224.         game.StarterGui:SetCore("DevConsoleVisible", true)
  225.     elseif msg == "sit" then
  226.         h.Sit = not h.Sit
  227.     elseif string.sub(msg, 1, #"speed ") == "speed " then
  228.         local num = tonumber(string.sub(msg, #"speed " + 1))
  229.         h.WalkSpeed = num
  230.     elseif string.sub(msg, 1, #"jump ") == "jump " then
  231.         local num = tonumber(string.sub(msg, #"jump " + 1))
  232.         h.JumpPower = num
  233.     elseif msg == "dance" or string.sub(msg, 1, #"dance ") == "dance " then
  234.         if checkIfR6(character) then
  235.             local num = tonumber(string.sub(msg, #"dance " + 1)) or 1
  236.            
  237.             for i, v in pairs(h:WaitForChild("Animator"):GetPlayingAnimationTracks()) do
  238.                 v:Stop()
  239.             end
  240.  
  241.             local tempAnim = Instance.new("Animation")
  242.             local dances = {27789359, 33796059, 30196114, 35654637, 93693205, 45504977, 91346946, 28488254}
  243.  
  244.             tempAnim.AnimationId = "rbxassetid://" .. dances[math.random(1, #dances)]
  245.             local anim = h:LoadAnimation(tempAnim)
  246.             anim.Looped = true
  247.             anim:Play()
  248.             anim:AdjustSpeed(num)
  249.         end
  250.     elseif msg == "undance" or msg == "uncrazy" or msg == "unwank" or msg == "unmasturbate" then
  251.         for i, v in pairs(h:WaitForChild("Animator"):GetPlayingAnimationTracks()) do
  252.             v:Stop()
  253.         end
  254.     elseif msg == "crazy" then
  255.         if checkIfR6(character) then
  256.             local tempAnim = Instance.new("Animation")
  257.             tempAnim.AnimationId = "rbxassetid://33796059"
  258.             local anim = h:LoadAnimation(tempAnim)
  259.             anim:Play()
  260.             anim:AdjustSpeed(30)
  261.         end
  262.     elseif msg == "wank" or msg == "masturbate" then
  263.         if checkIfR6(character) then
  264.             local tempAnim = Instance.new("Animation")
  265.             tempAnim.AnimationId = "rbxassetid://55816634"
  266.             local anim = h:LoadAnimation(tempAnim)
  267.             anim.Looped = true
  268.             anim:Play()
  269.             anim:AdjustSpeed(5)
  270.         end
  271.     elseif msg == "reset" then
  272.         character:BreakJoints()
  273.     elseif string.sub(msg, 1, #"kill ") == "kill " then
  274.         local target = workspace:FindFirstChild(string.sub(msg, #"kill " + 1))
  275.         local hrp = target:FindFirstChild("HumanoidRootPart")
  276.         local oldC = character.HumanoidRootPart.CFrame
  277.  
  278.         if checkIfR6(character) then
  279.             local tempAnim = Instance.new("Animation")
  280.             tempAnim.AnimationId = "rbxassetid://33796059"
  281.             local anim = h:LoadAnimation(tempAnim)
  282.             anim:Play()
  283.             anim:AdjustSpeed(30)
  284.  
  285.             while true do
  286.                 task.wait()
  287.                 character.HumanoidRootPart.CFrame = hrp.CFrame * CFrame.new(0, 0, 1)
  288.  
  289.                 if target:FindFirstChild("Humanoid").Health == 0 then
  290.                     break
  291.                 end
  292.             end
  293.  
  294.             character.HumanoidRootPart.CFrame = oldC
  295.             anim:Stop()
  296.         end
  297.     elseif msg == "killall" then
  298.         local oldC = character.HumanoidRootPart.CFrame
  299.  
  300.         if checkIfR6(character) then
  301.             local tempAnim = Instance.new("Animation")
  302.             tempAnim.AnimationId = "rbxassetid://33796059"
  303.             local anim = h:LoadAnimation(tempAnim)
  304.             anim:Play()
  305.             anim:AdjustSpeed(30)
  306.  
  307.  
  308.             for _, plr in pairs(game.Players:GetPlayers()) do
  309.                 task.wait()
  310.                 if plr ~= player then
  311.                     local target = workspace:FindFirstChild(plr.Name)
  312.                     local hrp = target:FindFirstChild("HumanoidRootPart")
  313.  
  314.                     if not hrp then
  315.                         return
  316.                     end
  317.  
  318.                     while target:FindFirstChild("Humanoid").Health ~= 0 do
  319.                         character.HumanoidRootPart.CFrame = hrp.CFrame * CFrame.new(0, 0, 1.25)
  320.                         task.wait()
  321.                     end
  322.                 end
  323.             end
  324.  
  325.             character.HumanoidRootPart.CFrame = oldC
  326.             anim:Stop()
  327.         end
  328.     elseif msg == "sprint" then
  329.         sprintEnabled = not sprintEnabled
  330.  
  331.         if sprintEnabled then
  332.             createMsg("Enabled", 1)
  333.         else
  334.             createMsg("Disabled", 1)
  335.         end
  336.  
  337.         game:GetService("UserInputService").InputBegan:Connect(function(input)
  338.             if input.KeyCode == Enum.KeyCode.LeftShift and sprintEnabled then
  339.                 character.Humanoid.WalkSpeed = 32
  340.             end
  341.         end)
  342.  
  343.         game:GetService("UserInputService").InputEnded:Connect(function(input)
  344.             if input.KeyCode == Enum.KeyCode.LeftShift and sprintEnabled then
  345.                 character.Humanoid.WalkSpeed = 16
  346.             end
  347.         end)
  348.     elseif msg == "flyswim" then
  349.         flySwimEnabled = not flySwimEnabled
  350.  
  351.         if flySwimEnabled then
  352.             createMsg("Enabled", 1)
  353.         else
  354.             createMsg("Disabled", 1)
  355.         end
  356.  
  357.         while h and flySwimEnabled do
  358.             h:ChangeState(Enum.HumanoidStateType.Swimming)
  359.             task.wait()
  360.         end
  361.     elseif msg == "flyjump" then
  362.         flyJumpEnabled = not flyJumpEnabled
  363.  
  364.         if flyJumpEnabled then
  365.             createMsg("Enabled", 1)
  366.         else
  367.             createMsg("Disabled", 1)
  368.         end
  369.  
  370.         game:GetService("UserInputService").InputBegan:Connect(function(input)
  371.             if input.KeyCode == Enum.KeyCode.Space and flyJumpEnabled then
  372.                 h:ChangeState(Enum.HumanoidStateType.Jumping)
  373.             end
  374.         end)
  375.     elseif string.sub(msg, 1, #"to ") == "to " then
  376.         local target = workspace:FindFirstChild(string.sub(msg, #"to " + 1))
  377.         local targetC = target:FindFirstChild("HumanoidRootPart").CFrame
  378.  
  379.         character.HumanoidRootPart.CFrame = targetC
  380.     elseif string.sub(msg, 1, #"tweento ") == "tweento " then
  381.         local target = workspace:FindFirstChild(string.sub(msg, #"tweento " + 1))
  382.         local targetC = target:FindFirstChild("HumanoidRootPart").CFrame
  383.  
  384.         game:GetService("TweenService"):Create(character.HumanoidRootPart, TweenInfo.new(0.5), {CFrame = targetC}):Play()
  385.     elseif string.sub(msg, 1, #"spin ") == "spin " then
  386.         local alrExists = character.HumanoidRootPart:FindFirstChildOfClass("BodyAngularVelocity")
  387.  
  388.         if alrExists then
  389.             alrExists:Destroy()
  390.         end
  391.  
  392.         local num = tonumber(string.sub(msg, #"spin " + 1))
  393.         local bav = Instance.new("BodyAngularVelocity", character.HumanoidRootPart)
  394.         bav.MaxTorque = Vector3.new(0, 1E8, 0)
  395.         bav.AngularVelocity = Vector3.new(0, num, 0)
  396.     elseif msg == "unspin" then
  397.         local alrExists = character.HumanoidRootPart:FindFirstChildOfClass("BodyAngularVelocity")
  398.  
  399.         if alrExists then
  400.             alrExists:Destroy()
  401.         end
  402.     elseif msg == "freeze" then
  403.         character.HumanoidRootPart.Anchored = true
  404.     elseif msg == "thaw" or msg == "unfreeze" then
  405.         character.HumanoidRootPart.Anchored = false
  406.     elseif string.sub(msg, 1, #"orbit ") == "orbit " then
  407.         local target = workspace:FindFirstChild(string.sub(msg, #"orbit " + 1))
  408.         local hrp = target:FindFirstChild("HumanoidRootPart")
  409.         local oldC = character.HumanoidRootPart.CFrame
  410.         orbitEnabled = not orbitEnabled
  411.  
  412.         if orbitEnabled then
  413.             createMsg("Enabled", 1)
  414.         else
  415.             createMsg("Disabled", 1)
  416.         end
  417.  
  418.         while hrp and orbitEnabled do
  419.             power += 0.1
  420.             character.HumanoidRootPart.CFrame = hrp.CFrame * CFrame.new(math.sin(power) * 5, 0, math.cos(power) * 5)
  421.             task.wait()
  422.         end
  423.  
  424.         character.HumanoidRootPart.CFrame = oldC
  425.     elseif string.sub(msg, 1, #"hipheight ") == "hipheight " then
  426.         local num = tonumber(string.sub(msg, #"hipheight " + 1)) or 0
  427.         h.HipHeight = num
  428.     elseif string.sub(msg, 1, #"gravity ") == "gravity " then
  429.         local num = tonumber(string.sub(msg, #"gravity " + 1)) or 196.2
  430.         workspace.Gravity = num
  431.     elseif string.sub(msg, 1, #"fov ") == "fov " then
  432.         local num = tonumber(string.sub(msg, #"fov " + 1)) or 70
  433.         workspace:WaitForChild("Camera").FieldOfView = num
  434.     elseif msg == "lockcamera" then
  435.         cameraLocked = not cameraLocked
  436.  
  437.         if cameraLocked then
  438.             workspace:WaitForChild("Camera").CameraType = Enum.CameraType.Scriptable
  439.             createMsg("Enabled", 1)
  440.         else
  441.             workspace:WaitForChild("Camera").CameraType = Enum.CameraType.Custom
  442.             createMsg("Disabled", 1)
  443.         end
  444.     elseif msg == "ascend" then
  445.         Instance.new("BodyVelocity", character.HumanoidRootPart).Velocity = Vector3.new(0, 20, 0)
  446.  
  447.         local sound = Instance.new("Sound", workspace)
  448.         sound.SoundId = "rbxassetid://18360825103"
  449.         sound.PlaybackSpeed = 2.95
  450.         sound.Volume = 1.8
  451.         sound.Looped = true
  452.         sound:Play()
  453.  
  454.         h.Died:Connect(function()
  455.             sound:Destroy()
  456.         end)
  457.     elseif msg == "noclip" then
  458.         noclipEnabled = not noclipEnabled
  459.  
  460.         if noclipEnabled then
  461.             createMsg("Enabled", 1)
  462.         else
  463.             createMsg("Disabled", 1)
  464.         end
  465.  
  466.         while character and noclipEnabled do
  467.             for i, v in pairs(character:GetChildren()) do
  468.                 if v:IsA("BasePart") then
  469.                     v.CanCollide = false
  470.                 end
  471.             end
  472.             task.wait()
  473.         end
  474.     elseif msg == "chams" then
  475.         chamsEnabled = not chamsEnabled
  476.  
  477.         if chamsEnabled then
  478.             createMsg("Enabled, green means has a tool, orange means doesn't have a tool", 3)
  479.         else
  480.             createMsg("Disabled", 1)
  481.             for i, v in pairs(game.Players:GetPlayers()) do
  482.                 if player ~= v then
  483.                     local highlight = v.Character:FindFirstChildOfClass("Highlight")
  484.  
  485.                     if highlight then
  486.                         highlight:Destroy()
  487.                     end
  488.                 end
  489.             end
  490.         end
  491.  
  492.         while chamsEnabled do
  493.             for i, v in pairs(game.Players:GetPlayers()) do
  494.                 if player ~= v then
  495.                     pcall(function()
  496.                         if not v.Character:FindFirstChildOfClass("Highlight") then
  497.                             Instance.new("Highlight", v.Character).Adornee = v.Character
  498.                         else
  499.                             local highlight = v.Character:FindFirstChildOfClass("Highlight")
  500.  
  501.                             if v.Character:FindFirstChildOfClass("Tool") or v.Backpack:FindFirstChildOfClass("Tool") then
  502.                                 highlight.FillColor = Color3.new(0, 0.5, 0)
  503.                             else
  504.                                 highlight.FillColor = Color3.new(1, 0.5, 0)
  505.                             end
  506.                         end
  507.                     end)
  508.                 end
  509.             end
  510.             task.wait()
  511.         end
  512.     elseif string.sub(msg, 1, #"loopto ") == "loopto " then
  513.         looptoEnabled = not looptoEnabled
  514.  
  515.         if looptoEnabled then
  516.             createMsg("Enabled", 1)
  517.         else
  518.             createMsg("Disabled", 1)
  519.         end
  520.  
  521.         local target = workspace:FindFirstChild(string.sub(msg, #"loopto " + 1))
  522.         local hrp = target:FindFirstChild("HumanoidRootPart")
  523.  
  524.         while hrp and looptoEnabled do
  525.             character.HumanoidRootPart.CFrame = hrp.CFrame
  526.             task.wait()
  527.         end
  528.     elseif msg == "noanim" or msg == "noanimation" then
  529.         character:WaitForChild("Animate"):Destroy()
  530.         h:WaitForChild("Animator"):Destroy()
  531.     elseif msg == "blockhats" then
  532.         for i, v in pairs(character:GetChildren()) do
  533.             if v:IsA("Accessory") then
  534.                 if v.Handle:FindFirstChildOfClass("Mesh") or v.Handle:FindFirstChildOfClass("SpecialMesh") then
  535.                     if v.Handle:FindFirstChildOfClass("SpecialMesh") then
  536.                         v.Handle:FindFirstChildOfClass("SpecialMesh"):Remove()
  537.                     end
  538.                 end
  539.             end
  540.         end
  541.     elseif msg == "btools" then
  542.         Instance.new("HopperBin", player.Backpack).BinType = Enum.BinType.Clone
  543.         Instance.new("HopperBin", player.Backpack).BinType = Enum.BinType.Hammer
  544.         Instance.new("HopperBin", player.Backpack).BinType = Enum.BinType.Grab
  545.     elseif msg == "partspawner" then
  546.         local tool = Instance.new("Tool", player.Backpack)
  547.         tool.Name = "Part Spawner"
  548.  
  549.         Instance.new("Part", tool).Name = "Handle"
  550.  
  551.         tool.Activated:Connect(function()
  552.             local handle = tool:WaitForChild("Handle")
  553.  
  554.             if handle then
  555.                 local cloned = handle:Clone()
  556.                 cloned.CanCollide = true
  557.                 cloned.CFrame = handle.CFrame * CFrame.new(0, 0, -3)
  558.                 cloned.Parent = workspace
  559.                 cloned.Name = "LastPartCloned"
  560.                 task.wait(0.05)
  561.                 cloned.Anchored = true
  562.                 game:GetService("Debris"):AddItem(cloned, 120)
  563.             end
  564.         end)
  565.     elseif msg == "deletefirstpart" then
  566.         local tool2 = Instance.new("Tool", player.Backpack)
  567.         tool2.Name = "First Part Remover"
  568.         tool2.RequiresHandle = false
  569.  
  570.         tool2.Activated:Connect(function()
  571.             local part = workspace:FindFirstChild("LastPartCloned")
  572.  
  573.             if part then
  574.                 part:Destroy()
  575.             end
  576.         end)
  577.     elseif msg == "loopuse" or msg == "loopactivate" then
  578.         loopuseEnabled = not loopuseEnabled
  579.  
  580.         if loopuseEnabled then
  581.             createMsg("Enabled", 1)
  582.         else
  583.             createMsg("Disabled", 1)
  584.         end
  585.  
  586.         while loopuseEnabled and character and h do
  587.             pcall(function()
  588.                 local toolHolding = character:FindFirstChildOfClass("Tool")
  589.  
  590.                 if toolHolding then
  591.                     toolHolding:Activate()
  592.                 end
  593.                 task.wait()
  594.             end)
  595.         end
  596.     elseif string.sub(msg, 1, #"carpet ") == "carpet " then
  597.         carpetEnabled = not carpetEnabled
  598.  
  599.         if carpetEnabled then
  600.             createMsg("Enabled", 1)
  601.         else
  602.             createMsg("Disabled", 1)
  603.         end
  604.  
  605.         local target = workspace:FindFirstChild(string.sub(msg, #"carpet " + 1))
  606.         local hrp = target:FindFirstChild("HumanoidRootPart")
  607.  
  608.         while carpetEnabled and hrp do
  609.             pcall(function()
  610.                 character.HumanoidRootPart.CFrame = (hrp.CFrame * CFrame.new(0, -1.75, 0)) * CFrame.Angles(math.rad(-90), 0, 0)
  611.                 task.wait()
  612.             end)
  613.         end
  614.     elseif string.sub(msg, 1, #"bang ") == "bang " then
  615.         local target = workspace:FindFirstChild(string.sub(msg, #"bang " + 1))
  616.         local hrp = target:FindFirstChild("HumanoidRootPart")
  617.         local oldC = character.HumanoidRootPart.CFrame
  618.  
  619.         bangEnabled = not bangEnabled
  620.  
  621.         if checkIfR6(character) then
  622.             if bangEnabled then
  623.                 createMsg("Enabled", 1)
  624.             else
  625.                 createMsg("Disabled", 1)
  626.             end
  627.  
  628.             local tempAnim = Instance.new("Animation")
  629.             tempAnim.AnimationId = "rbxassetid://148840371"
  630.  
  631.             local anim = h:LoadAnimation(tempAnim)
  632.             anim.Looped = true
  633.             anim:Play()
  634.             anim:AdjustSpeed(3)
  635.  
  636.             while target and hrp and bangEnabled do
  637.                 character.HumanoidRootPart.CFrame = hrp.CFrame * CFrame.new(0, 0, 1)
  638.                 task.wait()
  639.             end
  640.  
  641.             character.HumanoidRootPart.CFrame = oldC
  642.  
  643.             for i, v in pairs(h:WaitForChild("Animator"):GetPlayingAnimationTracks()) do
  644.                 v:Stop()
  645.             end
  646.         end
  647.     elseif msg == "floathead" or msg == "decapitate" or msg == "headfloat" then
  648.         local tempAnim = Instance.new("Animation")
  649.         tempAnim.AnimationId = "rbxassetid://121572214"
  650.  
  651.         h:LoadAnimation(tempAnim):Play()
  652.     elseif string.sub(msg, 1, #"chatbypass ") == "chatbypass " then
  653.         local text = string.sub(msg, #"chatbypass " + 1)
  654.         local r = ""
  655.  
  656.         for i = 1, #text do
  657.             if i % 2 == 0 then
  658.                 r = r .. "<" .. string.sub(text, i, i)
  659.             else
  660.                 r = r .. ">" .. string.sub(text, i, i)
  661.             end
  662.         end
  663.  
  664.         send(r)
  665.     elseif string.sub(msg, 1, #"say ") == "say " then
  666.         send(string.sub(msg, #"say " + 1))
  667.     elseif string.sub(msg, 1, #"math ") == "math " then
  668.         local ex = string.sub(msg, #"math " + 1)
  669.  
  670.         local function safeLoadstring(str)
  671.             local func, err = loadstring("return " .. str)
  672.             if not func then
  673.                 return nil, err
  674.             end
  675.  
  676.             setfenv(func, {math = math})
  677.  
  678.             local success, result = pcall(func)
  679.             if success then
  680.                 return result
  681.             else
  682.                 return nil, result
  683.             end
  684.         end
  685.  
  686.         local result, err = safeLoadstring(ex)
  687.  
  688.         if result then
  689.             send(ex .. " = " .. result)
  690.         else
  691.             send(err)
  692.         end
  693.     elseif string.sub(msg, 1, #"bmp ") == "bmp " then
  694.         local s = string.sub(msg, #"bmp " + 1)
  695.  
  696.         if not s:match("^[01234%s]+$") then
  697.             return send("Invalid format")
  698.         end
  699.  
  700.         s = string.gmatch(s, "[^%s]+")
  701.  
  702.         for t in s do
  703.             t = t:gsub("0", "⬛")
  704.             t = t:gsub("1", "⬜")
  705.             t = t:gsub("2", "📘")
  706.             t = t:gsub("3", "📙")
  707.             t = t:gsub("4", "📗")
  708.             send(t)
  709.             task.wait(0.05)
  710.         end
  711.     elseif msg == "punch" then
  712.         punchMode = not punchMode
  713.        
  714.         if punchMode then
  715.             createMsg("Enabled, press X to punch", 2)
  716.         else
  717.             createMsg("Disabled", 1)
  718.         end
  719.        
  720.         game:GetService("UserInputService").InputBegan:Connect(function(input)
  721.             if input.KeyCode == Enum.KeyCode.X and punchMode then
  722.                 for i, v in pairs(h:WaitForChild("Animator"):GetPlayingAnimationTracks()) do
  723.                     v:Stop()
  724.                 end
  725.                
  726.                 local tempAnim = Instance.new("Animation")
  727.                 tempAnim.AnimationId = "rbxassetid://243827693"
  728.                
  729.                 local anim = h:LoadAnimation(tempAnim)
  730.                 anim:Play()
  731.                 anim.Ended:Connect(function()
  732.                     anim:Destroy()
  733.                 end)
  734.             end
  735.         end)
  736.     else
  737.         createMsg("Invalid command, try using \"help\"", 3)
  738.     end
  739. end)
Add Comment
Please, Sign In to add comment