Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elseif string.lower(Packet:sub(1,3)) == "tp " or string.lower(Packet:sub(1,9)) == "teleport " then
- local player = nil
- local player1 = nil
- local arg = nil
- if string.lower(Packet:sub(1,9)) == "teleport " then player = Packet:sub(10, (string.find(Packet, " ", 10)-1)) player1 = string.find(Packet, " ", 9)+1 arg = Packet:sub((string.find(Packet, " ", player1)+1)) elseif string.lower(Packet:sub(1,3)) == "tp " then player = Packet:sub(4, (string.find(Packet, " ", 4)-1)) player1 = string.find(Packet, " ", 3)+1 arg = Packet:sub((string.find(Packet, " ", player1)+1)) end
- if string.lower(player) == "all" then
- for i, v in pairs(game:GetService("Players"):GetChildren()) do
- if string.lower(player) == "all" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- wait()
- end
- end
- elseif string.lower(player) == "other" or string.lower(player) == "others" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if ve.Name ~= plr.Name then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "nonadmins" or string.lower(player) == "notadmins" or string.lower(player) == "nonadmin" or string.lower(player) == "notadmin" or string.lower(player) == "nonmod" or string.lower(player) == "notmod" or string.lower(player) == "nonmods" or string.lower(player) == "notmods" or string.lower(player) == "nonstaff" or string.lower(player) == "notstaff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == false then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "admins" or string.lower(player) == "admin" or string.lower(player) == "mod" or string.lower(player) == "mods" or string.lower(player) == "staff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == true then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "random" then
- local randomplr = game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, randomplr.Name)
- elseif string.lower(player) == "me" then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, plr.Name)
- else
- if Grabname(player) == nil then return end
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, Grabname(arg))
- end
- wait()
- end
- elseif string.lower(player) == "other" or string.lower(player) == "others" then
- for i, v in pairs(game:GetService("Players"):GetChildren()) do
- if v.Name ~= plr.Name then
- if string.lower(player) == "all" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- wait()
- end
- end
- elseif string.lower(player) == "other" or string.lower(player) == "others" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if ve.Name ~= plr.Name then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "nonadmins" or string.lower(player) == "notadmins" or string.lower(player) == "nonadmin" or string.lower(player) == "notadmin" or string.lower(player) == "nonmod" or string.lower(player) == "notmod" or string.lower(player) == "nonmods" or string.lower(player) == "notmods" or string.lower(player) == "nonstaff" or string.lower(player) == "notstaff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == false then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "admins" or string.lower(player) == "admin" or string.lower(player) == "mod" or string.lower(player) == "mods" or string.lower(player) == "staff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == true then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "random" then
- local randomplr = game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, randomplr.Name)
- elseif string.lower(player) == "me" then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, plr.Name)
- else
- if Grabname(player) == nil then return end
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, Grabname(arg))
- end
- wait()
- end
- wait()
- end
- elseif string.lower(player) == "nonadmins" or string.lower(player) == "notadmins" or string.lower(player) == "nonadmin" or string.lower(player) == "notadmin" or string.lower(player) == "nonmod" or string.lower(player) == "notmod" or string.lower(player) == "nonmods" or string.lower(player) == "notmods" or string.lower(player) == "nonstaff" or string.lower(player) == "notstaff" then
- for i, v in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(v, "Mod") == false then
- if string.lower(player) == "all" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- wait()
- end
- end
- elseif string.lower(player) == "other" or string.lower(player) == "others" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if ve.Name ~= plr.Name then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "nonadmins" or string.lower(player) == "notadmins" or string.lower(player) == "nonadmin" or string.lower(player) == "notadmin" or string.lower(player) == "nonmod" or string.lower(player) == "notmod" or string.lower(player) == "nonmods" or string.lower(player) == "notmods" or string.lower(player) == "nonstaff" or string.lower(player) == "notstaff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == false then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "admins" or string.lower(player) == "admin" or string.lower(player) == "mod" or string.lower(player) == "mods" or string.lower(player) == "staff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == true then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "random" then
- local randomplr = game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, randomplr.Name)
- elseif string.lower(player) == "me" then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, plr.Name)
- else
- if Grabname(player) == nil then return end
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, Grabname(arg))
- end
- wait()
- end
- wait()
- end
- elseif string.lower(player) == "admins" or string.lower(player) == "admin" or string.lower(player) == "mod" or string.lower(player) == "mods" or string.lower(player) == "staff" then
- for i, v in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(v, "Mod") == true then
- if string.lower(player) == "all" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- wait()
- end
- end
- elseif string.lower(player) == "other" or string.lower(player) == "others" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if ve.Name ~= plr.Name then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "nonadmins" or string.lower(player) == "notadmins" or string.lower(player) == "nonadmin" or string.lower(player) == "notadmin" or string.lower(player) == "nonmod" or string.lower(player) == "notmod" or string.lower(player) == "nonmods" or string.lower(player) == "notmods" or string.lower(player) == "nonstaff" or string.lower(player) == "notstaff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == false then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "admins" or string.lower(player) == "admin" or string.lower(player) == "mod" or string.lower(player) == "mods" or string.lower(player) == "staff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == true then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "random" then
- local randomplr = game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, randomplr.Name)
- elseif string.lower(player) == "me" then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, plr.Name)
- else
- if Grabname(player) == nil then return end
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", v.Name, Grabname(arg))
- end
- wait()
- end
- wait()
- end
- elseif string.lower(player) == "random" then
- local randomplr = game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
- if string.lower(player) == "all" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", randomplr.Name, ve.Name)
- wait()
- end
- end
- elseif string.lower(player) == "other" or string.lower(player) == "others" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if ve.Name ~= plr.Name then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", randomplr.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "nonadmins" or string.lower(player) == "notadmins" or string.lower(player) == "nonadmin" or string.lower(player) == "notadmin" or string.lower(player) == "nonmod" or string.lower(player) == "notmod" or string.lower(player) == "nonmods" or string.lower(player) == "notmods" or string.lower(player) == "nonstaff" or string.lower(player) == "notstaff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == false then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", randomplr.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "admins" or string.lower(player) == "admin" or string.lower(player) == "mod" or string.lower(player) == "mods" or string.lower(player) == "staff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == true then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", randomplr.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "random" then
- local randomplrr = game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", randomplr.Name, randomplrr.Name)
- elseif string.lower(player) == "me" then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", randomplr.Name, plr.Name)
- else
- if Grabname(player) == nil then return end
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", randomplr.Name, Grabname(arg))
- end
- wait()
- elseif string.lower(player) == "me" then
- if string.lower(player) == "all" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", plr.Name, ve.Name)
- wait()
- end
- end
- elseif string.lower(player) == "other" or string.lower(player) == "others" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if ve.Name ~= plr.Name then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", plr.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "nonadmins" or string.lower(player) == "notadmins" or string.lower(player) == "nonadmin" or string.lower(player) == "notadmin" or string.lower(player) == "nonmod" or string.lower(player) == "notmod" or string.lower(player) == "nonmods" or string.lower(player) == "notmods" or string.lower(player) == "nonstaff" or string.lower(player) == "notstaff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == false then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", plr.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "admins" or string.lower(player) == "admin" or string.lower(player) == "mod" or string.lower(player) == "mods" or string.lower(player) == "staff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == true then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", plr.Name, ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "random" then
- local randomplrr = game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", plr.Name, randomplrr.Name)
- elseif string.lower(player) == "me" then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", plr.Name, plr.Name)
- else
- if Grabname(player) == nil then return end
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", plr.Name, Grabname(arg))
- end
- wait()
- else
- if Grabname(player) == nil then return end
- if string.lower(player) == "all" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", Grabname(player), ve.Name)
- wait()
- end
- elseif string.lower(player) == "other" or string.lower(player) == "others" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if ve.Name ~= plr.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", Grabname(player), ve.Name)
- end
- wait()
- end
- elseif string.lower(player) == "nonadmins" or string.lower(player) == "notadmins" or string.lower(player) == "nonadmin" or string.lower(player) == "notadmin" or string.lower(player) == "nonmod" or string.lower(player) == "notmod" or string.lower(player) == "nonmods" or string.lower(player) == "notmods" or string.lower(player) == "nonstaff" or string.lower(player) == "notstaff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == false then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", Grabname(player), ve.Name)
- end
- wait()
- end
- elseif string.lower(player) == "admins" or string.lower(player) == "admin" or string.lower(player) == "mod" or string.lower(player) == "mods" or string.lower(player) == "staff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == true then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", Grabname(player), ve.Name)
- end
- wait()
- end
- elseif string.lower(player) == "random" then
- local randomplrr = game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", Grabname(player), randomplrr.Name)
- elseif string.lower(player) == "me" then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", Grabname(player), plr.Name)
- else
- if Grabname(player) == nil then return end
- if string.lower(player) == "all" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", Grabname(player), ve.Name)
- wait()
- end
- end
- elseif string.lower(player) == "other" or string.lower(player) == "others" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if ve.Name ~= plr.Name then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", Grabname(player), ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "nonadmins" or string.lower(player) == "notadmins" or string.lower(player) == "nonadmin" or string.lower(player) == "notadmin" or string.lower(player) == "nonmod" or string.lower(player) == "notmod" or string.lower(player) == "nonmods" or string.lower(player) == "notmods" or string.lower(player) == "nonstaff" or string.lower(player) == "notstaff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == false then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", Grabname(player), ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "admins" or string.lower(player) == "admin" or string.lower(player) == "mod" or string.lower(player) == "mods" or string.lower(player) == "staff" then
- for i, ve in pairs(game:GetService("Players"):GetChildren()) do
- if Check.Rank(ve, "Mod") == true then
- if ve.Name ~= arg.Name then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", Grabname(player), ve.Name)
- end
- end
- wait()
- end
- elseif string.lower(player) == "random" then
- local randomplrr = game:GetService("Players"):GetPlayers()[math.random(1, #game:GetService("Players"):GetPlayers())]
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", Grabname(player), randomplrr.Name)
- elseif string.lower(player) == "me" then
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", Grabname(player), plr.Name)
- else
- if Grabname(player) == nil then return end
- script.Parent:WaitForChild("TCommands"):FireClient(plr, "tp", Grabname(player), Grabname(arg))
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement