i want a time stop effect that makes only certain models get anchored. How do i do that using get children?
There you go bud Feel free to ask me if you want some modifications for example freezing player's character only or such things. This will freeze the whole workspace and unfreeze it in 3 seconds Use GetDescendants since it gets the children of the children of the children and so on
FREEZEME=workspace -- Change it if you don't want the whole workspace frozen function anchor(bool) children=FREEZEME:GetDescendants() for i=1,#children do if children[i]:IsA("BasePart") and children[i].className~="Terrain" then -- Checks if it is a basepart and not a terrain children[i].Anchored=bool end end end -- In order to toggle it type anchor(true) or anchor(false) anchor(true) wait(3) -- How many seconds do you want it to wait? anchor(false)