local PartColor = game.Workspace.MixingMachine.RedPipe.ColorEnergy local Part = game.Workspace.MixingMachine.RedPipe local button = script.Parent local posi2 = 0.5 local NumOperate = 1 button.MouseButton1Up:Connect(function() if NumOperate == 1 then while true do if posi2 > (bla,-14.412,bla) then PartColor.CFrame = PartColor.CFrame * CFrame.new(-posi2,0,0) end end end if NumOperate == 2 then while true do if posi2 > (bla,11.588,bla) then PartColor.CFrame = PartColor.CFrame * CFrame.new(posi2,0,0) end end end end)
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)