Need help with random orientation!

I’m trying to give each part a different orientation but they’re all the same orientation.

	local char = plr.Character
	local Range = game.ServerScriptService.Powers.Kitsuri:WaitForChild("MistSlash"):Clone()
	Range.Parent = plr.Character

	local RotationFolder = script.RotationFolder:GetChildren()
	local randomRotation = RotationFolder[math.random(1, #RotationFolder)]
	for i,v in pairs(plr.Character.MistSlash:GetChildren()) do
		v.CFrame = plr.Character.HumanoidRootPart.CFrame +,0,-0.5)
		v.Orientation = randomRotation.Orientation +,-95,0)

Why not make this way to be random?

v.Orientation =,360), math.random(0,360), math.random(0,360))

1 Like

I only want the first axis to move and not the whole thing.

Nevermind, I managed to fix it. Thank you so much!