FuZionPlayz

Build a boat for treasure

Nov 2nd, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. local MENU = Instance.new("ScreenGui")
  2. local GUI = Instance.new("Frame")
  3. local title = Instance.new("TextLabel")
  4. local tb = Instance.new("TextButton")
  5. local tr = Instance.new("TextButton")
  6. local truss = Instance.new("TextButton")
  7. local wedge = Instance.new("TextButton")
  8.  
  9. --Basics
  10.  
  11. MENU.Name = "BABFT"
  12. MENU.Parent = game.Players.LocalPlayer.PlayerGui
  13.  
  14. GUI.Name = "GUI"
  15. GUI.Parent = MENU
  16. GUI.Active = true
  17. GUI.Draggable = true
  18. GUI.Position = UDim2.new(0.009, 326, 0.412, -32)
  19. GUI.Size = UDim2.new(0, 142, 0, 279)
  20. GUI.Style = Enum.FrameStyle.RobloxRound
  21.  
  22. title.Name = "Title"
  23. title.Parent = GUI
  24. title.Position = UDim2.new(0.021, 5, -0.007, 0)
  25. title.Size = UDim2.new(0, 106, 0, 61)
  26. title.BackgroundTransparency = 1
  27. title.Text = "BABFT GUI by I low"
  28. title.TextSize = 18
  29. title.TextScaled = true
  30. title.FontSize = Enum.FontSize.Size18
  31. title.TextSize = 18
  32. title.Font = Enum.Font.Cartoon
  33. title.TextColor3 = Color3.new(255, 0, 0)
  34.  
  35. --Buttons
  36.  
  37. tb.Name = "TitaniumBlock"
  38. tb.Parent = GUI
  39. tb.Text = "Titanium Block"
  40. tb.Position = UDim2.new(0.12, -15, 0.412, -45)
  41. tb.Size = UDim2.new(0, 125, 0, 40)
  42. tb.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  43. tb.FontSize = Enum.FontSize.Size18
  44. tb.TextSize = 13
  45.  
  46. tr.Name = "TitaniumRod"
  47. tr.Parent = GUI
  48. tr.Text = "Titanium Rod"
  49. tr.Position = UDim2.new(0.12, -15, 0.412, 5)
  50. tr.Size = UDim2.new(0, 125, 0, 40)
  51. tr.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  52. tr.FontSize = Enum.FontSize.Size18
  53. tr.TextSize = 13
  54.  
  55. truss.Name = "Truss"
  56. truss.Parent = GUI
  57. truss.Text = "Truss"
  58. truss.Position = UDim2.new(0.12, -15, 0.412, 55)
  59. truss.Size = UDim2.new(0, 125, 0, 40)
  60. truss.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  61. truss.FontSize = Enum.FontSize.Size18
  62. truss.TextSize = 13
  63.  
  64. wedge.Name = "Wedge"
  65. wedge.Parent = GUI
  66. wedge.Text = "Wedge"
  67. wedge.Position = UDim2.new(0.12, -15, 0.412, 105)
  68. wedge.Size = UDim2.new(0, 125, 0, 40)
  69. wedge.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  70. wedge.FontSize = Enum.FontSize.Size18
  71. wedge.TextSize = 13
  72.  
  73. --Functions
  74.  
  75. tb.MouseButton1Click:connect(function()
  76. game.Players.LocalPlayer.Data.TitaniumBlock.Value = 2e9
  77. end)
  78.  
  79. tr.MouseButton1Click:connect(function()
  80. game.Players.LocalPlayer.Data.TitaniumRod.Value = 2e9
  81. end)
  82.  
  83. truss.MouseButton1Click:connect(function()
  84. game.Players.LocalPlayer.Data.Truss.Value = 2e9
  85. end)
  86.  
  87. wedge.MouseButton1Click:connect(function()
  88. game.Players.LocalPlayer.Data.Wedge.Value = 2e9
  89. end)
Add Comment
Please, Sign In to add comment