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: Scripts interfering with each other

Previous Thread :: Next Thread 
CintDoggie is not online. CintDoggie
Joined: 07 Aug 2009
Total Posts: 2563
10 Jan 2014 09:50 PM
I wrote a script that checked to see if I was in a certain group, if it was it'd put me on a specific team, let's call this "Script A". But I also wrote a script to check if "CintDoggie" is in the game and if true I'd be put on another team, let's call this "Script B".

I want Script A to not interfere with Script B, how do you suggest I do this?
Report Abuse
OKevinO is not online. OKevinO
Joined: 05 May 2010
Total Posts: 1036
10 Jan 2014 10:49 PM
just combine the codes into one, why use two scripts when you can use one?....

♫~DUBSTEP ]V[AY RULE THE WORLD~♫
Report Abuse
CintDoggie is not online. CintDoggie
Joined: 07 Aug 2009
Total Posts: 2563
11 Jan 2014 12:59 AM
Right...
Report Abuse
powertool is not online. powertool
Joined: 01 Feb 2008
Total Posts: 3771
11 Jan 2014 01:09 AM
ifelse loops.

If nob isInGroup("nobbygroup") and nob.Name = "nob" then
nob.Team = whateverteam
elseif nob isInGroup("nobbygroup") then
nob.Team = whateverotherteam
elseif nob.Name = "nob" then
nob.Team = whateverthirdteam
end
Report Abuse
lego555444 is not online. lego555444
Joined: 21 Sep 2008
Total Posts: 1383
11 Jan 2014 01:15 AM
Do the magical local script inside the starter pack/starter gui
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