Sorry if the title is confusing
while true do
wait(.6)
for i, v in pairs(game.Players:GetPlayers()) do
if (v.Character.HumanoidRootPart.Position - new.Position).magnitude <= (35) then
if v.Character:FindFirstChild("Mask")or v.Character.Humanoid.Health == 0 then
else
if v.PlayerGui:FindFirstChild("FlashGUI") then
else
local newclone = clone:Clone()
newclone.Parent = v.PlayerGui
newclone.pos.Value = new.Position
newclone.LocalScript.Disabled = false
newclone.me.Disabled = false
end
end
end
end
end
This is my code it works but if the flashgui gets destroyed it wont get added back

1 comment
A) ChildRemoving B) compare it to nil