for _, part in pairs(parts) do
if part:IsA("Part") then
print("we got dat vecta")
part.CFrame = CFrame.new(Part.CFrame.p, mousep)
wait(.001)
end
end
No errors in output, all variables defined. Any suggestions?
for _, part in pairs(parts) do
if part:IsA("Part") then
print("we got dat vecta")
part.CFrame = CFrame.new(Part.CFrame.p, mousep)
wait(.001)
end
end
No errors in output, all variables defined. Any suggestions?
You really should include the variables, because I have no idea what mousep is. But if you want to make the brick "turn", you should use CFrame.Angles().
Also is "Part" defined somewhere? Because if you really mean "part", it could cause a problem.
This discussion is preserved as it was. New answers, comments, and votes are closed.