SOLVED I solved it by putting a script in the PlayerGui that gives them exp when they press the mobile button for movement
In my game there's a technique that players can use to instantly move them a short distance. It's basically a little teleport/dash skill. To unlock the technique, players have to press either W A S or D at least 5000 times. Pressing one of the keys will add 1 to a value, when that value is at least 5000 then the players can use the teleport technique. This is the code that does that:
function SoruPress(inputObject, gameProcessedEvent)
if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.A
or inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.D
and gameProcessedEvent == false then
script.SoruAdd:FireServer() --The event adds the points
end
end
Is there some way to make this work with how players walk using a mobile device? I'd like to just make it fire the server when they move with the On Screen movement buttons, if that's even possible.
Thanks for reading

3 comments
I edited my answer, sorry for the mistake
Nvm didnt read solved
Nvm didnt read solved