Im trying to make two more teams on this GUI. There are multiple scripts but most of them do not deal with the team. I cut our some of the script where I think I need to edit.
This script is called "Empire Bay" shown in this picture
http://prntscr.com/5brudi
local Wallet = Instance.new("IntValue", Char) Wallet.Value = 0 Wallet.Name = "Wallet" Cars = Instance.new("ObjectValue", Char) Cars.Name = "CarThing" repeat wait() until Money local AntiZoom = script["AntiZoom"]:Clone() AntiZoom.Parent = Player.Backpack AntiZoom.Disabled = false repeat wait() until Player:FindFirstChild("PlayerGui") local Gui = script["MainGui"]:Clone() Gui.Parent = Player.PlayerGui local Holder = Gui["Holder"] local Shop = Gui["Shop"] local MoneyBox = Holder["MoneyBox"] local Amount = MoneyBox["Amount"] Amount.Text = "$" .. Comma(Money.Value) Money.Changed:connect(function() Amount.Text = "$" .. Comma(Money.Value) end) local WalletBox = Holder["WalletBox"] local WalletAmount = WalletBox["Amount"] WalletAmount.Text = "$" .. Comma(Wallet.Value) Wallet.Changed:connect(function() WalletAmount.Text = "$" .. Comma(Wallet.Value) end) Timer = MoneyBox["Timer"] local Hide = Holder["Hide"] local Respawn = Holder["Respawn"] local Salute = Holder["Salute"] local PassButton = Holder["GamePass"] local Donate = Holder["Donate"] local DonHolder = Donate["TeamHolder"] local DonAmount = DonHolder["Amount"] local DonName = DonHolder["DonName"] local DonSubmit = DonHolder["Submit"] local Teams = Holder["Teams"] local TeamHolder = Teams["TeamHolder"] local Citizen = TeamHolder["Citizen"] local Police = TeamHolder["Police"] local Visitor = TeamHolder["Visitor"] local Saluting = false local SaluteIdle = true local NameHid = false if Player:IsInGroup(1126765) then repeat wait() until Char:FindFirstChild("Head") if not Char:FindFirstChild("Fake Head") then local headFake = Char.Head:Clone() for i, v in next, Char.Head:GetChildren() do if v:IsA("Weld") then v.Parent = headFake v.Part0 = headFake elseif v:IsA("SpecialMesh") then v.Scale = Vector3.new(0,0,0) else v:Destroy() end end headFake.Name = "Fake Head" headFake.Parent = Char Weld(Char.Head, headFake, CFrame.new(0, -0.5, 0), CFrame.new(0, -0.5, 0)) end Char.Head.Transparency = 1 Hide.Text = "Show Name" NameHid = true end Citizen.MouseButton1Down:connect(function() if Player:IsInGroup(1129297) then Player.TeamColor = BrickColor.new("Bright green") Player:LoadCharacter() end end) Police.MouseButton1Down:connect(function() if Player:IsInGroup(1137126) then Player.TeamColor = BrickColor.new("Bright blue") Player:LoadCharacter() end end) Visitor.MouseButton1Down:connect(function() Player.TeamColor = BrickColor.new("Bright orange") Player:LoadCharacter() end) Hide.MouseButton1Down:connect(function() if NameHid then Char.Head.Transparency = 0 Hide.Text = "Hide Name" NameHid = false else if not Char:FindFirstChild("Fake Head") then local headFake = Char.Head:Clone() for i, v in next, Char.Head:GetChildren() do if v:IsA("Weld") then v.Parent = headFake v.Part0 = headFake elseif v:IsA("SpecialMesh") then v.Scale = Vector3.new(0,0,0) else v:Destroy() end end headFake.Name = "Fake Head" headFake.Parent = Char Weld(Char.Head, headFake, CFrame.new(0, -0.5, 0), CFrame.new(0, -0.5, 0)) end Char.Head.Transparency = 1 Hide.Text = "Show Name" NameHid = true end end)
The JailGUI, Crash and AntiZoom does not have to deal with anything im looking for.
http://prntscr.com/5brv23 Inside the MainGUI there are two Frames I do not need to worry about the Shop frame. http://prntscr.com/5brvf4 Inside the Holder there is a Text Button called "Teams" http://prntscr.com/5brvoq Inside the team there is a script and a frame. Inside the script in the following:
local Teams = script.Parent local TeamHolder = Teams["TeamHolder"] local Open = false Teams.MouseButton1Down:connect(function() if Open then TeamHolder:TweenSize(UDim2.new(0,0,0,30), "Out", "Quad", 1, true) Open = false else TeamHolder:TweenSize(UDim2.new(0,290,0,30), "Out", "Quad", 1, true) Open = true end end)
http://prntscr.com/5brw0h Inside the team text box has the three teams I got in the game.
The game with the script is here: http://www.roblox.com/Scripting-Helpers-Question-2-place?id=188409359
Closed as Not Constructive by BlueTaslem
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?