Howdy! I wanted to make a Tips Screen whenever you’re on a loading screen,
for example, I click a button and 1/20 tips/button will appear, or maybe 1/30?
and how can It appear randomly?
Here’s an example script I made
local Mainbutton = script.Parent.TextButton
function Clicked()
local numbers = math.random(1, 30) --chooses a number between 1 to 30
print("You got number" ..numbers)
if numbers == 5 then -- if the chosen number is 5
print("You Got 5! A button will appear in a sec.")
task.wait(4)
for i = 1, 10 do
Mainbutton.TextButton.TextTransparency -= 0.1
Mainbutton.TextButton.BackgroundTransparency -= 0.1
task.wait(0.02)
end
end
end
Mainbutton.MouseButton1Click:Connect(Clicked)
If you don’t understand what I mean, kindly message me