Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SadSality/85b627d0fd8fa9ee3941d771193ac056 to your computer and use it in GitHub Desktop.
Save SadSality/85b627d0fd8fa9ee3941d771193ac056 to your computer and use it in GitHub Desktop.
This is an ESP menu for the Roblox game "Murder Mystery 2" (Lua) Just copy and paste it into your injector. Works for free injectors.
-- Gui to Lua
-- Version: 3.lemes (my version) xD
-- Instances:
local ScreenGui = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local ESPon = Instance.new("TextButton")
local ESPOff = Instance.new("TextButton")
local HIDE = Instance.new("TextButton")
local OPEN = Instance.new("TextButton")
--Properties:
ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
ScreenGui.ResetOnSpawn = false
Frame.Parent = ScreenGui
Frame.BackgroundColor3 = Color3.new(0, 0, 0)
Frame.Position = UDim2.new(0.166156977, 0, 0, 0)
Frame.Size = UDim2.new(0, 163, 0, 227) --comando original (tamanho original): Frame.Size = UDim2.new(0, 163, 0, 454)
ESPon.Name = "ESPon"
ESPon.Parent = ScreenGui
ESPon.BackgroundColor3 = Color3.new(0, 1, 0)
ESPon.Position = UDim2.new(0.166156977, 0, -4.41335142e-05, 0)
ESPon.Size = UDim2.new(0, 163, 0, 50)
ESPon.Font = Enum.Font.SourceSans
ESPon.Text = "ESP ON (press E)"
ESPon.TextColor3 = Color3.new(0, 0, 0)
ESPon.TextScaled = true
ESPon.TextSize = 14
ESPon.TextWrapped = true
ESPOff.Name = "ESPOff"
ESPOff.Parent = ScreenGui
ESPOff.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
ESPOff.Position = UDim2.new(0.166156977, 0, 0.105935514, 0)
ESPOff.Size = UDim2.new(0, 163, 0, 50)
ESPOff.Font = Enum.Font.SourceSans
ESPOff.Text = "ESP OFF (press F)"
ESPOff.TextColor3 = Color3.new(0, 0, 0)
ESPOff.TextScaled = true
ESPOff.TextSize = 14
ESPOff.TextWrapped = true
HIDE.Name = "HIDE"
HIDE.Parent = ScreenGui
HIDE.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
HIDE.Position = UDim2.new(0.166156977, 0, 0.211999387, 0)
HIDE.Size = UDim2.new(0, 163, 0, 56)
HIDE.Font = Enum.Font.SourceSans
HIDE.Text = "HIDE"
HIDE.TextColor3 = Color3.new(0, 0, 0)
HIDE.TextScaled = true
HIDE.TextSize = 14
HIDE.TextWrapped = true
OPEN.Name = "OPEN"
OPEN.Parent = ScreenGui
OPEN.Active = false
OPEN.BackgroundColor3 = Color3.new(0.0117647, 1, 0.0117647)
OPEN.Position = UDim2.new(0, 0, 0.0418502204, 0)
OPEN.Size = UDim2.new(0, 116, 0, 19)
OPEN.Visible = false
OPEN.Font = Enum.Font.SourceSans
OPEN.Text = "OPEN"
OPEN.TextColor3 = Color3.new(0, 0, 0)
OPEN.TextScaled = true
OPEN.TextSize = 14
OPEN.TextWrapped = true
-- Scripts:
local function XVGFY_fake_script() -- ScreenGui.LocalScript
local script = Instance.new('LocalScript', ScreenGui)
-- FUNCTIONS
function murderer()
for i, v in pairs(game.Players:children()) do
if v.Backpack:findFirstChild("Knife") or v.Character:findFirstChild("Knife") then
return v
end
end
end
function sherrif()
for i, v in pairs(game.Players:children()) do
if v.Backpack:findFirstChild("Gun") or v.Character:findFirstChild("Gun") then
return v
end
end
end
-- ESP ON BUTTON (my new command is ESP ON KEY xD)
--script.Parent.ESPon.MouseButton1Down:connect(function()
game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
if inputObject.KeyCode == Enum.KeyCode.E then
for i, v in pairs(game.Players:children()) do
if v.Backpack:findFirstChild("Knife") or v.Character:findFirstChild("Knife") then
local esp = Instance.new("BoxHandleAdornment")
esp.Parent = v.Character.Head
esp.Size = Vector3.new(1,1,1)
esp.Color3 = Color3.new(255, 0, 0)
esp.AlwaysOnTop = true
esp.Adornee = v.Character.Head
esp.Visible = true
esp.ZIndex = 2
elseif v.Backpack:findFirstChild("Gun") or v.Character:findFirstChild("Gun") then
local esp = Instance.new("BoxHandleAdornment")
esp.Parent = v.Character.Head
esp.Size = Vector3.new(1,1,1)
esp.Color3 = Color3.new(0, 0, 255)
esp.AlwaysOnTop = true
esp.Adornee = v.Character.Head
esp.Visible = true
esp.ZIndex = 2
else
local esp = Instance.new("BoxHandleAdornment")
esp.Parent = v.Character.Head
esp.Size = Vector3.new(1,1,1)
esp.Color3 = Color3.new(0, 255, 0)
esp.AlwaysOnTop = true
esp.Adornee = v.Character.Head
esp.Visible = true
esp.ZIndex = 2
end
end
end
end)
--)
-- ESP OFF BUTTON
--script.Parent.ESPOff.MouseButton1Down:connect(function()
game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
if inputObject.KeyCode == Enum.KeyCode.F then
for i, v in pairs(game.Players:children()) do
for i, a in pairs(v.Character.Head:children()) do
if a.ClassName == "BoxHandleAdornment" then
a:remove()
end
end
end
end
end)
--end)
-- Hide Button
script.Parent.HIDE.MouseButton1Down:connect(function()
for i, v in pairs(script.Parent:children()) do
if v.Name ~= "OPEN" then
v.Visible = false
v.Active = false
else
v.Active = true
v.Visible = true
end
end
end)
-- Open Button
script.Parent.OPEN.MouseButton1Down:connect(function()
for i, v in pairs(script.Parent:children()) do
if v.Name ~= "OPEN" then
v.Visible = true
v.Active = true
else
v.Active = false
v.Visible = false
end
end
end)
end
coroutine.wrap(XVGFY_fake_script)()
@gupie408
Copy link

fake script

@FartDealer
Copy link

no, its not fake

@GoHamza
Copy link

GoHamza commented Jun 7, 2021

it uses the fake local script maker yall retards

@JsabJsak
Copy link

JsabJsak commented Jun 9, 2021

yea this actually is fake its sends u nowhere

@Coded-x
Copy link

Coded-x commented Jul 26, 2021

I'm sorry but. This ain't fake. This is local script CONVERTER. Meaning it can say "fakeLocalScript" but why do you think its fake? Because it says fake in the code? Well you are wrong.

  -- from Scripter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment