I need help and do not know were to start, I love the idea of games like fly race and would like to know how i woulkd be able to generate the different areas (100, 1k 10k 100k)
1 Like
I have never played fly race, but if it is about shooting the player you could probably use bodyvelocity.
If you are talking about making a player fly, that’s something you will want to search up.
Best of luck!
1 Like
Found my own solution:
local startPos = game.ReplicatedStorage.Generation.Section.Main.Position
local element = game.ReplicatedStorage.Generation.Section
local pos = 0
local val = 100
for i = 1,100 do
wait()
local clone = element:Clone()
clone.Parent = workspace.Sections
clone.Main.Position = startPos + Vector3.new(0,0,pos)
clone.Main.SurfaceGui.TextLabel.Text = val
val = val + 100
pos = pos + 100
local random1 = math.random(1,255)
local random2 = math.random(1,255)
local random3 = math.random(1,255)
clone.Main.Color = Color3.new(random1,random2,random3)
end
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.