#anim not change????
1 messages · Page 1 of 1 (latest)
code is:
local Players = game:GetService("Players")
local walkAnimation = "rbxassetid://103319492960339"
local function onCharacterAdded(character)
local humanoid = character:WaitForChild("Humanoid")
local animateScript = character:WaitForChild("Animate")
local runAnim = animateScript:WaitForChild("run"):WaitForChild("RunAnim")
runAnim.AnimationId = walkAnimation
end
local function onPlayerAdded(player)
player.CharacterAdded:Connect(onCharacterAdded)
end
Players.PlayerAdded:Connect(onPlayerAdded)```
99% sure its in the correct place
u have ti make it a server script under serverscriptservice
i tried that to
it dont work
then uhhh
local Players = game:GetService("Players") local Player = Players.LocalPlayer local char = Player.Character or Player.CharacterAdded:Wait()
local walkAnimation = "rbxassetid://103319492960339"
local humanoid = character:WaitForChild("Humanoid")
local animateScript = character:WaitForChild("Animate")
local runAnim = animateScript:WaitForChild("run"):WaitForChild("RunAnim")
runAnim.AnimationId = walkAnimation
oops mb
im just editing the code
its ok
alr lemme see
i do not think that formatted correctly./
how do u make this into a code insteaad oft text?
yea 😭
what u do is:
then u add lua
so
ahhh
then click enter
then paste code
so
local Players = game:GetService("Players")
local walkAnimation = "rbxassetid://103319492960339"
local function onCharacterAdded(character)
local humanoid = character:WaitForChild("Humanoid")
local animateScript = character:WaitForChild("Animate")
local runAnim = animateScript:WaitForChild("run"):WaitForChild("RunAnim")
runAnim.AnimationId = walkAnimation
end
local function onPlayerAdded(player)
player.CharacterAdded:Connect(onCharacterAdded)
end
Players.PlayerAdded:Connect(onPlayerAdded)```
like that
'''local Players = game:GetService("Players") local Player = Players.LocalPlayer local char = Player.Character or Player.CharacterAdded:Wait()
local walkAnimation = "rbxassetid://103319492960339"
local humanoid = character:WaitForChild("Humanoid")
local animateScript = character:WaitForChild("Animate")
local runAnim = animateScript:WaitForChild("run"):WaitForChild("RunAnim")
runAnim.AnimationId = walkAnimation
oop nvm
its backquotes 💀
local walkAnimation = "rbxassetid://103319492960339"
local humanoid = character:WaitForChild("Humanoid")
local animateScript = character:WaitForChild("Animate")
local runAnim = animateScript:WaitForChild("run"):WaitForChild("RunAnim")
runAnim.AnimationId = walkAnimation
there u go
so its just what
** You are now Level 1! **
that*
oop mb
i made an error
one sec
local walkAnimation = "rbxassetid://103319492960339"
local humanoid = char:WaitForChild("Humanoid")
local animateScript = char:WaitForChild("Animate")
local runAnim = animateScript:WaitForChild("run"):WaitForChild("RunAnim")
runAnim.AnimationId = walkAnimation
try now
hmmm
try what i sent
i did
oop put it as a local script back in starterplayerscripts
ok
still no
there's no error tho
yeah the walk anim doesnt playt
maybe its not running
add print statements to check
if it runs, that means its running smoothly
but the anim doesnt change
hm
oh wait
?
something happened
NOW NO ANIMS PLAY AT ALL AND MY CHARACTERS HAT IS GONE.
ok nvm had to rerun
its just classic roblox walk anim
not my custom one
the anim i made still isnt running
** You are now Level 2! **
put this in sss and delete the other script
normal script or local?
normal
do i also rename the script to smthn?
thats optional, but its recommended to organize everything
also it still doesnt work
hmm lemme se
** You are now Level 8! **
local walkAnimation = "rbxassetid://103319492960339"
local function onCharacterAdded(character)
local humanoid = character:WaitForChild("Humanoid")
local humDescription = humanoid:WaitForChild("HumanoidDescription") humDescription.WalkAnimation = walkAnimation humanoid:ApplyDescriptionReset(humDescription)
end
local function onPlayerAdded(player)
player.CharacterAdded:Connect(onCharacterAdded)
end
Players.PlayerAdded:Connect(onPlayerAdded) ```
still doesnt work....
what if it doesnt play because u cant run on pc?
i mean walk
huh
how do i uh
turn it into running
i gotta bleach my hair rq
ill be back
local walkAnimation = "rbxassetid://103319492960339"
local function onCharacterAdded(character)
local humanoid = character:WaitForChild("Humanoid")
local humDescription = humanoid:WaitForChild("HumanoidDescription") humDescription.RunAnimation = walkAnimation humanoid:ApplyDescriptionReset(humDescription)
end
local function onPlayerAdded(player)
player.CharacterAdded:Connect(onCharacterAdded)
end
Players.PlayerAdded:Connect(onPlayerAdded) ```
so, that still didnt work
(sorry I wasn't on)
i still need help if anyone will help