VictorOtInfinit
Member
- Joined
- Mar 14, 2020
- Messages
- 139
- Solutions
- 3
- Reaction score
- 11
I need this script:
Player 1 move to a tile -> A timer is started
Player 2 move to the same tile -> A timer is started, the timer of Player 1 stops.
If Player 1 already passed in that tile before
do a SUM of timers to get the total time that player 1 spended in the tile
Ex:
Player 1 move to tile and stays for 5 min
Player 2 kicks Player 1 and move to the same tile and stays for 8 min
Player 1 kicks Player 2 and move to the tile for 2 min
Final result that should be stored:
Player 1 total time: 7 Mins.
Player 2 total time: 8 Mins.
Player 2 won the event (the event can have multiples players more than 2)
If u dont want to make the script but know how, how can i do the timer like that?
Player 1 move to a tile -> A timer is started
Player 2 move to the same tile -> A timer is started, the timer of Player 1 stops.
If Player 1 already passed in that tile before
do a SUM of timers to get the total time that player 1 spended in the tile
Ex:
Player 1 move to tile and stays for 5 min
Player 2 kicks Player 1 and move to the same tile and stays for 8 min
Player 1 kicks Player 2 and move to the tile for 2 min
Final result that should be stored:
Player 1 total time: 7 Mins.
Player 2 total time: 8 Mins.
Player 2 won the event (the event can have multiples players more than 2)
If u dont want to make the script but know how, how can i do the timer like that?