You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? I wanna make a script place stages In random order.
-
What is the issue? Using the script, I cannot put in an obby stage in different sizes.
-
What solutions have you tried so far? I found this but is not what I want.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
math.randomseed(os.time())
for z, x in pairs(game.ServerStorage.Stages:GetChildren()) do
local var = math.random(1, #game.ServerStorage.Stages:GetChildren())
local v = game.ServerStorage.Stages:GetChildren()[var]
print(var)
local r = v:Clone()
r.Parent = workspace
local HEE = game.Workspace.Start.CFrame * CFrame.new(0, 0, (z-1)* 43 + 18.575000762939)
r:SetPrimaryPartCFrame(HEE)
workspace:WaitForChild(r.Name)
end
@Developer6786
All help is appreciated!