How to change Orientation with a Script?
1 | script.Parent.Changed:Connect( function () |
2 | if script.Parent.SteerFloat = = 1 then |
3 | script.Parent.Parent.FL.Orientation = Vector 3. new( 0 ,- 45 , 0 ) |
4 | script.Parent.Parent.FR.Orientation = Vector 3. new( 0 ,- 45 , 0 ) |
5 | elseif script.Parent.SteerFloat = = - 1 then |
6 | script.Parent.Parent.FR.Orientation = Vector 3. new( 0 , 45 , 0 ) |
7 | script.Parent.Parent.FL.Orientation = Vector 3. new( 0 , 45 , 0 ) |
I have a script that is parented to a VehicleSeat, which is parented to a Model with FR and FL being parts. I can't seem to make them rotate, why?