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

Most efficient way to shoot bullets?

Asked by
Sei4or -3
7 years ago

So I have this gun and I already have the mouse1down function ready, but I don't know how to create a bullet that is efficient and avoids as much lag as possible. Can someone help me?

0
Use raycasting. OldPalHappy 1477 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago
Edited 7 years ago

There is a really great tutorial on this at the roblox wiki! Here's the link: http://wiki.roblox.com/index.php?title=Making_a_ray-casting_laser_gun

0
hope this helps User#15461 0 — 7y
0
If this helped please click the accept answer button, Thanks! User#15461 0 — 7y
Ad

Answer this question