|
| 03 Jan 2013 04:26 PM |
| Can anyone help me make a brick that moves up and down when a message is said? Like an elevator? Every time I try to make one, it fails... I don't know the script that is needed for the message part. I'm a terrible scripter and/or programmer so anything will help.. |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 04:30 PM |
So far I have:
s = script g = game.Workspace Car = s.Parent.Parent.Platform ------------------------- if string.find(string.lower(msg), "up") ~= nil then Car.BodyVelocity.velocity = Vector3.new(0, 10, 0) end
This didn't work any other suggestions? |
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Jan 2013 04:50 PM |
| How do I do that? Use it in the script?As I said I am a extreme noob at scripting. |
|
|
| Report Abuse |
|
|
zars15
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 9999 |
|
|
| 03 Jan 2013 04:52 PM |
| @yellow. Well he had car, so it's model. Using BodyVelocity to move it up should be just fine. |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 04:54 PM |
| @zars. Thanks but every time I try it it fails? Is there anyway I can change it from a model so it works better? |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 04:56 PM |
try increasing the velocity by a lot.
is the bodyvelocity in a part?
¬ LuaLearners Elite/Writer |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2013 05:00 PM |
| It's inside the platform and/or the car I think. Should it be in a different part? I know if I were to use a button I would have to |
|
|
| Report Abuse |
|
|
| |
|