I don't mind changing the way i do it, i just need something that works
--- there is a lot more to the script above this
local mouse = player:GetMouse()
local mh = mouse.Hit
ev:FireServer(mh)
local currentmh = mh
mouse:GetPropertyChangedSignal("Hit"):Connect(function()
if(mh ~= currentmh)then
mh = mouse.Hit
currentmh = mh
print("hit changed")
wait()
ev2:FireServer(mh)
end
end)

3 comments
are you sure you dont need the mouse position?
are you sure you dont need the mouse position?
guess the position can work too