I'm making a computer screen and when you click it, it will give you the camera gui. But when you exit, and try again, the script detects that it's still there even though it isn't.
script.Parent.ClickDetector.MouseClick:Connect(function(plr) for i,v in pairs(game.Players:GetDescendants()) do if v.Name == "CameraGui" then print(":(") return end end local clone = game.ReplicatedStorage.CameraGui:Clone() clone.Parent = plr.PlayerGui end)