Hey all, basically, the script works but it doesn't teleport all players, only one. Any ideas on why this is would be helpful. :)
for i, player in pairs(plrs) do
if player then
character = player.Character
if character then
--Teleport
local gamepad = game.Workspace.GamePad
character:FindFirstChild("HumanoidRootPart").CFrame = gamepad.CFrame
local GameTag = Instance.new("BoolValue")
GameTag.Name = "GameTag"
GameTag.Parent = player.Character
else
--There is no character
if not player then
table.remove(plrs, i)
end
end
end

1 comment
cant see a reason why it wouldn't work other than how you have character just set to player.Character, you should use "player.Character or player.CharacterAdded:Wait()"