However, when I touch the part, it's not teleporting the player IsInGroup is not a valid member of Part
script.Parent.Touched:Connect(function(hit)
if hit.Parent ~= nil then
if hit:IsInGroup(6138889) then
if hit.Parent:FindFirstChild("Humanoid") then
print("You are in team")
hit.Parent.Character.Humanoid.CFrame = CFrame.new(1279.251, 238.51, -448.12)
end
else
print("You're not in the team")
end
end
end)

2 comments
what is the output error?
IsInGroup is not a valid member of Part