Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why do I get this error?

Asked by 10 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

I get the error of: Engine is not a valid member of Model

Then it referenced me to line 154 of my script which is

v = script.Parent.Parent
--Skip Line--
v.Engine.BF.velocity = v.Engine.CFrame.lookVector * script.Parent.SpdValue.Value * seat.Throttle

Here's the layout of the model Model

Body sOMEBRICKS Parts VehicleSeat Lights Lights Lights Lights Engine

any clue why? Am I one Parent extra?

2
Can you also show where the Script is? A suggestion to format the hierarchy would be to use the Lua environment and tabs to show children. BlueTaslem 18071 — 10y

Answer this question