I have a LocalScript thats only ment to run once ... like very local script
But for some reason its running every time i click a button, and its not even referred to in the script!
If this helps, heres the script:
local list = script.Parent.Parent.Parent:WaitForChild("List")
for _, v in pairs(game:GetService("Players").LocalPlayer.PlayerGui:WaitForChild("ScreenGui").List:WaitForChild("List"):GetChildren()) do
local cv = v:Clone()
cv.Parent = list
end
local searchmodule = require(game:GetService("ReplicatedStorage"):WaitForChild("SearchBar"))
script.Parent:GetPropertyChangedSignal("Text"):Connect(function()
searchmodule.tagTable(script.Parent, list)
end)