Help with teleporting player to place

I have this script, and when I use the tool and hit a different player with it I want them to get teleported to a place. how do i do that?

	if p17.Data.Race.Value == "Metascroom" or p17.Data.Race.Value == "Gaian" then
								v36.Humanoid:TakeDamage(30 * 1.5)
							else
								v36.Humanoid:TakeDamage(30)
							end
							pcall(function()

here is my code

local ts = game:GetService("TeleportService")
local placeId = 1818
ts:Teleport(placeId, player)