Post has been solved
Module scripts only run once, all requires after the first one return the same value
Solution is to just clone the module every time you require it from the command bar
require(module:Clone())
Old Post
What do you want to achieve?
Requiring a module gets the most updated module
What is the issue?
When trying to require a module it does not give the most updated version
from the testing I have done I have discovered a few things:
Requiring a module for the first time returns the most recent version of it
All future requiring with give the version first required until you reopen the place
What solutions have you tried so far?
Restarting studio
Reinstalling studio
Restarting my computer
Seeing if the bug occurs on a brand new file (it does)
It’s always been like this iirc. I’m pretty sure if you restart studio or end a play test you will start a new environment which means you can require the newest module script.