-
What do you want to achieve? I wan’t a script that loads all the crates, get their CFrame and teleports them to localplayer
-
What is the issue? My issue is that I don’t know how to load all the crates, get their CFrame from main because I have multiple similliar names… this is my explorer:
I tried to do this, but it only teleports one crate to me
local player = game:GetService("Players").LocalPlayer
local getcrates = game:GetService("Workspace").crates.crate.main
for i, v in pairs(getcrates:GetChildren()) do
getcrates.main.CFrame = player.Character.HumanoidRootPart.CFrame
end