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