script.Parent.Bottom.Touched:connect(function(hit)
if hit and hit.Parent and hit.Parent:FindFirstChild'Humanoid' and not hit.Parent:FindFirstChild'Enemy' and not hit.Parent:FindFirstChild'Container' and not touched then
touched = true
local spawnedGun = game.ReplicatedStorage.Guns.Wildfire:Clone()
spawnedGun.Parent = workspace
spawnedGun:MoveTo(script.Parent.SpawnPoint.Position)
--script.Parent.Top:Destroy()
script.Parent.Bottom.Spring.C0 = script.Parent.Bottom.Spring.C0 * CFrame.Angles(0, 0, math.rad(-80))
Anchor(spawnedGun)
wait(.1)
Anchor(spawnedGun)
end
end)
Everything works, but the Spring(a weld) won't rotate the Part1 even with the CFrame.Angles on C0. Any idea why it won't work?
