I recently made a custom character and I want to animate it.
Here is the Character:
Here is the Animation:
I’ve watched multiple tutorials and they all tell you how to make the player run / walk but none talk about the character being idle.
I’ve tinkered their scripts but none of them worked.
press play and copy the animate script from your character in the workspace, then paste it inside of startercharacter and change the variables at the start and i think also the values inside of the script as well
Add a script into serverscriptservice and put these codes
local Players = game:GetService("Players")
local function onCharacterAdded(character)
local humanoid = character:WaitForChild("Humanoid")
local animator = humanoid:WaitForChild("Animator")
for _, track in pairs(animator:GetPlayingAnimationTracks()) do
track:Stop(0)
end
local animateScript = character:WaitForChild("Animate")
animateScript.idle.Animation1.AnimationId = "rbxassetid://616158929" -- Change the id to your animation id
animateScript.idle.Animation2.AnimationId = "rbxassetid://616160636" -- Change the id to your animation id
local function onPlayerAdded(player)
player.CharacterAppearanceLoaded:Connect(onCharacterAdded)
end
Players.PlayerAdded:Connect(onPlayerAdded)