Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do i fix that script? i can't make a ship game.

The script is:

for i,v in next, getgc() do
     if type(v) == "function" and not is_synapse_function(v) then
        for i2,v2 in next, debug.getupvalues(v) do
            if i2 == "handleShipUpdate" and type(v2) == "function" then
                for i3,v3 in next, debug.getupvalues(v2) do
                    if type(v3) == "table" then
                        for i4,v4 in next, v3 do
                            for i5,v5 in next, v3 do
                                if type(v5) == "function" then
                                    for i6,v6 in next, debug.getupvalues(v5) do
                                        if i6 == "grid" and type(v6) == "table" then
                                            for i7,v7 in next, v6 do
                                                if i7 == "tiles" and type(v7) == "table" then
                                                    for a,b in next, v7 do
                                                        for a2,b2 in next, b do
                                                            if a2 == "data" and type(b2) == "table" then
                                                                for a3,b3 in next, b2 do
                                                                    b2.Base = "Otter"
                                                                    if a3 == "Item" and type(b3) == "table" then
                                                                        for a4,b4 in next, b3 do
                                                                            b3.ShipType = "Otter"
                                                                            b3.Identifier = game.workspace.Ships.hohello.Otter.ship.identifier.Value
                                                                        end
                                                                    end
                                                                end
                                                            end
                                                        end
                                                    end
                                                end
                                            end
                                        end
                                    end
                                end
                            end
                        end
                    end
                end
            end
        end
    end
end

So im trying to make a ship game but it gives me that error

6 comments

0

Please put this is a lua format, I cannot answer this question if its like that

0

ok

0

this is not readable

0

It is now in actual Lua format.

0

that's pretty bad code, sorry but i can't help since this is unreadable

0

what is "that error"

1 answer

✓ Accepted answer

pretty sure if type(v) == "function" and not is_synapse_function(v) then synapse is exploit name, and getgc() is not even roblox lua i think

2 comments

0

getgc(0 is a synapse function

0

getgc is a lua function, it gets garbage collector

This discussion is preserved as it was. New answers, comments, and votes are closed.