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

Best Method to Fire Bullets using FilteringEnabled?

Asked by 10 years ago

I'm trying to find the best way to create lag-free bullets while FilteringEnabled is set to true. What would be your method? No need to provide any Lua code, just the theory behind your idea. Please provide the reason you think your idea is best, so that I, and everyone else, can learn from your expertise.

1 answer

Log in to vote
-1
Answered by
ipiano 120
10 years ago

I've been working on this; I actually have a different question similar, because I had a mistake and couldn't pass params in remoteEvents.

What I would do, is make a RemoteEvent called something like MakeBullet. When this event gets triggered, I would pass Mouse.hit.p to it, then I would have the server script create a bullet somewhere based on the character location and give the bullet velocity towards the location parameter.

0
Why do you think that method is the best way? NoahWillCode 370 — 10y
0
It's the only way I know of to do it. ipiano 120 — 10y
Ad

Answer this question