How can I run a module script for lerping? I’ve used samfundev’s plugin to create a module and I’ve tried running it but it did not work as intended, it did not run at all, while printing worked.
plugin
I’ve tried
wait(2.5)
local x = require(script["Automatic Save"])
for i,v in pairs(x.Keyframes) do
task.defer(function()
wait(i)
for Part,Position in pairs(v.HumanoidRootPart) do
if Position.CFrame then
print('works')
script.Parent[Part].CFrame:Lerp(Position.CFrame,0.2)
end
end
end)
end
with that I also tried looking on devforum but found nothing on it.