Im making a racing game and the script that takes people to the map is this
while true do
wait(4)
for i,v in pairs(game.Players:GetPlayers()) do
v.Character.Torso.CFrame =
game.Workspace.Map1.TeleportInboundBrick.CFrame
end
wait(15)
for i,v in pairs(game.Players:GetPlayers()) do
v.Character.Torso.CFrame =
game.Workspace.Lobby.TeleportInboundBrick.CFrame
end
end
At the moment you only have 15 seconds to win the race or you will be sent back to the lobby is there a way i can make it so if someone steps on a brick it will speed up that time and send everyone to the lobby. The name of the brick i want them to step on is named TeleportInboundBrick or Workspace.Map1.TeleportInboundBrick
|