repo
stringclasses
254 values
file_path
stringlengths
29
241
code
stringlengths
100
233k
tokens
int64
14
69.4k
loneka/avalog
loneka-avalog-4981a8d/src/Client/UI/Components/SkinTab.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local ServiceProvider = require(Avalog.SourceCode.Client.ServiceProvider) local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local States = require(Avalog.SourceCode.Client.UI.States) local Children = Fusion.Children local...
480
loneka/avalog
loneka-avalog-4981a8d/src/Client/UI/Components/SliderSetting.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local Children = Fusion.Children export type Props = { [string]: any } & { Value: Fusion.UsedAs<number>?, Label: Fusion.UsedAs<string>?, } return function(Scope: Fusion...
279
loneka/avalog
loneka-avalog-4981a8d/src/Client/UI/Components/TabDisplay.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local Config = require(Avalog.Config) local States = require(Avalog.SourceCode.Client.UI.States) local Categories = require(Avalog.SourceCode.Shared.Categories) local Child...
775
loneka/avalog
loneka-avalog-4981a8d/src/Client/UI/Components/Tabs.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local States = require(Avalog.SourceCode.Client.UI.States) local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local Children = Fusion.Children export type Props = { [string]: any } & { Options: Fusion.UsedAs<{ string }>?,...
573
loneka/avalog
loneka-avalog-4981a8d/src/Client/UI/Components/UpdatesIndicator.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local Version = require(Avalog.SourceCode.Shared.Version) local Children = Fusion.Children export type Props = { Open: Fusion.UsedAs<boolean>?, Link: Fusion.UsedAs<strin...
835
loneka/avalog
loneka-avalog-4981a8d/src/Client/UI/Components/init.luau
local STORY_EXTENSION = ".story" local Components = { CatalogMenu = require(script.CatalogMenu), Tabs = require(script.Tabs), ItemButton = require(script.ItemButton), CustomButton = require(script.CustomButton), AvatarViewport = require(script.AvatarViewport), CatalogItemsTab = require(script.CatalogItemsTab), ...
290
loneka/avalog
loneka-avalog-4981a8d/src/Client/UI/ScreenGuis/AvalogMenu.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local OnyxUI = require(Avalog.Parent.OnyxUI) local Fusion = require(Avalog.Parent.Fusion) local Components = require(Avalog.SourceCode.Client.UI.Components) local States = require(Avalog.SourceCode.Client.UI.States) local ServiceProvider = require(Avalog.SourceCo...
832
loneka/avalog
loneka-avalog-4981a8d/src/Client/UI/ScreenGuis/AvalogMenu.story.luau
local Avalog = script.Parent.Parent.Parent.Parent.Parent local Fusion = require(Avalog.Parent.Fusion) local OnyxUI = require(Avalog.Parent.OnyxUI) local States = require(Avalog.SourceCode.Client.UI.States) local StateExtensions = require(Avalog.SourceCode.Client.UI.StateExtensions) local DarkTheme = require(Avalog.Sour...
358
loneka/avalog
loneka-avalog-4981a8d/src/Client/UI/StateExtensions/Avatar.luau
local Players = game:GetService("Players") local Avalog = script.Parent.Parent.Parent.Parent.Parent local States = require(script.Parent.Parent.States) local Fusion = require(Avalog.Parent.Fusion) local CatalogItems = require(Avalog.SourceCode.Client.UI.StateExtensions.CatalogItems) local ServiceProvider = require(Ava...
920
loneka/avalog
loneka-avalog-4981a8d/src/Client/UI/StateExtensions/CatalogItems.luau
local AssetService = game:GetService("AssetService") local MarketplaceService = game:GetService("MarketplaceService") local Players = game:GetService("Players") local Avalog = script.Parent.Parent.Parent.Parent.Parent local Future = require(Avalog.Parent.Future) local AssetTypeFromId = require(Avalog.SourceCode.Shared...
902
loneka/avalog
loneka-avalog-4981a8d/src/Client/UI/StateExtensions/CatalogSearch.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-4981a8d/src/Client/UI/StateExtensions/Featured.luau
local RunService = game:GetService("RunService") local Avalog = script.Parent.Parent.Parent.Parent.Parent local States = require(script.Parent.Parent.States) local Fusion = require(Avalog.Parent.Fusion) local Future = require(Avalog.Parent.Future) local Sift = require(Avalog.Parent.Sift) local EnumSerDes = require(Aval...
380
loneka/avalog
loneka-avalog-4981a8d/src/Client/UI/StateExtensions/Inventory.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-4981a8d/src/Client/UI/StateExtensions/Navigation.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-4981a8d/src/Client/UI/StateExtensions/Screen.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-4981a8d/src/Client/UI/StateExtensions/init.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-4981a8d/src/Client/UI/States/init.luau
local Avalog = script.Parent.Parent.Parent.Parent local Fusion = require(Avalog.Parent.Fusion) local Scope = Fusion.scoped(Fusion) local States = { Theme = Scope:Value(nil), Catalog = { Searching = Scope:Value(false), SearchQuery = Scope:Value(""), Mode = Scope:Value(1), Category = Scope:Value(1), SubCate...
278
loneka/avalog
loneka-avalog-4981a8d/src/Client/UI/Themes/Dark.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...
675
loneka/avalog
loneka-avalog-4981a8d/src/Client/UI/Themes/Light.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...
693
loneka/avalog
loneka-avalog-4981a8d/src/Client/UI/init.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-4981a8d/src/Server/Avatar/init.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-4981a8d/src/Server/PlayerDataStorage/DataValidater.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-4981a8d/src/Server/PlayerDataStorage/PlayerDataStore.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-4981a8d/src/Server/PlayerDataStorage/SerDes/AvatarData.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-4981a8d/src/Server/PlayerDataStorage/init.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-4981a8d/src/Shared/AssetAccessoryType.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-4981a8d/src/Shared/Assets/init.luau
local Icons = require(script.Icons) local Images = require(script.Images) return { Icons = Icons, Images = Images, }
28
loneka/avalog
loneka-avalog-4981a8d/src/Shared/AvatarAssetTypes.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...
808
loneka/avalog
loneka-avalog-4981a8d/src/Shared/Categories/CategoriesToNames.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-4981a8d/src/Shared/Categories/init.luau
local Avalog = script.Parent.Parent.Parent local AvatarAssetTypes = require(script.Parent.AvatarAssetTypes) local Sift = require(Avalog.Parent.Sift) export type Category = { Name: string, CategoryFilter: Enum.CatalogCategoryFilter, SubCategories: { Category }?, AssetTypes: { Enum.AvatarAssetType }?, BundleTypes: ...
1,186
loneka/avalog
loneka-avalog-4981a8d/src/Shared/ScaleLimits.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-4981a8d/src/Shared/Utils/AssetTypeFromId.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-4981a8d/src/Shared/Utils/DeepEquals.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-4981a8d/src/Shared/Utils/HashDictionary.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-4981a8d/src/Shared/Utils/SquashNumber.luau
local function SquashNumber(Value, Min, Max) local Difference = Max - Min return Min + (Value * Difference) end return SquashNumber
33
loneka/avalog
loneka-avalog-4981a8d/src/Shared/Utils/StretchNumber.luau
local function StretchNumber(Output, Min, Max) local Difference = Max - Min return (Output - Min) / Difference end return StretchNumber
32
loneka/avalog
loneka-avalog-4981a8d/src/Storage/Utils/PlayerDataStore/init.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
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
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
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
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
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
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
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
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
--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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-- 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
--[[ 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
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
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
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
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
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
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
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
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
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
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
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
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
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
-- 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
-------------------------------------------------------------------------------- -- 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
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
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
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
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
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
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
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
--- 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
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
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
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
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
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
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
--- 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
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
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
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
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
-- 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