repo
stringclasses
350 values
file_path
stringlengths
29
200
language
stringclasses
2 values
file_type
stringclasses
4 values
code
stringlengths
2
1.01M
tokens
int64
2
598k
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/EntityController/InfoUI/Egg.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local BrainrotConfig = require(RS.Shared.Config.Brainrot) local EggConfig = require(RS.Shared.Config.Egg) local vide = require(RS.Packages.vide) local Types = require(RS.Types) local source = vide.source local apply = vide.apply export type Info = BrainrotConfig.Brain...
436
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/EntityController/InfoUI/init.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local vide = require(RS.Packages.vide) local create = vide.create local source = vide.source local effect = vide.effect local cleanup = vide.clea...
1,025
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/Index.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Replica = require(RS.Packages.ReplicaClient) local Charm = require(RS.Packages.Charm) local Observer = require(RS.Shared.Modules.Observer) ...
201
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/LeaderboardController.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Replica = require(RS.Packages.ReplicaClient) local Observer = require(RS.Shared.Modules.Observer) local WindConfig = require(RS.Shared.Conf...
1,297
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/MutationEventController.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Replica = require(RS.Packages.ReplicaClient) local Observer = require(RS.Shared.Modules.Observer) local WindConfig = require(RS.Shared.Conf...
1,132
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/PackageController.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Replica = require(RS.Packages.ReplicaClient) local Charm = require(RS.Packages.Charm) local Observer = require(RS.Shared.Modules.Observer) ...
267
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/PlotController.lua
luau
.lua
local Player = game.Players.LocalPlayer local RS = game:GetService("ReplicatedStorage") local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Replica = require(RS.Packages.ReplicaClient) local Charm = require(RS.Packages.Charm) local Constants = require(RS.Shared.Constants) local O...
2,044
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/PodiumController.lua
luau
.lua
local Players = game:GetService("Players") local RS = game:GetService("ReplicatedStorage") local Player = Players.LocalPlayer local Trove = require(RS.Packages.Trove) local QuickZone = require(RS.Packages.QuickZone) local Replica = require(RS.Packages.ReplicaClient) local Charm = require(RS.Packages.Charm) local Sign...
6,170
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/ProductController.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Marketplace = game:GetService("MarketplaceService") local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Replica = require(RS.Packages.ReplicaClient) local Packets = require(RS.Shared.Pa...
224
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/Ragdoll.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Packets = require(RS.Shared.Packets) local Ragdoller = require(RS.Packages.Ragdoll) local StateController = require("./StateController") local ragdolledAtom = StateController.atoms.isRagdolled local player = game.Players.LocalPlayer local last_ragdoll = os.clock(...
464
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/StateController.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Replica = require(RS.Packages.ReplicaClient) local Charm = require(RS.Packages.Charm) local Packets = require(RS.Shared.Packets) local Obse...
341
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/TemplateController.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Replica = require(RS.Packages.ReplicaClient) local Observer = require(RS.Shared.Modules.Observer) local module = {} module.Init = function...
86
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/TutorialController.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Replica = require(RS.Packages.ReplicaClient) local Charm = require(RS.Packages.Charm) local CharmVide = require(RS.Packages.CharmVide) local...
1,531
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/UIController.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Replica = require(RS.Packages.ReplicaClient) local QuickZone = require(RS.Packages.QuickZone) local Observer = require(RS.Shared.Modules.Obs...
2,789
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/VIP.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Markeplace = game:GetService("MarketplaceService") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Replica = require(RS.Packages.ReplicaClient) local Packets = require(RS.Shared.Packe...
303
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/Controllers/WindController.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Replica = require(RS.Packages.ReplicaClient) local Packets = require(RS.Shared.Packets) loc...
985
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/CashCollect.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local CharmVide = require(RS.Packages.CharmVide) local useAtom ...
1,075
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/AnimatedButton.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
716
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/BaseButton/AnimatedEffect.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
179
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/BaseButton/Types.lua
luau
.lua
export type ButtonContext = { button: GuiButton, onActivated: () -> ()?, onHovered: () -> ()?, onHoverEnded: () -> ()?, effects: { animated: boolean?, } } return {}
51
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/BaseButton/init.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
273
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/Button/Types.lua
luau
.lua
export type ButtonContext = { -- the GuiButton instance effects attach to / read from button: GuiButton, -- optional separate target for size/rotation (defaults to button) target: GuiObject, -- reactive interaction state hovered: () -> boolean, activated: () -> boolean, -- signals for fire-and-forget effects ...
234
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/Button/effects/AnimatedEffect.lua
luau
.lua
-- effects/AnimatedEffect.luau local RS = game:GetService("ReplicatedStorage") local vide = require(RS.Packages.vide) local derive = vide.derive local Types = require("../Types") export type Props = { hoverMulti: number?, clickImpulse: number?, hoverRotation: number?, } local function scaleUDim2(udim2: UDim2, sca...
366
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/Button/effects/FloatingEffect.lua
luau
.lua
-- effects/FloatingEffect.luau local RS = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local vide = require(RS.Packages.vide) local derive = vide.derive local cleanup = vide.cleanup local effect = vide.effect local source = vide.source local spring = vide.spring export type Pr...
329
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/Button/init.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
1,202
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/CashUI.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
954
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/DropButton.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
350
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/Menu.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
370
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/Menus/CarryMenu.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
767
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/Menus/IndexMenu.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
1,912
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/Menus/RebirthMenu.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
1,731
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/Menus/RobuxShopMenu.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Marketplace = game:GetService("MarketplaceService") local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local ...
1,678
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/Menus/SpeedMenu.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
795
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/NotificationFrame/init.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
701
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/ScreenMenu.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
402
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/SlowmodeButton.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
488
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Components/WindWarning.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
859
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/DisasterInfo.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local vide = require(RS.Packages.vide) local create = vide.create local source = vide.source local effect = vide.effect local cleanup = vide.clea...
584
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/PlayerInfoGui.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local vide = require(RS.Packages.vide) local CharmVide = require(RS.Packages.CharmVide) local useAtom = CharmVide.useAtom local create = vide.cre...
521
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/PlotUpgradeButton.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local PlotConfig = require(RS.Shared.Config.Plot) local vide = require(RS.Packages.vide) local CharmV...
1,298
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/TemplateUI.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local CharmVide = require(RS.Packages.CharmVide) local useAtom ...
308
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/UpgradeButton.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
1,706
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/Utils/TextColors.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local vide = require(RS.Packages.vide) local apply = vide.apply local Constants = require(RS.Shared.Constants) local MutationConfig = require(RS.Shared.Config.Mutations) local colors = Constants.TextColors -- switch to gradients later local fromRarity = function(tex...
789
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/UI/oldupgradebutton.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Player = game.Players.LocalPlayer local Signal = require(RS.Packages.Signal) local Trove = require(RS.Packages.Trove) local Packets = require(RS.Shared.Packets) local vide = require(RS.Packages.vide) local Charm = require(RS.Packages.Charm) local CharmVide = requ...
1,678
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Main/init.server.lua
luau
.lua
local RS = game:GetService("ReplicatedStorage") local Loader = require(RS.Shared.Modules.Loader) local Replica = require(RS.Packages.ReplicaClient) local Controllers = Loader.Load(script.Controllers) local DEBUG = true for name, controller in Controllers do if controller.Init then local success, errorMsg = pcall(...
270
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/array.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local u16 = bufferWriter.u16 --[[ Create a new array with the given dataTypeInterface ]] return function(valueType: types.dataTypeInterface<any>) local valueWrite = valueType.write local valueR...
223
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/bool.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local boolean = { --[[ 1 = true 0 = false Write and read based off a uint8 ]] read = function(b: buffer, cursor: number) return buffer.readu8(b, cursor) == 1, 1 end, write = buffer...
103
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/buff.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local u16 = bufferWriter.u16 local copy = bufferWriter.copy local dyn_alloc = bufferWriter.dyn_alloc local buff = { read = function(b: buffer, cursor: number) local length = buffer.readu16(b, c...
201
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/cframe.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local f32NoAlloc = bufferWriter.f32NoAlloc local alloc = bufferWriter.alloc -- thanks jack :p local cframe = { read = function(b: buffer, cursor: number) local x = buffer.readf32(b, cursor) l...
366
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/color3.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local u8 = bufferWriter.u8 local alloc = bufferWriter.alloc local color3 = { --[[ 1 byte per color channel = 3 bytes, need to work with RGB -> 0 - 255 to utilize u8 ]] read = function(b: bu...
241
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/float32.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local f32 = bufferWriter.f32 local float32 = { write = f32, read = function(b: buffer, cursor: number) return buffer.readf32(b, cursor), 4 end, } return function(): types.dataTypeInterface<...
82
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/float64.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local f64 = bufferWriter.f64 local float64 = { write = f64, read = function(b: buffer, cursor: number) return buffer.readf64(b, cursor), 8 end, } return function(): types.dataTypeInterface<...
82
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/inst.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local readRefs = require(script.Parent.Parent.process.readRefs) local types = require(script.Parent.Parent.types) local reference = bufferWriter.reference local alloc = bufferWriter.alloc return function(): types.dataTypeInterface<Instance?> ret...
167
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/int16.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local i16 = bufferWriter.i16 local int16 = { write = i16, read = function(b: buffer, cursor: number) return buffer.readi16(b, cursor), 2 end, } return function(): types.dataTypeInterface<nu...
82
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/int32.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local i32 = bufferWriter.i32 local int32 = { write = i32, read = function(b: buffer, cursor: number) return buffer.readi32(b, cursor), 4 end, } return function(): types.dataTypeInterface<nu...
82
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/int8.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local i8 = bufferWriter.i8 local int8 = { write = i8, read = function(b: buffer, cursor: number) return buffer.readi8(b, cursor), 1 end, } return function(): types.dataTypeInterface<number>...
82
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/map.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local u16 = bufferWriter.u16 -- thanks jack :p return function( keyType: types.dataTypeInterface<any>, valueType: types.dataTypeInterface<any> ): types.dataTypeInterface<{ [any]: any }> -- Cach...
337
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/nothing.lua
luau
.lua
local types = require(script.Parent.Parent.types) local nothing = { write = function() end, read = function() return nil, 0 end, } return function(): types.dataTypeInterface<nil> return nothing end
48
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/optional.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local bool = bufferWriter.bool return function(valueType: types.dataTypeInterface<any>) local valueRead = valueType.read local valueWrite = valueType.write return { --[[ first byte is a b...
243
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/string.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local u16 = bufferWriter.u16 local writestring = bufferWriter.writestring local dyn_alloc = bufferWriter.dyn_alloc local str = { -- 2 bytes for the length, then the string read = function(b: bu...
159
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/uint16.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local u16 = bufferWriter.u16 local uint16 = { write = u16, read = function(b: buffer, cursor: number) return buffer.readu16(b, cursor), 2 end, } return function(): types.dataTypeInterface<n...
82
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/uint32.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local u32 = bufferWriter.u32 local uint32 = { write = u32, read = function(b: buffer, cursor: number) return buffer.readu32(b, cursor), 4 end, } return function(): types.dataTypeInterface<n...
82
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/uint8.lua
luau
.lua
local types = require(script.Parent.Parent.types) local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local u8 = bufferWriter.u8 local uint8 = { write = u8, read = function(b: buffer, cursor: number) return buffer.readu8(b, cursor), 1 end, } return function(): types.dataTypeInterface<number...
82
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/unknown.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local readRefs = require(script.Parent.Parent.process.readRefs) local types = require(script.Parent.Parent.types) local reference = bufferWriter.reference local alloc = bufferWriter.alloc return function(): types.dataTypeInterface<unknown> retur...
139
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/vec2.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local f32NoAlloc = bufferWriter.f32NoAlloc local alloc = bufferWriter.alloc local vec2 = { --[[ 2 float32s, one for X, one for Y ]] read = function(b: buffer, cursor: number) return Vector...
155
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/dataTypes/vec3.lua
luau
.lua
local bufferWriter = require(script.Parent.Parent.process.bufferWriter) local types = require(script.Parent.Parent.types) local f32NoAlloc = bufferWriter.f32NoAlloc local alloc = bufferWriter.alloc local vec3 = { --[[ 3 floats, 12 bytes ]] read = function(b: buffer, cursor: number) return Vector3.new( buffe...
175
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/namespaces/packetIDs.lua
luau
.lua
--!native --[[ Exists solely to get a packet instance from an ID in the reader file. Might be able to be done in a better way? ]] local dict = {} local packetIDs = {} function packetIDs.set(id: number, packet: any) dict[id] = packet end -- Use this instead of a get function for performance. function packetIDs.re...
90
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/packets/packet.lua
luau
.lua
--!native --!optimize 2 local Players = game:GetService("Players") local RunService = game:GetService("RunService") local types = require(script.Parent.Parent.types) local client = require(script.Parent.Parent.process.client) local server = require(script.Parent.Parent.process.server) local moduleRunContext: "server"...
906
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/process/bufferWriter.lua
luau
.lua
--!native --!optimize 2 --[[ Collects all write operations into a queue. When the buffer is written, it will be written in the order of the queue. All operations take in 2 parameters: the cursor and the value. Knowing this we can easily attach everything in a nice table, where { [1] = writer, [2] = cursor, ...
813
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/process/client.lua
luau
.lua
local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local types = require(script.Parent.Parent.types) local read = require(script.Parent.read) local bufferWriter = require(script.Parent.bufferWriter) local alloc = bufferWriter.alloc local u8 = bufferWriter.u...
566
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/process/readRefs.lua
luau
.lua
--!native local current local readRefs = {} function readRefs.set(refTable) current = refTable end function readRefs.get() return current end return readRefs
40
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/process/server.lua
luau
.lua
--!native --!optimize 2 local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local types = require(script.Parent.Parent.types) local read = require(script.Parent.read) local bufferWriter = require(script.Parent.buffer...
1,085
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/replicated/replicatedValue.lua
luau
.lua
local HttpService = game:GetService("HttpService") local RunService = game:GetService("RunService") local runContext: "server" | "client" = if RunService:IsServer() then "server" else "client" local replicatedValuePrototype = {} local replicatedValueMetatable = { __index = replicatedValuePrototype } export type repli...
343
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/ByteNet/replicated/values.lua
luau
.lua
local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local replicatedValue = require(script.Parent.replicatedValue) local runContext: "server" | "client" = if RunService:IsServer() then "server" else "client" local valueFolder: Folder local valueDictionary: {...
353
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/Charm/init.lua
luau
.lua
local src = require(script.src) export type Atom<State> = src.Atom<State> export type Selector<State> = src.Selector<State> export type Molecule<State> = src.Selector<State> return src
44
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/Charm/src/atom.lua
luau
.lua
local store = require(script.Parent.store) local types = require(script.Parent.types) type Atom<T> = types.Atom<T> type AtomOptions<T> = types.AtomOptions<T> --[=[ Creates a new atom with the given state. @param state The initial state. @param options Optional configuration. @return A new atom. ]=] local functio...
227
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/Charm/src/computed.lua
luau
.lua
local atom = require(script.Parent.atom) local store = require(script.Parent.store) local types = require(script.Parent.types) type AtomOptions<T> = types.AtomOptions<T> type Selector<T> = types.Selector<T> --[=[ Creates a read-only atom that derives its state from one or more atoms. Used to avoid unnecessary recomp...
245
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/Charm/src/effect.lua
luau
.lua
local store = require(script.Parent.store) type Cleanup = () -> () --[=[ Runs the given callback immediately and whenever any atom it depends on changes. Returns a cleanup function that unsubscribes the callback. @param callback The function to run. @return A function that unsubscribes the callback. ]=] local f...
252
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/Charm/src/init.lua
luau
.lua
local atom = require(script.atom) local computed = require(script.computed) local effect = require(script.effect) local mapped = require(script.mapped) local observe = require(script.observe) local store = require(script.store) local subscribe = require(script.subscribe) local types = require(script.types) export type...
155
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/Charm/src/mapped.lua
luau
.lua
local atom = require(script.Parent.atom) local store = require(script.Parent.store) local subscribe = require(script.Parent.subscribe) local types = require(script.Parent.types) type Atom<T> = types.Atom<T> type Selector<T> = types.Selector<T> type Map = (<K0, V0, K1, V1>(fn: Selector<{ [K0]: V0 }>, mapper: (V0, K0) ...
660
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/Charm/src/observe.lua
luau
.lua
local store = require(script.Parent.store) local subscribe = require(script.Parent.subscribe) local types = require(script.Parent.types) type Selector<T> = types.Selector<T> local function noop() end --[=[ Creates an instance of `factory` for each item in the atom's state, and cleans up the instance when the item i...
318
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/Charm/src/store.lua
luau
.lua
local types = require(script.Parent.types) type Atom<T> = types.Atom<T> type Set<T> = types.Set<T> type WeakMap<K, V> = types.WeakMap<K, V> local __DEV__ = _G.__DEV__ local listeners: WeakMap<Atom<any>, WeakMap<() -> (), unknown>> = setmetatable({}, { __mode = "k" }) local batched: Set<() -> ()> = {} local batching ...
1,345
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/Charm/src/subscribe.lua
luau
.lua
local store = require(script.Parent.store) local types = require(script.Parent.types) type Selector<T> = types.Selector<T> --[=[ Subscribes to changes in the given atom or selector. The callback is called with the current state and the previous state immediately after a change occurs. @param callback The atom or...
244
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/Charm/src/types.lua
luau
.lua
export type Set<T> = { [T]: true } export type WeakMap<K, V> = typeof(setmetatable({} :: { [K]: V }, { __mode = "k" })) --[=[ A primitive state container that can be read from and written to. When the state changes, all subscribers are notified. @param state The next state or a function that produces the next sta...
243
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/CharmSync/init.lua
luau
.lua
local src = require(script.src) export type SyncPayload = src.SyncPayload return src
19
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/CharmSync/src/client.lua
luau
.lua
local Charm = require(script.Parent.Parent.Parent.Charm) local patch = require(script.Parent.patch) local types = require(script.Parent.types) type AtomMap = types.AtomMap type SyncPayload = types.SyncPayload type ClientOptions = { --[=[ The atoms to synchronize with the server. ]=] atoms: AtomMap, --[=[ Wheth...
479
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/CharmSync/src/flatten.lua
luau
.lua
local types = require(script.Parent.types) type AtomMap = types.AtomMap type NestedAtomMap = { [string]: NestedAtomMap | () -> (), } local function flatten(atoms: NestedAtomMap): AtomMap local result: AtomMap = {} local function visit(node: NestedAtomMap, path: string) for key, value in node do local locatio...
144
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/CharmSync/src/init.lua
luau
.lua
local client = require(script.client) local flatten = require(script.flatten) local patch = require(script.patch) local server = require(script.server) local types = require(script.types) export type SyncPayload = types.SyncPayload --[=[ Synchronizes state between the client and server. The server sends patches to ...
99
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/CharmSync/src/interval.lua
luau
.lua
local RunService = game:GetService("RunService") --[=[ Schedules a function to be called at a fixed interval of `seconds`. @param callback The function to call. @param seconds The interval in seconds. @return A function that cancels the interval. ]=] local function interval(callback: () -> (), seconds: number): ...
147
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/CharmSync/src/patch.lua
luau
.lua
local validate = require(script.Parent.validate) local __DEV__ = _G.__DEV__ --[=[ A special symbol that denotes the absence of a value. Used to represent deleted values in patches. ]=] local None = { __none = "__none" } local function isNone(value: any): boolean return type(value) == "table" and value.__none == "...
799
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/CharmSync/src/server.lua
luau
.lua
local Players = game:GetService("Players") local Charm = require(script.Parent.Parent.Parent.Charm) local interval = require(script.Parent.interval) local patch = require(script.Parent.patch) local types = require(script.Parent.types) type AtomMap = types.AtomMap type SyncPayload = types.SyncPayload type ServerOption...
1,679
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/CharmSync/src/types.lua
luau
.lua
local Charm = require(script.Parent.Parent.Parent.Charm) type Atom<T> = Charm.Atom<T> --[=[ A payload that can be sent from the server to the client to synchronize state between the two. ]=] export type SyncPayload = { type: "init", data: { [string | number]: any }, } | { type: "patch", data: { [string | number]...
103
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/CharmSync/src/validate.lua
luau
.lua
local SAFE_KEYS = { string = true, number = true } local UNSAFE_VALUES = { ["function"] = true, thread = true } local function isTableUnsafe(object: { [any]: any }) local keyType = nil local objectSize = 0 -- All keys must have the same type for key in next, object do local currentType = type(key) if not key...
546
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/CharmVide/init.lua
luau
.lua
return require(script.src)
5
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/CharmVide/src.lua
luau
.lua
local Charm = require("../Charm") local Vide = require("../vide") --[=[ Subscribes to the state of an atom and returns a Vide source. @param callback The atom or selector to subscribe to. @return The reactive source. ]=] local function useAtom<State>(callback: () -> State): () -> State local state = Vide.source(...
121
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/Conch/init.lua
luau
.lua
return require(script.lib)
5
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/Conch/lib.lua
luau
.lua
local conch = require "./roblox_packages/conch" local ui = require "./roblox_packages/ui" return setmetatable({ ui = ui, }, { __index = conch, })
40
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/Conch/roblox_packages/.pesde/alicesaidhi+conch/0.3.1/conch/roblox_packages/language.lua
luau
.lua
local module = require(script.Parent.Parent.Parent.Parent.Parent["alicesaidhi+conch_language"]["0.3.1"]["conch_language"]["src"]) export type LanguageVm = module.LanguageVm export type TypeAnalysisInfo = module.TypeAnalysisInfo export type SimpleValue = module.SimpleValue export type Overload = module.Overload ...
150
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/Conch/roblox_packages/.pesde/alicesaidhi+conch/0.3.1/conch/src/bootstrap.lua
luau
.lua
--!nonstrict --[[ Bootstraps some basic functions onto the command line. ]] local RunService = game:GetService "RunService" local arg = require "./arguments" local console = require "./console" local state = require "./state" local types = require "./types" local IS_CLIENT = RunService:IsClient() local LICENSE = [[...
914
imezx/Survive-Wind-for-Brainrots
imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Packages/Conch/roblox_packages/.pesde/alicesaidhi+conch/0.3.1/conch/src/constants.lua
luau
.lua
return { ADMIN_ROLE = "super-user", }
11