So i began by searching up scripting commands so i could attempt to do it myself (im pretty new at scripting). As i expected, i didnt really work at all :P However, i really wasnt too far off(i dont actually remember what i did since it was a bit ago and iv been trying to figure out exactly what was wrong with other attempts i tried even with a guide. (After probably a total of 3 frustrating hours of trying to do this simple task of moving a player, i eventually came here)
My most recent event involved looking up a video online of someone doing a teleport pad tutorial....which means it was tested and worked.... But it still didnt work.... I literally did EXACTLY what was in the video. I even created a brand new place just in case there was some bug or virus in my other places. Nope. Still didnt work.
here are the scripts i had, where my GREEN pad teleported right next to my RED pad:
GREEN PAD
script.Parent.Touched:connect(function(hit))
if hit.Parent:FindFirstChild('Humanoid') then
hit.Parent.Torso.CFrame = CFrame.new(-173, 0.5, -43)
end)
end)
RED PAD
script.Parent.Touched:connect(function(hit))
if hit.Parent:FindFirstChild('Humanoid') then
hit.Parent.Torso.CFrame = CFrame.new(-143, 0.5, 90)
end)
end)
PLEASE help me.... It is driving me crazy that i cant do this....
EDIT:
This is the script i actually have. Idk what happened, but the script above got a little messed up when i was copying/pasting them
script.Parent.touched:connect(function(hit)
if hit.Parent:FindFirstChild('Humanoid') then
hit.Parent.Torso.CFrame = workspace.RedPad.CFrame
end
end)

1 comment
How old are the video?