my attempt:
local OBJECT = Instance.new('ScreenGui') OBJECT.Parent = nil while OBJECT.Parent = nil do end
please help!
Your loop needs some sort of delay or stop in order to avoid crashing your computer.
local OBJECT = Instance.new('ScreenGui') OBJECT.Parent = nil while OBJECT.Parent == nil do wait() -- While functions that go on infinietly should have this end
while it doesn't exist or while it exists?
local OBJECT = Instance.new('ScreenGui') OBJECT.Parent = nil while OBJECT.Parent == nil do --you forgot the extra '=' wait() end
also technically the object still exists, you can parent it to another instance and it will move