Thank you for this.
I’m wondering how I would set things up to be able to change the same State from several other modules. Something like this:
Module 1
local State = BasicState.new({
Hello = "World"
})
State:Set("Hello", "Roblox")
Module 2
State:Set("Hello", "there")
Module 3
State:Set("Hello", "again")
I would like that Module 2 and 3 change the State defined in module 1 and I’m not sure how I would set everything up to make this happen. Any help would be appreciated.