Ok so I'm basically making a teleport part. When you touch the part, it teleports you to a certain location.
Here's my script: it's a Server Script within the Part if that helps.
local telePart = workspace.TelePart
script.Parent.Touched:Connect(function(hit)
if hit then
hit.Parent.UpperTorso.CFrame = telePart.CFrame + Vector3.new(0, 2, 0)
end
end)
Again, this was working PERFECTLY, and now, for some reason, it's not.
My output says "UpperTorso is not a valid member of model" I'm pretty sure they're talking about the character model and I sure as heck know that UpperTorso is in fact a valid member of it.
Lmk if I'm wrong ;)

3 comments
is character R6 or R15 ?
maybe try HumanoidRootPart instead of uppertorso
and it has to be r15 because r6 does not have upper torso