Pretty self explanatory from title, all print statements are running rocks just not moving.
local rock = game.Workspace.Rock
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
print("PLayer touched")
if rock then
print("Found rock")
for i = 0, 1, 0.001 do
print("lerping")
task.wait()
rock.CFrame:Lerp(hit.Parent.Head.CFrame, i)
end
end
end
end)
Also no errors in the output