So, I've tested the following code on my iPad:

wait()
local UserInputService = game:GetService("UserInputService")
UserInputService.ModalEnabled = true

For some reason this does not work, (yes it is a local script in startergui) I got this information from the Roblox Developer Forum (apparently true removes it? i've tested both.). Why does this happen? All help is appreciated?

5 comments

2

try hiding touchGui then

0

then?

2

Its kind of just game.Players.LocalPlayer:WaitForChild("PlayerGui").TouchGui.Visible = false

0

destroying it worked!

2

First time solving an issue in comments