How to make a countdown script!

Hey there, @SomeDudeRBX here.

Today, I will teach you how to make a countdown script!

This can be used with a Hint, Message or ScreenGui object (such as a TextLabel)

Whats the difference between a Message and Hint?

A Hint is a bar of text above the screen, below the Roblox CoreGUIs.
[image]

A message on the other hands covers the screen with a semi-transparent background and text.

View which one you’d like below!

Hint

Make a Script in the Workspace, and paste this code (Control + C then Control + V)

local H = Instance.new(“Hint”)
H.Parent = workspace
for i = 100,1,-1 do -- Replace 100 with how long you’d like to make it
H.Text = i
wait(1)
end
Message

Make a Script in the Workspace, and paste this code (Control + C then Control + V)

local M = Instance.new(“Message”)
M.Parent = workspace
for i = 100,1,-1 do -- Replace 100 with how long you’d like to make it
M.Text = i
wait(1)
end
ScreenGUI Object

Make a Script in the Workspace, and paste this code (Control + C then Control + V)

local O = pathway.to.Object
for i = 100,1,-1 do -- Replace 100 with how long you’d like to make it
O.Text = i
wait(1)
end

Hope this helped!
Please :heart: if you feel this was a good post!

1 Like

Great Tutorial! I’m sure this will help a lot!


I’ve gone ahead and changed your Category to Tutorials.

It mentions scripting tutorials though…

Thanks for showing us. There may have been a mistake. For now please post tutorials to the #tutorial category

We’ll fix this, it’s meant to mean you can find help regarding scripting tutorials, thanks for pointing this out! :slight_smile:

1 Like