so this happened to me with an older script i made for the same game, same problem.
i want it to work twice, but it only works once.
script:
local BeesNStuff = {
[1] = {["Name"] = "Basic Bee", ["Obj"] = game.ServerStorage.Bees["Basic Bee"], ["Desc"] = "Loves buzzing around all day long.", ["Img"] = 0},
}
local Bee = BeesNStuff[math.random(1, #BeesNStuff)]
script.Parent.Triggered:Connect(function(Player)
if Player.leaderstats.Honey.Value >= 0 then
--Player.leaderstats.Honey.Value -= 0
--[[
Player["New Bie"].Value = game.ServerStorage.Bees["Basic Bee"]
Player.PlayerGui.ScreenGui.Frame.Visible = true
Player.PlayerGui.ScreenGui.Background.Visible = true
Player.PlayerGui.ScreenGui.Frame.Title.Text = ""
Player.PlayerGui.ScreenGui.Frame.Description.Text = ""
Player.PlayerGui.ScreenGui.Frame.ImageLabel.Image = "rbxassetid://"
]]
--Player["New Bie"].Value = game.ServerStorage.Bees:WaitForChild(Bee.Obj)
Player.PlayerGui.ScreenGui.Frame.Visible = true
Player.PlayerGui.ScreenGui.Background.Visible = true
Player.PlayerGui.ScreenGui.Frame.Title.Text = Bee.Name
Player.PlayerGui.ScreenGui.Frame.Description.Text = Bee.Desc
Player.PlayerGui.ScreenGui.Frame.ImageLabel.Image = "rbxassetid://" .. Bee.Img
end
end)