Make variable for the valves to see if they are activated, it will be a boolean variable.
Count how many valves have been activated.
If 3, they win turn win condition to true.
Simpler for the hack, because it’s one. So if it’s hacked, they win.
Basically you need to start with the hack panel and designate 2 teams and determine what players are on what team. You can watch videos on that.
according to the team you need to check the team (home/offender)
if offender you need to allow them to click a key so you have to set that key and map it to an action.
if the action key is pressed in a trigger box around the hack device, it will start a interaction that takes time (ie, bomb). If it succeeds they win.
If it’s a valve its a bit more complicated. You need to play a valve animation and every time ONE is activated, you need to add that to a list of booleans to make sure that all 3 are enabled.