Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

I tried animating a starter character, why doesnt it work?

Asked by 4 years ago
Edited 4 years ago

I tried putting the animate script into the character or just into startercharacterscripts but nothing is working. I uploaded the animation, pasted it in, but it didnt work. can someone help me? Is there more steps to animating a startercharacter? my rig type is r6.

0
What type of animation? EH2019SIT 78 — 4y
0
r6 proudCdthekitten 22 — 4y
0
No, like what does the rig do in the animation? EH2019SIT 78 — 4y
0
oh like walk idle and that stuff? I did all of them proudCdthekitten 22 — 4y
View all comments (3 more)
0
i even tried one but it wouldnt work. proudCdthekitten 22 — 4y
0
rip proudCdthekitten 22 — 4y
0
I will explain how to change animations to set it defaultly for all in the answers. EH2019SIT 78 — 4y

2 answers

Log in to vote
0
Answered by 4 years ago
01local Players = game:GetService("Players") -- Variables
02 
03local function onCharacterAdded(character)
04    local humanoid = character:WaitForChild("Humanoid")
05 
06    for _, playingTracks in pairs(humanoid:GetPlayingAnimationTracks()) do
07        playingTracks:Stop(0)
08    end
09 
10    local animateScript = character:WaitForChild("Animate")
11    animateScript.run.RunAnim.AnimationId = "rbxassetid://616163682"        -- Run
12    animateScript.walk.WalkAnim.AnimationId = "rbxassetid://616168032"      -- Walk
13    animateScript.jump.JumpAnim.AnimationId = "rbxassetid://616161997"      -- Jump
14    animateScript.idle.Animation1.AnimationId = "rbxassetid://616158929"    -- Idle (Variation 1)
15    animateScript.idle.Animation2.AnimationId = "rbxassetid://616160636"    -- Idle (Variation 2)
View all 27 lines...

Catalog Animations - https://developer.roblox.com/articles/catalog-animations Just incase you wanted to use something like Elderly or Toy.

0
where do i put this script and would it be in a local script or what? proudCdthekitten 22 — 4y
0
A normal script into serverscriptservice. Glad to help EH2019SIT 78 — 4y
Ad
Log in to vote
0
Answered by 4 years ago

Read this in game animation article by Roblox.This may be helpfull.

https://developer.roblox.com/en-us/articles/using-animations-in-games

Answer this question