Well, I'm working on a projectile and its almost done but I need to finish the shockwave. I did not know how to do it but I found this script that worked. When the projectile hits the enemy then it makes the shockwave but it only workes once. I have provided my code/error below.
local shockwavemesh = game.ReplicatedStorage.Storage.Others.BlackholeShockwave
--shockwave
shockwavemesh:Clone()
shockwavemesh.Parent = Hit
shockwavemesh.Position = Vector3.new(Hit.Parent.HumanoidRootPart)
-- tween shockwave
local shockgoal = {}
shockgoal.Size = Vector3.new(30, 30, 30)
local stweenInfo = TweenInfo.new(7)
local stween = TweenService:Create(shockwavemesh, stweenInfo, goal)
stween:play()
--end
Error: 15:29:50.166 - The Parent property of BlackholeShockwave is locked, current parent: NULL, new parent LeftHand

4 comments
Hope this helped:=) if you get anymore errors I can help you out on discord:=)
I actually destroy the sockwave after already. With a debris folder along with the projectile
Oh nice.
Glad it helped.