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
workspace.Checkpoints.ChildAdded:Connect(function(checkpoint) | |
if checkpoint.Name == "100" then | |
checkpoint.Touched:Connect(function(hit) | |
... same touched stuff | |
end) | |
end | |
end) |
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
for i = 1, 5 do | |
local part = game.ReplicatedStorage.FogPart:Clone() | |
part.Parent = workspace | |
part.Position = Vector3.new(0, i * 10, 0) | |
end |
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 DS_INT_TO_INT = {} :: {[number]: number} | |
local INT_TO_DS_INT = {} :: {[number]: number} | |
local INT_TO_DS_CHAR = {} :: {[number]: string} | |
local DS_INT_MAX; | |
do | |
-- All characters under this are control characters, must avoid them because | |
-- they get expanded out into control sequences. | |
local MIN_DS_VALUE = 0x20 | |
local MAX_DS_VALUE = 0x7E |
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
################################################################################ | |
## stravant's Godot plugin auto-reloader ## | |
## For ease of plugin development ## | |
## MIT licensed ## | |
## ## | |
## Call preload("./reloader.gd").new() in your EditorPlugin component's ## | |
## _enter_tree method to enable automatic reloading whenever you save changes ## | |
## to any of the plugin files for a tighter plugin rapid prototyping loop. ## | |
## ## | |
## Source: https://gist.github.com/stravant/7aec484bb5e34e3a6196faaa13159ac3 ## |
OlderNewer