i’ve made a simple script that plays an animation repeatedly on a player model, even while walking and climbing, and the animation plays out strangely.
local part = script.Parent
part.Touched:Connect(function(hit)
local animation = part.IdleAnimation
local anim = hit.Parent:FindFirstChild("Humanoid"):LoadAnimation(animation)
anim:Play()
end)
for _,v in pairs(stop) do
if v:IsA("BasePart") then
v.Transparency = 1
v.Touched:Connect(function(hit)
local anim = hit.Parent:FindFirstChild("Humanoid"):LoadAnimation(part.IdleAnimation)
anim:Stop()
end)
end
end
This is how the animation plays ingame~
The animation is supposed to be the default R6 running animation looped. (the limbs are moving significantly less in this one) It’d be nicer if the default animations for the player were completely replaced, including climb, run, idle, etc, but I dont think you can do that without directly modifying the scripts in starterplayer.