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

¿How do I move a "union of blocks" through vector?

Asked by 7 years ago

My Script:

s = script
  g = game.Workspace
  Car = s.Parent.Parent.Elevador -- (Elevador is one union)
  -------------------------
  function onClicked()
  Car.BodyVelocity.velocity = Vector3.new(0, 5, 0)
  end
  script.Parent.ClickDetector.MouseClick:connect(onClicked)
  

once I have touched my button

Output Print:

12:32:56.883 - BodyVelocity is not a valid member of UnionOperation

Help Pls!!!

He who knows it, help me! how to move a union through vectors

1
Most likely there is not a body velocity object in the car so it is erroring. Ultimate_Piccolo 201 — 7y
0
Nope.... :/ Dont work proPVPgamers_YT 40 — 6y

Answer this question