Advertisement
Guest User

Untitled

a guest
Mar 29th, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. local ModMenu = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local second = Instance.new("TextButton")
  4. local first = Instance.new("TextButton")
  5. local home = Instance.new("TextButton")
  6. local third = Instance.new("TextButton")
  7. local mound = Instance.new("TextButton")
  8.  
  9. --Properties:
  10.  
  11. ModMenu.Name = "ModMenu"
  12. ModMenu.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  13. ModMenu.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  14.  
  15. Frame.Parent = ModMenu
  16. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  17. Frame.BackgroundTransparency = 0.69999998807907
  18. Frame.Position = UDim2.new(0.00104167126, 0, 0.799623966, 0)
  19. Frame.Size = UDim2.new(0.112992518, 0, 0.200376019, 0)
  20.  
  21. second.Name = "second"
  22. second.Parent = Frame
  23. second.BackgroundColor3 = Color3.new(1, 1, 1)
  24. second.Size = UDim2.new(0.5, 0, 0.5, 0)
  25. second.Font = Enum.Font.SciFi
  26. second.Text = "2"
  27. second.TextColor3 = Color3.new(0, 0, 0)
  28. second.TextScaled = true
  29. second.TextSize = 14
  30. second.TextWrapped = true
  31.  
  32. first.Name = "first"
  33. first.Parent = Frame
  34. first.BackgroundColor3 = Color3.new(1, 1, 1)
  35. first.Position = UDim2.new(0.497820586, 0, 0, 0)
  36. first.Size = UDim2.new(0.5, 0, 0.5, 0)
  37. first.Font = Enum.Font.SciFi
  38. first.Text = "1"
  39. first.TextColor3 = Color3.new(0, 0, 0)
  40. first.TextScaled = true
  41. first.TextSize = 14
  42. first.TextWrapped = true
  43.  
  44. home.Name = "home"
  45. home.Parent = Frame
  46. home.BackgroundColor3 = Color3.new(1, 1, 1)
  47. home.Position = UDim2.new(0.49321115, 0, 0.494899035, 0)
  48. home.Size = UDim2.new(0.5, 0, 0.5, 0)
  49. home.Font = Enum.Font.SciFi
  50. home.Text = "HOME"
  51. home.TextColor3 = Color3.new(0, 0, 0)
  52. home.TextScaled = true
  53. home.TextSize = 14
  54. home.TextWrapped = true
  55.  
  56. third.Name = "third"
  57. third.Parent = Frame
  58. third.BackgroundColor3 = Color3.new(1, 1, 1)
  59. third.Position = UDim2.new(-0.00460946746, 0, 0.494899035, 0)
  60. third.Size = UDim2.new(0.5, 0, 0.5, 0)
  61. third.Font = Enum.Font.SciFi
  62. third.Text = "3"
  63. third.TextColor3 = Color3.new(0, 0, 0)
  64. third.TextScaled = true
  65. third.TextSize = 14
  66. third.TextWrapped = true
  67.  
  68. mound.Name = "mound"
  69. mound.Parent = Frame
  70. mound.BackgroundColor3 = Color3.new(1, 1, 1)
  71. mound.Position = UDim2.new(0.995641172, 0, 0.249762133, 0)
  72. mound.Size = UDim2.new(0.5, 0, 0.5, 0)
  73. mound.Font = Enum.Font.SciFi
  74. mound.Text = "MOUND"
  75. mound.TextColor3 = Color3.new(0, 0, 0)
  76. mound.TextScaled = true
  77. mound.TextSize = 14
  78. mound.TextWrapped = true
  79.  
  80. local FirstBase = workspace.Plates.First:WaitForChild("First")
  81. local SecondBase = workspace.Plates.Second:WaitForChild("Second")
  82. local ThirdBase = workspace.Plates.Third:WaitForChild("Third")
  83. local HomeBase = workspace.Plates.HomePlate:WaitForChild("HomePlate")
  84. local MoundBase = workspace.Plates.Mound
  85.  
  86. local first = game.Players.LocalPlayer.PlayerGui.ModMenu.Frame.first
  87. local second = game.Players.LocalPlayer.PlayerGui.ModMenu.Frame.second
  88. local third = game.Players.LocalPlayer.PlayerGui.ModMenu.Frame.third
  89. local home = game.Players.LocalPlayer.PlayerGui.ModMenu.Frame.home
  90. local mound = game.Players.LocalPlayer.PlayerGui.ModMenu.Frame.mound
  91.  
  92.  
  93. first.MouseButton1Click:Connect(function()
  94. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = FirstBase.CFrame
  95. end)
  96.  
  97. second.MouseButton1Click:Connect(function()
  98. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = SecondBase.CFrame
  99. end)
  100.  
  101. third.MouseButton1Click:Connect(function()
  102. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = ThirdBase.CFrame
  103. end)
  104.  
  105. home.MouseButton1Click:Connect(function()
  106. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = HomeBase.CFrame
  107. end)
  108.  
  109. mound.MouseButton1Click:Connect(function()
  110. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = MoundBase.CFrame
  111. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement