Skip to content

Instantly share code, notes, and snippets.

View DevKruzy's full-sized avatar

DevKruzy DevKruzy

View GitHub Profile
@DevKruzy
DevKruzy / Trade.luau
Created May 27, 2026 23:04
Trade.luau
-- ServerScriptService/Core/Trade (DO NOT TOUCH)
local HttpService = game:GetService("HttpService")
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Workspace = game:GetService("Workspace")
local Money = require(ReplicatedStorage:WaitForChild("Money"))
local Trade = {}
@DevKruzy
DevKruzy / ColorBlockHandler.luau
Created October 19, 2025 16:08
Color Block Handler
-- ColorBlock Main Controller
-- Handles the entire Color Block minigame system
-- including countdown, block generation, player validation, and reward flow
-- Demonstrates OOP, coroutines, events, raycasting, attributes, physics, CFrame math
local Players = game:GetService("Players") -- service handle for player lifecycle and lookups
local RunService = game:GetService("RunService") -- per frame/heartbeat timing and scheduling
local ReplicatedStorage = game:GetService("ReplicatedStorage") -- shared container for modules/remotes
@DevKruzy
DevKruzy / ColorBlock.luau
Last active October 19, 2025 16:02
Color Block Handler
-- ColorBlock Main Controller
-- Handles the entire Color Block minigame system
-- including countdown, block generation, player validation, and reward flow
-- Demonstrates OOP, coroutines, events, raycasting, attributes, physics, CFrame math
local Players = game:GetService("Players") -- service handle for player lifecycle and lookups
local RunService = game:GetService("RunService") -- per frame/heartbeat timing and scheduling
local ReplicatedStorage = game:GetService("ReplicatedStorage") -- shared container for modules/remotes