So I have a blast system in my game, which uses on touch for the blasting:
UserInputService.InputBegan:Connect(function(inputObject, gameProcessed)
if inputObject.UserInputType == Enum.UserInputType.MouseButton1 or inputObject.UserInputType == Enum.UserInputType.Touch or inputObject.UserInputType == Enum.UserInputType.Gamepad3 then
local data = GetData(plr)
if not gameProcessed and data then
if data.GameData.ShootingMode.Value == true then
if plr.Character then
Held = true
repeat game.ReplicatedStorage.Remotes.Blast:FireServer(m.Hit) wait() until Held == false
end
end
end
end
end)
The problem is that on phone and tablet, the blasting barely works, especially on phone. It usually fires toward where the player’s joystick is, but no where else. This gets annoying for mobile players. Is there any way I can fix this?