of     1   

XTheFlamingCactusX
#186272139Monday, March 28, 2016 10:09 PM GMT

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
XTheFlamingCactusX
#186272240Monday, March 28, 2016 10:10 PM GMT

Im sorry its not named TeleportInboundBrick its named WinTheMatch or Workspace.Map1.WinTheMatch
Kryddan
#186272306Monday, March 28, 2016 10:11 PM GMT

workspace.Map1.TeleportinboundBrick.Touched:connect(function() --teleporting stuff end)
Kryddan
#186272349Monday, March 28, 2016 10:12 PM GMT

workspace.Map1.WinTheMatch.Touched:connect(function() --teleporting stuff end)
XTheFlamingCactusX
#186272392Monday, March 28, 2016 10:13 PM GMT

Do I add that to the current script or a new script?
Kryddan
#186272508Monday, March 28, 2016 10:14 PM GMT

while true do wait(4) for i,v in pairs(game.Players:GetPlayers()) do v.Character.Torso.CFrame = game.Workspace.Map1.TeleportInboundBrick.CFrame end workspace.Map1.WinTheMatch.Tocuhed:connect(function() for i,v in pairs(game.Players:GetPlayers()) do v.Character.Torso.CFrame = game.Workspace.Lobby.TeleportInboundBrick.CFrame end end) end
XTheFlamingCactusX
#186272958Monday, March 28, 2016 10:21 PM GMT

It did not teleport me or all the players back to TeleportInboundBrick after i stepped on WinTheMatch
AxonMega
#186277570Monday, March 28, 2016 11:19 PM GMT

Use the MoveTo() function on all of players to teleport them.

    of     1