Touch Tap In World

hey guys. I created this script but mouse.hit.lookvector is a bit janky on mobile. Is there a way i can get the lookvector of touchtapinworld? Here is my script:

local uis = game:GetService("UserInputService")
uis.TouchTapInWorld:Connect(function(pos, proccesed)
    if not proccesed and equiped == true then
        if db == false then
            db = true
            local vector = mouse.Hit.LookVector
            local speed = script.Parent.Speed.Value
            local Reload = script.Parent.ReloadTime.Value
            anim:Play()
            script.Parent.throwsfx:Play()
            wait(0.3)
            script.Parent.Handle.Transparency = 1
            script.Parent.Throw:FireServer(vector)
            wait(Reload-0.3)
            script.Parent.Handle.Transparency = 0
            db = false
        end

    end
end)

wait so is someone gonna help me?

I’m confused here. Are you trying to make an effect happen the way the player is facing?

Im trying to make a system for when the player touches their screen they throw something to the place where they tapped. Thanks for responding

Just use the LookVector of the player’s head instead of the mouse. Use mouse.Hit for the position but not the direction.