Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

TeleportService Crashes Mac Users?

Asked by 8 years ago

So Game Universes have become a huge part of ROBLOX in the past couple of years since their introduction. I know I've relied on the power of TeleportService quite heavily in my games. In the past few months though, I've seen some issues where calling TeleportService:Teleport() crashes Mac users instead of smoothly teleporting them. Is this a global problem, or am I doing something wrong in my code? I've tried with both localscripts and server scripts, and both have the same problem. Below is one of my problem scripts, selecting a specific DialogChoice will call this function, which checks all of the seats in a transport vehicle for a player sitting in it, if so, it teleports them to the destination Place.

function selected(player, choice)
    for _, name in pairs(locations) do
        if choice.Name == name then
            match = true
            break
        end
    end

    if match then
        launching = true
        -------------------------------------- Go through seats on the vehicle
        for _, seat in pairs(seats:GetChildren()) do
            if seat and seat:IsA("Seat") and seat.Occupant then
                local plr = game.Players:GetPlayerFromCharacter(seat.Occupant.Parent)

                if plr then  ------------------------------------------------------- IMPORTANT PART HERE
                    TS:Teleport(choice.ID.Value, plr)
                else
                    seat.Occupant.Jump = true
                end
            end
        end
        wait()
        launching = false
        match = false
    end
end
0
My game relies a lot of universes. It's a popular game and I haven't heard of/no seen any problems, from my fans, about mac issues. Maybe the place your teleporting them to is loading too much at once (possibility)? I have no idea. I hope this helps let you know that it's not a global problem, and maybe you'll figure out how to fix it. ObscureEntity 294 — 8y
0
Thanks, I have since the above post seen that another of my games doesn't have any problem either, like you said. I'm still researching to find what the problem could be, because it happens for ANY place a user tries to teleport to from that specific game. deaththerapy 60 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago

Solution: It appears that this was some sort of bug on the roblox system itself. As of roughly a week ago, teleporting suddenly worked fine on all the places I had problems on. Hopefully no one else will have to face this issue in the future.

Ad

Answer this question