Ad
Log in to vote
0

Unable to use ROBLOX's Universe feature

Asked by 7 years ago

http://www.roblox.com/Bloxy-Platform-HUGE-UPDATE-place?id=141925189

When I touch the teleport

Teleport started...

then this happens.

Teleport failed, insufficient privileges or target place does not exist.

What exact privileges do I need? Because the place exists, this is the place it is linked to.

http://www.roblox.com/PlaceItem.aspx?id=146981796&seoname=Bloxy-Platform-Level-01

Here is the script just in-case.

local PlaceID = script.Parent.ID.Value

function onTouched(hit)
character = hit.Parent
print('5')
if character then
game:GetService("TeleportService"):Teleport(PlaceID, character)
end
end

script.Parent.Touched:connect(onTouched)

1 answer

Log in to vote
2
Answered by
Everesty 1001 Moderation Voter
7 years ago

You have to have the value equal to the id of the place, and give it to the Teleport method as a number.

For this you can use tonumber.

game:GetService("TeleportService"):Teleport(tonumber(PlaceID), character)
0
It's still showing this, Teleport failed, insufficient privileges or target place does not exist. IntellectualBeing 430 — 7y
1
Are you sure PlaceID is a String with only numbers (the id of the place?) Everesty 1001 — 7y
0
I'm using a Number Value, Should I set it to String Value? IntellectualBeing 430 — 7y
1
Nah, you should be fine if it's a number value. Are you also sure the number value is named ID and is parented to the same object the script is? Everesty 1001 — 7y
View all comments (3 more)
0
Yes, I checked. Do I need to have the place I am teleporting to active? Quenty said I don't need to have BC to use universes. By the way the universe is all set up and everything. IntellectualBeing 430 — 7y
1
Yes, it needs to be active. Everesty 1001 — 7y
0
Ah, ok. Thanks for the help! IntellectualBeing 430 — 7y
Ad

Answer this question