I'm a new scripter, and not that good yet. I'm working on a simulator game, and I have a backpack full GUI. However, the GUI only shows up once and then doesn't show up again. Everything else is working.
Here's the script which makes the GUI visible:
elseif coins.Value == coinlimit then
player.PlayerGui.ScreenGui.InventoryFull.Visible = true
end
end)
And here's the script of the X button on the GUI which makes it invisible (this is a local script):
script.Parent.MouseButton1Click:Connect(function()
game.Players.LocalPlayer.PlayerGui.ScreenGui.InventoryFull.Visible = false
end)
How do I make the GUI show up every time the amount of coins someone has collected reaches the coin limit value?

2 comments
change == to <=, the coin can skip by 2 and bypass coinlimit making it go on with no limit
Changing == to <= didn't work, it still only pops up once.