Hey there, my name is TrentaFx and I do scripting, ui design, building and more. I’ve been going through some of my “bored creations” and found some interesting once’s that I think would help some people out.
It’s basically a room generator and dropper generator with new colors for each room and you can set the amount of rooms you like (this is to prevent lag) but yea that’s it lol. You can edit the rooms if you’d like to and make a cool game out of it!
Take it here
Room Generator.rbxl (48.9 KB)
local Replicated = game:GetService("ReplicatedStorage")
local prevDropper
local maxDroppers = 100000 --just set this to whatever u want
for i = 1, maxDroppers, 1 do
task.wait()
if i == 1 then
local roomClone = Replicated.Dropper:Clone()
roomClone.Parent = workspace
roomClone.Name = 'Dropper'..i
prevDropper = roomClone.Name
roomClone:SetPrimaryPartCFrame(workspace.MainDropper.PrimaryPart.CFrame)
for _,parts in pairs(roomClone:GetChildren()) do
if parts:IsA("Part") then
parts.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
end
end
task.wait()
elseif i > 1 then
local roomClone = Replicated.Dropper:Clone()
roomClone.Name = 'Dropper'..i
roomClone.Parent = workspace
roomClone:SetPrimaryPartCFrame(workspace[prevDropper].End.CFrame)
for _,parts in pairs(roomClone:GetChildren()) do
if parts:IsA("Part") then
parts.Color = Color3.new(math.random(1,255),math.random(1,255),math.random(1,255))
end
end
task.wait()
prevDropper = roomClone.Name
end
end
If you’d like to get in contact with me you can by sending me a dm on twitter (@TrentaFx) or sending me a dm on discord: TrentaFx#0001