--This is the code for a loading screen,
--but it's broken due to errors;
--I was hoping someone who knows how could fix it for me.
local function wait(seconds)
local start = os.clock()
while os.clock() - start < seconds do
end
end
local loadingMessages = {
"Loading .",
"Loading ..",
"Loading ...",
"Loading .",
"Loading ..",
"Loading ...",
"SUCCESS!"
}
print("--- System Starting ---")
for i = 1, #loadingMessages do
print(loadingMessages[i])
wait(0.5)
end
wait(0.5)
print("login success!")
print("--------------------------------")
To embed this project on your website, copy the following code and paste it into your website's HTML: