|
| 22 Jul 2011 02:37 PM |
wait(10) game:GetService("TeleportService"):TeleportToSpawnByName(49529893, REDUN)
I have no idea why this doesn't work, and yes it's in a LocalScript. |
|
|
| Report Abuse |
|
|
AeroMcFly
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 546 |
|
|
| 22 Jul 2011 02:38 PM |
wait(10) game:GetService("TeleportService"):TeleportToSpawnByName(49529893, "REDUN")
Notice the quotations around REDUN. That second argument is the name of the spawn, and must be a string. |
|
|
| Report Abuse |
|
|
zakary99
|
  |
| Joined: 19 Jan 2010 |
| Total Posts: 1095 |
|
|
| 22 Jul 2011 02:38 PM |
| Try removing REDUN or making it non all capitalized. |
|
|
| Report Abuse |
|
|
| |
|
|
| 22 Jul 2011 02:48 PM |
They both have to be string.
TeleportService:TeleportToSpawnByName(string PlaceID, string SpawnName)
So...
game:GetService("TeleportService"):TeleportToSpawnByName("49529893", "REDUN")
|
|
|
| Report Abuse |
|
|
|
| 22 Jul 2011 02:50 PM |
@TheNew
That didn't work either.
:/ |
|
|
| Report Abuse |
|
|
AeroMcFly
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 546 |
|
|
| 22 Jul 2011 02:55 PM |
| No, the PlaceID is a number |
|
|
| Report Abuse |
|
|
AeroMcFly
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 546 |
|
|
| 22 Jul 2011 03:00 PM |
| Where is your LocalScript in your game? |
|
|
| Report Abuse |
|
|
| |
|
AeroMcFly
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 546 |
|
|
| 23 Jul 2011 04:13 AM |
| That's your problem. LocalScripts only work in a player's character, player's backpack, or any descendant of those. |
|
|
| Report Abuse |
|
|
AeroMcFly
|
  |
| Joined: 16 Jul 2008 |
| Total Posts: 546 |
|
| |
|
| |
|