this script doesnt work at all.
function run(actionName, inputState, inputObject)
if inputState == Enum.UserInputState.Begin then
while inputState == Enum.UserInputState.Begin do
running = true
game.ReplicatedStorage.fwoosh:FireServer(playr)
end
elseif inputState == Enum.UserInputState.End then
running = false
end
end
ContextAction:BindAction("run", run, true, Enum.KeyCode.ButtonL1)
ContextAction:SetTitle("run","Run")
ContextAction:SetPosition("run",UDim2.new(0.72,-105,0.6,-25))
i've been trying to put in a mobile button that only works for mobile players and only displays for them, but when I try testing this in studio in a local script in the players character, it doesn't work, help? Why doesn't this button appear?
Thank you if you can help.
