repo
stringclasses
302 values
file_path
stringlengths
18
241
language
stringclasses
2 values
file_type
stringclasses
4 values
code
stringlengths
76
697k
tokens
int64
10
271k
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/StateExtensions/CatalogSearch.luau
luau
.luau
local AvatarEditorService = game:GetService("AvatarEditorService") local Avalog = script.Parent.Parent.Parent.Parent.Parent local Future = require(Avalog.Parent.Future) local Signal = require(Avalog.Parent.Signal) local CatalogItems = require(script.Parent.CatalogItems) export type SearchParams = { SearchKeyword: st...
680
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/StateExtensions/CloudConfig.luau
luau
.luau
local RunService = game:GetService("RunService") local Avalog = script.Parent.Parent.Parent.Parent.Parent local States = require(script.Parent.Parent.States) local Sift = require(Avalog.Parent.Sift) local Types = require(Avalog.SourceCode.Shared.Types) local Zap if RunService:IsRunning() then Zap = require(Avalog.So...
202
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/StateExtensions/Inventory.luau
luau
.luau
local AvatarEditorService = game:GetService("AvatarEditorService") local Avalog = script.Parent.Parent.Parent.Parent.Parent local States = require(script.Parent.Parent.States) local Future = require(Avalog.Parent.Future) local Signal = require(Avalog.Parent.Signal) local HashDictionary = require(Avalog.SourceCode.Shar...
475
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/StateExtensions/Navigation.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local States = require(script.Parent.Parent.States) local Categories = require(Avalog.SourceCode.Shared.Categories) local Fusion = require(Avalog.Parent.Fusion) local Config = require(Avalog.Config) local Navigation = {} local Scope = Fusion.scoped(Fusion) Nav...
202
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/StateExtensions/Screen.luau
luau
.luau
local Workspace = game:GetService("Workspace") local Avalog = script.Parent.Parent.Parent.Parent.Parent local Fusion = require(Avalog.Parent.Fusion) local States = require(script.Parent.Parent.States) local Out = Fusion.Out local Scope = Fusion.scoped(Fusion) local Screen = {} Scope:Hydrate(Workspace.CurrentCamera...
88
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/StateExtensions/init.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent local Bootloader = require(Avalog.Parent.Bootloader) local function GetModules() local Modules = {} for _, Child in ipairs(script:GetChildren()) do if Child:IsA("ModuleScript") then table.insert(Modules, Child) end end return Modules end return Bootloader...
78
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/States/init.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent local Fusion = require(Avalog.Parent.Fusion) local Types = require(Avalog.SourceCode.Shared.Types) local Scope = Fusion.scoped(Fusion) local States = { Theme = Scope:Value(nil), Catalog = { SearchQuery = Scope:Value(""), Mode = Scope:Value(1), Category = Scope...
297
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Themes/Dark.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local ColorUtils = require(Avalog.Parent.ColorUtils) local Util = OnyxUI.Util local Themer = OnyxUI.Themer local Scope = Fusion.scoped(Fusion) return Themer.NewTheme(Scop...
694
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/Themes/Light.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local ColorUtils = require(Avalog.Parent.ColorUtils) local Util = OnyxUI.Util local Themer = OnyxUI.Themer local Scope = Fusion.scoped(Fusion) return Themer.NewTheme(Scop...
728
loneka/avalog
loneka-avalog-9153b4b/src/Client/UI/init.luau
luau
.luau
local Players = game:GetService("Players") local Avalog = script.Parent.Parent.Parent local Fusion = require(Avalog.Parent.Fusion) local StateExtensions = require(Avalog.SourceCode.Client.UI.StateExtensions) local OnyxUI = require(Avalog.Parent.OnyxUI) local States = require(script.States) local Config = require(Avalo...
183
loneka/avalog
loneka-avalog-9153b4b/src/Server/Avatar/init.luau
luau
.luau
local MarketplaceService = game:GetService("MarketplaceService") local Avalog = script.Parent.Parent.Parent local Future = require(Avalog.Parent.Future) local RateLimit = require(Avalog.Parent.RateLimit) local HumanoidDescriber = require(Avalog.Parent.HumanoidDescriber) local Zap = require(Avalog.SourceCode.Shared.Zap...
1,009
loneka/avalog
loneka-avalog-9153b4b/src/Server/PlayerDataStorage/DataValidater.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent local t = require(Avalog.Parent.t) return t.strictInterface({ Avatar = t.strictInterface({ Data = t.optional(t.buffer), }), })
43
loneka/avalog
loneka-avalog-9153b4b/src/Server/PlayerDataStorage/PlayerDataStore.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent local Squash = require(Avalog.Parent.Squash) local DataValidater = require(script.Parent.DataValidater) local NewPlayerDataStore = require(Avalog.SourceCode.Storage.Utils.PlayerDataStore) local AvatarDataSerDes = require(script.Parent.SerDes.AvatarData) local HumanoidDe...
276
loneka/avalog
loneka-avalog-9153b4b/src/Server/PlayerDataStorage/SerDes/AvatarData.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local Squash = require(Avalog.Parent.Squash) local S = Squash local T = Squash.T local AccessorySpec = S.record { AssetId = T(S.number(8)), AccessoryType = T(S.EnumItem(Enum.AccessoryType)), Order = T(S.opt(S.number(4))), Puffiness = T(S.opt(S.number(8))), ...
591
loneka/avalog
loneka-avalog-9153b4b/src/Server/PlayerDataStorage/init.luau
luau
.luau
local Avalog = script.Parent.Parent.Parent local PlayerDataStore = require(script.PlayerDataStore) local Config = require(Avalog.Config) local CONFIG = Config:Get() local PlayerDataStorage = { Store = PlayerDataStore, } function PlayerDataStorage:Start() if CONFIG.DataStoreEnabled then PlayerDataStore:Start() e...
79
loneka/avalog
loneka-avalog-9153b4b/src/Shared/AssetAccessoryType.luau
luau
.luau
local ASSET_ACCESSORY_TYPES = { [Enum.AvatarAssetType.Hat] = Enum.AccessoryType.Hat, [Enum.AvatarAssetType.HairAccessory] = Enum.AccessoryType.Hair, [Enum.AvatarAssetType.FaceAccessory] = Enum.AccessoryType.Face, [Enum.AvatarAssetType.NeckAccessory] = Enum.AccessoryType.Neck, [Enum.AvatarAssetType.ShoulderAccessor...
396
loneka/avalog
loneka-avalog-9153b4b/src/Shared/Assets/init.luau
luau
.luau
local Icons = require(script.Icons) local Images = require(script.Images) return { Icons = Icons, Images = Images, }
28
loneka/avalog
loneka-avalog-9153b4b/src/Shared/AvatarAssetTypes.luau
luau
.luau
local AvatarAssetTypes = { Types = { RigidAccessories = { Enum.AvatarAssetType.BackAccessory, Enum.AvatarAssetType.FaceAccessory, Enum.AvatarAssetType.HairAccessory, Enum.AvatarAssetType.NeckAccessory, Enum.AvatarAssetType.FrontAccessory, Enum.AvatarAssetType.WaistAccessory, Enum.AvatarAssetType...
781
loneka/avalog
loneka-avalog-9153b4b/src/Shared/Categories/CategoriesToNames.luau
luau
.luau
local Categories = require(script.Parent) local function CategoriesToNames(CategoriesTable: { Categories.Category }) local Names = {} for _, Category in ipairs(CategoriesTable) do table.insert(Names, Category.Name) end return Names end return CategoriesToNames
56
loneka/avalog
loneka-avalog-9153b4b/src/Shared/Categories/init.luau
luau
.luau
local AvatarAssetTypes = require(script.Parent.AvatarAssetTypes) export type Category = { Name: string, CategoryFilter: Enum.CatalogCategoryFilter, SubCategories: { Category }?, AssetTypes: { Enum.AvatarAssetType }?, BundleTypes: { Enum.BundleType }?, } local function PurgeBundles(Categories: { Category }): { Ca...
1,134
loneka/avalog
loneka-avalog-9153b4b/src/Shared/ScaleLimits.luau
luau
.luau
return { BodyType = { Min = 0, Max = 1 }, Proportion = { Min = 0, Max = 1 }, Height = { Min = 0.9, Max = 1.05 }, Width = { Min = 0.7, Max = 1 }, Depth = { Min = 0.85, Max = 1 }, Head = { Min = 0.95, Max = 1 }, }
99
loneka/avalog
loneka-avalog-9153b4b/src/Shared/Types.luau
luau
.luau
export type ItemType = "Asset" | "Bundle" export type ItemSale = { experienceId: string, jobId: string, itemId: string, itemType: ItemType, robuxPrice: number, unitsSold: number, } export type AvalogUsageSnapshot = { experienceId: string, jobId: string, uptime: number, totalMenuOpens: number, totalMenuTime...
254
loneka/avalog
loneka-avalog-9153b4b/src/Shared/Utils/AssetTypeFromId.luau
luau
.luau
local ASSET_TYPES = Enum.AvatarAssetType:GetEnumItems() local function AssetTypeFromId(Id: number): Enum.AvatarAssetType? for _, AssetType in ipairs(ASSET_TYPES) do if AssetType.Value == Id then return AssetType end end return nil end return AssetTypeFromId
73
loneka/avalog
loneka-avalog-9153b4b/src/Shared/Utils/DeepEquals.luau
luau
.luau
local function DeepEquals(TableA: { [any]: any }, TableB: { [any]: any }) for Key, Value in pairs(TableA) do if (typeof(Value) == "table") and (typeof(TableB[Key]) == "table") then if not DeepEquals(TableB[Key], Value) then return false end elseif Value ~= TableB[Key] then return false end end re...
107
loneka/avalog
loneka-avalog-9153b4b/src/Shared/Utils/HashDictionary.luau
luau
.luau
local MD5 = require(script.Parent.MD5) local function ConcatDictionary(Dictionary: { [any]: any }): string local Result = "" for Key, Value in pairs(Dictionary) do local Additive = "" if typeof(Value) == "table" then Additive = ConcatDictionary(Value) else Additive = tostring(Key) .. "=" .. tostring(Va...
137
loneka/avalog
loneka-avalog-9153b4b/src/Shared/Utils/SquashNumber.luau
luau
.luau
local function SquashNumber(Value, Min, Max) local Difference = Max - Min return Min + (Value * Difference) end return SquashNumber
33
loneka/avalog
loneka-avalog-9153b4b/src/Shared/Utils/StretchNumber.luau
luau
.luau
local function StretchNumber(Output, Min, Max) local Difference = Max - Min return (Output - Min) / Difference end return StretchNumber
32
loneka/avalog
loneka-avalog-9153b4b/src/Storage/Utils/PlayerDataStore/init.luau
luau
.luau
local Players = game:GetService("Players") local Avalog = script.Parent.Parent.Parent.Parent local Skilift = require(Avalog.Parent.Skilift) local Signal = require(Avalog.Parent.Signal) local Stator = require(Avalog.Parent.Stator) local Sift = require(Avalog.Parent.Sift) local function NewPlayerDataStore(Options) loc...
414
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedFirst/Loading.client.luau
luau
.luau
local LoadingGui = script:WaitForChild("LoadingGui") local Main = LoadingGui:WaitForChild("LoadingScreen"):WaitForChild("Main") local Percent = Main:WaitForChild("Percent") local AmountTxt = Main:WaitForChild("Amount") local CurrentlyInitting = Main:WaitForChild("CurrentlyInitting") local Skip = Main:WaitForChild("Skip...
1,103
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Assets/Achievements.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Types = require(ReplicatedStorage.Classes.Types) type AchievementGroup = { Title: string, LayoutOrder: number, Achievements: {[string]: Types.Achievement} } return { General = { Title = "General", LayoutOrder = 1, ...
141
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Assets/Emotes/TPose.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Emote = require(ReplicatedStorage.Classes.Emote) return Emote.New({ Config = { Name = "T-Pose", Quote = "be not afraid.", }, AnimationIds = "rbxassetid://87300475457340", SoundIds = "rbxassetid://1839549655", Speed...
95
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Assets/KillerIntros/KillerNameToast.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local TweenService = game:GetService("TweenService") local Utils = require(ReplicatedStorage.Modules.Utils) local G = script:FindFirstChild("KillerNameToast") local PlayerLabelPrefab = script:FindFirstChild("PlayerName") return function(Parent: ScreenGui...
594
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Assets/KillerIntros/NullexVoyd.luau
luau
.luau
return { Behaviour = function(_, Intro) local TweenService = game:GetService("TweenService") local Group = script:FindFirstChildWhichIsA("Frame"):Clone() Group.Parent = game:GetService("Players").LocalPlayer.PlayerGui:FindFirstChild("KillerIntros") table.insert(Intro.Disposables, Group) ...
346
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Assets/PickableItems/Cola.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Cola = require(ReplicatedStorage.Assets.Items.Cola) local PickableItem = require(ReplicatedStorage.Classes.Item.PickableItem) local Utils = require(ReplicatedStorage.Modules.Utils) return Utils.Type.CopyTable(PickableItem.New({ ItemEquivalent = ...
95
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Assets/PickableItems/Medkit.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Medkit = require(ReplicatedStorage.Assets.Items.Medkit) local PickableItem = require(ReplicatedStorage.Classes.Item.PickableItem) local Utils = require(ReplicatedStorage.Modules.Utils) return Utils.Type.CopyTable(PickableItem.New({ ItemEquivalen...
94
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Characters/Skins/Survivors/Commander/CommanderYourself.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Character = require(ReplicatedStorage.Classes.Character) local Types = require(ReplicatedStorage.Classes.Types) local function OnCommanderInit(self: Types.Su...
174
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Classes/Ability/AbilityGUI.luau
luau
.luau
--it was definitely not 3 am when writing this months ago (excusing the funny comments) local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Types = require(ReplicatedStorage.Classes.Types) local Janitor = require(ReplicatedStorage.Packages.Janitor) type Abil...
1,667
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Classes/Ability/Slash.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Hitbox = require(ReplicatedStorage.Classes.Hitbox) local Sounds = require(ReplicatedStorage.Modules.Sounds) local Ability = require(ReplicatedStorage.Classes.Ability) local Types = require(ReplicatedSt...
551
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Classes/Effect.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Types = require(script.Parent.Types) local Utils = require(ReplicatedStorage.Modules.Utils) local EffectType = {} EffectType.__index = EffectType --- Effect preset for customization. function EffectType.GetDefaultSettings(): Types.Effect return ...
424
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Classes/Hitbox.luau
luau
.luau
local Debris = game:GetService("Debris") local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local ServerScriptService = game:GetService("ServerScriptService") local TimeManager = RunService:IsServer() and require(Se...
5,243
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Classes/Hitmarker/init.luau
luau
.luau
local HitmarkerCreator = {} local Debris = game:GetService("Debris") local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local SoundService = game:GetService("SoundService") local TweenService = game:GetService("TweenService") local Utils = require(ReplicatedStora...
465
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Classes/Item/ItemGUI.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local Network = require(ReplicatedStorage.Modules.Network) local Utils = require(ReplicatedStorage....
1,462
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Classes/Item/PickableItem.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Types = require(ReplicatedStorage.Classes.Types) local Utils = require(ReplicatedStorage.Modules.Utils) local Janitor = require(ReplicatedStorage.Packages.Janitor) local CommonFunctions = RunService:Is...
550
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Classes/Item/init.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Sounds = require(ReplicatedStorage.Modules.Sounds) local Utils = require(ReplicatedStorage.Modules.Utils) local Janitor = require(ReplicatedStorage.Packages.Janitor) local Types = require(script.Parent...
1,236
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Classes/KillerIntro.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Types = require(script.Parent.Types) local Utils = require(ReplicatedStorage.Modules.Utils) local Sounds = require(ReplicatedStorage.Modules.Sounds) local Kil...
1,500
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Classes/Tooltip.luau
luau
.luau
local Debris = game:GetService("Debris") local GuiService = game:GetService("GuiService") local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local Sou...
678
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Effects/Blindness.luau
luau
.luau
local Lighting = game:GetService("Lighting") local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local TweenService = game:GetService("TweenService") local Effect = require(ReplicatedStorage.Classes.Effect) local Typ...
442
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Effects/Disoriented.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Effect = require(ReplicatedStorage.Classes.Effect) local PlayerModule = not RunService:IsServer() and require(Players.LocalPlayer.PlayerScripts.PlayerModule)...
177
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Effects/Helpless.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Effect = require(ReplicatedStorage.Classes.Effect) return Effect.New({ Name = "Helpless", Description = "Disables a character's abilities during its presence.", Duration = 1, })
57
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Effects/Invisibility.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Effect = require(ReplicatedStorage.Classes.Effect) local Types = require(ReplicatedStorage.Classes.Types) local function Work(apply: boolean, instances: {BasePart & Decal}, level: number?) if apply...
530
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Effects/KillerSpecific/SpawnProtection.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Utils = require(ReplicatedStorage.Modules.Utils) local Effect = require(ReplicatedStorage.Classes.Effect) local Types = require(ReplicatedStorage.Classes.Types) return Effect.New({ Name = "Spawn Protection", Description = "Prevents a killer ...
239
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Effects/Resistance.luau
luau
.luau
local Effect = require(game:GetService("ReplicatedStorage").Classes.Effect) return Effect.New({ Name = "Resistance", Description = "Reduces the damage inflicted to the player (produced by the killer, not by the environment or himself).", Duration = 15, })
60
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Effects/Undetectable.luau
luau
.luau
local Effect = require(game:GetService("ReplicatedStorage").Classes.Effect) return Effect.New({ Name = "Undetectable", Description = "Makes the player's aura invisible for the duration of the effect.", Duration = 15, })
52
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Initter.luau
luau
.luau
local Initter = { CurrentlyInitting = nil, Loaded = false, } function Initter:Init() debug.setmemorycategory("DysNetworking") self.CurrentlyInitting = "DysNetworking" require(script.Parent.Modules.Network):Init() for _, Module in ipairs(script.Parent.Modules:GetDescendants()) do if Modu...
186
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Modules/Lighting.luau
luau
.luau
-- TODO: intro lighting support local Debris = game:GetService("Debris") local Lighting = game:GetService("Lighting") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Network = require(ReplicatedStorage.Modules.Network) local LightingModule = { ...
934
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Modules/Network.luau
luau
.luau
--[[ Thanks for using DysNetworking! Every bit of documentation is scattered through this same module. I tried to document it as well as I could to make it as understandable as possible. You'll still have to know some coding to work properly with this. Anyway, have fun making your games! To access this modu...
2,641
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Modules/Ragdoll.luau
luau
.luau
local Debris = game:GetService("Debris") local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Ragdoll = { HandledHumanoids = {}, } local Utils = require(script.Parent.Utils) local Network = require(ReplicatedS...
2,461
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Modules/Utils/InstanceUtils.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Achievements = require(ReplicatedStorage.Assets.Achievements) local Types = require(ReplicatedStorage.Classes.Types) local TypeUtils = require(script.Parent.TypeUtils) local Janitor = require(ReplicatedStorage.Packages.Janitor) local RunService = ga...
3,304
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Modules/Utils/MathUtils.luau
luau
.luau
local MathUtils = {} --- ## DEPRECATED: use `math.lerp()` instead. --- --- Linear interpolation: formula used to get a certain value between two specified values by using a magnitude from 0 to 1. --- See [Lerping](https://rfcs.luau.org/function-math-lerp.html). @deprecated function MathUtils.Lerp(a: number, b: number...
903
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Modules/Utils/MiscellaneousUtils.luau
luau
.luau
local ContentProvider = game:GetService("ContentProvider") local Debris = game:GetService("Debris") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Network = require(ReplicatedStorage.Modules.Network) local MiscellaneousUtils = {} --- Loads any as...
461
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Modules/Utils/PlayerDataUtils.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Achievements = require(ReplicatedStorage.Assets.Achievements) local Network = require(ReplicatedStorage.Modules.Network) local InstanceUtils = require(script.Parent.InstanceUtils) local TypeUtils = req...
1,392
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Modules/Utils/TypeUtils.luau
luau
.luau
local TypeUtils = {} local Rand = Random.new() --- Splits a path into multiple strings. function TypeUtils.SplitStringPath(path: string): {string} return path:split(".") end --- Makes a copy of an entire table. function TypeUtils.CopyTable<T>(CloneThis: T & {}) : T & {} local NewTable = {} for Key, Value i...
1,523
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Security/ModeratorCommands/ChangeKillersAllowed.luau
luau
.luau
return { Name = "Maximum Killer Count", DisplayedAttribute = "KillersAllowed", Executed = function(value: number) workspace:SetAttribute("KillersAllowed", value) end, }
44
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Security/ModeratorCommands/KillPlayer.luau
luau
.luau
return { Name = "Kill Player", Executable = true, Params = { { Title = "Chosen Player", Type = "String", Default = "...", }, }, Executed = function(self, Player: string) if typeof(Player) ~= "string" then return end ...
191
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Security/ModeratorCommands/ToggleAbilityCharges.luau
luau
.luau
return { Name = "Toggle Ability Charges", DisplayedAttribute = "ChargesEnabled", Type = "Bool", Executed = function() local Enabled = workspace:GetAttribute("ChargesEnabled") workspace:SetAttribute("ChargesEnabled", not Enabled) return workspace:GetAttribute("ChargesEnabled") ...
70
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Security/ModeratorCommands/ToggleAbilityCooldowns.luau
luau
.luau
return { Name = "Toggle Ability Cooldowns", DisplayedAttribute = "CooldownsEnabled", Type = "Bool", Executed = function() local Enabled = workspace:GetAttribute("CooldownsEnabled") workspace:SetAttribute("CooldownsEnabled", not Enabled) return workspace:GetAttribute("CooldownsEn...
72
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Security/ModeratorCommands/ToggleFreezeTime.luau
luau
.luau
local RunService = game:GetService("RunService") local ServerScriptService = game:GetService("ServerScriptService") local TimeManager = RunService:IsServer() and require(ServerScriptService.Managers.TimeManager) or nil return { Name = "Freeze Timer", DisplayedAttribute = "FreezeTime", Type = "Bool", E...
126
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Security/ModeratorCommands/TurnPlayerInto.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local ServerScriptService = game:GetService("ServerScriptService") local Utils = require(ReplicatedStorage.Modules.Utils) local ServerCharacterManager = RunService:...
333
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Utils/NoobPath/Path.luau
luau
.luau
local PFS = game:GetService("PathfindingService") local module = {} local Path = {} Path.__index = Path local JUMP = Enum.PathWaypointAction.Jump local PARTIAL = Enum.PathStatus.ClosestNoPath export type Route = {PathWaypoint} export type AgentParams = { AgentRadius : number, --(The Radius Of The Object(Half Its w...
1,150
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Utils/NoobPath/init.luau
luau
.luau
-- Version 1.811 (optimized visualize, cached Enums, changed CheckForTimeout to CheckTimeout, Jump no long returns the waypoint position[unintended], OnDestroy now fires instantly when destroy is called, did a small change to the Humanoid Jump logic) --[[ MIT License Copyright (c) <2025> <grewsxb4> Permission is he...
2,856
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ReplicatedStorage/Utils/Signal.luau
luau
.luau
-------------------------------------------------------------------------------- -- Batched Yield-Safe Signal Implementation -- -- This is a Signal class which has effectively identical behavior to a -- -- normal RBXScriptSignal, with the only difference being a couple extra ...
1,664
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/Initter.server.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local CanBenchmark = RunService:IsStudio() and workspace:GetAttribute("DebugAllowed") local SSSDone = false local RSDone = false local totalModules = 0 local loadTimes = {} local function InitModule(Module...
424
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/Managers/MapManager.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local ServerStorage = game:GetService("ServerStorage") local Lighting = require(ReplicatedStorage.Modules.Lighting) local Sounds = require(ReplicatedStorage.Modules.Sounds) local Utils = require(ReplicatedStorage.Modules.Utils) local MapManager = { --...
1,720
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/Managers/PlayerManager/PlayerBackpedaling.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local PlayerSpeedManager = require(script.Parent.PlayerSpeedManager) local Types = require(ReplicatedStorage.Classes.Types) local Utils = require(ReplicatedStorage.Modules.Utils) local FactorName = "Backpedaling" local SpeedMult = 0.75 return { Init ...
228
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/Managers/PlayerManager/PlayerSlowOnFall.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local TweenService = game:GetService("TweenService") local PlayerSpeedManager = require(script.Parent.PlayerSpeedManager) local Utils = require(ReplicatedStorage.Modules.Utils) return { Init = function(_) Utils.Player.ObservePlayers(function(P...
406
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/Managers/SaveManager/BadgeItemGrantingManager.luau
luau
.luau
local BadgeService = game:GetService("BadgeService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Utils = require(ReplicatedStorage.Modules.Utils) type BadgeID = number type BadgeItemList = { [BadgeID]: { { Type: "Character" | "Skin" | "Emote", Item: { ...
823
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/Managers/SaveManager/DevItemGrantingManager.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Utils = require(ReplicatedStorage.Modules.Utils) type DevID = number type DevItemList = { [DevID]: { { Type: "Character" | "Skin" | "Emote", Item: { Role: ("Killer" | "Survivor")?, Na...
716
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/Managers/SaveManager/init.luau
luau
.luau
local DataStoreService = game:GetService("DataStoreService") local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local BadgeItemGrantingManager = require(script.BadgeItemGrantingManager) local DevItemGrantingManager = require(script.DevItemGrantingManager) local Ac...
5,713
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/Managers/TimeManager.luau
luau
.luau
--- Class used to manage the game's time in its current state, let it be Lobby or Round or any custom state you implement. local TimeManager = { CurrentTime = 0, Config = { LobbyTime = 45, --0:45 / 45 RoundTime = 240, --4:00 / 240 LastManStandingTime = 90, --1:30 / 90 --- If tru...
640
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/RemoteHandler/BuyItem.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Utils = require(ReplicatedStorage.Modules.Utils) local Network = require(ReplicatedStorage.Modules.Network) return function() Network:SetConnection("BuyItem", "REMOTE_FUNCTION", function(SourcePlayer: Player, Module: ModuleScript, Quotation: boo...
331
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/RemoteHandler/DropItem.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Network = require(ReplicatedStorage.Modules.Network) local Utils = require(ReplicatedStorage.Modules.Utils) return function() Network:SetConnection("DropItem", "REMOTE_EVENT", function(Player: Player, Tool: Tool) if not Player.Character ...
202
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/RemoteHandler/EquipEmote.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Utils = require(ReplicatedStorage.Modules.Utils) local Network = require(ReplicatedStorage.Modules.Network) return function() Network:SetConnection("EquipEmote", "REMOTE_FUNCTION", function(Player: Player, Slot: number, Value: string) if...
160
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/RemoteHandler/EquipItem.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Utils = require(ReplicatedStorage.Modules.Utils) local Network = require(ReplicatedStorage.Modules.Network) return function() Network:SetConnection("EquipItem", "REMOTE_EVENT", function(plr: Player, name: string, Type: string, SkinPath: string?) ...
159
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/RemoteHandler/InitEmote.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Network = require(ReplicatedStorage.Modules.Network) local EmoteFolder = ReplicatedStorage.Assets.Emotes return function() Network:SetConnection("InitEmote", "REMOTE_EVENT", function(plr: Player, emoteName: string) if not plr.Character ...
142
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/RemoteHandler/Print.luau
luau
.luau
local LogService = game:GetService("LogService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Network = require(ReplicatedStorage.Modules.Network) return function() LogService.MessageOut:Connect(function(message, messageType) if work...
131
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/RemoteHandler/init.luau
luau
.luau
--- Make a script in here (use another one as an example) to handle an independant Remote instance. return { Init = function(_self) for _, func in script:GetChildren() do if not func:IsA("ModuleScript") then continue end require(func)() end end }
70
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/Security/AntiFly.luau
luau
.luau
local Debris = game:GetService("Debris") local ReplicatedStorage = game:GetService("ReplicatedStorage") local ServerScriptService = game:GetService("ServerScriptService") local Utils = require(ReplicatedStorage.Modules.Utils) local CommonFunctions = require(ServerScriptService.System.CommonFunctions) local AntiFly = { ...
732
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/ServerScriptService/Security/AntiTP.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local ServerScriptService = game:GetService("ServerScriptService") local CommonFunctions = require(ServerScriptService.System.CommonFunctions) local Utils = require...
423
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterCharacterScripts/Animate.client.luau
luau
.luau
local Figure = script.Parent local Humanoid: Humanoid = Figure:WaitForChild("Humanoid") if Humanoid.RigType ~= Enum.HumanoidRigType.R6 then return end local Torso = Figure:WaitForChild("Torso") local RightShoulder = Torso:WaitForChild("Right Shoulder") local LeftShoulder = Torso:WaitForChild("Left Shoulder") local Rig...
4,603
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterCharacterScripts/AnimationManager.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Utils = require(ReplicatedStorage.Modules.Utils) local Janitor = require(ReplicatedStorage.Packages.Janitor) local AnimationManager = { AnimationTracks =...
1,374
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterCharacterScripts/Health.server.luau
luau
.luau
-- Gradually regenerates the Humanoid's Health over time. --[[local REGEN_RATE = 1/100 -- Regenerate this fraction of MaxHealth per second. local REGEN_STEP = 1 -- Wait this long between each regeneration step. -------------------------------------------------------------------------------- local Character = script....
291
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterCharacterScripts/Miscellaneous/EmoteManager.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Utils = require(ReplicatedStorage.Modules.Utils) local Network = require(ReplicatedStorage.Modules.Network) local Janitor = require(ReplicatedStorage.Packages.Janitor) local EmoteManager = { EmotesAvailable...
937
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterCharacterScripts/Miscellaneous/LobbyTheme.luau
luau
.luau
return { Init = function(_self) local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Sounds = require(ReplicatedStorage.Modules.Sounds) local Character = Players.LocalPlayer.Character local function ToggleTheme(rol...
169
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterCharacterScripts/Miscellaneous/TerrorRadiusManager.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local SoundService = game:GetService("SoundService") local TweenService = game:GetService("TweenService") local Utils = require(ReplicatedStorage.Modules.Utils) loc...
2,812
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterCharacterScripts/PlayerAbilities/CharacterAbilities.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Janitor = require(ReplicatedStorage.Packages.Janitor) local CharacterAbilities = { CharacterModule = {}, --this is here as a utility local for possible usage Abilities = {}, } function CharacterAbilities:Init() local janitorInstance = J...
119
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterCharacterScripts/PlayerAttributeScripts/EffectManager.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Types = require(ReplicatedStorage.Classes.Types) local Utils = require(ReplicatedStorage.Modules.Utils) local Janitor = require(ReplicatedStorage.Packages.Jan...
529
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterCharacterScripts/PlayerAttributeScripts/FOVManager.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Janitor = require(ReplicatedStorage.Packages.Janitor) local Camera = workspace.CurrentCamera local LocalPlayer = game:GetService("Players").LocalPlayer local FOVManager = { FOVFactors = {}, DeltaMul...
292
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterCharacterScripts/Server/ScriptInitter.luau
luau
.luau
return { Init = function(_) for _, Module in script.Parent:GetDescendants() do if Module == script then continue end if not Module:IsA("ModuleScript") then continue end local Scr = require(Module) if type(Scr) == "table" and Scr.Init and type(Scr.Init) == "function" then Scr:Init() ...
98
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterGui/UIOrdering.client.luau
luau
.luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local StarterGui = game:GetService("StarterGui") StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false) StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false) StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false) local Utils = req...
228
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/CharacterInitter.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Utils = require(ReplicatedStorage.Modules.Utils) return { Init = function(_) Utils.Character.ObserveCharacter(Players.LocalPlayer, function(Char: Model) local Server = Char:FindFirs...
204