local part = script.Parent
while true do
part.Orientation = part.Orientation + Vector3.new(0, 1, 0)
wait(0.01)
endlocal part = script.Parent
while true do
part.CFrame = part.CFrame * CFrame.Angles(0, math.rad(2), 0)
wait(0.01)
endmath.rad(2) -- медленно
math.rad(10) -- быстроlocal part = script.Parent
local spinning = false
part.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
spinning = true
end
end)
while true do
if spinning then
part.CFrame = part.CFrame * CFrame.Angles(0, math.rad(5), 0)
end
wait(0.01)
endlocal part = script.Parent
while true do
part.CFrame = part.CFrame * CFrame.Angles(0, math.rad(8), 0)
wait(0.01)
end
part.Touched:Connect(function(hit)
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid then
humanoid.Health = 0
end
end)