how do you right a succesfull line sensor code i cant seem to figure it out
Unfortunately we can not help with specific code questions. I am moving this post where the VEX Community can help. I suggest you post your code and I am sure someone will be able to point you in the right direction.
Could you please let us know which programming language you are using?