ContextActionService:BindAction(“RequestBomb”, function(_, inputState)
warn(inputState)
if inputState == Enum.UserInputState.Begin then
doRequestBomb()
end
end, false, Enum.KeyCode.I, Enum.KeyCode.ButtonX)
When I run the game in studio and press I 20 times, it will only print " Enum.UserInputState.End" once. If i publish the game and run it, it works fine and the console shows Enum.UserInputState.Begin and Enum.UserInputState.End as it should
Also, I haven’t changed anything with this script or my input system, it suddenly stopped working.