jeffblob19
(jaquavious_zaza)
February 13, 2021, 10:24pm
1
I wasn’t sure whether to put this in bug reports, or if my script is just not working.
I have this script, it teleports the player to the place ID
Am i missing something?
The ID is a value in the button itself.
(I also have third party teleports enabled)
Local script:
I’m not sure if teleport service is broke or my script isn’t working for a reason.
Error displayed when clicking:
Thank you.
If placeid is a Instance, you can’t define it like that as it’s looking for a int64 value (Or a number)
To fix it, you can change:
local placeid = script.Parent.ID
To:
local placeid = --PlaceID here
Also, make sure to turn on Third Party Services as well in the Game Settings if you get a HTTP Error
jeffblob19
(jaquavious_zaza)
February 13, 2021, 10:30pm
3
Thanks for responding, but i found the root of the problem.
I should have put a .value at the end, so it would look like this:
script.parent.ID.Value
NotZylon
(shiesty)
February 13, 2021, 10:30pm
4
maybe
local ID = 00000 --- change this to your place id
And maybe change it to
local placeid = ID