comeing back in 2027 :
i ahve something (this code made by chatGPT) -- ColourCycler.lua
-- Put this Script under the Part you want to cycle (script.Parent should be the Part)
local part = script.Parent
assert(part and part:IsA("BasePart"), "Script parent must be a BasePart")
-- Colors: red, black, pink, purple, white, orange
local colors = {
Color3.fromRGB(255, 0, 0), -- red
Color3.fromRGB(0, 0, 0), -- black
Color3.fromRGB(255, 105, 180),-- pink (hot/pastel-ish)
Color3.fromRGB(128, 0, 128), -- purple
Color3.fromRGB(255, 255, 255),-- white
Color3.fromRGB(255, 165, 0), -- orange
}
local speed = 10.5 -- transitions per second (as requested)
local transitionTime = 1 / speed -- seconds to move from one color to the next
-- Smoothly lerp between colors forever
local index = 1
while true do
local fromColor = part.Color
local toColor = colors[index]
local t = 0
while t < transitionTime do
local alpha = t / transitionTime
-- Color3:Lerp smoothly interpolates between two Color3 values
part.Color = fromColor:lerp(toColor, alpha)
t = t + wait() -- wait() yields ~0.035-0.05s depending on environment
end
part.Color = toColor -- ensure exact final color
index = index % #colors + 1
end and -- RandomBoxGame (Server)
-- Spawns colored boxes around the map. Players get points when they touch a box.
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Debris = game:GetService("Debris")
-- CONFIG
local AREA_CENTER = Vector3.new(0, 5, 0) -- center of spawn area
local AREA_SIZE = Vector3.new(80, 10, 80) -- rectangle extents (X, Y, Z)
local BOX_COUNT = 6 -- how many boxes at a time
local SPAWN_INTERVAL = 4 -- seconds between spawn cycles
local BOX_LIFETIME = 12 -- seconds a box exists before auto-destroy
local POINTS_PER_BOX = 10
-- Utility: random number in range
local function randf(a, b) return a + math.random() * (b - a) end
-- Create leaderboard for a player
local function onPlayerAdded(player)
local leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = player
2025-10-21 18:01:23