-
I am making fps games
-
I wanna make a mobile support but I tried scripting but not working ( I am already made gui)
-
I tried finding yt how to make mobile buttons
So i need help
well if you already made the gui to make it visble on mobile then use
if (game:GetService("UserInputService").TouchEnabled == true) and (game:GetService("UserInputService").MouseEnabled == false) then script.Parent.Visible = true end
something like this, put it in a local script under your button. or if theres a seperate screengui for the mobile buttons make it do script.Parent.Enabled = true and put it under the screengui rather than every button