I need to get mouse.Hit.p constantly with script to point something at it in FE, so what I do is create event for each player and fire it 30 times per second, which is inaccurate and also must not be efficient way , so any help?
COMMUNITY QUESTION
how do i get mouse.Hit.p with FE 30 times per second ?
1 answer
while wait(1) do
-- loops code every second
for i = 1, 30 do
-- does code 30 times
Event:fireserver(blalllalalb) -- fire event
end
end
I don't get the question your asking, so I answered the question in the title and the way you are sending the hit.p to the server.
This discussion is preserved as it was. New answers, comments, and votes are closed.
