Attempt to index nil problem

How come the value indexes as nil when its clearly there??
Screenshot 2024-08-30 220146
Screenshot 2024-08-30 220204

this is the error

you might need to WaitForChild(“Points”) instead of using FindFirstChild, since that value is being created by another script and does not instantly exist as a child of the player

Ok, it works now since the points value was being created by another server script, thank you :+1:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.