Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago
Edited by DeceptiveCaster 4 years ago

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

0
Please put this is a lua format, I cannot answer this question if its like that jamielelystad 20 — 4y
0
ok HTHRWRU 6 — 4y
0
this is not readable Gameplayer365247v2 1055 — 4y
0
It is now in actual Lua format. DeceptiveCaster 3761 — 4y
View all comments (2 more)
0
that's pretty bad code, sorry but i can't help since this is unreadable User#23252 26 — 4y
0
what is "that error" 1waffle1 2908 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

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

0
getgc(0 is a synapse function HTHRWRU 6 — 4y
0
getgc is a lua function, it gets garbage collector enes223 327 — 3y
Ad

Answer this question