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
 

Team script-H-E-L-P please

Previous Thread :: Next Thread 
jas1cool is not online. jas1cool
Joined: 13 Nov 2010
Total Posts: 39
29 Aug 2011 10:35 AM
How do we make it so when you say I don't know like.... : join/forest survivors
you join forest survivors team?H-E-L-P please
Report Abuse
tdog158 is not online. tdog158
Joined: 08 Jul 2008
Total Posts: 5413
29 Aug 2011 10:39 AM
Easy

game.Players.PlayerAdded:connect(function(player)
player.Chatted:connect(function(msg)
if string.sub(string.lower(msg),1,5)=="join/" then
local team=string.sub(string.lower(msg),6,string.len(msg))
local teams=game:GetService("Teams"):GetChildren()
for i, v in pairs(teams) do
if string.sub(string.lower(v.Name),1,string.len(team))==team then
player.TeamColor=v.TeamColor
end
end
end
end)
end)
Report Abuse
jas1cool is not online. jas1cool
Joined: 13 Nov 2010
Total Posts: 39
29 Aug 2011 10:45 AM
Thanks but what should I say to join the team?
Report Abuse
Colt324 is not online. Colt324
Joined: 19 Aug 2009
Total Posts: 1562
29 Aug 2011 11:13 AM
Read the script. The answer's in the script.

join/teamname
Report Abuse
tdog158 is not online. tdog158
Joined: 08 Jul 2008
Total Posts: 5413
29 Aug 2011 12:26 PM
Say you have these teams:
Forest kittens
Red bloxxers
Orange destroyers
And you say
join/oran
You would join Orange destroyers
If you said
join/Forest kittens or even join/for then you would join Forest kittens.
Report Abuse
jas1cool is not online. jas1cool
Joined: 13 Nov 2010
Total Posts: 39
29 Aug 2011 03:03 PM
Humm.... I tested it and chated: join/Forest Survivors
and it didn't work........
Report Abuse
tdog158 is not online. tdog158
Joined: 08 Jul 2008
Total Posts: 5413
29 Aug 2011 03:46 PM
Then you probably spelt the team name wrong...
Report Abuse
jas1cool is not online. jas1cool
Joined: 13 Nov 2010
Total Posts: 39
29 Aug 2011 06:16 PM
so w8 what should i say to change team ?
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
29 Aug 2011 06:32 PM
No request allowed!
Report Abuse
xvgigakid is not online. xvgigakid
Joined: 22 Jun 2008
Total Posts: 4407
29 Aug 2011 07:28 PM
@Miro

Idiot, He didnt request a script he asked for instructions on what to do. He was just given a script.
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
29 Aug 2011 07:33 PM
Hey don't call me an idiot, ok I'm sorry. Thats It..
Report Abuse
tdog158 is not online. tdog158
Joined: 08 Jul 2008
Total Posts: 5413
29 Aug 2011 11:17 PM
@Miro, next time could you possibly provide instructions to solve OP's problem instead of boosting your post count with useless posts?
Report Abuse
jas1cool is not online. jas1cool
Joined: 13 Nov 2010
Total Posts: 39
30 Aug 2011 08:27 AM
So wait we can't ask for help with scrpts in scripting helpers????
I don't get it........
Report Abuse
nightmare3o is not online. nightmare3o
Joined: 21 Jun 2008
Total Posts: 956
30 Aug 2011 08:30 AM
no scripting helpers is where we help and fix your scripts or teach you.
requesting isnt allowed however but since you were'nt requesting one and was given it randomly you're fine. for now...
Report Abuse
jas1cool is not online. jas1cool
Joined: 13 Nov 2010
Total Posts: 39
30 Aug 2011 08:35 AM
Is there a place you can ask for scripts in roblox?
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
30 Aug 2011 08:40 AM
LMaD.
Report Abuse
jas1cool is not online. jas1cool
Joined: 13 Nov 2010
Total Posts: 39
30 Aug 2011 08:43 AM
What
?
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
30 Aug 2011 08:44 AM
Let's Make a Deal.

@Floodcheck, no I am not posting to fast. You are making me post too slow.
Report Abuse
nightmare3o is not online. nightmare3o
Joined: 21 Jun 2008
Total Posts: 956
30 Aug 2011 08:47 AM
You can get free scripts when Scripting Slaves exist
so maybe about 100 more years?
=]
Report Abuse
jas1cool is not online. jas1cool
Joined: 13 Nov 2010
Total Posts: 39
30 Aug 2011 08:53 AM
Yay!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :D But wait? would it count as a request if I asked in what section of Roblox wiki I can find how to make a script?
Report Abuse
tdog158 is not online. tdog158
Joined: 08 Jul 2008
Total Posts: 5413
30 Aug 2011 10:56 AM
@Jas, depends who you ask. Most of the people in SH would say yes, but I would give you a link to what you want or just tell you how to do something myself.
Report Abuse
GiverLol is not online. GiverLol
Joined: 20 Dec 2010
Total Posts: 810
30 Aug 2011 11:50 AM
Instructions to learn Lua:

1. See YouTube tutorial
2. Read ROBLOX Wiki
3. Search scripts on free models and try to edit a little bit
4.Try to write your own script
Report Abuse
GiverLol is not online. GiverLol
Joined: 20 Dec 2010
Total Posts: 810
30 Aug 2011 11:51 AM
1. See YouTube tutorials*
Report Abuse
Artixlol9999 is not online. Artixlol9999
Joined: 11 Sep 2010
Total Posts: 915
30 Aug 2011 11:53 AM
Thats what i did.
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
30 Aug 2011 03:31 PM
I lear Lua from free model. :D
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 2Go to page: [1], 2 Next
 
 
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