Snej1
|
  |
| Joined: 25 Jun 2008 |
| Total Posts: 809 |
|
|
| 09 Aug 2011 09:10 AM |
game:GetService"TeleportService":TeleportToSpawnByName(placeID, spawnName) works but game:GetService"TeleportService":Teleport(placeID) doesn't work online. It seems to work in play solo. WHY? It broke a script for me and I had no idea what the problem was. I switched to TeleportToSpawnByName() and the script worked.
~ Chrome extensions FTW ~ |
|
|
| Report Abuse |
|
|
Snej1
|
  |
| Joined: 25 Jun 2008 |
| Total Posts: 809 |
|
|
| 09 Aug 2011 09:48 AM |
Bring Up My Post
Is it just my computer it doesn't work on?!
~ Chrome extensions FTW ~ |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2011 09:49 AM |
Is it in a LocalScript?
-Like a boss. |
|
|
| Report Abuse |
|
|
yoyoman2
|
  |
| Joined: 07 Mar 2009 |
| Total Posts: 2170 |
|
|
| 09 Aug 2011 09:50 AM |
| take the roblox teleporter and see your problem from there, im to lazy and sad right now |
|
|
| Report Abuse |
|
|
| |
|
Snej1
|
  |
| Joined: 25 Jun 2008 |
| Total Posts: 809 |
|
|
| 09 Aug 2011 09:56 AM |
It works when I have to teleporter by ROBLOX to use the Teleport() function. But not when I try to use it in a gui.
~ Chrome extensions FTW ~ |
|
|
| Report Abuse |
|
|
Snej1
|
  |
| Joined: 25 Jun 2008 |
| Total Posts: 809 |
|
|
| 09 Aug 2011 10:10 AM |
This is REALLY strange! I set the roblox teleporter to only use the Teleport function as I said and that worked online, but this simple script is a LocaScript, but it only works in play solo:
script.Parent.Places.Button1.MouseButton1Down:connect(function() game:GetService("TeleportService"):Teleport(41324860) end)
Odd?
~ Chrome extensions FTW ~ |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2011 10:15 AM |
| I think it needs to be in a local script. |
|
|
| Report Abuse |
|
|
Snej1
|
  |
| Joined: 25 Jun 2008 |
| Total Posts: 809 |
|
|
| 09 Aug 2011 10:17 AM |
It is.
~ Chrome extensions FTW ~ |
|
|
| Report Abuse |
|
|
|
| 09 Aug 2011 11:00 AM |
| I have no idea why that isn't working; I made a GUI that uses the Teleport() method, and it worked for me. |
|
|
| Report Abuse |
|
|
nexus4345
|
  |
| Joined: 14 Apr 2009 |
| Total Posts: 398 |
|
|
| 09 Aug 2011 11:09 AM |
| If the localscript is in a GUI you have to put wait(1) in the beginning |
|
|
| Report Abuse |
|
|
Snej1
|
  |
| Joined: 25 Jun 2008 |
| Total Posts: 809 |
|
|
| 09 Aug 2011 01:24 PM |
Yes! It works when I put in wait(1) before the teleport thing! Someone could have told me that a little earlier...
~ Chrome extensions FTW ~ |
|
|
| Report Abuse |
|
|