Advertisement
PersonsadminTeam

Lumonex GUI

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