Hi,
I've recently started looking in to module scripts.
I am currently trying to learn returning as well so that I can use this as a replacement to boolValues. (e.g. returning true or false in a module)
Currently as my module code stands:
module.Equip = function(Player, Button, Value, Weapon)
local Weapon = Button:FindFirstChild(Weapon):Clone()
Weapon.Parent = Player.Backpack
return Value
end
The parameter "Value" is set to "true" in the local script that triggers this function.
So basically return Value = return true
I feel like this is the boolvalue equivalent of using a module script.
My problem is I don't understand where this Value is stored. Does it get sent back to the localscript where I can then say
local Equipped = ("Name of Module").Equip() ???
I probably have many misconceptions but I am willing to be pointed in the right direction. Help is appreciated.

1 comment
please accept his answer if your problem has been fixed.