Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I have a timer, and when it stops, i want to print the time, but it's not doing it?

Asked by 1 year ago

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

0
Can you provide the full code; it's a little bit confusing to understand with that snippet. SprinkledFruit101 135 — 1y
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 Kingu_Criminal 205 — 1y

Answer this question