The killbrick uses a hinge to rotate. It teleports players when they are in it's radius even though they have not touched the part. I do not know what is causing this, please help.
local defSpawn = game.Workspace:WaitForChild("SpawnLocationDef")
local position = defSpawn.Position
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local hrp = hit.Parent:WaitForChild("HumanoidRootPart")
hrp.Position = position
end
end)