#tween vfx stuff with my scripts

12 messages · Page 1 of 1 (latest)

silver scaffold
#
        local attackEffectPart =  game.ReplicatedStorage.TweeningPartsVFX.attackEffect
        local clonedAttackEffect = attackEffectPart:Clone()    
        clonedAttackEffect.CFrame = character.HumanoidRootPart.CFrame * CFrame.new(0,0,-3)
    end```
#

this no work when i call function

#

attackEffect()

#

and when it gets copied it prolly wont carry its script with it how do i make it do that

slate charm
#

Copied stuff do get copied with it's scripts

#

For the vfx, parent the vfx inside a small part that acts as hitbox

#

Then anchor that part

#

Then get the tween service and tween the object

silver scaffold
#

Hmmm alr

silver scaffold
#

its fine like that right it doesnt have to be inside the other script