Skip to content

Instantly share code, notes, and snippets.

View StudlyCase's full-sized avatar

Studly StudlyCase

View GitHub Profile
@StudlyCase
StudlyCase / randSpawns.lua
Last active April 25, 2026 19:20
Spawn System: random spawns
local Players = game:GetService("Players")
local RapidForge = require(game.ReplicatedStorage.Library.RapidForge)
local CONFIG = {
spawnFolder = workspace.SpawnPoints,
characterTemplate = game.ReplicatedStorage.Templates.Character,
respawnDelay = 5,
useRandomSpawn = true,
}
@StudlyCase
StudlyCase / leaderboardAutoUpdater.lua
Last active April 25, 2026 19:20
AutoUpdater: leaderboard frame
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local RapidForge = require(game.ReplicatedStorage.Library.RapidForge)
local STAT_NAME = "Coins"
local UPDATE_INTERVAL = 5
local leaderboardFrame = RapidForge.waitFor(
RapidForge.getGui("HUD"),