I’m trying to give each part a different orientation but they’re all the same orientation.
script.Parent.OnServerEvent:Connect(function(plr)
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)]
wait(0.2)
for i,v in pairs(plr.Character.MistSlash:GetChildren()) do
v.CFrame = plr.Character.HumanoidRootPart.CFrame + Vector3.new(0,0,-0.5)
v.Orientation = randomRotation.Orientation + Vector3.new(0,-95,0)
end
end)