The title is self explanatory, I have no idea why I’m getting this error. I don’t have any knowledge in coding.
I copied scripts from my notes app. (For Mac)
Try using double quotation marks when defining StarterGui
local StarterGui = game:GetService("StarterGui")
LocalScript or is it a ServerScript? I forgot to list LocalScript or ServerScript in my notes.
I’m assuming it’s a LocalScript since you’re disabling the Reset
button
Weird, works on my side
Is there anything else inside the script?
Nope, the script is also in StarterGui. It worked a few days ago, no problems before.
I looked up the Unicode character.
Try compressing all the lines together(all code in one line) and then redo them as per usual.
It is because your notes app is pasting a line separator, which is not a character Lua likes (Except in strings).
Try writing the code manually, it’s not that long anyways.
For future notice, I think you can just press the backspace key (hello) at the end of every line. I had this issue too sometimes and it seemed to work