#How To spawn a item in front of player and play a animation for that item
36 messages · Page 1 of 1 (latest)
elseif key == "Z" then
print("ssssd")
local Auragrab = Rp:WaitForChild("Ablitles").AuraGrab.Aura:Clone()
Auragrab.Parent = player.Character["Right Arm"]
Auragrab.CFrame = player.Character["Right Arm"].CFrame * CFrame.new(0,-0.5,0)
local weldconstriant = Instance.new("WeldConstraint")
weldconstriant.Parent = Auragrab
weldconstriant.Part0 = Auragrab
weldconstriant.Part1 = player.Character["Right Arm"]
local AuraHand = Rp:WaitForChild("Ablitles").AuraGrab.Hand:Clone()
AuraHand.Parent = player.Character.HumanoidRootPart
AuraHand.Hand.CFrame = player.Character.HumanoidRootPart.CFrame * CFrame.new(-5,0,-7) * CFrame.Angles(4.5,0.5, 6.5)
local Grab2Animation = script.HandGrab
local Grab2 = AuraHand:FindFirstChild("Humanoid"):LoadAnimation(Grab2Animation)
Grab2:Play()
local weldconstriant = Instance.new("WeldConstraint")
weldconstriant.Parent = AuraHand.Hand
weldconstriant.Part0 = AuraHand.Hand
weldconstriant.Part1 = player.Character["HumanoidRootPart"]
player.Character:WaitForChild("Humanoid").WalkSpeed = 0
wait(0.5)
player.Character:WaitForChild("Humanoid").WalkSpeed = 16
wait(0.5)
AuraHand:Destroy()
Auragrab:Destroy()
end

@gusty basin got any recommedations on how to do it or what vides to watch?
why me 
no one has responded and i saw that you were helping other people lol
i don't understand your question
The problem is that the blue hand animation does not work because it has weldconstrint
its probably anchored

I check its not
the orb probably is
you mean the effect?
the thing you are welding to the hand...
that is a seperate object so it would not matter
they are seperate and they both are not anchored
so are you saying that the constraint does not matter and does not impact the animation?
abilities? oh dear this is a battlegrounds
battlegrounds-like features
just powers
I know how to script a lot but never got into make powers or anything like that
they are not separate from the moment you welded it to the character
ok
coz they're difficult to make
what is a lot?
That really depends
if u never made an ability yeah you gonna learn
I made a fighting system before but never powers, all I want to do is spawn it and play a animation the rest I already know what to do