script.Parent.MouseButton1Click:connect(function(click) script.Parent.Remove() -- This line is the button game.Workspace.CurrentCamera.blur:Remove() game.StarterGui:SetCoreGuiEnabled(0,true) end)
The part I commented is the button.
Whenever the character resets, the button shows up, but nothing else.
How would I make this button not show up, even after resetting?
You likely have the Button in StarterGui, which always is sent to the player after a reset, but nothing else. I suggest you create a BoolValue in the Player called something like "ButtonSeen". Then, once the button is clicked, you can set this value to true. Then in this script, you can add something at the top like:
if game.Players.LocalPlayer.ButtonSeen.Value == true then script.Parent:Destroy() end
If you are unsure how to create a BoolValue in the player, you can:
Create a new script in the ServerScriptService
Set the script's content to the following:
game.Players.PlayerAdded:connect(function(Player) Instance.new("BoolValue", Player).Name = "ButtonSeen" end)
Also, it is worth noting I am using :Destroy() instead of :Remove() as :Remove() has been deprecated. I suggest you change that in your code as well.