Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Please help me with this error?

Okay, so the error says:

-- Configuration is not a valid member of VehicleSeat -- Script 'Workspace.WealthyDrakor.Seat.Script'.Line 5 -- Stack End

Configuration is a folder that IS INSIDE the VehicleSeat

This is line 5 of the script:

local data=script.Parent.Configuration

1 comment

0

Is it spelt right? If not, can you post you ENTIRE code?

1 answer

✓ Accepted answer

Most likely, the Script is running before the VehicleSeat has been fully initialized/replicated.

See if this code fixes it for that line:

local data = script.Parent:WaitForChild("Configuration")

This discussion is preserved as it was. New answers, comments, and votes are closed.