Skip to content

Instantly share code, notes, and snippets.

View richie0866's full-sized avatar

0866 richie0866

View GitHub Profile
@richie0866
richie0866 / zzlib.lua
Created May 28, 2021 19:10
Modified version of zzlib
-- zzlib - zlib decompression in Lua - Implementation-independent code
-- Copyright (c) 2016-2020 Francois Galea <fgalea at free.fr>
-- This program is free software. It comes without any warranty, to
-- the extent permitted by applicable law. You can redistribute it
-- and/or modify it under the terms of the Do What The Fuck You Want
-- To Public License, Version 2, as published by Sam Hocevar. See
-- the COPYING file or http://www.wtfpl.net/ for more details.
-- Signal
-- Stephen Leitnick
-- Based off of Anaminus' Signal class: https://gist.github.com/Anaminus/afd813efc819bad8e560caea28942010
-- Modified for usage in Krnl
--[[
signal = Signal.new([maid])
signal:Fire(...)
@richie0866
richie0866 / Hook.lua
Last active May 19, 2024 20:12
Wrapper for hookfunction for easier usage
-- Hook
-- 0866
-- October 4, 2020
--[[
Constructor:
hook = Hook.new(closure [, callback])
@richie0866
richie0866 / Simulation.lua
Created November 6, 2020 05:14
Useful functions for maintaining yo network ownership
-- Simulation
-- 0866
-- October 14, 2020
local Simulation = {}
local physics = settings():GetService("PhysicsSettings")
local client = game:GetService("Players").LocalPlayer