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/Shared/Config/Zones.lua | luau | .lua | local module = {}
module.Order = {
"Flood",
"Tsunami",
"Earthquake",
"Volcano",
"Lava",
"Heatwave",
"Quicksand",
"Tornado",
"Acid",
"Blizzard",
"Meteor",
}
module.getZoneId = function(zoneName: string)
local zoneId = table.find(module.Order, zoneName)
if not zoneId then warn("invalid zone name", zoneName... | 110 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Shared/Constants/Assets.lua | luau | .lua | local module = {}
module.getNameFromId
return module
| 13 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Shared/Constants/init.lua | luau | .lua | local module = {}
module.InventoryStates = {
LOCKED = 0,
UNLOCKED = 1,
EQUIPPED = 2,
}
module.TextColors = {
Common = Color3.fromRGB(173, 173, 173),
Uncommon = Color3.fromRGB(60, 255, 0),
Rare = Color3.fromRGB(0, 195, 255),
Epic = Color3.fromRGB(192, 1, 209),
Legendary = Color3.fromRGB(255, 183, 0),
Mythic =... | 363 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Shared/Modules/AssetManager.lua | luau | .lua | --WIP: might be useful later, but I don't need it right now
--[[
AssetManager
A centralized registry for all game assets (models, sounds, VFX, images).
Usage:
local AssetManager = require(path.to.AssetManager)
-- Register assets
AssetManager.register("pets.cat", { type = "model", id = "rbxassetid://123456... | 2,870 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Shared/Modules/Formatter/abbreviates.lua | luau | .lua | --!optimize 2
--!strict
--@EternityDev
return table.freeze({
"K",
"M",
"B",
"T",
"Qd",
"Qn",
"Sx",
"Sp",
"Oc",
"No",
"Dc",
"Ud",
"Dd",
"Td",
"Qdd",
"Qnd",
"Sxd",
"Spd",
"Ocd",
"Nod",
"Vg",
"Uvg",
}) :: { string } | 120 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Shared/Modules/Formatter/init.lua | luau | .lua | local module = {}
local Abbreviates: { string } = require("@self/abbreviates")
function module.round(number: number, decimals: number?): number
if type(number) ~= "number" or number ~= number then
return 0
end
local val: number = 10 ^ (decimals or 2)
return math.floor(number * val) / val
end
function module.co... | 1,353 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Shared/Modules/Loader.lua | luau | .lua | local Loader = {}
export type Loader = typeof(Loader)
local isStudio = game:GetService("RunService"):IsStudio()
function Loader.Load(container: Instance, customNameKey: string, recursive: boolean?)
local handlers = {}
local function handleModule(module: ModuleScript)
if module:GetAttribute("Disabled") then
if ... | 722 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Shared/Modules/Observer.lua | luau | .lua | local CS = game:GetService("CollectionService")
local function observe(
getExisting: () -> {any},
addedSignal: RBXScriptSignal,
removedSignal: RBXScriptSignal,
callback: (any) -> (() -> ())?
)
local cleanupFunctions = {}
local function add(item)
local cleanup = callback(item)
if cleanup then
cleanupFunct... | 587 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Shared/Modules/PromptGroup.lua | luau | .lua | -- PromptGroup.lua (lives in ReplicatedStorage/Shared so both sides can require it)
local RS = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Trove = require(RS.Packages.Trove)
local IS_SERVER = RunService:IsServer()
local PROMPT_PART_NAME = "PromptPart"
local MAX_ACTIVAT... | 1,703 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Shared/Modules/Zone.lua | luau | .lua | -- my attempt at a Zone module, it's terrible, glad I switched to QuickZone
local RS = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local Trove = require(RS.Packages.Trove)
local Signal = require(RS.Packages.Signal)
type Set<T> = { [T]: boolean }
local function toSet(list: {}... | 2,282 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Shared/Utils.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local module = {}
module.randrange = function(a,b)
local base = math.min(a,b)
local range = math.abs(a - b)
return math.random() * range + base
end
module.nowUnix = function()
return DateTime.now().UnixTimestampMillis / 1000
end
module.randomPos = function(pos, si... | 2,242 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/Types.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local Trove = require(RS.Packages.Trove)
local PromptGroup = require(RS.Shared.Modules.PromptGroup)
local vide = require(RS.Packages.vide)
local Charm = require(RS.Packages.Charm)
local ASSET_CONTAINER = RS:FindFirstChild("Assets") or workspace:FindFirstChild("Assets")
... | 319 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/config/brainrots.lua | luau | .lua | --!optimize 2
export type Brainrot = {
DisplayName: string,
Rarity: "Common" | "Uncommon" | "Rare" | "Epic" | "Legendary" | "Mythic" | "Secret",
GainPerSecond: number,
ModelName: string,
MaxLevel: number,
Chance: number,
}
export type Brainrots = { [string]: Brainrot }
local Brainrots: Brainrots = {
-- COMMON... | 3,591 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/config/gamepasses.lua | luau | .lua | return {
VIP = 1780919471,
} | 12 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/lib/formater/abbr.lua | luau | .lua | return table.freeze({
"k",
"m",
"b",
"t",
"q",
"Q",
}) :: { string }
| 32 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/lib/formater/init.lua | luau | .lua | --!optimize 2
--!native
--!strict
--@EternityDev
local Format = {}
local Abbreviates: { string } = require("@self/abbr")
function Format.round(number: number, decimals: number?): number
if type(number) ~= "number" or number ~= number then
return 0
end
local val: number = 10 ^ (decimals or 2)
return math.floor(n... | 1,206 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/lib/remotes/function.lua | luau | .lua | --!optimize 2
--!strict
--@EternityDev
local Function = {}
Function.__index = Function
local RunService = game:GetService("RunService")
function Function.new(remote: RemoteFunction)
local meta = setmetatable({
remote = remote,
}, Function)
remote.Destroying:Once(function()
if not meta then
return
end
Fu... | 267 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/lib/remotes/init.lua | luau | .lua | --!optimize 2
--!strict
--@EternityDev
--Client
local Remotes = {}
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemotesDir = ReplicatedStorage:WaitForChild("Remotes")
local Function = require("@self/function")
function Remotes.fromEvent(remoteName: string): RemoteEvent
if not RemotesDir:Find... | 228 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/lib/token.lua | luau | .lua | --!strict
--!native
--!optimize 2
export type TokenConfig = {
secretKey: string?,
rounds: number?,
ttl: number?,
replayGuard: boolean?,
purgeInterval: number?,
}
local ROUNDS = 12
local TTL = 300
local PURGE_INTERVAL = 60
local H1, H2, H3, H4 = 0x6A09E667, 0xBB67AE85, 0x3C6EF372, 0xA54FF53A
local H5, H6, H7, H8 ... | 1,717 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/lobby_displays/init.lua | luau | .lua | task.delay(2, function()
for _, module in script:GetChildren() do
if not module:IsA("ModuleScript") then return end
task.defer(require, module)
end
end)
return nil
| 45 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/player_base.lua | luau | .lua | --!optimize 2
local ReplicatedStorage = game:GetService("ReplicatedStorage")
-- Main Variables
local SPACE_BETWEEN_COLUMNS = 25 --??
local SPACE_BETWEEN_STANDS = 9 --??
local PLATFORM_HEIGHT_OFFSET = 1 --??
local Remotes = require("./lib/remotes")
local Token = require("./lib/token")
local Janitor = require("../../P... | 1,173 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/proximityprompt.lua | luau | .lua | local UserInputService = game:GetService("UserInputService")
local ProximityPromptService = game:GetService("ProximityPromptService")
local TweenService = game:GetService("TweenService")
local TextService = game:GetService("TextService")
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlaye... | 5,091 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ragdoll.lua | luau | .lua | local ragdoll = require("./lib/ragdoll")
local remotes = require("./lib/remotes")
local ragdollState = remotes.fromEvent("ragdollState")
local player = game.Players.LocalPlayer
local last_ragdoll = os.clock()
ragdollState.OnClientEvent:Connect(function()
last_ragdoll = os.clock()
ragdoll.Ragdoll(player.Character, "... | 137 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/shops.lua | luau | .lua | --!optimize 2
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
-- Main Variables
local player = Players.LocalPlayer
local shops = workspace:WaitForChild("Map"):WaitForChild("Shops")
local OPEN_DISTANCE = 10
local activeUI... | 505 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/apps/Cash.lua | luau | .lua | local data = require("../../data")
local formater = require("../../lib/formater")
return function(root)
local scope = root.Fusion:scoped()
local target = scope:Value(data.data.Cash)
local animatedCash = scope:Spring(target, 20, 1)
local text = scope:Computed(function(use)
return `${formater.format(use(animatedC... | 140 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/apps/Index.lua | luau | .lua | local MarketplaceService = game:GetService("MarketplaceService")
local data = require("../../data")
local gamepasses = require("../../config/gamepasses")
return function(root)
local peek = root.Fusion.peek
local scope = root.Fusion:scoped()
local buttonParent = peek(root.Buttons.btn_Index.child)
local buttonName ... | 288 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/apps/Jump.lua | luau | .lua | local data = require("../../data")
local formater = require("../../lib/formater")
return function(root)
local scope = root.Fusion:scoped()
local target = scope:Value(data.data.Jump)
local animatedCash = scope:Spring(target, 20, 1)
local text = scope:Computed(function(use)
return `{formater.format(use(animatedCa... | 142 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/apps/Rebirth.lua | luau | .lua | local MarketplaceService = game:GetService("MarketplaceService")
local data = require("../../data")
local gamepasses = require("../../config/gamepasses")
return function(root)
local peek = root.Fusion.peek
local scope = root.Fusion:scoped()
local buttonParent = peek(root.Buttons.btn_Rebirth.child)
local buttonNam... | 310 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/apps/Shop.lua | luau | .lua | local MarketplaceService = game:GetService("MarketplaceService")
local data = require("../../data")
local gamepasses = require("../../config/gamepasses")
return function(root)
local peek = root.Fusion.peek
local scope = root.Fusion:scoped()
local buttonParent = peek(root.Buttons.btn_Shop.child)
local buttonName =... | 280 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/apps/SlowMode.lua | luau | .lua | local data = require("../../data")
return function(root)
local peek = root.Fusion.peek
local scope = root.Fusion:scoped()
local parent = peek(root.Buttons.btn_SlowMode.child)
local name = peek(root.Buttons.btn_SlowMode.name)
local button = parent and parent:FindFirstChild(name)
local is_enabled = scope:Value(fal... | 280 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/apps/Speed.lua | luau | .lua | local data = require("../../data")
local formater = require("../../lib/formater")
return function(root)
local scope = root.Fusion:scoped()
local target = scope:Value(data.data.Speed)
local animatedCash = scope:Spring(target, 20, 1)
local text = scope:Computed(function(use)
return `{formater.format(use(animatedC... | 138 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/apps/VIP.lua | luau | .lua | local MarketplaceService = game:GetService("MarketplaceService")
local data = require("../../data")
local vip_gamepasses = require("../../config/gamepasses").VIP
return function(root)
local peek = root.Fusion.peek
local scope = root.Fusion:scoped()
local parent = peek(root.Buttons.btn_VIP.child)
local name = peek(... | 132 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/apps/effectButtons.lua | luau | .lua | return function(root)
local peek = root.Fusion.peek
local scope = root.Fusion:scoped()
local function animateButton(buttonValues)
local parent = peek(buttonValues.child)
local name = peek(buttonValues.name)
local button = parent and parent:FindFirstChild(name)
if not button or not button:IsA("GuiButton") th... | 403 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/components/Buttons/ImageButton.lua | luau | .lua | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Fusion = require(ReplicatedStorage:WaitForChild("Packages", 9e9):WaitForChild("fusion"))
type UsedAs<T> = Fusion.UsedAs<T>
local function get(
scope: Fusion.Scope,
props: {
child: UsedAs<Instance>,
name: UsedAs<string>,
Position: UsedAs<UDim... | 263 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/components/Buttons/TextButton.lua | luau | .lua | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Fusion = require(ReplicatedStorage:WaitForChild("Packages", 9e9):WaitForChild("fusion"))
type UsedAs<T> = Fusion.UsedAs<T>
local function get(
scope: Fusion.Scope,
props: {
child: UsedAs<Instance>,
name: UsedAs<string>,
Position: UsedAs<UDim... | 270 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/components/Currency/TextLabel.lua | luau | .lua | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Fusion = require(ReplicatedStorage:WaitForChild("Packages", 9e9):WaitForChild("fusion"))
type UsedAs<T> = Fusion.UsedAs<T>
local function get(
scope: Fusion.Scope,
props: {
child: UsedAs<Instance>,
name: UsedAs<string>,
Text: UsedAs<string>?... | 223 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/components/UI/Frame.lua | luau | .lua | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Fusion = require(ReplicatedStorage:WaitForChild("Packages", 9e9):WaitForChild("fusion"))
type UsedAs<T> = Fusion.UsedAs<T>
local function get(
scope: Fusion.Scope,
props: {
child: UsedAs<Instance>,
name: UsedAs<string>,
Position: UsedAs<UDim... | 244 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/components/scope.lua | luau | .lua | local scopes = {}
scopes.root = function()
local _scopes = {}
for scope, instances in script.Parent:GetChildren() do
_scopes[scope.Name] = _scopes[scope.Name] or {}
for _, module in instances do
_scopes[scope.Name][module.Name] = module
end
end
return _scopes
end
scopes.getScopes = function(parent: strin... | 151 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/init.lua | luau | .lua | if not game.Players.LocalPlayer:FindFirstChild("PlayerGui") then
repeat
task.wait(1/20)
until game.Players.LocalPlayer and game.Players.LocalPlayer:FindFirstChild("PlayerGui")
end
local promise = require("../../Packages/promise")
promise
.new(function(ok)
local root = require("@self/root")(game.Players.LocalPla... | 153 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/props/shared.lua | luau | .lua | --!strict
local shared = {}
shared._props = {}
shared.all = function()
return shared._props
end
shared.has = function(tag: string): boolean
return shared._props[tag] ~= nil
end
shared.get = function(tag: string): any?
return shared._props[tag]
end
shared.set = function(tag: string, value)
shared._props[tag] = v... | 107 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/root/Buttons.lua | luau | .lua | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Fusion = require(ReplicatedStorage:WaitForChild("Packages", 9e9):WaitForChild("fusion"))
local scopes = require("../components/scope").getScopes(script.Name)
local scoped = Fusion.scoped
local scope = scoped(Fusion, {
ImageButton = require(scopes.Im... | 317 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/root/Currency.lua | luau | .lua | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Fusion = require(ReplicatedStorage:WaitForChild("Packages", 9e9):WaitForChild("fusion"))
local scopes = require("../components/scope").getScopes(script.Name)
local scoped = Fusion.scoped
local scope = scoped(Fusion, {
TextLabel = require(scopes.T... | 194 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/root/UI.lua | luau | .lua | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Fusion = require(ReplicatedStorage:WaitForChild("Packages", 9e9):WaitForChild("fusion"))
local scopes = require("../components/scope").getScopes(script.Name)
local scoped = Fusion.scoped
local scope = scoped(Fusion, {
Frame = require(scopes.Frame),
... | 183 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/controller/ui/root/init.lua | luau | .lua | local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Fusion = require(ReplicatedStorage:WaitForChild("Packages", 9e9):WaitForChild("fusion"))
local Currency = require("@self/Currency")
local Buttons = require("@self/Buttons")
local UI = require("@self/UI")
local function root(root)
local currency, but... | 354 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ReplicatedStorage/old/_/init.server.lua | luau | .lua | require("@self/controller/data").init()
require("@self/controller/proximityprompt")
require("@self/controller/ui")
require("@self/controller/player_base")
require("@self/controller/shops")
require("@self/controller/world_brainrots")
require("@self/controller/lobby_displays")
require("@self/controller/ragdoll")
| 62 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Main.server.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local Loader = require(RS.Shared.Modules.Loader)
local ServiceContainer = script.Parent.Services
local Services = Loader.Load(ServiceContainer)
print(Services)
local function safeExecute(fn, ...)
local args = {...}
local function errorHandler(err)
-- Add stack trac... | 247 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Packages/Lyra/PlayerStore.lua | luau | .lua | --[=[
A PlayerStore wraps a regular Store to provide a more convenient API for working with Player data.
It automatically converts Players to UserId keys and handles player kicks on data errors.
```lua
local playerStore = PlayerStore.create({
name = "PlayerData",
template = {
coins = 0,
items = {},
},
... | 4,280 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Packages/Lyra/Types.lua | luau | .lua | --[=[
@class Types
@private
Common types shared among different modules.
]=]
local Log = require(script.Parent.Log)
local t = require(script.Parent.Parent.t)
--[=[
Represents a single operation within a JSON Patch array.
Used for describing changes between data states.
@interface PatchOperation
@within Types... | 1,766 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Packages/t.lua | luau | .lua | -- t: a runtime typechecker for Roblox
local t = {}
function t.type(typeName)
return function(value)
local valueType = type(value)
if valueType == typeName then
return true
else
return false, string.format("%s expected, got %s", typeName, valueType)
end
end
end
function t.typeof(typeName)
return fun... | 7,384 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/Game/CarryService.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local SSS = game:GetService("ServerScriptService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local Replica = require(SSS.Packages.ReplicaServer)
local Charm = require(RS.Packages... | 1,595 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/Game/MutationEventService.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local SSS = game:GetService("ServerScriptService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local Replica = require(SSS.Packages.ReplicaServer)
local Charm = require(RS.Packages... | 1,048 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/Game/RagdollService.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local RunService = game:GetService("RunService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local Replica = require(SSS.Packages.ReplicaServer)
local Charm = require(RS.Packages.C... | 1,895 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/Game/WindService.lua | luau | .lua | local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local SSS = game:GetService("ServerScriptService")
local RS = game:GetService("ReplicatedStorage")
local Utils = require(RS.Shared.Utils)
local QuickZone = require(RS.Packages.QuickZone)
QuickZone:visualize(false)
local Signal... | 3,886 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/Game/collision_registry.lua | luau | .lua | local CollectionService = game:GetService("CollectionService")
local PhysicsService = game:GetService("PhysicsService")
return {
Init = function()
PhysicsService:RegisterCollisionGroup("Player")
PhysicsService:RegisterCollisionGroup("Brainrot")
PhysicsService:RegisterCollisionGroup("VIPZones")
PhysicsService:... | 197 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/CharacterService.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local SSS = game:GetService("ServerScriptService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local Replica = require(SSS.Packages.ReplicaServer)
local Charm = require(RS.Packages... | 467 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/DataService/Config.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local t = require(SSS.Packages.t)
local Constants = require(RS.Shared.Constants)
local BrainrotConfig = require(RS.Shared.Config.Brainrot)
local EggConfig = require(RS.Shared.Config.Egg)
local MutationConfig = require(RS... | 1,205 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/DataService/init.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local ProfileStore = require(SSS.Packages.ProfileStore)
local Replica = require(SSS.Packages.ReplicaServer)
local Observer = require(R... | 2,225 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/IndexService.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local SSS = game:GetService("ServerScriptService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local Replica = require(SSS.Packages.ReplicaServer)
local Charm = require(RS.Packages... | 719 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/LeaderboardService.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local MSS = game:GetService("MemoryStoreService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local Replica = require(SSS.Packages.ReplicaServer)
local Charm = require(RS.Packages.... | 816 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/ModifierService.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local Replica = require(SSS.Packages.ReplicaServer)
local Charm = require(RS.Packages.Charm)
local Observer = require(RS.Shared.Modules... | 608 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/MultiplierService.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local SSS = game:GetService("ServerScriptService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local Replica = require(SSS.Packages.ReplicaServer)
local Charm = require(RS.Packages... | 141 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/Playtime.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local SSS = game:GetService("ServerScriptService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local Replica = require(SSS.Packages.ReplicaServer)
local Charm = require(RS.Packages... | 222 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/PodiumService.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local Trove = require(RS.Packages.Trove)
local Signal = require(RS.Packages.Signal)
local Packets = require(RS.Shared.Packets)
local Observer = require(RS.Shared.Modules.Observer)
local Utils = require(RS.Shared.Uti... | 3,127 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/ProductService.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local Signal = require(RS.Packages.Signal)
local Packets = require(RS.Shared.Packets)
local Utils = require(RS.Shared.Utils)
local Types = require(RS.Types)
local Marketplace = game:GetService("MarketplaceService")
local DataService = require("./DataService")
local P... | 915 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/RebirthService.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local SSS = game:GetService("ServerScriptService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local Replica = require(SSS.Packages.ReplicaServer)
local Charm = require(RS.Packages... | 969 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/Slowmode.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local SSS = game:GetService("ServerScriptService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local Replica = require(SSS.Packages.ReplicaServer)
local Charm = require(RS.Packages... | 339 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/SpawnerService/init.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local Observer = require(RS.Shared.Modules.Observer)
local BrainrotConfig = require(RS.Shared.Config.Brainrot)
local MutationConfig = r... | 1,886 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/TutorialService.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local SSS = game:GetService("ServerScriptService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local Replica = require(SSS.Packages.ReplicaServer)
local Charm = require(RS.Packages... | 1,531 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/UpgradeService.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local SSS = game:GetService("ServerScriptService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local Replica = require(SSS.Packages.ReplicaServer)
local Charm = require(RS.Packages... | 903 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Services/General/ZoneService.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local QuickZone = require(RS.Packages.QuickZone)
--QuickZone:visualize(true)
local EntityService = require("../General/EntityService")
... | 710 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/Types.lua | luau | .lua | local module = {}
export type BoatData = {
Id: string,
BoatId: string,
Owner: Player
}
export type BrainrotData = {
Id: string,
EntityId: string,
Owner: Player,
Level: number,
Mutation: string,
CurrentCash: number,
OfflineCash: number
}
export type EggData = {
Id: string,
EntityId: string,
Owner: Play... | 101 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/_anchor.server.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local Observer = require(RS.Shared.Modules.Observer)
Observer.observeTag("_anchor", function(part)
if part:IsA("BasePart") then
part.CanCollide = false
part.Massless = true
part.Transparency = 1
end
end)
| 68 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/lib/brainrot_cash.lua | luau | .lua | --!optimize 2
local runtime = {}
local Players = game:GetService("Players")
local BaseService = require("../base").Service
local remotes = require("../lib/remotes")
local data = require("../lib/data")
local Token = require("../lib/token")
local CollectCash = remotes.fromEvent("CollectCash")
local Buffer = remotes.bu... | 334 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/lib/carry_manager.lua | luau | .lua | --!optimize 2
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local isinlobby = require("./isinlobby")
local Remotes = require("./remotes")
local DataManager = require("./data")
local BrainrotSpawner = require("./brainrot_spawner")
local baseService = require("... | 839 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/lib/config.lua | luau | .lua | local dir = game:GetService("ReplicatedStorage"):WaitForChild("_").controller.config
return {
brainrots = require(dir.brainrots),
gamepass = require(dir.gamepasses),
}
| 40 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/lib/helper.lua | luau | .lua | local helper = {}
local config = require("./config")
helper.get_pass_by_id = function(id: number): string
for name: string, passId: number in config.gamepass do
if passId ~= id then continue end
return name
end
return nil
end
return helper
| 63 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/lib/isinlobby.lua | luau | .lua | local LobbyZone = workspace:WaitForChild("Map").LobbyZone
return function(plr: Player): boolean
local char = plr.Character
if not char then return false end
local hrp = char:FindFirstChild("HumanoidRootPart")
if not hrp then return false end
local region = LobbyZone.CFrame
local size = LobbyZone.Size / 2
local... | 133 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/lib/remotes/init.lua | luau | .lua | --!optimize 2
--!strict
--@EternityDev
--Server
local Remotes = {}
local ReplicatedStorage = game:GetService("ReplicatedStorage")
if not ReplicatedStorage:FindFirstChild("Remotes") then
Instance.new("Folder", ReplicatedStorage).Name = "Remotes"
end
local RemotesDir = ReplicatedStorage:WaitForChild("Remotes")
local F... | 250 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/lib/token.lua | luau | .lua | --!strict
--!native
--!optimize 2
export type TokenConfig = {
secretKey: string?,
rounds: number?,
ttl: number?,
replayGuard: boolean?,
purgeInterval: number?,
}
local ROUNDS = 12
local TTL = 500
local PURGE_INTERVAL = 60
local H1, H2, H3, H4 = 0x6A09E667, 0xBB67AE85, 0x3C6EF372, 0xA54FF53A
local H5, H6, H7, H8 ... | 1,906 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/old/_/controller/base/init.lua | luau | .lua | --!optimize 2
local Base = {}
Base.__index = Base
local Remotes = require("./lib/remotes")
local BaseEvent = Remotes.fromEvent("BaseEvent")
function Base.new(plr: Player, platformsCount: number, Brainrots: { { any } }, base: Model)
local self = setmetatable({
Owner = plr.UserId,
Base = base,
Platforms = platfo... | 233 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/old/_/controller/init.server.lua | luau | .lua | require("@self/collision_registry")
require("@self/marketplace")
require("@self/services/brainrot_service").init()
require("@self/services/player_service")
require("@self/base")
require("@self/world_service")
require("@self/wind").init()
| 51 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/old/_/controller/marketplace.lua | luau | .lua | local MarketplaceService = game:GetService("MarketplaceService")
local config = require("./lib/config")
local data = require("./lib/data")
local helper = require("./lib/helper")
local function on_purchase(receiptInfo)
print(receiptInfo)
return Enum.ProductPurchaseDecision.NotProcessedYet
end
MarketplaceService.Pro... | 181 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/old/_/controller/services/DataService/Config.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local t = require(SSS.Packages.t)
local Constants = require(RS.Shared.Constants)
local BrainrotConfig = require(RS.Shared.Config.Brainrot)
local EggConfig = require(RS.Shared.Config.Egg)
local brainrot = BrainrotConfig.... | 253 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/old/_/controller/services/DataService/init.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local SSS = game:GetService("ServerScriptService")
local Signal = require(RS.Packages.Signal)
local Trove = require(RS.Packages.Trove)
local ProfileStore = require(SSS.Packages.ProfileStore)
local Replica = require(SSS.Packages.ReplicaServer)
local Observer = require(R... | 2,133 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/old/_/controller/services/DataService/template.lua | luau | .lua | return | 2 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/old/_/controller/services/brainrot_service.lua | luau | .lua | local DataManager = require("./data_service")
local module = {}
function module.init()
DataManager.ProfileLoaded:connect(function(plr)
end)
end
function module.runCashLoop()
end
return module
| 43 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/old/_/controller/services/data_service.lua | luau | .lua | --!optimize 2
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local DataTemplate = require("@self/template")
local ProfileStore = require("@self/profilestore")
local Remotes = require("./remotes")
local Promise =... | 1,155 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/old/_/controller/services/player_service.lua | luau | .lua | --!optimize 2
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Format = require(ReplicatedStorage.shared.format)
local DataManager = require("./data_service")
local function add<T>(statName: string, dataType: T, value: T, leaderstats: Folder)
local stat ... | 420 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/old/_/controller/wind.lua | luau | .lua | --!optimize 2
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")
local remotes = require("./lib/remotes")
local isinlobby = require("./lib/isinlobby")
local carrymanager = require("./lib/carry_manager")
export type wind_conf = {
speed: number,
force: number,
type: string,
}... | 1,784 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/ServerScriptService/old/_/controller/world_service.lua | luau | .lua | local BrainrotSpawner = require("./lib/brainrot_spawner")
BrainrotSpawner:Init()
local CarryManager = require("./lib/carry_manager")
CarryManager:Init()
local CashRuntime = require("./lib/brainrot_cash")
task.delay(2.5, CashRuntime.run)
return nil
| 65 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/StarterPlayer/StarterPlayerScripts/RainbowBrainrots.client.lua | luau | .lua | local CollectionService = game:GetService("CollectionService")
local RunService = game:GetService("RunService")
local RS = game:GetService("ReplicatedStorage")
local Observer = require(RS.Shared.Modules.Observer)
local TAG = "Rainbow"
local RAINBOW_PERIOD = 6
local UPDATE_HZ = 20
local UPDATE_DT = 1 / UPDATE_HZ
local... | 868 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/StarterPlayer/StarterPlayerScripts/_anchor.client.lua | luau | .lua | local RS = game:GetService("ReplicatedStorage")
local Observer = require(RS.Shared.Modules.Observer)
Observer.observeTag("_anchor", function(part)
if part:IsA("BasePart") then
part.CanCollide = false
part.Massless = true
part.Transparency = 1
part.LocalTransparencyModifier = 1
end
end)
| 78 |
imezx/Survive-Wind-for-Brainrots | imezx-Survive-Wind-for-Brainrots-aebb26c3dba3d543d81a33e79be45ca56156bc87/src/StarterPlayer/StarterPlayerScripts/mouseDebug.client.lua | luau | .lua | local Player = game:GetService("Players").LocalPlayer
local Mouse = Player:GetMouse()
Mouse.Button1Down:Connect(function()
local result = workspace:Raycast(Mouse.UnitRay.Origin, Mouse.UnitRay.Direction * 1000)
print(result)
end)
| 54 |
Coyenn/awesome-roblox-ts | Coyenn-awesome-roblox-ts-4a59a8b/update.luau | luau | .luau | local process = require("@lune/process")
local fs = require("@lune/fs")
local task = require("@lune/task")
local serde = require("@lune/serde")
local README_PATH = "README.md"
-- Header for the README.md file
local README_HEADER = [[
# Awesome Roblox-TS
A list of all packages for [roblox-ts](https://roblox-ts.com/).... | 1,447 |
notreux/UpsideEngine | notreux-UpsideEngine-6d8c04d/Types/luau/footer.luau | luau | .luau | export type upsideEngine = {
Version: string,
Workspace: {},
new: ((name: "PhysicalObject") -> PhysicalObject)
& ((name: "StaticObject") -> StaticObject)
& ((name: "Fluid") -> Fluid)
& ((name: "Parallax") -> Parallax)
& ((name: "Sprite") -> Sprite)
& ((name: "Sound") -> Sound)
& ((name: "Environment") ->... | 303 |
notreux/UpsideEngine | notreux-UpsideEngine-6d8c04d/Types/luau/header.luau | luau | .luau | -- THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
export type Dictionary<k, v> = { [k]: v }
export type Array<v> = { [number]: v }
export type ChromaticAberrationConnection = {}
export type SubjectDestroyConnection = {}
export type CharacterDestroyConnection = {}
export type AuthorityType = "Server" | ... | 410 |
notreux/UpsideEngine | notreux-UpsideEngine-6d8c04d/Types/typescript/footer.ts | roblox-ts | .ts | interface upsideEngine {
Version: string;
Workspace: {};
new: ((name: "PhysicalObject") => PhysicalObject)
& ((name: "Sprite") => Sprite)
& ((name: "StaticObject") => StaticObject)
& ((name: "Fluid") => Fluid)
& ((name: "Parallax") => Parallax)
& ((name: "Sound") => Sound)
& ((name: "Environment") => Env... | 315 |
notreux/UpsideEngine | notreux-UpsideEngine-6d8c04d/bin/start.server.luau | luau | .luau | local replicatedStorage = game:GetService("ReplicatedStorage")
local upsideEngine = replicatedStorage:WaitForChild("UpsideEngine") :: ModuleScript
require(upsideEngine)
| 36 |
notreux/UpsideEngine | notreux-UpsideEngine-6d8c04d/bin/tests-runner.server.luau | luau | .luau | local TestEZ = require(script.Parent.DevPackages.TestEZ)
TestEZ.TestBootstrap:run({
script.Parent.UpsideEngine,
}) | 28 |
notreux/UpsideEngine | notreux-UpsideEngine-6d8c04d/src/AppData/Properties.luau | luau | .luau | local props = {
NonReplicable = {
-- BaseClass
"ClassNameHistory",
"ClassName",
-- EventEmitter
"EventsStorage",
-- BaseObject
"Instance",
-- Particle
"Units",
"Clock",
-- Physical Object
"Collisions",
"IsGrounded",
-- Sprite
"Active",
-- Character
"IsJumping",
-- Scene
"Ca... | 295 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.