Hi I am trying to make it so that if you upgrade and you die it goes away. Can you help?
function click() if script.Parent.Parent.Frame.Visible == false then script.Parent.Parent.Frame.Visible = true if game.Players.LocalPlayer.Backpack.ClassicSword.Configurations.LungeDamge == 50 then script.Parent.Parent.Frame.upgrade1.Active = false script.Parent.Parent.Frame.upgrade1.Visible = false end elseif script.Parent.Parent.Frame.Visible == true then script.Parent.Parent.Frame.Visible = false end end script.Parent.MouseButton1Down:connect(click)
elseif not game.Players.LocalPlayer.StarterGear.ClassicSword or game.Players.LocalPlayer.leaderstats.Credits.Value < 500 then