Hey, I recently developed a huge SCPF Map with different teams (MTF etc)
And I would like to know how can you make uniforms when the player join the team!
Best Regards
Hey, I recently developed a huge SCPF Map with different teams (MTF etc)
And I would like to know how can you make uniforms when the player join the team!
Best Regards
You can detect when a player joins a team, when they join a team replace their shirt/pants that are in their character.
Thanks, and do you have a script for that ?
No, I don’t, but I can conjure up a quick example:
game.Players.PlayerAdded:connect(function(plr)
plr:GetPropertyChangedSignal("Team"):Connect(function()
if plr.Team == "teamNameHere" then
plr.character.shirt.id = 123123
plr.character.pants.id = 123123123
end
end
end)
This won’t work, but your script will end up looking something like this.
Thanks ! I will try to make it work.
Found It!
game.Players.PlayerAdded:Connect(function()
if Player.Team == “Mobile Task Force” then
local RecruitModel = RecruitModel:Clone()
local RecruitModel.Name = StarterCharacter
RecruitModel.Parent = StarterPlayer
end
Player:LoadCharacter()
end)
Should work!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.