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
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
solved by me
This discussion is preserved as it was. New answers, comments, and votes are closed.