So I have this issue in my game where said simply, the character for some reason won’t be animated or have a health script. I have been told that when making a new character, it will gain those things, but for me that hasn’t been the case.
CharacterAutoLoads
is disabled since my game has a main menu and I don’t want the player to initially load in, So technically there isn’t a previous character before it gets set. Here is my script:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local baseCharacter = ReplicatedStorage.BaseCharacter
local events = ReplicatedStorage:WaitForChild("Events")
local LoadCharacterEvent = events:WaitForChild("LoadCharacterEvent")
LoadCharacterEvent.OnServerEvent:Connect(function(player: Player)
local newCharacter = baseCharacter:Clone()
newCharacter.Name = player.Name
newCharacter.Parent = workspace
player.Character = newCharacter
end)
The event is called when the player presses the play button. Here is a video of me showcasing the bug. As I said before, everything but some stuff like animations and health are working, its just those things that are crucial for my game.
Any possible tips would be appreciated, although I don’t want to hardcode implementing animations and the health script. I want to get the character right.