how to make a timer on a textLabel? I tried to make a script but it would work only for small numbers and not large, so it is not productive. script:
local texttlabel = script.Parent.Parent.PlayerGui.TextLabel
function touch ()
texttlabel.Text = '3'
wait(1)
texttlabel.Text = '2'
wait(1)
texttlabel.Text = '1'
wait(1)
texttlabel.Text = ''
end
game.Workspace.Part.Touched:Connect(touch)
I wanted to make a 3 minute timer, but I don't know how to do it quickly

3 comments
interesting bro, but how would I go about detecting the player who did the action? because actually I would like this to happen when a player activates an item from the backpack (he left click on it). The problem is that I don't know how I do it detect which player activated the item
You can use remote events to achieve this. Fire the event under the Tool.Activates event right above the for loop, the first argument the server receives is the player who fires the remote
and how would i do that?