if event == 3 then
print("you got number 3")
for _,Part in pairs(workspace.Slideloops:GetDescendants()) do
if Part:IsA("Part") then
coroutine.wrap(function()
Part.Anchored = false
for i = 1, 6 do
Part.Transparency = Part.Transparency -0.25
wait(0.1)
end
end)()
end
end
transrigh.Transparency = 0
transrigh.CanCollide = true
wait(10)
stopping.Transparency = 1
stopping.CanCollide = false
end
Slideloops is located in the workspace, so I'm not sure why it's throwing this error. I have tried changing "for _,Part in pairs(workspace.Slideloops:GetDescendants()) do" to "for _,Part in pairs(script.Parent.Parent.Parent.Parent.Slideloops:GetDescendants()) do", but it still doesn't work.

2 comments
Have you tried using the built-in 'FindFirstChild' or 'WaitForChild' functions?
Just tried using both of your suggestions and it still throws the error "Slideloops is not a valid member of Workspace "Workspace"