If you want the y-axis or other to be anything, what should you do?
Asked by
4 years ago Edited 4 years ago
01 | local PartColor = game.Workspace.MixingMachine.RedPipe.ColorEnergy |
02 | local Part = game.Workspace.MixingMachine.RedPipe |
03 | local button = script.Parent |
07 | button.MouseButton 1 Up:Connect( function () |
08 | if NumOperate = = 1 then |
10 | if posi 2 > (bla,- 14.412 ,bla) then |
11 | PartColor.CFrame = PartColor.CFrame * CFrame.new(-posi 2 , 0 , 0 ) |
15 | if NumOperate = = 2 then |
17 | if posi 2 > (bla, 11.588 ,bla) then |
18 | PartColor.CFrame = PartColor.CFrame * CFrame.new(posi 2 , 0 , 0 ) |
I don't know how to do that. can you help me? if you can.
it like (can be anything,1.5, can be anything)