Hello everyone. I’ve tried making a carry script that only picks up ragdolled players. The issue is I keep getting this error below. I am not able to even pick up the player.
05:37:48 -- Load Animation requires an Animation object
Stack Begin
Script 'workspace.(user).Carry', Line 27
StackEnd
I have no idea if this is enough script to show to solve the problem but if you want me to show you it all please let me know. I’ve also seen posts on the DevForum saying you may have the event as the same name as the animation. Which is not the case. (3 total events)
wait(1)
local CAS = game:GetService("ContextActionService")
local player = game.Players.LocalPlayer
local Character = player.Character or player.CharacterAdded:Wait()
local LF, RF = Character:WaitForChild('LeftFoot'), Character:WaitForChild('RightFoot')
local MyStatus = Character.Ragdoll.Activate
Line 27: local Anim = Character.Humanoid:LoadAnimation(script.Keyframe)
if player:GetRankInGroup(5127121) < 5 then script:Destroy() script.Disabled = true return end
local CarryTarget = nil
local Carrying = false
local CE = script:WaitForChild('Event')