#teleport validation failed

1 messages · Page 1 of 1 (latest)

hot basin
#

everytime i try to make a part that when the player touches, teleports them to a place in the game. but it fails every. single. time. i tried 3 different scripts (not including the current one) and all of them failed. yes i do use third party teleport thing in the games settings. Any help?

pallid quartz
#

show me code @hot basin

lost locust
#

Show the code

#

@hot basin

hot basin
hot basin
#

local GameId = "7792561076" -- Change this ID to the games ID which you want players to teleport to

function Touched(Player)
local FromChar = game.Players:GetPlayerFromCharacter(Player.Parent)
if FromChar then
local TeleService = game:GetService("TeleportService")
TeleService:Teleport(GameId,FromChar)
end
end
script.Parent.Touched:Connect(Touched)

#

the id for the game is correct

lost locust
#

@hot basin is it not working

#

Ingame

#

Or in studios

hot basin
#

ik

#

i tried liek 7 tgimes

lost locust
hot basin
#

in studio it doesn't work

#

but in the actrual game it bugs like this

#

that shows up in gamer

lost locust
#

Do print below

#

if FromChar

hot basin
#

?

lost locust
#

To make sure there is

#

A player

hot basin
#

oh

lost locust
#

Print anything below if FromChar

#

To see if there’s a player from the hit.Parent

hot basin
#

what

#

im so confused im not good at ts 😭

hot basin
lost locust
#

Wait

#

Is http request

#

Enabled

#

@hot basin

hot basin
#

no

lost locust
#

Enabled it

#

And api services

#

And check if it works

#

@hot basin

hot basin
#

k

twilit solarBOT
#

studio** You are now Level 3! **studio

lost locust
#

Check if it works ing

#

Not in studios

hot basin
#

uh

lost locust
#

Yeah enable

#

Those

hot basin
#

i can do http requests

#

but api services are not workin

lost locust
#

See if it works

#

Ingame

#

With just http request

hot basin
#

oh nvm,

#

it worked

lost locust
#

Check ing

hot basin
#

okay

#

nope

#

i tried in game

#

i published it to roblox

#

twice

#

and that too

#

this happends when i try to teleport

lost locust
#

Alright

#

Lemme check

hot basin
#

imma try just api survices

#

nope

hot basin
lost locust
#

I’m getting on rn

#

I was eating breakfast

#

@hot basin

hot basin
#

take ur time ig

lost locust
#

Ight

#

Testing it

hot basin
#

k

lost locust
#

@hot basin did you enable

#

Allow third party

#

Teeports

hot basin
#

yea

lost locust
#

@hot basin

#

Got it to work

#

Make sure all 3 of things are enabled and try this code

hot basin
#

iwaz gone fopr s ec

lost locust
#
local part = script.Parent

local TeleportToNewGame = 138581592044513

local TeleportService = game:GetService("TeleportService")

part.Touched:Connect(function(hit)
    local PlayerFromHitParent = game.Players:GetPlayerFromCharacter(hit.Parent)
    
    if PlayerFromHitParent and TeleportService then
        TeleportService:Teleport(TeleportToNewGame,PlayerFromHitParent)
    end
end)```
#

Try this

#

@hot basin

hot basin
#

okay

#

btw

#

its trying to teleport to a subplace

#

oh

#

ran into a pro

#

but i think i can fix it

#

it was just not rated

lost locust
#

What was the problem

#

?

hot basin
#

well uhh

#

i just rated it

#

but didn't work

#

its at mild and my account can accept that

lost locust
#

Is the second place owned

#

By you?

#

the place you’re making the person teleport to is that place owned by you?

#

Not sure why it isn’t working for you

hot basin
#

yes

#

i own it

#

its a subplace

#

a subplace in my own game

lost locust
#

Hold up

hot basin
#

ill just restart both of the places

lost locust
#

Just asked someone the error means

#

One of the games or the place you’re trying to teleport to

#

Is under review

hot basin
#

oh

#

ok

hot basin
hot basin
twilit solarBOT
#

studio** You are now Level 4! **studio

hot basin
#

@lost locust are you still there?

lost locust
#

@hot basin

#

?

hot basin
lost locust
#

What’s the error

#

This time

#

When u touch the part

#

@hot basin

hot basin
#

okay

#

it still says the same error

#

but ill try to see if its fixes now

lost locust
#

The rated thing?

hot basin
#

yea

#

yep

#

still says it

hot basin
#

i jst tried it

hot basin
hot basin
#

but i got it working

lost locust
#

oh

#

Mb

#

@hot basin so it was teleporting you

#

To a random game?

hot basin
#

yea

lost locust
#

Because of the game I’d

#

Id?

#

You didn’t change the game id or something?

hot basin
#

it was teleporting me to a random game

#

like i think it was swats vs zombies by like coryxkension0

#

this game

#

sorry

#

got timed out for putting a link in the message

hot basin
lost locust
#

You didn’t change the game

#

Id

hot basin
#

ik

hot basin
#

i just did

#

and now it works

hot basin
# lost locust ?

so, with the avatar thing, you can change what diff things other players can wear

#

and i tried

lost locust
#

?

hot basin
#

that

#

but when i tried saving it didn't work

#

the player was in r6

#

so idk why its not working

#

i tried in r15 and that didn't work ktoo

lost locust
#

Hm

#

?

hot basin
#

the avatar item im trying to put on is this
17654792869

lost locust
#

Is that

#

A shirt

hot basin
#

no

twilit solarBOT
#

studio** You are now Level 5! **studio

hot basin
lost locust
#

Just load the accessory with

#

The id

#

@hot basin

hot basin
#

but i want it to be put on the player

lost locust
#

@hot basin the character?

hot basin
hot basin
#

on the head of the player

#

but when i try it says that it was unable to ssave it