Scripting Helpers is winding down operations and is now read-only. More info→

Log in to vote

0
It doesn't need to update constantly because the spread doesn't change, I just can't think of another way to make sure it matches besides trying 100 different images until I find the right one.

Here is how I find the spread:

local x = math.random(-spread*100,spread*100)/100 local y = math.random(-spread*100,spread*100)/100 local direction = (CFrame.new(origin.CFrame.p,mouse.Hit.p)*CFrame.Angles(math.rad(x),math.rad(y),0)).lookVector local ray = Ray.new(origin.CFrame.p,(direction).unit*999)

0

What if you made the crosshair individual frames instead of an image? I am pretty sure that it is a horrible idea, but I don't know, it might be easier to figure out the best size.. BoiBoi24T 63 — 10mo