Car Driving Problem
#1
I'm trying to make a car that drives left when you hit the left button. Every time I run this script, it says "keyDown is not a property, function, or child of Hinge." Can someone please tell me what I'm doing wrong?

function keydown (LeftArrow)
if keydown then script.Parent.Motorspeed = -5.0
end
end
link(script.Parent.keyDown, keydown)
Reply


Messages In This Thread
Car Driving Problem - by willnsam - 08-07-2011, 11:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)