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: Gui (script in)

Previous Thread :: Next Thread 
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 12:09 PM
function Click(mouse)
script.Parent.Parent.Parent.Parent.Parent.TeamColor = BrickColor.new("Green")--Replace Bright green with ally color
end


script.Parent.MouseButton1Down:connect(Click)


I switched it to Green, and i put a green spawn, but when you click the GUI to go to allies, it makes a neutral spawn and brings you to a random place in the middle of a baseplate, GAME: http://www.roblox.com/SCR-Training-and-RAID-HERE-place?id=77251713
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 12:11 PM
... any help?
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 12:13 PM
Please.
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 12:15 PM
Help pls!
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 12:18 PM
function Click(mouse)
script.Parent.Parent.Parent.Parent.Parent.TeamColor = BrickColor.new("Green")--Replace Bright green with ally color
end


script.Parent.MouseButton1Down:connect(Click)


I switched it to Green, and i put a green spawn, but when you click the GUI to go to allies, it makes a neutral spawn and brings you to a random place in the middle of a baseplate, GAME: http://www.roblox.com/SCR-Training-and-RAID-HERE-place?id=77251713


I must be missing something, this is happening a lot. Every time you switch, it makes a new spawn.... UGH!
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 12:20 PM
bump
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 12:28 PM
pls...
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 01:28 PM
rly? cmon!
Report Abuse
ball360 is not online. ball360
Joined: 31 Mar 2009
Total Posts: 1557
17 Apr 2013 01:31 PM
From my experience, there is no color "Green".
Look in the teams, and give me the exact color of the Allies, word for word.
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 01:33 PM
What do you mean by that?
Report Abuse
ball360 is not online. ball360
Joined: 31 Mar 2009
Total Posts: 1557
17 Apr 2013 01:36 PM
There is no "Green", only "Bright green" or something like that. Try "Bright green".
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 01:36 PM
@ball360, it said switch it to any color, i switched it to "Green" then added a green spawn location...
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 01:36 PM
okay thnx above was late post, and okay thnx.
Report Abuse
ball360 is not online. ball360
Joined: 31 Mar 2009
Total Posts: 1557
17 Apr 2013 01:38 PM
It meant any technical color, here is the list of all technical colors in Roblox:
http://wiki.roblox.com/index.php/BrickColor_Codes

If you put in a green spawn from the Inventory, then it is "Bright green".
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 01:41 PM
Okay, i did it, ima try it, i have to give you credit dude, thnx :)
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 07:11 PM
more help pls?
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
17 Apr 2013 07:12 PM
Did you try Bright green?
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 07:59 PM
@epicfail, yes. try the game, its [SCR] TRainong and raid here. look at the problem
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 08:28 PM
..cmon, pls.
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 08:42 PM
Pls help!
Report Abuse
AIlphanumeric is not online. AIlphanumeric
Joined: 31 Mar 2013
Total Posts: 21
17 Apr 2013 08:48 PM
Just use this one.

script.Parent.MouseButton1Down:connect(function()
game.Players.LocalPlayer.TeamColor = BrickColor.new("Bright green") -- change that to the color of the team
end)
Report Abuse
patsfan23 is not online. patsfan23
Joined: 02 Mar 2012
Total Posts: 16893
17 Apr 2013 08:55 PM
@alpha, im not sure thatll do it...
Report Abuse
AIlphanumeric is not online. AIlphanumeric
Joined: 31 Mar 2013
Total Posts: 21
17 Apr 2013 08:56 PM
It switches your team when you click on the button. What are you trying to do?
Report Abuse
AIlphanumeric is not online. AIlphanumeric
Joined: 31 Mar 2013
Total Posts: 21
17 Apr 2013 09:03 PM
What's the other script you have other than the one changing the team?
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