Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- repeat wait() until plr
- local windowname = "murder mystery exploit"
- -- here are the exploit functions. you need to make them
- -- default exploits below
- function normalspeed()
- plr.Character.Humanoid.WalkSpeed = 16
- end
- function godspeed()
- plr.Character.Humanoid.WalkSpeed = 50
- end
- -- make ur own exploits below
- function godmode()
- plr.Character:FindFirstChild("Humanoid"):Destroy()
- Instance.new("Humanoid", plr.Character)
- end
- function revealrole()
- for _, player in pairs(game.Players:GetChildren()) do
- local gun = player.Backpack:FindFirstChild("Gun") or player.Character:FindFirstChild("Gun")
- local knife = player.Backpack:FindFirstChild("Knife") or player.Character:FindFirstChild("Knife")
- if gun then
- game:GetService("StarterGui"):SetCore("SendNotification", {Title = "The Sheriff is", Text = player.Name, Duration = 10, Button1 = "Dismiss"})
- --gun:Clone().Parent = plr.Backpack
- elseif knife then
- game:GetService("StarterGui"):SetCore("SendNotification", {Title = "The Murderer is", Text = player.Name, Duration = 10, Button1 = "Dismiss"})
- --knife:Clone().Parent = plr.Backpack
- end
- end
- end
- function tpcoins()
- for a, b in pairs(workspace:GetChildren()) do
- local coins = b:FindFirstChild("CoinContainer")
- if coins then
- for _, coin in pairs(coins:GetChildren()) do
- coin.CFrame = plr.Character.Head.CFrame
- end
- end
- end
- end
- function tpspawn()
- plr.Character.HumanoidRootPart.CFrame = CFrame.new(-109.56, 140, -11.75) + Vector3.new(1, 0, 0)
- end
- function tpgun()
- game.Workspace:FindFirstChild("GunDrop").CFrame = plr.Character.HumanoidRootPart.CFrame
- end
- function tpall()
- for _, player in pairs(game.Players:GetChildren()) do
- if player.Name ~= plr.Name then
- local magnitude = (player.Character.Head.Position - plr.Character.Head.Position).magnitude
- if magnitude > 150 then -- distance away from ur body
- --player.Character.HumanoidRootPart.CFrame = plr.Character.HumanoidRootPart.CFrame + Vector3.new(0, 2, 0)
- player.Character.Torso.Position = plr.Character.HumanoidRootPart.Position + Vector3.new(0, 0, -2)
- end
- end
- end
- end
- function resizemurd()
- local size = 100
- for _, player in pairs(game.Players:GetChildren()) do
- if player.Backpack:FindFirstChild("Knife") or player.Character:FindFirstChild("Knife") then
- local torso = player.Character:FindFirstChild("Torso")
- torso.Size = Vector3.new(size, size, size)
- end
- end
- end
- -- put ur exploit name here and link to function
- local exploits = {
- ["1"] = {["text"] = "16 walkspeed", ["func"] = normalspeed},
- ["2"] = {["text"] = "50 walkspeed", ["func"] = godspeed},
- ["3"] = {["text"] = "godmode", ["func"] = godmode},
- ["4"] = {["text"] = "reveal roles", ["func"] = revealrole},
- ["5"] = {["text"] = "teleport all coins", ["func"] = tpcoins},
- ["6"] = {["text"] = "teleport to spawn", ["func"] = tpspawn},
- ["7"] = {["text"] = "teleport gun", ["func"] = tpgun},
- ["8"] = {["text"] = "teleport all to you", ["func"] = tpall},
- ["9"] = {["text"] = "resize murd", ["func"] = resizemurd},
- }
- -- dont touch below
- -- amount of items in the exploits table
- local amount = 0
- for a, b in pairs(exploits) do
- amount = amount + 1
- end
- -- Frames
- local screengui = Instance.new("ScreenGui")
- screengui.Parent = game.CoreGui
- local mainframe = Instance.new("Frame")
- mainframe.Parent = screengui
- mainframe.Size = UDim2.new(0, 200, 0, 50 * (amount + 1))
- mainframe.Active = true
- mainframe.Draggable = true
- local closebutton = Instance.new("TextButton")
- closebutton.Parent = mainframe
- closebutton.Size = UDim2.new(0, 200, 0, 15)
- closebutton.Position = UDim2.new(0, 0, 0, 20)
- closebutton.BackgroundColor3 = Color3.new(255/255, 0/255, 0/255)
- closebutton.TextXAlignment = "Left"
- closebutton.Text = "Exit Exploit"
- closebutton.MouseButton1Click:connect(function()
- screengui:Destroy() -- destroy the entire window
- end)
- local windowtext = Instance.new("TextLabel")
- windowtext.Parent = mainframe
- windowtext.Size = UDim2.new(0, 200, 0, 15)
- windowtext.Position = UDim2.new(0, 0, 0, 35)
- windowtext.BackgroundColor3 = Color3.new(255/255, 0/255, 255/255)
- windowtext.TextXAlignment = "Left"
- windowtext.Text = windowname
- for a = 1, amount do
- local currentexploit = exploits[tostring(a)]
- local button = Instance.new("TextButton")
- button.Parent = mainframe
- button.Size = UDim2.new(0, 200, 0, 50)
- button.Position = UDim2.new(0, 0, 0, 50 * a)
- button.BackgroundColor3 = Color3.new(0/255, 255/255, 0/255)
- button.TextXAlignment = "Left"
- button.Text = tostring(a) .. " - " .. currentexploit["text"]
- button.MouseButton1Click:connect(currentexploit["func"])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement