local Selection = game:GetService("Selection")
for i,v in pairs(workspace:GetDescendants()) do
if v:IsA("Part") or v:IsA("MeshPart") then
if v.Size == Vector3.new(x(length or wide),y(height),z(length or wide)) and v.Color == BrickColor.new(33, 84, 185) then
Selection:Set({v})
end
end
end
so where do i put the numbers of height and width and the color code?
since when are u scripting , I already explained it Vector3.new(x,y(height),z) ,v.Color = BrickColor.new(111,111,11)
this is an Solution, U have to script it inside ur script…
local Selection = game:GetService("Selection")
for i,v in pairs(workspace:GetDescendants()) do
if v:IsA("Part") or v:IsA("MeshPart") then
if v.Size == Vector3.new(x(length or wide),y(height),z(length or wide)) and v.Color == BrickColor.new(33, 84, 185) then
Selection:Set({v})
end
end
end
not sure what ur not understanding on this.
for i,v in pairs(workspace:GetDescendants()) do
if v:IsA("Part") or v:IsA("MeshPart") then
print("Right")
if v.Size == Vector3.new(1,1,1) then-- Size here
if v.Color == Color3.fromRGB(33, 84, 185) then -- The Color
print(v.Name .. " is correct")
end
end
end
end
and with this thing it should go to :
But I want it to be in the command bar below to work in studio itself and not when testing/ playing, I already said above why I need it in studio
Bro just use Adonis? Then connect that thing and done. No one here will make u a Admin Script only a basic one. Which is
Plr.Chatted:connect(function(msg)
if msg == "Script" then
for i,v in pairs(workspace:GetDescendants()) do
if v:IsA("Part") or v:IsA("MeshPart") then
print("Right")
if v.Size == Vector3.new(1,1,1) then-- Size here
if v.Color == Color3.fromRGB(33, 84, 185) then -- The Color
print(v.Name .. " is correct")
end
end
end
end
end
end)
i didnt ask for an admin script or anything. i was just asking for a script to select some stuff as i addes wrong properties to them and they are hard to select, so i wanted a script to select them so i could change the properties. im just gonna do it by hand since its been a day since i made this thread and i couldve finished it already. thanks for ur help though
for i,v in pairs(parts) do
if v.property==property1 and v.property==property2 and v.property==property3 then
ur code here
end
end