|
| 16 Jun 2017 07:41 PM |
Its a teleporter script.
I know it works because I have had other people use it in their places where it worked.
but when I do it on one of my places, it will not work.
Ideas?
|
|
|
| Report Abuse |
|
|
|
| 16 Jun 2017 07:57 PM |
paste the script
( ͡° ͜ʖ ͡°) |
|
|
| Report Abuse |
|
|
|
| 16 Jun 2017 08:02 PM |
name a part "Teleport1"
this script goes with that part:
TP2 = game.Workspace.Teleport2
function teleport(hit) if hit.Parent:FindFirstChild("Humanoid") then hit.Parent.Torso.CFrame = CFrame.new(TP2.Position) end end
script.Parent.Touched:connect(teleport)
now, name a part "Teleport2" |
|
|
| Report Abuse |
|
|
|
| 16 Jun 2017 08:04 PM |
seems fine... does it show any errors?
( ͡° ͜ʖ ͡°) |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Jun 2017 08:06 PM |
lol try doing "hit.Parent:MoveTo(TP2.Position)" maybe? instead of manually changing the CFrame?
( ͡° ͜ʖ ͡°) |
|
|
| Report Abuse |
|
|
| |
|
|
| 16 Jun 2017 08:12 PM |
after "if hit.Parent:FindFirstChild("Humanoid") then" put a print("Test"). Tell me if it prints anything?
( ͡° ͜ʖ ͡°) |
|
|
| Report Abuse |
|
|
|
| 16 Jun 2017 08:14 PM |
umm...
nope..
This means something is terribly wrong, doesn't it? |
|
|
| Report Abuse |
|
|
|
| 16 Jun 2017 08:29 PM |
I'm guessing it's like this:
--Workspace ---Teleport1 -----Script ---Teleport2
I did it as this is and it should work... No errors whatsoever? Gosh that's baffling. |
|
|
| Report Abuse |
|
|