local stair = game.workspace.Stair
for _, v in pairs(stair:GetChildren()) do
if v:isA("Part") then
v.Touched:Connect(function()
local block = workspace.Stair:GetChildren("Part")
while block.Transparency < 1 do
block.Transparency += 0.2
task.wait(0.2)
end
block.CanCollide = false
end)
end
end
ServerScriptService.Script:9: attempt to compare nil < number