Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how do i get mouse.Hit.p with FE 30 times per second ?

Asked by 6 years ago

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?

1 answer

Log in to vote
0
Answered by
Robin5D 186
6 years ago
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.

Ad

Answer this question