236 Views
452 Executions
auto animation script
WebTown
kaidechannnFirst script
3 months ago
Please login to perform these actions:auto animation script is a WebTown script for Roblox, uploaded to ScriptBlox on Aug 10, 2026.
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Place pngs into workspace/autodraw (use ffmpeg to split an video into 001.png, 002.png etc.) (must be zero padded) Open up the animation menu in the game Run script and post!
--ai generated by kaede meow okay hi
local FPS = 24
local FRAME_FOLDER = "autodraw"
local WHITE_AS_TRANSPARENT = true
local WHITE_THRESHOLD = 250
local ALPHA_THRESHOLD = 16
local PIXEL_BLOCK = 1
local STABLE_FRAMES = 3
local MAX_FRAMES = 500
local WIDTH = 96
local HEIGHT = 72
local MAX_ENCODED_BYTES = 150000
local AssetService = game:GetService("AssetService")
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local allowedFps = {
[2] = true,
[4] = true,
[6] = true,
[8] = true,
[12] = true,
[24] = true,
}
assert(allowedFps[FPS], "FPS must be one of: 2, 4, 6, 8, 12, 24")
if not isfolder(FRAME_FOLDER) then
makefolder(FRAME_FOLDER)
error(("Created Workspace/%s. Add 1.png, 2.png, ... and run the script again."):format(FRAME_FOLDER))
end
local framePaths = {}
local highestFrame = 0
local hasFramesAboveLimit = false
for _, path in ipairs(listfiles(FRAME_FOLDER)) do
local fileName = path:match("([^/\\]+)$")
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!


