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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 08 Jul 2008 |
| Total Posts: 5413 |
|
|
| 29 Aug 2011 03:46 PM |
| Then you probably spelt the team name wrong... |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
| |
|
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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
| |
|
jas1cool
|
  |
| Joined: 13 Nov 2010 |
| Total Posts: 39 |
|
| |
|
|
| 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 |
|
|
|
| 30 Aug 2011 08:47 AM |
You can get free scripts when Scripting Slaves exist so maybe about 100 more years? =] |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 20 Dec 2010 |
| Total Posts: 810 |
|
| |
|
| |
|
Miro034
|
  |
| Joined: 07 Oct 2009 |
| Total Posts: 6568 |
|
|
| 30 Aug 2011 03:31 PM |
| I lear Lua from free model. :D |
|
|
| Report Abuse |
|
|