Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- =============================================== --
- -- || RANDOM TEXTS GENERATOR || --
- -- =============================================== --
- -- made by radicore15742, AKA: jumpYScriptsz
- -- feel free to change the variables below
- local dd = script.Parent
- script.Parent.Text = ""
- wait(3) -- 3s to load
- a = 0.1 -- transparency change
- StatColour = Color3.fromRGB(116, 255, 121) -- stats / how many texts there are colour
- revertColour = Color3.fromRGB(255, 255, 255) -- revert change colour back to origional state (white text)
- while true do
- local texts = {"texts", "stats"} -- to add more put repeat the comma and quotations and add a word
- local text = math.random(1, #texts)
- local chosenText = texts[text]
- local devide = (1 / #texts) * 100
- script.Parent.Text = chosenText
- if chosenText == "texts" then
- script.Parent.Text = "Did you know that there are "..#texts.." texts?"
- elseif chosenText == "stats" then
- script.Parent.Text = "Did you know that there is a "..devide.."% chance of your text being chosen!"
- end
- -- below took me ages, i could of simplified this but for some reason it didnt work, so here it is
- wait(1)
- dd.TextTransparency = 1
- wait(a)
- dd.TextTransparency = 0.95
- wait(a)
- dd.TextTransparency = 0.90
- wait(a)
- dd.TextTransparency = 0.80
- wait(a)
- dd.TextTransparency = 0.75
- wait(a)
- dd.TextTransparency = 0.70
- wait(a)
- dd.TextTransparency = 0.65
- wait(a)
- dd.TextTransparency = 0.60
- wait(a)
- dd.TextTransparency = 0.55
- wait(a)
- dd.TextTransparency = 0.50
- wait(a)
- dd.TextTransparency = 0.45
- wait(a)
- dd.TextTransparency = 0.40
- wait(a)
- dd.TextTransparency = 0.35
- wait(a)
- dd.TextTransparency = 0.30
- wait(a)
- dd.TextTransparency = 0.25
- wait(a)
- dd.TextTransparency = 0.20
- wait(a)
- dd.TextTransparency = 0.15
- wait(a)
- dd.TextTransparency = 0.10
- wait(a)
- dd.TextTransparency = 0.05
- wait(a)
- dd.TextTransparency = 0
- wait(4)
- wait(a)
- dd.TextTransparency = 0.05
- wait(a)
- dd.TextTransparency = 0.10
- wait(a)
- dd.TextTransparency = 0.15
- wait(a)
- dd.TextTransparency = 0.20
- wait(a)
- dd.TextTransparency = 0.25
- wait(a)
- dd.TextTransparency = 0.30
- wait(a)
- dd.TextTransparency = 0.35
- wait(a)
- dd.TextTransparency = 0.40
- wait(a)
- dd.TextTransparency = 0.45
- wait(a)
- dd.TextTransparency = 0.50
- wait(a)
- dd.TextTransparency = 0.55
- wait(a)
- dd.TextTransparency = 0.60
- wait(a)
- dd.TextTransparency = 0.65
- wait(a)
- dd.TextTransparency = 0.70
- wait(a)
- dd.TextTransparency = 0.75
- wait(a)
- dd.TextTransparency = 0.80
- wait(a)
- dd.TextTransparency = 0.85
- wait(a)
- dd.TextTransparency = 0.90
- wait(a)
- dd.TextTransparency = 0.95
- wait(a)
- dd.TextTransparency = 1
- wait(1)
- wait(a)
- script.Parent.TextColor3 = Color3.fromRGB(255, 255, 255)
- script.Parent.Font = "Cartoon"
- -- for my benefit, you can delete this below
- if script.Parent.TextColor3 == Color3.fromRGB(255, 255, 255) then
- script.Parent.TextColor3 = Color3.fromRGB(255, 255, 255)
- else
- print("randWords ERROR: could not change RandWords back to origional colour or font")
- end
- -- up to this line
- end
Add Comment
Please, Sign In to add comment