-- Decided to hop into studio and get that working for you
-- It is tested and working, sorry it took so long for me to get back to you :)
players = {};
telebrick = script.Parent;
position = Vector3.new(0, 50, 0);
detector = Instance.new("ClickDetector", telebrick);
detector.MouseClick:connect(function(_player)
if (players[1] == nil or players[2] == nil) then
if (players[1] == _player) then return; end
local _choose = players[1] == nil and 1 or 2;
players[_choose] = _player;
if (_choose == 2) then
players[1].Character.HumanoidRootPart.CFrame = CFrame.new(position);
players[2].Character.HumanoidRootPart.CFrame = CFrame.new(position);
players = {};
end
else
players = {};
end
end) |