of     1   

Dylanpdx
#63120013Sunday, February 19, 2012 7:03 PM GMT

Is there any way to use the teleport service that when the player goes to another place it puts them on a specific team? Because when I type game:GetService("TeleportService"):TeleportToSpawnByName(18824987, "TeleportSpawn") and TeleportSpawn on the other place is a team, it still goes to the first spawn. It's spelled correctly and AllowTeamChangeOnTouch is checked. The reason why I need this is that I have a game that is split in 2 parts. In part 1 the player goes through a cave that teleports them to part 2. Part 2 makes sure that they completed part 1 by checking if teleport service teleported the player to the right team. Part 1 is supposed to teleport the player to spawn "TeleportSpawn", but if the player joins without finishing part 1, it goes to the default spawn. Don't know if this makes sense xD
Dylanpdx
#63321983Thursday, February 23, 2012 4:27 PM GMT

After some testing it still doesen't work. Bump?
NoahWillCode
#63323286Thursday, February 23, 2012 5:18 PM GMT

This is why I don't use spawns... Put this script into the spawn: script.Parent.Touched;connect(function(hit) if hit.Parent:findFirstChild("Humanoid") and game.Players:findFirstChild(hit.Parent.Name) then game.Players:findFirstChild(hit.Parent.Name).TeamColor = game.Teams["TeamNameHere"].TeamColor end end) And put this script directly into the workspace: while true do wait(.1) local plrs = game.Players:GetChildren() for i=1,#plrs do if plrs[i].TeamColor == game.Teams["DefaultTeamColorHere"] then plrs[i].Character.Humanoid.Walkspeed = 0 end end end
Dylanpdx
#63358116Friday, February 24, 2012 5:47 AM GMT

That's not the problem I'm having. Here is an example. I set Place 1 to teleport player to spawn B in place 2. game:GetService("TeleportService"):Teleport(18824987, "B") spawn B in place 2 is not the default spawn (teams). And it is named B, nothing else in workspace named b. Instead, teleport service sends me directly to spawn A instead of spawn B. So, Teleport service isnt letting me teleport to spawn B.. How come? By the way, each spawn has a team for it.
Dylanpdx
#63358396Friday, February 24, 2012 6:00 AM GMT

Also tried changing the spawn name to ABC and changing the script to game:GetService("TeleportService"):Teleport(18824987, "ABC") It teleports me to the correct place, just not the correct spawn
Cheater
#63361251Friday, February 24, 2012 10:49 AM GMT

Still using CFrames and Vector3s for that. Much easier than the newer scripts.
Dylanpdx
#63366436Friday, February 24, 2012 4:32 PM GMT

:/ I don't think anyone understands me. I want to use TeleportService to move a player to a different place. The teleport service is set to put the player in spawn B but the game puts the player in spawn A (default spawn). I don't mean teleporting from position to position. Its teleporting from place to place using TeleportService.
grimm343
#63366664Friday, February 24, 2012 4:42 PM GMT

Because I don't know how to fix your issue, as I never dealt with TeleportService, before, I normally would not post on a topic like this. However, the previous answers are all ridiculous and the writers seemed to ignore what you said, except for 'teleport' and 'spawn'. >.> As he said multiple times... Let's say that you are in one of his games. He has a teleporter (teleports to another game) on that level. When you walk into that teleporter, the person is moved to a different game, and is placed on a spawn specifically for those that teleport. This means that ONLY the people that teleport using this out-of-game teleporter will be assigned to this team. You can't do that with simply moving the character to the spawn in the game that the person is being teleported to, because you will have no way of knowing that he/she teleported. Again, he wants to use TeleportService and set the person a certain team, when they are moved to the other game, from a different game.
Cheater
#63366676Friday, February 24, 2012 4:43 PM GMT

What's the difference between Plac and Position? By using Vectro3 you could say Vector3.new(LOCATIONOFSPANWA) and you never will have problems anymore. Just use the torso of your character. That works everytime.
grimm343
#63368904Friday, February 24, 2012 5:55 PM GMT

By place we mean GAME. Gah. >.> A place teleporter! TeleportService.. The difference between place and Position is like saying.. What's the difference between Sword Fight on the Heights IV and Vector3.new(0,5,0)? There's a HUGE difference.
NoahWillCode
#63392943Saturday, February 25, 2012 1:48 AM GMT

Wait...Is the default team checked as 'AutoAssignable'? If so...That's bad.
Dylanpdx
#63396618Saturday, February 25, 2012 2:56 AM GMT

@grimm343 Thanks for making it clear :) @bballer13sn well i want it so that when the player joins the game, if the player was not teleported from place 1, it sends them to a team called "Do part 1 first!". Because some players can join part 2 without doing part 1 and miss the storyline :/ Is there a way of doing this without checking autoassignable on any of the teams?
Dylanpdx
#63405317Saturday, February 25, 2012 5:54 AM GMT

Bump :/
Cheater
#63408401Saturday, February 25, 2012 8:15 AM GMT

I think this is not allowed because of currency boosting.
grimm343
#63418685Saturday, February 25, 2012 4:13 PM GMT

The TeleportToSpawnByName method only works on spawns with the Neutral property set to true (checked). Unfortunately, this means that all teams will usually teleport to one of these Neutral spawns..
Dylanpdx
#63452215Sunday, February 26, 2012 2:01 AM GMT

Ohh, so what if I put a neutral spawn next to the team spawn that I want to teleport to and make both cancollide false? That may work.. I'm going to go test
Dylanpdx
#63453086Sunday, February 26, 2012 2:17 AM GMT

Nope, now it only spawns on the neutral spawn. I just wish there was a way to send messages through games.. I'm going to have to give up on this :/
SuperMarioIsAwesome
#85932622Tuesday, January 01, 2013 10:59 PM GMT

I am having this same exact problem >_______<

    of     1