So I have a game like camping called Cruise Ship! And i'm trying to make it so where you step on the pad and then you get tped onto the boat... Ive entered in the code and done everything on videos ive seen said but its still not working. Please Help! -Itzz_Cheese
COMMUNITY QUESTION
How to Tp from one block to another?
1 answer
Hey Itzz_Cheese, to solve your problem you will need to get the person who touched the part and then move their humanoidrootparts position the the other other part. The script should look simillar to this.
script.Parent.Touched:Connect(function(hit)
if hit.parent:FindFirstChild("Humanoid") then
hit.Parent.HumanoidRootPart.Position = workspace.Part.Position
end
end)
Also the reason im using HumanoidRootPart so players will get teleported regardless if their r6 or r15. Happy Coding!
1 comment
0
Oops sorry, the "lua" shouldn't be there :/
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Can you copy and paste your code here so we can see what it is that's happening?
i DONT WANT TO ANSWER, because of the noobest scripters can do it