-
What do you want to achieve? Understanding this Line of code
-
What is the issue? I want to understand it, but I didn’t find anything in the documenation or devforum or youtube.
-
What solutions have you tried so far? looking on documentation, youtube and devforum.
local Plots = game.Workspace.Plots
game.Players.PlayerAdded:Connect(function(player)
for _, plot in Plots:GetChildren() do
if plot:GetAttribute("Taken") then continue end
print("something")
end
end)
so It prints 6 times “something” because they are 6 parts in the folder.
The thing is, why it does even print?
I did that if there is a atrribute called “Taken” then it will go to the next Line, but I didn’t even add any attributes, so how is that possible that it goes to the next line and prints?