local boxOrig = script.Parent
local boxModel = game:GetService("ReplicatedStorage"):WaitForChild("Box")
pp.Triggered:Connect(function(player)
local char = player.Character
if not char then return end
local torso = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
if not torso then return end
if char:FindFirstChild("CarriedBox") then return end
local boxClone = boxModel:Clone()
boxClone.Name = "CarriedBox"
boxClone.Parent = char
local offset = CFrame.new(0, 1, -1.5)
boxClone:SetPrimaryPartCFrame(torso.CFrame * offset)
local weld = Instance.new("WeldConstraint")
weld.Part0 = torso
weld.Part1 = boxClone.PrimaryPart
weld.Parent = boxClone.PrimaryPart
boxOrig:Destroy()
pp.Enabled = false
local humanoid = char:WaitForChild("Humanoid")
local animator = humanoid:FindFirstChildOfClass("Animator")
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://126549707231736"
anim.Parent = script
local track = animator:LoadAnimation(anim)
track.Looped = true
track:Play()
print("Playing pick-up animation")
end)```
#Animation not working
1 messages · Page 1 of 1 (latest)
It's basically a static animation that changes the position of player hands, torso and head Box grabbing
But when I pick up the box nothing happens
I see the "Playing pick-up animation" printed in output, but no animation
try printing Animator to make sure it's not nil
and check for any other errors/warnings
is the player's character also r6?
yes
but i just tried smth...
R15 anim works on R6 now
and R6 animations aren't working on R6
Are u sure it's r6?
Changing thr animations to r6 in avatar tab does not change the actual model
Idk but I enabled r6 in avatar setting of my place
There is a new R6 in Roblox
Which is R15, just with an animation of R6
But there was 6 moving parts
** You are now Level 1! **
While it was looking like r15
Can I see a ss of a char in the game?