I have this script so far:
local instance = Instance.new("Part", game.Workspace)
for i,v in ipairs(game.Workspace:GetChildren()) do
if v:IsA("Part") then
end
end
But I get stuck at this point because I can't figure out how to do check if a part with that name exists without hardcoding a loop each and every time

1 comment
But I don't know how to create a loop to check if the name is already there because how would the script know that there isn't another part with that name that I changed the name to? Thats the part im stuck in