script.Parent.Parent.Lap.Changed:connect(function(lap)
COMMUNITY QUESTION
it says lap is not a valid member of datamodel, how can i fix it?
1 answer
If Lap is not a valid member of a model, then you might have messed up the path. You could also try script.Parent.Parent:WaitForChild("Lap")
Another suggestion IS TO GIVE US MORE THAN ONE LINE OF THE SCRIPT, AND MAYBE THE EXPLORER AS WELL SO WE CAN VERIFY THE PATH, SINCE THE PATH IS BASICALLY THE ENTIRE CODE WE SEE.
I hope this helps. till next time.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Please elaborate on your answer, as it will be easier for the community to answer your question correctly.