04-03-2011, 11:20 PM
Is there a script to it?
How would we make teleporters?
|
I've done it already.
[lua] link(script.Parent.Collided, function(hit) if hit.Name == "Body" then hit.Position = Vec2D(#,#) end end) [/lua] I didn't test that script so there may be one or two errors in it, but I made a script just about like that which worked.
04-04-2011, 12:02 AM
(04-03-2011, 11:46 PM)Scripter Wrote: I've done it already. How would you make it change the place it went to?
04-04-2011, 10:13 PM
04-04-2011, 10:36 PM
Somebody should make a cooler one that makes you fade out and in.
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]
04-11-2011, 12:37 AM
Yeah, I was careless and mistyped something. I fixed it though, it should work now.
|
« Next Oldest | Next Newest »
|