Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (In.at(1) == "me") {
- lua_getglobal(luaState, "game");
- lua_getfield(luaState, -1, "Players");
- lua_getfield(luaState, -1, "LocalPlayer");
- lua_getfield(luaState, -1, "Backpack");
- lua_getglobal(luaState, "Instance");
- lua_getfield(luaState, -1, "new");
- lua_pushstring(luaState, "HopperBin");
- lua_pushvalue(luaState, -4);
- lua_pcall(luaState, 2, 1, 0);
- lua_pushnumber(luaState, 1);
- lua_setfield(luaState, -2, "BinType");
- lua_emptystack(luaState);
- lua_getglobal(luaState, "game");
- lua_getfield(luaState, -1, "Players");
- lua_getfield(luaState, -1, "LocalPlayer");
- lua_getfield(luaState, -1, "Backpack");
- lua_getglobal(luaState, "Instance");
- lua_getfield(luaState, -1, "new");
- lua_pushstring(luaState, "HopperBin");
- lua_pushvalue(luaState, -4);
- lua_pcall(luaState, 2, 1, 0);
- lua_pushnumber(luaState, 2);
- lua_setfield(luaState, -2, "BinType");
- lua_emptystack(luaState);
- lua_getglobal(luaState, "game");
- lua_getfield(luaState, -1, "Players");
- lua_getfield(luaState, -1, "LocalPlayer");
- lua_getfield(luaState, -1, "Backpack");
- lua_getglobal(luaState, "Instance");
- lua_getfield(luaState, -1, "new");
- lua_pushstring(luaState, "HopperBin");
- lua_pushvalue(luaState, -4);
- lua_pcall(luaState, 2, 1, 0);
- lua_pushnumber(luaState, 3);
- lua_setfield(luaState, -2, "BinType");
- lua_emptystack(luaState);
- lua_getglobal(luaState, "game");
- lua_getfield(luaState, -1, "Players");
- lua_getfield(luaState, -1, "LocalPlayer");
- lua_getfield(luaState, -1, "Backpack");
- lua_getglobal(luaState, "Instance");
- lua_getfield(luaState, -1, "new");
- lua_pushstring(luaState, "HopperBin");
- lua_pushvalue(luaState, -4);
- lua_pcall(luaState, 2, 1, 0);
- lua_pushnumber(luaState, 4);
- lua_setfield(luaState, -2, "BinType");
- lua_emptystack(luaState);
- }
- else {
- lua_getglobal(luaState, "game");
- lua_getfield(luaState, -1, "Players");
- lua_getfield(luaState, -1, "LocalPlayer");
- lua_getfield(luaState, -1, "Backpack");
- lua_getglobal(luaState, "Instance");
- lua_getfield(luaState, -1, "new");
- lua_pushstring(luaState, "HopperBin");
- lua_pushvalue(luaState, -4);
- lua_pcall(luaState, 2, 1, 0);
- lua_pushnumber(luaState, 1);
- lua_setfield(luaState, -2, "BinType");
- lua_emptystack(luaState);
- lua_getglobal(luaState, "game");
- lua_getfield(luaState, -1, "Players");
- lua_getfield(luaState, -1, "LocalPlayer");
- lua_getfield(luaState, -1, "Backpack");
- lua_getglobal(luaState, "Instance");
- lua_getfield(luaState, -1, "new");
- lua_pushstring(luaState, "HopperBin");
- lua_pushvalue(luaState, -4);
- lua_pcall(luaState, 2, 1, 0);
- lua_pushnumber(luaState, 2);
- lua_setfield(luaState, -2, "BinType");
- lua_emptystack(luaState);
- lua_getglobal(luaState, "game");
- lua_getfield(luaState, -1, "Players");
- lua_getfield(luaState, -1, "LocalPlayer");
- lua_getfield(luaState, -1, "Backpack");
- lua_getglobal(luaState, "Instance");
- lua_getfield(luaState, -1, "new");
- lua_pushstring(luaState, "HopperBin");
- lua_pushvalue(luaState, -4);
- lua_pcall(luaState, 2, 1, 0);
- lua_pushnumber(luaState, 3);
- lua_setfield(luaState, -2, "BinType");
- lua_emptystack(luaState);
- lua_getglobal(luaState, "game");
- lua_getfield(luaState, -1, "Players");
- lua_getfield(luaState, -1, "LocalPlayer");
- lua_getfield(luaState, -1, "Backpack");
- lua_getglobal(luaState, "Instance");
- lua_getfield(luaState, -1, "new");
- lua_pushstring(luaState, "HopperBin");
- lua_pushvalue(luaState, -4);
- lua_pcall(luaState, 2, 1, 0);
- lua_pushnumber(luaState, 4);
- lua_setfield(luaState, -2, "BinType");
- lua_emptystack(luaState);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement