Photo is simple.
I have an idle animation, whilst my friend doesn’t.
game.ReplicatedStorage.BoyRemoteEvent.OnServerEvent:Connect(function(player, boy)
local char = player.Character
local customChar = game.ServerStorage.Genders.Boy.StarterCharacter
player.TeamColor = boy
player:LoadCharacter()
if not char:FindFirstChild("IsCustom") then
local newChar = customChar:Clone()
newChar.Name = player.Name
newChar.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame
player.Character = newChar
newChar.Parent = workspace
end
end)
game.ReplicatedStorage.GirlRemoteEvent.OnServerEvent:Connect(function(player, girl)
local char = player.Character
local customChar = game.ServerStorage.Genders.Girl.StarterCharacter
player.TeamColor = girl
player:LoadCharacter()
if not char:FindFirstChild("IsCustom") then
local newChar = customChar:Clone()
newChar.Name = player.Name
newChar.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame
player.Character = newChar
newChar.Parent = workspace
end
end)
Why?