Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I'm making a shotgun but how do i make all the bullets go in a spiral 360* motion?

So, in a nutshell a shotgun is a gun a gun that shoots more than one bullet and they all go like in a 360* spiral motion.

I want to create that.

But how do i do that? Some of you may disagree with me and close the question, or maybe you will say this is not a request site.

I'm just very fascinated about motions.

2 comments

0

it would've been cool if you at least tried.. then posted your attempt..

0

I know, i suck...

1 answer

If the bullet is a part, then there is a property called Rotation (which weirdly isn't in the properties tab but it's there) it's a Vector3 Value for the axis to rotate it, so if you want it to repeatly rotate, you can try:

-- Your code when the bullet is shot
bullet.Touched:Connect(function(hit)
	local isHit = true
	-- Your dmg code
end)
while not isHit do
	bullet.Rotation = Vector3.new(0,0 + 5,0) -- You can mess around with the values a bit
end

This discussion is preserved as it was. New answers, comments, and votes are closed.