Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- player = game:service("Players").LocalPlayer
- char = player.Character
- local beat = true
- local beattime = 0.6
- suit = Instance.new("Model", char)
- suit.Name = "Determination"
- local vDebounce = false
- Torso = char.Torso
- cf = CFrame.new
- euler = CFrame.fromEulerAnglesXYZ
- slashvalue = 1
- beamvalue = 1
- onehitkill = true
- onehitkilltwo = true
- specialattack = false
- for _, v in pairs(char.Head:GetChildren()) do
- if v.ClassName == "Decal" then
- v:remove()
- end
- end
- for _, v in pairs(char:GetChildren()) do
- if v.ClassName == "Hat" then
- v:remove()
- end
- end
- for _, v in pairs(char:GetChildren()) do
- if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "T-Shirt" or v.ClassName == "ShirtGraphic" then
- v:remove()
- end
- end
- shirt = Instance.new("Shirt", char)
- pants = Instance.new("Pants", char)
- face = Instance.new("Decal", char.Head)
- face.Texture = "rbxassetid://431054853"
- shirt.ShirtTemplate = "rbxassetid://268303759"
- pants.PantsTemplate = "rbxassetid://268303786"
- local Hat = char:FindFirstChild("Hat_F") or Instance.new("Hat")
- Hat.AttachmentPos = Vector3.new(0, 0.33, 0)
- Hat.Name = "Hat_F"
- local Handle = Hat:FindFirstChild("Handle") or Instance.new("Part", Hat)
- if Handle.Name ~= "Handle" then
- Handle.Size = Vector3.new(1, 1, 1)
- end
- Handle.BottomSurface = 0
- Handle.Name = "Handle"
- Handle.TopSurface = 0
- Handle.Locked = 1
- local Mesh = Hat:FindFirstChild("Mesh") or Instance.new("SpecialMesh", Handle)
- Mesh.TextureId = "http://www.roblox.com/asset/?id=75975464"
- Mesh.MeshId = "rbxassetid://430411018 "
- Mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
- Hat.Parent = char
- RW, LW = Instance.new("Weld"), Instance.new("Weld")
- RW.Name = "Right Shoulder"
- LW.Name = "Left Shoulder"
- RSH, LSH = nil, nil
- LS = Torso["Left Shoulder"]
- LH = Torso["Left Hip"]
- RS = Torso["Right Shoulder"]
- RH = Torso["Right Hip"]
- RSH = char.Torso["Right Shoulder"]
- LSH = char.Torso["Left Shoulder"]
- local LSounds = {
- MegaloStrikesBack = Instance.new("Sound")
- }
- LSounds.MegaloStrikesBack.SoundId = "http://www.roblox.com/asset?id=142653441"
- LSounds.MegaloStrikesBack.Volume = 40
- function PlayLoopedSound(soundname, pitch)
- LSounds[soundname].Parent = char.Torso
- LSounds[soundname].Pitch = 0.7
- LSounds[soundname]:Play()
- LSounds[soundname].Looped = true
- oldloopedsound = LSounds[soundname]
- LSounds[soundname] = LSounds[soundname]:clone()
- end
- local Sounds = {
- Hurt = Instance.new("Sound"),
- Slash = Instance.new("Sound"),
- Explode = Instance.new("Sound"),
- Sans = Instance.new("Sound")
- }
- Sounds.Slash.SoundId = "http://www.roblox.com/asset?id=158037267"
- Sounds.Slash.Volume = 1
- Sounds.Hurt.SoundId = "http://www.roblox.com/asset?id=220833967"
- Sounds.Hurt.Volume = 1
- Sounds.Sans.SoundId = "http://www.roblox.com/asset?id=615910787"
- Sounds.Sans.Volume = 1
- Sounds.Explode.SoundId = "rbxassetid://357562152"
- Sounds.Explode.Volume = 1
- function PlaySound(soundname, pitch)
- Sounds[soundname].Parent = Torso
- Sounds[soundname].Pitch = pitch
- Sounds[soundname]:Play()
- local oldsound = Sounds[soundname]
- coroutine.resume(coroutine.create(function()
- wait(4)
- oldsound:Destroy()
- end))
- Sounds[soundname] = Sounds[soundname]:clone()
- end
- char.Humanoid.MaxHealth = 99999999999999999999999999
- char.Humanoid.Health = 9999999999999999999999999999
- function CharaTalks()
- local m = Instance.new("Model", char.Head)
- m.Name = "* W"
- local chat = Instance.new("Part", m)
- chat.TopSurface = "Smooth"
- chat.BottomSurface = "Smooth"
- chat.Name = "Head"
- chat.FormFactor = "Custom"
- chat.Size = Vector3.new(0.05, 0.05, 0.1)
- chat.Transparency = 0.9
- chat.CanCollide = false
- chat.Anchored = true
- chat.CFrame = char.Head.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
- local h = Instance.new("Humanoid", m)
- h.MaxHealth = 0
- m.Name = "* We"
- wait()
- m.Name = "* Wel"
- wait()
- m.Name = "* Welc"
- wait()
- m.Name = "* Welco"
- wait()
- m.Name = "* Welcom"
- wait()
- m.Name = "* Welcome"
- wait()
- m.Name = "* Welcome "
- wait()
- m.Name = "* Welcome t"
- wait()
- m.Name = "* Welcome to"
- wait()
- m.Name = "* Welcome to "
- wait()
- m.Name = "* Welcome to m"
- wait()
- m.Name = "* Welcome to my"
- wait()
- m.Name = "* Welcome to my "
- wait()
- m.Name = "* Welcome to my S"
- wait()
- m.Name = "* Welcome to my SP"
- wait()
- m.Name = "* Welcome to my SPE"
- wait()
- m.Name = "* Welcome to my SPEC"
- wait()
- m.Name = "* Welcome to my SPECI"
- wait()
- m.Name = "* Welcome to my SPECIA"
- wait()
- m.Name = "* Welcome to my SPECIAL"
- wait()
- m.Name = "* Welcome to my SPECIAL "
- wait()
- m.Name = "* Welcome to my SPECIAL H"
- wait()
- m.Name = "* Welcome to my SPECIAL HE"
- wait()
- m.Name = "* Welcome to my SPECIAL HEL"
- wait()
- m.Name = "* Welcome to my SPECIAL HELL"
- wait()
- m.Name = "* Welcome to my SPECIAL HELL!"
- wait()
- m.Name = "* Welcome to my SPECIAL HELL!!"
- wait()
- m.Name = "* Welcome to my SPECIAL HELL!!!"
- wait()
- m:remove()
- end
- function GETDUNKED()
- coroutine.resume(coroutine.create(function()
- local m = Instance.new("Model", char.Head)
- m.Name = "* G"
- local chat = Instance.new("Part", m)
- chat.TopSurface = "Smooth"
- chat.BottomSurface = "Smooth"
- chat.Name = "Head"
- chat.FormFactor = "Custom"
- chat.Size = Vector3.new(0.05, 0.05, 0.1)
- chat.Transparency = 0.9
- chat.CanCollide = false
- chat.Anchored = true
- chat.CFrame = char.Head.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
- local h = Instance.new("Humanoid", m)
- h.MaxHealth = 0
- PlaySound("Sans", 1)
- m.Name = "* I"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* I W"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* I WI"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* I WIL"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* I WILL"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* I WILL B"
- wait(0.3)
- PlaySound("Sans", 1)
- m.Name = "* I WILL BE"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* I WILL BE B"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* I WILL BE BA"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* I WILL BE BAC"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* I WILL BE BACK"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* I WILL BE BACK, CO"
- wait(0.3)
- PlaySound("Sans", 1)
- m.Name = "* I WILL BE BACK, COUNT"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* I WILL BE BACK, COUNT ON"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* I WILL BE BACK, COUNT ON IT"
- wait(0.3)
- PlaySound("Sans", 1)
- m.Name = "* F"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* FE"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* FEA"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* FEAR"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* FEAR M"
- wait(0.1)
- PlaySound("Sans", 1)
- m.Name = "* FEAR ME"
- wait(3)
- m:remove()
- end))
- end
- function startup()
- coroutine.resume(coroutine.create(function()
- local m = Instance.new("Model", char)
- m.Name = "* C"
- local chat = Instance.new("Part", m)
- chat.TopSurface = "Smooth"
- chat.BottomSurface = "Smooth"
- chat.Name = "Head"
- chat.FormFactor = "Custom"
- chat.Size = Vector3.new(0.05, 0.05, 0.1)
- chat.Transparency = 0.9
- chat.CanCollide = false
- local Weld7 = Instance.new("Weld", char)
- Weld7.Part0 = char.Head
- Weld7.Part1 = chat
- Weld7.C1 = CFrame.new(0, -2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local cy7 = Instance.new("BlockMesh", chat)
- local h = Instance.new("Humanoid", m)
- h.MaxHealth = 0
- m.Name = "* ?"
- wait(0.2)
- m.Name = "* ??"
- wait(0.2)
- m.Name = "* ???"
- wait(0.2)
- m.Name = "* ????"
- wait(0.2)
- m.Name = "* Corr"
- wait(0.5)
- m.Name = "* Corrupt"
- wait(0.5)
- m.Name = "* Corrupted"
- wait(0.5)
- end))
- end
- startup()
- PlayLoopedSound("MegaloStrikesBack", 1)
- Tool = Instance.new("HopperBin", player.Backpack)
- Tool.Name = "Megalo"
- Tool.Selected:connect(function(mouse)
- RW.Part0 = char.Torso
- RW.C0 = CFrame.new(1.5, 0.5, 0)
- RW.C1 = CFrame.new(0, 0.5, 0)
- RW.Part1 = char["Right Arm"]
- RW.Parent = char.Torso
- handle = Instance.new("Part", suit)
- handle.TopSurface = "Smooth"
- handle.BottomSurface = "Smooth"
- handle.Size = Vector3.new(0.2, 0.5, 0.5)
- handle.CanCollide = false
- handle.BrickColor = BrickColor.new("Really Orange")
- handle.FormFactor = "Custom"
- local Weldb = Instance.new("Weld", char)
- Weldb.Part0 = char["Right Arm"]
- Weldb.Part1 = handle
- Weldb.C1 = CFrame.new(0, -1.6, 0.8) * CFrame.fromEulerAnglesXYZ(-4.2, 0, 0)
- local KnifeMesh = Instance.new("SpecialMesh", handle)
- KnifeMesh.MeshType = "FileMesh"
- KnifeMesh.MeshId = "http://www.roblox.com/asset/?id=163353363"
- KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=121944805"
- function touch(hit)
- if vDebounce == true and hit.Parent:findFirstChild("Humanoid") ~= nil then
- if hit.Parent.Name == char.Name then
- return
- end
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000
- do
- local HitSounds = {
- Hurt = Instance.new("Sound")
- }
- HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=257001402"
- HitSounds.Hurt.Volume = 1
- function PlayHitSound(soundname, pitch)
- HitSounds[soundname].Parent = hit.Parent.Torso
- HitSounds[soundname].Pitch = pitch
- HitSounds[soundname]:Play()
- local oldsound = HitSounds[soundname]
- coroutine.resume(coroutine.create(function()
- wait(4)
- oldsound:Destroy()
- end))
- HitSounds[soundname] = HitSounds[soundname]:clone()
- end
- PlayHitSound("Hurt", 1)
- end
- end
- end
- handle.Touched:connect(touch)
- function teleportPlayer(pos)
- if player == nil or player.Character == nil then
- return
- end
- Torso.CFrame = CFrame.new(Vector3.new(pos.x, pos.y, pos.z))
- end
- function slash1()
- if not vDebounce then
- vDebounce = true
- RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
- wait(0.1)
- PlaySound("Slash", 1)
- coroutine.resume(coroutine.create(function()
- for i = 1, 10 do
- wait()
- local RedSlash = Instance.new("Part", suit)
- RedSlash.FormFactor = "Custom"
- RedSlash.Size = Vector3.new(0.5, 2, 0.5)
- RedSlash.Transparency = 0.5
- local selectionBox = Instance.new("SelectionBox", RedSlash)
- selectionBox.Adornee = RedSlash
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.005
- RedSlash.TopSurface = 0
- RedSlash.BottomSurface = 0
- local colorc = {"Really Orange"}
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- RedSlash.BrickColor = Fire
- RedSlash.CanCollide = false
- RedSlash.Anchored = true
- RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
- game.Debris:AddItem(RedSlash, 0.1)
- end
- end))
- for i = 1, 3 do
- wait()
- RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
- end
- wait(0.3)
- RW.C0 = CFrame.new(1.5, 0.5, 0)
- RW.C1 = CFrame.new(0, 0.5, 0)
- slashvalue = slashvalue + 1
- vDebounce = false
- end
- end
- function slash2()
- if not vDebounce then
- vDebounce = true
- coroutine.resume(coroutine.create(function()
- for i = 1, 20 do
- wait()
- local RedSlash2 = Instance.new("Part", suit)
- RedSlash2.FormFactor = "Custom"
- RedSlash2.Size = Vector3.new(0.5, 2, 0.5)
- RedSlash2.Transparency = 0.5
- local selectionBox = Instance.new("SelectionBox", RedSlash2)
- selectionBox.Adornee = RedSlash2
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.005
- RedSlash2.TopSurface = 0
- RedSlash2.BottomSurface = 0
- local colorc = {"Really Orange"}
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- RedSlash2.BrickColor = Fire
- RedSlash2.CanCollide = false
- RedSlash2.Anchored = true
- RedSlash2.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
- game.Debris:AddItem(RedSlash2, 0.2)
- end
- end))
- for i = 1, 10 do
- wait()
- RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
- RW.C1 = cf(0, 0.5, 0) * euler(0.1 * i, 0, 0)
- end
- PlaySound("Slash", 1)
- for i = 1, 3 do
- wait()
- RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
- RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
- end
- wait(0.3)
- RW.C0 = CFrame.new(1.5, 0.5, 0)
- RW.C1 = CFrame.new(0, 0.5, 0)
- slashvalue = slashvalue + 1
- vDebounce = false
- end
- end
- function slash3()
- if not vDebounce then
- vDebounce = true
- PlaySound("Slash", 1)
- coroutine.resume(coroutine.create(function()
- for i = 1, 20 do
- wait()
- local RedSlash3 = Instance.new("Part", suit)
- RedSlash3.FormFactor = "Custom"
- RedSlash3.Size = Vector3.new(0.5, 2, 0.5)
- RedSlash3.Transparency = 0.5
- local selectionBox = Instance.new("SelectionBox", RedSlash3)
- selectionBox.Adornee = RedSlash3
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.005
- RedSlash3.TopSurface = 0
- RedSlash3.BottomSurface = 0
- local colorc = {"Really Orange"}
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- RedSlash3.BrickColor = Fire
- RedSlash3.CanCollide = false
- RedSlash3.Anchored = true
- RedSlash3.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
- game.Debris:AddItem(RedSlash3, 0.3)
- end
- end))
- for i = 1, 3 do
- wait()
- RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
- RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
- end
- wait(0.3)
- PlaySound("Slash", 1)
- for i = 1, 3 do
- wait()
- RW.C0 = cf(1.5, 0.5, 0) * euler(1.5, 0, 0)
- RW.C1 = cf(0, 0.5, 0) * euler(0.6 * i, 0, 0)
- end
- wait(0.3)
- RW.C0 = CFrame.new(1.5, 0.5, 0)
- RW.C1 = CFrame.new(0, 0.5, 0)
- slashvalue = slashvalue - 2
- vDebounce = false
- end
- end
- function KnifeBeam1()
- if not vDebounce then
- vDebounce = true
- RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
- wait(0.1)
- PlaySound("Slash", 1)
- coroutine.resume(coroutine.create(function()
- for i = 1, 10 do
- wait()
- local p = Instance.new("Part", handle)
- p.FormFactor = "Custom"
- p.Size = Vector3.new(1, 0.5, 1)
- p.Transparency = 0.5
- local selectionBox = Instance.new("SelectionBox", p)
- selectionBox.Adornee = p
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.005
- p.Material = "Neon"
- p.TopSurface = 0
- p.BottomSurface = 0
- local colorc = {"Really Orange"}
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- p.BrickColor = Fire
- p.CanCollide = false
- p.Anchored = true
- p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
- game.Debris:AddItem(p, 0.1)
- end
- end))
- for i = 1, 3 do
- wait()
- RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
- end
- coroutine.resume(coroutine.create(function()
- local ps = Instance.new("Part", suit)
- ps.Name = "MagicPart"
- ps.TopSurface = "Smooth"
- ps.BottomSurface = "Smooth"
- ps.BrickColor = BrickColor.new("Institutional Really Pink")
- ps.Material = "Neon"
- ps.FormFactor = "Custom"
- ps.Size = Vector3.new(5, 1, 1)
- ps.Anchored = true
- ps.Transparency = 0.5
- ps.CanCollide = false
- ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
- local selectionBox = Instance.new("SelectionBox", ps)
- selectionBox.Adornee = ps
- selectionBox.Color = BrickColor.new("Really Orange")
- selectionBox.LineThickness = 0.2
- selectionBox.Transparency = 0.5
- function touch(hit)
- if hit.Parent.Name == char.Name then
- return
- end
- if hit.Parent:findFirstChild("Humanoid") ~= nil then
- ps:remove()
- if hit.Parent.Name == char.Name then
- return
- end
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000000000000000000000000000000000000000
- do
- local HitSounds = {
- Hurt = Instance.new("Sound")
- }
- HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
- HitSounds.Hurt.Volume = 1
- function PlayHitSound(soundname, pitch)
- HitSounds[soundname].Parent = hit.Parent.Torso
- HitSounds[soundname].Pitch = pitch
- HitSounds[soundname]:Play()
- local oldsound = HitSounds[soundname]
- coroutine.resume(coroutine.create(function()
- wait(4)
- oldsound:Destroy()
- end))
- HitSounds[soundname] = HitSounds[soundname]:clone()
- end
- PlayHitSound("Hurt", 1)
- end
- end
- end
- ps.Touched:connect(touch)
- coroutine.resume(coroutine.create(function()
- for i = 1, 50 do
- wait()
- ps.CFrame = ps.CFrame * CFrame.new(0, 0, -4)
- end
- ps.Transparency = ps.Transparency + 1
- wait()
- ps.Transparency = ps.Transparency + 1
- wait()
- ps.Transparency = ps.Transparency + 1
- wait()
- ps.Transparency = ps.Transparency + 1
- wait()
- ps.Transparency = ps.Transparency + 1
- wait()
- ps:remove()
- end))
- end))
- wait(0.3)
- RW.C0 = CFrame.new(1.5, 0.5, 0)
- RW.C1 = CFrame.new(0, 0.5, 0)
- beamvalue = beamvalue + 1
- vDebounce = false
- end
- end
- function KnifeBeam2()
- if not vDebounce then
- vDebounce = true
- coroutine.resume(coroutine.create(function()
- for i = 1, 20 do
- wait()
- local p = Instance.new("Part", handle)
- p.FormFactor = "Custom"
- p.Size = Vector3.new(1, 0.5, 1)
- p.Transparency = 0.5
- local selectionBox = Instance.new("SelectionBox", p)
- selectionBox.Adornee = p
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.005
- p.TopSurface = 0
- p.BottomSurface = 0
- local colorc = {"Really Orange"}
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- p.BrickColor = Fire
- p.CanCollide = false
- p.Anchored = true
- p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
- game.Debris:AddItem(p, 0.2)
- end
- end))
- for i = 1, 10 do
- wait()
- RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
- RW.C1 = cf(0, 0.5, 0) * euler(0.1 * i, 0, 0)
- end
- PlaySound("Slash", 1)
- for i = 1, 3 do
- wait()
- RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
- RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
- end
- coroutine.resume(coroutine.create(function()
- local ps = Instance.new("Part", suit)
- ps.Name = "MagicPart"
- ps.TopSurface = "Smooth"
- ps.BottomSurface = "Smooth"
- ps.BrickColor = BrickColor.new("Institutional Really Pink")
- ps.Material = "Neon"
- ps.FormFactor = "Custom"
- ps.Size = Vector3.new(1, 5, 1)
- ps.Anchored = true
- ps.Transparency = 0.5
- ps.CanCollide = false
- ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(-10, 0, 0)
- local selectionBox = Instance.new("SelectionBox", ps)
- selectionBox.Adornee = ps
- selectionBox.Color = BrickColor.new("Really Orange")
- selectionBox.LineThickness = 0.2
- selectionBox.Transparency = 0.5
- function touch(hit)
- if hit.Parent.Name == char.Name then
- return
- end
- if hit.Parent:findFirstChild("Humanoid") ~= nil then
- ps:remove()
- if hit.Parent.Name == char.Name then
- return
- end
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10000000000000000000000000000000000000000000000000
- do
- local HitSounds = {
- Hurt = Instance.new("Sound")
- }
- HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
- HitSounds.Hurt.Volume = 1
- function PlayHitSound(soundname, pitch)
- HitSounds[soundname].Parent = hit.Parent.Torso
- HitSounds[soundname].Pitch = pitch
- HitSounds[soundname]:Play()
- local oldsound = HitSounds[soundname]
- coroutine.resume(coroutine.create(function()
- wait(4)
- oldsound:Destroy()
- end))
- HitSounds[soundname] = HitSounds[soundname]:clone()
- end
- PlayHitSound("Hurt", 1)
- end
- end
- end
- ps.Touched:connect(touch)
- coroutine.resume(coroutine.create(function()
- for i = 1, 50 do
- wait()
- ps.CFrame = ps.CFrame * CFrame.new(0, -1.9, 3)
- end
- ps.Transparency = ps.Transparency + 1
- wait()
- ps.Transparency = ps.Transparency + 1
- wait()
- ps.Transparency = ps.Transparency + 1
- wait()
- ps.Transparency = ps.Transparency + 1
- wait()
- ps.Transparency = ps.Transparency + 1
- wait()
- ps:remove()
- end))
- end))
- wait(0.3)
- RW.C0 = CFrame.new(1.5, 0.5, 0)
- RW.C1 = CFrame.new(0, 0.5, 0)
- beamvalue = beamvalue + 1
- vDebounce = false
- end
- end
- function KnifeBeam3()
- if not vDebounce then
- vDebounce = true
- RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
- wait(0.1)
- PlaySound("Slash", 1)
- coroutine.resume(coroutine.create(function()
- for i = 1, 10 do
- wait()
- local p = Instance.new("Part", handle)
- p.FormFactor = "Custom"
- p.Size = Vector3.new(1, 0.5, 1)
- p.Transparency = 0.5
- local selectionBox = Instance.new("SelectionBox", p)
- selectionBox.Adornee = p
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.005
- p.Material = "Neon"
- p.TopSurface = 0
- p.BottomSurface = 0
- local colorc = {"Really Orange"}
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- p.BrickColor = Fire
- p.CanCollide = false
- p.Anchored = true
- p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
- game.Debris:AddItem(p, 0.1)
- end
- end))
- for i = 1, 3 do
- wait()
- RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
- end
- coroutine.resume(coroutine.create(function()
- local ps = Instance.new("Part", suit)
- ps.Name = "MagicPart"
- ps.TopSurface = "Smooth"
- ps.BottomSurface = "Smooth"
- ps.BrickColor = BrickColor.new("Institutional Really Pink")
- ps.Material = "Neon"
- ps.FormFactor = "Custom"
- ps.Size = Vector3.new(10, 10, 1)
- ps.Anchored = true
- ps.Transparency = 0.5
- ps.CanCollide = false
- ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
- local selectionBox = Instance.new("SelectionBox", ps)
- selectionBox.Adornee = ps
- selectionBox.Color = BrickColor.new("Really Orange")
- selectionBox.LineThickness = 0.2
- selectionBox.Transparency = 0.5
- function touch(hit)
- if hit.Parent.Name == char.Name then
- return
- end
- if hit.Parent:findFirstChild("Humanoid") ~= nil then
- ps:remove()
- if hit.Parent.Name == char.Name then
- return
- end
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000000000000000
- do
- local HitSounds = {
- Hurt = Instance.new("Sound")
- }
- HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
- HitSounds.Hurt.Volume = 1
- function PlayHitSound(soundname, pitch)
- HitSounds[soundname].Parent = hit.Parent.Torso
- HitSounds[soundname].Pitch = pitch
- HitSounds[soundname]:Play()
- local oldsound = HitSounds[soundname]
- coroutine.resume(coroutine.create(function()
- wait(4)
- oldsound:Destroy()
- end))
- HitSounds[soundname] = HitSounds[soundname]:clone()
- end
- PlayHitSound("Hurt", 1)
- end
- end
- end
- ps.Touched:connect(touch)
- coroutine.resume(coroutine.create(function()
- for i = 1, 50 do
- wait()
- ps.CFrame = ps.CFrame * CFrame.new(0, 0, -5)
- end
- ps.Transparency = ps.Transparency + 1
- wait()
- ps.Transparency = ps.Transparency + 1
- wait()
- ps.Transparency = ps.Transparency + 1
- wait()
- ps.Transparency = ps.Transparency + 1
- wait()
- ps.Transparency = ps.Transparency + 1
- wait()
- ps:remove()
- end))
- end))
- wait(0.3)
- RW.C0 = CFrame.new(1.5, 0.5, 0)
- RW.C1 = CFrame.new(0, 0.5, 0)
- beamvalue = beamvalue - 2
- vDebounce = false
- end
- end
- function drawded()
- if onehitkill == true then
- onehitkill = false
- RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
- wait(0.1)
- PlaySound("Slash", 1)
- coroutine.resume(coroutine.create(function()
- for i = 1, 10 do
- wait()
- local p = Instance.new("Part", handle)
- p.FormFactor = "Custom"
- p.Size = Vector3.new(1, 1, 1)
- p.Transparency = 0.5
- local selectionBox = Instance.new("SelectionBox", p)
- selectionBox.Adornee = p
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.001
- p.TopSurface = 0
- p.BottomSurface = 0
- local colorc = {
- "Really red"
- }
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- p.BrickColor = Fire
- p.CanCollide = false
- p.Anchored = true
- p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
- game.Debris:AddItem(p, 0.1)
- end
- end))
- for i = 1, 3 do
- wait()
- RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
- end
- coroutine.resume(coroutine.create(function()
- ultra = Instance.new("Part", suit)
- ultra.Name = "MagicPart"
- ultra.TopSurface = "Smooth"
- ultra.BottomSurface = "Smooth"
- ultra.BrickColor = BrickColor.new("Really red")
- ultra.Material = "Neon"
- ultra.FormFactor = "Custom"
- ultra.Size = Vector3.new(5, 1, 1)
- ultra.Anchored = true
- ultra.CanCollide = false
- ultra.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
- local selectionBox = Instance.new("SelectionBox", ultra)
- selectionBox.Adornee = ultra
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.01
- selectionBox.Transparency = 0
- end))
- wait(0.3)
- RW.C0 = CFrame.new(1.5, 0.5, 0)
- RW.C1 = CFrame.new(0, 0.5, 0)
- RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
- wait(0.1)
- PlaySound("Slash", 1)
- coroutine.resume(coroutine.create(function()
- for i = 1, 10 do
- wait()
- local p = Instance.new("Part", handle)
- p.FormFactor = "Custom"
- p.Size = Vector3.new(1, 0.5, 1)
- p.Transparency = 0.5
- local selectionBox = Instance.new("SelectionBox", p)
- selectionBox.Adornee = p
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.001
- p.TopSurface = 0
- p.BottomSurface = 0
- local colorc = {
- "Really red"
- }
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- p.BrickColor = Fire
- p.CanCollide = false
- p.Anchored = true
- p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
- game.Debris:AddItem(p, 0.1)
- end
- end))
- for i = 1, 3 do
- wait()
- RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
- end
- coroutine.resume(coroutine.create(function()
- ultra2 = Instance.new("Part", suit)
- ultra2.Name = "MagicPart"
- ultra2.TopSurface = "Smooth"
- ultra2.BottomSurface = "Smooth"
- ultra2.BrickColor = BrickColor.new("Really red")
- ultra2.Material = "Neon"
- ultra2.FormFactor = "Custom"
- ultra2.Size = Vector3.new(5, 1, 1)
- ultra2.Anchored = true
- ultra2.CanCollide = false
- ultra2.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
- local selectionBox = Instance.new("SelectionBox", ultra2)
- selectionBox.Adornee = ultra2
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.01
- selectionBox.Transparency = 0
- end))
- wait(0.3)
- RW.C0 = CFrame.new(1.5, 0.5, 0)
- RW.C1 = CFrame.new(0, 0.5, 0)
- PlaySound("Slash", 1)
- coroutine.resume(coroutine.create(function()
- ultra3 = Instance.new("Part", suit)
- ultra3.Name = "MagicPart"
- ultra3.TopSurface = "Smooth"
- ultra3.BottomSurface = "Smooth"
- ultra3.BrickColor = BrickColor.new("Really red")
- ultra3.Material = "Neon"
- ultra3.FormFactor = "Custom"
- ultra3.Size = Vector3.new(1, 5, 1)
- ultra3.Anchored = true
- ultra3.CanCollide = false
- ultra3.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
- local selectionBox = Instance.new("SelectionBox", ultra3)
- selectionBox.Adornee = ultra3
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.01
- selectionBox.Transparency = 0
- end))
- coroutine.resume(coroutine.create(function()
- for i = 1, 10 do
- wait()
- local p = Instance.new("Part", handle)
- p.FormFactor = "Custom"
- p.Size = Vector3.new(1, 0.5, 1)
- p.Transparency = 0.5
- local selectionBox = Instance.new("SelectionBox", p)
- selectionBox.Adornee = p
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.001
- p.TopSurface = 0
- p.BottomSurface = 0
- local colorc = {
- "Really red"
- }
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- p.BrickColor = Fire
- p.CanCollide = false
- p.Anchored = true
- p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
- game.Debris:AddItem(p, 0.1)
- end
- end))
- coroutine.resume(coroutine.create(function()
- for i = 1, 20 do
- wait()
- local p = Instance.new("Part", handle)
- p.FormFactor = "Custom"
- p.Size = Vector3.new(1, 0.5, 1)
- p.Transparency = 0.5
- local selectionBox = Instance.new("SelectionBox", p)
- selectionBox.Adornee = p
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.005
- p.TopSurface = 0
- p.BottomSurface = 0
- local colorc = {"Really Orange"}
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- p.BrickColor = Fire
- p.CanCollide = false
- p.Anchored = true
- p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
- game.Debris:AddItem(p, 0.3)
- end
- end))
- for i = 1, 3 do
- wait()
- RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
- RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
- end
- wait(0.3)
- PlaySound("Slash", 1)
- coroutine.resume(coroutine.create(function()
- ultra4 = Instance.new("Part", suit)
- ultra4.Name = "MagicPart"
- ultra4.TopSurface = "Smooth"
- ultra4.BottomSurface = "Smooth"
- ultra4.BrickColor = BrickColor.new("Really red")
- ultra4.Material = "Neon"
- ultra4.FormFactor = "Custom"
- ultra4.Size = Vector3.new(1, 5, 1)
- ultra4.Anchored = true
- ultra4.CanCollide = false
- ultra4.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
- local selectionBox = Instance.new("SelectionBox", ultra3)
- selectionBox.Adornee = ultra4
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.01
- selectionBox.Transparency = 0
- end))
- for i = 1, 3 do
- wait()
- RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
- RW.C1 = cf(0, 0.5, 0) * euler(0.3 * i, 0, 0)
- end
- wait(0.3)
- RW.C0 = CFrame.new(1.5, 0.5, 0)
- RW.C1 = CFrame.new(0, 0.5, 0)
- RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
- wait(0.1)
- PlaySound("Slash", 1)
- coroutine.resume(coroutine.create(function()
- for i = 1, 10 do
- wait()
- local p = Instance.new("Part", handle)
- p.FormFactor = "Custom"
- p.Size = Vector3.new(1, 0.5, 1)
- p.Transparency = 0.5
- local selectionBox = Instance.new("SelectionBox", p)
- selectionBox.Adornee = p
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.001
- p.TopSurface = 0
- p.BottomSurface = 0
- local colorc = {
- "Really red"
- }
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- p.BrickColor = Fire
- p.CanCollide = false
- p.Anchored = true
- p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
- game.Debris:AddItem(p, 0.1)
- end
- end))
- for i = 1, 3 do
- wait()
- RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
- end
- coroutine.resume(coroutine.create(function()
- ultra5 = Instance.new("Part", suit)
- ultra5.Name = "MagicPart"
- ultra5.TopSurface = "Smooth"
- ultra5.BottomSurface = "Smooth"
- ultra5.BrickColor = BrickColor.new("Really red")
- ultra5.Material = "Neon"
- ultra5.FormFactor = "Custom"
- ultra5.Size = Vector3.new(5, 1, 1)
- ultra5.Anchored = true
- ultra5.CanCollide = false
- ultra5.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
- local selectionBox = Instance.new("SelectionBox", ultra2)
- selectionBox.Adornee = ultra5
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.01
- selectionBox.Transparency = 0
- end))
- wait()
- local p = Instance.new("Part", handle)
- p.FormFactor = "Custom"
- p.Material = "Neon"
- p.Size = Vector3.new(1, 2, 1)
- p.Transparency = 0
- local selectionBox = Instance.new("SelectionBox", p)
- selectionBox.Adornee = p
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.001
- p.TopSurface = 0
- p.BottomSurface = 0
- local colorc = {
- "Really red"
- }
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- p.BrickColor = Fire
- p.CanCollide = false
- p.Anchored = true
- p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
- local light1 = Instance.new("SpotLight", p)
- light1.Brightness = 164
- light1.Color = Color3.new(255, 0, 0)
- light1.Range = 7
- for i = 1, 13 do
- p.Transparency = p.Transparency + 0.1
- p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
- wait()
- end
- game.Debris:AddItem(p, 0.1)
- coroutine.resume(coroutine.create(function()
- coroutine.resume(coroutine.create(function()
- for i = 1, 100 do
- wait()
- ultra.CFrame = ultra.CFrame * CFrame.new(0, 0, -4)
- end
- end))
- coroutine.resume(coroutine.create(function()
- for i = 1, 100 do
- wait()
- ultra2.CFrame = ultra2.CFrame * CFrame.new(0, 0, -4)
- end
- end))
- coroutine.resume(coroutine.create(function()
- for i = 1, 100 do
- wait()
- ultra3.CFrame = ultra3.CFrame * CFrame.new(0, 0, -4)
- end
- end))
- coroutine.resume(coroutine.create(function()
- for i = 1, 100 do
- wait()
- ultra4.CFrame = ultra4.CFrame * CFrame.new(0, 0, -4)
- end
- end))
- coroutine.resume(coroutine.create(function()
- for i = 1, 100 do
- wait()
- ultra5.CFrame = ultra5.CFrame * CFrame.new(0, 0, -4)
- end
- end))
- wait(3)
- ultra.Transparency = ultra.Transparency + 1
- ultra2.Transparency = ultra2.Transparency + 1
- ultra3.Transparency = ultra3.Transparency + 1
- ultra4.Transparency = ultra4.Transparency + 1
- ultra5.Transparency = ultra5.Transparency + 1
- wait()
- ultra.Transparency = ultra.Transparency + 1
- ultra2.Transparency = ultra2.Transparency + 1
- ultra3.Transparency = ultra3.Transparency + 1
- ultra4.Transparency = ultra4.Transparency + 1
- ultra5.Transparency = ultra5.Transparency + 1
- wait()
- ultra.Transparency = ultra.Transparency + 1
- ultra2.Transparency = ultra2.Transparency + 1
- ultra3.Transparency = ultra3.Transparency + 1
- ultra4.Transparency = ultra4.Transparency + 1
- ultra5.Transparency = ultra5.Transparency + 1
- wait()
- ultra.Transparency = ultra.Transparency + 1
- ultra2.Transparency = ultra2.Transparency + 1
- ultra3.Transparency = ultra3.Transparency + 1
- ultra4.Transparency = ultra4.Transparency + 1
- ultra5.Transparency = ultra5.Transparency + 1
- wait()
- ultra.Transparency = ultra.Transparency + 1
- ultra2.Transparency = ultra2.Transparency + 1
- ultra3.Transparency = ultra3.Transparency + 1
- ultra4.Transparency = ultra4.Transparency + 1
- ultra5.Transparency = ultra5.Transparency + 1
- wait()
- ultra:remove()
- ultra2:remove()
- ultra3:remove()
- ultra4:remove()
- ultra5:remove()
- end))
- function touch(hit)
- if hit.Parent.Name == char.Name then
- return
- end
- if hit.Parent:findFirstChild("Humanoid") ~= nil then
- if hit.Parent.Name == char.Name then
- return
- end
- hit.Parent:BreakJoints()
- ultra:remove()
- do
- local HitSounds = {
- Hurt = Instance.new("Sound")
- }
- HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
- HitSounds.Hurt.Volume = 1
- function PlayHitSound(soundname, pitch)
- HitSounds[soundname].Parent = hit.Parent.Torso
- HitSounds[soundname].Pitch = pitch
- HitSounds[soundname]:Play()
- local oldsound = HitSounds[soundname]
- coroutine.resume(coroutine.create(function()
- wait(4)
- oldsound:Destroy()
- end))
- HitSounds[soundname] = HitSounds[soundname]:clone()
- end
- PlayHitSound("Hurt", 1)
- end
- end
- end
- ultra.Touched:connect(touch)
- function touch(hit)
- if hit.Parent.Name == char.Name then
- return
- end
- if hit.Parent:findFirstChild("Humanoid") ~= nil then
- if hit.Parent.Name == char.Name then
- return
- end
- hit.Parent:BreakJoints()
- ultra2:remove()
- do
- local HitSounds = {
- Hurt = Instance.new("Sound")
- }
- HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
- HitSounds.Hurt.Volume = 1
- function PlayHitSound(soundname, pitch)
- HitSounds[soundname].Parent = hit.Parent.Torso
- HitSounds[soundname].Pitch = pitch
- HitSounds[soundname]:Play()
- local oldsound = HitSounds[soundname]
- coroutine.resume(coroutine.create(function()
- wait(4)
- oldsound:Destroy()
- end))
- HitSounds[soundname] = HitSounds[soundname]:clone()
- end
- PlayHitSound("Hurt", 1)
- end
- end
- end
- ultra2.Touched:connect(touch)
- function touch(hit)
- if hit.Parent.Name == char.Name then
- return
- end
- if hit.Parent:findFirstChild("Humanoid") ~= nil then
- if hit.Parent.Name == char.Name then
- return
- end
- hit.Parent:BreakJoints()
- ultra2:remove()
- do
- local HitSounds = {
- Hurt = Instance.new("Sound")
- }
- HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
- HitSounds.Hurt.Volume = 1
- function PlayHitSound(soundname, pitch)
- HitSounds[soundname].Parent = hit.Parent.Torso
- HitSounds[soundname].Pitch = pitch
- HitSounds[soundname]:Play()
- local oldsound = HitSounds[soundname]
- coroutine.resume(coroutine.create(function()
- wait(4)
- oldsound:Destroy()
- end))
- HitSounds[soundname] = HitSounds[soundname]:clone()
- end
- PlayHitSound("Hurt", 1)
- end
- end
- end
- ultra2.Touched:connect(touch)
- function touch(hit)
- if hit.Parent.Name == char.Name then
- return
- end
- if hit.Parent:findFirstChild("Humanoid") ~= nil then
- if hit.Parent.Name == char.Name then
- return
- end
- hit.Parent:BreakJoints()
- ultra3:remove()
- do
- local HitSounds = {
- Hurt = Instance.new("Sound")
- }
- HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
- HitSounds.Hurt.Volume = 1
- function PlayHitSound(soundname, pitch)
- HitSounds[soundname].Parent = hit.Parent.Torso
- HitSounds[soundname].Pitch = pitch
- HitSounds[soundname]:Play()
- local oldsound = HitSounds[soundname]
- coroutine.resume(coroutine.create(function()
- wait(4)
- oldsound:Destroy()
- end))
- HitSounds[soundname] = HitSounds[soundname]:clone()
- end
- PlayHitSound("Hurt", 1)
- end
- end
- end
- ultra3.Touched:connect(touch)
- function touch(hit)
- if hit.Parent.Name == char.Name then
- return
- end
- if hit.Parent:findFirstChild("Humanoid") ~= nil then
- if hit.Parent.Name == char.Name then
- return
- end
- hit.Parent:BreakJoints()
- ultra4:remove()
- do
- local HitSounds = {
- Hurt = Instance.new("Sound")
- }
- HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
- HitSounds.Hurt.Volume = 1
- function PlayHitSound(soundname, pitch)
- HitSounds[soundname].Parent = hit.Parent.Torso
- HitSounds[soundname].Pitch = pitch
- HitSounds[soundname]:Play()
- local oldsound = HitSounds[soundname]
- coroutine.resume(coroutine.create(function()
- wait(4)
- oldsound:Destroy()
- end))
- HitSounds[soundname] = HitSounds[soundname]:clone()
- end
- PlayHitSound("Hurt", 1)
- end
- end
- end
- ultra4.Touched:connect(touch)
- function touch(hit)
- if hit.Parent.Name == char.Name then
- return
- end
- if hit.Parent:findFirstChild("Humanoid") ~= nil then
- if hit.Parent.Name == char.Name then
- return
- end
- hit.Parent:BreakJoints()
- ultra5:remove()
- do
- local HitSounds = {
- Hurt = Instance.new("Sound")
- }
- HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
- HitSounds.Hurt.Volume = 1
- function PlayHitSound(soundname, pitch)
- HitSounds[soundname].Parent = hit.Parent.Torso
- HitSounds[soundname].Pitch = pitch
- HitSounds[soundname]:Play()
- local oldsound = HitSounds[soundname]
- coroutine.resume(coroutine.create(function()
- wait(4)
- oldsound:Destroy()
- end))
- HitSounds[soundname] = HitSounds[soundname]:clone()
- end
- PlayHitSound("Hurt", 1)
- end
- end
- end
- ultra5.Touched:connect(touch)
- wait()
- RW.C0 = CFrame.new(1.5, 0.5, 0)
- RW.C1 = CFrame.new(0, 0.5, 0)
- local Dialogconnect = Instance.new("Part", suit)
- Dialogconnect.TopSurface = "Smooth"
- Dialogconnect.BottomSurface = "Smooth"
- Dialogconnect.Material = "Neon"
- Dialogconnect.FormFactor = "Custom"
- Dialogconnect.Size = Vector3.new(1, 1, 1)
- Dialogconnect.Transparency = 1
- Dialogconnect.CanCollide = false
- Dialogconnect.BrickColor = BrickColor.new("Really Orange")
- local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
- selectionBox1.Adornee = Dialogconnect
- selectionBox1.Color = BrickColor.new("Really red")
- selectionBox1.LineThickness = 0.01
- selectionBox1.Transparency = 1
- local Weld = Instance.new("Weld", char)
- Weld.Part0 = char.Torso
- Weld.Part1 = Dialogconnect
- Weld.C1 = CFrame.new(0, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- Dialogconnect.BrickColor = BrickColor.new("New Yeller")
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- Dialogconnect.BrickColor = BrickColor.new("Lime green")
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- Dialogconnect:remove()
- onehitkill = true
- end
- end
- function Stuckhit()
- if not vDebounce then
- vDebounce = true
- RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
- wait(0.1)
- PlaySound("Slash", 1)
- coroutine.resume(coroutine.create(function()
- for i = 1, 10 do
- wait()
- local RedSlash = Instance.new("Part", handle)
- RedSlash.FormFactor = "Custom"
- RedSlash.Size = Vector3.new(0.5, 2, 0.5)
- RedSlash.Transparency = 0.5
- local selectionBox = Instance.new("SelectionBox", RedSlash)
- selectionBox.Adornee = RedSlash
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.005
- RedSlash.TopSurface = 0
- RedSlash.BottomSurface = 0
- local colorc = {"Really Orange"}
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- RedSlash.BrickColor = Fire
- RedSlash.CanCollide = false
- RedSlash.Anchored = true
- RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
- game.Debris:AddItem(RedSlash, 0.1)
- end
- end))
- for i = 1, 3 do
- wait()
- RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
- end
- local ray = Ray.new(Handle.CFrame.p, (mouse.Hit.p - Handle.CFrame.p).unit * 1000)
- local hit, position = game.Workspace:FindPartOnRay(ray, player)
- wait(0.1)
- local ray = Ray.new(Handle.CFrame.p, (mouse.Hit.p - Handle.CFrame.p).unit * 300)
- local position = mouse.Hit.p
- local distance = (position - Handle.CFrame.p).magnitude
- local rp = Instance.new("Part", workspace)
- rp.Anchored = true
- rp.TopSurface = "Smooth"
- rp.BottomSurface = "Smooth"
- rp.Transparency = 1
- rp.BrickColor = BrickColor.new("Deep orange")
- rp.FormFactor = "Custom"
- rp.CanCollide = false
- rp.Size = Vector3.new(0.6, 0.6, distance)
- rp.Material = "Neon"
- rp.CFrame = CFrame.new(position, Handle.CFrame.p) * CFrame.new(0, 0, -distance / 2)
- local cy = Instance.new("BlockMesh", rp)
- for i = 1, 10 do
- wait()
- cy.Scale = cy.Scale - Vector3.new(0.1, 0.1, 0)
- end
- rp:Destroy()
- local ps = Instance.new("Part", suit)
- ps.Name = "MagicPart"
- ps.TopSurface = "Smooth"
- ps.BottomSurface = "Smooth"
- ps.BrickColor = BrickColor.new("Really Orange")
- ps.FormFactor = "Custom"
- ps.Transparency = 0.9
- ps.Size = Vector3.new(5, 250, 5)
- ps.Anchored = true
- ps.CanCollide = false
- ps.CFrame = CFrame.new(position)
- local cy = Instance.new("BlockMesh", ps)
- function touch(hit)
- if hit.Parent:findFirstChild("Humanoid") ~= nil then
- if hit.Parent.Name == char.Name then
- return
- end
- hit.Parent.Torso.Anchored = true
- do
- local HitSounds = {
- Hurt = Instance.new("Sound")
- }
- HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
- HitSounds.Hurt.Volume = 1
- function PlayHitSound(soundname, pitch)
- HitSounds[soundname].Parent = hit.Parent.Torso
- HitSounds[soundname].Pitch = pitch
- HitSounds[soundname]:Play()
- local oldsound = HitSounds[soundname]
- coroutine.resume(coroutine.create(function()
- wait(4)
- oldsound:Destroy()
- end))
- HitSounds[soundname] = HitSounds[soundname]:clone()
- end
- PlayHitSound("Hurt", 1)
- local p = Instance.new("Part", handle)
- p.FormFactor = "Custom"
- p.Material = "Neon"
- p.Size = Vector3.new(1, 2, 1)
- p.Transparency = 0
- local selectionBox = Instance.new("SelectionBox", p)
- selectionBox.Adornee = p
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.001
- p.TopSurface = 0
- p.BottomSurface = 0
- local colorc = {"Really Orange"}
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- p.BrickColor = Fire
- p.CanCollide = false
- p.Anchored = true
- p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
- coroutine.resume(coroutine.create(function()
- for i = 1, 100 do
- wait()
- p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
- end
- end))
- local light1 = Instance.new("SpotLight", p)
- light1.Brightness = 164
- light1.Color = Color3.new(255, 0, 0)
- light1.Range = 7
- for i = 1, 13 do
- p.Transparency = p.Transparency + 0.1
- wait(0.4)
- end
- game.Debris:AddItem(p, 0.1)
- PlaySound("Slash", 1)
- coroutine.resume(coroutine.create(function()
- for i = 1, 10 do
- wait()
- local RedSlash = Instance.new("Part", handle)
- RedSlash.FormFactor = "Custom"
- RedSlash.Size = Vector3.new(0.5, 2, 0.5)
- RedSlash.Transparency = 0.5
- local selectionBox = Instance.new("SelectionBox", RedSlash)
- selectionBox.Adornee = RedSlash
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.005
- RedSlash.TopSurface = 0
- RedSlash.BottomSurface = 0
- local colorc = {"Really Orange"}
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- RedSlash.BrickColor = Fire
- RedSlash.CanCollide = false
- RedSlash.Anchored = true
- RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
- game.Debris:AddItem(RedSlash, 0.1)
- end
- end))
- for i = 1, 3 do
- wait()
- RW.C0 = cf(1.5, 0.5, 0) * euler(1.5, 0, 0)
- RW.C1 = cf(0, 0.5, 0) * euler(0.6 * i, 0, 0)
- end
- hit.Parent.Torso.Anchored = false
- hit.Parent.Torso:BreakJoints()
- end
- end
- end
- ps.Touched:connect(touch)
- for i = 1, 8 do
- wait(0.5)
- ps.Transparency = ps.Transparency - 0.1
- end
- wait(2)
- RW.C0 = CFrame.new(1.5, 0.5, 0)
- RW.C1 = CFrame.new(0, 0.5, 0)
- ps:remove()
- end
- vDebounce = false
- end
- mouse.Button1Down:connect(function()
- if slashvalue == 1 then
- slash1()
- elseif slashvalue == 3 then
- slash3()
- elseif slashvalue == 2 then
- slash2()
- end
- end)
- function WelcomeToMySpecialAttack()
- CharaTalks()
- RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
- wait(0.1)
- PlaySound("Slash", 1)
- coroutine.resume(coroutine.create(function()
- for i = 1, 10 do
- wait()
- local RedSlash = Instance.new("Part", handle)
- RedSlash.FormFactor = "Custom"
- RedSlash.Size = Vector3.new(0.5, 2, 0.5)
- RedSlash.Transparency = 0.5
- local selectionBox = Instance.new("SelectionBox", RedSlash)
- selectionBox.Adornee = RedSlash
- selectionBox.Color = BrickColor.new("Really red")
- selectionBox.LineThickness = 0.005
- RedSlash.TopSurface = 0
- RedSlash.BottomSurface = 0
- local colorc = {"Really Orange"}
- local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
- RedSlash.BrickColor = Fire
- RedSlash.CanCollide = false
- RedSlash.Anchored = true
- RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
- game.Debris:AddItem(RedSlash, 0.1)
- end
- end))
- for i = 1, 3 do
- wait()
- RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
- RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
- end
- PlaySound("Explode", 1)
- coroutine.resume(coroutine.create(function()
- local ps = Instance.new("Part", suit)
- ps.Name = "MagicPart"
- ps.TopSurface = "Smooth"
- ps.BottomSurface = "Smooth"
- ps.BrickColor = BrickColor.new("Really Orange")
- ps.Material = "Neon"
- ps.FormFactor = "Custom"
- ps.Size = Vector3.new(1500, 1500, 1000)
- ps.Anchored = true
- ps.Transparency = 0
- ps.CanCollide = false
- ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -55) * CFrame.Angles(0, 0, 0)
- local selectionBox = Instance.new("SelectionBox", ps)
- selectionBox.Adornee = ps
- selectionBox.Color = BrickColor.new("Really Orange")
- selectionBox.LineThickness = 0.2
- selectionBox.Transparency = 0.5
- function touch(hit)
- if hit.Parent.Name == char.Name then
- return
- end
- if hit.Parent:findFirstChild("Humanoid") ~= nil then
- if hit.Parent.Name == char.Name then
- return
- end
- hit.Parent:BreakJoints()
- do
- local HitSounds = {
- Hurt = Instance.new("Sound")
- }
- HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
- HitSounds.Hurt.Volume = 1
- function PlayHitSound(soundname, pitch)
- HitSounds[soundname].Parent = hit.Parent.Torso
- HitSounds[soundname].Pitch = pitch
- HitSounds[soundname]:Play()
- local oldsound = HitSounds[soundname]
- coroutine.resume(coroutine.create(function()
- wait(4)
- oldsound:Destroy()
- end))
- HitSounds[soundname] = HitSounds[soundname]:clone()
- end
- PlayHitSound("Hurt", 1)
- end
- end
- end
- ps.Touched:connect(touch)
- coroutine.resume(coroutine.create(function()
- for i = 1, 500 do
- wait()
- ps.CFrame = ps.CFrame * CFrame.new(0, 0, -4)
- end
- ps.Transparency = ps.Transparency + 0.2
- wait()
- ps.Transparency = ps.Transparency + 0.2
- wait()
- ps.Transparency = ps.Transparency + 0.2
- wait()
- ps.Transparency = ps.Transparency + 0.2
- wait()
- ps.Transparency = ps.Transparency + 0.2
- ps:remove()
- end))
- end))
- wait(2)
- RW.C0 = CFrame.new(1.5, 0.5, 0)
- RW.C1 = CFrame.new(0, 0.5, 0)
- end
- mouse.KeyDown:connect(function(key)
- if key == "r" and specialattack == false then
- specialattack = true
- WelcomeToMySpecialAttack()
- local Dialogconnect = Instance.new("Part", suit)
- Dialogconnect.TopSurface = "Smooth"
- Dialogconnect.BottomSurface = "Smooth"
- Dialogconnect.Material = "Neon"
- Dialogconnect.FormFactor = "Custom"
- Dialogconnect.Size = Vector3.new(1, 1, 1)
- Dialogconnect.Transparency = 1
- Dialogconnect.CanCollide = false
- Dialogconnect.BrickColor = BrickColor.new("Really Orange")
- local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
- selectionBox1.Adornee = Dialogconnect
- selectionBox1.Color = BrickColor.new("Really red")
- selectionBox1.LineThickness = 0.01
- selectionBox1.Transparency = 1
- local Weld = Instance.new("Weld", char)
- Weld.Part0 = char.Torso
- Weld.Part1 = Dialogconnect
- Weld.C1 = CFrame.new(-3, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- Dialogconnect.BrickColor = BrickColor.new("New Yeller")
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- Dialogconnect.BrickColor = BrickColor.new("Lime green")
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- Dialogconnect:remove()
- specialattack = false
- end
- if key == "q" then
- if beamvalue == 1 then
- KnifeBeam1()
- elseif beamvalue == 2 then
- KnifeBeam2()
- elseif beamvalue == 3 then
- KnifeBeam3()
- end
- end
- if key == "x" and not vDebounce then
- vDebounce = true
- for i = 1, 5 do
- wait()
- Torso.Transparency = 0.5
- char["Left Arm"].Transparency = 0.5
- char["Left Leg"].Transparency = 0.5
- char["Right Arm"].Transparency = 0.5
- char["Right Leg"].Transparency = 0.5
- char.Head.Transparency = 0.5
- wait()
- Torso.Transparency = 0
- char["Left Arm"].Transparency = 0
- char["Left Leg"].Transparency = 0
- char["Right Arm"].Transparency = 0
- char["Right Leg"].Transparency = 0
- char.Head.Transparency = 0
- end
- teleportPlayer(mouse.hit.p)
- vDebounce = false
- end
- if key == "z" and onehitkilltwo == true then
- onehitkilltwo = false
- Stuckhit()
- local Dialogconnect = Instance.new("Part", suit)
- Dialogconnect.TopSurface = "Smooth"
- Dialogconnect.BottomSurface = "Smooth"
- Dialogconnect.Material = "Neon"
- Dialogconnect.FormFactor = "Custom"
- Dialogconnect.Size = Vector3.new(1, 1, 1)
- Dialogconnect.Transparency = 1
- Dialogconnect.CanCollide = false
- Dialogconnect.BrickColor = BrickColor.new("Really Orange")
- local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
- selectionBox1.Adornee = Dialogconnect
- selectionBox1.Color = BrickColor.new("Really red")
- selectionBox1.LineThickness = 0.01
- selectionBox1.Transparency = 1
- local Weld = Instance.new("Weld", char)
- Weld.Part0 = char.Torso
- Weld.Part1 = Dialogconnect
- Weld.C1 = CFrame.new(3, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- Dialogconnect.BrickColor = BrickColor.new("New Yeller")
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- Dialogconnect.BrickColor = BrickColor.new("Lime green")
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- wait()
- Dialogconnect.Transparency = 1
- selectionBox1.Transparency = 1
- wait()
- Dialogconnect.Transparency = 0
- selectionBox1.Transparency = 0
- Dialogconnect:remove()
- onehitkilltwo = true
- end
- if key == "e" then
- drawded()
- end
- end)
- Tool.Deselected:connect(function(mouse)
- RW.Parent = nil
- LW.Parent = nil
- handle:remove()
- RSH.Parent = player.Character.Torso
- LSH.Parent = player.Character.Torso
- end)
- end)
- function OnDeath()
- GETDUNKED()
- oldloopedsound:remove()
- end
- char.Humanoid.Died:connect(OnDeath)
- -- Player declarations
- local player = game.Players.megatron2006
- local char = player.Character
- -- Body parts
- local torso = char.Torso
- -- Tool declarations
- local mouseDown = false
- local keysDown = {}
- -- Earth bending declarations
- local raisingEarth = false
- local raisingTower = false
- local wall = false
- local groundAttack = false
- local lastTower = nil
- local disabled = {}
- local frames = {}
- local parts = {}
- local Taunts = {"You aren't dead yet?", "Just die!", "Take these, I insist!", "I told you it's useless!", "You will not be the first to die by my hand!", "You will suffer!", "Don't try to evade the inevitable!", "I will tear you apart!","You are pathetic!","You will never defeat me!","I AM GOD!"}
- local raisechats = {"I will make you realize the depth of my power, even if I have to grind your body into dust!","I suggest you run.", "Now you're just pissing me off.", "Hmph.", "It's useless.",".....", "Your life ends here!","Foolish!","Do you know who I am?","What stupidity.","Hmm.","Hmph. Your confidence is annoying.","You cannot kill a god."}
- -- Main
- function main(mouse)
- while true do wait(1/30)
- local look = CFrame.new(torso.Position, torso.Position + mouse.Hit.lookVector)
- -- Reset parts
- parts = {}
- -- Get parts
- for x = -20, 20, 10 do
- for y = -20, 20, 10 do
- for z = -30, -10, 10 do
- local pos = look * Vector3.new(x, y, z)
- getPartsInRegion3(
- Region3.new(
- pos + Vector3.new(1,1,1)*-9,
- pos + Vector3.new(1,1,1)* 9
- ),
- parts
- )
- end
- end
- end
- -- Mouse down
- if mouseDown then
- -- Create dif and bodies
- for _, part in pairs(parts) do
- if part.Name == "Earth" and not disabled[part] then
- if not frames[part] and part ~= lastTower then
- frames[part] = look:toObjectSpace(part.CFrame)
- part:ClearAllChildren()
- part.Anchored = false
- -- Create bodies
- createBody("Position", part)
- createBody("Gyro", part)
- end
- end
- end
- -- Move bodies
- for part in pairs(frames) do
- local bodyPos = part:FindFirstChild("BodyPosition")
- local bodyGyr = part:FindFirstChild("BodyGyro")
- -- Bodies exist
- if bodyPos and bodyGyr then
- local dif = look * frames[part]
- bodyPos.position = dif.p
- bodyGyr.cframe = dif
- else
- frames[part] = nil
- end
- end
- else
- for part in pairs(frames) do
- if part.Name == "Earth" then
- frames[part] = nil
- part:ClearAllChildren()
- end
- end
- end
- end
- end
- -- On key change
- function onKeyChange(mouse, key, state)
- -- Raise earth
- if key == "m" and state and not raisingEarth then
- game:GetService("Chat"):Chat(char.Head, raisechats[math.random(1,#raisechats)], Enum.ChatColor.Red)
- raisingEarth = true
- while keysDown[key] do
- local torsoY = torso.Position.y + 3
- local pos = planeY(torso.Position, 0.4 - 4/2)
- local dir = planeY(mouse.Hit.lookVector).unit
- local frame = CFrame.new(pos, pos + dir) * CFrame.new(r(-10, 10), 0, r(-20, -5))
- -- Create earth part
- local part = createEarth(workspace)
- part.Anchored = true
- part.Size = Vector3.new(4, 4, 4)
- disabled[part] = true
- -- Raise earth
- for i = 1, 4 do i = i/4
- part.CFrame = frame * CFrame.new(0, (torsoY - frame.y)*i, 0)
- wait(1/10000000)
- if not part.Anchored then
- break
- end
- end
- disabled[part] = nil
- part.Anchored = false
- wait(1/100)
- end
- raisingEarth = false
- elseif key == "c" and state and not raisingEarth then
- game:GetService("Chat"):Chat(char.Head, raisechats[math.random(1,#raisechats)], Enum.ChatColor.Red)
- raisingEarth = true
- while keysDown[key] do
- local torsoY = torso.Position.y + 3
- local pos = planeY(torso.Position, 0.4 - 4/2)
- local dir = planeY(mouse.Hit.lookVector).unit
- local frame = CFrame.new(pos, pos + dir) * CFrame.new(r(-10, 10), 0, r(-20, -5))
- -- Create earth part
- local part = createEarth(workspace)
- part.Anchored = true
- part.Size = Vector3.new(2, 2, 2)
- disabled[part] = true
- -- Raise earth
- for i = 1, 4 do i = i/4
- part.CFrame = frame * CFrame.new(0, (torsoY - frame.y)*i, 0)
- wait(1/10000000)
- if not part.Anchored then
- break
- end
- end
- disabled[part] = nil
- part.Anchored = false
- wait(1/100)
- end
- raisingEarth = false
- -- Push earth
- elseif key == "f" and state then
- game:GetService("Chat"):Chat(char.Head, Taunts[math.random(1,#Taunts)], Enum.ChatColor.Red)
- for _, part in pairs(parts) do
- if part.Name == "Earth" and part ~= lastTower then
- part:ClearAllChildren()
- part.Anchored = false
- -- Add force
- local bodyForce = createBody("Force", part)
- bodyForce.force = mouse.Hit.lookVector*1.5e4 * part:GetMass()
- game.Debris:AddItem(bodyForce, 1/30)
- -- Disable part
- disabled[part] = true
- delay(1, function()
- disabled[part] = nil
- end)
- end
- end
- -- Monster Ability
- elseif key == "n" and state then
- wait(.1)
- f = Instance.new("Fire")
- f.Parent = char.Head
- f.Color = Color3.new(0,0,0)
- f.Size = 5
- f.Heat = 5
- wait(.1)
- g = Instance.new("Fire")
- g.Parent = char["Right Arm"]
- g.Color = Color3.new(0,0.8,0.9)
- g.Size = 5
- g.Heat = 10
- wait(.1)
- h = Instance.new("Fire")
- h.Parent = char["Left Arm"]
- h.Color = Color3.new(0.7,0,0)
- h.Size = 5
- h.Heat = 10
- wait(.1)
- z = Instance.new("Sound")
- z.Parent = game.Workspace
- z.SoundId = "http://www.roblox.com/asset/?id="
- z.Looped = false
- z.Volume = 8
- z.Pitch = 0.8
- wait(1.8)
- game:GetService("Chat"):Chat(char.Head, "Hmph.", Enum.ChatColor.Red)
- wait(3.4)
- game:GetService("Chat"):Chat(char.Head, "This has become a pointless battle.", Enum.ChatColor.Red)
- wait(2.4)
- game:GetService("Chat"):Chat(char.Head, "I will end this quickly", Enum.ChatColor.Red)
- wait(.1)
- z:Play()
- char.Humanoid.MaxHealth = 900000000
- wait(1)
- char.Humanoid.Health = 900000000
- wait(182)
- char.Humanoid.MaxHealth = 600
- z:Remove()
- f:Remove()
- g:Remove()
- h:Remove()
- -- N-Rage
- elseif key == "n" and state then
- c = Instance.new("Sound")
- c.Parent = game.Workspace
- c.SoundId = "http://www.roblox.com/asset/?id=157747165"
- c.Looped = false
- c.Volume = 1
- c.Pitch = .7
- wait(1.8)
- game:GetService("Chat"):Chat(char.Head, "What the hell was that?", Enum.ChatColor.Red)
- wait(2)
- game:GetService("Chat"):Chat(char.Head, "Did you actually believe you could harm me?", Enum.ChatColor.Red)
- wait(2.4)
- game:GetService("Chat"):Chat(char.Head, "If you would simply let yourself die, you would not have to go through this pointless suffering.", Enum.ChatColor.Red)
- wait(3.5)
- game:GetService("Chat"):Chat(char.Head, "All you have done is waste my time.", Enum.ChatColor.Red)
- wait(.1)
- c:Play()
- char.Humanoid.MaxHealth = math.huge
- wait(160)
- char.Humanoid.MaxHealth = 10000
- c:Remove()
- -- Break earth
- elseif key == "b" and state then
- game:GetService("Chat"):Char(char.Head, "Hmph.", Enum.ChatColor.Red)
- wait(.01)
- for part in pairs(frames) do
- if part.Size == Vector3.new(4, 4, 4) then
- for x = -1, 2, 2 do
- for y = -1, 2, 2 do
- for z = -1, 1, 2 do
- local oPart = createEarth(workspace)
- oPart.Size = Vector3.new(2, 2, 2)
- oPart.CFrame = part.CFrame * CFrame.new(x*1.1, y*1.1, z*1.1)
- end
- end
- end
- part:Destroy()
- end
- end
- for part in pairs(frames) do
- if part.Size == Vector3.new(25, 15, 25) then
- for x = -3, 2, 2 do
- for y = -3, 2, 2 do
- for z = -3, 1, 2 do
- local oPart = createEarth(workspace)
- oPart.Size = Vector3.new(2, 2, 2)
- oPart.CFrame = part.CFrame * CFrame.new(x*1.1, y*1.1, z*1.1)
- end
- end
- end
- part:Destroy()
- end
- end
- for part in pairs(frames) do
- if part.Size == Vector3.new(2, 2, 2) then
- for x = -0.5, 2, 2 do
- for y = -0.5, 2, 2 do
- for z = -0.5, 1, 2 do
- local oPart = createEarth(workspace)
- oPart.Size = Vector3.new(1, 1, 1)
- oPart.CFrame = part.CFrame * CFrame.new(x*1.1, y*1.1, z*1.1)
- end
- end
- end
- part:Destroy()
- end
- end
- -- Raise tower
- elseif key == "r" and state and not raisingTower then
- game:GetService("Chat"):Chat(char.Head, raisechats[math.random(1,#raisechats)], Enum.ChatColor.Red)
- raisingTower = true
- lastTower = nil
- if torso.Position.y - 5/2 < 20.4 then
- local part = createEarth(workspace)
- part.Anchored = true
- disabled[part] = true
- for i = 0, 20, 4 do
- part.Size = Vector3.new(5, i, 5)
- part.CFrame = CFrame.new(torso.Position.x, 0.4 + part.Size.y/2, torso.Position.z)
- torso.CFrame = (torso.CFrame - torso.CFrame.p) + Vector3.new(torso.Position.x, part.Position.y + part.Size.y/2 + 5/2, torso.Position.z)
- wait(1/30)
- end
- lastTower = part
- disabled[part] = nil
- part.Anchored = false
- end
- raisingTower = false
- -- Raise wall
- elseif key == "t" and state and not wall then
- game:GetService("Chat"):Chat(char.Head, raisechats[math.random(1,#raisechats)], Enum.ChatColor.Red)
- wall = true
- lastWall = nil
- if torso.Position.y - 5/2 < 20.4 then
- local part = createEarth(workspace)
- part.Anchored = true
- disabled[part] = true
- for i = 0, 1, 20 do
- part.Size = Vector3.new(25, 15, 25)
- part.CFrame = CFrame.new(torso.Position.x, 0.4 + part.Size.y/2, torso.Position.z)
- torso.CFrame = (torso.CFrame - torso.CFrame.p) + Vector3.new(torso.Position.x, part.Position.y + part.Size.y/2 + 5/2, torso.Position.z)
- wait(1/30)
- end
- lastWall = part
- disabled[part] = nil
- part.Anchored = false
- end
- wall = false
- -- Ground attack
- elseif key == "g" and state and not groundAttack then
- game:GetService("Chat"):Chat(char.Head, Taunts[math.random(1,#Taunts)], Enum.ChatColor.Red)
- groundAttack = true
- delay(1, function()
- groundAttack = false
- end)
- local dir = planeY(mouse.Hit.p - torso.Position).unit
- local pos = planeY(torso.Position, 0.4 + 1) + dir*5
- local ground = {}
- delay(5, function()
- for i = 1, 20 do
- for _, part in pairs(ground) do
- if part.Anchored then
- part.CFrame = part.CFrame + Vector3.new(0, -1/7, 0)
- end
- end
- wait(1/30)
- end
- for _, part in pairs(ground) do
- if part.Anchored then
- part:Destroy()
- end
- end
- end)
- for i = 1, 10 do
- local hit, pos2 = rayCast(pos, dir*5, {char})
- local part = createEarth(workspace)
- part.Anchored = true
- part.Size = Vector3.new(4, 4, 4)
- part.CFrame = CFrame.new(pos2, pos2 + dir) * CFrame.Angles(math.rad(-50), 0, 0) + Vector3.new(0, -0, 0)
- ground[#ground + 1] = part
- -- Add force
- if hit then
- local mass = hit:GetMass()
- -- Hit player
- for _, oPlayer in pairs(game.Players:GetPlayers()) do
- if oPlayer.Character and oPlayer.Character:FindFirstChild("Torso") and hit:IsDescendantOf(oPlayer.Character) then
- hit = oPlayer.Character.Torso
- mass = 20
- end
- end
- if hit.Name ~= "Torso" then
- hit:ClearAllChildren()
- end
- hit.Anchored = false
- -- Add force
- local bodyForce = createBody("Force", hit)
- bodyForce.force = (dir + Vector3.new(0, 0.2, 0)).unit*1e4 * mass
- game.Debris:AddItem(bodyForce, 1/30)
- break
- end
- pos = pos2
- wait(1/20)
- end
- end
- end
- --- CORE CODE BELOW --- CORE CODE BELOW --- CORE CODE BELOW ---
- --- CORE CODE BELOW --- CORE CODE BELOW --- CORE CODE BELOW ---
- --- CORE CODE BELOW --- CORE CODE BELOW --- CORE CODE BELOW ---
- -- Clear old tool
- player.Backpack:ClearAllChildren()
- -- Create tool
- local tool = Instance.new("HopperBin")
- tool.Parent = player.Backpack
- tool.Name = "Doom"
- -- Tool selected
- tool.Selected:connect(function(mouse)
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- -- Mouse events
- mouse.Button1Down:connect(function()
- mouseDown = true
- end)
- mouse.Button1Up:connect(function()
- mouseDown = false
- end)
- mouse.KeyDown:connect(function(key)
- keysDown[key:lower()] = true
- onKeyChange(mouse, key:lower(), true)
- end)
- mouse.KeyUp:connect(function(key)
- keysDown[key:lower()] = false
- onKeyChange(mouse, key:lower(), false)
- end)
- -- Call main
- main(mouse)
- end)
- --- LIBRARY BELOW --- LIBRARY BELOW --- LIBRARY BELOW ---
- --- LIBRARY BELOW --- LIBRARY BELOW --- LIBRARY BELOW ---
- --- LIBRARY BELOW --- LIBRARY BELOW --- LIBRARY BELOW ---
- -- Ray cast
- function rayCast(pos, dir, ignore)
- return workspace:FindPartOnRayWithIgnoreList(Ray.new(pos, dir), ignore)
- end
- -- Create body
- function createBody(type, path)
- local body = Instance.new("Body" .. type)
- if type == "Gyro" then
- body.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- elseif type ~= "Force" then
- body.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- end
- body.Parent = path
- return body
- end
- -- Get parts in region 3
- function getPartsInRegion3(region, parts)
- repeat
- local regParts = workspace:FindPartsInRegion3WithIgnoreList(region, parts, 100)
- for i, part in pairs(regParts) do
- parts[#parts + 1] = part
- end
- until #regParts < 100
- end
- -- Random
- function r(min, max)
- return math.random()*(max - min) + min
- end
- -- Plane y
- function planeY(v, y)
- return Vector3.new(v.x, y or 0, v.z)
- end
- -- Create earth
- function createEarth(path)
- local part = createPart("Earth", path)
- part.BrickColor = BrickColor.new("Really red")
- part.Material = "Neon"
- m = Instance.new("Fire",part)
- m.Heat = 100
- m.size = 100
- m.Color = Color3.new(0,0.8,0.9)
- part.Parent = path
- return part
- end
- -- Create part
- function createPart(name, path)
- local part = Instance.new("Part")
- part.FormFactor = "Symmetric"
- part.BottomSurface = "Smooth"
- part.TopSurface = "Smooth"
- part.Size = Vector3.new(1, 1, 1)
- part.Name = name
- part.Parent = path
- return part
- end
- lp=game.Players.LocalPlayer
- chr=lp.Character
- attacking=false
- mouse = game.Players.LocalPlayer:GetMouse()
- Weld = function(p0,p1,x,y,z,rx,ry,rz,par)
- p0.Position = p1.Position
- local w = Instance.new('Motor',par or p0)
- w.Part0 = p0
- w.Part1 = p1
- w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
- return w
- end
- z=Instance.new("Part",chr)
- z.Size=chr.Torso.Size
- cloud=Instance.new("SpecialMesh",z)
- cloud.MeshId="rbxassetid://1095708"
- cloud.Scale=Vector3.new(2,2,2)
- z.Transparency=1
- Weld(z,chr.Torso,0,15,0,0,0,0,z)
- Song = function(Volume,SoundId,Looped,Object)
- sound=Instance.new("Sound")
- sound.Parent=Object
- sound.Volume=Volume
- sound.SoundId="rbxassetid://"..SoundId
- sound.Looped=Looped
- sound:Play()
- end
- Lightning = function(Start,End,Times,Offset,Color,Thickness,Transparency)
- local magz = (Start - End).magnitude local curpos = Start local trz = {-Offset,Offset}
- for i=1,Times do
- local li = Instance.new("Part",workspace)
- li.TopSurface =0
- li.BottomSurface = 0
- li.Anchored = true
- li.Material = 288
- li.Transparency = Transparency or 0.4
- li.BrickColor = BrickColor.new("Cyan")
- li.formFactor = "Custom"
- li.CanCollide = false
- li.Size = Vector3.new(Thickness,Thickness,magz/Times) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
- local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz
- if Times == i then
- local magz2 = (curpos - End).magnitude li.Size = Vector3.new(Thickness,Thickness,magz2)
- li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2)
- else
- li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
- end
- curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p game.Debris:AddItem(li,0.25)
- end
- end
- mouse.KeyDown:connect(function(key)
- key:lower()
- if key == "q" and attacking == false then
- attacking= true
- for i=1,4 do
- Lightning(chr.Head.Position,mouse.Hit.p,10,math.random(5,10),math.random(-2.5,2.5),"New Yeller",0.05,0.3)
- explode=Instance.new("Explosion",Workspace)
- explode.Position=mouse.Hit.p
- end
- attacking=false
- end
- end)
- mouse.KeyDown:connect(function(key)
- key:lower()
- if key == "." and attacking == false then
- attacking = true
- Instance.new("ForceField",chr)
- chr.Torso.Anchored=true
- z.Transparency=0
- z.Material = 288
- for i=1,20 do
- Wait()
- Lightning(z.Position,chr.Torso.Position,10,math.random(5,10),math.random(-2.5,2.5),"New Yeller",0.05,0.3)
- explode=Instance.new("Explosion",chr)
- explode.Position=chr.Torso.Position
- end
- wait(2)
- chr.ForceField:Destroy()
- chr.Torso.Anchored=false
- z.Transparency=1
- z.Material = 288
- attacking=false
- end
- end)
- mouse.KeyDown:connect(function(key)
- key:lower()
- if key == "." and attacking == false then
- Song(math.huge,172949886,true,chr.Head)
- end
- end)
- mouse.KeyDown:connect(function(key)
- key:lower()
- if key == "e" and attacking == false then
- wait()
- for i=1,5 do
- Lightning(chr.Torso.Position,mouse.Hit.p,10,math.random(5,10),math.random(-2.5,2.5),"New Yeller",0.05,0.3)
- end
- Wait()
- x=Instance.new("Part",chr)
- x.Transparency=1
- x.Material = 288
- x.Position=mouse.Hit.p
- chr.Torso.CFrame=x.CFrame*CFrame.new(0,5,0)
- x:Destroy()
- end
- end)
- mouse.KeyDown:connect(function(key)
- key:lower()
- if key == "y" and attacking == false then
- for i,v in pairs(chr.Head:GetChildren()) do
- if v:IsA("Sound") then
- v:Destroy()
- end
- end
- end
- end)
- mouse.KeyDown:connect(function(key)
- key:lower()
- if key == "j" and attacking == false then
- for i=1,10 do
- wait()
- Lightning(z.Position,chr.Torso.Position,10,math.random(5,10),math.random(-2.5,2.5),"New Yeller",0.05,0.3)
- explode=Instance.new("Explosion",chr)
- explode.Position=chr.Torso.Position
- explode.BlastPressure=0
- chr.Humanoid.Health=chr.Humanoid.Health+10
- end
- end
- end)
- mouse.KeyDown:connect(function(key)
- key:lower()
- if key == "r" and attacking == false then
- attacking=true
- z.Transparency=0
- Lightning(z.Position,mouse.Hit.p,10,math.random(5,10),math.random(-2.5,2.5),"New Yeller",0.05,0.3)
- explode=Instance.new("Explosion",chr)
- explode.Position=mouse.Hit.p
- z.Transparency=1
- attacking=false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement