Body is not a valid member of Players "Players" how?

Hi fellow devs!

I have a question that I can’t seem to fix… I used the developer template down below.

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I have a screenGUI with a destination label and a linenumber label. I want to project the LineNumber and DestinationLabel outside the ScreenGUI on a part with a SurfaceGUI. This part is in a group called destKit.

  2. What is the issue? Include screenshots / videos if possible!
    It is constantly telling me that I’m keep suggesting “body” in a player. I clearly telling that I’m suggesting a path in a model with parts.

Video of the system is working but not showing it on the labels:
robloxapp-20231212-0022437.wmv (1.0 MB)

Screenshot of the error:

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I’ve tried so many things but in the end the script isn’t working if I’m changing it or he keeps telling me the same error.

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

Snippets where I get the errors from:

Body is not a valid member of Players "Players"  -  Client - System:124

Code line 124:
				chooseDestinationFrame.Visible = false
				setSuccessFrame.Visible = true
				local DestKitBody = script.Parent.Parent.Parent.Parent.Parent.Body.DestKit
				local frontDest = DestKitBody.frontDest
				local frontNum = DestKitBody.frontNum
				frontDest.Text = destLabel
				frontNum.Text = lineLabel
				print("Chosen destination:" .. destinationInfo.Destination)

You can find the full code here:
destinationKitBus.txt (4.5 KB)

Can somebody tell me what I’m doing wrong?


I forgot to show how my structure is looking: