Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
- if string.lower(key) == "x" then
- local p = game.Players.LocalPlayer
- local char = p.Character
- local mouse = p:GetMouse()
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local hum = char.Humanoid
- local cam = game.Workspace.CurrentCamera
- local root = char.HumanoidRootPart
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://232213955"
- z.Pitch = 1
- z.Volume = 1
- local deb = false
- local shot = 0
- local debris=game:service"Debris"
- local l = game:GetService("Lighting")
- local rs = game:GetService("RunService").RenderStepped
- hum.MaxHealth = math.huge
- hum.Health = math.huge
- ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
- math.randomseed(os.time())
- for i,v in pairs (hed:GetChildren()) do
- if v:IsA("Sound") then
- v:Destroy()
- end
- end
- Debounces = {
- }
- ypcall(function()
- char.Shirt:Destroy()
- char.Pants:Destroy()
- shirt = Instance.new("Shirt", char)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", char)
- pants.Name = "Pants"
- char.Shirt.ShirtTemplate = "rbxassetid://268303759"
- char.Pants.PantsTemplate = "rbxassetid://268303786"
- end)
- function lerp(a, b, t) -- Linear interpolation
- return a + (b - a)*t
- end
- function slerp(a, b, t) --Spherical interpolation
- dot = a:Dot(b)
- if dot > 0.99999 or dot < -0.99999 then
- return t <= 0.5 and a or b
- else
- r = math.acos(dot)
- return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
- end
- end
- function matrixInterpolate(a, b, t)
- local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
- local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
- local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
- local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
- local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
- local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
- local t = v1:Dot(v2)
- if not (t < 0 or t == 0 or t > 0) then -- Failsafe
- return CFrame.new()
- end
- return CFrame.new(
- v0.x, v0.y, v0.z,
- v1.x, v1.y, v1.z,
- v2.x, v2.y, v2.z,
- v3.x, v3.y, v3.z)
- end
- function Lerp(c1,c2,al)
- local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
- local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
- for i,v in pairs(com1) do
- com1[i] = v+(com2[i]-v)*al
- end
- return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
- end
- local Transforming = true
- hum.WalkSpeed = 0
- local fx = Instance.new("Part",torso)
- fx.Anchored = true
- fx.Material = "Neon"
- fx.CanCollide = false
- fx.Locked = true
- fx.Transparency = 1
- fx.Material = "SmoothPlastic"
- fx.Size = Vector3.new(1,1,1)
- fx.TopSurface = "SmoothNoOutlines"
- fx.BottomSurface = "SmoothNoOutlines"
- fx.BrickColor = BrickColor.new("Really red")
- fxm = Instance.new("SpecialMesh",fx)
- fxm.MeshId = "http://www.roblox.com/asset/?id=9982590"
- fxm.Scale = Vector3.new(1,1,1)
- for i = 1, 20 do rs:wait()
- fx.Transparency = fx.Transparency - (1/20)
- fx.CFrame = torso.CFrame
- fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
- rs:wait()
- end
- GroundWave1 = function()
- local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local Colors = {"Toothpaste", "Really blue"}
- local wave = Instance.new("Part", torso)
- wave.BrickColor = BrickColor.new('Really blue')
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = HandCF
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshId = "rbxassetid://3270017"
- coroutine.wrap(function()
- for i = 1, 30, 1 do
- wm.Scale = Vector3.new(10 + i*20.4, 10 + i*20.4, 1)
- wave.Size = wm.Scale
- wave.CFrame = HandCF
- wave.Transparency = i/10
- wait()
- end
- wait()
- wave:Destroy()
- end)()
- end
- GroundWave = function()
- if Transforming == true then
- local wave = Instance.new("Part", torso)
- wave.BrickColor = BrickColor.new("Really blue")
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = fx.CFrame
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshType = "Sphere"
- wm.Scale = Vector3.new(1,1,1)
- coroutine.wrap(function()
- for i = 1, 18, 1 do
- wm.Scale = Vector3.new(8 + i*8, 8 + i*8, 8 + i*8)
- --wave.Size = wm.Scale
- wave.CFrame = fx.CFrame
- wave.Transparency = i/001
- wait()
- end
- wait()
- wave:Destroy()
- end)()
- elseif Transforming == false then
- wait()
- end
- end
- for i = 1, 100 do rs:wait()
- fx.CFrame = torso.CFrame
- end
- Spawn(function()
- while wait(1) do
- GroundWave()
- end
- end)
- wait(4)
- Transforming = false
- for i = 1, 20 do rs:wait()
- fx.Transparency = fx.Transparency + (1/20)
- fx.CFrame = torso.CFrame
- fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
- rs:wait()
- end
- local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local wave = Instance.new("Part", torso)
- wave.BrickColor = BrickColor.new("Institutional white")
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = HandCF
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshId = "rbxassetid://3270017"
- coroutine.wrap(function()
- for i = 1, 14, 1 do
- wm.Scale = Vector3.new(10 + i*10.1, 10 + i*10.1, 10)
- wave.Size = wm.Scale
- wave.CFrame = HandCF
- wave.Transparency = i/14
- wait()
- end
- wait()
- wave:Destroy()
- end)()
- hum.WalkSpeed = 16
- ----------------------------------------------------
- Blast = function()
- local Colors = {"Toothpaste", "Really blue"}
- local wave = Instance.new("Part", torso)
- wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = rarm.CFrame
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshType = "Sphere"
- wm.Scale = Vector3.new(1,1,1)
- z = Instance.new("Sound",wave)
- z.SoundId = "rbxassetid://237035051"
- z.Volume = 1
- z.Pitch = .9
- z:Play()
- coroutine.wrap(function()
- for i = 1, 30, 1 do
- wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
- --wave.Size = wm.Scale
- wave.CFrame = rarm.CFrame
- wave.Transparency = (1/14)
- rs:wait()
- end
- rs:wait()
- wave:Destroy()
- z:Destroy()
- end)()
- end
- 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)
- print("THEY ARE NOT READY.")
- wait(5)
- print("YOU HAVE TAKEN CONTROL.")
- wait(5)
- print("Special attacks are on q,e,z,x,and m(Megalomaniac).")
- print("YOU HAVE THE TOOLS, USE THEM!")
Add Comment
Please, Sign In to add comment