Days of the Week Table not working, how would I fix this?

Basically the output says all the things I want, but I get an error for this. I might be stupid right now because its 1am but does anyone know what I did wrong?


image
[Line 9 is purely for testing]

Okay I have the solution code. If anyone comes across this in the future.
image

you do know %a will return the abbreviated week day strings

you could literally do this instead of having a whole table

local data = os.date("%a")

script.Parent.Text = data

if you want the full weekday string just use %A instead

I cant believe i missed this! Thank you.

1 Like