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?

[Line 9 is purely for testing]
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?

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

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.