Question Was Edited Because I Did not explain well
so what i want to is create a value in a main script that stores if a player can attack. Then i want a module script to check if a player can and activates a variblethen that varible should be send back to the main script
A script explained version
Module.CheckIfCanAttack(CanAttack) if CanAttack then --Attack end
Module script
function Module.CheckIfCanAttack(CanAttack) CanAttack = True end