repo
stringclasses
341 values
file_path
stringlengths
29
173
language
stringclasses
2 values
file_type
stringclasses
4 values
code
stringlengths
2
1.66M
tokens
int64
2
598k
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/map.luau
luau
.luau
--!strict --[=[ @function map @within Dictionary @param dictionary {[K]: V} -- The dictionary to map. @param mapper (value: V, key: K, dictionary: {[K]: V}) -> (Y?, X?) -- The mapper function. @return {[X]: Y} -- The mapped dictionary. Maps the dictionary using the mapper function. The mapper function can...
322
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/merge.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local None = require(Sift.None) --[=[ @function merge @within Dictionary @param dictionaries? ...any -- The dictionaries to merge. @return T -- The merged dictionary. Merges the given dictionaries into a single dictionary. If the value is `None`, it will be re...
272
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/mergeDeep.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local None = require(Sift.None) local copyDeep = require(script.Parent.copyDeep) --[=[ @function mergeDeep @within Dictionary @param dictionaries? ...any -- The dictionaries to merge. @return T -- The merged dictionary. Merges the given dictionaries into a single dic...
365
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/removeKey.luau
luau
.luau
--!strict local copy = require(script.Parent.copy) --[=[ @function removeKey @within Dictionary @param dictionary {[K]: V} -- The dictionary to remove the key from. @param key K -- The key to remove. @return {[K]: V} -- The dictionary without the given key. Removes the given key from the given dictionary...
195
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/removeKeys.luau
luau
.luau
--!strict local copy = require(script.Parent.copy) --[=[ @function removeKeys @within Dictionary @param dictionary {[K]: V} -- The dictionary to remove the keys from. @param keys ...K -- The keys to remove. @return {[K]: V} -- The dictionary without the given keys. Removes the given keys from the given d...
208
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/removeValue.luau
luau
.luau
--!strict --[=[ @function removeValue @within Dictionary @param dictionary {[K]: V} -- The dictionary to remove the value from. @param value V -- The value to remove. @return {[K]: V} -- The dictionary without the given value. Removes the given value from the given dictionary. ```lua local dictionary...
208
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/removeValues.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local ToSet = require(Sift.Array.toSet) --[=[ @function removeValues @within Dictionary @param dictionary {[K]: V} -- The dictionary to remove the values from. @param values ...V -- The values to remove. @return {[K]: V} -- The dictionary without the given values...
262
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/set.luau
luau
.luau
--!strict local copy = require(script.Parent.copy) --[=[ @function set @within Dictionary @param dictionary {[K]: V} -- The dictionary to set the value in. @param key K -- The key to set the value in. @param value V -- The value to set. @return {[K]: V} -- The dictionary with the given value set. Sets ...
209
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/some.luau
luau
.luau
--!strict --[=[ @function some @within Dictionary @param dictionary {[K]: V} -- The dictionary to check. @param predicate (value: V, key: K, dictionary: { [K]: V }) -> any -- The predicate to check against. @return boolean -- Whether or not the predicate returned true for any value. Checks whether or not ...
252
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/update.luau
luau
.luau
--!strict local copy = require(script.Parent.copy) type Callback<K, V> = (key: K) -> V type Updater<K, V> = (value: V, key: K) -> V local function call<K, V>(callback: Callback<K, V>, key: K) if type(callback) == "function" then return callback(key) end end --[=[ @function update @within Dictionary @param...
440
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Dictionary/values.luau
luau
.luau
--!strict --[=[ @function values @within Dictionary @param dictionary {[K]: V} -- The dictionary to get the values from. @return {V} -- The values in the dictionary. Gets the values in the given dictionary. ```lua local dictionary = { hello = "roblox", goodbye = "world" } local values = Values(dicti...
146
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/None.luau
luau
.luau
--!strict --[=[ @prop None None @within Sift Luau can't distinguish between a nil value and a non-existent value. This constant is used to represent a non-existent value. It can be used in methods like `Array.Concat` or `Dictionary.Merge` to remove the value from the result. ]=] local None = newproxy(true) getme...
104
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/add.luau
luau
.luau
--!strict --[=[ @function add @within Set @param set { [T]: boolean } -- The set to add the value to. @param ... ...T -- The values to add. @return { [T]: boolean } -- The set with the values added. Adds values to a set. ```lua local set = { hello = true } local newSet = Add(set, "world") -- { hel...
182
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/copy.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local copy = require(Sift.Dictionary.copy) --[=[ @function copy @within Set @param set { [T]: boolean } -- The set to copy. @return { [T]: boolean } -- A copy of the set. Creates a copy of a set. ```lua local set = { hello = true } local newSet = Copy(se...
107
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/count.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local Util = require(Sift.Util) --[=[ @function count @within Set @param set { [T]: boolean } -- The set to count. @param predicate? (item: T, set: { [T]: boolean }) -> boolean? -- The predicate to use to count. @return number -- The number of items in the set. ...
253
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/delete.luau
luau
.luau
--!strict --[=[ @function delete @within Set @param set { [T]: boolean } -- The set to delete from. @param ... ...T -- The values to delete. @return { [T]: boolean } -- The set with the values deleted. Deletes values from a set. Aliases: `subtract` ```lua local set = { hello = true, world = true }...
187
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/filter.luau
luau
.luau
--!strict local Sift = script.Parent.Parent local Util = require(Sift.Util) --[=[ @function filter @within Set @param set { [T]: boolean } -- The set to filter. @param predicate? (item: T, set: { [T]: boolean }) -> any -- The function to filter the set with. @return { [T]: boolean } -- The filtered set. ...
258
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/fromArray.luau
luau
.luau
--!strict --[=[ @function fromArray @within Set @param array {T} -- The array to convert to a set. @return {[T]: boolean} -- The set. Converts an array to a set, where each item is mapped to true. Duplicate items are discarded. Aliases: `fromList` ```lua local array = { "hello", "world", "hello" }...
168
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/has.luau
luau
.luau
--!strict --[=[ @function has @within Set @param set { [T]: boolean } -- The set to check. @param value any -- The value to check for. @return boolean -- Whether the value is in the set. Checks whether a value is in a set. ```lua local set = { hello = true } local has = Has(set, "hello") -- true ...
128
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/init.luau
luau
.luau
--!strict --[=[ @class Set Sets are a collection of values. They are used to store unique values. They are essentially a dictionary, but each value is stored as a boolean. This means that a value can only be in a set once. ```lua local set = { hello = true } local newSet = Add(set, "world") -- { hello = true,...
215
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/intersection.luau
luau
.luau
--!strict --[=[ @function intersection @within Set @param ... ...{ [any]: boolean } -- The sets to intersect. @return { [T]: boolean } -- The intersection of the sets. Creates the intersection of multiple sets. The intersection is when both sets have a value in common. Unmatched values are discarded. ...
259
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/isSubset.luau
luau
.luau
--!strict --[=[ @function isSubset @within Set @param subset { [any]: boolean } -- The subset to check. @param superset { [any]: boolean } -- The superset to check against. @return boolean -- Whether the subset is a subset of the superset. Checks whether a set is a subset of another set. ```lua local...
188
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/isSuperset.luau
luau
.luau
--!strict local isSubset = require(script.Parent.isSubset) --[=[ @function isSuperset @within Set @param superset { [any]: boolean } -- The superset to check. @param subset { [any]: boolean } -- The subset to check against. @return boolean -- Whether the superset is a superset of the subset. Checks wheth...
181
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/map.luau
luau
.luau
--!strict --[=[ @function map @within Set @param set { [T]: boolean } -- The set to map. @param mapper (T, {[T]: boolean}) -> U -- The mapper function. @return {[U]: boolean} -- The mapped set. Iterates over a set, calling a mapper function for each item. ```lua local set = { hello = true, world = tr...
225
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/merge.luau
luau
.luau
--!strict --[=[ @function merge @within Set @param ... ...any -- The sets to merge. @return { [T]: boolean } -- The merged set. Combines one or more sets into a single set. Aliases: `join`, `union` ```lua local set1 = { hello = true, world = true } local set2 = { cat = true, dog = true, hello = tr...
223
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Set/toArray.luau
luau
.luau
--!strict --[=[ @function toArray @within Set @param set { [T]: boolean } -- The set to convert to an array. @return {T} -- The array. Converts a set to an array. ```lua local set = { hello = true, world = true } local array = ToArray(set) -- { "hello", "world" } ``` ]=] local function toArray<T>(...
138
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Types.luau
luau
.luau
local None = require(script.Parent.None) --[=[ @type None None @within Sift ]=] export type None = typeof(None) export type Dictionary<K, V> = { [K]: V } export type Array<T> = Dictionary<number, T> export type Set<T> = Dictionary<T, boolean> export type Table = Dictionary<any, any> export type AnyDictionary = Di...
89
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Util/equalObjects.luau
luau
.luau
--!strict local _T = require(script.Parent.Parent.Types) --[=[ @function equalObjects @within Sift @param ... ...table -- The tables to compare. @return boolean -- Whether or not the tables are equal. Compares two or more tables to see if they are equal. ```lua local a = { hello = "world" } local b = { hell...
169
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Util/func.luau
luau
.luau
local function truthy() return true end local function noop() end local function returned(...) return ... end return { truthy = truthy, noop = noop, returned = returned, }
44
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Util/init.luau
luau
.luau
return { equalObjects = require(script.equalObjects), func = require(script.func), isEmpty = require(script.isEmpty), }
25
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/csqrl_sift@0.0.3/sift/Util/isEmpty.luau
luau
.luau
--!strict local _T = require(script.Parent.Parent.Types) --[=[ @function isEmpty @within Sift @since v0.0.1 @param table table -- The table to check. @return boolean -- Whether or not the table is empty. Checks whether or not a table is empty. ```lua local a = {} local b = { hello = "world" } l...
138
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/BaseMotor.luau
luau
.luau
local RunService = game:GetService("RunService") local Signal = require(script.Parent.Signal) local noop = function() end local BaseMotor = {} BaseMotor.__index = BaseMotor function BaseMotor.new() return setmetatable({ _onStep = Signal.new(), _onStart = Signal.new(), _onComplete = Signal.new(), }, BaseMoto...
250
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/GroupMotor.luau
luau
.luau
local BaseMotor = require(script.Parent.BaseMotor) local SingleMotor = require(script.Parent.SingleMotor) local isMotor = require(script.Parent.isMotor) local GroupMotor = setmetatable({}, BaseMotor) GroupMotor.__index = GroupMotor local function toMotor(value) if isMotor(value) then return value end local val...
604
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/Instant.luau
luau
.luau
local Instant = {} Instant.__index = Instant function Instant.new(targetValue) return setmetatable({ _targetValue = targetValue, }, Instant) end function Instant:step() return { complete = true, value = self._targetValue, } end return Instant
62
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/Linear.luau
luau
.luau
local Linear = {} Linear.__index = Linear function Linear.new(targetValue, options) assert(targetValue, "Missing argument #1: targetValue") options = options or {} return setmetatable({ _targetValue = targetValue, _velocity = options.velocity or 1, }, Linear) end function Linear:step(state, dt) local posi...
187
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/Signal.luau
luau
.luau
local Connection = {} Connection.__index = Connection function Connection.new(signal, handler) return setmetatable({ signal = signal, connected = true, _handler = handler, }, Connection) end function Connection:disconnect() if self.connected then self.connected = false for index, connection in pairs(sel...
241
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/SingleMotor.luau
luau
.luau
local BaseMotor = require(script.Parent.BaseMotor) local SingleMotor = setmetatable({}, BaseMotor) SingleMotor.__index = SingleMotor function SingleMotor.new(initialValue, useImplicitConnections) assert(initialValue, "Missing argument #1: initialValue") assert(typeof(initialValue) == "number", "initialValue must be...
306
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/init.luau
luau
.luau
local Flipper = { SingleMotor = require(script.SingleMotor), GroupMotor = require(script.GroupMotor), Instant = require(script.Instant), Linear = require(script.Linear), Spring = require(script.Spring), isMotor = require(script.isMotor), } return Flipper
58
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/reselim_flipper@2.0.0/flipper/isMotor.luau
luau
.luau
local function isMotor(value) local motorType = tostring(value):match("^Motor%((.+)%)$") if motorType then return true, motorType else return false end end return isMotor
49
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/Binding.luau
luau
.luau
local createSignal = require(script.Parent.createSignal) local Symbol = require(script.Parent.Symbol) local Type = require(script.Parent.Type) local config = require(script.Parent.GlobalConfig).get() local BindingImpl = Symbol.named("BindingImpl") local BindingInternalApi = {} local bindingPrototype = {} function ...
789
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/ComponentLifecyclePhase.luau
luau
.luau
local Symbol = require(script.Parent.Symbol) local strict = require(script.Parent.strict) local ComponentLifecyclePhase = strict({ -- Component methods Init = Symbol.named("init"), Render = Symbol.named("render"), ShouldUpdate = Symbol.named("shouldUpdate"), WillUpdate = Symbol.named("willUpdate"), DidMount = Sy...
133
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/Config.luau
luau
.luau
--[[ Exposes an interface to set global configuration values for Roact. Configuration can only occur once, and should only be done by an application using Roact, not a library. Any keys that aren't recognized will cause errors. Configuration is only intended for configuring Roact itself, not extensions or librar...
703
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/ElementKind.luau
luau
.luau
--[[ Contains markers for annotating the type of an element. Use `ElementKind` as a key, and values from it as the value. local element = { [ElementKind] = ElementKind.Host, } ]] local Symbol = require(script.Parent.Symbol) local strict = require(script.Parent.strict) local Portal = require(script.Parent.Po...
264
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/GlobalConfig.luau
luau
.luau
--[[ Exposes a single instance of a configuration as Roact's GlobalConfig. ]] local Config = require(script.Parent.Config) return Config.new()
31
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/Logging.luau
luau
.luau
--[[ Centralized place to handle logging. Lets us: - Unit test log output via `Logging.capture` - Disable verbose log messages when not debugging Roact This should be broken out into a separate library with the addition of scoping and logging configuration. ]] -- Determines whether log messages will go to stdout...
950
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/None.luau
luau
.luau
local Symbol = require(script.Parent.Symbol) -- Marker used to specify that the value is nothing, because nil cannot be -- stored in tables. local None = Symbol.named("None") return None
40
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/NoopRenderer.luau
luau
.luau
--[[ Reference renderer intended for use in tests as well as for documenting the minimum required interface for a Roact renderer. ]] local NoopRenderer = {} function NoopRenderer.isHostObject(target) -- Attempting to use NoopRenderer to target a Roblox instance is almost -- certainly a mistake. return target == ...
137
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/Portal.luau
luau
.luau
local Symbol = require(script.Parent.Symbol) local Portal = Symbol.named("Portal") return Portal
19
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/PropMarkers/Change.luau
luau
.luau
--[[ Change is used to generate special prop keys that can be used to connect to GetPropertyChangedSignal. Generally, Change is indexed by a Roblox property name: Roact.createElement("TextBox", { [Roact.Change.Text] = function(rbx) print("The TextBox", rbx, "changed text to", rbx.Text) end, }) ]] lo...
199
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/PropMarkers/Children.luau
luau
.luau
local Symbol = require(script.Parent.Parent.Symbol) local Children = Symbol.named("Children") return Children
20
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/PropMarkers/Event.luau
luau
.luau
--[[ Index into `Event` to get a prop key for attaching to an event on a Roblox Instance. Example: Roact.createElement("TextButton", { Text = "Hello, world!", [Roact.Event.MouseButton1Click] = function(rbx) print("Clicked", rbx) end }) ]] local Type = require(script.Parent.Parent.Type) local Ev...
189
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/PropMarkers/Ref.luau
luau
.luau
local Symbol = require(script.Parent.Parent.Symbol) local Ref = Symbol.named("Ref") return Ref
20
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/PureComponent.luau
luau
.luau
--[[ A version of Component with a `shouldUpdate` method that forces the resulting component to be pure. ]] local Component = require(script.Parent.Component) local PureComponent = Component:extend("PureComponent") -- When extend()ing a component, you don't get an extend method. -- This is to promote composition o...
217
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/RobloxRenderer.luau
luau
.luau
--[[ Renderer that deals in terms of Roblox Instances. This is the most well-supported renderer after NoopRenderer and is currently the only renderer that does anything. ]] local Binding = require(script.Parent.Binding) local Children = require(script.Parent.PropMarkers.Children) local ElementKind = require(script....
1,669
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/SingleEventManager.luau
luau
.luau
--[[ A manager for a single host virtual node's connected events. ]] local Logging = require(script.Parent.Logging) local CHANGE_PREFIX = "Change." local EventStatus = { -- No events are processed at all; they're silently discarded Disabled = "Disabled", -- Events are stored in a queue; listeners are invoked wh...
963
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/Symbol.luau
luau
.luau
--!strict --[[ A 'Symbol' is an opaque marker type. Symbols have the type 'userdata', but when printed to the console, the name of the symbol is shown. ]] local Symbol = {} --[[ Creates a Symbol with the given name. When printed or coerced to a string, the symbol will turn into the string given as its name. ]...
149
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/Type.luau
luau
.luau
--[[ Contains markers for annotating objects with types. To set the type of an object, use `Type` as a key and the actual marker as the value: local foo = { [Type] = Type.Foo, } ]] local Symbol = require(script.Parent.Symbol) local strict = require(script.Parent.strict) local Type = newproxy(true) local ...
221
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/assertDeepEqual.luau
luau
.luau
--!strict --[[ A utility used to assert that two objects are value-equal recursively. It outputs fairly nicely formatted messages to help diagnose why two objects would be different. This should only be used in tests. ]] local function deepEqual(a: any, b: any): (boolean, string?) if typeof(a) ~= typeof(b) then ...
466
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/assign.luau
luau
.luau
local None = require(script.Parent.None) --[[ Merges values from zero or more tables onto a target table. If a value is set to None, it will instead be removed from the table. This function is identical in functionality to JavaScript's Object.assign. ]] local function assign(target, ...) for index = 1, select("#"...
143
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/createContext.luau
luau
.luau
local Symbol = require(script.Parent.Symbol) local createFragment = require(script.Parent.createFragment) local createSignal = require(script.Parent.createSignal) local Children = require(script.Parent.PropMarkers.Children) local Component = require(script.Parent.Component) --[[ Construct the value that is assigned t...
959
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/createElement.luau
luau
.luau
local Children = require(script.Parent.PropMarkers.Children) local ElementKind = require(script.Parent.ElementKind) local Logging = require(script.Parent.Logging) local Type = require(script.Parent.Type) local config = require(script.Parent.GlobalConfig).get() local multipleChildrenMessage = [[ The prop `Roact.Childr...
475
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/createFragment.luau
luau
.luau
local ElementKind = require(script.Parent.ElementKind) local Type = require(script.Parent.Type) local function createFragment(elements) return { [Type] = Type.Element, [ElementKind] = ElementKind.Fragment, elements = elements, } end return createFragment
60
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/createReconciler.luau
luau
.luau
--!nonstrict local Type = require(script.Parent.Type) local ElementKind = require(script.Parent.ElementKind) local ElementUtils = require(script.Parent.ElementUtils) local Children = require(script.Parent.PropMarkers.Children) local Symbol = require(script.Parent.Symbol) local internalAssert = require(script.Parent.int...
3,862
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/createReconcilerCompat.luau
luau
.luau
--[[ Contains deprecated methods from Reconciler. Broken out so that removing this shim is easy -- just delete this file and remove it from init. ]] local Logging = require(script.Parent.Logging) local reifyMessage = [[ Roact.reify has been renamed to Roact.mount and will be removed in a future release. Check the c...
258
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/createRef.luau
luau
.luau
--[[ A ref is nothing more than a binding with a special field 'current' that maps to the getValue method of the binding ]] local Binding = require(script.Parent.Binding) local function createRef() local binding, _ = Binding.create(nil) local ref = {} --[[ A ref is just redirected to a binding via its metatab...
213
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/createSignal.luau
luau
.luau
--[[ This is a simple signal implementation that has a dead-simple API. local signal = createSignal() local disconnect = signal:subscribe(function(foo) print("Cool foo:", foo) end) signal:fire("something") disconnect() ]] local function createSignal() local connections = {} local suspendedConnectio...
343
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/forwardRef.luau
luau
.luau
local assign = require(script.Parent.assign) local None = require(script.Parent.None) local Ref = require(script.Parent.PropMarkers.Ref) local config = require(script.Parent.GlobalConfig).get() local excludeRef = { [Ref] = None, } --[[ Allows forwarding of refs to underlying host components. Accepts a render call...
156
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/getDefaultInstanceProperty.luau
luau
.luau
--[[ Attempts to get the default value of a given property on a Roblox instance. This is used by the reconciler in cases where a prop was previously set on a primitive component, but is no longer present in a component's new props. Eventually, Roblox might provide a nicer API to query the default property of an ...
303
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/init.luau
luau
.luau
--~strict --[[ Packages up the internals of Roact and exposes a public API for it. ]] local GlobalConfig = require(script.GlobalConfig) local createReconciler = require(script.createReconciler) local createReconcilerCompat = require(script.createReconcilerCompat) local RobloxRenderer = require(script.RobloxRenderer) ...
349
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/internalAssert.luau
luau
.luau
local function internalAssert(condition, message) if not condition then error(message .. " (This is probably a bug in Roact!)", 3) end end return internalAssert
40
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/_Index/roblox_roact@1.4.4/roact/oneChild.luau
luau
.luau
--[[ Retrieves at most one child from the children passed to a component. If passed nil or an empty table, will return nil. Throws an error if passed more than one child. ]] local function oneChild(children) if not children then return nil end local key, child = next(children) if not child then return ni...
118
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Components/Packages/t.luau
luau
.luau
-- t: a runtime typechecker for Roblox local t = {} function t.type(typeName) return function(value) local valueType = type(value) if valueType == typeName then return true else return false, string.format("%s expected, got %s", typeName, valueType) end end end function t.typeof(typeName) return fun...
6,881
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/Hint.luau
luau
.luau
client = nil service = nil local Components = script.Parent.Components.AdonisModernComponents local Packages = Components.Parent.Packages local Maid = require(Packages.Maid) local Signal = require(Packages.Signal) local Roact = require(Packages.Roact) local new = Roact.createElement local FadeInOutAnimationWrapper =...
417
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Client/UI/Modern/YesNoPrompt.luau
luau
.luau
client, service = nil local Packages = script.Parent.Components.Packages local Signal = require(Packages.Signal) local Winro = require(Packages.Winro) local Roact = require(Packages.Roact) local new = Roact.createElement local Dialog = Winro.App.Window.Dialog export type YesNoPromptProps = { Delay: number?, Icon: ...
527
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/Assets/AnimateAvatar.server.luau
luau
.luau
local AvatarTypes = { Snoop = {0.05, { 131395838, 131395847, 131395855, 131395860, 131395868, 131395884, 131395884, 131395891, 131395897, 131395901, 131395946, 131395957, 131395966, 131395972, 131395979, 131395986, 131395989, 131395993, 131395997, 131396003, 131396007, 13139...
964
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/Assets/BunnyHop.client.luau
luau
.luau
local hum = script.Parent:FindFirstChildOfClass("Humanoid") hum.Jump = true hum:GetPropertyChangedSignal("Jump"):Connect(function() hum.Jump = true end) hum.Jump = not hum.Jump -- in some unreliable cases this line might be needed to make GetPropertyChangedSignal trigger immediately
64
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/Assets/ClickTeleport/init.client.lua
luau
.lua
task.wait() local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local mode = script.Mode.Value--"Teleport" local name = script.Target.Value local localplayer = Players.LocalPlayer local mouse = localplayer:GetMouse() local tool = script.Parent local use = false local ...
635
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/Assets/FlyClipper.client.luau
luau
.luau
task.wait() local players = game:GetService("Players") local localplayer = players.LocalPlayer local torso = localplayer.Character.HumanoidRootPart local hum = localplayer.Character:FindFirstChildOfClass("Humanoid") local mouse = localplayer:GetMouse() local enabled = script.Enabled local running = true local dir = {w...
505
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/Assets/Freecam/Freecam.client.lua
luau
.lua
--!nonstrict ------------------------------------------------------------------------ -- Freecam -- Cinematic free camera for spectating and video production. ------------------------------------------------------------------------ local pi = math.pi local abs = math.abs local clamp = math.clamp local exp = math.exp l...
9,148
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/Assets/Glitcher/init.client.lua
luau
.lua
task.wait() local torso = script.Parent local posed = false local type = script:WaitForChild("Type").Value local int = tonumber(script:WaitForChild("Num").Value) or 50 game:GetService("RunService").RenderStepped:Connect(function() if type == "ghost" then torso.CFrame += Vector3.new(tonumber(int) * (posed and 4 or -...
300
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/Assets/HatPets.server.luau
luau
.luau
local hats = script.Parent local events = {} if hats then local mode = hats.Mode local target = hats.Target repeat for _,hat in next,hats:GetChildren() do if hat:IsA('Part') then local bpos = hat.bpos hat.CanCollide = false if events[`{hat.Name}hatpet`] then events[`{hat.Name}hatpet`]:Disconn...
408
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/Assets/Illegal.client.luau
luau
.luau
local msgs={ { Msg="We need more..... philosophy... ya know?", Color=Enum.ChatColor.Green },{ Msg="OH MY GOD STOP TRYING TO EAT MY SOUL", Color=Enum.ChatColor.Red },{ Msg="I.... CANT.... FEEL.... MY FACE", Color=Enum.ChatColor.Red },{ Msg="DO YOU SEE THE TURTLE?!?!", Color=Enum.ChatColor.Red },{ Msg="Omg puff the magic...
745
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/Assets/Quacker.server.luau
luau
.luau
while true do task.wait(math.random(5, 20)) if script.Parent ~= nil then script.Parent:FindFirstChild(`Quack{math.random(1, 4)}`):Play() else script:Destroy() break end end
57
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/Assets/Seize.client.luau
luau
.luau
local root = script.Parent local humanoid = root.Parent:FindFirstChildOfClass("Humanoid") local origvel = root.AssemblyLinearVelocity local origrot = root.AssemblyAngularVelocity repeat task.wait(0.1) humanoid.PlatformStand = true root.AssemblyLinearVelocity = Vector3.new(math.random(-10, 10), -5, math.random(-10, ...
143
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/Assets/Sfling/init.client.lua
luau
.lua
task.wait() local cam = workspace.CurrentCamera local torso = script.Parent local humanoid = torso.Parent:FindFirstChildOfClass("Humanoid") local strength = script:WaitForChild("Strength").Value for i = 1, 100 do task.wait(0.1) humanoid.Sit = true local ex = Instance.new("Explosion") ex.Position = torso.Position +...
167
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/Assets/Slippery.client.luau
luau
.luau
task.wait(0.5) local vel = script.Parent:WaitForChild("ADONIS_IceVelocity") while script.Parent ~= nil and vel and vel.Parent ~= nil do vel.Velocity = Vector3.new(script.Parent.AssemblyLinearVelocity.X, 0, script.Parent.AssemblyLinearVelocity.Z) task.wait(0.1) end if vel then vel:Destroy() end
82
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/Assets/Spinner.client.luau
luau
.luau
local torso = script.Parent local bg = torso:FindFirstChild("ADONIS_SPIN_GYRO") repeat task.wait(1/44) bg.CFrame *= CFrame.Angles(0, math.rad(12), 0) until not bg or bg.Parent ~= torso
60
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/CountryRegionCodes.luau
luau
.luau
return { US = "United States", GB = "United Kingdom", CA = "Canada", AF = "Afghanistan", AX = "Aland Islands", AL = "Albania", DZ = "Algeria", AS = "American Samoa", AD = "Andorra", AO = "Angola", AI = "Anguilla", AQ = "Antarctica", AG = "Antigua and Barbuda", AR = "Argentina", AM = "Armenia", AW = "Aru...
1,925
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/DataStoreService/MockDataStoreService/MockDataStoreConstants.lua
luau
.lua
--[[ MockDataStoreConstants.lua Contains all constants used by the entirety of MockDataStoreService and its sub-classes. This module is licensed under APLv2, refer to the LICENSE file or: buildthomas/MockDataStoreService/blob/master/LICENSE ]] return { LOGGING_ENABLED = false; -- Verbose l...
700
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/DataStoreService/MockDataStoreService/MockDataStoreManager.lua
luau
.lua
--# selene: allow(incorrect_standard_library_use) --[[ MockDataStoreManager.lua This module does bookkeeping of data, interfaces and request limits used by MockDataStoreService and its sub-classes. This module is licensed under APLv2, refer to the LICENSE file or: buildthomas/MockDataStoreService/blob/master/LICEN...
3,116
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/DataStoreService/MockDataStoreService/MockDataStorePages.lua
luau
.lua
--[[ MockDataStorePages.lua This module implements the API and functionality of Roblox's DataStorePages class. This module is licensed under APLv2, refer to the LICENSE file or: buildthomas/MockDataStoreService/blob/master/LICENSE ]] local MockDataStorePages = {} MockDataStorePages.__index = MockDataStorePages l...
419
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/DataStoreService/MockDataStoreService/MockDataStoreUtils.lua
luau
.lua
--[[ MockDataStoreUtils.lua Contains helper and utility functions used by other classes. This module is licensed under APLv2, refer to the LICENSE file or: buildthomas/MockDataStoreService/blob/master/LICENSE ]] local MockDataStoreUtils = {} local Constants = require(script.Parent.MockDataStoreConstants) local H...
2,590
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/DataStoreService/MockDataStoreService/MockGlobalDataStore.lua
luau
.lua
--[[ MockGlobalDataStore.lua This module implements the API and functionality of Roblox's GlobalDataStore class. This module is licensed under APLv2, refer to the LICENSE file or: buildthomas/MockDataStoreService/blob/master/LICENSE ]] local MockGlobalDataStore = {} MockGlobalDataStore.__index = MockGlobalDataSto...
3,997
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/DataStoreService/MockDataStoreService/MockOrderedDataStore.lua
luau
.lua
--[[ MockOrderedDataStore.lua This module implements the API and functionality of Roblox's OrderedDataStore class. This module is licensed under APLv2, refer to the LICENSE file or: buildthomas/MockDataStoreService/blob/master/LICENSE ]] local MockOrderedDataStore = {} MockOrderedDataStore.__index = MockOrderedDa...
4,545
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/DataStoreService/init.lua
luau
.lua
--[[ DataStoreService.lua This module decides whether to use actual datastores or mock datastores depending on the environment. This module is licensed under APLv2, refer to the LICENSE file or: buildthomas/MockDataStoreService/blob/master/LICENSE ]] local MockDataStoreServiceModule = script.MockDataStoreService ...
284
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/FetchF3X.luau
luau
.luau
--[[ A way to dynamically fetch the F3X module with require()'s ModuleScript sandboxing. ]] script:Destroy() -- selene: allow(incorrect_standard_library_use) script = nil return select(2, pcall(function() return require(580330877)() end)) or true
63
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/Loadstring/LuaU.luau
luau
.luau
--# selene: allow(incorrect_standard_library_use, multiple_statements, shadowing, unused_variable, empty_if, divide_by_zero, unbalanced_assignments) --[[-------------------------------------------------------------------- ldump.lua Save precompiled Lua chunks This file is part of Yueliang. Copyright (c) 2006 ...
3,201
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/Loadstring/LuaX.luau
luau
.luau
--# selene: allow(incorrect_standard_library_use, multiple_statements, shadowing, unused_variable, empty_if, divide_by_zero, unbalanced_assignments) --[[-------------------------------------------------------------------- llex.lua Lua lexical analyzer in Lua This file is part of Yueliang. Copyright (c) 2005-2...
8,009
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Dependencies/RebootHandler/init.server.lua
luau
.lua
--# selene: allow(incorrect_standard_library_use) if script.Parent then local dTargetVal = script:WaitForChild("Runner") local parentVal = script:WaitForChild("mParent") local modelVal = script:WaitForChild("Model") local modeVal = script:WaitForChild("Mode") warn("Reloading in 5 seconds...") task.wait(5) scrip...
389
Epix-Incorporated/Adonis
Epix-Incorporated-Adonis-b6a44ee/MainModule/Server/Plugins/FindExistingObjects.luau
luau
.luau
--[[ Description: Searches the place for existing Adonis items and registers them. Author: Sceleratis Date: 4/3/2022 --]] return function(Vargs, GetEnv) local server = Vargs.Server; local service = Vargs.Service; local Settings = server.Settings local Functions, Commands, Admin, Anti, Core, HTTP, Logs, Remote,...
316