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)

5 comments

0

What does that even mean? Explain your question much more. And post any ideas you have on how to do it. Not a request site

0

ok

0

read again and if you dont understand i dont know how to explane it hard to explane

0

I think I know what you're trying to do. Are you putting this in an if statement?

0

yes