Hello, so there is no error in my script, “hi” is printed in the output. But the part does not become visible. Someone know why ? Thank you
plr = game.Players.LocalPlayer
function visible(hit)
if hit.Parent.Name == plr.Name then
for i,v in pairs(game.workspace.Course:GetChildren()) do
if v:IsA("BasePart") then
v.Part.Transparency = 0
print("hi")
end
end
end
end
game.Workspace.Disparait.Touched:Connect(visible)
Oh yeah I got the wrong script on top, I had tried the .Part by accident but that didn’t work either. The parts don’t become visible even with v.Transparency = 0