local entrance = script.Parent
function tpcave()
local h = game.Workspace:FindFirstChild("Humanoid")
local p = h.Parent
local torso = p.Torso
local reciever = game.Workspace.Reciever
torso.CFrame = CFrame.new(reciever.Position)
end
entrance.Touched:Connect(tpcave)
It's pretty nooby and I tried to make it based off of a few things I saw in a teleport model I found online. Every time I touch the entrance, though it won't teleport me. Can someone show me what I'm doing wrong?

1 comment
Whoops it's all bunched up together, Here, I'll fix it.