I would like to know how a script can use a value from another script. I will need to do this for multiple scripts. Is this possible?
ModuleScript
to create global variables, like this:local module = {} function module.myFunc() print"Hi" end module.String = "Hello" return module
local module = require(game.Workspace.ModuleScript) module.myFunc() print(module.String)