while true do
for i , v in pairs(script.Parent.Parent.Range:GetTouchingParts()) do
print("c")
local a = v:FindFirstChild("Aim")
script.Parent.Parent.Union.CFrame = CFrame.Angles(Vector3.new(a.WorldPosition.X , script.Parent.Position.Y , a.WorldPosition.Z))
print("a")
end
wait(0.1)
print("b")
end
It gives me the error on title despite “Aim” being an attachment with x y and z positions