generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Team Switcher GUI

Previous Thread :: Next Thread 
EvilMiguel12 is not online. EvilMiguel12
Joined: 16 Apr 2010
Total Posts: 111
21 Jan 2013 01:02 PM
I need help making one. Can someone make me one? If you are welling to make me one, message me.

I want the teams like this:

The Daimyo Empire - Really Blue

Allies - Really Green

Raiders - Really Red

I need this for my clan's fort.
Report Abuse
OzzyBlox is not online. OzzyBlox
Joined: 04 Nov 2009
Total Posts: 14166
21 Jan 2013 01:03 PM
This is not a request forum, write your own script and well resolve any problems with it.
Report Abuse
EvilMiguel12 is not online. EvilMiguel12
Joined: 16 Apr 2010
Total Posts: 111
21 Jan 2013 01:07 PM
Its to help someone in need. I think wiki.roblox.com will help me answer my question.
Report Abuse
gamert7 is not online. gamert7
Joined: 18 Nov 2008
Total Posts: 4986
21 Jan 2013 01:09 PM
Now I would tell you learn to do it yourself but, your clearly to stupid to do that so.:

function Click(mouse)
if script.Parent.Parent.Parent.Parent:IsInGroup(714028) then --Enter your group Id in the parentheses
script.Parent.Parent.Parent.Parent.TeamColor = BrickColor.new(" Really Blue") --

end
end

script.Parent.MouseButton1Click:connect(Click)
-------
function Click(mouse)
if script.Parent.Parent.Parent.Parent:IsInGroup(714028) then --Enter your group Id in the parentheses
script.Parent.Parent.Parent.Parent.TeamColor = BrickColor.new(" Really Blue") --

end
end

script.Parent.MouseButton1Click:connect(Click)
------
function Click(mouse)
if script.Parent.Parent.Parent.Parent:IsInGroup(714028) then --Enter your group Id in the parentheses
print("Hello") else
script.Parent.Parent.Parent.Parent.TeamColor = BrickColor.new(" Really red") --

end
end

script.Parent.MouseButton1Click:connect(Click)
Report Abuse
EvilMiguel12 is not online. EvilMiguel12
Joined: 16 Apr 2010
Total Posts: 111
21 Jan 2013 01:10 PM
Well, I don't know how! That's why I'm asking someone.
Report Abuse
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
21 Jan 2013 01:10 PM
All you need to do is make two textbuttons within a gui.

Name the text buttons

Team1 and Team2

Make the text buttons look however.

Put this in a local script inside the gui.

xp = script.Parent.Team1
px = script.Parent.Team2
desc1 = Instance.new("TextLabel")
desc1.Name = "lol"
desc1.Size = UDim2.new(0, 200, 0, 20)
desc1.Font = "ArialBold"
desc1.FontSize = "Size24"
desc1.TextScaled = true
desc1.TextWrapped = true
desc1.Visible = false
desc2 = Instance.new("TextLabel")
desc2.Name = "troll"
desc2.Size = UDim2.new(0, 200, 0, 20)
desc2.Font = "ArialBold"
desc2.FontSize = "Size24"
desc2.TextScaled = true
desc2.TextWrapped = true
desc2.Visible = false
plr = game.Players.LocalPlayer

function unhovered1()
desc1.Visible = false
end

function unhovered2()
desc2.Visible = false
end

function hovered1()
desc1.Text = "Put What you want it to say here!"
desc1.Parent = script.Parent
desc1.Visible = true
while wait() do
desc1.Position = UDim2.new(0, 150 + plr:GetMouse().X) + UDim2.new(0, 0, 0, 0 + plr:GetMouse().X) -- trololol
end
end

function hovered2()
desc2.Text = "Put what you want it to say here!"
desc2.Parent = script.Parent
desc2.Visible = true
while wait() do
desc2.Position = UDim2.new(0, 120 + plr:GetMouse().X) + UDim2.new(0, 0, 0, -250 + plr:GetMouse().X) -- trololol
end
end

function team1chosen()
plr.TeamColor = BrickColor.new("Bright red")
plr.Character:BreakJoints()
end

function team2chosen()
plr.TeamColor = BrickColor.new("Bright blue")
plr.Character:BreakJoints()
end

xp.MouseButton1Click:connect(team1chosen)
xp.MouseEnter:connect(hovered1)
xp.MouseLeave:connect(unhovered1)
px.MouseButton1Click:connect(team2chosen)
px.MouseEnter:connect(hovered2)
px.MouseLeave:connect(unhovered2)


Put the local script and text buttons in the gui then make a normal script and put the gui in the normal script in the workspace.
Name the gui: TeamGui
Put this in the normal script

game.Players.PlayerAdded:connect(function(p)
repeat wait() until p.Character
script.Parent.TeamGui.Parent = p.PlayerGui
end)

Was that your mom? Tell her she needs to exercise a little more, those legs had a little flab.
Report Abuse
EvilMiguel12 is not online. EvilMiguel12
Joined: 16 Apr 2010
Total Posts: 111
21 Jan 2013 01:15 PM
To stupid? I have done it couple of times but the on the allies and raiders worked. But, the GUI to switch to my clan team it won't let me. I tried to make one and it still happen to me again. I tried in free models but, it didn't help me that much. I made my own then it happen the same thing but, this time the ally selection finally worked. I don't think I'm that stupid to solve this problem.
Report Abuse
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
21 Jan 2013 01:16 PM
Look at what I put above.
Works fine.

Was that your mom? Tell her she needs to exercise a little more, those legs had a little flab.
Report Abuse
gamert7 is not online. gamert7
Joined: 18 Nov 2008
Total Posts: 4986
21 Jan 2013 01:17 PM
Heh, scripters have half decent grammar. You have none.
Report Abuse
gamert7 is not online. gamert7
Joined: 18 Nov 2008
Total Posts: 4986
21 Jan 2013 01:17 PM
@Crouton he wanted it so only His group could join a certain team.
Report Abuse
EvilMiguel12 is not online. EvilMiguel12
Joined: 16 Apr 2010
Total Posts: 111
21 Jan 2013 01:21 PM
Really? Why don't you go do something in the outside world? Look at your-self. Dress like idiotic noob. Do something doesn't in includes saying crap to people can't make something.
Report Abuse
EvilMiguel12 is not online. EvilMiguel12
Joined: 16 Apr 2010
Total Posts: 111
21 Jan 2013 01:21 PM
@gamer, thank you for understanding.
Report Abuse
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
21 Jan 2013 01:23 PM
He can do that himself.. I gave him my personal script.

Was that your mom? Tell her she needs to exercise a little more, those legs had a little flab.
Report Abuse
EvilMiguel12 is not online. EvilMiguel12
Joined: 16 Apr 2010
Total Posts: 111
21 Jan 2013 01:26 PM
That's the only thing you can say? Only a fool like you only can take crap like that. Doesn't matter even who. This is to help someone! Read the forum post rules.
Report Abuse
gamert7 is not online. gamert7
Joined: 18 Nov 2008
Total Posts: 4986
21 Jan 2013 01:29 PM
I gave you a script. I know it works I have used it.
Report Abuse
EvilMiguel12 is not online. EvilMiguel12
Joined: 16 Apr 2010
Total Posts: 111
21 Jan 2013 01:32 PM
Um, Sure thanks
Report Abuse
crouton04 is not online. crouton04
Joined: 07 Jul 2010
Total Posts: 4459
21 Jan 2013 01:57 PM
Evil who are you speaking to?

I gave you a script, I didn't read one thing in your thread and you try to rage?

My script has effect, efficiency and technique.

Was that your mom? Tell her she needs to exercise a little more, those legs had a little flab.
Report Abuse
Taniss99 is not online. Taniss99
Joined: 15 Dec 2007
Total Posts: 1707
21 Jan 2013 02:19 PM
So wait, you insult him by saying "why don't you go do something in the real world" and then insult the way his character dresses due to lack of effort? Doesnt that mean that he IS doing something outside of ROBLOX? Also, you plainly asked for a script to just be handed to you. That is considered a request. Requests are not allowed on this forum, help with scripting is.
You also call yourself a person in "need" if you really "needed" it, then why would it be so difficult for you to simply look at the wiki and learn to program?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image