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
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.