IDKBlox
|
  |
| Joined: 05 Apr 2013 |
| Total Posts: 1304 |
|
|
| 27 Apr 2015 10:58 PM |
game:GetService("TeleportService"):Teleport(8473728,Plr)
this means what? :) |
|
|
| Report Abuse |
|
|
|
| 27 Apr 2015 11:00 PM |
Plr is not a Player.
game:GetService("TeleportService"):Teleport(12345678, game.Players.IDKBlox) |
|
|
| Report Abuse |
|
|
IDKBlox
|
  |
| Joined: 05 Apr 2013 |
| Total Posts: 1304 |
|
|
| 27 Apr 2015 11:01 PM |
| Thats but that wasnt the problem lol, and yes it was :P thanks for trying to help though |
|
|
| Report Abuse |
|
|
vacha
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 1993 |
|
|
| 27 Apr 2015 11:04 PM |
| Does the destination exist and do you have permissions to access it? |
|
|
| Report Abuse |
|
|
NotAshley
|
  |
| Joined: 16 Jan 2014 |
| Total Posts: 14257 |
|
|
| 27 Apr 2015 11:04 PM |
| The error means you're trying to set a value to something that doesn't accept that value type. Assuming Plr is a valid player, your code will work, so the issue is elsewhere in your code. |
|
|
| Report Abuse |
|
|
NotAshley
|
  |
| Joined: 16 Jan 2014 |
| Total Posts: 14257 |
|
|
| 27 Apr 2015 11:05 PM |
| @vacha I'm pretty sure TeleportService allows teleportation to any place. |
|
|
| Report Abuse |
|
|
|
| 27 Apr 2015 11:07 PM |
"I'm pretty sure TeleportService allows teleportation to any place." Yeah, it definitely allows teleportation to friend-only games, personal servers, VIP servers, paid-access places, BC-only places, inactive places, etc. |
|
|
| Report Abuse |
|
|
vacha
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 1993 |
|
|
| 27 Apr 2015 11:08 PM |
@Ashley, Only places that are open to everyone and if you have permission to visit it.
Also if attempted from studio it only teleports if you are the owner of the place (imagine if this wasn't the case) |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 27 Apr 2015 11:09 PM |
@Viscoelastic
Teleport service does allow teleporting to inactive places if it is in the same game.
I script -~ chimmihc |
|
|
| Report Abuse |
|
|
NotAshley
|
  |
| Joined: 16 Jan 2014 |
| Total Posts: 14257 |
|
|
| 27 Apr 2015 11:10 PM |
| Didn't think of that, but that would give a different error, not an unable to cast value error. |
|
|
| Report Abuse |
|
|
|
| 27 Apr 2015 11:10 PM |
| Well that's not technically inactive if the starting place is active. |
|
|
| Report Abuse |
|
|
vacha
|
  |
| Joined: 06 Jan 2011 |
| Total Posts: 1993 |
|
|
| 27 Apr 2015 11:12 PM |
OP is trying to teleport to a place that doesn't exist (id 8473728) The place id is the same from the wiki page http://wiki.roblox.com/index.php?title=TeleportService_guide |
|
|
| Report Abuse |
|
|