Advertisement
HAIMA

Teleports MM2

Jan 26th, 2020
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.23 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3
  3.  
  4. -- Instances:
  5.  
  6. local MM2TP = Instance.new("ScreenGui")
  7. local MainFrame = Instance.new("Frame")
  8. local FrameHolder = Instance.new("Frame")
  9. local Title = Instance.new("TextLabel")
  10. local ScrollingFrame = Instance.new("ScrollingFrame")
  11. local Murder = Instance.new("TextButton")
  12. local Sheriff = Instance.new("TextButton")
  13. local Gun = Instance.new("TextButton")
  14. local Lobby = Instance.new("TextButton")
  15. local Coin = Instance.new("TextButton")
  16. local PlayerTP = Instance.new("TextButton")
  17. local ClickTP = Instance.new("TextButton")
  18. local Close = Instance.new("TextButton")
  19. local PlayerTPGUI = Instance.new("Frame")
  20. local Input = Instance.new("TextBox")
  21.  
  22. function murderer()
  23. for i, v in pairs(game.Players:children()) do
  24. if v.Backpack:findFirstChild("Knife") or v.Character:findFirstChild("Knife") then
  25. return v
  26. end
  27. end
  28. end
  29.  
  30. function sherrif()
  31. for i, v in pairs(game.Players:children()) do
  32. if v.Backpack:findFirstChild("Gun") or v.Character:findFirstChild("Gun") then
  33. return v
  34. end
  35. end
  36. end
  37.  
  38. --Properties:
  39.  
  40. MM2TP.Name = "MM2TP"
  41. MM2TP.Parent = game.Players:WaitForChild()
  42. MM2TP.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  43.  
  44. MainFrame.Name = "MainFrame"
  45. MainFrame.Parent = MM2TP
  46. MainFrame.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  47. MainFrame.BackgroundTransparency = 0.5
  48. MainFrame.Position = UDim2.new(0.645792544, 0, 0, 0)
  49. MainFrame.Size = UDim2.new(0.200000003, 0, -0.5, 0)
  50. MainFrame.Position = UDim2.new(0.646, 0,-0.5, 0)
  51. wait(0.1)
  52. MainFrame:TweenPosition(UDim2.new(.646, 0,0.5, 0))
  53. MainFrame.Visible = true
  54.  
  55. FrameHolder.Name = "FrameHolder"
  56. FrameHolder.Parent = MainFrame
  57. FrameHolder.BackgroundColor3 = Color3.new(1, 1, 1)
  58. FrameHolder.BackgroundTransparency = 1
  59. FrameHolder.BorderSizePixel = 0
  60. FrameHolder.Size = UDim2.new(0.400000006, 0, 1, 0)
  61.  
  62. Title.Name = "Title"
  63. Title.Parent = FrameHolder
  64. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  65. Title.BackgroundTransparency = 1
  66. Title.BorderSizePixel = 0
  67. Title.Position = UDim2.new(-1.81926465, 0, 0.398034394, 0)
  68. Title.Rotation = 270
  69. Title.Size = UDim2.new(4.50815392, 0, 0.181818202, 0)
  70. Title.Font = Enum.Font.SourceSansBold
  71. Title.Text = "MM2 Teleports"
  72. Title.TextColor3 = Color3.new(1, 1, 1)
  73. Title.TextScaled = true
  74. Title.TextSize = 14
  75. Title.TextWrapped = true
  76.  
  77. ScrollingFrame.Parent = MainFrame
  78. ScrollingFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  79. ScrollingFrame.BackgroundTransparency = 1
  80. ScrollingFrame.BorderSizePixel = 0
  81. ScrollingFrame.Position = UDim2.new(0.404435545, 0, 0, 0)
  82. ScrollingFrame.Size = UDim2.new(0.600000024, 0, 1, 0)
  83. ScrollingFrame.ScrollBarThickness = 1
  84. ScrollingFrame.VerticalScrollBarPosition = Enum.VerticalScrollBarPosition.Left
  85.  
  86. Murder.Name = "Murder"
  87. Murder.Parent = ScrollingFrame
  88. Murder.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  89. Murder.BackgroundTransparency = 0.5
  90. Murder.Position = UDim2.new(0.130463168, 0, 0.116707608, 0)
  91. Murder.Size = UDim2.new(0, 136, 0.100000001, 0)
  92. Murder.Font = Enum.Font.SourceSansBold
  93. Murder.Text = "TP Murder"
  94. Murder.TextColor3 = Color3.new(1, 1, 1)
  95. Murder.TextScaled = true
  96. Murder.TextSize = 14
  97. Murder.TextWrapped = true
  98. Murder.MouseButton1Down:connect(function()
  99. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = murderer().Character.HumanoidRootPart.CFrame
  100. end)
  101.  
  102. Sheriff.Name = "Sheriff"
  103. Sheriff.Parent = ScrollingFrame
  104. Sheriff.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  105. Sheriff.BackgroundTransparency = 0.5
  106. Sheriff.Position = UDim2.new(0.130463168, 0, 0.244471729, 0)
  107. Sheriff.Size = UDim2.new(0, 136, 0.100000001, 0)
  108. Sheriff.Font = Enum.Font.SourceSansBold
  109. Sheriff.Text = "TP Sheriff"
  110. Sheriff.TextColor3 = Color3.new(1, 1, 1)
  111. Sheriff.TextScaled = true
  112. Sheriff.TextSize = 14
  113. Sheriff.TextWrapped = true
  114. Sheriff.MouseButton1Down:connect(function()
  115. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = sherrif().Character.HumanoidRootPart.CFrame
  116. end)
  117.  
  118. Gun.Name = "Gun"
  119. Gun.Parent = ScrollingFrame
  120. Gun.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  121. Gun.BackgroundTransparency = 0.5
  122. Gun.Position = UDim2.new(0.130463168, 0, 0.371007383, 0)
  123. Gun.Size = UDim2.new(0, 136, 0.100000001, 0)
  124. Gun.Font = Enum.Font.SourceSansBold
  125. Gun.Text = "Bring gun"
  126. Gun.TextColor3 = Color3.new(1, 1, 1)
  127. Gun.TextScaled = true
  128. Gun.TextSize = 14
  129. Gun.TextWrapped = true
  130. Gun.MouseButton1Down:connect(function()
  131. loadstring(game:HttpGet("https://pastebin.com/raw/ECkwnX1P", true))()
  132. end)
  133.  
  134. Lobby.Name = "Lobby"
  135. Lobby.Parent = ScrollingFrame
  136. Lobby.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  137. Lobby.BackgroundTransparency = 0.5
  138. Lobby.Position = UDim2.new(0.130463168, 0, 0.495086014, 0)
  139. Lobby.Size = UDim2.new(0, 136, 0.100000001, 0)
  140. Lobby.Font = Enum.Font.SourceSansBold
  141. Lobby.Text = "TP Lobby"
  142. Lobby.TextColor3 = Color3.new(1, 1, 1)
  143. Lobby.TextScaled = true
  144. Lobby.TextSize = 14
  145. Lobby.TextWrapped = true
  146. Lobby.MouseButton1Down:connect(function()
  147. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Lobby.Radio.CFrame
  148. end)
  149.  
  150. Coin.Name = "Coin"
  151. Coin.Parent = ScrollingFrame
  152. Coin.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  153. Coin.BackgroundTransparency = 0.5
  154. Coin.Position = UDim2.new(0.130463168, 0, 0.621621609, 0)
  155. Coin.Size = UDim2.new(0, 136, 0.100000001, 0)
  156. Coin.Font = Enum.Font.SourceSansBold
  157. Coin.Text = "Coin Grab [C]"
  158. Coin.TextColor3 = Color3.new(1, 1, 1)
  159. Coin.TextScaled = true
  160. Coin.TextSize = 14
  161. Coin.TextWrapped = true
  162. Coin.MouseButton1Down:connect(function()
  163. Mouse = game.Players.LocalPlayer:GetMouse()
  164.  
  165. Mouse.KeyDown:connect(function(key)
  166. if key == "c" then
  167.  
  168. local children = game.Workspace:GetChildren()
  169. for _, child in pairs(children) do
  170. for _, child in pairs(child:GetChildren()) do
  171. table.insert(children, child)
  172. end
  173.  
  174. if child:IsA("BasePart") and child.Name == "Coin" then
  175. child.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  176. end
  177. end
  178.  
  179. end
  180. end)
  181. end)
  182.  
  183. PlayerTP.Name = "PlayerTP"
  184. PlayerTP.Parent = ScrollingFrame
  185. PlayerTP.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  186. PlayerTP.BackgroundTransparency = 0.5
  187. PlayerTP.Position = UDim2.new(0.130463168, 0, 0.750614166, 0)
  188. PlayerTP.Size = UDim2.new(0, 136, 0.100000001, 0)
  189. PlayerTP.Font = Enum.Font.SourceSansBold
  190. PlayerTP.Text = "Player TP GUI [R]"
  191. PlayerTP.TextColor3 = Color3.new(1, 1, 1)
  192. PlayerTP.TextScaled = true
  193. PlayerTP.TextSize = 14
  194. PlayerTP.TextWrapped = true
  195. PlayerTP.MouseButton1Down:connect(function()
  196. PlayerTP.Position = UDim2(0.646, 0,-0.03, 0)
  197. wait(.1)
  198. PlayerTP:TweenPosition(UDim2(0.646, 0,0.5, 0))
  199. end)
  200.  
  201. PlayerTPGUI.Name = "PlayerTPGUI"
  202. PlayerTPGUI.Parent = game.StarterGui["MM2TP"]
  203. PlayerTPGUI.BackgroundColor3 = Color3.new(255, 255, 255)
  204. PlayerTPGUI.BackgroundTransparency = 0.5
  205. PlayerTPGUI.BorderSizePixel = 1
  206. PlayerTPGUI.Position = UDim2.new(0.645792544, 0, 0.5, 0)
  207. PlayerTPGUI.Size = UDim2.new(0.200000003, 0, 0.0299999993, 0)
  208. game:GetService("UserInputService").InputBegan:connect(function(key)
  209. if key.KeyCode == Enum.KeyCode.KeypadEnter then
  210. local ooooooof = Input.Text
  211. local plr1 = game.Players.LocalPlayer.Character
  212. local plr2 = game.Workspace:FindFirstChild(ooooooof)
  213. plr1.HumanoidRootPart.CFrame = plr2.HumanoidRootPart.CFrame * CFrame.new(0,2,0)
  214. end
  215. end)
  216. PlayerTPGUI.MouseButton1Down:connect(function()
  217. PlayerTPGUI.Visible = true
  218. end)
  219.  
  220.  
  221. Input.Name = "Input"
  222. Input.Parent = PlayerTPGUI
  223. Input.BackgroundColor3 = Color3.new(1, 1, 1)
  224. Input.BackgroundTransparency = 1
  225. Input.BorderSizePixel = 1
  226. Input.Position = UDim2.new(-1.99070953e-07, 0, 0, 0)
  227. Input.Size = UDim2.new(1, 0, 1, 0)
  228. Input.Font = Enum.Font.SourceSansBold
  229. Input.PlaceholderColor3 = Color3.new(1, 1, 1)
  230. Input.Text = "Enter Player Name and press R"
  231. Input.TextColor3 = Color3.new(1, 1, 1)
  232. Input.TextScaled = true
  233. Input.TextSize = 14
  234. Input.TextWrapped = true
  235. Input.Visible = false
  236.  
  237. ClickTP.Name = "ClickTP"
  238. ClickTP.Parent = ScrollingFrame
  239. ClickTP.BackgroundColor3 = Color3.new(0.101961, 0.101961, 0.101961)
  240. ClickTP.BackgroundTransparency = 0.5
  241. ClickTP.Position = UDim2.new(0.130463168, 0, 0.873464346, 0)
  242. ClickTP.Size = UDim2.new(0, 136, 0.100000001, 0)
  243. ClickTP.Font = Enum.Font.SourceSansBold
  244. ClickTP.Text = "Click TP"
  245. ClickTP.TextColor3 = Color3.new(1, 1, 1)
  246. ClickTP.TextScaled = true
  247. ClickTP.TextSize = 14
  248. ClickTP.TextWrapped = true
  249. ClickTP.MouseButton1Down:connect(function()
  250. local Imput = game:GetService("UserInputService")
  251. local Plr = game.Players.LocalPlayer
  252. local Mouse = Plr:GetMouse()
  253.  
  254. function To(position)
  255. local Chr = Plr.Character
  256. if Chr ~= nil then
  257. Chr:MoveTo(position)
  258. end
  259. end
  260.  
  261. Imput.InputBegan:Connect(function(input)
  262. if input.UserInputType == Enum.UserInputType.MouseButton1 and Imput:IsKeyDown(Enum.KeyCode.LeftControl) then
  263. To(Mouse.Hit.p)
  264. end
  265. end)
  266. end)
  267.  
  268. Close.Name = "Close"
  269. Close.Parent = ScrollingFrame
  270. Close.BackgroundColor3 = Color3.new(0, 0, 0)
  271. Close.BackgroundTransparency = 0.69999998807907
  272. Close.BorderSizePixel = 0
  273. Close.Position = UDim2.new(0.190097824, 0, 0.0289999992, 0)
  274. Close.Size = UDim2.new(0.619700074, 0, 0.0732186809, 0)
  275. Close.Font = Enum.Font.SourceSansBold
  276. Close.Text = "Close"
  277. Close.TextColor3 = Color3.new(1, 1, 1)
  278. Close.TextScaled = true
  279. Close.TextSize = 14
  280. Close.TextWrapped = true
  281. Close.MouseButton1Down:connect(function()
  282. MM2TP:Destroy()
  283. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement