Hello friends!
Hello people, so today i’ve been trying to create a script that gives every player that joins a specific
“Shirt Graphic”, The game already has auto-team and now the ShirtGraphic must be given to everyone not in a specific team, so everyone that’s not in the team “Visitor” must get a shirtGraphic, I’ve looked at the developer hub and i couldn’t really find a solution.
1 Like
local players = game:GetService("Players")
local player = players.LocalPlayer
repeat wait()
until player.Character
local shirtGraphic = "assetID" --copy and paste asset ID of shirt graphic here
player.CharacterAdded:connect(function(character)
if not player.Team.Name == "SomeTeamName" then --whatever team you don't want to give the shirt graphic
character.Shirt.ShirtTemplate = shirtGraphic
end
end)
1 Like