View Ponies.sh
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
# written by github:devrusty | |
# January, 15, 2023 | |
PONY=twilight; | |
MSG="close this window for more PONY"; | |
COUNT=10; | |
PONIES=("Twilight" "Applejack" "Pinkie" "Fluttershy" "Rarity" "Rainbow Dash" "Celestia" "Luna" "Cadance" "Flurryheart"); | |
function createPonyWindow { | |
xterm -bg black -hold -e ponysay -f $PONY $MSG; | |
} |
View progressBar.ts
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
const max = 10 | |
function CreateProgressBar(progress: number) { | |
if (progress > max) { | |
console.log(`Progress bar is out of range of ${max}`) | |
return | |
} | |
const progressBar = `${"🟩".repeat(progress)}${"⬛".repeat(max - progress)}` | |
return progressBar | |
} |
View seed.lua
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
local gen = 1000 | |
function generate(i) | |
local num = math.random(0, i) | |
local part = Instance.new("Part") | |
part.BrickColor = BrickColor.random() | |
part.Anchored = true | |
part.Parent = workspace | |
part.Position = Vector3.new(num * 2, 1, num * 3) * math.random(0, 200) |
View BuildClient.lua
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
local UserInputService = game:GetService("UserInputService") | |
local RunService = game:GetService("RunService") | |
local Players = game:GetService("Players") | |
local Building = false | |
local Mouse = Players.LocalPlayer:GetMouse() | |
local Brick = script.Part | |
local function RoundVector3(vector: Vector3) | |
return Vector3.new( |