I Want A Script To Update (Or Run The Require Again) My Gui Using A Require But Before The Gui Updates I Made Another Gui That Says There Is A Update To The Gui And They Should Press The Update Button To Update The Gui. I Tried A Few SCript But Non Of Them Worked Here Is My Code:
script.Parent.MouseButton1Click:Connect(function() script.Parent.Parent.Parent.Parent:Destroy() require(3882147708) end)
It Also Destroy's The Original Gui But Still Runs The Require(The Gui Goes Into The Starter Gui Folder Btw) And I Want The Gui To Go Back Into The Players Gui When It In The Starter Gui But I Cant Get It To Work Please Help Me Out
Do this.
script.Parent.MouseButton1Click:Connect(function() script.Parent.Parent.Parent.Parent:Destroy() if not script.Parent then -- nothing else require(3882147708) end end)