08-07-2011, 11:25 PM
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)
function keydown (LeftArrow)
if keydown then script.Parent.Motorspeed = -5.0
end
end
link(script.Parent.keyDown, keydown)