Help with Teleport Script!

Hello! So I have a problem with my Teleport Script about the accessories in the Humanoid… This is the Error:

And this is the script:

script.Parent.Touched:Connect(function(hit)
	local player = hit.Parent
	if player then
		player.HumanoidRootPart.Position = Vector3.new(-2022.645, 292.367, 517.848)
	end
end) ```
script.Parent.Touched:Connect(function(hit)
	local player = hit.Parent
	if player and player:FindFirstChild("Humanoid") then
		player.HumanoidRootPart.Position = Vector3.new(-2022.645, 292.367, 517.848)
	end
end) ```

fixed it for ya
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.