of     2   
chevron_rightchevron_rightchevron_right

PRG
#528288Tuesday, February 26, 2008 5:45 PM GMT

I need a script where when you are wearing one of two certain shirts, you will automatically spawn on a certain team. Like, lets say the team is called "Non - Noobs" And people's names entered in the script will also be spawned to the team.
PRG
#529610Wednesday, February 27, 2008 1:16 AM GMT

bu-u-u-uhmp
lavamaster
#529851Wednesday, February 27, 2008 2:15 AM GMT

function onEnter(newplayer) if newplayer.Character.Torso.roblox.Texture = "instert here" then newplayer.TeamColor = BrickColor.new(26) return end end end game.Players:ChildAdded(onEnter)
PRG
#529875Wednesday, February 27, 2008 2:23 AM GMT

It needs two entries to put shirt in.
PRG
#529883Wednesday, February 27, 2008 2:24 AM GMT

And admin names.
DingDong272
Top 100 Poster
#529898Wednesday, February 27, 2008 2:27 AM GMT

use lava's script and put it in the onPlayerEntered part of this script: http://www.roblox.com/Model.aspx?id=400276
PRG
#529937Wednesday, February 27, 2008 2:35 AM GMT

I need a script where you can put admins' names and TWO shirt graphics so the wearer of ONE OF THE TWO shirts goes to the certain team!
DingDong272
Top 100 Poster
#529948Wednesday, February 27, 2008 2:37 AM GMT

Can't you just edit my script? Or do I need to do it?
PRG
#529968Wednesday, February 27, 2008 2:42 AM GMT

You. I end up ruining scripts...
PRG
#529975Wednesday, February 27, 2008 2:43 AM GMT

I can't even modify Shanethe12's paintball team.
PRG
#529979Wednesday, February 27, 2008 2:43 AM GMT

Script.
DingDong272
Top 100 Poster
#530065Wednesday, February 27, 2008 3:11 AM GMT

Ok. (my script builder works! whee!) check it out?
PRG
#531239Wednesday, February 27, 2008 9:22 PM GMT

buuuuuuump
DingDong272
Top 100 Poster
#531254Wednesday, February 27, 2008 9:24 PM GMT

Ok. I'm working on it right now. I'll put it in my models and post the link here when I'm done.
Romulus
#531279Wednesday, February 27, 2008 9:30 PM GMT

function onPlayerEntered(newPlayer) while true do if newPlayer.Character~=nil then break end wait() end if newPlayer.Character:FindFirstChild("Shirt Graphic").Graphic == "Entry 1" or newPlayer.Character:FindFirstChild("Shirt Graphic").Graphic == "Entry 2" then newPlayer.TeamColor = game.Teams.Admins.TeamColor end end game.Players.ChildAdded:connect(onPlayerEntered)
PRG
#531299Wednesday, February 27, 2008 9:37 PM GMT

"And people's names entered in the script will also be spawned to the team."
Romulus
#531321Wednesday, February 27, 2008 9:44 PM GMT

admins = { } function onPlayerEntered(newPlayer) while true do if newPlayer.Character~=nil then break end wait() end if newPlayer.Character:FindFirstChild("Shirt Graphic").Graphic == "Entry 1" or newPlayer.Character:FindFirstChild("Shirt Graphic").Graphic == "Entry 2" then newPlayer.TeamColor = game.Teams.Admins.TeamColor end for i = 1,#admins do if string.lower(admins[i])==string.lower(newPlayer.Name) then newPlayer.TeamColro = game.Teams.Admins.TeamColor end end end game.Players.ChildAdded:connect(onPlayerEntered)
Romulus
#531323Wednesday, February 27, 2008 9:45 PM GMT

admins = { } function onPlayerEntered(newPlayer) while true do if newPlayer.Character~=nil then break end wait() end if newPlayer.Character:FindFirstChild("Shirt Graphic").Graphic == "Entry 1" or newPlayer.Character:FindFirstChild("Shirt Graphic").Graphic == "Entry 2" then newPlayer.TeamColor = game.Teams.Admins.TeamColor end for i = 1,#admins do if string.lower(admins[i])==string.lower(newPlayer.Name) then newPlayer.TeamColor = game.Teams.Admins.TeamColor -- sorry, I type 100+ wpm, its easy to make mistakes and miss them. end end end game.Players.ChildAdded:connect(onPlayerEntered)
PRG
#531343Wednesday, February 27, 2008 9:50 PM GMT

Where do I put the specrific team name or team color?
DingDong272
Top 100 Poster
#531371Wednesday, February 27, 2008 9:58 PM GMT

in this: TeamColor = game.Teams.TEAM-NAME-HERE.TeamColor it says "Admins" in the script.
PRG
#531384Wednesday, February 27, 2008 10:01 PM GMT

Won't work admins = {"PRG", "Player"} function onPlayerEntered(newPlayer) while true do if newPlayer.Character~=nil then break end wait() end if newPlayer.Character:FindFirstChild("Shirt Graphic").Graphic == "http://www.roblox.com/asset/?version=1&id=1176995" or newPlayer.Character:FindFirstChild("Shirt Graphic").Graphic == "http://www.roblox.com/asset/?version=1&id=1116975" then newPlayer.TeamColor = game.Teams.Admins.TeamColor end for i = 1,#admins do if string.lower(admins[i])==string.lower(newPlayer.Name) then newPlayer.TeamColor = game.Teams.Non-Noobs.TeamColor -- sorry, I type 100+ wpm, its easy to make mistakes and miss them. end end end game.Players.ChildAdded:connect(onPlayerEntered)
PRG
#531907Wednesday, February 27, 2008 11:40 PM GMT

bu-u-ump
Romulus
#531920Wednesday, February 27, 2008 11:43 PM GMT

admins = {"PRG", "Player"} function onPlayerEntered(newPlayer) while true do if newPlayer.Character~=nil then break end wait() end if newPlayer.Character:FindFirstChild("Shirt Graphic").Graphic == "http://www.roblox.com/asset/?version=1&id=1176995" or newPlayer.Character:FindFirstChild("Shirt Graphic").Graphic == "http://www.roblox.com/asset/?version=1&id=1116975" then newPlayer.TeamColor = game.Teams.Admins.TeamColor end for i = 1,#admins do if string.lower(admins[i])==string.lower(newPlayer.Name) then newPlayer.TeamColor = game.Teams.Non-Noobs.TeamColor -- sorry, I type 100+ wpm, its easy to make mistakes and miss them. end end end end game.Players.ChildAdded:connect(onPlayerEntered)
PRG
#532040Thursday, February 28, 2008 12:06 AM GMT

Here is a suggestion, modify the script that is in Haunted Hill that puts you on the other team when you are wearin a certain hat. But instead of a hat, it's a shirt.
PRG
#532939Thursday, February 28, 2008 2:42 AM GMT

oh ya, still no worky.

    of     2   
chevron_rightchevron_rightchevron_right