Advertisement
Guest User

HCBB GUI

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