my script is
local function bindInputs()
if (not OVERRIDE_CONTROLS) then
game:GetService("ContextActionService"):BindActionAtPriority("PlacementModule_Rotate", inputRotate, false, INPUT_PRIORITY, Enum.KeyCode.R)
game:GetService("ContextActionService"):BindActionAtPriority("PlacementModule_Place", inputPlace, false, INPUT_PRIORITY, Enum.UserInputType.MouseButton1)
end
end
I want it to work for mobile here
I wanted to do
ButtonR.TouchTap:Connect(function()
if script.Parent.Value ~= '' then
OnKeyR_Pressed()
end
But that doesn’t make sense and idk how to do it someone pls help.
and its in a folder called Modules and in the folder is a Module and its named PlacementModuletgy6