ModalEnabled Issue

I’m having an issue with ModalEnabled, as in my game intro I have it so it should disable all mobile buttons on screen for moving and jumping, yet what it does is… well nothing?

I log in the game on mobile and they buttons are there !

Here is my code, I’m not sure how this is supposed to be fixed.

UIS.ModalEnabled = false

and then drops into

script.Parent.SideBar.PLAY.MouseButton1Click:Connect(function()
cam.CameraType = Enum.CameraType.Custom
script.Parent.Enabled = false
looping = false
currentTween:Pause()
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, true)
UIS.ModalEnabled = true

theres an “end)” but its not adding into this bottom ^

GIF :
https://gyazo.com/41131e0e104004b40f33fcfc3c6b74d8

1 Like

Setting the ModalEnabled to true will solve the issue, false actually is the default.

Unfortunately there isn’t much you can do about it.

It has been a bug for a while. Only way to counter this is to use hacks solutions or forking the PlayerModule.

EDIT: This will be fixed next week.

2 Likes

I’ve just swapped around the code so now when you spawn it spawns with

UIS.ModalEnabled = true

but I still have the issue, It’s still on the screen

Ah alright! Sounds good, Won’t be releasing game for a while so I was just checking to make sure I wasn’t going crazy.

1 Like

Sadly, roblox is still working on it and it will be fixed next week, I’m hoping this is true this time

1 Like

Info here on the upcoming fix (link updated):