Skip to content

Instantly share code, notes, and snippets.

View unrooot's full-sized avatar
☯️

unrooot

☯️
View GitHub Profile
@unrooot
unrooot / video_frame_player.lua
Created November 3, 2024 05:10
Seamlessly play multiple VideoFrames back to back
--[[
-- 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
@unrooot
unrooot / effects.lua
Last active September 13, 2020 02:26
tiny effects module that i re-use
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 = {}
@unrooot
unrooot / emotes.lua
Created June 7, 2020 22:41
comprehensive (as of 6/7/2020) list of all emotes for HumanoidDescription:SetEmotes()
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},