Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local MainGUI = Instance.new("ScreenGui")
- local Gui = Instance.new("Frame")
- local TopBar1 = Instance.new("Frame")
- local HockMM2Title = Instance.new("TextLabel")
- local TopBar2 = Instance.new("Frame")
- local PromotionStuff = Instance.new("Frame")
- local Credits = Instance.new("TextLabel")
- local JoinDiscordSever = Instance.new("TextLabel")
- local TpCoins = Instance.new("TextButton")
- local SpamSheriffGun = Instance.new("TextButton")
- local TpToSpawn = Instance.new("TextButton")
- local BringGun = Instance.new("TextButton")
- local UnlockWorkspace = Instance.new("TextButton")
- local GodMode = Instance.new("TextButton")
- local Btools = Instance.new("TextButton")
- local Esp = Instance.new("TextButton")
- local MoreScriptsAddingSoon = Instance.new("TextLabel")
- local DeleteButton = Instance.new("TextButton")
- --Properties:
- MainGUI.Name = "MainGUI"
- MainGUI.Parent = game.CoreGui
- Gui.Name = "Gui"
- Gui.Parent = MainGUI
- Gui.Active = true
- Gui.BackgroundColor3 = Color3.new(0.517647, 0.517647, 0.517647)
- Gui.Position = UDim2.new(0.0618131869, 0, 0.0517928302, 0)
- Gui.Size = UDim2.new(0, 537, 0, 439)
- Gui.Visible = true
- Gui.Draggable = true
- TopBar1.Name = "TopBar1"
- TopBar1.Parent = Gui
- TopBar1.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- TopBar1.Size = UDim2.new(0, 537, 0, 50)
- HockMM2Title.Name = "HockMM2 Title"
- HockMM2Title.Parent = TopBar1
- HockMM2Title.BackgroundColor3 = Color3.new(1, 1, 1)
- HockMM2Title.BackgroundTransparency = 1
- HockMM2Title.Size = UDim2.new(0, 537, 0, 50)
- HockMM2Title.Font = Enum.Font.SourceSansBold
- HockMM2Title.Text = "HockMM2"
- HockMM2Title.TextColor3 = Color3.new(0, 0, 0)
- HockMM2Title.TextScaled = true
- HockMM2Title.TextSize = 14
- HockMM2Title.TextWrapped = true
- TopBar2.Name = "TopBar2"
- TopBar2.Parent = Gui
- TopBar2.BackgroundColor3 = Color3.new(0.713726, 0.47451, 0)
- TopBar2.Position = UDim2.new(0, 0, 0.111960724, 0)
- TopBar2.Size = UDim2.new(0, 537, 0, 10)
- PromotionStuff.Name = "PromotionStuff"
- PromotionStuff.Parent = Gui
- PromotionStuff.BackgroundColor3 = Color3.new(1, 0.666667, 0)
- PromotionStuff.Position = UDim2.new(0, 0, 0.88576138, 0)
- PromotionStuff.Size = UDim2.new(0, 537, 0, 50)
- Credits.Name = "Credits"
- Credits.Parent = PromotionStuff
- Credits.BackgroundColor3 = Color3.new(1, 1, 1)
- Credits.BackgroundTransparency = 1
- Credits.Position = UDim2.new(0, 0, -0.0056280517, 0)
- Credits.Size = UDim2.new(0, 537, 0, 28)
- Credits.Font = Enum.Font.SourceSansBold
- Credits.Text = "Gui Made by [YT] HOCK HENG LIM#7160"
- Credits.TextColor3 = Color3.new(0, 0, 0)
- Credits.TextScaled = true
- Credits.TextSize = 14
- Credits.TextWrapped = true
- JoinDiscordSever.Name = "JoinDiscordSever"
- JoinDiscordSever.Parent = PromotionStuff
- JoinDiscordSever.BackgroundColor3 = Color3.new(1, 1, 1)
- JoinDiscordSever.BackgroundTransparency = 1
- JoinDiscordSever.Position = UDim2.new(0, 0, 0.434371948, 0)
- JoinDiscordSever.Size = UDim2.new(0, 537, 0, 28)
- JoinDiscordSever.Font = Enum.Font.SourceSansBold
- JoinDiscordSever.Text = "Join discord sever for more and exculsive scripts/guis! https://discord.gg/rcnujV4"
- JoinDiscordSever.TextColor3 = Color3.new(0, 0, 0)
- JoinDiscordSever.TextScaled = true
- JoinDiscordSever.TextSize = 14
- JoinDiscordSever.TextWrapped = true
- TpCoins.Name = "TpCoins"
- TpCoins.Parent = Gui
- TpCoins.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- TpCoins.Position = UDim2.new(0.0148975784, 0, 0.182713121, 0)
- TpCoins.Size = UDim2.new(0, 156, 0, 50)
- TpCoins.Font = Enum.Font.GothamBold
- TpCoins.Text = "Tp Coins"
- TpCoins.TextColor3 = Color3.new(1, 1, 1)
- TpCoins.TextScaled = true
- TpCoins.TextSize = 14
- TpCoins.TextWrapped = true
- TpCoins.MouseButton1Down:connect(function()
- for i = 10, 1, -1 do
- for i,v in pairs(game.Workspace:GetChildren()) do
- local s = v:FindFirstChild("CoinContainer")
- local e = game.Players.LocalPlayer.Character:FindFirstChild("LowerTorso")
- if e and s then
- for i,c in pairs(s:GetChildren()) do
- c.CFrame = game.Players.LocalPlayer.Character.LowerTorso.CFrame
- end
- end
- end
- game:GetService("RunService").RenderStepped:Wait(0.7)
- end
- end)
- SpamSheriffGun.Name = "SpamSheriffGun"
- SpamSheriffGun.Parent = Gui
- SpamSheriffGun.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- SpamSheriffGun.Position = UDim2.new(0.353817523, 0, 0.182713121, 0)
- SpamSheriffGun.Size = UDim2.new(0, 156, 0, 50)
- SpamSheriffGun.Font = Enum.Font.GothamBold
- SpamSheriffGun.Text = "Spam Shoot Sheriff's Gun (Sheriff MustHave Gun Equipped)"
- SpamSheriffGun.TextColor3 = Color3.new(1, 1, 1)
- SpamSheriffGun.TextScaled = true
- SpamSheriffGun.TextSize = 14
- SpamSheriffGun.TextWrapped = true
- SpamSheriffGun.MouseButton1Down:connect(function()
- local Test = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Use = Instance.new("TextButton")
- local Msg = Instance.new("TextLabel")
- Test.Name = "Test"
- Test.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Test.ResetOnSpawn = false
- Frame.Parent = Test
- Frame.AnchorPoint = Vector2.new(0.5, 1)
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BackgroundTransparency = 1
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.5, 0, 0.930000007, 0)
- Frame.Size = UDim2.new(0.150000006, 0, 0.115000002, 0)
- Use.Name = "Use"
- Use.Parent = Frame
- Use.AnchorPoint = Vector2.new(0.5, 1)
- Use.BackgroundColor3 = Color3.new(1, 1, 1)
- Use.BorderSizePixel = 0
- Use.Position = UDim2.new(0.5, 0, 0.930000007, 0)
- Use.Size = UDim2.new(1, 0, 0.550000012, 0)
- Use.Style = Enum.ButtonStyle.RobloxRoundButton
- Use.Font = Enum.Font.SourceSansSemibold
- Use.Text = "Use"
- Use.TextColor3 = Color3.new(0, 0, 0)
- Use.TextScaled = true
- Use.TextSize = 14
- Use.TextWrapped = true
- Msg.Name = "Msg"
- Msg.Parent = Frame
- Msg.BackgroundColor3 = Color3.new(1, 1, 1)
- Msg.BackgroundTransparency = 1
- Msg.BorderSizePixel = 0
- Msg.Size = UDim2.new(1, 0, 0.400000006, 0)
- Msg.Font = Enum.Font.SourceSansItalic
- Msg.Text = ""
- Msg.TextColor3 = Color3.new(0, 0, 0)
- Msg.TextScaled = true
- Msg.TextSize = 14
- Msg.TextWrapped = true
- local function Status(txt, urgent)
- if Msg.Text ~= txt then
- if urgent then
- Msg.TextColor3 = Color3.new(1,0,0)
- else
- Msg.TextColor3 = Color3.new(1,1,1)
- end
- for i = 1,#txt do
- Msg.Text = string.sub(txt, 1,i)
- wait()
- end
- end
- end
- local function sheriff()
- for _,v in pairs(game.Players:GetChildren()) do
- if v.Character then
- if v.Backpack:FindFirstChild("Gun") then
- return v.Backpack:FindFirstChild("Gun"), v
- elseif v.Backpack:FindFirstChild("Revolver") then
- return v.Backpack:FindFirstChild("Revolver"),v
- elseif v.Character:FindFirstChild("Gun") then
- return v.Character:FindFirstChild("Gun"), v
- elseif v.Character:FindFirstChild("Revolver") then
- return v.Character:FindFirstChild("Revolver"), v
- end
- end
- end
- return nil
- end
- local use = false
- Use.MouseButton1Click:Connect(function()
- if use == false then
- use = true
- Use.Text = "On"
- local _, plr1 = sheriff()
- Status("Sheriff is "..plr1.Name)
- repeat
- local tool, plr = sheriff()
- if tool ~= nil then
- local c = (plr.Character.HumanoidRootPart.CFrame * CFrame.new(0.7,1,-4))
- tool.KnifeServer.SlashStart:FireServer(0,c.p)
- else
- Status("Tool is nil", true)
- end
- wait()
- until use == false
- else
- use = false
- Use.Text = "Off"
- end
- end)
- end)
- TpToSpawn.Name = "TpToSpawn"
- TpToSpawn.Parent = Gui
- TpToSpawn.BackgroundColor3 = Color3.new(0.0588235, 0.0588235,0.0588235)
- TpToSpawn.Position = UDim2.new(0.694599628, 0, 0.182713121, 0)
- TpToSpawn.Size = UDim2.new(0, 156, 0, 50)
- TpToSpawn.Font = Enum.Font.GothamBold
- TpToSpawn.Text = "Goto Spawn"
- TpToSpawn.TextColor3 = Color3.new(1, 1, 1)
- TpToSpawn.TextScaled = true
- TpToSpawn.TextSize = 14
- TpToSpawn.TextWrapped = true
- TpToSpawn.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-109.56, 140, -11.75) + Vector3.new(1, 0, 0)
- end)
- BringGun.Name = "BringGun"
- BringGun.Parent = Gui
- BringGun.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- BringGun.Position = UDim2.new(0.0148975784, 0, 0.358111739, 0)
- BringGun.Size = UDim2.new(0, 156, 0, 50)
- BringGun.Font = Enum.Font.GothamBold
- BringGun.Text = "Bring Gun"
- BringGun.TextColor3 = Color3.new(1, 1, 1)
- BringGun.TextScaled = true
- BringGun.TextSize = 14
- BringGun.TextWrapped = true
- BringGun.MouseButton1Down:connect(function()
- game.Workspace.GunDrop.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(2,0,0)
- end)
- UnlockWorkspace.Name = "UnlockWorkspace"
- UnlockWorkspace.Parent = Gui
- UnlockWorkspace.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- UnlockWorkspace.Position = UDim2.new(0.353817523, 0, 0.358111739, 0)
- UnlockWorkspace.Size = UDim2.new(0, 156, 0, 50)
- UnlockWorkspace.Font = Enum.Font.GothamBold
- UnlockWorkspace.Text = "Unlock Workspace"
- UnlockWorkspace.TextColor3 = Color3.new(1, 1, 1)
- UnlockWorkspace.TextScaled = true
- UnlockWorkspace.TextSize = 14
- UnlockWorkspace.TextWrapped = true
- UnlockWorkspace.MouseButton1Down:connect(function()
- function unlock(obj)
- for i,v in pairs(obj:GetChildren()) do
- if v:IsA("BasePart") then
- v.Locked = false
- end
- unlock(v)
- end
- end
- unlock(workspace)
- end)
- GodMode.Name = "GodMode"
- GodMode.Parent = Gui
- GodMode.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- GodMode.Position = UDim2.new(0.694599628, 0, 0.358111739, 0)
- GodMode.Size = UDim2.new(0, 156, 0, 50)
- GodMode.Font = Enum.Font.GothamBold
- GodMode.Text = "God Mode"
- GodMode.TextColor3 = Color3.new(1, 1, 1)
- GodMode.TextScaled = true
- GodMode.TextSize = 14
- GodMode.TextWrapped = true
- GodMode.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Humanoid:Remove()
- Instance.new('Humanoid', game.Players.LocalPlayer.Character)
- end)
- Btools.Name = "Btools"
- Btools.Parent = Gui
- Btools.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- Btools.Position = UDim2.new(0.0148975784, 0, 0.517565012, 0)
- Btools.Size = UDim2.new(0, 156, 0, 50)
- Btools.Font = Enum.Font.GothamBold
- Btools.Text = "Btools"
- Btools.TextColor3 = Color3.new(1, 1, 1)
- Btools.TextScaled = true
- Btools.TextSize = 14
- Btools.TextWrapped = true
- Btools.MouseButton1Down:connect(function()
- Player = game.Players.LocalPlayer
- function Give(x)
- H = Instance.new("HopperBin", Player.Backpack)
- H.BinType = x
- end
- for i = 2, 4 do
- Give(i)
- end
- end)
- Esp.Name = "Esp"
- Esp.Parent = Gui
- Esp.BackgroundColor3 = Color3.new(0.0588235, 0.0588235, 0.0588235)
- Esp.Position = UDim2.new(0.353817523, 0, 0.517565012, 0)
- Esp.Size = UDim2.new(0, 156, 0, 50)
- Esp.Font = Enum.Font.GothamBold
- Esp.Text = "Enable Esp"
- Esp.TextColor3 = Color3.new(1, 1, 1)
- Esp.TextScaled = true
- Esp.TextSize = 14
- Esp.TextWrapped = true
- Esp.MouseButton1Click:Connect(function()
- espenabled = false
- Esp.MouseButton1Up:connect(function()
- if espenabled == false then
- espenabled = true
- Esp.Text = ("Disable ESP")
- --Made by !!!RelentlessRaptor#5709 on discord
- local faces = {"Back","Bottom","Front","Left","Right","Top"}
- for _, v in pairs(game.Players:GetChildren()) do if v.Name ~=game.Players.LocalPlayer.Name then
- local bgui = Instance.new("BillboardGui",v.Character.Head)
- bgui.Name = ("EGUI")
- bgui.AlwaysOnTop = true
- bgui.ExtentsOffset = Vector3.new(0,3,0)
- bgui.Size = UDim2.new(0,200,0,50)
- local nam = Instance.new("TextLabel",bgui)
- nam.Text = v.Name
- nam.BackgroundTransparency = 1
- nam.TextSize = 30
- nam.Font = ("Arial")
- nam.TextColor3 = Color3.new(0,0,0)
- nam.Size = UDim2.new(0,200,0,50)
- if v.Backpack:FindFirstChild("Gun") or v.Character:FindFirstChild("Gun") then
- for _, p in pairs(v.Character:GetChildren()) do
- if p.Name == ("Head") or p.Name == ("Torso") or p.Name == ("Right Arm") or p.Name == ("Right Leg") or p.Name ==("Left Arm") or p.Name == ("Left Leg") then
- for _, f in pairs(faces) do
- local m = Instance.new("SurfaceGui",p)
- m.Name = ("EGUI")
- m.Face = f
- m.AlwaysOnTop = true
- local mf = Instance.new("Frame",m)
- mf.Size = UDim2.new(1,0,1,0)
- mf.BorderSizePixel = 0
- mf.BackgroundTransparency = 0.5
- mf.BackgroundColor3 = Color3.new(0,0,255)
- end
- end
- end
- elseif v.Backpack:FindFirstChild("Knife") or v.Character:FindFirstChild("Knife") then
- for _, p in pairs(v.Character:GetChildren()) do
- if p.Name == ("Head") or p.Name == ("Torso") or p.Name == ("Right Arm") or p.Name == ("Right Leg") or p.Name ==("Left Arm") or p.Name == ("Left Leg") then
- for _, f in pairs(faces) do
- local m = Instance.new("SurfaceGui",p)
- m.Name = ("EGUI")
- m.Face = f
- m.AlwaysOnTop = true
- local mf = Instance.new("Frame",m)
- mf.Size = UDim2.new(1,0,1,0)
- mf.BorderSizePixel = 0
- mf.BackgroundTransparency = 0.5
- mf.BackgroundColor3 = Color3.new(255,0,0)
- end
- end
- end
- else
- for _, p in pairs(v.Character:GetChildren()) do
- if p.Name == ("Head") or p.Name == ("Torso") or p.Name == ("Right Arm") or p.Name == ("Right Leg") or p.Name ==("Left Arm") or p.Name == ("Left Leg") then
- for _, f in pairs(faces) do
- local m = Instance.new("SurfaceGui",p)
- m.Name = ("EGUI")
- m.Face = f
- m.AlwaysOnTop = true
- local mf = Instance.new("Frame",m)
- mf.Size = UDim2.new(1,0,1,0)
- mf.BorderSizePixel = 0
- mf.BackgroundTransparency = 0.5
- mf.BackgroundColor3 = Color3.new(0,255,0)
- local q = ("traeglaelnltlejsjs.rkakpythocr")
- end
- end
- end
- end
- end end
- else
- espenabled = false
- Esp.Text = ("Enable ESP")
- for _, v in pairs(game.Workspace:GetDescendants()) do
- if v.Name == ("EGUI") then
- v:Remove()
- end
- end
- end
- end)
- end)
- MoreScriptsAddingSoon.Name = "MoreScriptsAddingSoon"
- MoreScriptsAddingSoon.Parent = Gui
- MoreScriptsAddingSoon.BackgroundColor3 = Color3.new(1, 1, 1)
- MoreScriptsAddingSoon.BackgroundTransparency = 1
- MoreScriptsAddingSoon.Position = UDim2.new(0.312849164, 0, 0.683371305, 0)
- MoreScriptsAddingSoon.Size = UDim2.new(0, 200, 0, 50)
- MoreScriptsAddingSoon.Font = Enum.Font.GothamSemibold
- MoreScriptsAddingSoon.Text = "More scripts adding soon!"
- MoreScriptsAddingSoon.TextColor3 = Color3.new(1, 1, 1)
- MoreScriptsAddingSoon.TextScaled = true
- MoreScriptsAddingSoon.TextSize = 14
- MoreScriptsAddingSoon.TextWrapped = true
- DeleteButton.Name = "DeleteButton"
- DeleteButton.Parent = Gui
- DeleteButton.BackgroundColor3 = Color3.new(1, 1, 1)
- DeleteButton.BackgroundTransparency = 1
- DeleteButton.Position = UDim2.new(0.878957093, 0, 0, 0)
- DeleteButton.Size = UDim2.new(0, 65, 0, 50)
- DeleteButton.Font = Enum.Font.SourceSans
- DeleteButton.Text = "X"
- DeleteButton.TextColor3 = Color3.new(0, 0, 0)
- DeleteButton.TextScaled = true
- DeleteButton.TextSize = 14
- DeleteButton.TextWrapped = true
- DeleteButton.MouseButton1Down:connect(function()
- Gui:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement