Skip to content

Instantly share code, notes, and snippets.

@Tomloyo
Tomloyo / tsb_map_convert.lua
Last active August 19, 2024 10:36
tsb_map_convert.lua
local function dec2(x)
return math.round(x*100)/100
end
local defaultSettings = {
pretty = false;
robloxFullName = false;
robloxProperFullName = true;
robloxClassName = true;
-- Gui to Lua
-- Version: 3.2
-- Instances:
for i,v in game.Players.LocalPlayer:WaitForChild("PlayerGui"):GetChildren() do
if v.Name == "get_anims" then
v:Destroy()
end
end
@keithweaver
keithweaver / add-prefab-game-object-to-scene.cs
Last active December 28, 2023 03:36
Create a new game object/prefab in a scene using C# code for Unity.
using UnityEngine;
using System.Collections;
// I attached this script to my main camera
public class GenerateMap : MonoBehaviour {
void Start () {
int x = 0;
int y = 0;
// Adding a Prefab/GameObject to Scene using C#. Make sure you create a prefab with the file name
@alexlauerman
alexlauerman / printableASCII
Created January 22, 2014 23:46
All printable ASCII for Burp Intruder #python >>> import strings >>> for i in string.printable: ... print i
0
1
2
3
4
5
6
7
8
9