You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
For the warning to not be there -
What is the issue? Include screenshots / videos if possible!
Well in the output it always shows this warning
local function UpdateBoosts()
while true do
for _, boost in Boosts.Boosts do --<<<
local clone = BoostsContainer:FindFirstChild(boost)
if clone then
local activeDuration = BoostsConfig.GetActiveDuration(boost, StateManager.GetData())
clone.Time.Text = `Time Remaining: {FormatTime.convertToHMS(activeDuration)}`
end
end
task.wait(1)
end
end
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local MarketplaceService = game:GetService("MarketplaceService")
local Player = Players.LocalPlayer
local PlayerGui = Player.PlayerGui
local Remotes = ReplicatedStorage.Remotes
local StateManager = require(ReplicatedStorage.Client.State)
local GuiUtils = require(ReplicatedStorage.Client.GuiUtils)
local FormatNumber = require(ReplicatedStorage.Libs.FormatNumber.Simple)
local FormatTime = require(ReplicatedStorage.Libs.FormatTime)
local ViewportModel = require(ReplicatedStorage.Libs.ViewportModel)
local ShopConfig = require(ReplicatedStorage.Configs.Shop)
local PetsConfig = require(ReplicatedStorage.Configs.Pets)
local SpinsConfig = require(ReplicatedStorage.Configs.Spins)
local BoostsConfig = require(ReplicatedStorage.Configs.Boosts)
local SpinsManager = require(script.Parent.Spins)
local ButtonGui = PlayerGui:WaitForChild("Left")
local OpenButtton = ButtonGui.Frame.Buttons.Shop
local Gui = PlayerGui:WaitForChild("Shop")
local Frame = Gui.Frame
local ClicksFrame = Frame.Clicks
local PetsFrame = Frame.Pets
local GamepassesFrame = Frame.Gamepasses
local SpinsFrame = Frame.Spins
local BoostsFrame = Frame.Boosts
local ClicksContainer = ClicksFrame.Container
local PetsContainer = PetsFrame.Container
local GamepassesContainer = GamepassesFrame.Container
local BoostsContainer = BoostsFrame.Container
local GamepassesInfoFrame = GamepassesFrame.Info