So basically the player is spawned and a timer is set for 15 seconds. The main objective is to hit all the targets before the timer runs out.

If the timer runs out and not all the targets have been hit the whole thing resets without the player dying or reseting.

If all the targets are hit the player resets and returns to their original spawn point.

I want the timer to be centred in the top of the screen and also the targets to change colour when hit but also have a wait duration when they have been hit (for example 5 seconds).

One last thing, when a part is touched i want a tool to appear in the starter kit (my own that i will put in the script)

If anyone could show me how this works in Lua it would be appreciated :)