Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3
- -- Instances:
- local MM2TP = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local FrameHolder = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- local Murder = Instance.new("TextButton")
- local Sheriff = Instance.new("TextButton")
- local Gun = Instance.new("TextButton")
- local Lobby = Instance.new("TextButton")
- local Coin = Instance.new("TextButton")
- local PlayerTP = Instance.new("TextButton")
- local ClickTP = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- local PlayerTPGUI = Instance.new("Frame")
- local Input = Instance.new("TextBox")
- 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
- --Properties:
- MM2TP.Name = "MM2TP"
- MM2TP.Parent = game.Players:WaitForChild()
- MM2TP.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = MM2TP
- MainFrame.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
- MainFrame.BackgroundTransparency = 0.5
- MainFrame.Position = UDim2.new(0.645792544, 0, 0, 0)
- MainFrame.Size = UDim2.new(0.200000003, 0, -0.5, 0)
- MainFrame.Position = UDim2.new(0.646, 0,-0.5, 0)
- wait(0.1)
- MainFrame:TweenPosition(UDim2.new(.646, 0,0.5, 0))
- MainFrame.Visible = true
- FrameHolder.Name = "FrameHolder"
- FrameHolder.Parent = MainFrame
- FrameHolder.BackgroundColor3 = Color3.new(1, 1, 1)
- FrameHolder.BackgroundTransparency = 1
- FrameHolder.BorderSizePixel = 0
- FrameHolder.Size = UDim2.new(0.400000006, 0, 1, 0)
- Title.Name = "Title"
- Title.Parent = FrameHolder
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.BackgroundTransparency = 1
- Title.BorderSizePixel = 0
- Title.Position = UDim2.new(-1.81926465, 0, 0.398034394, 0)
- Title.Rotation = 270
- Title.Size = UDim2.new(4.50815392, 0, 0.181818202, 0)
- Title.Font = Enum.Font.SourceSansBold
- Title.Text = "MM2 Teleports"
- Title.TextColor3 = Color3.new(1, 1, 1)
- Title.TextScaled = true
- Title.TextSize = 14
- Title.TextWrapped = true
- ScrollingFrame.Parent = MainFrame
- ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- ScrollingFrame.BackgroundTransparency = 1
- ScrollingFrame.BorderSizePixel = 0
- ScrollingFrame.Position = UDim2.new(0.404435545, 0, 0, 0)
- ScrollingFrame.Size = UDim2.new(0.600000024, 0, 1, 0)
- ScrollingFrame.ScrollBarThickness = 1
- ScrollingFrame.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
- Murder.Name = "Murder"
- Murder.Parent = ScrollingFrame
- Murder.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
- Murder.BackgroundTransparency = 0.5
- Murder.Position = UDim2.new(0.130463168, 0, 0.116707608, 0)
- Murder.Size = UDim2.new(0, 136, 0.100000001, 0)
- Murder.Font = Enum.Font.SourceSansBold
- Murder.Text = "TP Murder"
- Murder.TextColor3 = Color3.new(1, 1, 1)
- Murder.TextScaled = true
- Murder.TextSize = 14
- Murder.TextWrapped = true
- Murder.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = murderer().Character.HumanoidRootPart.CFrame
- end)
- Sheriff.Name = "Sheriff"
- Sheriff.Parent = ScrollingFrame
- Sheriff.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
- Sheriff.BackgroundTransparency = 0.5
- Sheriff.Position = UDim2.new(0.130463168, 0, 0.244471729, 0)
- Sheriff.Size = UDim2.new(0, 136, 0.100000001, 0)
- Sheriff.Font = Enum.Font.SourceSansBold
- Sheriff.Text = "TP Sheriff"
- Sheriff.TextColor3 = Color3.new(1, 1, 1)
- Sheriff.TextScaled = true
- Sheriff.TextSize = 14
- Sheriff.TextWrapped = true
- Sheriff.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = sherrif().Character.HumanoidRootPart.CFrame
- end)
- Gun.Name = "Gun"
- Gun.Parent = ScrollingFrame
- Gun.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
- Gun.BackgroundTransparency = 0.5
- Gun.Position = UDim2.new(0.130463168, 0, 0.371007383, 0)
- Gun.Size = UDim2.new(0, 136, 0.100000001, 0)
- Gun.Font = Enum.Font.SourceSansBold
- Gun.Text = "Bring gun"
- Gun.TextColor3 = Color3.new(1, 1, 1)
- Gun.TextScaled = true
- Gun.TextSize = 14
- Gun.TextWrapped = true
- Gun.MouseButton1Down:connect(function()
- loadstring(game:HttpGet("https://pastebin.com/raw/ECkwnX1P", true))()
- end)
- Lobby.Name = "Lobby"
- Lobby.Parent = ScrollingFrame
- Lobby.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
- Lobby.BackgroundTransparency = 0.5
- Lobby.Position = UDim2.new(0.130463168, 0, 0.495086014, 0)
- Lobby.Size = UDim2.new(0, 136, 0.100000001, 0)
- Lobby.Font = Enum.Font.SourceSansBold
- Lobby.Text = "TP Lobby"
- Lobby.TextColor3 = Color3.new(1, 1, 1)
- Lobby.TextScaled = true
- Lobby.TextSize = 14
- Lobby.TextWrapped = true
- Lobby.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Lobby.Radio.CFrame
- end)
- Coin.Name = "Coin"
- Coin.Parent = ScrollingFrame
- Coin.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
- Coin.BackgroundTransparency = 0.5
- Coin.Position = UDim2.new(0.130463168, 0, 0.621621609, 0)
- Coin.Size = UDim2.new(0, 136, 0.100000001, 0)
- Coin.Font = Enum.Font.SourceSansBold
- Coin.Text = "Coin Grab [C]"
- Coin.TextColor3 = Color3.new(1, 1, 1)
- Coin.TextScaled = true
- Coin.TextSize = 14
- Coin.TextWrapped = true
- Coin.MouseButton1Down:connect(function()
- Mouse = game.Players.LocalPlayer:GetMouse()
- Mouse.KeyDown:connect(function(key)
- if key == "c" then
- local children = game.Workspace:GetChildren()
- for _, child in pairs(children) do
- for _, child in pairs(child:GetChildren()) do
- table.insert(children, child)
- end
- if child:IsA("BasePart") and child.Name == "Coin" then
- child.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- end
- end
- end
- end)
- end)
- PlayerTP.Name = "PlayerTP"
- PlayerTP.Parent = ScrollingFrame
- PlayerTP.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
- PlayerTP.BackgroundTransparency = 0.5
- PlayerTP.Position = UDim2.new(0.130463168, 0, 0.750614166, 0)
- PlayerTP.Size = UDim2.new(0, 136, 0.100000001, 0)
- PlayerTP.Font = Enum.Font.SourceSansBold
- PlayerTP.Text = "Player TP GUI [R]"
- PlayerTP.TextColor3 = Color3.new(1, 1, 1)
- PlayerTP.TextScaled = true
- PlayerTP.TextSize = 14
- PlayerTP.TextWrapped = true
- PlayerTP.MouseButton1Down:connect(function()
- PlayerTP.Position = UDim2(0.646, 0,-0.03, 0)
- wait(.1)
- PlayerTP:TweenPosition(UDim2(0.646, 0,0.5, 0))
- end)
- PlayerTPGUI.Name = "PlayerTPGUI"
- PlayerTPGUI.Parent = game.StarterGui["MM2TP"]
- PlayerTPGUI.BackgroundColor3 = Color3.new(255, 255, 255)
- PlayerTPGUI.BackgroundTransparency = 0.5
- PlayerTPGUI.BorderSizePixel = 1
- PlayerTPGUI.Position = UDim2.new(0.645792544, 0, 0.5, 0)
- PlayerTPGUI.Size = UDim2.new(0.200000003, 0, 0.0299999993, 0)
- game:GetService("UserInputService").InputBegan:connect(function(key)
- if key.KeyCode == Enum.KeyCode.KeypadEnter then
- local ooooooof = Input.Text
- local plr1 = game.Players.LocalPlayer.Character
- local plr2 = game.Workspace:FindFirstChild(ooooooof)
- plr1.HumanoidRootPart.CFrame = plr2.HumanoidRootPart.CFrame * CFrame.new(0,2,0)
- end
- end)
- PlayerTPGUI.MouseButton1Down:connect(function()
- PlayerTPGUI.Visible = true
- end)
- Input.Name = "Input"
- Input.Parent = PlayerTPGUI
- Input.BackgroundColor3 = Color3.new(1, 1, 1)
- Input.BackgroundTransparency = 1
- Input.BorderSizePixel = 1
- Input.Position = UDim2.new(-1.99070953e-07, 0, 0, 0)
- Input.Size = UDim2.new(1, 0, 1, 0)
- Input.Font = Enum.Font.SourceSansBold
- Input.PlaceholderColor3 = Color3.new(1, 1, 1)
- Input.Text = "Enter Player Name and press R"
- Input.TextColor3 = Color3.new(1, 1, 1)
- Input.TextScaled = true
- Input.TextSize = 14
- Input.TextWrapped = true
- Input.Visible = false
- ClickTP.Name = "ClickTP"
- ClickTP.Parent = ScrollingFrame
- ClickTP.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
- ClickTP.BackgroundTransparency = 0.5
- ClickTP.Position = UDim2.new(0.130463168, 0, 0.873464346, 0)
- ClickTP.Size = UDim2.new(0, 136, 0.100000001, 0)
- ClickTP.Font = Enum.Font.SourceSansBold
- ClickTP.Text = "Click TP"
- ClickTP.TextColor3 = Color3.new(1, 1, 1)
- ClickTP.TextScaled = true
- ClickTP.TextSize = 14
- ClickTP.TextWrapped = true
- ClickTP.MouseButton1Down:connect(function()
- local Imput = game:GetService("UserInputService")
- local Plr = game.Players.LocalPlayer
- local Mouse = Plr:GetMouse()
- function To(position)
- local Chr = Plr.Character
- if Chr ~= nil then
- Chr:MoveTo(position)
- end
- end
- Imput.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 and Imput:IsKeyDown(Enum.KeyCode.LeftControl) then
- To(Mouse.Hit.p)
- end
- end)
- end)
- Close.Name = "Close"
- Close.Parent = ScrollingFrame
- Close.BackgroundColor3 = Color3.new(0, 0, 0)
- Close.BackgroundTransparency = 0.69999998807907
- Close.BorderSizePixel = 0
- Close.Position = UDim2.new(0.190097824, 0, 0.0289999992, 0)
- Close.Size = UDim2.new(0.619700074, 0, 0.0732186809, 0)
- Close.Font = Enum.Font.SourceSansBold
- Close.Text = "Close"
- Close.TextColor3 = Color3.new(1, 1, 1)
- Close.TextScaled = true
- Close.TextSize = 14
- Close.TextWrapped = true
- Close.MouseButton1Down:connect(function()
- MM2TP:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement