I am working on a tycoon system. It automatically removes objects not owned and ads them to a model when bought, now for the scripts I use collectionservice. I want for the script to wait for the models parent to be something specific. I know theres repeat wait() until model.Parent == “smth”; but that isnt very good for performance so can anyone give me an alternative or something?
local object = workspace.object
object:GetPropertyChangedSignal("Parent"):Connect(function()
if object.Parent == "" then
end
end)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.