Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

turns on y axis when trying to turn on x axis, why is this happening and how can i fix it?

my code:

local part = script.Parent
local part2 = game.Workspace.Part2
local line = game.Workspace.line
while line:GetTouchingParts(part2) ~= true do
	part.CFrame = part.CFrame * CFrame.Angles(math.rad(1), 0, 0)
	wait(0.01)
end

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.