So i've done this to fade the head of a player smoothly, but I think it is happening too quickly so it just looks like it's instantaneous instead of a smooth fade to invisible.
Here is the block of code:
for i = 0,1, .1 do character.Head.Transparency = i end
If you could possibly explain this and help make it fade smoothly that would be great. Thank you.
You need a wait. Without it, it runs as fast as it can, and as such looks instantaneous.
for i = 0,1, .1 do character.Head.Transparency = i wait(.1) end