this is what i made
function teleport(player)
local HumanoidRootPart = player.HumanoidRootPart
HumanoidRootPart.CFrame = CFrame.new(script.Parent.Parent.Teleport2.Position)
end
script.Parent.Touched:connect(function(tele)
wait(5)
teleport(tele.Parent)
end)
then for the second one
function teleport(player)
local HumanoidRootPart = player.HumanoidRootPart
HumanoidRootPart.CFrame = CFrame.new(script.Parent.Parent.Teleport1.Position)
end
script.Parent.Touched:connect(function(tele)
wait(5)
teleport(tele.Parent)
end)
then it will teleport to a block when i touched it it will teleport to the other game
local TeleportService = game:GetService("TeleportService")
local Place = 3269463103
script.Parent.Touched:connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player then
TeleportService:Teleport(Place, player)
end
end)
lastly i wanted to add a timer when i touched the block, and then all the people in the circle will teleport to the game. but the problem is
local seconds = script.StarterGui.Child.Time
script.StarterGui.Child.Text = seconds.Value
for i = 1,seconds.Value do
wait(1)
seconds.Value = seconds.Value - 1
script.Parent.Text = seconds.Value
end
i found this from youtube, how do i connect them both then simply have a timer then teleports to the block then i go to the game?

4 comments
Teleport to a place or another point?
this is not a script request site, we only help with scripts that dont work
Teleport to anoter place
another*