I don't understand how you would make it affect the player who touched the brick. Would you type the script as if it changes for everyone except make it a local script? Please help.
function Touched(Plr) if game.Players[Plr.Parent.Name]~=nil then game.Players[Plr.Parent.Name].leaderstats.money.value=game.Players[Plr.Parent.Name].leaderstats.money.value+5 ---Change '5' to whatever amount you want the player to gain. end script.Parent.Touched:connect(Touched)