Basically it was working, before and suddenly it is not anymore? I just need the GUI to reset to its original state when the player respawns.
Its set to reset on spawn
Right so thats fine a button is visible, you click that button and it no longer is.
So far thats good, my UI works as intended. Now if I reset:
It does not change. Nothing in the PlayerGui changes actually and I have it all set to reset on spawn. It used to work, I just released my game and I am now seeing it doesn’t despite not touching these setting for months. Is there a known bug going around or what else could cause something with the reset setting on to NOT reset?
Here is the only code that edits it in the game, in a localscript inside that text button:
local but = script.Parent local Plr = game.Players.LocalPlayer local PlrGui = Plr.PlayerGui local camera = workspace.CurrentCamera but.MouseButton1Click:Connect(function() PlrGui.Intro.BLACK.Click:Play() PlrGui.Intro.TextButton.Visible = false PlrGui.Intro.Ashore.Visible = false for i = 0, 10 do wait(0.1) game.Lighting.Blur.Size = game.Lighting.Blur.Size + 2 game.Lighting.Bloom.Size = game.Lighting.Bloom.Size + 17 game.Lighting.Bloom.Threshold = game.Lighting.Bloom.Threshold - 0.2 PlrGui.Island.Volume = PlrGui.Island.Volume - 0.01 PlrGui.Intro.BLACK.BackgroundTransparency = PlrGui.Intro.BLACK.BackgroundTransparency - 0.1 end game.ReplicatedStorage.Events.spawnEvent:FireServer() game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid game.Workspace.CurrentCamera.CameraType = "Custom" PlrGui.Island:Stop() PlrGui.Island.Volume = 0.1 PlrGui.Intro.BLACK.Woosh:Play() for i = 0, 10 do wait(0.1) game.Lighting.Blur.Size = game.Lighting.Blur.Size - 2 game.Lighting.Bloom.Size = game.Lighting.Bloom.Size - 17 game.Lighting.Bloom.Threshold = game.Lighting.Bloom.Threshold + 0.2 PlrGui.Intro.BLACK.BackgroundTransparency = PlrGui.Intro.BLACK.BackgroundTransparency + 0.1 end game.Lighting.Bloom.Size = 30 game.Lighting.Bloom.Threshold = 1.8 game.Lighting.FogEnd = 1200 PlrGui.Stat.Frame.Visible = true PlrGui.Stat.cLog.Visible = true PlrGui.Menus.Reference.Visible = true PlrGui.PlrHealth.Frame.Visible = true end)
Edir2: I got it, totally unrelated