script.Parent.MouseButton1Click:connect(function(lool) for i,v in pairs(game.Workspace.Zombies:GetChildren()) do if v.Owner.Name == script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Name then v.Name = script.Parent.Parent.TextBox.Text end end end)
This is basically supposed to search through the group called Zombies for a zombie with a value called "Value" that is the value of the player's name. If it does, it changes the zombie's name to whatever is in TextBox, but this isn't working. No errors either, just nothing. Help?