Annoying white boxes?

One of you must know why these white boxes are here…
I just want them gone.

Please help.

do you have anything selected? if not then look in them for SelectionBox(s)

These are most likely SelectionBox instances.

Here is a script you can run in the Studio Command Bar to remove them.

for i, v in pairs(workspace:GetDescendants()) do
	if v:IsA("SelectionBox") then
		pcall(v.Destroy, v)
	end
end

pcalls take lua functions not direct code.

luau has changed the parameters that pcall and coroutine.wrap can take in. They can take in C functions now.

You can test if a given function is a C function by using setfenv if you’re curious on how to do it in luau. (you cant set the environment of a C function).

1 Like

nothing selected, no selection boxes inside any of my objects.
it just draws a box around everything.
image

click on one of the parts to show its children and send screenshot

There are no selection box instances. Anywhere in my game.
image
it just creates boxes around everything

it could be there is selection boxes hidden in nil that are adorned to the parts. try disabling all ur plugins and restart studio.

if this doesnt work, go to your studio settings and look in the settings:


THANK YOU SO MUCH… IV BEEN TRYING TO GET RID OF THOSE STUPID BOXES FOR WEEKS NOW.

1 Like

1 little thing, you should look on the dev forum before posting to see if its been asked before.

1 quick google search got me your answer.

I did both of those things, i guess I’m just blind lol.

lol i just searched “white boxes on everyything roblox”