So i wanna out a line im the mobile button so it can press the key Q but idk how :
local cas = game:GetService("ContextActionService")
local plr = game.Players.LocalPlayer
local function buttonPressFunction()
where i wanna put the line so it can press the key Q
cas:UnbindAction("StandButton")
end
local button = cas:BindAction("StandButton", buttonPressFunction, true, Enum.KeyCode.Q)
cas:SetPosition("StandButton", UDim2.new(0.58, 0, 0.15, 0))

1 comment
i don't understand