hi, i was trying to make slashes from dmc5 of vergil, and for some odd reason the slashes randomly gets flipped.
for the slashes im using velocityPerpendicular
hi, i was trying to make slashes from dmc5 of vergil, and for some odd reason the slashes randomly gets flipped.
for the slashes im using velocityPerpendicular
forgot to tell this is the script:
local slashes = game.ReplicatedFirst:WaitForChild("Main_RFirst").Vfx.EffectsForAttacks.Vergil
local Char = script.Parent
function Slash(target)
local Slash = slashes.VergilSlash:Clone()
Slash.Anchored = true
Slash.CanCollide = false
Slash.Parent = workspace.Effects
Slash.CFrame = Char.HumanoidRootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(math.random(-180,180)), 0)
for _, v in pairs(Slash.Attachment:GetChildren()) do
if v:IsA("ParticleEmitter") then
local atribute = v:GetAttribute("EmitCount")
if atribute then
v:Emit(v:GetAttribute("EmitCount"))
end
end
end
task.delay(0.4, function()
Slash:Destroy()
end)
end
function MiniSlash()
end
while true do
Slash(Char)
task.wait(0.1)
end
can u show rotation and rotation speed of the particle emitter
excuse me, WHY???
just put ONE number there. ONE!!
I think this just maybe is the problem.