Time Stop Tool not working

I am trying to make a Time stop tool where it would anchor all the player models on the workspace so it would give a time stop effect. But the only problem is that the anchor doesn’t work. Here is the script:

local tool = script.Parent

local descendants3 = game.Workspace:GetDescendants()

tool.Activated:Connect(function()
	tool.Handle.Sound:Play()
	wait(2)
	tool.Handle.First.Transparency = 0
	wait(0.1)
	tool.Handle.Second.Transparency = 0
	wait(0.1)
	tool.Handle.Third.Transparency = 0
	wait(0.1)
	tool.Handle.Last.Transparency = 0
	
	for index, descendants3 in pairs(descendants3) do
		if descendants3:IsA("MeshPart") then
			descendants3.Anchored = true
		end
	end
	
	wait(0.2)
	
	tool.Handle.First.Transparency = 1
	tool.Handle.Second.Transparency = 1
	tool.Handle.Third.Transparency = 1
	tool.Handle.Last.Transparency = 1
	
	
end)

do i need to use a different thing?

1 Like

Try this

	for index, descendants3 in pairs(descendants3) do
		if descendants3:IsA("BasePart") or descendants3:IsA("MeshPart") then
			descendants3.Anchored = true
		end
	end
1 Like