06-13-2011, 10:31 PM
I'm working on a awesome new game and I really need them.
I need a teleporter set please Dx
|
06-13-2011, 10:32 PM
I can make some...
Well I can try
06-13-2011, 10:39 PM
06-14-2011, 03:24 AM
[lua]link(script.Parent.Collided, function(hit)
if hit.Name == "Body" then hit.Position = Vec2D(467.8, 53.18) end end) [/lua][/quote] Put that script in a Box.
06-14-2011, 05:06 AM
It won't let me save them as a model so I will post the code.
Alright make a box and name it tele1 and put a script in it. Here's the code. [lua] _G.test = "yes" function OnCollided(hit) if hit.Parent.Type == "Character" then if _G.test == "yes" then hit.Position = game.World.tele2.Position _G.test = "no" sleep(4) _G.test = "yes" end end end link(script.Parent.Collided, OnCollided)[/lua] Now make another box called tele2 and put this in it. [lua]function OnCollided(hit) if hit.Parent.Type == "Character" then if _G.test == "yes" then hit.Position = game.World.tele1.Position _G.test = "no" sleep(4) _G.test = "yes" end end end link(script.Parent.Collided, OnCollided)[/lua] Also you might want to leave room for the player to teleport. If you stick the teleporter on the ground then it will make the player stuck in the ground.
06-14-2011, 05:12 AM
Brandflakes +9001 respect again bro.
I knew the glome from tPN was in there somewere :] |
« Next Oldest | Next Newest »
|