You can write your topic however you want, but you need to answer these questions:
-
**What do you want to achieve? I want to have a gui frame cloned when a value in my folder changes
-
**What is the issue? four items in the folder change but only three clone
-
**What solutions have you tried so far? I’ve tried if the value equals more than 0.
any help is welcome!
local invframe = script.Parent.Inv
local handler = invframe.InvFrame
local temp = script:WaitForChild("Item")
local Items = game.Players.LocalPlayer:WaitForChild("Folder_name")
for i,v in pairs(Items:GetChildren()) do
v:GetPropertyChangedSignal("Value"):Connect(function()
local NewItem = temp:Clone()
NewItem.Parent = handler
end)
end
Thanks for reading!