Hello, I have seen that in several games when starting a new game there is a “teleportation” of the players from the lobby to the field of the game, my question is, How can I do this teleportation correctly? Because at the moment I only achieve one I change position, but I see that in these games when they do a “good teleportation” the players have a sphere of protection when they first appear on the field of play without having died before.
I believe you may be talking about teleport places. What you would have to do is create a place using game explorer (you can find this under the view tab), copying the id, then creating a script that would teleport your player to the place.
A smooth teleportation can be achieved without killing the players using CFrames. Take a look at this script -
local target = CFrame.new(TeleportPadPosition)
for i, Player in ipairs(game.Players:GetChildren()) do
if Player.Character and player.Character:FindFirstChild("Head") then
Player.Character.Head.CFrame = target + Vector3.new(0, i * 5, 0)
end
end