of     1   

flappydavid
#44595763Saturday, March 26, 2011 3:03 AM GMT

function tele(hit) -- Can be ANY variable/word where it says: "tele" h = hit.Parent:findFirstChild("Humanoid") -- Where it says "h" you can change... if h ~= nil then -- Checks if it exists. t = hit.Parent:findFirstChild("Torso") -- Doing it the hard way and checking to make sure it's a ROBLOXian. if t ~= nil then -- Checks if the Torso exists. t.CFrame = CFrame.new(Vector3.new(Cordinates Here.)) --[[ Or if you don't want to put the cordinate you can put: t.CFrame = NameOfBrickHere.CFrame ]] end end end script.Parent.Touched:connect(tele)
SmurfMike
#44596063Saturday, March 26, 2011 3:08 AM GMT

I'm not sure but shouldn't it be function "tele" (hit)
Spectrumz
#44598408Saturday, March 26, 2011 3:50 AM GMT

No.
flappydavid
#44610744Saturday, March 26, 2011 1:03 PM GMT

@Above what do you mean no? That script worked for me...
Spectrumz
#44622525Saturday, March 26, 2011 5:04 PM GMT

I was talking to Smurf. Tele does not have to be in parenthesis.
Greendolph
#44622615Saturday, March 26, 2011 5:05 PM GMT

lol those were quotation marks. Just sayin'.
Spectrumz
#44622860Saturday, March 26, 2011 5:09 PM GMT

...Fail on my part. WHatever. Anyways... When I tried this script it didn't work. I have two bricks named "Teleport1" and "Teleport2". They are not in a model. The script just doesn't work :/
flappydavid
#44640930Saturday, March 26, 2011 9:33 PM GMT

I'll check.
SilverRaptor
#44641566Saturday, March 26, 2011 9:44 PM GMT

Probably because he didn't change anything. Here, put this in teleport1, and this makes it one-way: --[[ put this in teleport1, and this makes it one-way, teleport1 is supposed to be a brick if it's going to work --]] tele1 = script.Parent tele2 = game.Workspace.Teleport2 -- change this to wherever teleport2 is function tele(hit) h = hit.Parent:findFirstChild("Humanoid") t = hit.Parent:findFirstChild("Torso") if h and t then t.CFrame = CFrame.new(tele2.Position) end end tele1.Touched:connect(onTouched)

    of     1