SHOW:
|
|
- or go back to the newest paste.
| 1 | ------------------------------------------------- | |
| 2 | --Black Onslaught by CKbackup (ChocolateKnight)-- | |
| 3 | ------------------------------------------------- | |
| 4 | --Player stuff-- | |
| 5 | player = game:GetService("Players").LocalPlayer
| |
| 6 | chara = player.Character | |
| 7 | hitdude = nil | |
| 8 | debby = game:GetService("Debris")
| |
| 9 | chara.Humanoid.MaxHealth = math.huge | |
| 10 | chara.Humanoid.Health = math.huge | |
| 11 | chara.Humanoid.JumpPower = 100 | |
| 12 | local moosek = 0 | |
| 13 | local prevthing = 0 | |
| 14 | local timeofday = "Day" | |
| 15 | taip = 1 | |
| 16 | ||
| 17 | --Objects-- | |
| 18 | local tool = Instance.new("Tool",player.Backpack)
| |
| 19 | tool.Name = "Hellma" | |
| 20 | tool.GripForward = Vector3.new(-1,0,0) | |
| 21 | tool.GripPos = Vector3.new(0,-2,0) | |
| 22 | tool.GripRight = Vector3.new(0,0,-1) | |
| 23 | tool.GripUp = Vector3.new(0,-1,0) | |
| 24 | tool.CanBeDropped = false | |
| 25 | local tool2 = Instance.new("Tool",player.Backpack)
| |
| 26 | tool2.Name = "Nilshade" | |
| 27 | tool2.GripForward = Vector3.new(0,0,-1) | |
| 28 | tool2.GripPos = Vector3.new(0.1,-2.2,0.1) | |
| 29 | tool2.GripRight = Vector3.new(1,0,0) | |
| 30 | tool2.GripUp = Vector3.new(0,1,0) | |
| 31 | tool2.CanBeDropped = false | |
| 32 | local handle = Instance.new("Part", tool)
| |
| 33 | handle.Name = "Handle" | |
| 34 | handle.Size = Vector3.new(1,5,1) | |
| 35 | local mesh = Instance.new("SpecialMesh", handle)
| |
| 36 | mesh.MeshId = "http://www.roblox.com/asset/?id=83509558" | |
| 37 | mesh.TextureId = "http://www.roblox.com/asset/?id=83509797" | |
| 38 | mesh.VertexColor = Vector3.new(0.7,0,1) | |
| 39 | local mesh2 = Instance.new("SpecialMesh", tool)
| |
| 40 | mesh2.MeshId = "http://www.roblox.com/asset/?id=95891318" | |
| 41 | mesh2.TextureId = "http://www.roblox.com/asset/?id=95891299" | |
| 42 | mesh2.VertexColor = Vector3.new(0.7,0,1) | |
| 43 | mesh2.Scale = Vector3.new(-0.8,0.8,-0.8) | |
| 44 | mesh2.Offset = Vector3.new(1,0.5,0) | |
| 45 | local handle2 = Instance.new("Part", tool2)
| |
| 46 | handle2.Name = "Handle" | |
| 47 | handle2.Size = Vector3.new(1,5,1) | |
| 48 | local mesh3 = Instance.new("SpecialMesh", handle2)
| |
| 49 | mesh3.MeshId = "http://www.roblox.com/asset/?id=86290540" | |
| 50 | mesh3.TextureId = "http://www.roblox.com/asset/?id=86290896" | |
| 51 | mesh3.Scale = Vector3.new(0.6,1,0.6) | |
| 52 | mesh3.VertexColor = Vector3.new(0.7,0,1) | |
| 53 | local spt1 = NumberSequenceKeypoint.new(0,1,0) | |
| 54 | local spt2 = NumberSequenceKeypoint.new(.8,1,0) | |
| 55 | local spt3 = NumberSequenceKeypoint.new(1,0,0) | |
| 56 | local cpt1 = ColorSequenceKeypoint.new(0,BrickColor.new("Royal purple").Color)
| |
| 57 | local cpt2 = ColorSequenceKeypoint.new(1,BrickColor.new("Alder").Color)
| |
| 58 | local fira = Instance.new("ParticleEmitter",handle)
| |
| 59 | fira.Texture = "rbxasset://textures/particles/fire_main.dds" | |
| 60 | fira.Color = ColorSequence.new({cpt1,cpt2})
| |
| 61 | fira.LightEmission = 1 | |
| 62 | fira.Lifetime = NumberRange.new(2,2) | |
| 63 | fira.Size = NumberSequence.new({spt1,spt2,spt3})
| |
| 64 | fira.Speed = NumberRange.new(0,0) | |
| 65 | fira.Rate = 10000 | |
| 66 | fira.RotSpeed = NumberRange.new(100,100) | |
| 67 | fira.Enabled = false | |
| 68 | local rpt1 = NumberSequenceKeypoint.new(0,1,0) | |
| 69 | local rpt2 = NumberSequenceKeypoint.new(1,0,0) | |
| 70 | local deffecto = Instance.new("ParticleEmitter",chara["Left Arm"])
| |
| 71 | deffecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
| 72 | deffecto.Color = ColorSequence.new(Color3.new(0,0,0)) | |
| 73 | deffecto.Rate = 10000 | |
| 74 | deffecto.Lifetime = NumberRange.new(1,1) | |
| 75 | deffecto.Size = NumberSequence.new({rpt1,rpt2})
| |
| 76 | deffecto.Speed = NumberRange.new(0,0) | |
| 77 | deffecto.RotSpeed = NumberRange.new(100,100) | |
| 78 | deffecto.Enabled = false | |
| 79 | local sspt1 = NumberSequenceKeypoint.new(0,0,0) | |
| 80 | local sspt2 = NumberSequenceKeypoint.new(1,10,0) | |
| 81 | local tspt1 = NumberSequenceKeypoint.new(0,0,0) | |
| 82 | local tspt2 = NumberSequenceKeypoint.new(1,1,0) | |
| 83 | local eeeffecto = Instance.new("ParticleEmitter",chara.Torso)
| |
| 84 | eeeffecto.Texture = "http://www.roblox.com/asset/?id=205525524" | |
| 85 | eeeffecto.LightEmission = 1 | |
| 86 | eeeffecto.LockedToPart = true | |
| 87 | eeeffecto.Rate = 1 | |
| 88 | eeeffecto.Lifetime = NumberRange.new(5,5) | |
| 89 | eeeffecto.Size = NumberSequence.new({sspt1,sspt2})
| |
| 90 | eeeffecto.Transparency = NumberSequence.new({tspt1,tspt2})
| |
| 91 | eeeffecto.Speed = NumberRange.new(0,0) | |
| 92 | eeeffecto.RotSpeed = NumberRange.new(100,100) | |
| 93 | --local musictool = Instance.new("Tool",player.Backpack)
| |
| 94 | --musictool.Name = "Music" | |
| 95 | --musictool.RequiresHandle = false | |
| 96 | --musictool.CanBeDropped = false | |
| 97 | --local taunttool = Instance.new("Tool",player.Backpack)
| |
| 98 | --taunttool.Name = "Taunt" | |
| 99 | --taunttool.RequiresHandle = false | |
| 100 | --taunttool.CanBeDropped = false | |
| 101 | --local changetool = Instance.new("Tool",player.Backpack)
| |
| 102 | --changetool.Name = "Turn Sexy" | |
| 103 | --changetool.RequiresHandle = false | |
| 104 | --changetool.CanBeDropped = false | |
| 105 | ||
| 106 | local naeeym = Instance.new("BillboardGui",chara)
| |
| 107 | naeeym.Size = UDim2.new(0,100,0,40) | |
| 108 | naeeym.StudsOffset = Vector3.new(0,2,0) | |
| 109 | naeeym.Adornee = chara.Head | |
| 110 | local tecks = Instance.new("TextLabel",naeeym)
| |
| 111 | tecks.BackgroundTransparency = 1 | |
| 112 | tecks.BorderSizePixel = 0 | |
| 113 | tecks.Text = "Shadow Killer" | |
| 114 | tecks.Font = "Fantasy" | |
| 115 | tecks.FontSize = "Size24" | |
| 116 | tecks.TextStrokeTransparency = 0 | |
| 117 | tecks.TextColor3 = Color3.new(0,0,0) | |
| 118 | tecks.TextStrokeColor3 = BrickColor.new("Royal purple").Color
| |
| 119 | tecks.Size = UDim2.new(1,0,0.5,0) | |
| 120 | fhandle = handle:clone() | |
| 121 | fhandle.CanCollide = false | |
| 122 | fhandle.Name = "FakeHandle" | |
| 123 | fhandle.Parent = chara | |
| 124 | local weld = Instance.new("Weld")
| |
| 125 | weld.Name = "BackWeld" | |
| 126 | weld.Part0 = chara.Torso | |
| 127 | weld.Part1 = fhandle | |
| 128 | weld.C0 = CFrame.new(0,-.6,.4) | |
| 129 | weld.C0 = weld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(0),math.rad(80)) | |
| 130 | weld.Parent = fhandle | |
| 131 | fhandle2 = handle2:clone() | |
| 132 | fhandle2.CanCollide = false | |
| 133 | fhandle2.Name = "FakeHandle2" | |
| 134 | fhandle2.Parent = chara | |
| 135 | local weld2 = Instance.new("Weld")
| |
| 136 | weld2.Name = "BackWeld" | |
| 137 | weld2.Part0 = chara.Torso | |
| 138 | weld2.Part1 = fhandle2 | |
| 139 | weld2.C0 = CFrame.new(0,-.6,.6) | |
| 140 | weld2.C0 = weld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(180),math.rad(60)) | |
| 141 | weld2.Parent = fhandle2 | |
| 142 | fhandle3 = handle2:clone() | |
| 143 | fhandle3.CanCollide = false | |
| 144 | fhandle3.Name = "FakeHandle3" | |
| 145 | fhandle3.Parent = chara | |
| 146 | fhandle3.BrickColor = BrickColor.new("Really black")
| |
| 147 | fhandle3.Mesh.MeshId = "rbxasset://fonts/torso.mesh" | |
| 148 | fhandle3.Mesh.Offset = Vector3.new(0, 0.8, 0) | |
| 149 | fhandle3.Mesh.Scale = Vector3.new(0.05, 2.5, 0.3) | |
| 150 | fhandle3.Mesh.TextureId = "" | |
| 151 | local weld3 = Instance.new("Weld")
| |
| 152 | weld3.Name = "BackWeld" | |
| 153 | weld3.Part0 = chara.Torso | |
| 154 | weld3.Part1 = fhandle3 | |
| 155 | weld3.C0 = CFrame.new(0,-.6,.6) | |
| 156 | weld3.C0 = weld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(180),math.rad(60)) | |
| 157 | weld3.Parent = fhandle3 | |
| 158 | ||
| 159 | local orbuu = Instance.new("Part", chara)
| |
| 160 | orbuu.Size = Vector3.new(1,1,1) | |
| 161 | orbuu.Name = "Diamond" | |
| 162 | orbuu.Anchored = true | |
| 163 | orbuu.CanCollide = false | |
| 164 | orbuu.BrickColor = BrickColor.new("Really black")
| |
| 165 | local meshooo = Instance.new("SpecialMesh", orbuu)
| |
| 166 | meshooo.MeshType = "FileMesh" | |
| 167 | meshooo.MeshId = "http://www.roblox.com/asset/?id=9756362" | |
| 168 | local RotationSpeed = 6 | |
| 169 | local BobSpeed = 1 | |
| 170 | local RotationDist = Vector3.new(5, 0, 0) | |
| 171 | local dt = 0 | |
| 172 | local currentTime = 0 | |
| 173 | ||
| 174 | local enablehit = Instance.new("BoolValue", tool)
| |
| 175 | enablehit.Value = false | |
| 176 | local didhit = Instance.new("BoolValue", tool)
| |
| 177 | didhit.Value = false | |
| 178 | local dreadecl = Instance.new("BoolValue", tool)
| |
| 179 | dreadecl.Value = false | |
| 180 | local zanny = Instance.new("BoolValue", tool2)
| |
| 181 | zanny.Value = false | |
| 182 | local revoruva = Instance.new("BoolValue", tool)
| |
| 183 | revoruva.Value = false | |
| 184 | local blawk = Instance.new("BoolValue", tool2)
| |
| 185 | blawk.Value = false | |
| 186 | local enablehit2 = Instance.new("BoolValue", tool)
| |
| 187 | enablehit2.Value = false | |
| 188 | local didhit2 = Instance.new("BoolValue", tool)
| |
| 189 | didhit2.Value = false | |
| 190 | ||
| 191 | local equipanim = Instance.new("Animation", tool)
| |
| 192 | equipanim.AnimationId = "http://www.roblox.com/asset/?id=66702743" | |
| 193 | local scytheanim = Instance.new("Animation", tool)
| |
| 194 | scytheanim.AnimationId = "http://www.roblox.com/asset/?id=96065457" | |
| 195 | local scytheleft = Instance.new("Animation", tool)
| |
| 196 | scytheleft.AnimationId = "http://www.roblox.com/asset/?id=184573779" | |
| 197 | local scytheright = Instance.new("Animation", tool)
| |
| 198 | scytheright.AnimationId = "http://www.roblox.com/asset/?id=184573748" | |
| 199 | local scythedown = Instance.new("Animation", tool)
| |
| 200 | scythedown.AnimationId = "http://www.roblox.com/asset/?id=94160738" | |
| 201 | local swordabsorb = Instance.new("Animation", tool)
| |
| 202 | swordabsorb.AnimationId = "http://www.roblox.com/asset/?id=83994319" | |
| 203 | local swordstab = Instance.new("Animation", tool)
| |
| 204 | swordstab.AnimationId = "http://www.roblox.com/asset/?id=54504034" | |
| 205 | local stormv = Instance.new("Animation", tool)
| |
| 206 | stormv.AnimationId = "http://www.roblox.com/asset/?id=184574340" | |
| 207 | local blasta = Instance.new("Animation", tool)
| |
| 208 | blasta.AnimationId = "http://www.roblox.com/asset/?id=86504773" | |
| 209 | local equipanim2 = Instance.new("Animation", tool)
| |
| 210 | equipanim2.AnimationId = "http://www.roblox.com/asset/?id=184572142" | |
| 211 | local kickanim = Instance.new("Animation", tool)
| |
| 212 | kickanim.AnimationId = "http://www.roblox.com/asset/?id=45738282" | |
| 213 | local katsla1 = Instance.new("Animation", tool2)
| |
| 214 | katsla1.AnimationId = "http://www.roblox.com/asset/?id=93060724" | |
| 215 | local katsla2 = Instance.new("Animation", tool2)
| |
| 216 | katsla2.AnimationId = "http://www.roblox.com/asset/?id=93060716" | |
| 217 | local katsla3 = Instance.new("Animation", tool2)
| |
| 218 | katsla3.AnimationId = "http://www.roblox.com/asset/?id=93060712" | |
| 219 | local katsla4 = Instance.new("Animation", tool2)
| |
| 220 | katsla4.AnimationId = "http://www.roblox.com/asset/?id=93060709" | |
| 221 | ||
| 222 | local equipa = chara.Humanoid:LoadAnimation(equipanim) | |
| 223 | local scythea = chara.Humanoid:LoadAnimation(scytheanim) | |
| 224 | local scytheal = chara.Humanoid:LoadAnimation(scytheleft) | |
| 225 | local scythear = chara.Humanoid:LoadAnimation(scytheright) | |
| 226 | local scythead = chara.Humanoid:LoadAnimation(scythedown) | |
| 227 | local swordabs = chara.Humanoid:LoadAnimation(swordabsorb) | |
| 228 | local swordstb = chara.Humanoid:LoadAnimation(swordstab) | |
| 229 | local stormvip = chara.Humanoid:LoadAnimation(stormv) | |
| 230 | local blastanim = chara.Humanoid:LoadAnimation(blasta) | |
| 231 | local equipa2 = chara.Humanoid:LoadAnimation(equipanim2) | |
| 232 | local kicka = chara.Humanoid:LoadAnimation(kickanim) | |
| 233 | local ktsl1 = chara.Humanoid:LoadAnimation(katsla1) | |
| 234 | local ktsl2 = chara.Humanoid:LoadAnimation(katsla2) | |
| 235 | local ktsl3 = chara.Humanoid:LoadAnimation(katsla3) | |
| 236 | local ktsl4 = chara.Humanoid:LoadAnimation(katsla4) | |
| 237 | ||
| 238 | local swordequip = Instance.new("Sound", tool)
| |
| 239 | swordequip.SoundId = "rbxasset://sounds/unsheath.wav" | |
| 240 | swordequip.PlaybackSpeed = 0.6 | |
| 241 | swordequip.Volume = 1 | |
| 242 | local chargesound = Instance.new("Sound", tool)
| |
| 243 | chargesound.SoundId = "http://www.roblox.com/asset/?id=2101137" | |
| 244 | chargesound.PlaybackSpeed = 0.6 | |
| 245 | chargesound.Volume = 1 | |
| 246 | local swordsound = Instance.new("Sound", tool)
| |
| 247 | swordsound.SoundId = "rbxasset://sounds/swordlunge.wav" | |
| 248 | swordsound.PlaybackSpeed = 0.6 | |
| 249 | swordsound.Volume = 1 | |
| 250 | local swordland = Instance.new("Sound", tool)
| |
| 251 | swordland.SoundId = "http://www.roblox.com/asset/?id=46153268" | |
| 252 | swordland.PlaybackSpeed = 0.5 | |
| 253 | swordland.Volume = 1 | |
| 254 | local scytheland = Instance.new("Sound", tool)
| |
| 255 | scytheland.SoundId = "http://www.roblox.com/asset/?id=28144425" | |
| 256 | scytheland.PlaybackSpeed = 0.265 | |
| 257 | scytheland.Volume = 1 | |
| 258 | local finalhits1 = Instance.new("Sound", tool)
| |
| 259 | finalhits1.SoundId = "http://www.roblox.com/asset/?id=62339698" | |
| 260 | finalhits1.PlaybackSpeed = 0.3 | |
| 261 | finalhits1.Volume = 1 | |
| 262 | local finalhits2 = Instance.new("Sound", tool)
| |
| 263 | finalhits2.SoundId = "http://www.roblox.com/asset/?id=2697431" | |
| 264 | finalhits2.PlaybackSpeed = 0.3 | |
| 265 | finalhits2.Volume = 1 | |
| 266 | local blasts = Instance.new("Sound", tool)
| |
| 267 | blasts.SoundId = "http://www.roblox.com/asset/?id=2248511" | |
| 268 | blasts.PlaybackSpeed = .5 | |
| 269 | blasts.Volume = 1 | |
| 270 | local katanaslash = Instance.new("Sound", tool)
| |
| 271 | katanaslash.SoundId = "http://www.roblox.com/asset/?id=62339698" | |
| 272 | katanaslash.PlaybackSpeed = 0.8 | |
| 273 | katanaslash.Volume = 1 | |
| 274 | local foxs = Instance.new("Sound", tool)
| |
| 275 | foxs.SoundId = "http://www.roblox.com/asset/?id=501536185" | |
| 276 | foxs.PlaybackSpeed = 1 | |
| 277 | foxs.Volume = 1 | |
| 278 | local music1 = Instance.new("Sound", chara.Torso)
| |
| 279 | music1.SoundId = "http://www.roblox.com/asset/?id=157916553" | |
| 280 | music1.PlaybackSpeed = 1 | |
| 281 | music1.Volume = 1 | |
| 282 | music1.Looped = true | |
| 283 | local music2 = Instance.new("Sound", chara.Torso)
| |
| 284 | music2.SoundId = "http://www.roblox.com/asset/?id=248249480" | |
| 285 | music2.PlaybackSpeed = 1 | |
| 286 | music2.Volume = 1 | |
| 287 | music2.Looped = true | |
| 288 | local music3 = Instance.new("Sound", chara.Torso)
| |
| 289 | music3.SoundId = "http://www.roblox.com/asset/?id=432543624" | |
| 290 | music3.PlaybackSpeed = 1 | |
| 291 | music3.Volume = 1 | |
| 292 | music3.Looped = true | |
| 293 | ||
| 294 | function scythehold() | |
| 295 | tool.GripForward = Vector3.new(-1,0,0) | |
| 296 | tool.GripPos = Vector3.new(0,-2,0) | |
| 297 | tool.GripRight = Vector3.new(0,0,-1) | |
| 298 | tool.GripUp = Vector3.new(0,-1,0) | |
| 299 | end | |
| 300 | function posslashleft() | |
| 301 | tool.GripForward = Vector3.new(1,0,0) | |
| 302 | tool.GripPos = Vector3.new(0,-4,0) | |
| 303 | tool.GripRight = Vector3.new(0,1,0) | |
| 304 | tool.GripUp = Vector3.new(0,0,-1) | |
| 305 | end | |
| 306 | function posslashright() | |
| 307 | tool.GripForward = Vector3.new(-1,0,0) | |
| 308 | tool.GripPos = Vector3.new(0,-4,0) | |
| 309 | tool.GripRight = Vector3.new(0,1,0) | |
| 310 | tool.GripUp = Vector3.new(0,0,1) | |
| 311 | end | |
| 312 | function posslashdown() | |
| 313 | tool.GripForward = Vector3.new(0,1,-.5) | |
| 314 | tool.GripPos = Vector3.new(0,-4,0) | |
| 315 | tool.GripRight = Vector3.new(0,0,1) | |
| 316 | tool.GripUp = Vector3.new(-1,0,0) | |
| 317 | end | |
| 318 | function regularswordpos() | |
| 319 | tool.GripForward = Vector3.new(-1,0,0) | |
| 320 | tool.GripPos = Vector3.new(0,-2,0) | |
| 321 | tool.GripRight = Vector3.new(0,0,-1) | |
| 322 | tool.GripUp = Vector3.new(0,-1,0) | |
| 323 | end | |
| 324 | function absorbswordm() | |
| 325 | tool.GripForward = Vector3.new(1,1,0) | |
| 326 | tool.GripPos = Vector3.new(0,-2,0) | |
| 327 | tool.GripRight = Vector3.new(0,0,1) | |
| 328 | tool.GripUp = Vector3.new(-1,1,0) | |
| 329 | end | |
| 330 | function createblack(part) | |
| 331 | local pt1 = NumberSequenceKeypoint.new(0,1,0) | |
| 332 | local pt2 = NumberSequenceKeypoint.new(1,0,0) | |
| 333 | local effecto = Instance.new("ParticleEmitter",part)
| |
| 334 | effecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
| 335 | effecto.Color = ColorSequence.new(Color3.new(0,0,0)) | |
| 336 | effecto.Rate = 10000 | |
| 337 | effecto.Lifetime = NumberRange.new(1,1) | |
| 338 | effecto.Size = NumberSequence.new({pt1,pt2})
| |
| 339 | effecto.Speed = NumberRange.new(0,0) | |
| 340 | effecto.RotSpeed = NumberRange.new(100,100) | |
| 341 | end | |
| 342 | function createhugeblack(part) | |
| 343 | local pt1 = NumberSequenceKeypoint.new(0,10,0) | |
| 344 | local pt2 = NumberSequenceKeypoint.new(1,0,0) | |
| 345 | local effecto = Instance.new("ParticleEmitter",part)
| |
| 346 | effecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
| 347 | effecto.Color = ColorSequence.new(Color3.new(0,0,0)) | |
| 348 | effecto.Rate = 10000 | |
| 349 | effecto.Lifetime = NumberRange.new(1,1) | |
| 350 | effecto.Size = NumberSequence.new({pt1,pt2})
| |
| 351 | effecto.Speed = NumberRange.new(0,0) | |
| 352 | effecto.RotSpeed = NumberRange.new(100,100) | |
| 353 | end | |
| 354 | ||
| 355 | createblack(orbuu) | |
| 356 | orbuu.ParticleEmitter.Color = ColorSequence.new(Color3.new(1,0,1)) | |
| 357 | orbuu.ParticleEmitter.LightEmission = 1 | |
| 358 | --Spell Circle-- | |
| 359 | ||
| 360 | Void = nil | |
| 361 | VoidParts = {}
| |
| 362 | Equipped = false | |
| 363 | ||
| 364 | function RayCast(Position, Direction, MaxDistance, IgnoreList) | |
| 365 | return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
| |
| 366 | end | |
| 367 | ||
| 368 | Player = player | |
| 369 | Character = chara | |
| 370 | ||
| 371 | Humanoid = Character:FindFirstChild("Humanoid")
| |
| 372 | Torso = Character:FindFirstChild("Torso")
| |
| 373 | if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then | |
| 374 | return | |
| 375 | end | |
| 376 | Equipped = true | |
| 377 | Void = Instance.new("Model")
| |
| 378 | Void.Name = "Void" | |
| 379 | Angle = 0 | |
| 380 | for i = 1, 1 do | |
| 381 | local VoidPart = Instance.new("Part")
| |
| 382 | VoidPart.Name = "VoidPart" | |
| 383 | VoidPart.Transparency = 1 | |
| 384 | VoidPart.BrickColor = BrickColor.new("Really black")
| |
| 385 | VoidPart.Material = Enum.Material.Plastic | |
| 386 | VoidPart.Shape = Enum.PartType.Block | |
| 387 | VoidPart.FormFactor = Enum.FormFactor.Custom | |
| 388 | VoidPart.TopSurface = Enum.SurfaceType.Smooth | |
| 389 | VoidPart.BottomSurface = Enum.SurfaceType.Smooth | |
| 390 | VoidPart.Anchored = true | |
| 391 | VoidPart.CanCollide = false | |
| 392 | VoidPart.Locked = true | |
| 393 | VoidPart.Size = Vector3.new(10, 0.2, 10) | |
| 394 | local BlockMesh = Instance.new("BlockMesh")
| |
| 395 | BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1) | |
| 396 | BlockMesh.Parent = VoidPart | |
| 397 | VoidPart.Parent = Void | |
| 398 | local Star = Instance.new("Decal", VoidPart)
| |
| 399 | Star.Texture = "http://www.roblox.com/asset/?id=205525524" | |
| 400 | Star.Face = "Top" | |
| 401 | local Light = Instance.new("PointLight", VoidPart)
| |
| 402 | Light.Color = Color3.new(1,0,1) | |
| 403 | Light.Brightness = 100 | |
| 404 | Light.Range = 10 | |
| 405 | table.insert(VoidParts, VoidPart) | |
| 406 | end | |
| 407 | Spawn(function() | |
| 408 | while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do | |
| 409 | if Angle == 360 then | |
| 410 | Angle = 0 | |
| 411 | end | |
| 412 | Angle = Angle + 0.05 | |
| 413 | chara.Humanoid.MaxHealth = math.huge | |
| 414 | chara.Humanoid.Health = math.huge | |
| 415 | local parentPos = chara.Torso.CFrame | |
| 416 | --Rotate Fluffy around the player's head | |
| 417 | local rotation = CFrame.Angles(0 , RotationSpeed * currentTime, 0) | |
| 418 | local bob = Vector3.new(0, BobSpeed * math.sin(currentTime), 0) | |
| 419 | orbuu.CFrame = ((parentPos + bob) + (rotation * RotationDist)) | |
| 420 | --Wait some time so we aren't going plaid | |
| 421 | dt, currentTime = wait(1/40) | |
| 422 | local cheeed = chara:GetChildren() | |
| 423 | for i = 1, #cheeed do | |
| 424 | if cheeed[i].ClassName == "Part" then | |
| 425 | if cheeed[i].Name ~= "Right Arm" and cheeed[i].Name ~= "Left Arm" and cheeed[i].Name ~= "Right Leg" and cheeed[i].Name ~= "Left Leg" and cheeed[i].Name ~= "Torso" and cheeed[i].Name ~= "HumanoidRootPart" and cheeed[i].Name ~= "Head" and cheeed[i].Name ~= "FakeHandle" and cheeed[i].Name ~= "FakeHandle2" and cheeed[i].Name ~= "FakeHandle3" and cheeed[i].Name ~= "Diamond" then | |
| 426 | cheeed[i]:Destroy() | |
| 427 | else end | |
| 428 | end | |
| 429 | end | |
| 430 | local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
| |
| 431 | if Hit then | |
| 432 | if not Void.Parent then | |
| 433 | Void.Parent = Character | |
| 434 | end | |
| 435 | for i, v in pairs(VoidParts) do | |
| 436 | v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0) | |
| 437 | end | |
| 438 | else | |
| 439 | Void.Parent = nil | |
| 440 | end | |
| 441 | wait() | |
| 442 | end | |
| 443 | end) | |
| 444 | ||
| 445 | --Now the real stuff!-- | |
| 446 | ||
| 447 | function chat(string) | |
| 448 | --ch = game:GetService("Chat"):Chat(chara.Head, string, "Red")
| |
| 449 | if chara:FindFirstChild("TalkingBillBoard") ~= nil then
| |
| 450 | chara:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 451 | end | |
| 452 | local naeeym2 = Instance.new("BillboardGui",chara)
| |
| 453 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 454 | naeeym2.StudsOffset = Vector3.new(0,4,0) | |
| 455 | naeeym2.Adornee = chara.Head | |
| 456 | naeeym2.Name = "TalkingBillBoard" | |
| 457 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 458 | tecks2.BackgroundTransparency = 1 | |
| 459 | tecks2.BorderSizePixel = 0 | |
| 460 | tecks2.Text = string | |
| 461 | tecks2.Font = "Fantasy" | |
| 462 | tecks2.FontSize = "Size24" | |
| 463 | tecks2.TextStrokeTransparency = 0 | |
| 464 | tecks2.TextColor3 = Color3.new(0,0,0) | |
| 465 | tecks2.TextStrokeColor3 = BrickColor.new("Royal purple").Color
| |
| 466 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 467 | debby:AddItem(naeeym2,1) | |
| 468 | end | |
| 469 | ||
| 470 | function createorb(origin,target) | |
| 471 | local orb = Instance.new("Part", game.Workspace)
| |
| 472 | orb.Shape = "Ball" | |
| 473 | orb.CanCollide = false | |
| 474 | orb.Size = Vector3.new(1,1,1) | |
| 475 | orb.BrickColor = BrickColor.new("White")
| |
| 476 | orb.Material = "Neon" | |
| 477 | orb.Position = origin.Position | |
| 478 | orb.Velocity = Vector3.new(math.random() - .5, 0, math.random() - .5).unit * 80 | |
| 479 | local firr = Instance.new("Fire", orb)
| |
| 480 | firr.Color = Color3.new(1,1,1) | |
| 481 | firr.SecondaryColor = Color3.new(1,1,1) | |
| 482 | firr.Size = 2 | |
| 483 | local gotoforce = Instance.new("BodyPosition", orb)
| |
| 484 | gotoforce.Position = target.Position | |
| 485 | debby:AddItem(orb,1) | |
| 486 | end | |
| 487 | ||
| 488 | function kicktouch(hit) | |
| 489 | if revoruva.Value == true then | |
| 490 | if hit ~= nil and hit.Parent:FindFirstChild("kicko") == nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 491 | swordland:Play() | |
| 492 | hitdude = hit.Parent | |
| 493 | valood = Instance.new("NumberValue", hit.Parent)
| |
| 494 | valood.Name = "kicko" | |
| 495 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 20 | |
| 496 | hitdude.Humanoid.PlatformStand = true | |
| 497 | faws = Instance.new("BodyVelocity", hit.Parent.Torso)
| |
| 498 | faws.Velocity = (hitdude.Torso.Position - chara.HumanoidRootPart.Position) * 20 | |
| 499 | wait(.5) | |
| 500 | hitdude.Humanoid.PlatformStand = false | |
| 501 | valood:Destroy() | |
| 502 | faws:Destroy() | |
| 503 | end | |
| 504 | end | |
| 505 | end | |
| 506 | ||
| 507 | function onTouched(hit) | |
| 508 | --EENFERNOH DEEVAIDER!-- | |
| 509 | if dreadecl.Value == true then | |
| 510 | if hit ~= nil and hit.Parent:FindFirstChild("dreaded") == nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 511 | finalhits1:Play() | |
| 512 | hitdude = hit.Parent | |
| 513 | valood = Instance.new("NumberValue", hit.Parent)
| |
| 514 | valood.Name = "dreaded" | |
| 515 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 30 | |
| 516 | hitdude.Humanoid.PlatformStand = true | |
| 517 | faws = Instance.new("BodyVelocity", hit.Parent.Torso)
| |
| 518 | faws.Velocity = Vector3.new(0,50,0) | |
| 519 | wait(1) | |
| 520 | hitdude.Humanoid.PlatformStand = false | |
| 521 | valood:Destroy() | |
| 522 | faws:Destroy() | |
| 523 | end | |
| 524 | end | |
| 525 | --BLEK AWNSLOT!-- | |
| 526 | if enablehit.Value == true then | |
| 527 | if hit ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 528 | swordland:play() | |
| 529 | didhit.Value = true | |
| 530 | enablehit.Value = false | |
| 531 | hitdude = hit.Parent | |
| 532 | if hitdude.Name == "grgrgry21" then | |
| 533 | chat("I'm sorry, you were a great man, Gry.")
| |
| 534 | elseif hitdude then | |
| 535 | - | chat("Sorry, but you need to die.")
|
| 535 | + | chat("BURN IN HELL")
|
| 536 | end | |
| 537 | hitdude.Humanoid.Health = 80 | |
| 538 | hitdude.Humanoid.MaxHealth = 100 | |
| 539 | hitdude.Humanoid.PlatformStand = true | |
| 540 | hitdude.Humanoid.WalkSpeed = 0 | |
| 541 | chara.Humanoid.WalkSpeed = 0 | |
| 542 | if hitdude:FindFirstChild("Torso") ~= nil then
| |
| 543 | hitdude.Torso.CFrame = chara.Torso.CFrame + (chara.Torso.CFrame.lookVector*5) | |
| 544 | local standstill = Instance.new("BodyPosition", hitdude.Torso)
| |
| 545 | standstill.Position = hitdude.Torso.Position | |
| 546 | end | |
| 547 | if hitdude:FindFirstChild("Left Arm") ~= nil then
| |
| 548 | hitdude["Left Arm"]:destroy() | |
| 549 | end | |
| 550 | if hitdude:FindFirstChild("Right Arm") ~= nil then
| |
| 551 | hitdude["Right Arm"]:destroy() | |
| 552 | end | |
| 553 | wait(1) | |
| 554 | - | chat("Hell Zagan!")
|
| 554 | + | chat(DIE") |
| 555 | swordequip:play() | |
| 556 | swordabs:Stop() | |
| 557 | scythea:Play() | |
| 558 | fira.Enabled = true | |
| 559 | --fira.Size = 5 | |
| 560 | mesh.Parent = tool | |
| 561 | mesh2.Parent = handle | |
| 562 | wait(1) | |
| 563 | scythea:Stop() | |
| 564 | posslashleft() | |
| 565 | for i = 1,2 do | |
| 566 | handle.CanCollide = true | |
| 567 | scytheland:play() | |
| 568 | scytheal:Play() | |
| 569 | posslashleft() | |
| 570 | swordsound:play() | |
| 571 | swordland:play() | |
| 572 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 2 | |
| 573 | createorb(hitdude.Torso,chara.Torso) | |
| 574 | chara.Humanoid.Health = chara.Humanoid.Health + 10 | |
| 575 | --fira.Size = fira.Size + .5 | |
| 576 | wait(0.4) | |
| 577 | scytheal:Stop() | |
| 578 | scythear:Play() | |
| 579 | posslashright() | |
| 580 | swordsound:play() | |
| 581 | swordland:play() | |
| 582 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 2 | |
| 583 | createorb(hitdude.Torso,chara.Torso) | |
| 584 | chara.Humanoid.Health = chara.Humanoid.Health + 10 | |
| 585 | --fira.Size = fira.Size + .5 | |
| 586 | wait(0.4) | |
| 587 | handle.CanCollide = false | |
| 588 | scythear:Stop() | |
| 589 | scythead:Play() | |
| 590 | posslashdown() | |
| 591 | swordsound:play() | |
| 592 | swordland:play() | |
| 593 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 2 | |
| 594 | createorb(hitdude.Torso,chara.Torso) | |
| 595 | chara.Humanoid.Health = chara.Humanoid.Health + 10 | |
| 596 | --fira.Size = fira.Size + .5 | |
| 597 | wait(0.4) | |
| 598 | scythead:Stop() | |
| 599 | end | |
| 600 | - | chat("Hell Reign!")
|
| 600 | + | chat("DIE!")
|
| 601 | mesh2.Parent = tool | |
| 602 | mesh.Parent = handle | |
| 603 | chargesound:play() | |
| 604 | swordabs:Play() | |
| 605 | absorbswordm() | |
| 606 | for i = 1, 4 do | |
| 607 | wait(.25) | |
| 608 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 2 | |
| 609 | createorb(hitdude.Torso,handle) | |
| 610 | --fira.Size = fira.Size + 1 | |
| 611 | chara.Humanoid.Health = chara.Humanoid.Health + 10 | |
| 612 | finalhits2:play() | |
| 613 | end | |
| 614 | regularswordpos() | |
| 615 | swordabs:Stop() | |
| 616 | swordstb:Play() | |
| 617 | for i = 1, 4 do | |
| 618 | wait(.25) | |
| 619 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 2 | |
| 620 | createorb(hitdude.Torso,handle) | |
| 621 | --fira.Size = fira.Size + 1 | |
| 622 | chara.Humanoid.Health = chara.Humanoid.Health + 10 | |
| 623 | finalhits2:play() | |
| 624 | end | |
| 625 | chat("OBLITERATION!")
| |
| 626 | finalhits1:play() | |
| 627 | finalhits2:play() | |
| 628 | hitdude.Humanoid.Health = 0 | |
| 629 | local childs = hitdude:GetChildren() | |
| 630 | for i=1,#childs do | |
| 631 | if (childs[i].className == "Part") then | |
| 632 | childs[i].BrickColor = BrickColor.new("Really black")
| |
| 633 | childs[i]:BreakJoints() | |
| 634 | local b = Instance.new("BodyVelocity")
| |
| 635 | b.velocity = Vector3.new(math.random() - .5, 0, math.random() - .5).unit * 80 | |
| 636 | b.maxForce = Vector3.new(1e5,1e5,1e5) | |
| 637 | b.Parent = childs[i] | |
| 638 | createblack(childs[i]) | |
| 639 | end | |
| 640 | end | |
| 641 | wait(2) | |
| 642 | if hitdude.Name == "grgrgry21" then | |
| 643 | chat("I'm sorry...")
| |
| 644 | elseif hitdude then | |
| 645 | chat("Die.")
| |
| 646 | end | |
| 647 | wait(1) | |
| 648 | tool.Enabled = true | |
| 649 | didhit.Value = false | |
| 650 | fira.Enabled = false | |
| 651 | chara.Humanoid.WalkSpeed = 50 | |
| 652 | end | |
| 653 | end | |
| 654 | end | |
| 655 | ||
| 656 | function onTouched2(hit) | |
| 657 | if zanny.Value == true then | |
| 658 | if hit ~= nil and hit.Parent:FindFirstChild("zanned") == nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 659 | hitdude = hit.Parent | |
| 660 | valood = Instance.new("NumberValue", hit.Parent)
| |
| 661 | valood.Name = "zanned" | |
| 662 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 10 | |
| 663 | faws = Instance.new("BodyVelocity", hit.Parent.Torso)
| |
| 664 | faws.Velocity = (hitdude.Torso.Position - chara.HumanoidRootPart.Position) * 1 | |
| 665 | wait(.3) | |
| 666 | valood:Destroy() | |
| 667 | faws:Destroy() | |
| 668 | end | |
| 669 | else end | |
| 670 | if blawk.Value == true then | |
| 671 | if hit ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 672 | blawk.Value = false | |
| 673 | chara.Torso.CFrame = chara.Torso.CFrame + (chara.Torso.CFrame.lookVector*20) | |
| 674 | tool2.Enabled = false | |
| 675 | hitdude = hit.Parent | |
| 676 | hitdude.Humanoid.Health = hitdude.Humanoid.Health - 50 | |
| 677 | hitdude.Torso.Anchored = true | |
| 678 | chat("Demonic Riposte!")
| |
| 679 | ktsl1:Play() | |
| 680 | local sspt1 = NumberSequenceKeypoint.new(0,1,0) | |
| 681 | local sspt2 = NumberSequenceKeypoint.new(1,0,0) | |
| 682 | local ddeffecto = Instance.new("ParticleEmitter",hitdude.Torso)
| |
| 683 | ddeffecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
| 684 | ddeffecto.Color = ColorSequence.new(Color3.new(0,0,0)) | |
| 685 | ddeffecto.Rate = 10000 | |
| 686 | ddeffecto.Lifetime = NumberRange.new(1,1) | |
| 687 | ddeffecto.Size = NumberSequence.new({sspt1,sspt2})
| |
| 688 | ddeffecto.Speed = NumberRange.new(50,50) | |
| 689 | ddeffecto.RotSpeed = NumberRange.new(100,100) | |
| 690 | ddeffecto.VelocitySpread = 50 | |
| 691 | ddeffecto.EmissionDirection = "Front" | |
| 692 | finalhits1:Play() | |
| 693 | finalhits2:Play() | |
| 694 | wait(1) | |
| 695 | ddeffecto:Destroy() | |
| 696 | scythea:Stop() | |
| 697 | ktsl1:Stop() | |
| 698 | hitdude.Torso.Anchored = false | |
| 699 | chara.Humanoid.WalkSpeed = 50 | |
| 700 | tool2.Enabled = true | |
| 701 | end | |
| 702 | end | |
| 703 | if enablehit2.Value == true then | |
| 704 | if hit ~= nil and hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 705 | scythea:Stop() | |
| 706 | finalhits2:play() | |
| 707 | didhit2.Value = true | |
| 708 | enablehit2.Value = false | |
| 709 | hitdude = hit.Parent | |
| 710 | if hitdude.Name == "grgrgry21" then | |
| 711 | chat("I'm sorry, Gry.")
| |
| 712 | elseif hitdude then | |
| 713 | chat("Haha, how unfortunate.")
| |
| 714 | end | |
| 715 | hitdude.Humanoid.Health = 100 | |
| 716 | hitdude.Humanoid.MaxHealth = 100 | |
| 717 | hitdude.Humanoid.PlatformStand = true | |
| 718 | hitdude.Humanoid.WalkSpeed = 0 | |
| 719 | chara.Humanoid.WalkSpeed = 0 | |
| 720 | if hitdude:FindFirstChild("Torso") ~= nil then
| |
| 721 | createblack(hitdude.Torso) | |
| 722 | hitdude.Torso.CFrame = chara.Torso.CFrame + (chara.Torso.CFrame.lookVector*5) | |
| 723 | local standstill = Instance.new("BodyPosition", hitdude.Torso)
| |
| 724 | standstill.Position = hitdude.Torso.Position | |
| 725 | end | |
| 726 | if hitdude:FindFirstChild("Left Arm") ~= nil then
| |
| 727 | hitdude["Left Arm"]:destroy() | |
| 728 | end | |
| 729 | if hitdude:FindFirstChild("Right Arm") ~= nil then
| |
| 730 | hitdude["Right Arm"]:destroy() | |
| 731 | end | |
| 732 | wait(1) | |
| 733 | local ssspt1 = NumberSequenceKeypoint.new(0,1,0) | |
| 734 | local ssspt2 = NumberSequenceKeypoint.new(1,0,0) | |
| 735 | local dddeffecto = Instance.new("ParticleEmitter",hitdude.Torso)
| |
| 736 | dddeffecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
| 737 | dddeffecto.Color = ColorSequence.new(Color3.new(0,0,0)) | |
| 738 | dddeffecto.Rate = 10000 | |
| 739 | dddeffecto.Lifetime = NumberRange.new(1,1) | |
| 740 | dddeffecto.Size = NumberSequence.new({ssspt1,ssspt2})
| |
| 741 | dddeffecto.Speed = NumberRange.new(50,50) | |
| 742 | dddeffecto.RotSpeed = NumberRange.new(100,100) | |
| 743 | dddeffecto.VelocitySpread = 50 | |
| 744 | dddeffecto.EmissionDirection = "Back" | |
| 745 | for i = 1, 5 do | |
| 746 | katanaslash:Play() | |
| 747 | ktsl1:Play() | |
| 748 | wait(0.1) | |
| 749 | katanaslash:Play() | |
| 750 | ktsl1:Stop() | |
| 751 | ktsl2:Play() | |
| 752 | wait(0.1) | |
| 753 | katanaslash:Play() | |
| 754 | ktsl2:Stop() | |
| 755 | ktsl3:Play() | |
| 756 | wait(0.1) | |
| 757 | katanaslash:Play() | |
| 758 | ktsl3:Stop() | |
| 759 | ktsl4:Play() | |
| 760 | wait(0.1) | |
| 761 | ktsl4:Stop() | |
| 762 | end | |
| 763 | dddeffecto:Destroy() | |
| 764 | wait(.5) | |
| 765 | chara.Torso.CFrame = chara.Torso.CFrame + (chara.Torso.CFrame.lookVector*15) | |
| 766 | wait(1) | |
| 767 | if hitdude.Name == "grgrgry21" then | |
| 768 | chat("Goodbye, Gry.")
| |
| 769 | elseif hitdude then | |
| 770 | chat("Now die.")
| |
| 771 | end | |
| 772 | wait(0.2) | |
| 773 | ktsl1:Play() | |
| 774 | swordsound:Play() | |
| 775 | wait(0.1) | |
| 776 | finalhits1:play() | |
| 777 | finalhits2:play() | |
| 778 | hitdude.Humanoid.Health = 0 | |
| 779 | local childs = hitdude:GetChildren() | |
| 780 | for i=1,#childs do | |
| 781 | if (childs[i].className == "Part") then | |
| 782 | childs[i].BrickColor = BrickColor.new("Really black")
| |
| 783 | childs[i]:BreakJoints() | |
| 784 | local b = Instance.new("BodyVelocity")
| |
| 785 | b.velocity = Vector3.new(math.random() - .5, 0, math.random() - .5).unit * 80 | |
| 786 | b.maxForce = Vector3.new(1e5,1e5,1e5) | |
| 787 | b.Parent = childs[i] | |
| 788 | createblack(childs[i]) | |
| 789 | end | |
| 790 | end | |
| 791 | wait(2) | |
| 792 | ktsl1:Stop() | |
| 793 | tool2.Enabled = true | |
| 794 | didhit2.Value = false | |
| 795 | chara.Humanoid.WalkSpeed = 50 | |
| 796 | end | |
| 797 | end | |
| 798 | end | |
| 799 | ||
| 800 | function blowprojectile(hit) | |
| 801 | if (hit.Parent == nil) then return end -- happens when bullet hits sword | |
| 802 | ||
| 803 | local humanoid = nil | |
| 804 | if hit.Parent ~= chara and hit.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 805 | humanoid = hit.Parent:FindFirstChild("Humanoid")
| |
| 806 | end | |
| 807 | if humanoid then | |
| 808 | hit:BreakJoints() | |
| 809 | hit.BrickColor = BrickColor.new("Really black")
| |
| 810 | createblack(hit) | |
| 811 | end | |
| 812 | local vCharacter = tool.Parent | |
| 813 | local vPlayer = game.Players:playerFromCharacter(vCharacter) | |
| 814 | local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
| |
| 815 | if humanoid~=nil and humanoid ~= hum and hum ~= nil then | |
| 816 | -- final check, make sure sword is in-hand | |
| 817 | ||
| 818 | local right_arm = vCharacter:FindFirstChild("Right Arm")
| |
| 819 | if (right_arm ~= nil) then | |
| 820 | local joint = right_arm:FindFirstChild("RightGrip")
| |
| 821 | if (joint ~= nil and (joint.Part0 == sword or joint.Part1 == sword)) then | |
| 822 | wait(1) | |
| 823 | end | |
| 824 | end | |
| 825 | end | |
| 826 | end | |
| 827 | ||
| 828 | function fire(v, part) | |
| 829 | ||
| 830 | local vCharacter = chara | |
| 831 | local vPlayer = player | |
| 832 | ||
| 833 | local missile = Instance.new("Part")
| |
| 834 | ||
| 835 | ||
| 836 | ||
| 837 | missile.CFrame = part.CFrame * CFrame.Angles(math.pi/2,0,0) | |
| 838 | missile.Size = Vector3.new(2,2,2) | |
| 839 | missile.Velocity = v.unit * 200 | |
| 840 | missile.BrickColor = BrickColor.new("Really black")
| |
| 841 | missile.BottomSurface = 0 | |
| 842 | missile.TopSurface = 0 | |
| 843 | missile.CanCollide = false | |
| 844 | missile.Elasticity = .05 | |
| 845 | missile.Friction = .7 | |
| 846 | missile.Name = "Bullet" | |
| 847 | ||
| 848 | missile.Touched:connect(blowprojectile) | |
| 849 | ||
| 850 | local mesh = Instance.new("SpecialMesh")
| |
| 851 | mesh.MeshType = "Sphere" | |
| 852 | mesh.Parent = missile | |
| 853 | ||
| 854 | local force = Instance.new("BodyForce")
| |
| 855 | force.force = Vector3.new(0,1100,0) | |
| 856 | force.Parent = missile | |
| 857 | ||
| 858 | createblack(missile) | |
| 859 | ||
| 860 | -- local force = Instance.new("BodyForce")
| |
| 861 | -- force.Name = "BulletFloat" | |
| 862 | -- force.force = Vector3.new(0,98.1,0) | |
| 863 | -- force.Parent = missile | |
| 864 | ||
| 865 | debby:AddItem(missile,5) | |
| 866 | missile.Parent = game.Workspace | |
| 867 | ||
| 868 | blasts:play() | |
| 869 | end | |
| 870 | ||
| 871 | function keydowns(key) | |
| 872 | if tool.Enabled == true then | |
| 873 | if key == "v" then | |
| 874 | chat("HELL ONSLAUGHT!")
| |
| 875 | tool.Enabled = false | |
| 876 | swordequip:Play() | |
| 877 | wait(1) | |
| 878 | chara.Humanoid.WalkSpeed = 0 | |
| 879 | enablehit.Value = true | |
| 880 | swordsound:play() | |
| 881 | swordabs:Play() | |
| 882 | wait(2) | |
| 883 | if didhit.Value == false then | |
| 884 | swordabs:Stop() | |
| 885 | enablehit.Value = false | |
| 886 | tool.Enabled = true | |
| 887 | chara.Humanoid.WalkSpeed = 50 | |
| 888 | chat("CHEESE")
| |
| 889 | print("Failed to land...")
| |
| 890 | elseif didhit.Value == true then end | |
| 891 | else end | |
| 892 | if key == "c" then | |
| 893 | chat("Demon Viper!")
| |
| 894 | chara.Humanoid.WalkSpeed = 5 | |
| 895 | tool.Enabled = false | |
| 896 | dreadecl.Value = true | |
| 897 | stormvip:Play() | |
| 898 | finalhits2:Play() | |
| 899 | scytheland:Play() | |
| 900 | fira.Enabled = true | |
| 901 | wait(1) | |
| 902 | chara.Humanoid.WalkSpeed = 50 | |
| 903 | dreadecl.Value = false | |
| 904 | tool.Enabled = true | |
| 905 | fira.Enabled = false | |
| 906 | stormvip:Stop() | |
| 907 | else end | |
| 908 | if key == "x" then | |
| 909 | chat("Shadow Blast!")
| |
| 910 | tool.Enabled = false | |
| 911 | blastanim:Play() | |
| 912 | chargesound:Play() | |
| 913 | deffecto.Enabled = true | |
| 914 | wait(1.5) | |
| 915 | for i = 1, 10 do | |
| 916 | wait(0.1) | |
| 917 | fire(chara.HumanoidRootPart.CFrame.lookVector, orbuu) | |
| 918 | end | |
| 919 | wait(0.5) | |
| 920 | blastanim:Stop() | |
| 921 | deffecto.Enabled = false | |
| 922 | tool.Enabled = true | |
| 923 | else end | |
| 924 | if key == "z" then | |
| 925 | tool.Enabled = false | |
| 926 | chat("Devil Revolver!")
| |
| 927 | kicka:Play() | |
| 928 | chara.Humanoid.WalkSpeed = 5 | |
| 929 | revoruva.Value = true | |
| 930 | swordsound:Play() | |
| 931 | wait(1) | |
| 932 | kicka:Stop() | |
| 933 | tool.Enabled = true | |
| 934 | chara.Humanoid.WalkSpeed = 50 | |
| 935 | revoruva.Value = false | |
| 936 | end | |
| 937 | end | |
| 938 | if key == "g" then | |
| 939 | Taunt() | |
| 940 | elseif key == "m" then | |
| 941 | Moosik() | |
| 942 | elseif key == "h" then | |
| 943 | changeclothes() | |
| 944 | end | |
| 945 | end | |
| 946 | ||
| 947 | function keydowns2(key) | |
| 948 | if tool2.Enabled == true then | |
| 949 | if key == "z" and blawk.Value == false then | |
| 950 | tool2.Enabled = false | |
| 951 | chat("Devil Revolver!")
| |
| 952 | kicka:Play() | |
| 953 | chara.Humanoid.WalkSpeed = 5 | |
| 954 | revoruva.Value = true | |
| 955 | swordsound:Play() | |
| 956 | wait(1) | |
| 957 | kicka:Stop() | |
| 958 | tool2.Enabled = true | |
| 959 | chara.Humanoid.WalkSpeed = 50 | |
| 960 | revoruva.Value = false | |
| 961 | end | |
| 962 | if key == "x" and blawk.Value == false then | |
| 963 | chat("Zantetsu!")
| |
| 964 | chara.Humanoid.WalkSpeed = 5 | |
| 965 | tool2.Enabled = false | |
| 966 | zanny.Value = true | |
| 967 | for i = 1, 2 do | |
| 968 | katanaslash:Play() | |
| 969 | ktsl1:Play() | |
| 970 | wait(0.1) | |
| 971 | katanaslash:Play() | |
| 972 | ktsl1:Stop() | |
| 973 | ktsl2:Play() | |
| 974 | wait(0.1) | |
| 975 | katanaslash:Play() | |
| 976 | ktsl2:Stop() | |
| 977 | ktsl3:Play() | |
| 978 | wait(0.1) | |
| 979 | katanaslash:Play() | |
| 980 | ktsl3:Stop() | |
| 981 | ktsl4:Play() | |
| 982 | wait(0.1) | |
| 983 | ktsl4:Stop() | |
| 984 | end | |
| 985 | chara.Humanoid.WalkSpeed = 50 | |
| 986 | tool2.Enabled = true | |
| 987 | zanny.Value = false | |
| 988 | end | |
| 989 | if key == "c" then | |
| 990 | if blawk.Value == false then | |
| 991 | chat("With little to no trace...")
| |
| 992 | scythea:Play() | |
| 993 | blawk.Value = true | |
| 994 | chara.Humanoid.WalkSpeed = 5 | |
| 995 | elseif blawk.Value == true then | |
| 996 | scythea:Stop() | |
| 997 | blawk.Value = false | |
| 998 | chara.Humanoid.WalkSpeed = 50 | |
| 999 | end | |
| 1000 | end | |
| 1001 | if key == "v" then | |
| 1002 | chat("Koukuujin Ougi...")
| |
| 1003 | tool2.Enabled = false | |
| 1004 | swordequip:Play() | |
| 1005 | chara.Humanoid.WalkSpeed = 0 | |
| 1006 | enablehit2.Value = true | |
| 1007 | scythea:Play() | |
| 1008 | wait(5) | |
| 1009 | if didhit2.Value == false then | |
| 1010 | enablehit2.Value = false | |
| 1011 | tool2.Enabled = true | |
| 1012 | chara.Humanoid.WalkSpeed = 50 | |
| 1013 | print("Failed to land...")
| |
| 1014 | scythea:Stop() | |
| 1015 | elseif didhit2.Value == true then end | |
| 1016 | end | |
| 1017 | end | |
| 1018 | if key == "g" then | |
| 1019 | Taunt() | |
| 1020 | elseif key == "m" then | |
| 1021 | Moosik() | |
| 1022 | elseif key == "h" then | |
| 1023 | changeclothes() | |
| 1024 | end | |
| 1025 | end | |
| 1026 | ||
| 1027 | function onEquipped(mouse) | |
| 1028 | swordequip:play() | |
| 1029 | equipa:play() | |
| 1030 | chara.Humanoid.WalkSpeed = 50 | |
| 1031 | if fhandle ~= nil then | |
| 1032 | fhandle.Transparency = 1 | |
| 1033 | end | |
| 1034 | if mouse then mouse.KeyDown:connect(keydowns) | |
| 1035 | end | |
| 1036 | end | |
| 1037 | ||
| 1038 | function onUnequipped() | |
| 1039 | equipa:stop() | |
| 1040 | chara.Humanoid.WalkSpeed = 16 | |
| 1041 | if fhandle ~= nil then | |
| 1042 | fhandle.Transparency = 0 | |
| 1043 | end | |
| 1044 | end | |
| 1045 | ||
| 1046 | function onEquipped2(mouse) | |
| 1047 | swordequip:play() | |
| 1048 | equipa2:play() | |
| 1049 | chara.Humanoid.WalkSpeed = 50 | |
| 1050 | if fhandle2 ~= nil then | |
| 1051 | fhandle2.Transparency = 1 | |
| 1052 | end | |
| 1053 | if mouse then mouse.KeyDown:connect(keydowns2) | |
| 1054 | end | |
| 1055 | end | |
| 1056 | ||
| 1057 | function onUnequipped2() | |
| 1058 | equipa2:stop() | |
| 1059 | chara.Humanoid.WalkSpeed = 16 | |
| 1060 | if fhandle2 ~= nil then | |
| 1061 | fhandle2.Transparency = 0 | |
| 1062 | end | |
| 1063 | end | |
| 1064 | ||
| 1065 | function Taunt() | |
| 1066 | thing = math.random(1,4) | |
| 1067 | foxs:Play() | |
| 1068 | if taip == 1 then | |
| 1069 | if thing == 1 and prevthing ~= 1 then | |
| 1070 | chat("You're too weak.")
| |
| 1071 | prevthing = 1 | |
| 1072 | elseif thing == 2 and prevthing ~= 2 then | |
| 1073 | chat("Don't let your guard down.")
| |
| 1074 | prevthing = 2 | |
| 1075 | elseif thing == 3 and prevthing ~= 3 then | |
| 1076 | chat("Too naive.")
| |
| 1077 | prevthing = 3 | |
| 1078 | elseif thing == 4 and prevthing ~= 4 then | |
| 1079 | chat("Someone like you...")
| |
| 1080 | wait(1) | |
| 1081 | chat("...can't defeat me!")
| |
| 1082 | prevthing = 4 | |
| 1083 | end | |
| 1084 | elseif taip == 2 then | |
| 1085 | chat("please fahk me")
| |
| 1086 | end | |
| 1087 | end | |
| 1088 | ||
| 1089 | function Moosik() | |
| 1090 | if moosek == 0 then | |
| 1091 | music1:Play() | |
| 1092 | moosek = 1 | |
| 1093 | elseif moosek == 1 then | |
| 1094 | music1:Stop() | |
| 1095 | moosek = 0 | |
| 1096 | end | |
| 1097 | end | |
| 1098 | ||
| 1099 | function changeclothes() | |
| 1100 | if taip == 1 then | |
| 1101 | shirt.ShirtTemplate = "" | |
| 1102 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=196429174" | |
| 1103 | tshirt.Graphic = "http://www.roblox.com/asset/?id=130291831" | |
| 1104 | taip = 2 | |
| 1105 | tecks.Text = "ghey" | |
| 1106 | elseif taip == 2 then | |
| 1107 | shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=555077915" | |
| 1108 | pants.PantsTemplate = "http://www.roblox.com/asset/?id=482320178" | |
| 1109 | tshirt.Graphic = "" | |
| 1110 | taip = 1 | |
| 1111 | tecks.Text = "Enma the Null Kitsune" | |
| 1112 | end | |
| 1113 | end | |
| 1114 | ||
| 1115 | tool.Equipped:connect(onEquipped) | |
| 1116 | tool.Unequipped:connect(onUnequipped) | |
| 1117 | tool2.Equipped:connect(onEquipped2) | |
| 1118 | tool2.Unequipped:connect(onUnequipped2) | |
| 1119 | --musictool.Activated:connect(Moosik) | |
| 1120 | --taunttool.Activated:connect(Taunt) | |
| 1121 | handle.Touched:connect(onTouched) | |
| 1122 | handle2.Touched:connect(onTouched2) | |
| 1123 | chara["Left Leg"].Touched:connect(kicktouch) | |
| 1124 | --changetool.Activated:connect(changeclothes) | |
| 1125 | ||
| 1126 | --DEATH-- | |
| 1127 | local deathed = false | |
| 1128 | function onDied() | |
| 1129 | deathed = true | |
| 1130 | chat("To be defeated by a weakling like you..")
| |
| 1131 | shirt:Destroy() | |
| 1132 | pants:Destroy() | |
| 1133 | Void:Destroy() | |
| 1134 | orbuu:Destroy() | |
| 1135 | fhandle:Destroy() | |
| 1136 | fhandle2:Destroy() | |
| 1137 | fhandle3:Destroy() | |
| 1138 | music1.Volume = 0 | |
| 1139 | local dmusic = Instance.new("Sound", game.Workspace)
| |
| 1140 | dmusic.SoundId = "http://www.roblox.com/asset/?id=19094700" | |
| 1141 | dmusic.PlaybackSpeed = 1 | |
| 1142 | dmusic.Volume = 1 | |
| 1143 | dmusic.Looped = true | |
| 1144 | dmusic:Play() | |
| 1145 | debby:AddItem(dmusic, 5) | |
| 1146 | local shah = chara:GetChildren() | |
| 1147 | for i = 1, #shah do | |
| 1148 | if shah[i].ClassName == "Part" then | |
| 1149 | shah[i].Anchored = true | |
| 1150 | shah[i].BrickColor = BrickColor.new("Really black")
| |
| 1151 | createhugeblack(shah[i]) | |
| 1152 | elseif shah[i].ClassName == "Attachment" then | |
| 1153 | shah[i].Handle.Mesh.VertexColor = Color3.new(0,0,0) | |
| 1154 | shah[i].Handle.Anchored = true | |
| 1155 | end | |
| 1156 | end | |
| 1157 | for i = 1, 3 do | |
| 1158 | wait(1.2) | |
| 1159 | dmusic.PlaybackSpeed = dmusic.PlaybackSpeed - 0.2 | |
| 1160 | end | |
| 1161 | for i = 1, #shah do | |
| 1162 | if shah[i].ClassName == "Part" then | |
| 1163 | shah[i].Anchored = false | |
| 1164 | createhugeblack(shah[i]) | |
| 1165 | elseif shah[i].ClassName == "Attachment" then | |
| 1166 | shah[i].Handle.Anchored = false | |
| 1167 | end | |
| 1168 | end | |
| 1169 | local exx = Instance.new("Explosion", game.Workspace)
| |
| 1170 | exx.Position = chara.Torso.Position | |
| 1171 | exx.BlastPressure = 500000000 | |
| 1172 | exx.BlastRadius = 10000000000 | |
| 1173 | exx.Visible = false | |
| 1174 | exx.ExplosionType = "CratersAndDebris" | |
| 1175 | finalhits1:Play() | |
| 1176 | end | |
| 1177 | ||
| 1178 | while deathed == true do | |
| 1179 | wait(0.1) | |
| 1180 | if timeofday == "Day" then | |
| 1181 | game.Lighting.TimeOfDay = "18:00:00" | |
| 1182 | timeofday = "Dawn" | |
| 1183 | elseif timeofday == "Dawn" then | |
| 1184 | game.Lighting.TimeOfDay = "00:00:00" | |
| 1185 | timeofday = "Night" | |
| 1186 | elseif timeofday == "Night" then | |
| 1187 | game.Lighting.TimeOfDay = "6:00:00" | |
| 1188 | timeofday = "Morning" | |
| 1189 | elseif timeofday == "Morning" then | |
| 1190 | game.Lighting.TimeOfDay = "12:00:00" | |
| 1191 | timeofday = "Day" | |
| 1192 | end | |
| 1193 | end | |
| 1194 | ||
| 1195 | chara.Humanoid.Died:connect(onDied) |