This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
-- This script seamlessly* plays videos in a SurfaceGui in order. It's a bit | |
-- hacky for a few reasons (mainly Roblox limitations & random delays with | |
-- VideoFrames) but the biggest one being that Roblox only allows you to upload | |
-- 3, 30 second videos per month (...lol). | |
-- | |
-- * - technically, because of a hack (see line 99), we end each clip early by 0.05 seconds | |
-- | |
-- INSTRUCTIONS: | |
-- 1. Create a SurfaceGui somewhere |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local ts = game:GetService("TweenService") | |
local lib = {} | |
lib.fade = function(obj, len, props) | |
ts:Create(obj, TweenInfo.new(len, Enum.EasingStyle.Sine), props):Play() | |
end | |
lib.autoFade = function(obj, len, target) | |
local props = {} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return { | |
["Stadium"] = {3360686498}, | |
["Bunny Hop"] = {4646296016}, | |
["Hello"] = {3576686446}, | |
["Air Guitar"] = {3696761354}, | |
["Cha-Cha"] = {3696764866}, | |
["Chicken Dance"] = {4849493309}, | |
["Hype Dance"] = {3696757129}, | |
["Sandwich Dance"] = {4390121879}, | |
["Borock's Rage"] = {3236848555}, |