I have a script that makes a part and throws it, but the throw looks very weird since the part stays upright. How can I make it spin midair?
Here’s the few lines of code that spawn it:
local clone = item1:Clone()
clone.CanCollide = true
for i, v in pairs(clone:GetDescendants()) do
if v.Name == "Joint" then
v:Destroy()
end
if v.Name == "ClickDetector" then
v:Destroy()
end
end
clone.Anchored = false
clone.CFrame = CFrame.new(item1.CFrame.Position) * CFrame.Angles(math.rad(180), math.rad(0),math.rad(0))
clone.CFrame = clone.CFrame * CFrame.new(0,-1.5,-2)
clone.Parent = workspace
local newimpulse = clone
local direction = lv
local forcemultiplier = (100 * newimpulse:GetMass())
newimpulse:ApplyImpulse(direction * forcemultiplier)
wait(.1)