Update a table across all scripts?

So, I have this KeybindSettings module, and I sort of want this to function as a table that will get updated across ALL scripts that require it, I just don’t know if this is even possible? I don’t want to use any instances, especially not values.

local KeybindSettings = {
	currentKeybinds = {
		["Pass"] = {
			["Pass"] = "MouseButton1"
		}
	},
}

don’t module scripts update when you change their table already…?

1 Like

weird, when i was originally testing this it didn’t work

If you have to, you can use a SharedTable to replicate data across other Scripts, but this is slower than if you were to use say a BindableEvent and or ModuleScript due to Replication, which you would see more beneficial results there.

You likely need to improve how your data is structured and handled, but this can be an alternative for that, though I wouldn’t exactly recommend it.

1 Like

Okay, thanks for the info, I think it was just a problem with the way I was using the moduleScript which didn’t give me the purpose I was looking for