How to enable mobile controls for a non humanoid character?

In my game, you spawn as a custom character, which doesn’t contain a humanoid. I have rewritten the Movement script to work with a keyboard, and now I am trying to make it compatible with mobile controls. However, since my character has no humanoid in it, the default virtual joystick does not show. Is it possible to reenable it?

I have tried ModalEnabled but it did not work.

With humanoid

Without humanoid

2 Likes

i am very very sorry for this bump but since nobody answered the question and for the people who asked the same question… here is my answer:

STEP 1:
Start play in Roblox Studio and copy the module script below:

image

STEP 2:
Paste the copied module script to the starter player scripts

image

STEP 3:
Open the Controller Module and you can delete or comment all “UpdateTouchGuiVisibility”


DONE :smiley:

4 Likes