Make my Sword's VFX Match my Swing

Hey! For some reason I’ve been trying to make my “VFX” or the swing effect follow the blade direction of my sword but can’t get it down. How would I go on about fixing this?

My sword:
tes - Roblox Studio (gyazo.com)
What I want it to look like:
Roblox Studio | Sword Slash Effect - YouTube

My Code

script.Parent.IsSwinging:GetPropertyChangedSignal("Value"):Connect(function()
	if script.Parent.IsSwinging.Value == true then
		local Slash = script.Slash:Clone()
		Slash.Parent = script.Parent
		Slash.CFrame = script.Parent.CFrame * CFrame.Angles(0,math.rad(90),0)
		TweenRotation(Slash,-190,.3,Enum.EasingStyle.Quad)
		PlayFlipbook(Slash.Decal,script.Flipbook)
		Slash:Destroy()
	end
end)

script.Parent would be the “Sword” itself, the sword is just 1 entire object by the way
image

Just tweak the CFrame angles until it does! It looks like you’re using the free model flipbook? Also you’re tween rotation function looks fishy, make sure it’s tweening CFrame, and not orientation, which is based on world.

2 Likes

Oh forgot to marked a solution, I figured it out, turns out had to messed the CFrame of the tween itself rather than the actual slash since its using a module

1 Like