I used an Activated event to trigger this function. It works on PC but on mobile the button just goes dark when I click it, but no menu pops up. I know that the If parameter for ContinueScreen doesn't mess with it, I tried removing it and testing on mobile but same result.
Script:
button.Activated:connect(function()
if (not main:FindFirstChild("ContinueScreen")) or (main:FindFirstChild("ContinueScreen") and main.ContinueScreen.Visible == false) then
menu.Position = UDim2.new(0, 0,0.2, 0)
Sound.Pitch = 1
Sound:Play()
if button.Title.Text == "Menu >" then
button.Title.Text = "Menu <"
button.Title.DropShadow.Text = button.Title.Text
char.Humanoid.WalkSpeed = 0
menu:TweenPosition(UDim2.new(0, 0,0.2, 0),"Out",'Quad',.25,true)
elseif button.Title.Text == "Menu <" then
Sound.Pitch = 1
Sound:Play()
char.Humanoid.WalkSpeed = 16
button.Title.Text = "Menu >"
button.Title.DropShadow.Text = button.Title.Text
menu:TweenPosition(UDim2.new(-0.1, 0,0.2, 0),"Out","Quad",.25,true)
end
end
end)
I probably made a stupid mistake but if anyone is free to help I thank you in advance.

1 comment
I tried your script, still doesn't work. No errors at all. I think I'll just forget having support for mobile, since it doesn't work no matter what I tried. There's probably another problem that I can't find that has to do with it.