Help me with this loading screen i have put into my game, it only works with the context of pc gameplay like being able to click and wanting it to be for mobile also
I looked at the thread too btw i got confused
LOADING SCREEN HELP.rbxl (67.3 KB)
1 Like
In LocalScript, you could just also check if the input type is Touch instead of just MouseButton1.
Here’s the updated line in the onInput() function:
if textDisplayed and not hasClicked and (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then -- Check if the input is a mouse click and if text has been displayed
2 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.