Skip to content

Instantly share code, notes, and snippets.

@daily3014
daily3014 / getextentssize.luau
Last active September 24, 2025 20:18
GetExtentsSize for Parts
-- Original from https://devforum.roblox.com/t/getextentssize-of-one-part-without-model/404945/7
-- 300% faster than original
--!native
--!optimize 2
--!strict
local function GetPartExtentsSize(Part: BasePart): Vector3
local Size: Vector3 = Part.Size
local SX: number, SY: number, SZ: number = Size.X, Size.Y, Size.Z
@daily3014
daily3014 / randomservice_poc.luau
Last active September 24, 2025 18:45
RandomService: Bruteforcing the RNG state
local Seed = 568182
local RNGState = Random.new(Seed)
-- The seed is unknown to the exploiter at this point
local function Advance(Seed)
math.randomseed(Seed or math.random(1, 1000))
for i = 1, math.random(1, 3) do
if math.random() > 0.5 then
continue