So, I’ve been searching and on youtube how to make a part appear when you touch it. I tried scripting it by myself, but failed. Does anyone know how to script it?
Visible is no property of Basepart, ( parts, spheres, cylinders are a class inherited from it).
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChildWhichIsA("Humanoid") then
script.Parent.Transparency = 0
game.Workspace.Part2.Transparency = 0
end
end)