Advertisement
FilterYT

Untitled

Apr 17th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.81 KB | None | 0 0
  1. if game.CoreGui:FindFirstChild('Lumonex') then
  2. game.CoreGui.Lumonex:destroy()
  3. end
  4. local Lumonex = Instance.new('ScreenGui')
  5. local Main = Instance.new('Frame')
  6. local Title = Instance.new('TextLabel')
  7. local Version = Instance.new('TextLabel')
  8. local Players = Instance.new('Frame')
  9. local P1 = Instance.new('TextButton')
  10. local P2 = Instance.new('TextButton')
  11. local P3 = Instance.new('TextButton')
  12. local P4 = Instance.new('TextButton')
  13. local P5 = Instance.new('TextButton')
  14. local P6 = Instance.new('TextButton')
  15. local Locations = Instance.new('ScrollingFrame')
  16. local Spawn = Instance.new('TextButton')
  17. local LandStore = Instance.new('TextButton')
  18. local Dock = Instance.new('TextButton')
  19. local WoodRUs = Instance.new('TextButton')
  20. local LinksLogic = Instance.new('TextButton')
  21. local Cave = Instance.new('TextButton')
  22. local Swamp = Instance.new('TextButton')
  23. local Volcano = Instance.new('TextButton')
  24. local FancyFurnishings = Instance.new('TextButton')
  25. local PalmIsland = Instance.new('TextButton')
  26. local FineArtsShop = Instance.new('TextButton')
  27. local BoxedCars = Instance.new('TextButton')
  28. local ShrineofSight = Instance.new('TextButton')
  29. local BobsShack = Instance.new('TextButton')
  30. local PSelected = Instance.new('TextLabel')
  31. local LocSelected = Instance.new('TextLabel')
  32. local TpToPlr = Instance.new('TextButton')
  33. local TpToLoc = Instance.new('TextButton')
  34. local TpToPlot = Instance.new('TextButton')
  35. local TpToPlrsPlot = Instance.new('TextButton')
  36. local BringWood = Instance.new('TextButton')
  37. local Cls = Instance.new('TextButton')
  38. local Open = Instance.new('TextButton')
  39. local CG = game.CoreGui
  40. --if game.Players.LocalPlayer.Name == 'ArivaAriva' or game.Players.LocalPlayer.Name == 'Kidd_Ink' or game.Players.LocalPlayer.Name == 'HAZERTIS' or game.Players.LocalPlayer.Name == 'Jwar67' or game.Players.LocalPlayer.Name == 'lblazikenn' or game.Players.LocalPlayer.Name == 'WolfyWolfyDk' or game.Players.LocalPlayer.Name == 'clash778' or game.Players.LocalPlayer.Name == 'fireconnor234' then
  41. Lumonex.Name = 'Lumonex'
  42. Lumonex.Parent = game.CoreGui
  43. do
  44. local CGG = CG.Lumonex
  45. Main.Name = 'Main'
  46. Main.Parent = Lumonex
  47. Main.BackgroundColor3 = Color3.new(1, 0.819608, 0.360784)
  48. Main.BorderSizePixel = 5
  49. Main.Position = UDim2.new(0, 325, 0, 75)
  50. Main.Size = UDim2.new(0, 500, 0, 400)
  51. Main.Active = true
  52. Main.Visible = false
  53. Main.Draggable = true
  54. Title.Name = 'Title'
  55. Title.Parent = Main
  56. Title.BackgroundColor3 = Color3.new(1, 0.772549, 0.0901961)
  57. Title.Size = UDim2.new(0, 500, 0, 35)
  58. Title.Font = Enum.Font.Code
  59. Title.FontSize = Enum.FontSize.Size18
  60. Title.Text = 'Lumonex'
  61. Title.TextColor3 = Color3.new(0.988235, 0.988235, 0.988235)
  62. Title.TextSize = 18
  63. Version.Name = 'Version'
  64. Version.Parent = Main
  65. Version.BackgroundColor3 = Color3.new(1, 1, 1)
  66. Version.BackgroundTransparency = 1
  67. Version.Position = UDim2.new(0, 3, 0, 370)
  68. Version.Size = UDim2.new(0, 50, 0, 25)
  69. Version.Font = Enum.Font.Code
  70. Version.FontSize = Enum.FontSize.Size18
  71. Version.Text = 'v1.0'
  72. Version.TextSize = 18
  73. Version.TextXAlignment = Enum.TextXAlignment.Left
  74. Players.Name = 'Players'
  75. Players.Parent = Main
  76. Players.BackgroundColor3 = Color3.new(1, 0.729412, 0.184314)
  77. Players.Position = UDim2.new(0, 75, 0, 300)
  78. Players.Size = UDim2.new(0, 347, 0, 63)
  79. P1.Name = 'P1'
  80. P1.Parent = Players
  81. P1.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  82. P1.Size = UDim2.new(0, 115, 0, 30)
  83. P1.Visible = false
  84. P1.Font = Enum.Font.Cartoon
  85. P1.FontSize = Enum.FontSize.Size14
  86. P1.Text = ''
  87. P1.TextColor3 = Color3.new(1, 1, 1)
  88. P1.TextSize = 14
  89. P2.Name = 'P2'
  90. P2.Parent = Players
  91. P2.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  92. P2.Position = UDim2.new(0, 116, 0, 0)
  93. P2.Size = UDim2.new(0, 115, 0, 30)
  94. P2.Visible = false
  95. P2.Font = Enum.Font.Cartoon
  96. P2.FontSize = Enum.FontSize.Size14
  97. P2.Text = ''
  98. P2.TextColor3 = Color3.new(1, 1, 1)
  99. P2.TextSize = 14
  100. P3.Name = 'P3'
  101. P3.Parent = Players
  102. P3.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  103. P3.Position = UDim2.new(0, 232, 0, 0)
  104. P3.Size = UDim2.new(0, 115, 0, 30)
  105. P3.Visible = false
  106. P3.Font = Enum.Font.Cartoon
  107. P3.FontSize = Enum.FontSize.Size14
  108. P3.Text = ''
  109. P3.TextColor3 = Color3.new(1, 1, 1)
  110. P3.TextSize = 14
  111. P4.Name = 'P4'
  112. P4.Parent = Players
  113. P4.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  114. P4.Position = UDim2.new(0, 232, 0, 32)
  115. P4.Size = UDim2.new(0, 115, 0, 30)
  116. P4.Visible = false
  117. P4.Font = Enum.Font.Cartoon
  118. P4.FontSize = Enum.FontSize.Size14
  119. P4.Text = ''
  120. P4.TextColor3 = Color3.new(1, 1, 1)
  121. P4.TextSize = 14
  122. P5.Name = 'P5'
  123. P5.Parent = Players
  124. P5.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  125. P5.Position = UDim2.new(0, 116, 0, 32)
  126. P5.Size = UDim2.new(0, 115, 0, 30)
  127. P5.Visible = false
  128. P5.Font = Enum.Font.Cartoon
  129. P5.FontSize = Enum.FontSize.Size14
  130. P5.Text = ''
  131. P5.TextColor3 = Color3.new(1, 1, 1)
  132. P5.TextSize = 14
  133. P6.Name = 'P6'
  134. P6.Parent = Players
  135. P6.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  136. P6.Position = UDim2.new(0, 0, 0, 32)
  137. P6.Size = UDim2.new(0, 115, 0, 30)
  138. P6.Visible = false
  139. P6.Font = Enum.Font.Cartoon
  140. P6.FontSize = Enum.FontSize.Size14
  141. P6.Text = ''
  142. P6.TextColor3 = Color3.new(1, 1, 1)
  143. P6.TextSize = 14
  144. Locations.Name = 'Locations'
  145. Locations.Parent = Main
  146. Locations.BackgroundColor3 = Color3.new(1, 0.803922, 0.403922)
  147. Locations.Position = UDim2.new(0, 75, 0, 175)
  148. Locations.Size = UDim2.new(0, 347, 0, 57)
  149. Locations.CanvasSize = UDim2.new(1, 200, 0, 0)
  150. Locations.ScrollBarThickness = 6
  151. Spawn.Name = 'Spawn'
  152. Spawn.Parent = Locations
  153. Spawn.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  154. Spawn.Size = UDim2.new(0, 100, 0, 25)
  155. Spawn.Font = Enum.Font.Code
  156. Spawn.FontSize = Enum.FontSize.Size12
  157. Spawn.Text = 'Spawn'
  158. Spawn.TextSize = 12
  159. LandStore.Name = 'Land Store'
  160. LandStore.Parent = Locations
  161. LandStore.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  162. LandStore.Position = UDim2.new(0, 0, 0, 25)
  163. LandStore.Size = UDim2.new(0, 100, 0, 25)
  164. LandStore.Font = Enum.Font.Code
  165. LandStore.FontSize = Enum.FontSize.Size12
  166. LandStore.Text = 'Land Store'
  167. LandStore.TextSize = 12
  168. Dock.Name = 'Dock'
  169. Dock.Parent = Locations
  170. Dock.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  171. Dock.Position = UDim2.new(0, 100, 0, 25)
  172. Dock.Size = UDim2.new(0, 100, 0, 25)
  173. Dock.Font = Enum.Font.Code
  174. Dock.FontSize = Enum.FontSize.Size12
  175. Dock.Text = 'Dock'
  176. Dock.TextSize = 12
  177. WoodRUs.Name = 'Wood RUs'
  178. WoodRUs.Parent = Locations
  179. WoodRUs.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  180. WoodRUs.Position = UDim2.new(0, 100, 0, 0)
  181. WoodRUs.Size = UDim2.new(0, 100, 0, 25)
  182. WoodRUs.Font = Enum.Font.Code
  183. WoodRUs.FontSize = Enum.FontSize.Size12
  184. WoodRUs.Text = 'Wood RUs'
  185. WoodRUs.TextSize = 12
  186. LinksLogic.Name = 'Link's Logic'
  187. LinksLogic.Parent = Locations
  188. LinksLogic.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  189. LinksLogic.Position = UDim2.new(0, 200, 0, 0)
  190. LinksLogic.Size = UDim2.new(0, 100, 0, 25)
  191. LinksLogic.Font = Enum.Font.Code
  192. LinksLogic.FontSize = Enum.FontSize.Size12
  193. LinksLogic.Text = 'Link's Logic'
  194. LinksLogic.TextSize = 12
  195. Cave.Name = 'Cave'
  196. Cave.Parent = Locations
  197. Cave.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  198. Cave.Position = UDim2.new(0, 200, 0, 25)
  199. Cave.Size = UDim2.new(0, 100, 0, 25)
  200. Cave.Font = Enum.Font.Code
  201. Cave.FontSize = Enum.FontSize.Size12
  202. Cave.Text = 'Cave'
  203. Cave.TextSize = 12
  204. Swamp.Name = 'Swamp'
  205. Swamp.Parent = Locations
  206. Swamp.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  207. Swamp.Position = UDim2.new(0, 300, 0, 25)
  208. Swamp.Size = UDim2.new(0, 100, 0, 25)
  209. Swamp.Font = Enum.Font.Code
  210. Swamp.FontSize = Enum.FontSize.Size12
  211. Swamp.Text = 'Swamp'
  212. Swamp.TextSize = 12
  213. Volcano.Name = 'Volcano'
  214. Volcano.Parent = Locations
  215. Volcano.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  216. Volcano.Position = UDim2.new(0, 300, 0, 0)
  217. Volcano.Size = UDim2.new(0, 100, 0, 25)
  218. Volcano.Font = Enum.Font.Code
  219. Volcano.FontSize = Enum.FontSize.Size12
  220. Volcano.Text = 'Volcano'
  221. Volcano.TextSize = 12
  222. FancyFurnishings.Name = 'Fancy Furnishings'
  223. FancyFurnishings.Parent = Locations
  224. FancyFurnishings.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  225. FancyFurnishings.Position = UDim2.new(0, 400, 0, 25)
  226. FancyFurnishings.Size = UDim2.new(0, 100, 0, 25)
  227. FancyFurnishings.Font = Enum.Font.Code
  228. FancyFurnishings.FontSize = Enum.FontSize.Size12
  229. FancyFurnishings.Text = 'Fancy Furnishings'
  230. FancyFurnishings.TextSize = 12
  231. PalmIsland.Name = 'Palm Island'
  232. PalmIsland.Parent = Locations
  233. PalmIsland.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  234. PalmIsland.Position = UDim2.new(0, 400, 0, 0)
  235. PalmIsland.Size = UDim2.new(0, 100, 0, 25)
  236. PalmIsland.Font = Enum.Font.Code
  237. PalmIsland.FontSize = Enum.FontSize.Size12
  238. PalmIsland.Text = 'Palm Island'
  239. PalmIsland.TextSize = 12
  240. FineArtsShop.Name = 'Fine Arts Shop'
  241. FineArtsShop.Parent = Locations
  242. FineArtsShop.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  243. FineArtsShop.Position = UDim2.new(0, 500, 0, 25)
  244. FineArtsShop.Size = UDim2.new(0, 100, 0, 25)
  245. FineArtsShop.Font = Enum.Font.Code
  246. FineArtsShop.FontSize = Enum.FontSize.Size12
  247. FineArtsShop.Text = 'Fine Arts Shop'
  248. FineArtsShop.TextSize = 12
  249. BoxedCars.Name = 'Boxed Cars'
  250. BoxedCars.Parent = Locations
  251. BoxedCars.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  252. BoxedCars.Position = UDim2.new(0, 500, 0, 0)
  253. BoxedCars.Size = UDim2.new(0, 100, 0, 25)
  254. BoxedCars.Font = Enum.Font.Code
  255. BoxedCars.FontSize = Enum.FontSize.Size12
  256. BoxedCars.Text = 'Boxed Cars'
  257. BoxedCars.TextSize = 12
  258. ShrineofSight.Name = 'Shrine of Sight'
  259. ShrineofSight.Parent = Locations
  260. ShrineofSight.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  261. ShrineofSight.Position = UDim2.new(0, 600, 0, 25)
  262. ShrineofSight.Size = UDim2.new(0, 100, 0, 25)
  263. ShrineofSight.Font = Enum.Font.Code
  264. ShrineofSight.FontSize = Enum.FontSize.Size12
  265. ShrineofSight.Text = 'Shrine of Sight'
  266. ShrineofSight.TextSize = 12
  267. BobsShack.Name = 'Bob's Shack'
  268. BobsShack.Parent = Locations
  269. BobsShack.BackgroundColor3 = Color3.new(1, 0.686275, 0.184314)
  270. BobsShack.Position = UDim2.new(0, 600, 0, 0)
  271. BobsShack.Size = UDim2.new(0, 100, 0, 25)
  272. BobsShack.Font = Enum.Font.Code
  273. BobsShack.FontSize = Enum.FontSize.Size12
  274. BobsShack.Text = 'Bob's Shack'
  275. BobsShack.TextSize = 12
  276. PSelected.Name = 'PSelected'
  277. PSelected.Parent = Main
  278. PSelected.BackgroundColor3 = Color3.new(1, 0.67451, 0.278431)
  279. PSelected.Position = UDim2.new(0, 175, 0, 250)
  280. PSelected.Size = UDim2.new(0, 150, 0, 30)
  281. PSelected.Font = Enum.Font.Cartoon
  282. PSelected.FontSize = Enum.FontSize.Size18
  283. PSelected.Text = 'No player selected'
  284. PSelected.TextSize = 16
  285. LocSelected.Name = 'LocSelected'
  286. LocSelected.Parent = Main
  287. LocSelected.BackgroundColor3 = Color3.new(1, 0.67451, 0.278431)
  288. LocSelected.Position = UDim2.new(0, 175, 0, 125)
  289. LocSelected.Size = UDim2.new(0, 150, 0, 30)
  290. LocSelected.Font = Enum.Font.Cartoon
  291. LocSelected.FontSize = Enum.FontSize.Size18
  292. LocSelected.Text = 'No location selected'
  293. LocSelected.TextSize = 16
  294. Cls.Name = 'Cls'
  295. Cls.Parent = Main
  296. Cls.BackgroundColor3 = Color3.new(1, 1, 1)
  297. Cls.BackgroundTransparency = 1
  298. Cls.Position = UDim2.new(0, 475, 0, 0)
  299. Cls.Size = UDim2.new(0, 25, 0, 25)
  300. Cls.Font = Enum.Font.Cartoon
  301. Cls.FontSize = Enum.FontSize.Size24
  302. Cls.Text = 'X'
  303. Cls.TextColor3 = Color3.new(1, 0.2, 0.0392157)
  304. Cls.TextSize = 24
  305. Open.Name = 'Open'
  306. Open.Parent = Lumonex
  307. Open.BackgroundColor3 = Color3.new(1, 1, 1)
  308. Open.Position = UDim2.new(0, 0, 0, 350)
  309. Open.Size = UDim2.new(0, 75, 0, 25)
  310. Open.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  311. Open.Font = Enum.Font.Cartoon
  312. Open.FontSize = Enum.FontSize.Size18
  313. Open.Text = 'Open'
  314. Open.TextSize = 18
  315. TpToPlr.Name = 'TpToPlr'
  316. TpToPlr.Parent = Main
  317. TpToPlr.BackgroundColor3 = Color3.new(1, 0.54902, 0.321569)
  318. TpToPlr.Position = UDim2.new(0, 375, 0, 250)
  319. TpToPlr.Size = UDim2.new(0, 100, 0, 30)
  320. TpToPlr.Font = Enum.Font.Cartoon
  321. TpToPlr.FontSize = Enum.FontSize.Size12
  322. TpToPlr.Text = 'Teleport to Player'
  323. TpToPlr.TextSize = 12
  324. TpToLoc.Name = 'TpToLoc'
  325. TpToLoc.Parent = Main
  326. TpToLoc.BackgroundColor3 = Color3.new(1, 0.54902, 0.321569)
  327. TpToLoc.Position = UDim2.new(0, 15, 0, 250)
  328. TpToLoc.Size = UDim2.new(0, 100, 0, 30)
  329. TpToLoc.Font = Enum.Font.Cartoon
  330. TpToLoc.FontSize = Enum.FontSize.Size11
  331. TpToLoc.Text = 'Teleport To Location'
  332. TpToLoc.TextSize = 11
  333. TpToPlot.Name = 'TpToPlot'
  334. TpToPlot.Parent = Main
  335. TpToPlot.BackgroundColor3 = Color3.new(1, 0.54902, 0.321569)
  336. TpToPlot.Position = UDim2.new(0, 45, 0, 75)
  337. TpToPlot.Size = UDim2.new(0, 125, 0, 30)
  338. TpToPlot.Font = Enum.Font.Cartoon
  339. TpToPlot.FontSize = Enum.FontSize.Size12
  340. TpToPlot.Text = 'Teleport to your Plot'
  341. TpToPlot.TextSize = 12
  342. TpToPlrsPlot.Name = 'TpToPlrsPlot'
  343. TpToPlrsPlot.Parent = Main
  344. TpToPlrsPlot.BackgroundColor3 = Color3.new(1, 0.54902, 0.321569)
  345. TpToPlrsPlot.Position = UDim2.new(0, 330, 0, 75)
  346. TpToPlrsPlot.Size = UDim2.new(0, 125, 0, 30)
  347. TpToPlrsPlot.Font = Enum.Font.Cartoon
  348. TpToPlrsPlot.FontSize = Enum.FontSize.Size11
  349. TpToPlrsPlot.Text = 'Teleport to player's Plot'
  350. TpToPlrsPlot.TextSize = 11
  351. BringWood.Name = 'BringWood'
  352. BringWood.Parent = Main
  353. BringWood.BackgroundColor3 = Color3.new(1, 0.54902, 0.321569)
  354. BringWood.Position = UDim2.new(0, 187, 0, 75)
  355. BringWood.Size = UDim2.new(0, 125, 0, 30)
  356. BringWood.Font = Enum.Font.Cartoon
  357. BringWood.FontSize = Enum.FontSize.Size11
  358. BringWood.Text = 'Bring Wood'
  359. BringWood.TextSize = 11
  360. local Locations = {
  361. ['Spawn'] = Vector3.new(155, 3, 74),
  362. ['Wood RUs'] = Vector3.new(265, 3, 57),
  363. ['Land Store'] = Vector3.new(258, 3, -99),
  364. ['Dock'] = Vector3.new(1114, -1, -197),
  365. ['Link's Logic'] = Vector3.new(4605, 3, -727),
  366. ['Cave'] = Vector3.new(3581, -179, 430),
  367. ['Volcano'] = Vector3.new(-1585, 622, 1140),
  368. ['Swamp'] = Vector3.new(-1209, 132, -801),
  369. ['Palm Island'] = Vector3.new(2549, -5, -42),
  370. ['Fancy Furnishings'] = Vector3.new(491, 3, -1720),
  371. ['Boxed Cars'] = Vector3.new(509, 3, -1463),
  372. ['Fine Arts Shop'] = Vector3.new(5207, -166, 719),
  373. ['Bob's Shack'] = Vector3.new(260, 8, -2542),
  374. ['Shrine of Sight'] = Vector3.new(-1600, 195, 919)
  375. }
  376. CGG.Main.Cls.MouseButton1Down:connect(function()
  377. Main.Visible = false
  378. Open.Visible = true
  379. end)
  380. CGG.Open.MouseButton1Down:connect(function()
  381. Main.Visible = true
  382. Open.Visible = false
  383. end)
  384. CGG.Main.BringWood.MouseButton1Down:connect(function()
  385. for _, Log in pairs(game.Workspace.LogModels:GetChildren()) do
  386. if Log.Name:sub(1, 6) == 'Loose_' and Log:findFirstChild('Owner') and Log.Owner.Value == game.Players.LocalPlayer then
  387. Log:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0, 20, 0))
  388. end
  389. end
  390. end)
  391. CGG.Main.TpToPlot.MouseButton1Down:connect(function()
  392. for i, v in pairs(game.Workspace.Properties:GetChildren()) do
  393. if v.Owner.Value == game.Players.LocalPlayer then
  394. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.OriginSquare.CFrame
  395. end
  396. end
  397. end)
  398. CGG.Main.TpToPlr.MouseButton1Down:connect(function()
  399. if PSelected.Text == 'No player selected' then
  400. warn('No Player Selected')
  401. else
  402. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[CGG.Main.PSelected.Text].HumanoidRootPart.CFrame
  403. end
  404. end)
  405. CGG.Main.TpToPlrsPlot.MouseButton1Down:connect(function()
  406. for i, v in pairs(game.Workspace.Properties:GetChildren()) do
  407. if v.Owner.Value == game.Players[CGG.Main.PSelected.Text] then
  408. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.OriginSquare.CFrame
  409. end
  410. end
  411. end)
  412. CGG.Main.TpToLoc.MouseButton1Down:connect(function()
  413. if CGG.Main.LocSelected.Text == 'No location selected' then
  414. warn('No Location Selected')
  415. else
  416. game.Players.LocalPlayer.Character:MoveTo(Locations[CGG.Main.LocSelected.Text])
  417. end
  418. end)
  419. CGG.Main.Players.P1.MouseButton1Down:connect(function()
  420. PSelected.Text = P1.Text
  421. end)
  422. CGG.Main.Players.P2.MouseButton1Down:connect(function()
  423. PSelected.Text = P2.Text
  424. end)
  425. CGG.Main.Players.P3.MouseButton1Down:connect(function()
  426. PSelected.Text = P3.Text
  427. end)
  428. CGG.Main.Players.P4.MouseButton1Down:connect(function()
  429. PSelected.Text = P4.Text
  430. end)
  431. CGG.Main.Players.P5.MouseButton1Down:connect(function()
  432. PSelected.Text = P5.Text
  433. end)
  434. CGG.Main.Players.P6.MouseButton1Down:connect(function()
  435. PSelected.Text = P6.Text
  436. end)
  437. local buttons = {
  438. CGG.Main.Players.P1,
  439. CGG.Main.Players.P2,
  440. CGG.Main.Players.P3,
  441. CGG.Main.Players.P4,
  442. CGG.Main.Players.P5,
  443. CGG.Main.Players.P6
  444. }
  445. for i, v in pairs(game.Players:GetChildren()) do
  446. buttons[i].Text = v.Name
  447. buttons[i].Visible = true
  448. end
  449. game.Players.PlayerRemoving:connect(function()
  450. for i, v in pairs(game.Players:GetChildren()) do
  451. buttons[i].Text = v.Name
  452. buttons[i].Visible = true
  453. end
  454. end)
  455. game.Players.PlayerAdded:connect(function()
  456. for i, v in pairs(game.Players:GetChildren()) do
  457. buttons[i].Text = v.Name
  458. buttons[i].Visible = true
  459. end
  460. end)
  461. CGG.Main.Locations.Spawn.MouseButton1Down:connect(function()
  462. LocSelected.Text = 'Spawn'
  463. end)
  464. CGG.Main.Locations['Wood RUs'].MouseButton1Down:connect(function()
  465. LocSelected.Text = 'Wood RUs'
  466. end)
  467. CGG.Main.Locations['Land Store'].MouseButton1Down:connect(function()
  468. LocSelected.Text = 'Land Store'
  469. end)
  470. CGG.Main.Locations.Dock.MouseButton1Down:connect(function()
  471. LocSelected.Text = 'Dock'
  472. end)
  473. CGG.Main.Locations['Link's Logic'].MouseButton1Down:connect(function()
  474. LocSelected.Text = 'Link's Logic'
  475. end)
  476. CGG.Main.Locations.Cave.MouseButton1Down:connect(function()
  477. LocSelected.Text = 'Cave'
  478. end)
  479. CGG.Main.Locations.Volcano.MouseButton1Down:connect(function()
  480. LocSelected.Text = 'Volcano'
  481. end)
  482. CGG.Main.Locations.Swamp.MouseButton1Down:connect(function()
  483. LocSelected.Text = 'Swamp'
  484. end)
  485. CGG.Main.Locations['Palm Island'].MouseButton1Down:connect(function()
  486. LocSelected.Text = 'Palm Island'
  487. end)
  488. CGG.Main.Locations['Fancy Furnishings'].MouseButton1Down:connect(function()
  489. LocSelected.Text = 'Fancy Furnishings'
  490. end)
  491. CGG.Main.Locations['Boxed Cars'].MouseButton1Down:connect(function()
  492. LocSelected.Text = 'Boxed Cars'
  493. end)
  494. CGG.Main.Locations['Fine Arts Shop'].MouseButton1Down:connect(function()
  495. LocSelected.Text = 'Fine Arts Shop'
  496. end)
  497. CGG.Main.Locations['Bob's Shack'].MouseButton1Down:connect(function()
  498. LocSelected.Text = 'Bob's Shack'
  499. end)
  500. CGG.Main.Locations['Shrine of Sight'].MouseButton1Down:connect(function()
  501. LocSelected.Text = 'Shrine of Sight'
  502. end)
  503. end
  504. --end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement