Nghientapgym

Build A boat For treasure

May 28th, 2018
1,302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.40 KB | None | 0 0
  1. -- Fixed By NTS
  2. -- Objects
  3.  
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local Label = Instance.new("TextLabel")
  7. local Label_2 = Instance.new("TextLabel")
  8. local Label_3 = Instance.new("TextLabel")
  9. local Yellow = Instance.new("TextButton")
  10. local black = Instance.new("TextButton")
  11. local blue = Instance.new("TextButton")
  12. local white = Instance.new("TextButton")
  13. local blue_2 = Instance.new("TextButton")
  14. local red = Instance.new("TextButton")
  15. local Green = Instance.new("TextButton")
  16. local black_2 = Instance.new("TextButton")
  17. local red_2 = Instance.new("TextButton")
  18. local Gold = Instance.new("TextButton")
  19. local Yellow_2 = Instance.new("TextButton")
  20. local Green_2 = Instance.new("TextButton")
  21. local nts = game.Players.LocalPlayer.PlayerGui
  22.  
  23. -- Properties
  24.  
  25. ScreenGui.Parent = nts
  26. ScreenGui.ResetOnSpawn = false
  27.  
  28. Frame.Parent = ScreenGui
  29. Frame.Active = true
  30. Frame.BackgroundColor3 = Color3.new(0.14902, 0.14902, 0.14902)
  31. Frame.BackgroundTransparency = 0.10000000149012
  32. Frame.BorderColor3 = Color3.new(1, 1, 1)
  33. Frame.Draggable = true
  34. Frame.Position = UDim2.new(0.136861324, 0, 0.0149812736, 0)
  35. Frame.Selectable = true
  36. Frame.Size = UDim2.new(0, 372, 0.00999999978, 441)
  37.  
  38.  
  39. Label.Name = "Label"
  40. Label.Parent = Frame
  41. Label.BackgroundColor3 = Color3.new(0, 0, 0)
  42. Label.BackgroundTransparency = 1
  43. Label.BorderColor3 = Color3.new(1, 1, 1)
  44. Label.BorderSizePixel = 2
  45. Label.Position = UDim2.new(0.0857142806, 0, 0.669999659, 0)
  46. Label.Size = UDim2.new(0.0899999887, 288, -0.0299999993, 48)
  47. Label.Font = Enum.Font.Cartoon
  48. Label.Text = "Team Changes"
  49. Label.TextColor3 = Color3.new(1, 1, 1)
  50. Label.TextScaled = true
  51. Label.TextSize = 14
  52. Label.TextWrapped = true
  53.  
  54. Label_2.Name = "Label"
  55. Label_2.Parent = Frame
  56. Label_2.BackgroundColor3 = Color3.new(0, 0, 0)
  57. Label_2.BackgroundTransparency = 1
  58. Label_2.BorderColor3 = Color3.new(1, 1, 1)
  59. Label_2.BorderSizePixel = 2
  60. Label_2.Position = UDim2.new(0.0857142806, 0, 0.329999983, 0)
  61. Label_2.Size = UDim2.new(0.0799999908, 288, -0.0299999993, 48)
  62. Label_2.Font = Enum.Font.Cartoon
  63. Label_2.Text = "Flood"
  64. Label_2.TextColor3 = Color3.new(1, 1, 1)
  65. Label_2.TextScaled = true
  66. Label_2.TextSize = 14
  67. Label_2.TextWrapped = true
  68.  
  69. Label_3.Name = "Label"
  70. Label_3.Parent = Frame
  71. Label_3.BackgroundColor3 = Color3.new(0, 0, 0)
  72. Label_3.BackgroundTransparency = 1
  73. Label_3.BorderColor3 = Color3.new(1, 1, 1)
  74. Label_3.BorderSizePixel = 2
  75. Label_3.Position = UDim2.new(0.0857142806, 0, 0, 0)
  76. Label_3.Size = UDim2.new(0, 288, 0, 48)
  77. Label_3.Font = Enum.Font.Cartoon
  78. Label_3.Text = "Build A boat For Treasure killer"
  79. Label_3.TextColor3 = Color3.new(1, 1, 1)
  80. Label_3.TextScaled = true
  81. Label_3.TextSize = 14
  82. Label_3.TextWrapped = true
  83.  
  84. Yellow.Name = "Yellow"
  85. Yellow.Parent = Frame
  86. Yellow.AnchorPoint = Vector2.new(0.5, 0)
  87. Yellow.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  88. Yellow.BorderColor3 = Color3.new(1, 1, 1)
  89. Yellow.Position = UDim2.new(0.483886153, 0, 0.480000019, 0)
  90. Yellow.Size = UDim2.new(0, 100, 0, 30)
  91. Yellow.AutoButtonColor = false
  92. Yellow.Font = Enum.Font.SourceSansBold
  93. Yellow.Text = "Flood Yellow"
  94. Yellow.TextColor3 = Color3.new(1, 1, 0)
  95. Yellow.TextSize = 14
  96.  
  97.  
  98.  
  99. Yellow.MouseButton1Down:connect(function()
  100. local YellowEvent = game:GetService("Workspace")["New YellerZone"].RE
  101. YellowEvent:FireServer()
  102. end)
  103.  
  104. black.Name = "black"
  105. black.Parent = Frame
  106. black.AnchorPoint = Vector2.new(0.5, 0)
  107. black.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  108. black.BorderColor3 = Color3.new(1, 1, 1)
  109. black.Position = UDim2.new(0.191469193, 0, 0.480000019, 0)
  110. black.Size = UDim2.new(0, 100, 0, 30)
  111. black.AutoButtonColor = false
  112. black.Font = Enum.Font.SourceSansBold
  113. black.Text = "Flood Black"
  114. black.TextColor3 = Color3.new(0, 0, 0)
  115. black.TextSize = 14
  116.  
  117.  
  118.  
  119. black.MouseButton1Down:connect(function()
  120. local BlackEvent = game:GetService("Workspace").BlackZone.RE
  121. BlackEvent:FireServer()
  122. end)
  123.  
  124. blue.Name = "blue"
  125. blue.Parent = Frame
  126. blue.AnchorPoint = Vector2.new(0.5, 0)
  127. blue.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  128. blue.BorderColor3 = Color3.new(1, 1, 1)
  129. blue.Position = UDim2.new(0.801999509, 0, 0.579999924, 0)
  130. blue.Size = UDim2.new(0, 100, 0, 30)
  131. blue.AutoButtonColor = false
  132. blue.Font = Enum.Font.SourceSansBold
  133. blue.Text = "Flood Blue"
  134. blue.TextColor3 = Color3.new(0.380392, 0.419608, 1)
  135. blue.TextSize = 14
  136.  
  137.  
  138. blue.MouseButton1Down:connect(function()
  139. local BlueEvent = game:GetService("Workspace")["Really blueZone"].RE
  140. BlueEvent:FireServer()
  141. end)
  142.  
  143.  
  144. white.Name = "white"
  145. white.Parent = Frame
  146. white.AnchorPoint = Vector2.new(0.5, 0)
  147. white.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  148. white.BorderColor3 = Color3.new(1, 1, 1)
  149. white.Position = UDim2.new(0.180000007, 0, 0.909999907, 0)
  150. white.Size = UDim2.new(0, 100, 0, 30)
  151. white.AutoButtonColor = false
  152. white.Font = Enum.Font.SourceSansBold
  153. white.Text = "Team all white"
  154. white.TextColor3 = Color3.new(1, 1, 1)
  155. white.TextSize = 14
  156.  
  157.  
  158.  
  159. white.MouseButton1Down:connect(function()
  160. local ASD = game.Teams:GetChildren()
  161. for _,obj in pairs(ASD) do
  162. obj.Name = "Team".._
  163. end
  164.  
  165. for i, v in pairs(game.Players:GetPlayers()) do
  166.  
  167. game.Workspace.ChangeTeam:FireServer(game.Teams["Team1"].TeamColor, v)
  168. end
  169. end)
  170.  
  171. blue_2.Name = "blue"
  172. blue_2.Parent = Frame
  173. blue_2.AnchorPoint = Vector2.new(0.5, 0)
  174. blue_2.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  175. blue_2.BorderColor3 = Color3.new(1, 1, 1)
  176. blue_2.Position = UDim2.new(0.791999519, 0, 0.809999704, 0)
  177. blue_2.Size = UDim2.new(0, 100, 0, 30)
  178. blue_2.AutoButtonColor = false
  179. blue_2.Font = Enum.Font.SourceSansBold
  180. blue_2.Text = "Team all Blue"
  181. blue_2.TextColor3 = Color3.new(0.380392, 0.419608, 1)
  182. blue_2.TextSize = 14
  183.  
  184.  
  185.  
  186. blue_2.MouseButton1Down:connect(function()
  187. local ASD = game.Teams:GetChildren()
  188. for _,obj in pairs(ASD) do
  189. obj.Name = "Team".._
  190. end
  191.  
  192. for i, v in pairs(game.Players:GetPlayers()) do
  193.  
  194. game.Workspace.ChangeTeam:FireServer(game.Teams["Team2"].TeamColor, v)
  195. end
  196. end)
  197.  
  198. red.Name = "red"
  199. red.Parent = Frame
  200. red.AnchorPoint = Vector2.new(0.5, 0)
  201. red.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  202. red.BorderColor3 = Color3.new(1, 1, 1)
  203. red.Position = UDim2.new(0.791999996, 0, 0.910000026, 0)
  204. red.Size = UDim2.new(0, 100, 0, 30)
  205. red.AutoButtonColor = false
  206. red.Font = Enum.Font.SourceSansBold
  207. red.Text = "Team all Red"
  208. red.TextColor3 = Color3.new(1, 0.168627, 0.180392)
  209. red.TextSize = 14
  210.  
  211.  
  212.  
  213. red.MouseButton1Down:connect(function()
  214. local ASD = game.Teams:GetChildren()
  215. for _,obj in pairs(ASD) do
  216. obj.Name = "Team".._
  217. end
  218.  
  219. for i, v in pairs(game.Players:GetPlayers()) do
  220.  
  221. game.Workspace.ChangeTeam:FireServer(game.Teams["Team4"].TeamColor, v)
  222. end
  223. end)
  224.  
  225. Green.Name = "Green"
  226. Green.Parent = Frame
  227. Green.AnchorPoint = Vector2.new(0.5, 0)
  228. Green.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  229. Green.BorderColor3 = Color3.new(1, 1, 1)
  230. Green.Position = UDim2.new(0.180999979, 0, 0.810000002, 0)
  231. Green.Size = UDim2.new(0, 100, 0, 30)
  232. Green.AutoButtonColor = false
  233. Green.Font = Enum.Font.SourceSansBold
  234. Green.Text = "Team all Green"
  235. Green.TextColor3 = Color3.new(0, 0.333333, 0)
  236. Green.TextSize = 14
  237.  
  238.  
  239.  
  240. Green.MouseButton1Down:connect(function()
  241. local ASD = game.Teams:GetChildren()
  242. for _,obj in pairs(ASD) do
  243. obj.Name = "Team".._
  244. end
  245.  
  246. for i, v in pairs(game.Players:GetPlayers()) do
  247.  
  248. game.Workspace.ChangeTeam:FireServer(game.Teams["Team3"].TeamColor, v)
  249. end
  250. end)
  251.  
  252. black_2.Name = "black"
  253. black_2.Parent = Frame
  254. black_2.AnchorPoint = Vector2.new(0.5, 0)
  255. black_2.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  256. black_2.BorderColor3 = Color3.new(1, 1, 1)
  257. black_2.Position = UDim2.new(0.473999977, 0, 0.810000122, 0)
  258. black_2.Size = UDim2.new(0, 100, 0, 30)
  259. black_2.AutoButtonColor = false
  260. black_2.Font = Enum.Font.SourceSansBold
  261. black_2.Text = "Team all Black"
  262. black_2.TextColor3 = Color3.new(0, 0, 0)
  263. black_2.TextSize = 14
  264.  
  265.  
  266.  
  267. black_2.MouseButton1Down:connect(function()
  268. local ASD = game.Teams:GetChildren()
  269. for _,obj in pairs(ASD) do
  270. obj.Name = "Team".._
  271. end
  272.  
  273. for i, v in pairs(game.Players:GetPlayers()) do
  274.  
  275. game.Workspace.ChangeTeam:FireServer(game.Teams["Team5"].TeamColor, v)
  276. end
  277. end)
  278.  
  279.  
  280. red_2.Name = "red"
  281. red_2.Parent = Frame
  282. red_2.AnchorPoint = Vector2.new(0.5, 0)
  283. red_2.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  284. red_2.BorderColor3 = Color3.new(1, 1, 1)
  285. red_2.Position = UDim2.new(0.483886153, 0, 0.579999924, 0)
  286. red_2.Size = UDim2.new(0, 100, 0, 30)
  287. red_2.AutoButtonColor = false
  288. red_2.Font = Enum.Font.SourceSansBold
  289. red_2.Text = "Flood Red"
  290. red_2.TextColor3 = Color3.new(1, 0.168627, 0.180392)
  291. red_2.TextSize = 14
  292.  
  293.  
  294.  
  295. red_2.MouseButton1Down:connect(function()
  296. local RedEvent = game:GetService("Workspace")["Really redZone"].RE
  297. RedEvent:FireServer()
  298. end)
  299.  
  300.  
  301.  
  302.  
  303. Gold.Name = "Gold"
  304. Gold.Parent = Frame
  305. Gold.AnchorPoint = Vector2.new(0.5, 0)
  306. Gold.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  307. Gold.BorderColor3 = Color3.new(1, 1, 1)
  308. Gold.Position = UDim2.new(0.492227256, 0, 0.230000034, 0)
  309. Gold.Size = UDim2.new(0.049999997, 132, 0.00999999978, 30)
  310. Gold.AutoButtonColor = false
  311. Gold.Font = Enum.Font.SourceSansBold
  312. Gold.Text = "Gold!"
  313. Gold.TextColor3 = Color3.new(1, 1, 1)
  314. Gold.TextSize = 14
  315.  
  316. Yellow_2.Name = "Yellow"
  317. Yellow_2.Parent = Frame
  318. Yellow_2.AnchorPoint = Vector2.new(0.5, 0)
  319. Yellow_2.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  320. Yellow_2.BorderColor3 = Color3.new(1, 1, 1)
  321. Yellow_2.Position = UDim2.new(0.473886162, 0, 0.909999609, 0)
  322. Yellow_2.Size = UDim2.new(0, 100, 0, 30)
  323. Yellow_2.AutoButtonColor = false
  324. Yellow_2.Font = Enum.Font.SourceSansBold
  325. Yellow_2.Text = "Team all Yellow"
  326. Yellow_2.TextColor3 = Color3.new(1, 1, 0)
  327. Yellow_2.TextSize = 14
  328.  
  329. Green_2.Name = "Green"
  330. Green_2.Parent = Frame
  331. Green_2.AnchorPoint = Vector2.new(0.5, 0)
  332. Green_2.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  333. Green_2.BorderColor3 = Color3.new(1, 1, 1)
  334. Green_2.Position = UDim2.new(0.801421285, 0, 0.480000019, 0)
  335. Green_2.Size = UDim2.new(0, 100, 0, 30)
  336. Green_2.AutoButtonColor = false
  337. Green_2.Font = Enum.Font.SourceSansBold
  338. Green_2.Text = "Flood Green"
  339. Green_2.TextColor3 = Color3.new(0, 0.333333, 0)
  340. Green_2.TextSize = 14
  341.  
  342.  
  343.  
  344. Green_2.MouseButton1Down:connect(function()
  345. local GreenEvent = game:GetService("Workspace").CamoZone.RE
  346. GreenEvent:FireServer()
  347. end)
  348.  
  349.  
  350.  
  351. Gold.MouseButton1Down:connect(function()
  352. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,1360)
  353. wait(0,6)
  354. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,1606)
  355. wait(0,6)
  356. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,2110)
  357. wait(0,6)
  358. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,2356)
  359. wait(0,6)
  360. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,2860)
  361. wait(0,6)
  362. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,3610)
  363. wait(0,6)
  364. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,3856)
  365. wait(0,6)
  366. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,4360)
  367. wait(0,6)
  368. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,4606)
  369. wait(0,6)
  370. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,5111)
  371. wait(0,6)
  372. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,5356)
  373. wait(0,6)
  374. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,5860)
  375. wait(0,6)
  376. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,6106)
  377. wait(0,6)
  378. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,6610)
  379. wait(0,6)
  380. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,6857)
  381. wait(0,6)
  382. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,7360)
  383. wait(0,6)
  384. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,7606)
  385. wait(0,6)
  386. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,8110)
  387. wait(0,6)
  388. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,8356)
  389. wait(0,6)
  390. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-60,-250,9523)
  391. wait(0,6)
  392. end)
  393.  
  394.  
  395.  
  396. Yellow_2.MouseButton1Down:connect(function()
  397. local ASD = game.Teams:GetChildren()
  398. for _,obj in pairs(ASD) do
  399. obj.Name = "Team".._
  400. end
  401.  
  402. for i, v in pairs(game.Players:GetPlayers()) do
  403.  
  404. game.Workspace.ChangeTeam:FireServer(game.Teams["Team6"].TeamColor, v)
  405. end
  406. end)
Advertisement
Add Comment
Please, Sign In to add comment