#write the most dense, unreadable code in existence
1 messages Β· Page 1 of 1 (latest)
local _=setmetatable({},{__index=function(t,k)return math.random(9)*k end})coroutine.wrap(function()local a=Instance.new'Part'a.Anchored,a.Parent=true,workspace;::_::;a.CFrame=CFrame.Angles(0,os.clock()%(math.pi*2),0)*CFrame.new(0,math.sin(os.clock()*_(1)),0)a.Color=Color3.fromHSV((os.clock()*_(.1))%1,1,1)task.wait(.03)goto _ end)()setmetatable(_G,{__index=function(t,k)return rawget(t,k)or loadstring(k:reverse())()end})local Η=function(...)return{...}end coroutine.wrap(function()while _ do game:GetService'RunService'.RenderStepped:Wait()for Ι=1,_ do _=bit32.bxor(_,Ι)end end end)()
alright i already cant compete with that
Free models scripts r very good in this topic
Or roblox old gear code lol
goto _ end π
Imagine writing something so readable
I'm impressed
My question though is does it even work?
;::_::;
That looks like a pretty obvious syntax error to me
can you double cast?
so i ran my wip gun engine client code through luaobsufcator
here ya go
GET OUT
base obfuscation be like
based*
more like
most obfuscated code vs least obfuscated toolbox code
Ive already seen them use m1-m150 in toolbox
it wasn't even their goal to obfuscate...
Obfuscated code is literally unreadable code. Thatβs the whole point of it.
Nothing beats obfuscated code
Wha
But did you find this in an actual code base?
Also, if you click the edit button on attached files, you can edit the extention to get syntax highlighting on text files
fr
its obfuscated
cuz of all the indenting
defeats the point
true
cuz no one wrote that
it is auto generated
the post clearly states "write"
if you hand craft the obfuscation it counts
esoteric code golf is cool
brainfuck my beloved π
π₯
what even is ::ro::
do these even execute
I thought that was invalid syntax
ohhh
thats why it has goto as well
i give up i cant write unreadable code
it's like musicians having hard time sounding bad
π
like a random dash code from toolbox would probably do a lot better job at looking bad
even if you tried you wouldn't be able to do it because how painful it is
wtf is this
by Roblox???
it's just a helper module with a bunch of features implemented
like zip and shit
lmao
for reall
I sometimes get random scripts from toolbox and format them just for fun
to see what it looks like if it was properly indented
it still looks horrendous
π
π
I think obfuscators should not be allowed its gotta be actual code you wrote
agreed
If Dead.Value == true do print("dead") DeadEvent:FireServer() end
If Dead.Value == true do print("dead") end If Dead.Value == true do DeadEvent:FireServer() end
this exists, found it in a fwee model
not the upper case If
tf is when
how is this valid code bro
when(){}
kotlin
local function tfind(haystack, needle)
local depth = 1
local iterator = {next, haystack}
for k, v in table.unpack(iterator) do
depth += 1
table.insert(iterator, table.clone(iterator))
local function isTableShallow(table: {})
for _,v in table do
if type(v) == "table" then
return not not table
end
end
return
end
local function getIterator(iterator)
if iterator[3] and type(iterator[3])=="table" and isTableShallow(iterator) then
return iterator[3]
end
return getIterator(iterator[3])
end
for kk,vv in table.unpack(getIterator(iterator)) do
depth += 1
table.insert(iterator, table.clone(iterator))
for kkk, vvv in table.unpack(getIterator(iterator)) do
depth += 1
table.insert(iterator, table.clone(iterator))
for kkkk, vvvv in table.unpack(getIterator(iterator)) do
depth += 1
table.insert(iterator, table.clone(iterator))
if (k == kk and k == kkk and k == kkkk and kk == kkk and kk == kkkk and kkk == kkkk and vvvv == needle) then
return vvvv
end
end
end
end
end
return needle
end
okay this one is a good one
kkk
Agreed.
sus
very
@steady prairie Taken from one of the IOCCC submissions for 2024
NO WAY
okay I love this
this is an actual wordle game right
crazy
Not sure, I think it's a solver for Wordle or smth
Definitely Wordle related lol
lol
local Atomic = {}
function Atomic.prop(name: string, predicate: ((any) -> boolean)?)
return { __kind = "prop", name = name, predicate = predicate }
end
local function waitForChild(parent: Instance, childName: string): Instance
local child = parent:FindFirstChild(childName)
if child then return child end
local got
local conn; conn = parent.ChildAdded:Connect(function(c)
if c.Name == childName then
got = c
end
end)
repeat task.wait() until got
conn:Disconnect()
return got
end
local function waitForProperty(obj: Instance, propName: string, predicate)
predicate = predicate or function(v) return v ~= nil end
if predicate(obj[propName]) then return obj[propName] end
local ready
local conn; conn = obj:GetPropertyChangedSignal(propName):Connect(function()
if predicate(obj[propName]) then
ready = true
end
end)
repeat task.wait() until ready
conn:Disconnect()
return obj[propName]
end
function Atomic.bind(path: {any}, callback: (any) -> ()): ()
task.spawn(function()
assert(#path > 0, "Atomic.bind: empty path")
local current = path[1]
if typeof(current) == "string" then
current = waitForChild(game, current)
elseif typeof(current) ~= "Instance" then
error("Atomic.bind: first step must be Instance or string")
end
for i = 2, #path do
local step = path[i]
if typeof(step) == "string" then
current = waitForChild(current, step)
elseif typeof(step) == "Instance" then
current = step
elseif type(step) == "table" then
local isProp = (step.__kind == "prop") or (rawget(step, 1) ~= nil and type(step[1]) == "string" and #step == 1)
if not isProp then
error(("Atomic.bind: unsupported table step at index %d"):format(i))
end
local propName = step.name or step[1]
local predicate = step.predicate
current = waitForProperty(current, propName, predicate)
else
error(("Atomic.bind: unsupported step type at index %d"):format(i))
end
end
callback(current)
end)
end
return Atomic
```mega bloat
tbh this is pretty readable
not that good
but still readable
JOIN MY DISCORD: https://dsc.gg/elseif
do not commit programming crimes
also subscribe because i never ask you to
I DID NOT MAKE THIS
-- ==== STATE ==== local activeReasons = {} local ragdolled = false local function addReason(reason) activeReasons[reason]=true end local function removeReason(reason) activeReasons[reason]=nil end local function anyReasons() for _ in pairs(activeReasons) do return true end return false end -- ==== COLLISIONS ==== local function setRagdollCollisions(isOn) for _, part in ipairs({torso, head, leftArm, rightArm, leftLeg, rightLeg}) do if part then part.CanCollide = (part.Name=="Head" or part.Name=="Torso") and isOn or false end end for _, name in ipairs({"LHand","RHand","LFoot","RFoot"}) do local p = character:FindFirstChild(name) if p then p.CanCollide = isOn end end end -- ==== APPLY RAGDOLL ==== local function applyRagdoll() if ragdolled then return end ragdolled = true -- Disable motors & enable BallSocketConstraints for _, pair in pairs(constraints) do if pair.motor then pair.motor.Enabled = false end if pair.socket then pair.socket.Enabled = true end end -- Extra: disable any leftover Motor6Ds under torso for _, motor in ipairs(torso:GetChildren()) do if motor:IsA("Motor6D") then motor.Enabled = false end end for _, part in ipairs(character:GetDescendants()) do if part:IsA("BasePart") then part:SetNetworkOwner(nil) end end local HRP = character:FindFirstChild("HumanoidRootPart") if HRP then local RootJoint = HRP:FindFirstChild("RootJoint") if RootJoint then RootJoint.Enabled = false HRP.Anchored = true end end -- Humanoid humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,true) humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false) humanoid.PlatformStand = true humanoid.AutoRotate = false -- Stop all playing animations local animator = humanoid:FindFirstChildOfClass("Animator") if animator then for _, track in ipairs(animator:GetPlayingAnimationTracks()) do track:Stop() end end setRagdollCollisions(true) end -- Example: automatically ragdoll when HP <= STUN_ON_HP
this aint dense tho π₯
Itβs dense in terms of being stupid
Bro does not like variables
Requested by: @clear moss```ansi
1: Expected identifier when parsing expression, got Unicode character U+209a
But this is n actual library
This seems crafted
Not regular code
This is an actual library
type annotation chuds when i show them real programming like _G
i remember making the forbidden if statement arrow heads
all the way to the other side of the screen
Didn't people praise Kotlin for being faster than Java?
