You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
I want to make all parts in a folder the same CFrame as all other parts in another folder once
- What is the issue? Include screenshots / videos if possible
in the first folder, parts get added from replicated storage in a random amount when the round starts
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I made a value called CanSpawnPart that is first true until a part gets the same CFrame as another part
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!
-- This is an example Lua code block
local SpawnPlaceFolder = game.Workspace.SpawnPlaceFolder:GetDescendants()
local MoveToolToDestination = game.ReplicatedStorage.ReplicatedPartFolder:FindFirstChild("Tool")
local Tools = game.Workspace.WorkspacePartFolder
Tools.DescendantAdded:Connect(function(descendant)
if descendant.Name == "Tool" then
descendant.Parent = SpawnPlaceFolder.Part
descendant.BrickColor = BrickColor.new("Really red")
descendant.ProximityPrompt.Triggered:Connect(function(player)
descendant:Destroy()
end)
end
end)
MoveToolToDestination.Parent = Tools
I made some code for things to see if it works,
I’m going to edit that later,
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.