Skip to content

Instantly share code, notes, and snippets.

View Midnightific's full-sized avatar
🌌
lost among the stars

Griffin Midnightific

🌌
lost among the stars
View GitHub Profile
@Midnightific
Midnightific / RobloxEntityTypes.lua
Last active September 6, 2024 09:02
Contains type definitions for Roblox game entities, including characters and players. Defines structures for Humanoid, Clothing, Player GUI, Scripts, and other related components.
--!strict
--@class RobloxEntityTypes
--@author Midnightific
--[=[
@class RobloxEntityTypes
Contains type definitions for Roblox game entities, including characters and players.
Defines structures for Humanoid, Clothing, Player GUI, Scripts, and other related components.
@Midnightific
Midnightific / JS.md
Last active January 21, 2024 01:22
CLI Commands

‎‎​

@Midnightific
Midnightific / Is64BitClient.luau
Created December 22, 2023 12:00
PlayerRelatedFunctions
local function is64bitclient()
return not tostring({}):find("0x00000000")
end
@Midnightific
Midnightific / GetCurrentTime.luau
Last active December 27, 2023 00:06
GameRelatedFunctions
while true do
local CurrentTime = os.time()
local GMTOffset = 8 -- Change this to your timezone offset
local Seconds = CurrentTime % 60
local Minutes = CurrentTime / 60
local Hours = Minutes / 60
Minutes = math.floor(Minutes % 60)
Hours = math.floor(Hours % 24) + GMTOffset
print(`Current time is {Hours}:{Minutes}:{Seconds}`)

boatbomber oop class

--!strict

local BaseClass = {} BaseClass.__index = BaseClass

type BaseClassProto = { name: string, }