How Do I do so that this script doesnt tp everyone if someone press the button
function onClicked()
local c = game.Players:GetChildren()
for i = 1, #c do
c[i].Character.Torso.CFrame = CFrame.new(script.Parent.Parent.Click2.Position)
end
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
