04-05-2011, 09:47 PM
(04-04-2011, 10:36 PM)Blizzard Wrote: Somebody should make a cooler one that makes you fade out and in.
That should be easy enough, made this script just now without testing:
[lua]
link(script.Parent.Collided, function(hit)
if hit.Name == "Body" then
for i = 10, 1, -1 do
hit.Transparency = i
end
hit.Position = Vec2D(#,#)
for i = 1, 10 do
hit.Transparency = i
end
end
end)[/lua]