This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("Initializing GUI") | |
local sizeX = 250 | |
local sizeY = 200 | |
local posX = 3 | |
local posY = 250 | |
local title = "workspace" | |
local version = "0.1_cosmetic" | |
local notifSound = Instance.new("Sound", workspace) | |
notifSound.SoundId = "rbxassetid://7853210274" | |
function notify(notifTitle, notifText, notifDuration) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests; | |
import json; | |
req = requests.get("https://proxylist.geonode.com/api/proxy-list?limit=7000&page=1&sort_by=lastChecked&sort_type=desc&protocols=http"); | |
jsn = json.loads(req.text)["data"]; | |
i = 0; | |
while i < len(jsn): | |
print("\033[95m"+jsn[i].get('ip') + ":" + jsn[i].get('port')); | |
i+=1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static float[] hexToFloat(int colourToConvert) { | |
float red = (float) (colourToConvert >> 16 & 255) / 255.0F; | |
float green = (float) (colourToConvert >> 8 & 255) / 255.0F; | |
float blue = (float) (colourToConvert & 255) / 255.0F; | |
return new float[] {red, green, blue}; | |
} | |
public static void glColorInt(int hexColour) { | |
float[] rgbValues = hexToFloat(hexColour); | |
GL11.glColor3f(rgbValues[0], rgbValues[1], rgbValues[2]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static float[] hexToFloat(int colourToConvert) { | |
float red = (float) (colourToConvert >> 16 & 255) / 255.0F; | |
float green = (float) (colourToConvert >> 8 & 255) / 255.0F; | |
float blue = (float) (colourToConvert & 255) / 255.0F; | |
return new float[] {red, green, blue}; | |
} | |
public static void glColorInt(int hexColour) { | |
float[] rgbValues = hexToFloat(hexColour); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int ticks = 0; | |
public void onEnable() { | |
ticks = 0; | |
} | |
public void onDisable() { | |
mc.timer.timerSpeed = 1f; | |
} |