Advertisement
Guest User

3g48h70g52n8g5u8n3g8unn35qbyq5b8

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