local Tel1 = script.Parent local Tel2 = script.Parent.Parent.Tel2 function onTouch(Brick) local Player = Brick.Parent:FindFirstChild("Humanoid") if(Player ~=nil) then Player.Parent.Torso.CFrame = CFrame.new(Tel2.Position+Vector3.new(0,3,0) end end Tel1.Touched:connect(onTouch)
local Tel1 = script.Parent local Tel2 = script.Parent.Parent.Tel2 function onTouch(Brick) local Player = Brick.Parent:FindFirstChild("Humanoid") if(Player ~=nil) then Player.Parent.Torso.CFrame = CFrame.new(Tel2.CFrame+Vector3.new(0,3,0) end end Tel1.Touched:connect(onTouch)
Your problem lies in line 6. CFrame.new() expects a CFrame value, but instead you have provided a Vector3. I have fixed it for you.
I'm Aurum, and you're welcome.
local Tel1 = script.Parent local Tel2 = script.Parent.Parent.Tel2 function onTouch(Brick) local Player = Brick.Parent:FindFirstChild("Humanoid") if(Player ~=nil) then Player.Parent.Torso.CFrame = CFrame.new(Tel2.CFrame+Vector3.new(0,3,0)) end end Tel1.Touched:connect(onTouch)
He forgot end parenthesis too. This one should work now.