Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dino Script Created by POLARIS
- ____________
- 2017 edition
- ____________
- ; DO NOT RESELL UNDER TOS CONDITION. MADE BY POLARIS AND ARCTURUS
- open
- user.select.humanoid{"Username.[value]}
- value = game.Workspace.GameEvents.addThirst:FireServer("100")
- for i in b {
- game.Workspace.GameFunctions.ClientEvents.addThirst:FireServer(100)
- game.Workspace.GameFunctions.ClientEvents.EatPlant:FireServer("Fern",100)
- game.Workspace.GameFunctions.UpdateDinoDNADS:InvokeServer(50)
- while wait() do
- game.Workspace.GameFunctions.AddHealth:InvokeServer(21e8)
- end
- game.Workspace.GameFunctions.GrowPlayer:InvokeServer()
- after:
- invoke.server.xml{}
- -- Var scripper thanks to Jackal
- game.Workspace.GameFunctions.GiveForceField:FireServer(10)
- child = game.Workspace:GetChildren()
- mods = {}
- count = 0
- for i, v in pairs (child) do
- OPEN GUI;
- using namespace std;
- void init();
- void ShowWindowForm();
- void Print(HWND hWndEdit, std::string pszText)
- {
- int nLength = GetWindowTextLength(hWndEdit);
- SendMessage(hWndEdit, EM_SETSEL, (WPARAM)nLength, (LPARAM)nLength);
- SendMessage(hWndEdit, EM_REPLACESEL, (WPARAM)FALSE, (LPARAM)pszText.c_str());
- }
- #define INPUT_CHAR_LIMIT 500
- #define ALX_CONSOLE_WINDOW (WM_APP + 500)
- #define ALX_INPUT_FIELD (WM_APP + 501)
- #define ALX_WAYPOINT_BOX (WM_APP + 502)
- #define MALX_EXIT (WM_APP + 600)
- #define MALX_RESTART (WM_APP + 601)
- #define MALX_ABOUT (WM_APP + 602)
- #define MALX_CREDITS (WM_APP + 603)
- #define MALX_COMMANDS (WM_APP + 604)
- HWND ParentWindow = NULL;
- HWND MainWindow = NULL;
- HMENU WindowMenu = NULL;
- HMODULE HInstance = NULL;
- HWND InputField = NULL;
- HWND txtbox = NULL;
- HWND WaypointBox = NULL;
- LRESULT CALLBACK DLLWindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
- {
- switch (message)
- {
- case WM_CTLCOLORSTATIC:
- {
- HDC hEdit = (HDC)wParam;
- SetTextColor(hEdit, RGB(0, 0, 0));
- SetBkColor(hEdit, RGB(255, 255, 255));
- return (LRESULT)GetStockObject(WHITE_BRUSH);
- }
- case WM_COMMAND:
- switch (LOWORD(wParam))
- {
- case MALX_EXIT:
- if (MessageBox(hwnd, "Are you sure you want to exit?", "Exit", MB_YESNOCANCEL) == IDYES)
- ExitThread(0);
- break;
- case MALX_CREDITS:
- MessageBox(hwnd, "SevenV2 Credits/n/r Script() - Main Coder/n/r AzuLX - Coder/n/r DionRBLX - Making Seven UI/n/r mrjoshy12 - Testing and Feedback/n/r Team AzuL - everything!!! ", "Credits", MB_OKCANCEL);
- break;
- case MALX_COMMANDS:
- // Startt("cmds");
- break;
- case ALX_INPUT_FIELD:
- if (HIWORD(wParam) == EN_MAXTEXT) {
- char cText[INPUT_CHAR_LIMIT];
- SendMessage((HWND)lParam, WM_GETTEXT, INPUT_CHAR_LIMIT, (LPARAM)cText);
- if (strcmp(cText, "") == 0)
- break;
- SendMessage((HWND)lParam, WM_SETTEXT, NULL, (LPARAM)"");
- //std::string command = cText;
- //Startt(cText);
- }
- break;
- }
- break;
- case WM_DESTROY:
- ExitThread(0);
- break;
- case WM_QUIT:
- ExitThread(0);
- break;
- default:
- return DefWindowProc(hwnd, message, wParam, lParam);
- }
- return 0;
- }
- BOOL RegisterWindowClass(const char* wClassName) {
- WNDCLASSEX nClass;
- nClass.cbSize = sizeof(WNDCLASSEX);
- nClass.style = CS_DBLCLKS;
- nClass.lpfnWndProc = DLLWindowProc;
- nClass.cbClsExtra = 0;
- nClass.cbWndExtra = 0;
- nClass.hInstance = GetModuleHandle(NULL);
- nClass.hIcon = LoadIcon(NULL, IDI_APPLICATION); // TODO: make an icon for alx?
- nClass.hIconSm = LoadIcon(NULL, IDI_APPLICATION);
- nClass.hCursor = LoadCursor(NULL, IDC_ARROW);
- nClass.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH);
- nClass.lpszMenuName = "what";
- nClass.lpszClassName = wClassName;
- if (!RegisterClassEx(&nClass))
- return 0;
- return 1;
- }
- BOOL StartMessageLoop() {
- MSG msg;
- BOOL bRet;
- while ((bRet = GetMessage(&msg, NULL, 0, 0)) != 0)
- {
- if (bRet == 0) {
- return 0;
- }
- else if (bRet == -1)
- {
- // handle the error and possibly exit
- //return msg.wParam;
- return 0;
- }
- else
- {
- TranslateMessage(&msg);
- DispatchMessage(&msg);
- }
- }
- }
- BOOL CreateSubwindows() {
- //HINSTANCE hInstance = GetModuleHandle(NULL);
- txtbox = CreateWindowEx(NULL, "EDIT", "", WS_CHILD | WS_BORDER | WS_VSCROLL | ES_MULTILINE | WS_VISIBLE | ES_READONLY | ES_AUTOVSCROLL, 1, 20, 450, 234, MainWindow, (HMENU)ALX_CONSOLE_WINDOW, HInstance, 0);
- //HWND consoleFieldLabel = CreateWindowEx(NULL, "STATIC", "", WS_CHILD | WS_VISIBLE, 10, 0, 100, 20, MainWindow, NULL, HInstance, NULL);
- InputField = CreateWindowEx(NULL, "EDIT", "", WS_CHILD | WS_BORDER | ES_MULTILINE | WS_VISIBLE, 1, 284, 420, 100, MainWindow, (HMENU)ALX_INPUT_FIELD, HInstance, 0);
- HWND execute = CreateWindowEx(NULL, "button", "Execute", WS_CHILD | WS_VISIBLE | WS_BORDER, 1, 253, 100, 32, MainWindow, NULL, NULL, NULL);
- HWND openfile = CreateWindowEx(NULL, "button", "Open file", WS_CHILD | WS_VISIBLE | WS_BORDER, 100, 253, 220, 32, MainWindow, NULL, NULL, NULL);
- HWND clear = CreateWindowEx(NULL, "button", "Clear", WS_CHILD | WS_VISIBLE | WS_BORDER, 320, 253, 100, 32, MainWindow, NULL, NULL, NULL);
- //HWND inputFieldLabel = CreateWindowEx(NULL, "STATIC", "", WS_CHILD | WS_VISIBLE, 10, 230, 100, 20, MainWindow, NULL, HInstance, NULL);
- //SendMessage(inputFieldLabel, WM_SETTEXT, NULL, (LPARAM)"Input");
- //SendMessage(consoleFieldLabel, WM_SETTEXT, NULL, (LPARAM)"Console");
- SendMessage(InputField, EM_SETLIMITTEXT, INPUT_CHAR_LIMIT, NULL);
- //WaypointBox = CreateWindowEx(NULL, "LISTBOX", "", WS_CHILD | WS_BORDER | WS_VSCROLL | WS_VISIBLE, 10, 280, 520, 100, MainWindow, (HMENU)ALX_WAYPOINT_BOX, HInstance, 0);
- //SendMessage(WaypointBox, LVM_SETITEMTEXT, )
- HFONT textFont = CreateFont(18, 0, 0, 0, FW_LIGHT, FALSE, FALSE, FALSE, DEFAULT_CHARSET, OUT_OUTLINE_PRECIS, CLIP_DEFAULT_PRECIS, CLEARTYPE_QUALITY, VARIABLE_PITCH, TEXT("Segoe UI"));
- //SendMessage(inputFieldLabel, WM_SETFONT, (WPARAM)textFont, MAKELPARAM(TRUE, 0));
- //SendMessage(consoleFieldLabel, WM_SETFONT, (WPARAM)textFont, MAKELPARAM(TRUE, 0));
- SendMessage(txtbox, WM_SETFONT, (WPARAM)textFont, MAKELPARAM(TRUE, 0));
- SendMessage(InputField, WM_SETFONT, (WPARAM)textFont, MAKELPARAM(TRUE, 0));
- UpdateWindow(MainWindow);
- return 1;
- }
- BOOL CreateWindowMenu() {
- WindowMenu = CreateMenu();
- if (!WindowMenu)
- return 0;
- HMENU mainDropdown = CreatePopupMenu();
- AppendMenu(mainDropdown, MF_STRING, MALX_EXIT, "Exit");
- AppendMenu(WindowMenu, MF_POPUP, (UINT_PTR)mainDropdown, "Sevenv2");
- HMENU aboutDropdown = CreatePopupMenu();
- AppendMenu(aboutDropdown, MF_STRING, MALX_CREDITS, "Credits");
- AppendMenu(aboutDropdown, MF_STRING, MALX_ABOUT, "Large script window");
- AppendMenu(WindowMenu, MF_POPUP, (UINT_PTR)aboutDropdown, "View");
- return 1;
- }
- BOOL InitiateWindow() {
- HInstance = GetModuleHandle(NULL);
- UnregisterClass("ALX_WINDOW", HInstance);
- RegisterWindowClass("ALX_WINDOW");
- char alxName[50];
- _snprintf_s(alxName, 50, "Seven v2");
- //ParentWindow = FindWindow(NULL, "ROBLOX");
- if (!CreateWindowMenu())
- return 0;
- if (!(MainWindow = CreateWindowEx(
- NULL,
- "ALX_WINDOW",
- alxName,
- WS_EX_PALETTEWINDOW, CW_USEDEFAULT, CW_USEDEFAULT,
- 425,
- 434,
- NULL, //ParentWindow,
- WindowMenu,
- HInstance,
- NULL))) return 0;
- //ScrollWindowEx(MainWindow, 0, 560, NULL, NULL, NULL, NULL, SW_SCROLLCHILDREN | SW_SMOOTHSCROLL);
- //EnableScrollBar(MainWindow, SB_VERT, ESB_ENABLE_BOTH);
- CreateSubwindows();
- UpdateWindow(MainWindow);
- ShowWindow(MainWindow, SW_SHOWNORMAL);
- init();
- return StartMessageLoop();
- }
- bool SERVER(int n) {
- bool SERVER(true);
- Print(txtbox, "Loading serverside beta1\r\n");
- Print(txtbox, "Checking server\r\n");
- for (int i(80); i<n; i++){ //didnt add any dots 443 port main server
- if (n%i == 80) SERVER = false;
- Print(txtbox, "Serverside failed\r\n");
- //break; why the fuck should i break i should close
- //use break; close wont work
- }
- return SERVER;
- }
- void ShowWindowForm() {
- InitiateWindow();
- }
- void init() {
- Print(txtbox, "Welcome to SevenV2 Continued...\r\n");
- Print(txtbox, "Checking if any reverse-engineering products are hooked... OK! \r\n");
- Print(txtbox, "Authenticating... OK! \r\n");
- Print(txtbox, "Initializing... OK! \r\n");
- Print(txtbox, "Filtering is Disabled/Enabled \r\n");
- Print(txtbox, "Welcome, (plr name lolz)\r\n");
- //Working on the serverside failed think since
- WriteProcessMemory(SERVER, (PBYTE)PAGE_READWRITE, "\x5D\x3E\x98\x00", 2, 0);
- //Whitelist
- }/// Whitelist Dinisaurs
- // Use commans like
- // ;speed me 100
- // ;give me 100000 DNA
- // ;equip
- }
Add Comment
Please, Sign In to add comment