I am working on a game that uses custom animations for things like walking, climbing, sitting, etc. To implement them, I loaded into the game, copied the "Animate" script, pasted it into StarterCharacterScripts, and set all of the animation objects under it to the correct ids. The only thing is that there is a slight delay every single time before I start walking, climbing, etc. What could I add to the script to preload the animations?
(My game is in R6 only if that matters)
#How To Preload Custom Movement Animations?
1 messages · Page 1 of 1 (latest)
local ContentProvider = game:GetService("ContentProvider")
local Animation = Instance.new("Animation")
ContentProvider:PreloadAsync({Animation})
@brazen anvil
using the function :PreloadAsync() on a table with instances pre loads them so they dont lag
it sometimes doesnt work tho
Sorrry i was wrong
U need to use wait for child on it
That works for me idk why