I have this problem can anyone help me plz here is my code
local TeleportService = game:GetService("TeleportService")
local part = script.Parent
part.Touched:Connect(function(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if human then
local char = hit.Parent
local player = game.GetPlayerFromCharacter(hit.Parent)
TeleportService:Teleport(7092017722, player)
end
end)
