Advertisement
Guest User

Build A Boat For Treasure GUI

a guest
May 25th, 2019
28,370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.17 KB | None | 0 0
  1. local DreamerPostman = Instance.new("ScreenGui")
  2. local CommandsFrame = Instance.new("Frame")
  3. local Header = Instance.new("Frame")
  4. local Title = Instance.new("TextLabel")
  5. local ExitButton = Instance.new("TextButton")
  6. local ButtonsFrame = Instance.new("Frame")
  7. local AutoGrindButton = Instance.new("TextButton")
  8. local EpicButton = Instance.new("TextButton")
  9. local LegendaryButton = Instance.new("TextButton")
  10. local RareButton = Instance.new("TextButton")
  11. local UncommonButton = Instance.new("TextButton")
  12. local CommonButton = Instance.new("TextButton")
  13. local InfBlockButton = Instance.new("TextButton")
  14. local IYButton = Instance.new("TextButton")
  15. local Team1Button = Instance.new("TextButton")
  16. local Team2Button = Instance.new("TextButton")
  17. local Team3Button = Instance.new("TextButton")
  18. local Team4Button = Instance.new("TextButton")
  19. local Team5Button = Instance.new("TextButton")
  20. local Team6Button = Instance.new("TextButton")
  21. local Team7Button = Instance.new("TextButton")
  22. --Properties:
  23. DreamerPostman.Name = "DreamerPostman"
  24. DreamerPostman.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  25. DreamerPostman.ResetOnSpawn = false
  26.  
  27. CommandsFrame.Archivable = false
  28. CommandsFrame.Name = "CommandsFrame"
  29. CommandsFrame.Parent = DreamerPostman
  30. CommandsFrame.Active = true
  31. CommandsFrame.Draggable = true
  32. CommandsFrame.BackgroundColor3 = Color3.new(0.235294, 0.231373, 0.235294)
  33. CommandsFrame.BorderSizePixel = 0
  34. CommandsFrame.Position = UDim2.new(0.3284657, 0, 0.334927022, 0)
  35. CommandsFrame.Size = UDim2.new(0.341707408, 0, 0.327999622, 0)
  36.  
  37. function onKeyPress(inputObject, gameProcessedEvent)
  38. if inputObject.KeyCode == Enum.KeyCode.L then
  39. if CommandsFrame.Visible == false then
  40. CommandsFrame.Visible = true
  41. else
  42. CommandsFrame.Visible = false
  43. end
  44. end
  45. end
  46.  
  47. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  48.  
  49. Header.Name = "Header"
  50. Header.Parent = CommandsFrame
  51. Header.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  52. Header.BorderSizePixel = 0
  53. Header.Size = UDim2.new(1, 0, 0.113475844, 0)
  54.  
  55. Title.Name = "Title"
  56. Title.Parent = Header
  57. Title.BackgroundColor3 = Color3.new(0.235294, 0.231373, 0.235294)
  58. Title.BackgroundTransparency = 1
  59. Title.BorderSizePixel = 0
  60. Title.Size = UDim2.new(1, 0, 1, 0)
  61. Title.Font = Enum.Font.SourceSansLight
  62. Title.Text = "Postman Pats shitty skidded BAB shit"
  63. Title.TextColor3 = Color3.new(1, 1, 1)
  64. Title.TextSize = 32
  65.  
  66. ExitButton.Name = "ExitButton"
  67. ExitButton.Parent = Header
  68. ExitButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  69. ExitButton.BorderSizePixel = 0
  70. ExitButton.Position = UDim2.new(0.937288165, 0, 0, 0)
  71. ExitButton.Size = UDim2.new(0.0627118647, 0, 0.415032297, 0)
  72. ExitButton.Font = Enum.Font.SourceSansLight
  73. ExitButton.Text = "Exit"
  74. ExitButton.TextColor3 = Color3.new(1, 1, 1)
  75. ExitButton.TextSize = 16
  76.  
  77. ButtonsFrame.Name = "ButtonsFrame"
  78. ButtonsFrame.Parent = CommandsFrame
  79. ButtonsFrame.Active = true
  80. ButtonsFrame.BackgroundColor3 = Color3.new(0.27451, 0.552941, 0.823529)
  81. ButtonsFrame.BackgroundTransparency = 1
  82. ButtonsFrame.BorderColor3 = Color3.new(0.333333, 0.666667, 1)
  83. ButtonsFrame.BorderSizePixel = 0
  84. ButtonsFrame.ClipsDescendants = true
  85. ButtonsFrame.Position = UDim2.new(0, 0, 0.113475829, 0)
  86. ButtonsFrame.Size = UDim2.new(1.00000012, 0, 0.886524141, 0)
  87.  
  88. AutoGrindButton.Name = "AutoGrindButton"
  89. AutoGrindButton.Parent = ButtonsFrame
  90. AutoGrindButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  91. AutoGrindButton.BorderSizePixel = 0
  92. AutoGrindButton.Position = UDim2.new(0.00701022148, 0, 0.0315209776, 0)
  93. AutoGrindButton.Size = UDim2.new(0.382001728, 0, 0.136020422, 0)
  94. AutoGrindButton.Font = Enum.Font.SourceSansLight
  95. AutoGrindButton.Text = "Auto Grind (P) to toggle"
  96. AutoGrindButton.TextColor3 = Color3.new(1, 1, 1)
  97. AutoGrindButton.TextSize = 14
  98.  
  99. EpicButton.Name = "EpicButton"
  100. EpicButton.Parent = ButtonsFrame
  101. EpicButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  102. EpicButton.BorderSizePixel = 0
  103. EpicButton.Position = UDim2.new(0.00796955638, 0, 0.45974791, 0)
  104. EpicButton.Size = UDim2.new(0.381237566, 0, 0.136514783, 0)
  105. EpicButton.Font = Enum.Font.SourceSansLight
  106. EpicButton.Text = "Buy Epic Chest (135)"
  107. EpicButton.TextColor3 = Color3.new(1, 1, 1)
  108. EpicButton.TextSize = 14
  109.  
  110. LegendaryButton.Name = "LegendaryButton"
  111. LegendaryButton.Parent = ButtonsFrame
  112. LegendaryButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  113. LegendaryButton.BorderSizePixel = 0
  114. LegendaryButton.Position = UDim2.new(0.0080479579, 0, 0.296022385, 0)
  115. LegendaryButton.Size = UDim2.new(0.381159097, 0, 0.133513048, 0)
  116. LegendaryButton.Font = Enum.Font.SourceSansLight
  117. LegendaryButton.Text = "Buy Legendary Chest (405)"
  118. LegendaryButton.TextColor3 = Color3.new(1, 1, 1)
  119. LegendaryButton.TextSize = 14
  120.  
  121. RareButton.Name = "RareButton"
  122. RareButton.Parent = ButtonsFrame
  123. RareButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  124. RareButton.BorderSizePixel = 0
  125. RareButton.Position = UDim2.new(0.00687570497, 0, 0.62930578, 0)
  126. RareButton.Size = UDim2.new(0.38233152, 0, 0.133684173, 0)
  127. RareButton.Font = Enum.Font.SourceSansLight
  128. RareButton.Text = "Buy Rare Chest (45)"
  129. RareButton.TextColor3 = Color3.new(1, 1, 1)
  130. RareButton.TextSize = 14
  131.  
  132. UncommonButton.Name = "UncommonButton"
  133. UncommonButton.Parent = ButtonsFrame
  134. UncommonButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  135. UncommonButton.BorderSizePixel = 0
  136. UncommonButton.Position = UDim2.new(0.00778599037, 0, 0.793302774, 0)
  137. UncommonButton.Size = UDim2.new(0.381421119, 0, 0.135680109, 0)
  138. UncommonButton.Font = Enum.Font.SourceSansLight
  139. UncommonButton.Text = "Buy Uncommon Chest (15)"
  140. UncommonButton.TextColor3 = Color3.new(1, 1, 1)
  141. UncommonButton.TextSize = 14
  142.  
  143. CommonButton.Name = "CommonButton"
  144. CommonButton.Parent = ButtonsFrame
  145. CommonButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  146. CommonButton.BorderSizePixel = 0
  147. CommonButton.Position = UDim2.new(0.404746056, 0, 0.296022385, 0)
  148. CommonButton.Size = UDim2.new(0.381546497, 0, 0.133513063, 0)
  149. CommonButton.Font = Enum.Font.SourceSansLight
  150. CommonButton.Text = "Buy Common Chest (5)"
  151. CommonButton.TextColor3 = Color3.new(1, 1, 1)
  152. CommonButton.TextSize = 14
  153.  
  154. InfBlockButton.Name = "InfBlockButton"
  155. InfBlockButton.Parent = ButtonsFrame
  156. InfBlockButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  157. InfBlockButton.BorderSizePixel = 0
  158. InfBlockButton.Position = UDim2.new(0.404746205, 0, 0.0315209851, 0)
  159. InfBlockButton.Size = UDim2.new(0.381546557, 0, 0.136020422, 0)
  160. InfBlockButton.Font = Enum.Font.SourceSansLight
  161. InfBlockButton.Text = "Infinite Blocks (Build Tool)"
  162. InfBlockButton.TextColor3 = Color3.new(1, 1, 1)
  163. InfBlockButton.TextSize = 14
  164.  
  165. IYButton.Name = "IYButton"
  166. IYButton.Parent = ButtonsFrame
  167. IYButton.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  168. IYButton.BorderSizePixel = 0
  169. IYButton.Position = UDim2.new(0.798511684, 0, 0.0315209851, 0)
  170. IYButton.Size = UDim2.new(0.167942911, 0, 0.136020333, 0)
  171. IYButton.Font = Enum.Font.SourceSansLight
  172. IYButton.Text = "IY"
  173. IYButton.TextColor3 = Color3.new(1, 1, 1)
  174. IYButton.TextSize = 14
  175.  
  176. Team1Button.Name = "Team1Button"
  177. Team1Button.Parent = ButtonsFrame
  178. Team1Button.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  179. Team1Button.BorderSizePixel = 0
  180. Team1Button.Position = UDim2.new(0.497136831, 0, 0.549513698, 0)
  181. Team1Button.Size = UDim2.new(0.226791874, 0, 0.0828147978, 0)
  182. Team1Button.Font = Enum.Font.SourceSansLight
  183. Team1Button.Text = "Team White"
  184. Team1Button.TextColor3 = Color3.new(1, 1, 1)
  185. Team1Button.TextSize = 14
  186.  
  187. Team2Button.Name = "Team2Button"
  188. Team2Button.Parent = ButtonsFrame
  189. Team2Button.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  190. Team2Button.BorderSizePixel = 0
  191. Team2Button.Position = UDim2.new(0.739662766, 0, 0.549513698, 0)
  192. Team2Button.Size = UDim2.new(0.226791874, 0, 0.0828147978, 0)
  193. Team2Button.Font = Enum.Font.SourceSansLight
  194. Team2Button.Text = "Team Blue"
  195. Team2Button.TextColor3 = Color3.new(1, 1, 1)
  196. Team2Button.TextSize = 14
  197.  
  198. Team3Button.Name = "Team3Button"
  199. Team3Button.Parent = ButtonsFrame
  200. Team3Button.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  201. Team3Button.BorderSizePixel = 0
  202. Team3Button.Position = UDim2.new(0.497136831, 0, 0.655135036, 0)
  203. Team3Button.Size = UDim2.new(0.226791874, 0, 0.0828147978, 0)
  204. Team3Button.Font = Enum.Font.SourceSansLight
  205. Team3Button.Text = "Team Green"
  206. Team3Button.TextColor3 = Color3.new(1, 1, 1)
  207. Team3Button.TextSize = 14
  208.  
  209. Team4Button.Name = "Team4Button"
  210. Team4Button.Parent = ButtonsFrame
  211. Team4Button.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  212. Team4Button.BorderSizePixel = 0
  213. Team4Button.Position = UDim2.new(0.739662766, 0, 0.655135036, 0)
  214. Team4Button.Size = UDim2.new(0.226791874, 0, 0.0828147978, 0)
  215. Team4Button.Font = Enum.Font.SourceSansLight
  216. Team4Button.Text = "Team Red"
  217. Team4Button.TextColor3 = Color3.new(1, 1, 1)
  218. Team4Button.TextSize = 14
  219.  
  220. Team5Button.Name = "Team5Button"
  221. Team5Button.Parent = ButtonsFrame
  222. Team5Button.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  223. Team5Button.BorderSizePixel = 0
  224. Team5Button.Position = UDim2.new(0.497136831, 0, 0.76498121, 0)
  225. Team5Button.Size = UDim2.new(0.226791874, 0, 0.0828147978, 0)
  226. Team5Button.Font = Enum.Font.SourceSansLight
  227. Team5Button.Text = "Team Black"
  228. Team5Button.TextColor3 = Color3.new(1, 1, 1)
  229. Team5Button.TextSize = 14
  230.  
  231. Team6Button.Name = "Team6Button"
  232. Team6Button.Parent = ButtonsFrame
  233. Team6Button.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  234. Team6Button.BorderSizePixel = 0
  235. Team6Button.Position = UDim2.new(0.739662766, 0, 0.76498121, 0)
  236. Team6Button.Size = UDim2.new(0.226791874, 0, 0.0828147978, 0)
  237. Team6Button.Font = Enum.Font.SourceSansLight
  238. Team6Button.Text = "Team Yellow"
  239. Team6Button.TextColor3 = Color3.new(1, 1, 1)
  240. Team6Button.TextSize = 14
  241.  
  242. Team7Button.Name = "Team7Button"
  243. Team7Button.Parent = ButtonsFrame
  244. Team7Button.BackgroundColor3 = Color3.new(0.333333, 0.666667, 1)
  245. Team7Button.BorderSizePixel = 0
  246. Team7Button.Position = UDim2.new(0.601076484, 0, 0.874827445, 0)
  247. Team7Button.Size = UDim2.new(0.226791874, 0, 0.0828147978, 0)
  248. Team7Button.Font = Enum.Font.SourceSansLight
  249. Team7Button.Text = "Team Magenta"
  250. Team7Button.TextColor3 = Color3.new(1, 1, 1)
  251. Team7Button.TextSize = 14
  252. -- Scripts:
  253. Team1Button.MouseButton1Click:Connect(function()
  254. local ASD = game.Teams:GetChildren()
  255. for _,obj in pairs(ASD) do
  256. obj.Name = "Team".._
  257. end
  258. for i, v in pairs(game.Players:GetPlayers()) do
  259. game.Workspace.ChangeTeam:FireServer(game.Teams["Team1"].TeamColor, v)
  260. end
  261. end)
  262.  
  263. Team2Button.MouseButton1Click:Connect(function()
  264. local ASD = game.Teams:GetChildren()
  265. for _,obj in pairs(ASD) do
  266. obj.Name = "Team".._
  267. end
  268.  
  269. for i, v in pairs(game.Players:GetPlayers()) do
  270. game.Workspace.ChangeTeam:FireServer(game.Teams["Team2"].TeamColor, v)
  271. end
  272. end)
  273.  
  274. Team3Button.MouseButton1Click:Connect(function()
  275. local ASD = game.Teams:GetChildren()
  276. for _,obj in pairs(ASD) do
  277. obj.Name = "Team".._
  278. end
  279. for i, v in pairs(game.Players:GetPlayers()) do
  280. game.Workspace.ChangeTeam:FireServer(game.Teams["Team3"].TeamColor, v)
  281. end
  282. end)
  283.  
  284. Team4Button.MouseButton1Click:Connect(function()
  285. local ASD = game.Teams:GetChildren()
  286. for _,obj in pairs(ASD) do
  287. obj.Name = "Team".._
  288. end
  289. for i, v in pairs(game.Players:GetPlayers()) do
  290. game.Workspace.ChangeTeam:FireServer(game.Teams["Team4"].TeamColor, v)
  291. end
  292. end)
  293.  
  294. Team5Button.MouseButton1Click:Connect(function()
  295. local ASD = game.Teams:GetChildren()
  296. for _,obj in pairs(ASD) do
  297. obj.Name = "Team".._
  298. end
  299. for i, v in pairs(game.Players:GetPlayers()) do
  300. game.Workspace.ChangeTeam:FireServer(game.Teams["Team5"].TeamColor, v)
  301. end
  302. end)
  303.  
  304. Team6Button.MouseButton1Click:Connect(function()
  305. local ASD = game.Teams:GetChildren()
  306. for _,obj in pairs(ASD) do
  307. obj.Name = "Team".._
  308. end
  309. for i, v in pairs(game.Players:GetPlayers()) do
  310. game.Workspace.ChangeTeam:FireServer(game.Teams["Team6"].TeamColor, v)
  311. end
  312. end)
  313.  
  314. Team7Button.MouseButton1Click:Connect(function()
  315. local ASD = game.Teams:GetChildren()
  316. for _,obj in pairs(ASD) do
  317. obj.Name = "Team".._
  318. end
  319. for i, v in pairs(game.Players:GetPlayers()) do
  320. game.Workspace.ChangeTeam:FireServer(game.Teams["Team7"].TeamColor, v)
  321. end
  322. end)
  323.  
  324. CommonButton.MouseButton1Click:Connect(function()
  325. game:GetService("Workspace").ItemBoughtFromShop:FireServer("Common Chest")
  326. end)
  327.  
  328. UncommonButton.MouseButton1Click:Connect(function()
  329. game:GetService("Workspace").ItemBoughtFromShop:FireServer("Uncommon Chest")
  330. end)
  331.  
  332. RareButton.MouseButton1Click:Connect(function()
  333. game:GetService("Workspace").ItemBoughtFromShop:FireServer("Rare Chest")
  334. end)
  335.  
  336. EpicButton.MouseButton1Click:Connect(function()
  337. game:GetService("Workspace").ItemBoughtFromShop:FireServer("Epic Chest")
  338. end)
  339.  
  340. LegendaryButton.MouseButton1Click:Connect(function()
  341. game:GetService("Workspace").ItemBoughtFromShop:FireServer("Legendary Chest")
  342. end)
  343.  
  344. IYButton.MouseButton1Click:Connect(function()
  345. loadstring(game:HttpGet(('https://pastebin.com/raw/aPZUDjfn'),true))()
  346. end)
  347.  
  348. AutoGrindButton.MouseButton1Click:Connect(function()
  349. loadstring(game:HttpGet("https://pastebin.com/raw/6FkKQnN4", true))()
  350. end)
  351.  
  352. InfBlockButton.MouseButton1Click:Connect(function()
  353. loadstring(game:HttpGet("https://pastebin.com/raw/6wTtXhCU", true))()
  354.  
  355. end)
  356.  
  357. ExitButton.MouseButton1Click:Connect(function()
  358. CommandsFrame.Visible = false
  359. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement