I’d like it so when all players spawns in, they have a custom idle/walk/run animations.
I tried looking at HumanoidDescription | Roblox Creator Documentation but when i ran the script i typed it didnt seem to work
Code
local Player = game:GetService("Players")
local HumDescription = game.Workspace.HumanoidDescription
for i, v in pairs(Player:GetChildren()) do
local humanoid = v.Character and v.Character:FindFirstChild("Humanoid")
if humanoid then
humanoid:ApplyDescription(game.Workspace.HumanoidDescription)
end
end
local Player = game:GetService("Players")
local HumDescription = game.Workspace.HumanoidDescription
for i, v in pairs(Player:GetChildren()) do
local humanoid = v.Character and v.Character:FindFirstChild("Humanoid")
if humanoid then
humanoid:ApplyDescription(game.Workspace.HumanoidDescription)
end
end
I dont want to just copy and paste the script roblox gives you to play default animations on their website, i want to find a way to play animations (Like idles and running) constantly and find a way to change animations (Like if a player pressed Q an animation would play and their Idle animation would change)
Ive tried looking at playing animations in game, and researched on roblox’s education website and looking on devforum but i cant seem to find anything