Help with Building System Rotating Bug

Im trying to make a building system which works but I made a rotating system along with it, so whenever you click a button the part is supposed to rotate. which it does but it’s only a 1 time rotate, so if you want it to rotate 2 times left you have to click it 2 times, but if you click it 2 times its gonna rotate 1 time. Along with all the other numbers.
robloxapp-20230115-1412442.wmv (1.4 MB)

local SyncedVal = game.ReplicatedStorage.EditingEvents.SavedPartNames.SyncValue
local Type = game.ReplicatedStorage.EditingEvents.SavedPartNames.Type

script.Parent.MouseButton1Click:Connect(function()
	if Type.Value == "Part" then
		local Find = game.Workspace:FindFirstChild("Part"..SyncedVal.Value)
		if Find then
			Find.Orientation = Vector3.new(-6, 0, 0)
		end
	end
end)

Why is it not working? Looks pretty good to me.

Maybe try changing CFrame instead of orientation

Nope does not work at all anymore

Oh, I figured it out. I have to make it + instead.

yep glad that it’s fixed now aha

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.