> local partToLookFor = script.Parent.Parent.Parent.Parent.Teleporters.A
> local TeleportPosition = CFrame.new(script.Parent.Parent.Parent.Parent.Teleporters.B.Position)
>
>
>
> game.Players.PlayerAdded:Connect(function(player)
> local Part = player.Backpack.Suitcase.detect
> Part.Touched:Connect(function(hit)
> if hit == partToLookFor then
> Part.CFrame = TeleportPosition
> end
> end)
> end)
I tried searching for topics like mine but nothing is helpful
--Make sure that everything is held together
for _, part in ipairs(Item:GetDescendants()) do
if(part:IsA("BasePart") or part:IsA("MeshPart")) then
part.CanCollide = true
end
end
--