Skip to content

Instantly share code, notes, and snippets.

View Sleitnick's full-sized avatar

Stephen Leitnick Sleitnick

View GitHub Profile
local tbl = {...}
for i = 1,#tbl do
local v = tbl[i]
end
function pairs(tbl)
return next, tbl, nil
end
local tbl = {...}
for i,v in pairs(tbl) do
-- Loop
end
@Sleitnick
Sleitnick / rbxLinkTest.lua
Last active September 9, 2015 01:59
RbxLinkTest
local version = "1.0.0"
local plugin = PluginManager():CreatePlugin()
local toolbar = plugin:CreateToolbar("RbxLink")
local button = toolbar:CreateButton("RbxLink", "RbxLink Plugin", "")
local http = game:GetService("HttpService")
local endpoint = "http://localhost:8080/StudioLink"
@Sleitnick
Sleitnick / Hexagon.lua
Last active August 29, 2015 14:18
Create and union Hexagon from ROBLOX Studio command line
--[[
Instructions:
1) Set 'radius' and 'height' to non-zero positive numbers (x > 0)
2) Copy & Paste this code into Command Bar
3) Press Enter
--]]
local radius = 4
@Sleitnick
Sleitnick / bloxport_airlines.json
Last active August 29, 2015 14:18
Random airline names for Bloxport. Leave a comment of name suggestions!
{
"prefix": [
"Air"
],
"name": [
"ROBLOX",
"ROBLOXia",
"ROBLOXian",
"Blox",
"Robo",