So i made a super punch, and b4 you end the animation you’re supposed to glow, how i went about it is copying the bodyparts, welding it to your character and make the size a bit bigger so you can see it, however it makes the animation and the character freeze up and at the end you just die, how do i fix this?
for Index, BodyParts in ipairs(char:GetChildren()) do
if BodyParts:IsA("BasePart") then
local BodyPart = BodyParts:Clone()
BodyPart.CFrame = BodyParts.CFrame
BodyPart.Size = Vector3.new(BodyParts.Size.X+.2,BodyParts.Size.Y+.2,BodyParts.Size.Z+.2)
BodyPart.Color = Color3.fromRGB(255,255,255)
BodyPart.CanCollide = false
BodyPart.CanQuery = false
BodyPart.CanTouch = false
BodyPart.Massless = true
BodyPart.Anchored = false
BodyPart.Material = Enum.Material.Neon
BodyPart.Parent = workspace.Effects
local m6d = Instance.new("Motor6D")
m6d.Part0 = BodyParts
m6d.Part1 = BodyPart
m6d.Parent = BodyPart
game.Debris:AddItem(BodyParts, 2)
end
end