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: How do I add/ change a team name in GAME (NOT STUDIO)?

Previous Thread :: Next Thread 
klingels is not online. klingels
Joined: 11 Nov 2011
Total Posts: 173
15 Jan 2014 02:14 PM
^^
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
15 Jan 2014 02:17 PM
What are you talkin about?
Report Abuse
klingels is not online. klingels
Joined: 11 Nov 2011
Total Posts: 173
15 Jan 2014 03:51 PM
Like people some how change the team name EX: Team name is Blue at first but with a script they change it to epic
Report Abuse
smiley599 is not online. smiley599
Joined: 23 Jan 2010
Total Posts: 21869
15 Jan 2014 04:03 PM
game.Teams.Blue.Name = "Epic"
Report Abuse
klingels is not online. klingels
Joined: 11 Nov 2011
Total Posts: 173
15 Jan 2014 06:22 PM
Didnt work :/
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
15 Jan 2014 06:45 PM
game.Teams.Blue.Name == ("Epic team")
Report Abuse
Wakarimasu is not online. Wakarimasu
Joined: 12 Nov 2013
Total Posts: 1448
15 Jan 2014 06:47 PM
No, Azureous. For the love of Lua that thing is a monstrosity.
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
15 Jan 2014 06:48 PM
@Waka how xD

just add a conditional and it should work fine…

Report Abuse
Wakarimasu is not online. Wakarimasu
Joined: 12 Nov 2013
Total Posts: 1448
15 Jan 2014 06:48 PM
== is only used for conditional statements.

= is for assigning.
Report Abuse
Wakarimasu is not online. Wakarimasu
Joined: 12 Nov 2013
Total Posts: 1448
15 Jan 2014 06:49 PM
flood

check

notice

huhuehure

Anyway, I think OPs problem is he didn't change the other guy's script from game.Teams.Blue to game.Teams.TheTeamNameThatItReallyIs

So he knows nothing I guess.
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
15 Jan 2014 06:49 PM
@waka I've been on this forum for about a year helping I think I know what I'm doing.

-_-
Report Abuse
Wakarimasu is not online. Wakarimasu
Joined: 12 Nov 2013
Total Posts: 1448
15 Jan 2014 06:50 PM
another
flood
check
notice
ahuawhu

I think you don't know what you're doing since you just tried to assign something using ==.
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
15 Jan 2014 06:50 PM
== is relatively the same as =, however it depends where you use it in syntax relevant to a value…
Report Abuse
Wakarimasu is not online. Wakarimasu
Joined: 12 Nov 2013
Total Posts: 1448
15 Jan 2014 06:52 PM
You're a complete moron.

It's not the same at all. I tried explaining this.

== is used for conditional statements, such as

if Workspace.StufFHere == nil then
--stuff
end

= is for assigning values such as

variableHere = 2
something.Property = This
Whatever = wat

etc.
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
15 Jan 2014 06:53 PM
@Waka did you even read what I just said?

I literally said what you said in smart person terms… extend your vocabulary.
Report Abuse
Wakarimasu is not online. Wakarimasu
Joined: 12 Nov 2013
Total Posts: 1448
15 Jan 2014 06:54 PM
"smart person terms" I think your vocabulary is the one in need of extension.

"== is relatively the same as =, however it depends where you use it in syntax relevant to a value…"

I was correcting what you said on how they are the same. They aren't the same. They do not serve similar purposes at all.
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
15 Jan 2014 06:56 PM
They serve almost identical purpose.

It's for assigning a value in both situations…
Report Abuse
Wakarimasu is not online. Wakarimasu
Joined: 12 Nov 2013
Total Posts: 1448
15 Jan 2014 06:56 PM
No. Not at all!

== is used for checking a condition.
= is used for assigning a value.
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
15 Jan 2014 06:58 PM
A condition is a value, here's how I can prove it…

--Checking a value:
local values = {1, 2, 3}

if values[1] == 1 then --checks value of the first value in the table <_<
--code
end

--Defining a value:

a = 1
b = 2
c = 3

table.insert(values,c)
Report Abuse
Wakarimasu is not online. Wakarimasu
Joined: 12 Nov 2013
Total Posts: 1448
15 Jan 2014 06:59 PM
I'm trying to tell you that = is used for assigning and == is used for checking, but you don't get it so whatever. 23k posts of BS on your end, if they're all like this.
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
15 Jan 2014 06:59 PM
@Waka lol'd so hard.

I've been known for helping a lot.

I just told you that 5 MINUTES AGO XD
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
15 Jan 2014 07:00 PM
"== is relatively the same as =, however it depends where you use it in syntax relevant to a value…" --quote by me that you couldn't understand
Report Abuse
Wakarimasu is not online. Wakarimasu
Joined: 12 Nov 2013
Total Posts: 1448
15 Jan 2014 07:01 PM
I'll reiterate if I must.

23k posts of BS if they're like this. The only thing you helped here was help me realize you don't know the difference between = and ==.
Report Abuse
Wakarimasu is not online. Wakarimasu
Joined: 12 Nov 2013
Total Posts: 1448
15 Jan 2014 07:02 PM
stop
using
dat
flood
check
pls

By that logic, a for loop is the same thing as creating a new Instance. "It just depnds on the syntax positioning ahuerheu snortsnort"
Report Abuse
Azureous is not online. Azureous
Joined: 29 Jan 2012
Total Posts: 25287
15 Jan 2014 07:03 PM
a for loop is nothing like an instance are you an idiot?

lol w/e going to dinner, but seriously go over your lua syntax, definitions, and overall language utilization
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