Currently Pizza Place is in a broken state on PS4 due to these issues. I placed the example code in StarterPlaceScripts. ButtonSelect works fine online but in studio nothing happens
InputBegan InputEnded InputChanged
ButtonR2 No Yes Yes
ButtonL2 No No No
ButtonSelect No No
function Pressed(actionName,InputState,InputObject)
if InputState == Enum.UserInputState.Begin then
print("Wont Print")
end
end
game:GetService("UserInputService").InputBegan:Connect(function(inputObject,gameProcessed)
if inputObject.UserInputType == Enum.UserInputType.Gamepad1 and (inputObject.KeyCode == Enum.KeyCode.ButtonR2 or inputObject.KeyCode == Enum.KeyCode.ButtonSelect or inputObject.KeyCode == Enum.KeyCode.ButtonL1) then
print("Wont Print")
end
end)
game:GetService("UserInputService").InputEnded:Connect(function(inputObject,gameProcessed)
if inputObject.UserInputType == Enum.UserInputType.Gamepad1 and (inputObject.KeyCode == Enum.KeyCode.ButtonR2 or inputObject.KeyCode == Enum.KeyCode.ButtonSelect or inputObject.KeyCode == Enum.KeyCode.ButtonL1) then
print(inputObject.KeyCode, " Prints only for ButtonR2")
end
end)
game:GetService("UserInputService").InputChanged:Connect(function(inputObject,gameProcessed)
if inputObject.UserInputType == Enum.UserInputType.Gamepad1 and (inputObject.KeyCode == Enum.KeyCode.ButtonR2 or inputObject.KeyCode == Enum.KeyCode.ButtonSelect or inputObject.KeyCode == Enum.KeyCode.ButtonL1) then
print(inputObject.KeyCode, " Prints only for ButtonR2")
end
end)
game:GetService("ContextActionService"):BindAction("Pressed", Pressed, false, Enum.KeyCode.ButtonSelect,Enum.KeyCode.ButtonL2, Enum.KeyCode.ButtonL1)