Right now I have a script makes the projectile go where the mouse is pointing. However, I only want the projectile to go a certain distance. Is there a way to set a limit where the mouse can point.
COMMUNITY QUESTION
How do you make sure the mousehit isn't past a certain point?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
could use magnitude http://wiki.roblox.com/index.php?title=Magnitude
could use raycasting http://wiki.roblox.com/index.php?title=Raycasting
Could you explain how it would work?
if Mouse.Target == Mouse.Target and player.Character.Humanoid.Distance >= 100 do <-- try something like that