Tittle says it all. Here's the script:
game.ReplicatedStorage.HLC_CTRLS.W_Began.OnServerInvoke = function(player) W_KeyDown = true print("Remote function was invoked") end if(W_KeyDown)then print("Variable was changed.") end
The first function prints, but the second doesn't. How can i make it be changed for the entire script?