SHOW:
|
|
- or go back to the newest paste.
1 | while wait() do wait() | |
2 | if game.Players.LocalPlayer.PlayerGui.gameGui.raceJoinLabel.Visible == true then | |
3 | local txt = game.Players.LocalPlayer.PlayerGui.gameGui.raceJoinLabel.shadow.Text | |
4 | if txt == "A race is starting on Grassland, want to join? (1)" or txt == "A race is starting on Grassland, want to join? (1)" or txt == "A race is starting on Grassland, want to join? (2)" or txt == "A race is starting on Grassland, want to join? (3)" or txt == "A race is starting on Grassland, want to join? (4)" or txt == "A race is starting on Grassland, want to join? (5)" or txt == "A race is starting on Grassland, want to join? (6)" or txt == "A race is starting on Grassland, want to join? (7)" or txt == "A race is starting on Grassland, want to join? (8)" or txt == "A race is starting on Grassland, want to join? (9)" or txt == "A race is starting on Grassland, want to join? (10)" then | |
5 | game.ReplicatedStorage.rEvents.raceEvent:FireServer("joinRace") | |
6 | wait(15.5) | |
7 | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1686.07495, 0.875300169, -5946.63428, -0.984812498, 0, 0.173621133, 0, 1, 0, -0.173621133, 0, -0.984812498) | |
8 | elseif txt == "A race is starting on Magma, want to join? (1)" or txt == "A race is starting on Magma, want to join? (1)" or txt == "A race is starting on Magma, want to join? (2)" or txt == "A race is starting on Magma, want to join? (3)" or txt == "A race is starting on Magma, want to join? (4)" or txt == "A race is starting on Magma, want to join? (5)" or txt == "A race is starting on Magma, want to join? (6)" or txt == "A race is starting on Magma, want to join? (7)" or txt == "A race is starting on Magma, want to join? (8)" or txt == "A race is starting on Magma, want to join? (9)" or txt == "A race is starting on Magma, want to join? (10)" then | |
9 | game.ReplicatedStorage.rEvents.raceEvent:FireServer("joinRace") | |
10 | wait(15.5) | |
11 | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(1001.33118, 0.875300407, -10986.2178, -0.996191859, 0, -0.0871884301, 0, 1, 0, 0.0871884301, 0, -0.996191859) | |
12 | elseif txt == "A race is starting on Desert, want to join? (1)" or txt == "A race is starting on Desert, want to join? (1)" or txt == "A race is starting on Desert, want to join? (2)" or txt == "A race is starting on Desert, want to join? (3)" or txt == "A race is starting on Desert, want to join? (4)" or txt == "A race is starting on Desert, want to join? (5)" or txt == "A race is starting on Desert, want to join? (6)" or txt == "A race is starting on Desert, want to join? (7)" or txt == "A race is starting on Desert, want to join? (8)" or txt == "A race is starting on Desert, want to join? (9)" or txt == "A race is starting on Desert, want to join? (10)" then | |
13 | game.ReplicatedStorage.rEvents.raceEvent:FireServer("joinRace") | |
14 | wait(15.5) | |
15 | game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(38.9399643, 0.875300169, -8669.5127, -0.901343405, -5.76128016e-08, 0.433105201, -7.37419299e-08, 1, -2.04430677e-08, -0.433105201, -5.03642354e-08, -0.901343405) | |
16 | end | |
17 | end | |
18 | end |