StoreBTN.MouseButton1Click:Once(function()
local result
if player.AuraCount.Value >= player.MaxAura.Value then
RS.Remotes.EnableGUIOnBlackFrame:FireClient(player)
player.PlayerGui.StorageUI.Enabled = true
player.PlayerGui.StorageUI.StorageFrame.Visible = true
player.PlayerGui.StorageUI.StorageFrame.WarningDeleteandAmount.Visible = true
player.PlayerGui.StorageUI.StorageFrame.WarningDeleteandAmount.TextWarning.Text = "Delete an aura to store "..auraname
result = player.PlayerGui.StorageUI.StorageFrame.WarningDeleteandAmount.No.MouseButton1Click:Connect(function()
player.PlayerGui.StorageUI.StorageFrame.Visible = false
player.PlayerGui.StorageUI.StorageFrame.WarningDeleteandAmount.Visible = false
return true
end)
if result.Connected == true then return end
StoreBTN.MouseButton1Click:Once(function()
SkipWarning.Visible = false
StoreBTN.Active = false
EquipBTN.Visible = false
The second mouseclick in the script its because the player need to click 2 times on the button to store his aura, because if he has his inventory full he need to remove some auras and after removing auras he need to click again
I think there are ways to do this thing with only one mouseclick but im still a beginner and can you explain me why what u did pls ?
I got a problem, in the video at 7 seconds it show my inventory like I want, when I click on no (so I didn’t sell any auras) that do nothing. Same for equip first click that works but when I click on “No” that do the script like I sold one aura how can I do like it show again the inventory until an aura is sold ?