Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local TextChatService = game:GetService("TextChatService")
- local gui = Instance.new("ScreenGui", player.PlayerGui)
- gui.ResetOnSpawn = false
- gui.Name = "AdminExec"
- local function createMsg(text: string, sec: number)
- local msg = Instance.new("Message", workspace)
- msg.Text = text
- game:GetService("Debris"):AddItem(msg, sec)
- end
- local function send(str)
- str = tostring(str)
- if TextChatService.ChatVersion == Enum.ChatVersion.TextChatService then
- TextChatService.TextChannels.RBXGeneral:SendAsync(str)
- else
- game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(str, "All")
- end
- end
- local function checkIfR6(c)
- if c:FindFirstChild("Torso") then
- return true
- else
- createMsg("Switch your rig to R6 for this", 4)
- return false
- end
- end
- local help = false
- local sprintEnabled = false
- local flySwimEnabled = false
- local flyJumpEnabled = false
- local power = 0
- local orbitEnabled = false
- local cameraLocked = false
- local noclipEnabled = false
- local chamsEnabled = false
- local looptoEnabled = false
- local loopuseEnabled = false
- local carpetEnabled = false
- local bangEnabled = false
- local punchMode = false
- local frame = Instance.new("Frame", gui)
- frame.Size = UDim2.new(0.2, 0, 0.5, 0)
- frame.Position = UDim2.new(1, 0, 1, 0)
- frame.AnchorPoint = Vector2.new(1, 1)
- frame.BackgroundColor3 = Color3.new(0.2, 0.3, 0.3)
- frame.Active = true
- frame.Draggable = true
- Instance.new("UICorner", frame).CornerRadius = UDim.new(0.1, 0)
- Instance.new("UIStroke", frame)
- game:GetService("TweenService"):Create(frame, TweenInfo.new(
- 3,
- Enum.EasingStyle.Elastic,
- Enum.EasingDirection.Out,
- 0,
- false,
- 0.125
- ), {BackgroundColor3 = Color3.new(0.6, 0.8, 0.9)}):Play()
- local labelText = Instance.new("TextLabel", frame)
- labelText.AnchorPoint = Vector2.new(0.5, 0)
- labelText.Position = UDim2.new(0.5, 0, 0.075, 0)
- labelText.Size = UDim2.new(0.9, 0, 0.2, 0)
- labelText.RichText = true
- labelText.Text = "<b>admin zommands exec</b>"
- labelText.TextColor3 = Color3.new(0, 0, 0)
- labelText.BorderSizePixel = 0
- labelText.BackgroundTransparency = 1
- labelText.Font = Enum.Font.SourceSans
- labelText.TextScaled = true
- local labelText2 = Instance.new("TextLabel", frame)
- labelText2.AnchorPoint = Vector2.new(0.5, 0.5)
- labelText2.Position = UDim2.new(0.5, 0, 0.5, 0)
- labelText2.Size = UDim2.new(0.9, 0, 0.05, 0)
- labelText2.Text = "version 1.61"
- labelText2.TextColor3 = Color3.new(0, 0, 0)
- labelText2.BorderSizePixel = 0
- labelText2.BackgroundTransparency = 1
- labelText2.Font = Enum.Font.SourceSans
- labelText2.TextScaled = true
- local textBox = Instance.new("TextBox", frame)
- textBox.AnchorPoint = Vector2.new(0.5, 0)
- textBox.ClearTextOnFocus = false
- textBox.Position = UDim2.new(0.5, 0, 0.7, 0)
- textBox.Size = UDim2.new(0.7, 0, 0.1, 0)
- textBox.BackgroundColor3 = Color3.new(1, 1, 1)
- textBox.Text = ""
- textBox.PlaceholderText = "help"
- textBox.TextScaled = true
- textBox.Font = Enum.Font.SourceSans
- textBox.TextXAlignment = Enum.TextXAlignment.Left
- textBox.BorderColor3 = Color3.new(0, 0, 0)
- local button = Instance.new("TextButton", frame)
- button.AnchorPoint = Vector2.new(0.5, 0)
- button.Position = UDim2.new(0.5, 0, 0.85, 0)
- button.Size = UDim2.new(0.7, 0, 0.1, 0)
- button.BackgroundTransparency = 1
- button.Text = "Execute"
- button.TextScaled = true
- button.BorderSizePixel = 1
- button.Font = Enum.Font.SourceSans
- button.BorderColor3 = Color3.new(0, 0, 0)
- Instance.new("UIStroke", button).ApplyStrokeMode = 1
- local function playerList()
- if gui:FindFirstChild("PlayerListFrame") then
- return gui.PlayerListFrame:Destroy()
- end
- local frame = Instance.new("ScrollingFrame", gui)
- frame.Name = "PlayerListFrame"
- frame.Size = UDim2.new(0.2, 0, 0.8, 0)
- frame.Position = UDim2.new(0.5, 0, 0.5, 0)
- frame.AnchorPoint = Vector2.new(0.5, 0.5)
- frame.BackgroundColor3 = Color3.new(0.6, 0.8, 0.9)
- Instance.new("UIStroke", frame)
- for i, v in pairs(game.Players:GetPlayers()) do
- if v ~= player then
- local button = Instance.new("TextButton", frame)
- button.AnchorPoint = Vector2.new(0.5, 0)
- button.Size = UDim2.new(0.8, 0, 0, 20)
- button.Position = UDim2.new(0.5, 0, 0, ((i - 1) * 23) + 10)
- button.BackgroundColor3 = Color3.new(1, 1, 1)
- button.BorderColor3 = Color3.new(0, 0, 0)
- button.TextColor3 = Color3.new(0, 0, 0)
- button.Font = Enum.Font.SourceSans
- button.Text = v.DisplayName
- button.TextScaled = true
- button.MouseButton1Click:Connect(function()
- textBox.Text = textBox.Text .. v.Name
- frame:Destroy()
- end)
- end
- end
- frame.CanvasSize = UDim2.new(0, 0, #game.Players:GetPlayers() * 0.1, 0)
- end
- local plrList = Instance.new("TextButton", frame)
- plrList.AnchorPoint = Vector2.new(0, 0.5)
- plrList.Size = UDim2.new(0.25, 0, 0.25, 0)
- plrList.Position = UDim2.new(-0.3, 0, 0.5, 0)
- plrList.BackgroundColor3 = Color3.new(1, 1, 1)
- plrList.TextColor3 = Color3.new(0, 0, 0)
- plrList.BorderColor3 = Color3.new(0, 0, 0)
- plrList.Font = Enum.Font.SourceSans
- plrList.Text = "Player List"
- plrList.TextScaled = true
- plrList.MouseButton1Click:Connect(playerList)
- local commands = {
- "help - Shows help",
- "sit - Makes you sit",
- "speed <num> - Sets your WalkSpeed with an argument",
- "jump <num> - Sets your JumpPower with an argument",
- "dance :num: - Makes you dance, the :num: argument is optional",
- "reset - Resets your character",
- "crazy - go through a panic attack",
- "kill <plr> [SWORD] - Kills a player, but you need a tool",
- "killall [SWORD] - Kills all playes, but you need a tool",
- "sprint [PC] - Enables/Disables the ability to sprint",
- "flyswim - A bunch of HappyMod menus have this feature, but I might aswell include it here",
- "flyjump [PC] - FlySwim but you only need to press the space bar.",
- "wank/masturbate - uwu",
- "undance/uncrazy/unwank/unmasturbate - Stops every animation thats playing in the humanoid",
- "to <plr> - Teleport to a player",
- "tweento <plr> - Teleports you to a player but using TweenService",
- "spin <num> - Makes you spin",
- "unspin - Stops you from spinning",
- "freeze - Anchors your HRP",
- "thaw/unfreeze - Unanchors your HRP",
- "orbit <plr> - Spin around the player",
- "hipheight <num> - Sets your HipHeight with an argument",
- "gravity <num> - Sets the Workspace's gravity, default is 196.2",
- "fov <num> - Sets the Camera's field of view, default is 70",
- "lockcamera - Changes the Camera's property to \"Scriptable\"",
- "ascend - fly to heaven :D",
- "noclip - Go through walls and other stuff?",
- "chams - Basically ESP but without the status and that stuff",
- "loopto <plr> - Teleports you to a player frequently",
- "noanim/noanimations - Removes the animator from the humanoid",
- "blockhats [CLIENT] - This might show no changes to other players though, but it deletes the mesh from your hats",
- "btools [CLIENT] - The default building tools that were standard in old roblox, but now dont work because of FE",
- "partspawner [CLIENT] - Gives you a tool that spawns a part",
- "loopuse [TOOL] - Constantly activates the tool that you are holding",
- "carpet <plr> - Be someones carpet",
- "bang <plr> - hi",
- "floathead/decapitate/headfloat - Makes your head float",
- "WWchatbypass <text> - Potential bans, use this at your own risk. But basically you can bypass the chat filter",
- "say <text> - Makes you say anything in chat",
- "math <expression> - Evaluate math",
- "bmp <0/3> - Lets you create a BMP, example: bmp 11111 10101 11111 10001 11111",
- "punch [PC] - harmless but fun"
- }
- button.MouseButton1Click:Connect(function()
- local character = workspace:FindFirstChild(player.Name)
- local h = character:FindFirstChild("Humanoid")
- local msg = textBox.Text
- if msg == "help" then
- if not help then
- help = true
- for i, v in pairs(commands) do
- if string.find(v, "WW") ~= nil then
- warn(string.sub(v, 3))
- else
- print(v)
- end
- end
- end
- print(("\n"):rep(20))
- game.StarterGui:SetCore("DevConsoleVisible", true)
- elseif msg == "sit" then
- h.Sit = not h.Sit
- elseif string.sub(msg, 1, #"speed ") == "speed " then
- local num = tonumber(string.sub(msg, #"speed " + 1))
- h.WalkSpeed = num
- elseif string.sub(msg, 1, #"jump ") == "jump " then
- local num = tonumber(string.sub(msg, #"jump " + 1))
- h.JumpPower = num
- elseif msg == "dance" or string.sub(msg, 1, #"dance ") == "dance " then
- if checkIfR6(character) then
- local num = tonumber(string.sub(msg, #"dance " + 1)) or 1
- for i, v in pairs(h:WaitForChild("Animator"):GetPlayingAnimationTracks()) do
- v:Stop()
- end
- local tempAnim = Instance.new("Animation")
- local dances = {27789359, 33796059, 30196114, 35654637, 93693205, 45504977, 91346946, 28488254}
- tempAnim.AnimationId = "rbxassetid://" .. dances[math.random(1, #dances)]
- local anim = h:LoadAnimation(tempAnim)
- anim.Looped = true
- anim:Play()
- anim:AdjustSpeed(num)
- end
- elseif msg == "undance" or msg == "uncrazy" or msg == "unwank" or msg == "unmasturbate" then
- for i, v in pairs(h:WaitForChild("Animator"):GetPlayingAnimationTracks()) do
- v:Stop()
- end
- elseif msg == "crazy" then
- if checkIfR6(character) then
- local tempAnim = Instance.new("Animation")
- tempAnim.AnimationId = "rbxassetid://33796059"
- local anim = h:LoadAnimation(tempAnim)
- anim:Play()
- anim:AdjustSpeed(30)
- end
- elseif msg == "wank" or msg == "masturbate" then
- if checkIfR6(character) then
- local tempAnim = Instance.new("Animation")
- tempAnim.AnimationId = "rbxassetid://55816634"
- local anim = h:LoadAnimation(tempAnim)
- anim.Looped = true
- anim:Play()
- anim:AdjustSpeed(5)
- end
- elseif msg == "reset" then
- character:BreakJoints()
- elseif string.sub(msg, 1, #"kill ") == "kill " then
- local target = workspace:FindFirstChild(string.sub(msg, #"kill " + 1))
- local hrp = target:FindFirstChild("HumanoidRootPart")
- local oldC = character.HumanoidRootPart.CFrame
- if checkIfR6(character) then
- local tempAnim = Instance.new("Animation")
- tempAnim.AnimationId = "rbxassetid://33796059"
- local anim = h:LoadAnimation(tempAnim)
- anim:Play()
- anim:AdjustSpeed(30)
- while true do
- task.wait()
- character.HumanoidRootPart.CFrame = hrp.CFrame * CFrame.new(0, 0, 1)
- if target:FindFirstChild("Humanoid").Health == 0 then
- break
- end
- end
- character.HumanoidRootPart.CFrame = oldC
- anim:Stop()
- end
- elseif msg == "killall" then
- local oldC = character.HumanoidRootPart.CFrame
- if checkIfR6(character) then
- local tempAnim = Instance.new("Animation")
- tempAnim.AnimationId = "rbxassetid://33796059"
- local anim = h:LoadAnimation(tempAnim)
- anim:Play()
- anim:AdjustSpeed(30)
- for _, plr in pairs(game.Players:GetPlayers()) do
- task.wait()
- if plr ~= player then
- local target = workspace:FindFirstChild(plr.Name)
- local hrp = target:FindFirstChild("HumanoidRootPart")
- if not hrp then
- return
- end
- while target:FindFirstChild("Humanoid").Health ~= 0 do
- character.HumanoidRootPart.CFrame = hrp.CFrame * CFrame.new(0, 0, 1.25)
- task.wait()
- end
- end
- end
- character.HumanoidRootPart.CFrame = oldC
- anim:Stop()
- end
- elseif msg == "sprint" then
- sprintEnabled = not sprintEnabled
- if sprintEnabled then
- createMsg("Enabled", 1)
- else
- createMsg("Disabled", 1)
- end
- game:GetService("UserInputService").InputBegan:Connect(function(input)
- if input.KeyCode == Enum.KeyCode.LeftShift and sprintEnabled then
- character.Humanoid.WalkSpeed = 32
- end
- end)
- game:GetService("UserInputService").InputEnded:Connect(function(input)
- if input.KeyCode == Enum.KeyCode.LeftShift and sprintEnabled then
- character.Humanoid.WalkSpeed = 16
- end
- end)
- elseif msg == "flyswim" then
- flySwimEnabled = not flySwimEnabled
- if flySwimEnabled then
- createMsg("Enabled", 1)
- else
- createMsg("Disabled", 1)
- end
- while h and flySwimEnabled do
- h:ChangeState(Enum.HumanoidStateType.Swimming)
- task.wait()
- end
- elseif msg == "flyjump" then
- flyJumpEnabled = not flyJumpEnabled
- if flyJumpEnabled then
- createMsg("Enabled", 1)
- else
- createMsg("Disabled", 1)
- end
- game:GetService("UserInputService").InputBegan:Connect(function(input)
- if input.KeyCode == Enum.KeyCode.Space and flyJumpEnabled then
- h:ChangeState(Enum.HumanoidStateType.Jumping)
- end
- end)
- elseif string.sub(msg, 1, #"to ") == "to " then
- local target = workspace:FindFirstChild(string.sub(msg, #"to " + 1))
- local targetC = target:FindFirstChild("HumanoidRootPart").CFrame
- character.HumanoidRootPart.CFrame = targetC
- elseif string.sub(msg, 1, #"tweento ") == "tweento " then
- local target = workspace:FindFirstChild(string.sub(msg, #"tweento " + 1))
- local targetC = target:FindFirstChild("HumanoidRootPart").CFrame
- game:GetService("TweenService"):Create(character.HumanoidRootPart, TweenInfo.new(0.5), {CFrame = targetC}):Play()
- elseif string.sub(msg, 1, #"spin ") == "spin " then
- local alrExists = character.HumanoidRootPart:FindFirstChildOfClass("BodyAngularVelocity")
- if alrExists then
- alrExists:Destroy()
- end
- local num = tonumber(string.sub(msg, #"spin " + 1))
- local bav = Instance.new("BodyAngularVelocity", character.HumanoidRootPart)
- bav.MaxTorque = Vector3.new(0, 1E8, 0)
- bav.AngularVelocity = Vector3.new(0, num, 0)
- elseif msg == "unspin" then
- local alrExists = character.HumanoidRootPart:FindFirstChildOfClass("BodyAngularVelocity")
- if alrExists then
- alrExists:Destroy()
- end
- elseif msg == "freeze" then
- character.HumanoidRootPart.Anchored = true
- elseif msg == "thaw" or msg == "unfreeze" then
- character.HumanoidRootPart.Anchored = false
- elseif string.sub(msg, 1, #"orbit ") == "orbit " then
- local target = workspace:FindFirstChild(string.sub(msg, #"orbit " + 1))
- local hrp = target:FindFirstChild("HumanoidRootPart")
- local oldC = character.HumanoidRootPart.CFrame
- orbitEnabled = not orbitEnabled
- if orbitEnabled then
- createMsg("Enabled", 1)
- else
- createMsg("Disabled", 1)
- end
- while hrp and orbitEnabled do
- power += 0.1
- character.HumanoidRootPart.CFrame = hrp.CFrame * CFrame.new(math.sin(power) * 5, 0, math.cos(power) * 5)
- task.wait()
- end
- character.HumanoidRootPart.CFrame = oldC
- elseif string.sub(msg, 1, #"hipheight ") == "hipheight " then
- local num = tonumber(string.sub(msg, #"hipheight " + 1)) or 0
- h.HipHeight = num
- elseif string.sub(msg, 1, #"gravity ") == "gravity " then
- local num = tonumber(string.sub(msg, #"gravity " + 1)) or 196.2
- workspace.Gravity = num
- elseif string.sub(msg, 1, #"fov ") == "fov " then
- local num = tonumber(string.sub(msg, #"fov " + 1)) or 70
- workspace:WaitForChild("Camera").FieldOfView = num
- elseif msg == "lockcamera" then
- cameraLocked = not cameraLocked
- if cameraLocked then
- workspace:WaitForChild("Camera").CameraType = Enum.CameraType.Scriptable
- createMsg("Enabled", 1)
- else
- workspace:WaitForChild("Camera").CameraType = Enum.CameraType.Custom
- createMsg("Disabled", 1)
- end
- elseif msg == "ascend" then
- Instance.new("BodyVelocity", character.HumanoidRootPart).Velocity = Vector3.new(0, 20, 0)
- local sound = Instance.new("Sound", workspace)
- sound.SoundId = "rbxassetid://18360825103"
- sound.PlaybackSpeed = 2.95
- sound.Volume = 1.8
- sound.Looped = true
- sound:Play()
- h.Died:Connect(function()
- sound:Destroy()
- end)
- elseif msg == "noclip" then
- noclipEnabled = not noclipEnabled
- if noclipEnabled then
- createMsg("Enabled", 1)
- else
- createMsg("Disabled", 1)
- end
- while character and noclipEnabled do
- for i, v in pairs(character:GetChildren()) do
- if v:IsA("BasePart") then
- v.CanCollide = false
- end
- end
- task.wait()
- end
- elseif msg == "chams" then
- chamsEnabled = not chamsEnabled
- if chamsEnabled then
- createMsg("Enabled, green means has a tool, orange means doesn't have a tool", 3)
- else
- createMsg("Disabled", 1)
- for i, v in pairs(game.Players:GetPlayers()) do
- if player ~= v then
- local highlight = v.Character:FindFirstChildOfClass("Highlight")
- if highlight then
- highlight:Destroy()
- end
- end
- end
- end
- while chamsEnabled do
- for i, v in pairs(game.Players:GetPlayers()) do
- if player ~= v then
- pcall(function()
- if not v.Character:FindFirstChildOfClass("Highlight") then
- Instance.new("Highlight", v.Character).Adornee = v.Character
- else
- local highlight = v.Character:FindFirstChildOfClass("Highlight")
- if v.Character:FindFirstChildOfClass("Tool") or v.Backpack:FindFirstChildOfClass("Tool") then
- highlight.FillColor = Color3.new(0, 0.5, 0)
- else
- highlight.FillColor = Color3.new(1, 0.5, 0)
- end
- end
- end)
- end
- end
- task.wait()
- end
- elseif string.sub(msg, 1, #"loopto ") == "loopto " then
- looptoEnabled = not looptoEnabled
- if looptoEnabled then
- createMsg("Enabled", 1)
- else
- createMsg("Disabled", 1)
- end
- local target = workspace:FindFirstChild(string.sub(msg, #"loopto " + 1))
- local hrp = target:FindFirstChild("HumanoidRootPart")
- while hrp and looptoEnabled do
- character.HumanoidRootPart.CFrame = hrp.CFrame
- task.wait()
- end
- elseif msg == "noanim" or msg == "noanimation" then
- character:WaitForChild("Animate"):Destroy()
- h:WaitForChild("Animator"):Destroy()
- elseif msg == "blockhats" then
- for i, v in pairs(character:GetChildren()) do
- if v:IsA("Accessory") then
- if v.Handle:FindFirstChildOfClass("Mesh") or v.Handle:FindFirstChildOfClass("SpecialMesh") then
- if v.Handle:FindFirstChildOfClass("SpecialMesh") then
- v.Handle:FindFirstChildOfClass("SpecialMesh"):Remove()
- end
- end
- end
- end
- elseif msg == "btools" then
- Instance.new("HopperBin", player.Backpack).BinType = Enum.BinType.Clone
- Instance.new("HopperBin", player.Backpack).BinType = Enum.BinType.Hammer
- Instance.new("HopperBin", player.Backpack).BinType = Enum.BinType.Grab
- elseif msg == "partspawner" then
- local tool = Instance.new("Tool", player.Backpack)
- tool.Name = "Part Spawner"
- Instance.new("Part", tool).Name = "Handle"
- tool.Activated:Connect(function()
- local handle = tool:WaitForChild("Handle")
- if handle then
- local cloned = handle:Clone()
- cloned.CanCollide = true
- cloned.CFrame = handle.CFrame * CFrame.new(0, 0, -3)
- cloned.Parent = workspace
- cloned.Name = "LastPartCloned"
- task.wait(0.05)
- cloned.Anchored = true
- game:GetService("Debris"):AddItem(cloned, 120)
- end
- end)
- elseif msg == "deletefirstpart" then
- local tool2 = Instance.new("Tool", player.Backpack)
- tool2.Name = "First Part Remover"
- tool2.RequiresHandle = false
- tool2.Activated:Connect(function()
- local part = workspace:FindFirstChild("LastPartCloned")
- if part then
- part:Destroy()
- end
- end)
- elseif msg == "loopuse" or msg == "loopactivate" then
- loopuseEnabled = not loopuseEnabled
- if loopuseEnabled then
- createMsg("Enabled", 1)
- else
- createMsg("Disabled", 1)
- end
- while loopuseEnabled and character and h do
- pcall(function()
- local toolHolding = character:FindFirstChildOfClass("Tool")
- if toolHolding then
- toolHolding:Activate()
- end
- task.wait()
- end)
- end
- elseif string.sub(msg, 1, #"carpet ") == "carpet " then
- carpetEnabled = not carpetEnabled
- if carpetEnabled then
- createMsg("Enabled", 1)
- else
- createMsg("Disabled", 1)
- end
- local target = workspace:FindFirstChild(string.sub(msg, #"carpet " + 1))
- local hrp = target:FindFirstChild("HumanoidRootPart")
- while carpetEnabled and hrp do
- pcall(function()
- character.HumanoidRootPart.CFrame = (hrp.CFrame * CFrame.new(0, -1.75, 0)) * CFrame.Angles(math.rad(-90), 0, 0)
- task.wait()
- end)
- end
- elseif string.sub(msg, 1, #"bang ") == "bang " then
- local target = workspace:FindFirstChild(string.sub(msg, #"bang " + 1))
- local hrp = target:FindFirstChild("HumanoidRootPart")
- local oldC = character.HumanoidRootPart.CFrame
- bangEnabled = not bangEnabled
- if checkIfR6(character) then
- if bangEnabled then
- createMsg("Enabled", 1)
- else
- createMsg("Disabled", 1)
- end
- local tempAnim = Instance.new("Animation")
- tempAnim.AnimationId = "rbxassetid://148840371"
- local anim = h:LoadAnimation(tempAnim)
- anim.Looped = true
- anim:Play()
- anim:AdjustSpeed(3)
- while target and hrp and bangEnabled do
- character.HumanoidRootPart.CFrame = hrp.CFrame * CFrame.new(0, 0, 1)
- task.wait()
- end
- character.HumanoidRootPart.CFrame = oldC
- for i, v in pairs(h:WaitForChild("Animator"):GetPlayingAnimationTracks()) do
- v:Stop()
- end
- end
- elseif msg == "floathead" or msg == "decapitate" or msg == "headfloat" then
- local tempAnim = Instance.new("Animation")
- tempAnim.AnimationId = "rbxassetid://121572214"
- h:LoadAnimation(tempAnim):Play()
- elseif string.sub(msg, 1, #"chatbypass ") == "chatbypass " then
- local text = string.sub(msg, #"chatbypass " + 1)
- local r = ""
- for i = 1, #text do
- if i % 2 == 0 then
- r = r .. "<" .. string.sub(text, i, i)
- else
- r = r .. ">" .. string.sub(text, i, i)
- end
- end
- send(r)
- elseif string.sub(msg, 1, #"say ") == "say " then
- send(string.sub(msg, #"say " + 1))
- elseif string.sub(msg, 1, #"math ") == "math " then
- local ex = string.sub(msg, #"math " + 1)
- local function safeLoadstring(str)
- local func, err = loadstring("return " .. str)
- if not func then
- return nil, err
- end
- setfenv(func, {math = math})
- local success, result = pcall(func)
- if success then
- return result
- else
- return nil, result
- end
- end
- local result, err = safeLoadstring(ex)
- if result then
- send(ex .. " = " .. result)
- else
- send(err)
- end
- elseif string.sub(msg, 1, #"bmp ") == "bmp " then
- local s = string.sub(msg, #"bmp " + 1)
- if not s:match("^[01234%s]+$") then
- return send("Invalid format")
- end
- s = string.gmatch(s, "[^%s]+")
- for t in s do
- t = t:gsub("0", "⬛")
- t = t:gsub("1", "⬜")
- t = t:gsub("2", "📘")
- t = t:gsub("3", "📙")
- t = t:gsub("4", "📗")
- send(t)
- task.wait(0.05)
- end
- elseif msg == "punch" then
- punchMode = not punchMode
- if punchMode then
- createMsg("Enabled, press X to punch", 2)
- else
- createMsg("Disabled", 1)
- end
- game:GetService("UserInputService").InputBegan:Connect(function(input)
- if input.KeyCode == Enum.KeyCode.X and punchMode then
- for i, v in pairs(h:WaitForChild("Animator"):GetPlayingAnimationTracks()) do
- v:Stop()
- end
- local tempAnim = Instance.new("Animation")
- tempAnim.AnimationId = "rbxassetid://243827693"
- local anim = h:LoadAnimation(tempAnim)
- anim:Play()
- anim.Ended:Connect(function()
- anim:Destroy()
- end)
- end
- end)
- else
- createMsg("Invalid command, try using \"help\"", 3)
- end
- end)
Add Comment
Please, Sign In to add comment