here's the code: local WinMessage:string = "{Time}" local WinText:string = string.gsub(WinMessage,"{Time}",Time) print(WinText)

so it should print time right? (ex:05:38:00)

but it does nothing

and btw there is more code

2 comments

0

Can you provide the full code; it's a little bit confusing to understand with that snippet.

0

Please provide what the variable Time means so that we can understand. Also, when defining what an a variable is, do Variable: string, rather than Variable:string