So for some reason on click it wont move forward, and in the output it says a Nil value.Help please
the error comes out as this 17:08:41.749 - Workspace.Airship.Panel.Script:9: attempt to call field 'FromEulerAnglesXYZ' (a nil value)
local Lever1 = script.Parent.Lever1
local Lever2 = script.Parent.Lever2
local airship = script.Parent.Parent
function OnClick ()
airship.CFrame=CFrame.FromEulerAnglesXYZ(0,1,30)
end
Lever1.ClickDetector.MouseClick:connect(OnClick)

3 comments
its not Cframe, it's CFrame
and there's no space after OnClick
@HungryJaffer it still says Nil Value in output