Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if input == Enum.KeyCode.C then
- attack = true
- rooted = true
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://2545011398"
- sound.Volume = 10
- sound.Parent = head
- sound:Play()
- repeat
- game:GetService("RunService").Stepped:Wait()
- RS.C0 = RS.C0:Lerp(RSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, math.sin(sine / 20) / 8, 0), 0.15)
- LS.C0 = LS.C0:Lerp(LSnor * CFrame.Angles(-0.4 + math.cos(sine / 20) / 8, -math.sin(sine / 20) / 8, 0), 0.15)
- RH.C0 = RH.C0:Lerp(RHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- LH.C0 = LH.C0:Lerp(LHnor * CFrame.Angles(-0.2 + math.cos(sine / 20) / 8, 0, 0), 0.15)
- rootj.C0 = rootj.C0:Lerp(rootjnor * CFrame.new(0, 0, 0.2 * math.sin(sine / 20)), 0.1)
- neck.C0 = neck.C0:Lerp(necknor, 0.15)
- until sound.Playing == false
- rooted = false
- hum.WalkSpeed = 20
- hum.JumpPower = 50
- local model = Instance.new("Model")
- model.Name = "Devs"
- model.Parent = char
- local mainpart = Instance.new("Part")
- mainpart.Transparency = 1
- mainpart.CanCollide = false
- mainpart.Anchored = true
- mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
- mainpart.Parent = model
- model.PrimaryPart = mainpart
- local devs = {}
- local devsine = 0
- for i = 1, 4 do
- local dev = Instance.new("Part")
- dev.Name = "Devilsknife"
- dev.Transparency = 1
- dev.Anchored = true
- dev.CanCollide = false
- dev.Size = Vector3.new(4, 0.05, 4.6)
- dev.Parent = model
- local decal1 = Instance.new("Decal")
- decal1.Texture = "rbxassetid://2704176861"
- decal1.Face = Enum.NormalId.Top
- decal1.Transparency = 1
- decal1.Parent = dev
- local decal2 = Instance.new("Decal")
- decal2.Texture = "rbxassetid://2704176861"
- decal2.Face = Enum.NormalId.Bottom
- decal2.Transparency = 1
- decal2.Parent = dev
- dev.Touched:Connect(function(hit)
- end)
- table.insert(devs, dev)
- end
- local spin = 0
- for i = 1, 15 do
- game:GetService("RunService").Stepped:Wait()
- spin = spin + 12
- devsine = devsine + 1
- mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
- for i = 1, #devs do
- for i,v in pairs(devs[i]:GetChildren()) do
- if v:IsA("Decal") then
- v.Transparency = v.Transparency - 1 / 15
- end
- end
- if i == 1 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
- elseif i == 2 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
- elseif i == 3 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
- elseif i == 4 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
- end
- end
- end
- local debounce = {}
- for i = 1, #devs do
- debounce[i] = false
- end
- for i = 1, 500 do
- game:GetService("RunService").Stepped:Wait()
- spin = spin + 12
- devsine = devsine + 1
- mainpart.CFrame = CFrame.new(mouse.Hit.Position) * CFrame.new(0, 3, 0)
- for i = 1, #devs do
- for i,v in pairs(devs[i]:GetTouchingParts()) do
- if not v:IsDescendantOf(char) and debounce[i] == false then
- if v.Parent and v.Parent:FindFirstChildOfClass("Humanoid") then
- debounce[i] = true
- v.Parent:FindFirstChildOfClass("Humanoid").Health = v.Parent:FindFirstChildOfClass("Humanoid").Health - 5
- coroutine.resume(coroutine.create(function()
- wait(0.4)
- debounce[i] = false
- end))
- end
- end
- end
- end
- for i = 1, #devs do
- if i == 1 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
- elseif i == 2 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
- elseif i == 3 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
- elseif i == 4 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
- end
- end
- end
- for i = 1, 15 do
- game:GetService("RunService").Stepped:Wait()
- for i = 1, #devs do
- for i,v in pairs(devs[i]:GetChildren()) do
- if v:IsA("Decal") then
- v.Transparency = v.Transparency + 1 / 15
- end
- end
- if i == 1 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
- elseif i == 2 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
- elseif i == 3 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(math.sin(sine / 40) * 4, 0, -math.sin(sine / 40) * 10)
- elseif i == 4 then
- devs[i].CFrame = mainpart.CFrame * CFrame.Angles(0, math.rad(spin), 0) + Vector3.new(-math.sin(sine / 40) * 4, 0, math.sin(sine / 40) * 10)
- end
- end
- end
- model:Destroy()
- attack = false
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement