EyeTrace help

How can i make it so that when you look at a vehicle it draws a roundedbox in 3d2dcam with the vehicles health ?

I dont know much lua but i assume it uses

LocalPlayer():GetEyeTrace() or LocalPlayer():GetEyePos()



which fills the RoundedBox depending on the percentage filled with


Any help is greatly apreciated


I feel you don’t know enough about scripting yet for us to help without it being spoon feeding.

If you come up with something that resembles functional code feel free to post it here and we’ll let you know why it’s not working.

Also, an hour isn’t really long enough to warrant a bump.