Skip to content

Instantly share code, notes, and snippets.

View Quenty's full-sized avatar
🎉
Follow me on Twitter @Quenty

James Onnen Quenty

🎉
Follow me on Twitter @Quenty
View GitHub Profile
@Quenty
Quenty / IgnoreCameraClient.lua
Created August 29, 2019 21:19
IgnoreCameraClient.lua
--- Utilizes a hack to force the popper camera to blacklist the parts in question
-- @classmod IgnoreCameraClient
-- @author Quenty
local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore"))
local RunService = game:GetService("RunService")
local HttpService = game:GetService("HttpService")
local BaseObject = require("BaseObject")
@Quenty
Quenty / BadConnectionCode.lua
Created August 12, 2019 21:25
BadConnectionCode.lua
local MyClass = {}
MyClass.__index = MyClass
function MyClass.new()
local self = setmetatable({}, MyClass)
self._connection = nil
self._tooltip = nil
return self
--[[
SoftShutdown 1.2
URL: https://github.com/MerelyRBLX/ROBLOX-Lua/blob/master/SoftShutdown.lua
Author: Merely
This system lets you shut down servers without losing a bunch of players.
When game.OnClose is called, the script teleports everyone in the server
into a reserved server.
When the reserved servers start up, they wait a few seconds, and then
@Quenty
Quenty / SublimeLinter.sublime-settings
Created July 8, 2019 00:11
SublimeLinter.sublime-settings
// SublimeLinter Settings - User
{
"lint_mode": "background",
"linters":
{
"luacheck":
{
"@disable": false,
"args":
[
@Quenty
Quenty / analytics.py
Created March 11, 2019 17:54
Analytics script to count lines of Lua code
"""
Utility script to count lines of Lua code
Author: Quenty
"""
import glob, os
def file_len(fname):
"""
Counts lines of a file given the name
local ToolTip = require("ToolTip")
local RoundToolTip = setmetatable({}, ToolTip)
RoundToolTip.__index = RoundToolTip
function RoundToolTip.new()
local self = setmetatable(ToolTip.new(), RoundToolTip)
return self
end
local ToolTip = {}
ToolTip.__index = ToolTip
function ToolTip.new()
local self = setmetatable({}, ToolTip)
return self
end
function ToolTip:Show()
@Quenty
Quenty / statename_to_abbr.py
Last active January 5, 2022 18:50
State name to abbreviation python dictionary
statename_to_abbr = {
# Other
'District of Columbia': 'DC',
# States
'Alabama': 'AL',
'Montana': 'MT',
'Alaska': 'AK',
'Nebraska': 'NE',
'Arizona': 'AZ',
@Quenty
Quenty / KeyboardDark.lua
Created January 14, 2018 03:58
Generated output
--- Generated KeyboardDark with Python
-- @author Quenty
local require = require(game:GetService("ReplicatedStorage"):WaitForChild("Nevermore"))
local Spritesheet = require("Spritesheet")
local KeyboardDark = setmetatable({}, Spritesheet)
KeyboardDark.ClassName = "KeyboardDark"
KeyboardDark.__index = KeyboardDark
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local NevermoreEngine = require(ReplicatedStorage:WaitForChild("NevermoreEngine"))
local LoadCustomLibrary = NevermoreEngine.LoadLibrary
local BaseClass = LoadCustomLibrary("BaseClass")
local MakeMaid = LoadCustomLibrary("Maid").MakeMaid
-- Intent:
-- @author Quenty