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
gaymeowing/luauberries
gaymeowing-luauberries-056d795/scripts/libinfo.luau
luau
.luau
--[[ libinfo utility func for reading LIBRARY.toml files and providing types for LIBINFOs ]] local serde = require("@lune/serde") local fs = require("@lune/fs") type RuntimeInfo = { optional: { string }?, main: string, }? type BaseLibInfo<R> = { tags: { string }, version: string, runtime: R, } type Internal...
339
gaymeowing/luauberries
gaymeowing-luauberries-056d795/scripts/libs_changed.luau
luau
.luau
--[[ libs changed map of each library thats changed based on if it has a release for its latest version or not ]] local get_latest_commit = require("@scripts/get_latest_commit") local richterm = require("@scripts/richterm") local read_dir = require("@scripts/read_dir") local libinfo = require("@scripts/libinfo") lo...
225
gaymeowing/luauberries
gaymeowing-luauberries-056d795/scripts/license.luau
luau
.luau
--[[ license gives the license file as a code comment ]] local process = require("@lune/process") local fs = require("@lune/fs") local new_line_char = if process.os == "windows" then "\r\n" else "\n" local tabbed_license = string.gsub(fs.readFile("LICENSE"), new_line_char, "\n\t") return `--[[\n\t{string.sub(tabb...
102
gaymeowing/luauberries
gaymeowing-luauberries-056d795/scripts/modulify.luau
luau
.luau
--[[ modulify converts a folder to a module script ]] local read_dir = require("@scripts/read_dir") local remove = require("@scripts/remove") local roblox = require("@lune/roblox") local fs = require("@lune/fs") type ModuleScript = roblox.Instance & { Source: string, } type DirInfo = { instance: roblox.Instance...
572
gaymeowing/luauberries
gaymeowing-luauberries-056d795/scripts/pull_requests.luau
luau
.luau
--[[ pull requests gets pull requests after a given unix timestamp ]] local read_dir = require("@scripts/read_dir") local datetime = require("@lune/datetime") local summon = require("@scripts/summon") local serde = require("@lune/serde") export type PullRequestInfo = { merged_at: number, number: number, author:...
540
gaymeowing/luauberries
gaymeowing-luauberries-056d795/scripts/read_dir.luau
luau
.luau
--[[ read dir its the same except it removes .DS_Store ]] local remove = require("@scripts/remove") local fs = require("@lune/fs") local function read_dir(path: string): { string } local contents = fs.readDir(path) local index = table.find(contents, ".DS_Store") if index then remove(contents, index) end r...
87
gaymeowing/luauberries
gaymeowing-luauberries-056d795/scripts/remove.luau
luau
.luau
--[[ remove swap removal func for removing the first index, if the value doesnt exist it'll error ]] local function remove<V>(t: { V }, i: number?): V if not i then i = 1 end local v = t[i :: number] if v ~= nil then if #t ~= 1 then t[i :: number] = t[#t] t[#t] = nil else t[1] = nil end ...
132
gaymeowing/luauberries
gaymeowing-luauberries-056d795/scripts/require_pattern.luau
luau
.luau
--[[ require pattern module for storing require pattern info, and provides a create function for making a require pattern ]] local START = "local%s*%w+%s*=%s*require%s*%([\"'`]" local ENDING = "[\"'`]%)" local function CREATE(path_pattern: string?): string return `{START}{path_pattern or "(.-)"}{ENDING}` end ret...
118
gaymeowing/luauberries
gaymeowing-luauberries-056d795/scripts/summon.luau
luau
.luau
--[[ summon small wrapper around lunes process.spawn, that makes it actually error and sets the shell to the default shell of the os (except macos because it still has bash and bash works fine enough) ]] local process = require("@lune/process") local SHELL = if process.os == "windows" then "powershell" else "bash...
312
gaymeowing/luauberries
gaymeowing-luauberries-056d795/scripts/test_runner.luau
luau
.luau
--[[ test runner script for running tests for ci ]] local libs_changed = require("@scripts/libs_changed") local read_dir = require("@scripts/read_dir") local depgraph = require("@scripts/depgraph") local libinfo = require("@scripts/libinfo") local process = require("@lune/process") local fs = require("@lune/fs") l...
572
gaymeowing/luauberries
gaymeowing-luauberries-056d795/scripts/zip.luau
luau
.luau
--[[ zip utility for zipping folders within lune ]] local summon = require("@scripts/summon") local function zip(path: string): string return summon(`tar -c -z --exclude *.DS_Store {path} `) end return zip
59
gaymeowing/luauberries
gaymeowing-luauberries-056d795/testkit.luau
luau
.luau
--!nocheck --!nolint ------------------------------------------------------------------------------- -- testkit.luau -- v0.7.3 -------------------------------------------------------------------------------- local color = { white_underline = function(s: string) return `\27[1;4m{s}\27[0m` end, white = function(s...
2,788
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
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/CharacterManager.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local StarterGui = game:GetService("StarterGui") local CharManager = {} local LocalPlayer = Players.LocalPlayer local AbilityGUI = require(ReplicatedStorage.Classes.Ability.AbilityGUI) local Character = require(...
1,058
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/InputManager/init.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local Signal = require(ReplicatedStorage.Utils.Signal) local InputManager = { --- WARNING: this wo...
728
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/Miscellaneous/AttackHitboxVisibility.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Utils = require(ReplicatedStorage.Modules.Utils) return { Init = function(_) workspace.TempObjectFolders.Hitboxes.ChildAdded:Connect(function(Child) if Child:IsA("BasePart") and Utils...
115
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/Miscellaneous/BackpackManager.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") -- local StarterGui = game:GetService("StarterGui") local ItemGUI = require(ReplicatedStorage.Classes.Item.ItemGUI) local Utils = require(ReplicatedStorage.Modules.Utils) return { Init = function(_) U...
163
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/Miscellaneous/CharacterExclusive/CameraShakeOnDamage.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Utils = require(ReplicatedStorage.Modules.Utils) return { Init = function(_self) Utils.Character.ObserveCharacter(Players.LocalPlayer, function(Character: Model) if Character:FindFir...
196
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/Miscellaneous/CharacterExclusive/DamageVignette/init.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) return { Init = function(_self) Utils.Cha...
438
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/Miscellaneous/CharacterExclusive/DesaturationOnLowHealth.luau
luau
.luau
local Lighting = game:GetService("Lighting") 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(Character...
366
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/Miscellaneous/FootstepPlayer.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Utils = require(ReplicatedStorage.Modules.Utils) local Sounds = require(ReplicatedStorage.Modules.Sounds) local FootstepPlayer = { DefaultSFXID = "rbxassetid://78754179999047", ControlledCharacters = {}, ...
574
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/Miscellaneous/HealthDesatReset.luau
luau
.luau
local Lighting = game:GetService("Lighting") 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() ...
96
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/Miscellaneous/KillerEffectOnKill.luau
luau
.luau
local Debris = game:GetService("Debris") local Lighting = game:GetService("Lighting") local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local TweenService = game:GetService("TweenService") local Network = require(ReplicatedStorage.Modules.Network) local Utils = r...
259
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/Miscellaneous/QueryHitboxVisibility.luau
luau
.luau
local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local Utils = require(ReplicatedStorage.Modules.Utils) local LocalPlayer = Players.LocalPlayer local QueryHitboxVisibility = { ShowOtherPlayersHitbox = false, } function QueryHitboxVisibility:Init() Uti...
263
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/Miscellaneous/SetupMapBehaviour.luau
luau
.luau
return { Init = function() -- ChildAdded is optimized as everything that isn't maps and players is added in folders inside it so it doesn't get called. -dys workspace.ChildAdded:Connect(function(newChild: Instance) if newChild.Name ~= "Map" then return end ...
108
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/Miscellaneous/SoundServiceResetter.luau
luau
.luau
local SoundServiceResetter = {} local ReplicatedStorage = game:GetService("ReplicatedStorage") local SoundService = game:GetService("SoundService") local Utils = require(ReplicatedStorage.Modules.Utils) function SoundServiceResetter:Init() Utils.Character.ObserveCharacter(game:GetService("Players").LocalPlayer, f...
124
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/Miscellaneous/TurnToMoveDirection.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 LERP_ALPHA = 0.25 local FOWARD_LEAN_ANGLE = math.rad(10) local SIDE_LEAN_ANGLE = math.rad(35) local T...
1,325
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/PlayerInitter.luau
luau
.luau
local PlayerModule = script.Parent.PlayerModule local Player = game:GetService("Players").LocalPlayer local PlayerInitter = { Loaded = false, CurrentlyInitting = nil, Initting = false, } function PlayerInitter:Init() if game:GetService("RunService"):IsServer() or self.Initting then return ...
245
CodeBotsStudio/Dysymmetrical
CodeBotsStudio-Dysymmetrical-efeac6e/src/StarterPlayerScripts/PlayerModule/CameraModule/BaseOcclusion.luau
luau
.luau
--[[ BaseOcclusion - Abstract base class for character occlusion control modules 2018 Camera Update - AllYourBlox --]] --[[ The Module ]]-- local BaseOcclusion: any = {} BaseOcclusion.__index = BaseOcclusion setmetatable(BaseOcclusion, { __call = function(_, ...) return BaseOcclusion.new(...) end }) function Ba...
339