I am trying to script a pick-up thing. I have a modulescript that is for detecting a part if it's in the loot pool or not, but calling it gives "attempt to call a boolean value".
the modulescript and script is in StarterCharacterScript and I used "local lootPoolDetect = require(game.StarterPlayer.StarterCharacterScripts.pickUpModule)" to require the module
here is the script: "lootPoolDetect(target)"
also with my teamCreate friend he instead got an error for failing to load the modulescript. Really appreciate some help
(script has been solved by using an alternative method, thanks Fearen for commenting!)