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