So basically, I'm new to scripting, and what I'm trying to do is make a block disappear slowly. May you please help me?
This is the script I need help with:
local test3 = workspace.Part3
if test3.Transparency == 0 then
while wait(0.01) do
test3.Transparency + 0.01 until
test3.Transparency = 1
end

10 comments
Okay. Thank you so much!
No problem.
Feel free to mark my question as the answer to the question.
I got you.
wait but looking at that, wouldn't line 5 increase transparency + 0.01 and then line 6 make it 1 making the repeat end immediately
also im pretty sure line 8 and 9 need to be in the same line to work
No, they don't have to, and you did set the test3 transparency to 1, so..
I just edited my answer so it should work
1st of all you are mistaking the persons, 2nd of all you just made it worse and 3rd of all apparently this guy doesn't know how to do it on his own so instead of taking his script for true just read what he is trying to do
I did not take his script. And how am I making it worse? Just because I made a mistake doesn't mean you have to scold me for making one. Everyone makes mistakes.