Netvar is used to sync server variables with the client effortlessly
Yes, due to us wanting to gurantee the variable it does have to run in a thread, though ONLY on the client.
Yes! Therefore netvar only simply mirros the server variable, and does not allow it to be changed from the client.
Use this however you want. Just DONT reupload it and claim it as your own.
-- client.lua
CreateThread(function()
print(N["MyNameIs"]) -- Rasmus Madsen
print(N["IsSynced"]) -- true
end)
-- server.lua
N["MyNameIs"] = "Rasmus Madsen"
N["IsSynced"] = true