Advertisement
IGhostxGamerI

Build A Boat Awesome Gui

Jun 20th, 2018
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.22 KB | None | 0 0
  1. -- not mine
  2. -- https://v3rmillion.net/showthread.php?tid=590999
  3.  
  4. function CreateGui()
  5.  
  6. -- Objects
  7.  
  8. local friggysGui = Instance.new("ScreenGui")
  9. local Frame = Instance.new("Frame")
  10. local Red = Instance.new("TextButton")
  11. local White = Instance.new("TextButton")
  12. local Black = Instance.new("TextButton")
  13. local Yellow = Instance.new("TextButton")
  14. local Blue = Instance.new("TextButton")
  15. local Pink = Instance.new("TextButton")
  16. local Green = Instance.new("TextButton")
  17. local All = Instance.new("TextButton")
  18. local CBlue = Instance.new("TextButton")
  19. local CRed = Instance.new("TextButton")
  20. local CWhite = Instance.new("TextButton")
  21. local CYellow = Instance.new("TextButton")
  22. local CBlack = Instance.new("TextButton")
  23. local CPink = Instance.new("TextButton")
  24. local CNil = Instance.new("TextButton")
  25. local CGreen = Instance.new("TextButton")
  26. local TextBox = Instance.new("TextBox")
  27. local Back = Instance.new("TextButton")
  28. local Next = Instance.new("TextButton")
  29. local CWhite2 = Instance.new("TextButton")
  30. local CBlack2 = Instance.new("TextButton")
  31. local CRed2 = Instance.new("TextButton")
  32. local CYellow2 = Instance.new("TextButton")
  33. local CGreen2 = Instance.new("TextButton")
  34. local CPink2 = Instance.new("TextButton")
  35. local CNil2 = Instance.new("TextButton")
  36. local CBlue2 = Instance.new("TextButton")
  37. local FloodText = Instance.new("TextLabel")
  38. local ChangeText = Instance.new("TextLabel")
  39. local Change2Text = Instance.new("TextLabel")
  40. local ImageButton = Instance.new("ImageButton")
  41. local ImageButton2 = Instance.new("ImageButton")
  42.  
  43. -- Properties
  44.  
  45. friggysGui.Name = "friggysGui"
  46. friggysGui.Parent = game.CoreGui
  47.  
  48. Frame.Parent = friggysGui
  49. Frame.Active = true
  50. Frame.BackgroundColor3 = Color3.new(0.105882, 0.105882, 0.105882)
  51. Frame.Position = UDim2.new(0.13301374, 0, 0.286881804, 0)
  52. Frame.Draggable = true
  53. Frame.Size = UDim2.new(0, 374, 0, 621)
  54.  
  55. Red.Name = "Red"
  56. Red.Parent = Frame
  57. Red.BackgroundColor3 = Color3.new(1, 0.262745, 0.262745)
  58. Red.Position = UDim2.new(0.148204669, 0, 0.10303703, 0)
  59. Red.Size = UDim2.new(0, 50, 0, 50)
  60. Red.Font = Enum.Font.SourceSans
  61. Red.FontSize = Enum.FontSize.Size14
  62. Red.Text = "Red"
  63. Red.TextColor3 = Color3.new(0, 0, 0)
  64. Red.TextSize = 14
  65.  
  66. White.Name = "White"
  67. White.Parent = Frame
  68. White.BackgroundColor3 = Color3.new(1, 1, 1)
  69. White.Position = UDim2.new(0.719633341, 0, 0.103037037, 0)
  70. White.Size = UDim2.new(0, 50, 0, 50)
  71. White.Font = Enum.Font.SourceSans
  72. White.FontSize = Enum.FontSize.Size14
  73. White.Text = "White"
  74. White.TextColor3 = Color3.new(0, 0, 0)
  75. White.TextSize = 14
  76.  
  77. Black.Name = "Black"
  78. Black.Parent = Frame
  79. Black.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  80. Black.Position = UDim2.new(0.433919013, 0, 0.103037037, 0)
  81. Black.Size = UDim2.new(0, 50, 0, 50)
  82. Black.Font = Enum.Font.SourceSans
  83. Black.FontSize = Enum.FontSize.Size14
  84. Black.Text = "Black"
  85. Black.TextColor3 = Color3.new(0, 0, 0)
  86. Black.TextSize = 14
  87.  
  88. Yellow.Name = "Yellow"
  89. Yellow.Parent = Frame
  90. Yellow.BackgroundColor3 = Color3.new(1, 1, 0)
  91. Yellow.Position = UDim2.new(0.148204669, 0, 0.23288244, 0)
  92. Yellow.Size = UDim2.new(0, 50, 0, 50)
  93. Yellow.Font = Enum.Font.SourceSans
  94. Yellow.FontSize = Enum.FontSize.Size14
  95. Yellow.Text = "Yellow"
  96. Yellow.TextColor3 = Color3.new(0, 0, 0)
  97. Yellow.TextSize = 14
  98.  
  99. Blue.Name = "Blue"
  100. Blue.Parent = Frame
  101. Blue.BackgroundColor3 = Color3.new(0.4, 0.792157, 1)
  102. Blue.Position = UDim2.new(0.719633341, 0, 0.23288244, 0)
  103. Blue.Size = UDim2.new(0, 50, 0, 50)
  104. Blue.Font = Enum.Font.SourceSans
  105. Blue.FontSize = Enum.FontSize.Size14
  106. Blue.Text = "Blue"
  107. Blue.TextColor3 = Color3.new(0, 0, 0)
  108. Blue.TextSize = 14
  109.  
  110. Pink.Name = "Pink"
  111. Pink.Parent = Frame
  112. Pink.BackgroundColor3 = Color3.new(1, 0, 1)
  113. Pink.Position = UDim2.new(0.433919013, 0, 0.23288244, 0)
  114. Pink.Size = UDim2.new(0, 50, 0, 50)
  115. Pink.Font = Enum.Font.SourceSans
  116. Pink.FontSize = Enum.FontSize.Size14
  117. Pink.Text = "Pink"
  118. Pink.TextColor3 = Color3.new(0, 0, 0)
  119. Pink.TextSize = 14
  120.  
  121. Green.Name = "Green"
  122. Green.Parent = Frame
  123. Green.BackgroundColor3 = Color3.new(0.223529, 1, 0.313726)
  124. Green.Position = UDim2.new(0.288388044, 0, 0.345066011, 0)
  125. Green.Size = UDim2.new(0, 50, 0, 50)
  126. Green.Font = Enum.Font.SourceSans
  127. Green.FontSize = Enum.FontSize.Size14
  128. Green.Text = "Green"
  129. Green.TextColor3 = Color3.new(0, 0, 0)
  130. Green.TextSize = 14
  131.  
  132. All.Name = "All"
  133. All.Parent = Frame
  134. All.BackgroundColor3 = Color3.new(0.843137, 0.52549, 1)
  135. All.Position = UDim2.new(0.574102402, 0, 0.345066011, 0)
  136. All.Size = UDim2.new(0, 50, 0, 50)
  137. All.Font = Enum.Font.SourceSans
  138. All.FontSize = Enum.FontSize.Size14
  139. All.Text = "All"
  140. All.TextColor3 = Color3.new(0, 0, 0)
  141. All.TextSize = 14
  142.  
  143. CBlue.Name = "CBlue"
  144. CBlue.Parent = Frame
  145. CBlue.BackgroundColor3 = Color3.new(0.4, 0.792157, 1)
  146. CBlue.Position = UDim2.new(0.719633341, 0, 0.701610267, 0)
  147. CBlue.Size = UDim2.new(0, 50, 0, 50)
  148. CBlue.Font = Enum.Font.SourceSans
  149. CBlue.FontSize = Enum.FontSize.Size14
  150. CBlue.Text = "Blue"
  151. CBlue.TextColor3 = Color3.new(0, 0, 0)
  152. CBlue.TextSize = 14
  153.  
  154. CRed.Name = "CRed"
  155. CRed.Parent = Frame
  156. CRed.BackgroundColor3 = Color3.new(1, 0.262745, 0.262745)
  157. CRed.Position = UDim2.new(0.148204669, 0, 0.573375165, 0)
  158. CRed.Size = UDim2.new(0, 50, 0, 50)
  159. CRed.Font = Enum.Font.SourceSans
  160. CRed.FontSize = Enum.FontSize.Size14
  161. CRed.Text = "Red"
  162. CRed.TextColor3 = Color3.new(0, 0, 0)
  163. CRed.TextSize = 14
  164.  
  165. CWhite.Name = "CWhite"
  166. CWhite.Parent = Frame
  167. CWhite.BackgroundColor3 = Color3.new(1, 1, 1)
  168. CWhite.Position = UDim2.new(0.719633341, 0, 0.573375165, 0)
  169. CWhite.Size = UDim2.new(0, 50, 0, 50)
  170. CWhite.Font = Enum.Font.SourceSans
  171. CWhite.FontSize = Enum.FontSize.Size14
  172. CWhite.Text = "White"
  173. CWhite.TextColor3 = Color3.new(0, 0, 0)
  174. CWhite.TextSize = 14
  175.  
  176. CYellow.Name = "CYellow"
  177. CYellow.Parent = Frame
  178. CYellow.BackgroundColor3 = Color3.new(1, 1, 0)
  179. CYellow.Position = UDim2.new(0.148204669, 0, 0.701610267, 0)
  180. CYellow.Size = UDim2.new(0, 50, 0, 50)
  181. CYellow.Font = Enum.Font.SourceSans
  182. CYellow.FontSize = Enum.FontSize.Size14
  183. CYellow.Text = "Yellow"
  184. CYellow.TextColor3 = Color3.new(0, 0, 0)
  185. CYellow.TextSize = 14
  186.  
  187. CBlack.Name = "CBlack"
  188. CBlack.Parent = Frame
  189. CBlack.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  190. CBlack.Position = UDim2.new(0.433919013, 0, 0.573375165, 0)
  191. CBlack.Size = UDim2.new(0, 50, 0, 50)
  192. CBlack.Font = Enum.Font.SourceSans
  193. CBlack.FontSize = Enum.FontSize.Size14
  194. CBlack.Text = "Black"
  195. CBlack.TextColor3 = Color3.new(0, 0, 0)
  196. CBlack.TextSize = 14
  197.  
  198. CPink.Name = "CPink"
  199. CPink.Parent = Frame
  200. CPink.BackgroundColor3 = Color3.new(1, 0, 1)
  201. CPink.Position = UDim2.new(0.433919013, 0, 0.701610267, 0)
  202. CPink.Size = UDim2.new(0, 50, 0, 50)
  203. CPink.Font = Enum.Font.SourceSans
  204. CPink.FontSize = Enum.FontSize.Size14
  205. CPink.Text = "Pink"
  206. CPink.TextColor3 = Color3.new(0, 0, 0)
  207. CPink.TextSize = 14
  208.  
  209. CNil.Name = "CNil"
  210. CNil.Parent = Frame
  211. CNil.BackgroundColor3 = Color3.new(0.843137, 0.52549, 1)
  212. CNil.Position = UDim2.new(0.571428597, 0, 0.819896936, 0)
  213. CNil.Size = UDim2.new(0, 50, 0, 50)
  214. CNil.Font = Enum.Font.SourceSans
  215. CNil.FontSize = Enum.FontSize.Size14
  216. CNil.Text = "Nil"
  217. CNil.TextColor3 = Color3.new(0, 0, 0)
  218. CNil.TextSize = 14
  219.  
  220. CGreen.Name = "CGreen"
  221. CGreen.Parent = Frame
  222. CGreen.BackgroundColor3 = Color3.new(0.223529, 1, 0.313726)
  223. CGreen.Position = UDim2.new(0.285714269, 0, 0.819896936, 0)
  224. CGreen.Size = UDim2.new(0, 50, 0, 50)
  225. CGreen.Font = Enum.Font.SourceSans
  226. CGreen.FontSize = Enum.FontSize.Size14
  227. CGreen.Text = "Green"
  228. CGreen.TextColor3 = Color3.new(0, 0, 0)
  229. CGreen.TextSize = 14
  230.  
  231. TextBox.Parent = Frame
  232. TextBox.BackgroundColor3 = Color3.new(0.333333, 0.333333, 0.866667)
  233. TextBox.Position = UDim2.new(0.232620358, 0, 0.553945243, 0)
  234. TextBox.Size = UDim2.new(0, 200, 0, 50)
  235. TextBox.Visible = false
  236. TextBox.Font = Enum.Font.SourceSans
  237. TextBox.FontSize = Enum.FontSize.Size14
  238. TextBox.Text = "Player Name Here"
  239. TextBox.TextColor3 = Color3.new(1, 1, 1)
  240. TextBox.TextScaled = true
  241. TextBox.TextSize = 14
  242. TextBox.TextWrapped = true
  243.  
  244. Back.Name = "Back"
  245. Back.Parent = Frame
  246. Back.BackgroundColor3 = Color3.new(0.333333, 0.333333, 0.866667)
  247. Back.Position = UDim2.new(0.893048286, 0, 0.935587764, 0)
  248. Back.Size = UDim2.new(0, 40, 0, 40)
  249. Back.Visible = false
  250. Back.Font = Enum.Font.SourceSans
  251. Back.FontSize = Enum.FontSize.Size14
  252. Back.Text = "Back"
  253. Back.TextColor3 = Color3.new(0, 0, 0)
  254. Back.TextSize = 14
  255.  
  256. Next.Name = "Next"
  257. Next.Parent = Frame
  258. Next.BackgroundColor3 = Color3.new(0.333333, 0.333333, 0.866667)
  259. Next.Position = UDim2.new(0.893048286, 0, 0.935587764, 0)
  260. Next.Size = UDim2.new(0, 40, 0, 40)
  261. Next.Font = Enum.Font.SourceSans
  262. Next.FontSize = Enum.FontSize.Size14
  263. Next.Text = "Next"
  264. Next.TextColor3 = Color3.new(0, 0, 0)
  265. Next.TextSize = 14
  266.  
  267. CWhite2.Name = "CWhite2"
  268. CWhite2.Parent = Frame
  269. CWhite2.BackgroundColor3 = Color3.new(1, 1, 1)
  270. CWhite2.Position = UDim2.new(0.71963346, 0, 0.658721387, 0)
  271. CWhite2.Size = UDim2.new(0, 50, 0, 50)
  272. CWhite2.Visible = false
  273. CWhite2.Font = Enum.Font.SourceSans
  274. CWhite2.FontSize = Enum.FontSize.Size14
  275. CWhite2.Text = "White"
  276. CWhite2.TextColor3 = Color3.new(0, 0, 0)
  277. CWhite2.TextSize = 14
  278.  
  279. CBlack2.Name = "CBlack2"
  280. CBlack2.Parent = Frame
  281. CBlack2.BackgroundColor3 = Color3.new(0.239216, 0.239216, 0.239216)
  282. CBlack2.Position = UDim2.new(0.433919072, 0, 0.658721387, 0)
  283. CBlack2.Size = UDim2.new(0, 50, 0, 50)
  284. CBlack2.Visible = false
  285. CBlack2.Font = Enum.Font.SourceSans
  286. CBlack2.FontSize = Enum.FontSize.Size14
  287. CBlack2.Text = "Black"
  288. CBlack2.TextColor3 = Color3.new(0, 0, 0)
  289. CBlack2.TextSize = 14
  290.  
  291. CRed2.Name = "CRed2"
  292. CRed2.Parent = Frame
  293. CRed2.BackgroundColor3 = Color3.new(1, 0.262745, 0.262745)
  294. CRed2.Position = UDim2.new(0.148204684, 0, 0.658721387, 0)
  295. CRed2.Size = UDim2.new(0, 50, 0, 50)
  296. CRed2.Visible = false
  297. CRed2.Font = Enum.Font.SourceSans
  298. CRed2.FontSize = Enum.FontSize.Size14
  299. CRed2.Text = "Red"
  300. CRed2.TextColor3 = Color3.new(0, 0, 0)
  301. CRed2.TextSize = 14
  302.  
  303. CYellow2.Name = "CYellow2"
  304. CYellow2.Parent = Frame
  305. CYellow2.BackgroundColor3 = Color3.new(1, 1, 0)
  306. CYellow2.Position = UDim2.new(0.148204684, 0, 0.786956489, 0)
  307. CYellow2.Size = UDim2.new(0, 50, 0, 50)
  308. CYellow2.Visible = false
  309. CYellow2.Font = Enum.Font.SourceSans
  310. CYellow2.FontSize = Enum.FontSize.Size14
  311. CYellow2.Text = "Yellow"
  312. CYellow2.TextColor3 = Color3.new(0, 0, 0)
  313. CYellow2.TextSize = 14
  314.  
  315. CGreen2.Name = "CGreen2"
  316. CGreen2.Parent = Frame
  317. CGreen2.BackgroundColor3 = Color3.new(0.223529, 1, 0.313726)
  318. CGreen2.Position = UDim2.new(0.285714269, 0, 0.905243158, 0)
  319. CGreen2.Size = UDim2.new(0, 50, 0, 50)
  320. CGreen2.Visible = false
  321. CGreen2.Font = Enum.Font.SourceSans
  322. CGreen2.FontSize = Enum.FontSize.Size14
  323. CGreen2.Text = "Green"
  324. CGreen2.TextColor3 = Color3.new(0, 0, 0)
  325. CGreen2.TextSize = 14
  326.  
  327. CPink2.Name = "CPink2"
  328. CPink2.Parent = Frame
  329. CPink2.BackgroundColor3 = Color3.new(1, 0, 1)
  330. CPink2.Position = UDim2.new(0.433919072, 0, 0.786956489, 0)
  331. CPink2.Size = UDim2.new(0, 50, 0, 50)
  332. CPink2.Visible = false
  333. CPink2.Font = Enum.Font.SourceSans
  334. CPink2.FontSize = Enum.FontSize.Size14
  335. CPink2.Text = "Pink"
  336. CPink2.TextColor3 = Color3.new(0, 0, 0)
  337. CPink2.TextSize = 14
  338.  
  339. CNil2.Name = "CNil2"
  340. CNil2.Parent = Frame
  341. CNil2.BackgroundColor3 = Color3.new(0.843137, 0.52549, 1)
  342. CNil2.Position = UDim2.new(0.571, 0, 0.905243158, 0)
  343. CNil2.Size = UDim2.new(0, 50, 0, 50)
  344. CNil2.Visible = false
  345. CNil2.Font = Enum.Font.SourceSans
  346. CNil2.FontSize = Enum.FontSize.Size14
  347. CNil2.Text = "Nil"
  348. CNil2.TextColor3 = Color3.new(0, 0, 0)
  349. CNil2.TextSize = 14
  350.  
  351. CBlue2.Name = "CBlue2"
  352. CBlue2.Parent = Frame
  353. CBlue2.BackgroundColor3 = Color3.new(0.4, 0.792157, 1)
  354. CBlue2.Position = UDim2.new(0.71963346, 0, 0.786956489, 0)
  355. CBlue2.Size = UDim2.new(0, 50, 0, 50)
  356. CBlue2.Visible = false
  357. CBlue2.Font = Enum.Font.SourceSans
  358. CBlue2.FontSize = Enum.FontSize.Size14
  359. CBlue2.Text = "Blue"
  360. CBlue2.TextColor3 = Color3.new(0, 0, 0)
  361. CBlue2.TextSize = 14
  362.  
  363. FloodText.Name = "FloodText"
  364. FloodText.Parent = Frame
  365. FloodText.BackgroundColor3 = Color3.new(0.105882, 0.105882, 0.105882)
  366. FloodText.BorderColor3 = Color3.new(0.105882, 0.105882, 0.105882)
  367. FloodText.Position = UDim2.new(0.229946524, 0, 0.00966183562, 0)
  368. FloodText.Size = UDim2.new(0, 200, 0, 50)
  369. FloodText.Font = Enum.Font.Fantasy
  370. FloodText.FontSize = Enum.FontSize.Size14
  371. FloodText.Text = "Flood"
  372. FloodText.TextColor3 = Color3.new(1, 1, 1)
  373. FloodText.TextScaled = true
  374. FloodText.TextSize = 14
  375. FloodText.TextWrapped = true
  376.  
  377. ChangeText.Name = "ChangeText"
  378. ChangeText.Parent = Frame
  379. ChangeText.BackgroundColor3 = Color3.new(0.105882, 0.105882, 0.105882)
  380. ChangeText.BorderColor3 = Color3.new(0.105882, 0.105882, 0.105882)
  381. ChangeText.Position = UDim2.new(0.0882352889, 0, 0.458937198, 0)
  382. ChangeText.Size = UDim2.new(0, 307, 0, 50)
  383. ChangeText.Font = Enum.Font.Fantasy
  384. ChangeText.FontSize = Enum.FontSize.Size14
  385. ChangeText.Text = "Change Team (All)"
  386. ChangeText.TextColor3 = Color3.new(1, 1, 1)
  387. ChangeText.TextScaled = true
  388. ChangeText.TextSize = 14
  389. ChangeText.TextWrapped = true
  390.  
  391. Change2Text.Name = "Change2Text"
  392. Change2Text.Parent = Frame
  393. Change2Text.BackgroundColor3 = Color3.new(0.105882, 0.105882, 0.105882)
  394. Change2Text.BorderColor3 = Color3.new(0.105882, 0.105882, 0.105882)
  395. Change2Text.Position = UDim2.new(0.0882352889, 0, 0.458937198, 0)
  396. Change2Text.Size = UDim2.new(0, 307, 0, 50)
  397. Change2Text.Visible = false
  398. Change2Text.Font = Enum.Font.Fantasy
  399. Change2Text.FontSize = Enum.FontSize.Size14
  400. Change2Text.Text = "Change Team"
  401. Change2Text.TextColor3 = Color3.new(1, 1, 1)
  402. Change2Text.TextScaled = true
  403. Change2Text.TextSize = 14
  404. Change2Text.TextWrapped = true
  405.  
  406. ImageButton.Parent = friggysGui
  407. ImageButton.BackgroundColor3 = Color3.new(1, 1, 1)
  408. ImageButton.Position = UDim2.new(0.00364773325, 0, 0.587319916, 0)
  409. ImageButton.Size = UDim2.new(0, 100, 0, 100)
  410. ImageButton.Visible = false
  411. ImageButton.Image = "rbxassetid://85432288"
  412.  
  413. ImageButton2.Parent = friggysGui
  414. ImageButton2.BackgroundColor3 = Color3.new(1, 1, 1)
  415. ImageButton2.Position = UDim2.new(0.00364773325, 0, 0.587319916, 0)
  416. ImageButton2.Size = UDim2.new(0, 100, 0, 100)
  417. ImageButton2.Image = "rbxassetid://85432288"
  418.  
  419.  
  420. -- Functions
  421.  
  422. Blue.MouseButton1Down:connect(function()
  423. local BlueEvent = game:GetService("Workspace")["Really blueZone"].RE
  424. BlueEvent:FireServer()
  425. end)
  426.  
  427. Red.MouseButton1Down:connect(function()
  428. local RedEvent = game:GetService("Workspace")["Really redZone"].RE
  429. RedEvent:FireServer()
  430. end)
  431.  
  432. Green.MouseButton1Down:connect(function()
  433. local GreenEvent = game:GetService("Workspace").CamoZone.RE
  434. GreenEvent:FireServer()
  435. end)
  436.  
  437. Black.MouseButton1Down:connect(function()
  438. local BlackEvent = game:GetService("Workspace").BlackZone.RE
  439. BlackEvent:FireServer()
  440. end)
  441.  
  442. Pink.MouseButton1Down:connect(function()
  443. local MagentaEvent = game:GetService("Workspace").MagentaZone.RE
  444. MagentaEvent:FireServer()
  445. end)
  446.  
  447. White.MouseButton1Down:connect(function()
  448. local WhiteEvent = game:GetService("Workspace").WhiteZone.RE
  449. WhiteEvent:FireServer()
  450. end)
  451.  
  452. Yellow.MouseButton1Down:connect(function()
  453. local YellowEvent = game:GetService("Workspace")["New YellerZone"].RE
  454. YellowEvent:FireServer()
  455. end)
  456.  
  457. All.MouseButton1Down:connect(function()
  458. local BlueEvent = game:GetService("Workspace")["Really blueZone"].RE
  459. BlueEvent:FireServer()
  460.  
  461. local YellowEvent = game:GetService("Workspace")["New YellerZone"].RE
  462. YellowEvent:FireServer()
  463.  
  464. local BlackEvent = game:GetService("Workspace").BlackZone.RE
  465. BlackEvent:FireServer()
  466.  
  467. local RedEvent = game:GetService("Workspace")["Really redZone"].RE
  468. RedEvent:FireServer()
  469.  
  470. local GreenEvent = game:GetService("Workspace").CamoZone.RE
  471. GreenEvent:FireServer()
  472.  
  473. local WhiteEvent = game:GetService("Workspace").WhiteZone.RE
  474. WhiteEvent:FireServer()
  475.  
  476. local MagentaEvent = game:GetService("Workspace").MagentaZone.RE
  477. MagentaEvent:FireServer()
  478. end)
  479.  
  480. CBlue.MouseButton1Down:connect(function()
  481. local BColor = BrickColor.new("Really blue")
  482. for _,v in next, game:GetService("Players"):GetChildren() do
  483. local A_1 = BColor
  484. local A_2 = v
  485. local Event = game:GetService("Workspace").ChangeTeam
  486. Event:FireServer(A_1, A_2)
  487. end
  488. end)
  489.  
  490. CRed.MouseButton1Down:connect(function()
  491. local BColor = BrickColor.new("Really red")
  492. for _,v in next, game:GetService("Players"):GetChildren() do
  493. local A_1 = BColor
  494. local A_2 = v
  495. local Event = game:GetService("Workspace").ChangeTeam
  496. Event:FireServer(A_1, A_2)
  497. end
  498. end)
  499.  
  500. CGreen.MouseButton1Down:connect(function()
  501. local BColor = BrickColor.new("Camo")
  502. for _,v in next, game:GetService("Players"):GetChildren() do
  503. local A_1 = BColor
  504. local A_2 = v
  505. local Event = game:GetService("Workspace").ChangeTeam
  506. Event:FireServer(A_1, A_2)
  507. end
  508. end)
  509.  
  510. CBlack.MouseButton1Down:connect(function()
  511. local BColor = BrickColor.new("Black")
  512. for _,v in next, game:GetService("Players"):GetChildren() do
  513. local A_1 = BColor
  514. local A_2 = v
  515. local Event = game:GetService("Workspace").ChangeTeam
  516. Event:FireServer(A_1, A_2)
  517. end
  518. end)
  519.  
  520. CPink.MouseButton1Down:connect(function()
  521. local BColor = BrickColor.new("Magenta")
  522. for _,v in next, game:GetService("Players"):GetChildren() do
  523. local A_1 = BColor
  524. local A_2 = v
  525. local Event = game:GetService("Workspace").ChangeTeam
  526. Event:FireServer(A_1, A_2)
  527. end
  528. end)
  529.  
  530. CWhite.MouseButton1Down:connect(function()
  531. local BColor = BrickColor.new("White")
  532. for _,v in next, game:GetService("Players"):GetChildren() do
  533. local A_1 = BColor
  534. local A_2 = v
  535. local Event = game:GetService("Workspace").ChangeTeam
  536. Event:FireServer(A_1, A_2)
  537. end
  538. end)
  539.  
  540. CYellow.MouseButton1Down:connect(function()
  541. local BColor = BrickColor.new("New Yeller")
  542. for _,v in next, game:GetService("Players"):GetChildren() do
  543. local A_1 = BColor
  544. local A_2 = v
  545. local Event = game:GetService("Workspace").ChangeTeam
  546. Event:FireServer(A_1, A_2)
  547. end
  548. end)
  549.  
  550. CNil.MouseButton1Down:connect(function()
  551. local BColor = BrickColor.new("nil")
  552. for _,v in next, game:GetService("Players"):GetChildren() do
  553. local A_1 = BColor
  554. local A_2 = v
  555. local Event = game:GetService("Workspace").ChangeTeam
  556. Event:FireServer(A_1, A_2)
  557. end
  558. end)
  559.  
  560. CBlue2.MouseButton1Down:connect(function()
  561. local BColor = BrickColor.new("Really blue")
  562. for _,v in next, game:GetService("Players"):GetChildren() do
  563. local A_1 = BColor
  564. local A_2 = game.Players[TextBox.Text]
  565. local Event = game:GetService("Workspace").ChangeTeam
  566. Event:FireServer(A_1, A_2)
  567. end
  568. end)
  569.  
  570. CRed2.MouseButton1Down:connect(function()
  571. local BColor = BrickColor.new("Really red")
  572. for _,v in next, game:GetService("Players"):GetChildren() do
  573. local A_1 = BColor
  574. local A_2 = game.Players[TextBox.Text]
  575. local Event = game:GetService("Workspace").ChangeTeam
  576. Event:FireServer(A_1, A_2)
  577. end
  578. end)
  579.  
  580. CGreen2.MouseButton1Down:connect(function()
  581. local BColor = BrickColor.new("Camo")
  582. for _,v in next, game:GetService("Players"):GetChildren() do
  583. local A_1 = BColor
  584. local A_2 = game.Players[TextBox.Text]
  585. local Event = game:GetService("Workspace").ChangeTeam
  586. Event:FireServer(A_1, A_2)
  587. end
  588. end)
  589.  
  590. CBlack2.MouseButton1Down:connect(function()
  591. local BColor = BrickColor.new("Black")
  592. for _,v in next, game:GetService("Players"):GetChildren() do
  593. local A_1 = BColor
  594. local A_2 = game.Players[TextBox.Text]
  595. local Event = game:GetService("Workspace").ChangeTeam
  596. Event:FireServer(A_1, A_2)
  597. end
  598. end)
  599.  
  600. CPink2.MouseButton1Down:connect(function()
  601. local BColor = BrickColor.new("Magenta")
  602. for _,v in next, game:GetService("Players"):GetChildren() do
  603. local A_1 = BColor
  604. local A_2 = game.Players[TextBox.Text]
  605. local Event = game:GetService("Workspace").ChangeTeam
  606. Event:FireServer(A_1, A_2)
  607. end
  608. end)
  609.  
  610. CWhite2.MouseButton1Down:connect(function()
  611. local BColor = BrickColor.new("White")
  612. for _,v in next, game:GetService("Players"):GetChildren() do
  613. local A_1 = BColor
  614. local A_2 = game.Players[TextBox.Text]
  615. local Event = game:GetService("Workspace").ChangeTeam
  616. Event:FireServer(A_1, A_2)
  617. end
  618. end)
  619.  
  620. CYellow2.MouseButton1Down:connect(function()
  621. local BColor = BrickColor.new("New Yeller")
  622. for _,v in next, game:GetService("Players"):GetChildren() do
  623. local A_1 = BColor
  624. local A_2 = game.Players[TextBox.Text]
  625. local Event = game:GetService("Workspace").ChangeTeam
  626. Event:FireServer(A_1, A_2)
  627. end
  628. end)
  629.  
  630. CNil2.MouseButton1Down:connect(function()
  631. local BColor = BrickColor.new("nil")
  632. for _,v in next, game:GetService("Players"):GetChildren() do
  633. local A_1 = BColor
  634. local A_2 = game.Players[TextBox.Text]
  635. local Event = game:GetService("Workspace").ChangeTeam
  636. Event:FireServer(A_1, A_2)
  637. end
  638. end)
  639.  
  640. Next.MouseButton1Down:connect(function()
  641. Next.Visible = false
  642. ChangeText.Visible = false
  643. CGreen.Visible = false
  644. CRed.Visible = false
  645. CYellow.Visible = false
  646. CBlack.Visible = false
  647. CBlue.Visible = false
  648. CPink.Visible = false
  649. CWhite.Visible = false
  650. CNil.Visible = false
  651. CGreen2.Visible = true
  652. CRed2.Visible = true
  653. CYellow2.Visible = true
  654. CBlack2.Visible = true
  655. CBlue2.Visible = true
  656. CPink2.Visible = true
  657. CWhite2.Visible = true
  658. CNil2.Visible = true
  659. Back.Visible = true
  660. Change2Text.Visible = true
  661. TextBox.Visible = true
  662. end)
  663.  
  664. Back.MouseButton1Down:connect(function()
  665. Next.Visible = true
  666. ChangeText.Visible = true
  667. CGreen.Visible = true
  668. CRed.Visible = true
  669. CYellow.Visible = true
  670. CBlack.Visible = true
  671. CBlue.Visible = true
  672. CPink.Visible = true
  673. CWhite.Visible = true
  674. CNil.Visible = true
  675. CGreen2.Visible = false
  676. CRed2.Visible = false
  677. CYellow2.Visible = false
  678. CBlack2.Visible = false
  679. CBlue2.Visible = false
  680. CPink2.Visible = false
  681. CWhite2.Visible = false
  682. CNil2.Visible = false
  683. Back.Visible = false
  684. TextBox.Visible = false
  685. Change2Text.Visible = false
  686. end)
  687.  
  688. ImageButton.MouseButton1Down:connect(function()
  689. ImageButton.Visible = false
  690. Frame.Visible = true
  691. ImageButton2.Visible = true
  692. end)
  693.  
  694. ImageButton2.MouseButton1Down:connect(function()
  695. ImageButton2.Visible = false
  696. Frame.Visible = false
  697. ImageButton.Visible = true
  698. end)
  699.  
  700. end
  701.  
  702. CreateGui()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement