How can i know the exact thing for it? should i just try everything? and is there something that can check it without going ingame?
What do you mean?
As for the question from the title, you just have to write part.Orentation = Vector3.new()
Let’s say this
local sword = script:WaitForChild("Sword1"):Clone()
sword.CFrame = gate.CFrame * CFrame.new(0,0,2) * CFrame.Angles(math.rad(-90),math.rad(math.random(-360,360)),0)
sword.Parent = workspace
debris:AddItem(sword,2)
when i tried to spawn it ingame with the other scripts it does not go the way i want to i changed the swords to different swords. should i also change the rotations?
There are several ways to do this:
• BasePart.RotVelocity
• AlignOrientation
• AngularVelocity
• Torque