Simple problem, why isn't this working?

Why doesn’t this work? It gives me a syntax error and that’s it.

Swarm:SetPrimaryPartCFrame(hit.Parent.HumanoidRootPart.CFrame CFrame.new(0,0,0)CFrame.Angles(math.random(-20,20)/10,math.random(-20,20)/10,math.random(-20,20)/10))

Thank you.

1 Like

You arent multiplying these CFrames together.

Alrighty, can you show me where my error is?

Place * in between each CFrame.

2 Likes