I need a teleporter set please Dx
#1
I'm working on a awesome new game and I really need them.
[Image: cxAECR.png]
[Image: r8umfc.gif]
Reply
#2
I can make some...

Well I can try Tongue
Reply
#3
(06-13-2011, 10:32 PM)BlandFlakes Wrote: I can make some...

Well I can try Tongue

Please if you can :]
[Image: cxAECR.png]
[Image: r8umfc.gif]
Reply
#4
[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.
Reply
#5
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.
Reply
#6
Brandflakes +9001 respect again bro.

I knew the glome from tPN was in there somewere :]
[Image: cxAECR.png]
[Image: r8umfc.gif]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)