Am I Preloading these animations properly?

I have a LocalScript in ReplicatedFirst which is suppose to preload my animations and then its to be played when a player equips their tool:

local ContentProvider = game:GetService("ContentProvider")

local AnimationsFolder = script:WaitForChild("Animations")

local R15Folder = AnimationsFolder:WaitForChild("R15")
local R6Folder = AnimationsFolder:WaitForChild("R6")

print("Preloading Animations...")

ContentProvider:PreloadAsync(R15Folder:GetChildren())
ContentProvider:PreloadAsync(R6Folder:GetChildren())

print("Animations Loaded!")

I have never used Preloading before am I doing this correctly?

Hello again, I would suggesting checking the preloaded animations to ensure they have loaded, maybe storing them as an array on preload and checking each to make sure they arent nil.

I dont dabble much in animations so id say its worth doing a bunch of stress tests on your script (deliberatly make lag and run it). In general i recommend testing with lag for all scripts.