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!
I want to know if the script knows the difference between 2 instances even if they have the exactly same propertys and name, evething is the same.
What is the issue? Include screenshots / videos if possible!
no issue just a doubt
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
any ill try something later if i get answered
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that itās easier for people to help you!
Would anyone know if I create a script with a loop and a table that adds some characters from the workspace and recognizes them to determine if that entity is alive, meaning still in the workspace, and it works? However, shortly after, if that character within the table is removed, the script will understand that itās no longer the same instance in the table and will add the ānewā one back into the table?
Example:
local Things = {}
while true do
for i,v in pairs(workspace:GetChildren()) do
if not table.find(Things,v) then
table.insert(Things,v)
end
end
wait(5)
end
--Does this will re add my char if it get destroyed and re created even if it is the "same"
Please if you know the answer, explain me in details i am alittle confused about this
I mean, thatās a solution, but I didnāt get it yet. What exactly defines the difference between your player character created before you reset and after to a script?
local part1 = Instance.new("Part",workspace)
local part2 = part1:Clone()
part2.Parent = workspace
local Things = {}
for i,v in pairs(workspace:GetChildren()) do
if not table.find(Things,v) then
table.insert(Things,v)
end
end