#TeleportData not loading

1 messages · Page 1 of 1 (latest)

minor roost
#

Pretty self explanatory, when I enter the game, get teleported, it doesn't load the data. Here are the scripts:
Teleport Game (ServerScript):

script.Parent.Triggered:Connect(function(plr)
    local TeleportService = game:GetService("TeleportService")
    local Players = game:GetService("Players")

    -- Get the PlaceId of the sub-place (replace with the actual ID)
    local subPlaceId = 84211439060742

    -- Get the player to teleport
    local playerToTeleport = plr
    local teleportData = {
        classId = "OMGLOAD"
    }
    -- Create an array containing the player
    local playersToTeleport = {playerToTeleport}

    -- Teleport the player
    TeleportService:TeleportAsync(subPlaceId, playersToTeleport)
end)

Receiving Data Game (LocalScript):

script.Parent.Triggered:Connect(function(plr)
    local TeleportService = game:GetService("TeleportService")
    local Players = game:GetService("Players")

    -- Get the PlaceId of the sub-place (replace with the actual ID)
    local subPlaceId = 84211439060742

    -- Get the player to teleport
    local playerToTeleport = plr
    local teleportData = {
        classId = "OMGLOAD"
    }
    -- Create an array containing the player
    local playersToTeleport = {playerToTeleport}

    -- Teleport the player
    TeleportService:TeleportAsync(subPlaceId, playersToTeleport)
end)
quick sluice
#

i think you put the same script twice

#

more to the point, i see you have a teleportData table, but you don't do anything with it. you're definitely not sending it with the teleport TeleportService:TeleportAsync(subPlaceId, playersToTeleport). maybe that's why it's not sending with the teleport? fingerguns

#

also wat is this, chatgpt?

gloomy bison
quick sluice
gloomy bison
quick sluice
#

i guess its just hard to tell

gloomy bison
#

You can tell with the gigantic amount of comments in their scripts.

#

As if they were trying to describe almost each line to a 5 years old

quick sluice
#

i meant in their app

gloomy bison
#

Oh

#

Also, weren’t you s2 ?

rocky vapor
rocky vapor
#

you only define it

#

its not even being used

gloomy bison
rocky vapor
#

all s2

#

got stripped

#

of their role

gloomy bison
#

Why ?

#

New requirements ?

rocky vapor
#

maybe

#

probably

#

hopefully they do that to s1 next </3

gloomy bison
#

Can you still get it rn or its unobtainable for now

rocky vapor
#

i think u can

gloomy bison
rocky vapor
#

get it

rocky vapor
gloomy bison
#

Icl i rather be role-less than being considered in the same field as s1 using chatgpt

rocky vapor
#

welp

#

u can get it removed

quick sluice
gloomy bison
#

💪🏾

rocky vapor
gloomy bison
#

I’m light skin

#

Can’t you see my pfp

#

💪🏽

minor roost
minor roost
minor roost
minor roost
gloomy bison
#

What’s the point of fixing the script if you don’t learn any thing at the end of the day?

minor roost
minor roost
#

i never use it to fix my scripts, i only used this bc i couldnt find anything else
and btw, i didnt ask chatgpt, my search engine has an ai embedded, thats not my problem

gloomy bison
minor roost
#

look now that i know how teleportservice works

gloomy bison
#

We can’t help you

minor roost
#

ill probably never touch ai again

minor roost
gloomy bison
#

Helping is not only about fixing a script

#

It’s about making some realizing what blocked them during the programmation of their system

minor roost
#

anyways thx for the help ima close this now

#

i understand that ai is just something that discourages honest work

#

and im not a big fan of it either

gloomy bison
minor roost
gloomy bison
#

It’s simply impossible to help people asking for "help" when they send an AI generated script

minor roost
gloomy bison
#

Because there is no point explaining them what are error the errors in the scripts since they don’t understand the basics at all most of the time

minor roost
gloomy bison
#

Learn how to teleport Roblox players to different places using Teleport Service! We'll be learning to teleport players, make custom loading/transition screens, send data across servers, understand PlaceId and JobId, and handle failed teleports! This houses many useful features like TeleportAsync, PlaceId, JobId, GetArrivingTeleportGui, SafeTelep...

▶ Play video
minor roost
#

anyways thx for the explanation

gloomy bison
#

Np