#Why does roblox like to ragebait?

1 messages · Page 1 of 1 (latest)

sour monolith
#

for _,model in pairs(script.Parent:GetChildren()) do
if model:IsA("Model") then
local OGPosition = model.PrimaryPart.CFrame
while true do
for _,part in pairs(model:GetChildren()) do
if part:IsA("BasePart") then
task.wait(1)
part.Anchored = false
task.delay(1,function()
part.Anchored = true
model:SetPrimaryPartCFrame(OGPosition)
print("this ran")
end)
end
end
end
end
end

#

What I want is the models in this folder (icicles) and every part inside of em to unancor dropping the icicle. After about 1 second of it dropping I want every part in that model to anchor itself and the model go back to where it was before and this inf going,

#

No errors, but the parts don't anchor and the model don't go back to its position but the printing runs.

meager plover
nova crown