How to get os.date in local script?

I tried to get in output in local script the day of the week.
I used this article.

In the beginning I did everything in server script and it all worked. But then when I wrote the script in ScreenGui, it didn’t work.

Simple script:

print(os.date("%A"))

How can I do this?

How are you structuring your code? It works just fine for me

Did you tried inserting it like this?
Zrzut ekranu 2022-05-24 o 14.34.39

1 Like

Yes:
image

image

1 Like

For me it works perfectly as well. Can you post the hall script?

2 Likes

Oh I realized that all this time while testing I was clicking “run” and not “play”. Now everything works fine.

1 Like