
927 Views
120 Executions
Gif Player (idk if its working or not)
Universal Script 📌
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Gif player (open source) How it works: Download a gif from tenor Put the gif inside your executors folder and put the gif name Click play And the gif will be played in 1:1 ratio. Idk if this is working or not
local targetFPS = 12
local uiWidth, uiHeight = 400, 240
local playerRoot = "gif_player"
local framesSub = playerRoot .. "/frames"
local copiedGifName = playerRoot .. "/current.gif"
local maxAutoFrames = 5000
local tryAutoFFmpeg = true
local CoreGui = game:GetService("CoreGui")
local RunService = game:GetService("RunService")
local function hasfn(fn) return type(fn) == "function" end
local function safe_isfile(p) if hasfn(isfile) then local ok,res = pcall(isfile,p) if ok then return res end end return false end
local function safe_readfile(p) if hasfn(readfile) then local ok,res = pcall(readfile,p) if ok then return res end end return nil end
local function safe_writefile(p,d) if hasfn(writefile) then local ok,res = pcall(writefile,p,d) return ok end return false end
local function safe_isfolder(p) if hasfn(isfolder) then local ok,res = pcall(isfolder,p) if ok then return res end end return false end
local function safe_makefolder(p) if hasfn(makefolder) then pcall(makefolder,p) end end
local screen = Instance.new("ScreenGui")
screen.Name = "GifExecutorPlayer"
screen.ResetOnSpawn = false
screen.Parent = CoreGui
local main = Instance.new("Frame", screen)
main.Size = UDim2.new(0, uiWidth, 0, uiHeight)
main.Position = UDim2.new(0, 10, 0, 10)
main.BackgroundColor3 = Color3.fromRGB(30,30,30)
main.BorderSizePixel = 0
local mainCorner = Instance.new("UICorner", main)
mainCorner.CornerRadius = UDim.new(0,12)
local title = Instance.new("TextLabel", main)
title.Size = UDim2.new(1, 0, 0, 24)
title.Position = UDim2.new(0,0,0,0)
title.BackgroundTransparency = 1
title.Text = "GIF Player — filename in executor folder"
title.TextColor3 = Color3.fromRGB(255,255,255)
title.Font = Enum.Font.SourceSansBold
title.TextSize = 16
local titleCorner = Instance.new("UICorner", title)









is it serversided
Customize the script how ever you like but please don't credit yourself and if its a remake then credit yourself and put the original credits to me.
Also you can add your own image format in the local PNG thing such as webp or TGA (just rename the PNG or jpg to that image format you want)