It is too hard for a group to raid another group’s Place without representation by having members wearing the proper uniform.
Ever since Tix were removed in 2016, Roblox’s Groups system has been on the decline because it was hard for group owners to fund for advertisements, uniforms cost Robux, and groups cannot be represented fairly by not having members wear a required uniform to raid an enemy group.
Workaround Solution:
-
Place-A
will need to have a teleport script:
UsingTeleportService
to check for currently wearing clothing asset ids.
groupData
should look similar to this, then pass it toTeleportOptions:SetTeleportData(groupData)
:
--Quick overview in a server script:
--teleport stuff
local TeleportService = game:GetService("TeleportService")
local TeleportOptions = Instance.new("TeleportOptions")
--clothing id's
groupData = {
ShirtId = "http://www.roblox.com/asset/?id=148247130";
PantsId = "http://www.roblox.com/asset/?id=148247175";
}
--set the teleport
TeleportOptions:SetTeleportData(groupData)
TeleportService:TeleportAsync(8907755341, {plr}, TeleportOptions)
Here is a scenario where the shirt and pants are given from the player’s character:
--In a Server Script.
--character
local char = Player.Character
--find clothing
local Shirt = char:FindFirstChild("Shirt")
local Pants = char:FindFirstChild("Pants")
--teleport data
local groupData = {}
if Shirt then
groupData["ShirtId"] = Shirt.ShirtTemplate
end
if Pants then
groupData["PantsId"] = Pants.PantsTemplate
end
--set options
local TeleportOptions = Instance.new("TeleportOptions")
TeleportOptions:SetTeleportData(groupData)
local success, result = pcall(function()
print("Teleporting player...")
return TeleportService:TeleportAsync(8907755341, {plr}, TeleportOptions)
end)
if success then
print("Success!, teleporting now.")
else
warn(result)
end
-
Place-B
will need a RemoteEvent to transfergroupData
to a Server Script to set the clothing id’s on the player’s character.
First and foremost, enable ThirdPartyTeleport
.
Part 1; In a LocalScript
in ReplicatedFirst
:
Send groupData
to a Script
using a RemoteEvent
.
--teleport
local TeleportService = game:GetService("TeleportService")
--replicated
local ReplicatedStorage = game:GetService("ReplicatedStorage")
--remote event
local SetTpGroupUniform = ReplicatedStorage:WaitForChild("SetTpGroupUniform")
--get teleport info
local groupData = TeleportService:GetLocalPlayerTeleportData()
if groupData then
SetTpGroupUniform:FireServer(groupData)
end
Part 2; In a Script
in ServerScriptService
:
The clothing Id’s get set to the player’s character, even on respawn.
--replicated
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local SetTpGroupUniform = ReplicatedStorage:FindFirstChild("SetTpGroupUniform")
--remotes
SetTpGroupUniform.OnServerEvent:Connect(function(plr, groupData)
print(plr.Name, groupData)
--functions
local function setGroupClothing()
local Character = plr.Character
if not Character then
plr:GetPropertyChangedSignal("Character"):Wait()
Character = plr.Character
end
local Shirt = Character:WaitForChild("Shirt")
local Pants = Character:WaitForChild("Pants")
Shirt.ShirtTemplate = groupData.ShirtId or ""
Pants.PantsTemplate = groupData.PantsId or ""
end
--events
plr:GetPropertyChangedSignal("Character"):Connect(function()
setGroupClothing() --in case player dies, their uniform stays.
end)
--startup
setGroupClothing()
end)
Place-A:
Change clothing.
Place: Clanning Teleport To - Roblox
Place-B:
Result, spawn with uniform from teleport. Even if you Reset, the uniform stays.
Place: Clanning Test Teleport - Roblox
Final Result:
You should now spawn with your uniform at an enemy group’s place (or Place-B
).
If all sword clans and military guilds have this system implemented in their games, it will help bring groups back to the light. Good luck to all of the new and upcoming groups!