|
| 18 Jul 2014 08:20 PM |
mouse.KeyDown:connect(function(Key) if Key == "r" then game.Workspace.Car.thrust.BodyForce.force = Vector3.new (-85000,0,0) else game.Workspace.Car.thrust.BodyVelocity.maxForce.X = 0 end end)
`Time keeps moving on and on and on, soon we'll all be gone. - Blink 182, Man Overboard` |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Jul 2014 08:21 PM |
Woops forgot to explain. its not working. its not changing the BodyForce's value.
`Time keeps moving on and on and on, soon we'll all be gone. - Blink 182, Man Overboard` |
|
|
| Report Abuse |
|
|
BlupoV2
|
  |
| Joined: 12 Nov 2012 |
| Total Posts: 543 |
|
|
| 18 Jul 2014 08:21 PM |
Did you define Mouse?
Is it in a LocalScript? |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2014 08:22 PM |
@Darkness
Thanks sooo much you really helped me out.
`Time keeps moving on and on and on, soon we'll all be gone. - Blink 182, Man Overboard` |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2014 08:23 PM |
Yes it is in a LocalScript but let me defin ethe mouse...
`Time keeps moving on and on and on, soon we'll all be gone. - Blink 182, Man Overboard` |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2014 08:24 PM |
Like this?
mouse.KeyDown:connect(function(Key) Mouse = Player:GetMouse() if Key == "r" then game.Workspace.Car.thrust.BodyForce.force = Vector3.new (-85000,0,0) else game.Workspace.Car.thrust.BodyVelocity.maxForce.X = 0 end end)
`Time keeps moving on and on and on, soon we'll all be gone. - Blink 182, Man Overboard` |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2014 08:25 PM |
Actually no I don't think that's right... This?
mouse = Player:GetMouse()
mouse.KeyDown:connect(function(Key) if Key == "r" then game.Workspace.Car.thrust.BodyForce.force = Vector3.new (-85000,0,0) else game.Workspace.Car.thrust.BodyVelocity.maxForce.X = 0 end end)
`Time keeps moving on and on and on, soon we'll all be gone. - Blink 182, Man Overboard` |
|
|
| Report Abuse |
|
|
BlupoV2
|
  |
| Joined: 12 Nov 2012 |
| Total Posts: 543 |
|
|
| 18 Jul 2014 08:26 PM |
| I was about to tell you that. :3 |
|
|
| Report Abuse |
|
|
BlupoV2
|
  |
| Joined: 12 Nov 2012 |
| Total Posts: 543 |
|
| |
|
|
| 18 Jul 2014 08:26 PM |
Its... Still not working.
`Time keeps moving on and on and on, soon we'll all be gone. - Blink 182, Man Overboard` |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2014 08:27 PM |
Player = Game.Players.LocalPlayer?
`Time keeps moving on and on and on, soon we'll all be gone. - Blink 182, Man Overboard` |
|
|
| Report Abuse |
|
|
BlupoV2
|
  |
| Joined: 12 Nov 2012 |
| Total Posts: 543 |
|
| |
|
samy22
|
  |
| Joined: 28 Sep 2008 |
| Total Posts: 2181 |
|
|
| 18 Jul 2014 08:27 PM |
mouse = game.Players.LocalPlayer:GetMouse()
mouse.KeyDown:connect(function(Key) if Key == "r" then game.Workspace.Car.thrust.BodyForce.force = Vector3.new (-85000,0,0) else game.Workspace.Car.thrust.BodyVelocity.maxForce.X = 0 end end) |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2014 08:29 PM |
@samy @blupo
Still not working. :/
`Time keeps moving on and on and on, soon we'll all be gone. - Blink 182, Man Overboard` |
|
|
| Report Abuse |
|
|
BlupoV2
|
  |
| Joined: 12 Nov 2012 |
| Total Posts: 543 |
|
|
| 18 Jul 2014 08:30 PM |
Hmm..
Just for insurance, change the Key to 114. |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2014 08:30 PM |
What's 114?
`Time keeps moving on and on and on, soon we'll all be gone. - Blink 182, Man Overboard` |
|
|
| Report Abuse |
|
|
BlupoV2
|
  |
| Joined: 12 Nov 2012 |
| Total Posts: 543 |
|
| |
|
|
| 18 Jul 2014 08:31 PM |
In ""?
`Time keeps moving on and on and on, soon we'll all be gone. - Blink 182, Man Overboard` |
|
|
| Report Abuse |
|
|
BlupoV2
|
  |
| Joined: 12 Nov 2012 |
| Total Posts: 543 |
|
| |
|
|
| 18 Jul 2014 08:31 PM |
| I thought you knew that the X, Y, and Z properties were read only. you can't change them alone in a script or it errors. Make a variable for them then try. |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2014 08:32 PM |
@Blupo still not working.
`Time keeps moving on and on and on, soon we'll all be gone. - Blink 182, Man Overboard` |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2014 08:33 PM |
@Accomplish No errors
`Time keeps moving on and on and on, soon we'll all be gone. - Blink 182, Man Overboard` |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2014 08:33 PM |
Nothing in the output.
`Time keeps moving on and on and on, soon we'll all be gone. - Blink 182, Man Overboard` |
|
|
| Report Abuse |
|
|
| |
|