So if i teleport i get under the "island" and i instantly die, how can I fix this
portal.Touched:Connect(debounce(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local character = hit.Parent
local player = Players:GetPlayerFromCharacter(character)
local rebirths = player.leaderstats.Rebirths.Value
if rebirths >= tonumber(portal.Name) then
character.HumanoidRootPart.CFrame = destination.CFrame
end
end
end))

1 comment
i guess destination is a Part located within Workspace?