Trouble drawing scoreboard

Im using a dedicated server. I was trying to change the server hostname in this scoreboard file from
self.Hostname:SetText(‘Server A’)


self.Hostname:SetText(‘Server B’)

After a server restart, the title of the scoreboard does not change.
Can someone please help me?

Thank you!


Would this be something to do with the cache? i deleted the cache, and i still cant change the hostname.

Because you can’t change those files (they’re sorta readonly), you have to make a seperate script to change it.

Thanks for responding!
Is it ok just to make a duplicate of the script and delete the old one?

Again, thanks!

Naw, gmod will restore all default sandbox files, so I suggest you just load them in another place like lua/autorun