So, my problem is that ContextActionService (CAS for short) is running a function for all inputs.
I want to make so it only functions when the button is pressed. Here’s my code.
local water = CAS:BindAction("Water",water,true,Enum.KeyCode.E)
CAS:SetPosition("Water",UDim2.new(0,0,0,0))
CAS:SetTitle("Water","Water")