Hey I have a script that makes it so when you shot someone with a gun a ball flies out of them with
AssemblyLinearVelocity.
I have an issue where the balls sometimes falls through parts here is footage of that:
I tried changing collisions groups and the balls size but it didn’t work.
here is the script:
for i = 1,math.random(1,1) do
Rotation = Rotation - 5
local Particle = rs.Blood:Clone()
local RanMin = -25
local RanMax = 25
Particle.Parent = workspace
Particle.Position = TargetChar.HumanoidRootPart.Position
Particle.AssemblyLinearVelocity = Vector3.new(math.random(RanMin,RanMax),math.random(0,RanMax) + 30,math.random(RanMin,RanMax) )
end
Thanks to anyone who tries to help.