Universal Script 📌
463 Views
175 Executions

Most op scipt ever print helo world

Universal Script 📌
oatssi
oatssiPublished 10
11 months ago
Get an executor
Please login to perform these actions:

Does it work?

Early reports

100% say it works · 1 report in the last 2 weeks

Also noticed:

Description

OPPPP

View Raw
local program = [[
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.]]

local tape = {}
local tapePointer = 1
local output = ""

for i = 1, 30000 do
    tape[i] = 0
end

local function interpretBF(code)
    local codePointer = 1
    local loopStack = {}

    while codePointer <= #code do
        local instruction = string.sub(code, codePointer, codePointer)

        if instruction == ">" then
            tapePointer = tapePointer + 1
        elseif instruction == "<" then
            tapePointer = tapePointer - 1
        elseif instruction == "+" then
            tape[tapePointer] = tape[tapePointer] + 1
        elseif instruction == "-" then
            tape[tapePointer] = tape[tapePointer] - 1
        elseif instruction == "." then
            output = output .. string.char(tape[tapePointer])
        elseif instruction == "[" then
            if tape[tapePointer] == 0 then
                local count = 1

                while count > 0 do
                    codePointer = codePointer + 1
                    local nextInstruction = string.sub(code, codePointer, codePointer)

                    if nextInstruction == "[" then
                        count = count + 1
                    elseif nextInstruction == "]" then
                        count = count - 1


Comments

4
Log in to join the conversation. Login
ludicious_claw's profile picture
ludicious_claw11 months ago

hello world in brainfuh thats what we needed world is saved

2
oatssi's profile picture
oatssiUploader11 months ago

@imnotqqka Exactly

1
1954's profile picture
1954Keyless Creator
Keyless Script Creator Badge
Keyless Script Creator
11 months ago

peak

2
oatssi's profile picture
oatssiUploader11 months ago

brainfuh

2

More universal scripts

See all
Script hub
3.0M
1.1M
Bumped 2 hours ago
Key System

Script hub

#6 today

CanHub V2 200 GAMES KEYLESS

Script hub
131
3
21 hours ago
Script hub
277.4k
165.4k
Bumped 3 hours ago
Key System
Universal Script 📌
6.6k
17.0k
Bumped 3 hours ago
Script hub
1.7M
431.9k
Bumped 4 hours ago
Key System

Script hub

#7 today

Verified script badgeAxonic Hub | 50+ Games Supported

Universal Script 📌
2.5k
7.1k
Bumped 9 hours ago
Script hub
5.9k
86.5k
Bumped 9 hours ago

Script hub

SAGAZx Hub

Script hub
77.7k
274.5k
Bumped 10 hours ago
Key System