|
| 10 Aug 2012 02:07 PM |
Okay, I have a script for my group, here it is.
game.Players.PlayerAdded:connect(function(player) if player:IsInGroup(618585) then ------ put your group ID in the "()" player.TeamColor = BrickColor.new("Really blue") else --<< end end)
Now, everytime I spawn, I spawn on the right team, but not at the right spawn.
The team setting is "Really blue"
The Spawn that I SHOULD spawn at team setting is "Really blue"
I've even put the script in the spawns, and it still doesn't work.
What do I do?
Add 1769 to my post count ~DA |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 02:12 PM |
Bump.
Add 1769 to my post count ~DA |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 02:13 PM |
game.Players.PlayerAdded:connect(function(plr) if plr:IsInGroup(YourId) then plr.TeamColor = BrickColor.new("Your Color Here") end end)
-- As of 8/10/12 I have 16,439R$ worth of hats/gear/and packages. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 02:14 PM |
game.Players.PlayerAdded:connect(function(plr) if plr:IsInGroup(YourId) then plr.TeamColor = BrickColor.new("Your Color Here") plr.Character:BreakJoints() end end)
-- As of 8/10/12 I have 16,439R$ worth of hats/gear/and packages. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 02:16 PM |
@Cease
Do I just put that in my spawns?
Add 1769 to my post count ~DA |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 02:18 PM |
Dark, in Workspace.
-- As of 8/10/12 I have 16,439R$ worth of hats/gear/and packages. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 02:20 PM |
Dark, there's no such thing as Really blue, it's Bright blue. -_-.... http://wiki.roblox.com/index.php/BrickColor_Codes
-- As of 8/10/12 I have 16,439R$ worth of hats/gear/and packages. |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
|
| 10 Aug 2012 02:23 PM |
| @Cease: ... learn to use ctrl+f. It's code number 1010. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 02:24 PM |
@cease
Actually it works.
I found out it was just the initial spawning.
And yes there is a Really blue.
Add 1769 to my post count ~DA |
|
|
| Report Abuse |
|
|
Shobobo99
|
  |
| Joined: 30 Dec 2008 |
| Total Posts: 5754 |
|
|
| 10 Aug 2012 02:27 PM |
This is because you are spawning before the team change is noticed by whatever script deals with spawns. Depending on your spawn names you could do something simple like this:
game.Players.PlayerAdded:connect(function(player) if player:IsInGroup(618585) then ------ put your group ID in the "()" player.TeamColor = BrickColor.new("Really blue")
else --<< end
player.CharacterAdded:connect(function (char) char:MoveTo(workspace.ClanSpawn.Position) end) end)
In this way, you would name all your clan spawns ClanSpawn. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 02:31 PM |
@Sho
Would that fix the initial spawn problem?
When you first load up the game, it spawns me in the other teams spawn.
I reset, and I spawn in the correct spawn every time.
Add 1769 to my post count ~DA |
|
|
| Report Abuse |
|
|
Shobobo99
|
  |
| Joined: 30 Dec 2008 |
| Total Posts: 5754 |
|
|
| 10 Aug 2012 02:49 PM |
| Yes, just name all your clan spawns: ClanSpawn, and it should work for the initial spawn as well. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 03:06 PM |
| @Dr0: ... Learn to script. |
|
|
| Report Abuse |
|
|
Dr01d3k4
|
  |
| Joined: 11 Oct 2007 |
| Total Posts: 17916 |
|
| |
|
|
| 10 Aug 2012 03:29 PM |
Nice free model.
~repeat wait() until script.Parent:HasALife() |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 03:34 PM |
@CeaselessSoul
I don't think you are in any position to tell Dr0 to learn how to script... |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 03:42 PM |
OMG HAS ANYONE THOUGHT OF THIS? :D Maybe you have a neutral spawn. -.-' |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 03:54 PM |
| Go to all the spawns and uncheck the "Neutral" box. :P |
|
|
| Report Abuse |
|
|
NeeRuimte
|
  |
| Joined: 01 Jul 2012 |
| Total Posts: 126 |
|
|
| 10 Aug 2012 04:14 PM |
| @Cease, don't talk, I bet Dr0 can do 100xs better than you, Dr0 is a pro. |
|
|
| Report Abuse |
|
|