SHOW:
|
|
- or go back to the newest paste.
| 1 | Character = game.Players.localPlayer.Character | |
| 2 | Head = Character.Head | |
| 3 | ||
| 4 | CV="Gold" | |
| 5 | - | p = game.Players.wreckitrabbit |
| 5 | + | p = game.Players.localPlayer |
| 6 | char = p.Character | |
| 7 | local txt = Instance.new("BillboardGui", char)
| |
| 8 | txt.Adornee = char .Head | |
| 9 | txt.Name = "_status" | |
| 10 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 11 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 12 | local text = Instance.new("TextLabel", txt)
| |
| 13 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 14 | text.FontSize = "Size24" | |
| 15 | text.TextScaled = true | |
| 16 | text.TextTransparency = 0 | |
| 17 | text.BackgroundTransparency = 1 | |
| 18 | text.TextTransparency = 0 | |
| 19 | text.TextStrokeTransparency = 0 | |
| 20 | text.Font = "Cartoon" | |
| 21 | text.TextStrokeColor3 = Color3.new(0,0,.50) | |
| 22 | ||
| 23 | v=Instance.new("Part")
| |
| 24 | v.Name = "ColorBrick" | |
| 25 | v.Parent=p.Character | |
| 26 | v.FormFactor="Symmetric" | |
| 27 | v.Anchored=true | |
| 28 | v.CanCollide=false | |
| 29 | v.BottomSurface="Smooth" | |
| 30 | v.TopSurface="Smooth" | |
| 31 | v.Size=Vector3.new(10,5,3) | |
| 32 | v.Transparency=1 | |
| 33 | v.CFrame=char.Torso.CFrame | |
| 34 | v.BrickColor=BrickColor.new(CV) | |
| 35 | v.Transparency=1 | |
| 36 | text.TextColor3 = Color3.new(0,0,.50) | |
| 37 | v.Shape="Block" | |
| 38 | text.Text = "Inferno" | |
| 39 | ||
| 40 | local s = Instance.new("Sound",char)
| |
| 41 | s.Name = "BGMusic" | |
| 42 | s.SoundId = "rbxassetid://792238435" | |
| 43 | s.Pitch = 1 | |
| 44 | s.Volume = 10 | |
| 45 | s.Looped = true | |
| 46 | s.archivable = false | |
| 47 | s.Parent = char.Head | |
| 48 | wait(0.1) | |
| 49 | s:play() | |
| 50 | ||
| 51 | Instance.new("ForceField", game.Players.HamilitaSW.Character)
| |
| 52 | print("Inferno Loaded.")
| |
| 53 | print("Unleash the deadly fire to anyone to destroy.")
| |
| 54 | p = game.Players.HamilitaSW | |
| 55 | char = p.Character | |
| 56 | torso = char.Torso | |
| 57 | neck = char.Torso.Neck | |
| 58 | ||
| 59 | - | Player=game:GetService("Players").wreckitrabbit
|
| 59 | + | Player=game:GetService("Players").localPlayer
|
| 60 | Character=Player.Character | |
| 61 | PlayerGui=Player.PlayerGui | |
| 62 | Backpack=Player.Backpack | |
| 63 | Torso=Character.Torso | |
| 64 | Head=Character.Head | |
| 65 | Humanoid=Character.Humanoid | |
| 66 | LeftArm=Character["Left Arm"] | |
| 67 | LeftLeg=Character["Left Leg"] | |
| 68 | RightArm=Character["Right Arm"] | |
| 69 | RightLeg=Character["Right Leg"] | |
| 70 | cam=game.Workspace.CurrentCamera | |
| 71 | LS=Torso["Left Shoulder"] | |
| 72 | LH=Torso["Left Hip"] | |
| 73 | RS=Torso["Right Shoulder"] | |
| 74 | RH=Torso["Right Hip"] | |
| 75 | Face = Head.face | |
| 76 | Neck=Torso.Neck | |
| 77 | it=Instance.new | |
| 78 | attacktype=1 | |
| 79 | vt=Vector3.new | |
| 80 | cf=CFrame.new | |
| 81 | euler=CFrame.fromEulerAnglesXYZ | |
| 82 | angles=CFrame.Angles | |
| 83 | cloaked=false | |
| 84 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 85 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 86 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 87 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 88 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 89 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 90 | RootPart=Character.HumanoidRootPart | |
| 91 | RootJoint=RootPart.RootJoint | |
| 92 | RootCF=euler(-1.57,0,3.14) | |
| 93 | attack = false | |
| 94 | bounce=false | |
| 95 | cooldown=false | |
| 96 | deeznuts=false | |
| 97 | attackdebounce = false | |
| 98 | deb=false | |
| 99 | equipped=true | |
| 100 | hand=false | |
| 101 | MMouse=nil | |
| 102 | combo=0 | |
| 103 | mana=0 | |
| 104 | trispeed=.2 | |
| 105 | attackmode='none' | |
| 106 | local idle=0 | |
| 107 | local Anim="Idle" | |
| 108 | local Effects={}
| |
| 109 | local gun=false | |
| 110 | local shoot=false | |
| 111 | player=nil | |
| 112 | mana=0 | |
| 113 | cam = workspace.CurrentCamera | |
| 114 | ZTarget = nil | |
| 115 | RocketTarget = nil | |
| 116 | local m = Instance.new("Model",Character)
| |
| 117 | m.Name = "WeaponModel" | |
| 118 | ||
| 119 | mouse=Player:GetMouse() | |
| 120 | --save shoulders | |
| 121 | RSH, LSH=nil, nil | |
| 122 | --welds | |
| 123 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 124 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 125 | LH=Torso["Left Hip"] | |
| 126 | RH=Torso["Right Hip"] | |
| 127 | TorsoColor=Torso.BrickColor | |
| 128 | function NoOutline(Part) | |
| 129 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 130 | end | |
| 131 | player=Player | |
| 132 | ch=Character | |
| 133 | RSH=ch.Torso["Right Shoulder"] | |
| 134 | LSH=ch.Torso["Left Shoulder"] | |
| 135 | -- | |
| 136 | RSH.Parent=nil | |
| 137 | LSH.Parent=nil | |
| 138 | -- | |
| 139 | RW.Name="Right Shoulder" | |
| 140 | RW.Part0=ch.Torso | |
| 141 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 142 | RW.C1=cf(0, 0.5, 0) | |
| 143 | RW.Part1=ch["Right Arm"] | |
| 144 | RW.Parent=ch.Torso | |
| 145 | -- | |
| 146 | LW.Name="Left Shoulder" | |
| 147 | LW.Part0=ch.Torso | |
| 148 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 149 | LW.C1=cf(0, 0.5, 0) | |
| 150 | LW.Part1=ch["Left Arm"] | |
| 151 | LW.Parent=ch.Torso | |
| 152 | ||
| 153 | function swait(num) | |
| 154 | if num==0 or num==nil then | |
| 155 | game:service'RunService'.Heartbeat:wait(0) | |
| 156 | else | |
| 157 | for i=0,num do | |
| 158 | game:service'RunService'.Heartbeat:wait(0) | |
| 159 | end | |
| 160 | end | |
| 161 | end | |
| 162 | ||
| 163 | ||
| 164 | local Player = game.Players.localPlayer | |
| 165 | local Character = Player.Character | |
| 166 | local red = 255 | |
| 167 | local green = 255 | |
| 168 | local blue = 255 | |
| 169 | local Humanoid = Character.Humanoid | |
| 170 | local mouse = Player:GetMouse() | |
| 171 | local m = Instance.new("Model", Character)
| |
| 172 | m.Name = "WeaponModel" | |
| 173 | local LeftArm = Character["Left Arm"] | |
| 174 | local RightArm = Character["Right Arm"] | |
| 175 | local LeftLeg = Character["Left Leg"] | |
| 176 | local RightLeg = Character["Right Leg"] | |
| 177 | local Head = Character.Head | |
| 178 | local Torso = Character.Torso | |
| 179 | local cam = game.Workspace.CurrentCamera | |
| 180 | local RootPart = Character.HumanoidRootPart | |
| 181 | local RootJoint = RootPart.RootJoint | |
| 182 | local equipped = false | |
| 183 | local attack = false | |
| 184 | local Anim = "Idle" | |
| 185 | local idle = 0 | |
| 186 | local attacktype = 1 | |
| 187 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 188 | local velocity = RootPart.Velocity.y | |
| 189 | local sine = 0 | |
| 190 | local change = 1 | |
| 191 | local grabbed = false | |
| 192 | local cn = CFrame.new | |
| 193 | local mr = math.rad | |
| 194 | local angles = CFrame.Angles | |
| 195 | local ud = UDim2.new | |
| 196 | local c3 = Color3.new | |
| 197 | local lim = 0 | |
| 198 | local st = 0 | |
| 199 | local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) | |
| 200 | local attacktype = 1 | |
| 201 | local ZTarget, RocketTarget = nil, nil | |
| 202 | local euler = CFrame.fromEulerAnglesXYZ | |
| 203 | function clerp(a,b,t) | |
| 204 | local qa = {QuaternionFromCFrame(a)}
| |
| 205 | local qb = {QuaternionFromCFrame(b)}
| |
| 206 | local ax, ay, az = a.x, a.y, a.z | |
| 207 | local bx, by, bz = b.x, b.y, b.z | |
| 208 | local _t = 1-t | |
| 209 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 210 | end | |
| 211 | ||
| 212 | function QuaternionFromCFrame(cf) | |
| 213 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 214 | local trace = m00 + m11 + m22 | |
| 215 | if trace > 0 then | |
| 216 | local s = math.sqrt(1 + trace) | |
| 217 | local recip = 0.5/s | |
| 218 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 219 | else | |
| 220 | local i = 0 | |
| 221 | if m11 > m00 then | |
| 222 | i = 1 | |
| 223 | end | |
| 224 | if m22 > (i == 0 and m00 or m11) then | |
| 225 | i = 2 | |
| 226 | end | |
| 227 | if i == 0 then | |
| 228 | local s = math.sqrt(m00-m11-m22+1) | |
| 229 | local recip = 0.5/s | |
| 230 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 231 | elseif i == 1 then | |
| 232 | local s = math.sqrt(m11-m22-m00+1) | |
| 233 | local recip = 0.5/s | |
| 234 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 235 | elseif i == 2 then | |
| 236 | local s = math.sqrt(m22-m00-m11+1) | |
| 237 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 238 | end | |
| 239 | end | |
| 240 | end | |
| 241 | ||
| 242 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 243 | local xs, ys, zs = x + x, y + y, z + z | |
| 244 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 245 | local xx = x*xs | |
| 246 | local xy = x*ys | |
| 247 | local xz = x*zs | |
| 248 | local yy = y*ys | |
| 249 | local yz = y*zs | |
| 250 | local zz = z*zs | |
| 251 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
| 252 | end | |
| 253 | ||
| 254 | function QuaternionSlerp(a, b, t) | |
| 255 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 256 | local startInterp, finishInterp; | |
| 257 | if cosTheta >= 0.0001 then | |
| 258 | if (1 - cosTheta) > 0.0001 then | |
| 259 | local theta = math.acos(cosTheta) | |
| 260 | local invSinTheta = 1/math.sin(theta) | |
| 261 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 262 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 263 | else | |
| 264 | startInterp = 1-t | |
| 265 | finishInterp = t | |
| 266 | end | |
| 267 | else | |
| 268 | if (1+cosTheta) > 0.0001 then | |
| 269 | local theta = math.acos(-cosTheta) | |
| 270 | local invSinTheta = 1/math.sin(theta) | |
| 271 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 272 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 273 | else | |
| 274 | startInterp = t-1 | |
| 275 | finishInterp = t | |
| 276 | end | |
| 277 | end | |
| 278 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
| 279 | end | |
| 280 | rayCast = function(Position, Direction, Range, Ignore) | |
| 281 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 282 | end | |
| 283 | local v = game.Players.localPlayer | |
| 284 | local torso = v.Character.Torso | |
| 285 | ||
| 286 | plr = game.Players.HamilitaSW | |
| 287 | char = game.Players.HamilitaSW.Character | |
| 288 | hum = game.Players.HamilitaSW.Character.Humanoid | |
| 289 | t = game.Players.HamilitaSW.Character.Torso | |
| 290 | h = game.Players.HamilitaSW.Character.Head | |
| 291 | ra = game.Players.HamilitaSW.Character["Right Arm"] | |
| 292 | la = game.Players.HamilitaSW.Character["Left Arm"] | |
| 293 | rl = game.Players.HamilitaSW.Character["Right Leg"] | |
| 294 | ll = game.Players.HamilitaSW.Character["Left Leg"] | |
| 295 | tors = Character.Torso | |
| 296 | lleg = Character["Left Leg"] | |
| 297 | root = Character.HumanoidRootPart | |
| 298 | hed = Character.Head | |
| 299 | rleg = Character["Right Leg"] | |
| 300 | rarm = Character["Right Arm"] | |
| 301 | larm = Character["Left Arm"] | |
| 302 | bsize1 = NumberSequenceKeypoint.new(3,3,3) | |
| 303 | bsize2 = NumberSequenceKeypoint.new(10,10,10) | |
| 304 | local Effects = {}
| |
| 305 | attack = false | |
| 306 | local attacking = false | |
| 307 | vt = Vector3.new | |
| 308 | bc = BrickColor.new | |
| 309 | br = BrickColor.random | |
| 310 | it = Instance.new | |
| 311 | cf = CFrame.new | |
| 312 | euler = CFrame.fromEulerAnglesXYZ | |
| 313 | angles = CFrame.Angles | |
| 314 | matr = math.random | |
| 315 | local colororg = BrickColor.new("Dark indigo") -- set color u like
| |
| 316 | local meshtype = "Sphere" -- only for specialmesh | |
| 317 | mouse = plr:GetMouse() | |
| 318 | ||
| 319 | CFuncs = {
| |
| 320 | ["Part"] = {
| |
| 321 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
| 322 | local Part = Create("Part"){
| |
| 323 | Parent = Parent, | |
| 324 | Reflectance = Reflectance, | |
| 325 | Transparency = Transparency, | |
| 326 | CanCollide = false, | |
| 327 | Locked = true, | |
| 328 | BrickColor = BrickColor.new(tostring(BColor)), | |
| 329 | Name = Name, | |
| 330 | Size = Size, | |
| 331 | Material = Material, | |
| 332 | } | |
| 333 | RemoveOutlines(Part) | |
| 334 | return Part | |
| 335 | end; | |
| 336 | }; | |
| 337 | ||
| 338 | ["Mesh"] = {
| |
| 339 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 340 | local Msh = Create(Mesh){
| |
| 341 | Parent = Part, | |
| 342 | Offset = OffSet, | |
| 343 | Scale = Scale, | |
| 344 | } | |
| 345 | if Mesh == "SpecialMesh" then | |
| 346 | Msh.MeshType = MeshType | |
| 347 | Msh.MeshId = MeshId | |
| 348 | end | |
| 349 | return Msh | |
| 350 | end; | |
| 351 | }; | |
| 352 | ||
| 353 | ["Mesh"] = {
| |
| 354 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
| 355 | local Msh = Create(Mesh){
| |
| 356 | Parent = Part, | |
| 357 | Offset = OffSet, | |
| 358 | Scale = Scale, | |
| 359 | } | |
| 360 | if Mesh == "SpecialMesh" then | |
| 361 | Msh.MeshType = MeshType | |
| 362 | Msh.MeshId = MeshId | |
| 363 | end | |
| 364 | return Msh | |
| 365 | end; | |
| 366 | }; | |
| 367 | ||
| 368 | ["Weld"] = {
| |
| 369 | Create = function(Parent, Part0, Part1, C0, C1) | |
| 370 | local Weld = Create("Weld"){
| |
| 371 | Parent = Parent, | |
| 372 | Part0 = Part0, | |
| 373 | Part1 = Part1, | |
| 374 | C0 = C0, | |
| 375 | C1 = C1, | |
| 376 | } | |
| 377 | return Weld | |
| 378 | end; | |
| 379 | }; | |
| 380 | ||
| 381 | ["Sound"] = {
| |
| 382 | Create = function(id, par, vol, pit) | |
| 383 | coroutine.resume(coroutine.create(function() | |
| 384 | local S = Create("Sound"){
| |
| 385 | Volume = vol, | |
| 386 | Pitch = pit or 1, | |
| 387 | SoundId = id, | |
| 388 | Parent = par or workspace, | |
| 389 | } | |
| 390 | wait() | |
| 391 | S:play() | |
| 392 | game:GetService("Debris"):AddItem(S, 6)
| |
| 393 | end)) | |
| 394 | end; | |
| 395 | }; | |
| 396 | ||
| 397 | ["ParticleEmitter"] = {
| |
| 398 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
| 399 | local fp = Create("ParticleEmitter"){
| |
| 400 | Parent = Parent, | |
| 401 | Color = ColorSequence.new(Color1, Color2), | |
| 402 | LightEmission = LightEmission, | |
| 403 | Size = Size, | |
| 404 | Texture = Texture, | |
| 405 | Transparency = Transparency, | |
| 406 | ZOffset = ZOffset, | |
| 407 | Acceleration = Accel, | |
| 408 | Drag = Drag, | |
| 409 | LockedToPart = LockedToPart, | |
| 410 | VelocityInheritance = VelocityInheritance, | |
| 411 | EmissionDirection = EmissionDirection, | |
| 412 | Enabled = Enabled, | |
| 413 | Lifetime = LifeTime, | |
| 414 | Rate = Rate, | |
| 415 | Rotation = Rotation, | |
| 416 | RotSpeed = RotSpeed, | |
| 417 | Speed = Speed, | |
| 418 | VelocitySpread = VelocitySpread, | |
| 419 | } | |
| 420 | return fp | |
| 421 | end; | |
| 422 | }; | |
| 423 | ||
| 424 | CreateTemplate = {
| |
| 425 | ||
| 426 | }; | |
| 427 | } | |
| 428 | ||
| 429 | ||
| 430 | ||
| 431 | New = function(Object, Parent, Name, Data) | |
| 432 | local Object = Instance.new(Object) | |
| 433 | for Index, Value in pairs(Data or {}) do
| |
| 434 | Object[Index] = Value | |
| 435 | end | |
| 436 | Object.Parent = Parent | |
| 437 | Object.Name = Name | |
| 438 | return Object | |
| 439 | end | |
| 440 | ||
| 441 | function chatfunc(text) | |
| 442 | local chat = coroutine.wrap(function() | |
| 443 | if Character:FindFirstChild("TalkingBillBoard")~= nil then
| |
| 444 | Character:FindFirstChild("TalkingBillBoard"):destroy()
| |
| 445 | end | |
| 446 | local naeeym2 = Instance.new("BillboardGui",Character)
| |
| 447 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 448 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 449 | naeeym2.Adornee = Character.Head | |
| 450 | naeeym2.Name = "TalkingBillBoard" | |
| 451 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 452 | tecks2.BackgroundTransparency = 1 | |
| 453 | tecks2.BorderSizePixel = 0 | |
| 454 | tecks2.Text = "" | |
| 455 | tecks2.Font = "SciFi" | |
| 456 | tecks2.TextSize = 30 | |
| 457 | tecks2.TextStrokeTransparency = 0 | |
| 458 | tecks2.TextColor3 = Color3.new(0.15,0.15,1) | |
| 459 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 460 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 461 | local tecks3 = Instance.new("TextLabel",naeeym2)
| |
| 462 | tecks3.BackgroundTransparency = 1 | |
| 463 | tecks3.BorderSizePixel = 0 | |
| 464 | tecks3.Text = "" | |
| 465 | tecks3.Font = "SciFi" | |
| 466 | tecks3.TextSize = 30 | |
| 467 | tecks3.TextStrokeTransparency = 0 | |
| 468 | tecks3.TextColor3 = Color3.new(0.15,0.15,1) | |
| 469 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
| 470 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
| 471 | for i = 1,string.len(text),1 do | |
| 472 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8)
| |
| 473 | tecks2.Text = string.sub(text,1,i) | |
| 474 | tecks3.Text = string.sub(text,1,i) | |
| 475 | wait(0.01) | |
| 476 | end | |
| 477 | wait(2) | |
| 478 | for i = 1, 50 do | |
| 479 | swait() | |
| 480 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 481 | tecks2.Rotation = tecks2.Rotation - .8 | |
| 482 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 483 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
| 484 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
| 485 | tecks3.Rotation = tecks2.Rotation + .8 | |
| 486 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
| 487 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
| 488 | end | |
| 489 | naeeym2:Destroy() | |
| 490 | end) | |
| 491 | chat() | |
| 492 | end | |
| 493 | function onChatted(msg) | |
| 494 | chatfunc(msg) | |
| 495 | end | |
| 496 | Player.Chatted:connect(onChatted) | |
| 497 | ||
| 498 | ||
| 499 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
| 500 | if hit.Parent==nil then | |
| 501 | return | |
| 502 | end | |
| 503 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 504 | for _,v in pairs(hit.Parent:children()) do | |
| 505 | if v:IsA("Humanoid") then
| |
| 506 | h=v | |
| 507 | end | |
| 508 | end | |
| 509 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
| |
| 510 | h=hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 511 | end | |
| 512 | if hit.Parent.className=="Hat" then | |
| 513 | hit=hit.Parent.Parent:findFirstChild("Head")
| |
| 514 | end | |
| 515 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 516 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
| |
| 517 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 518 | return | |
| 519 | end]] | |
| 520 | -- hs(hit,1.2) | |
| 521 | c=Instance.new("ObjectValue")
| |
| 522 | c.Name="creator" | |
| 523 | c.Value=game:service("Players").HamilitaSW
| |
| 524 | c.Parent=h | |
| 525 | game:GetService("Debris"):AddItem(c,.5)
| |
| 526 | Damage=math.random(minim,maxim) | |
| 527 | -- h:TakeDamage(Damage) | |
| 528 | blocked=false | |
| 529 | block=hit.Parent:findFirstChild("Block")
| |
| 530 | if block~=nil then | |
| 531 | print(block.className) | |
| 532 | if block.className=="NumberValue" then | |
| 533 | if block.Value>0 then | |
| 534 | blocked=true | |
| 535 | if decreaseblock==nil then | |
| 536 | block.Value=block.Value-1 | |
| 537 | end | |
| 538 | end | |
| 539 | end | |
| 540 | if block.className=="IntValue" then | |
| 541 | if block.Value>0 then | |
| 542 | blocked=true | |
| 543 | if decreaseblock~=nil then | |
| 544 | block.Value=block.Value-1 | |
| 545 | end | |
| 546 | end | |
| 547 | end | |
| 548 | end | |
| 549 | if blocked==false then | |
| 550 | -- h:TakeDamage(Damage) | |
| 551 | h.Health=h.Health-Damage | |
| 552 | showDamage(hit.Parent,Damage,3,TorsoColor) | |
| 553 | else | |
| 554 | h.Health=h.Health-(Damage/2) | |
| 555 | showDamage(hit.Parent,Damage/2,3,BrickColor.new("Bright yellow"))
| |
| 556 | end | |
| 557 | if Type=="Knockdown" then | |
| 558 | hum=hit.Parent.Humanoid | |
| 559 | hum.PlatformStand=true | |
| 560 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 561 | swait(1) | |
| 562 | HHumanoid.PlatformStand=false | |
| 563 | end),hum) | |
| 564 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 565 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 566 | local bodvol=Instance.new("BodyVelocity")
| |
| 567 | bodvol.velocity=angle*knockback | |
| 568 | bodvol.P=5000 | |
| 569 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 570 | bodvol.Parent=hit | |
| 571 | rl=Instance.new("BodyAngularVelocity")
| |
| 572 | rl.P=3000 | |
| 573 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 574 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 575 | rl.Parent=hit | |
| 576 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 577 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 578 | elseif Type=="Normal" then | |
| 579 | vp=Instance.new("BodyVelocity")
| |
| 580 | vp.P=500 | |
| 581 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 582 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 583 | if KnockbackType==1 then | |
| 584 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 585 | elseif KnockbackType==2 then | |
| 586 | vp.velocity=Property.CFrame.lookVector*knockback | |
| 587 | end | |
| 588 | if knockback>0 then | |
| 589 | vp.Parent=hit.Parent.Torso | |
| 590 | end | |
| 591 | game:GetService("Debris"):AddItem(vp,.5)
| |
| 592 | elseif Type=="Up" then | |
| 593 | local bodyVelocity=Instance.new("BodyVelocity")
| |
| 594 | bodyVelocity.velocity=vt(0,10,0) | |
| 595 | bodyVelocity.P=1000 | |
| 596 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
| 597 | bodyVelocity.Parent=hit | |
| 598 | game:GetService("Debris"):AddItem(bodyVelocity,1)
| |
| 599 | rl=Instance.new("BodyAngularVelocity")
| |
| 600 | rl.P=3000 | |
| 601 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 602 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
| 603 | rl.Parent=hit | |
| 604 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 605 | elseif Type=="Snare" then | |
| 606 | bp=Instance.new("BodyPosition")
| |
| 607 | bp.P=2000 | |
| 608 | bp.D=100 | |
| 609 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 610 | bp.position=hit.Parent.Torso.Position | |
| 611 | bp.Parent=hit.Parent.Torso | |
| 612 | game:GetService("Debris"):AddItem(bp,1)
| |
| 613 | elseif Type=="Target" then | |
| 614 | if Targetting==false then | |
| 615 | ZTarget=hit.Parent.Torso | |
| 616 | coroutine.resume(coroutine.create(function(Part) | |
| 617 | swait(5) | |
| 618 | end),ZTarget) | |
| 619 | TargHum=ZTarget.Parent:findFirstChild("Humanoid")
| |
| 620 | targetgui=Instance.new("BillboardGui")
| |
| 621 | targetgui.Parent=ZTarget | |
| 622 | targetgui.Size=UDim2.new(10,100,10,100) | |
| 623 | targ=Instance.new("ImageLabel")
| |
| 624 | targ.Parent=targetgui | |
| 625 | targ.BackgroundTransparency=1 | |
| 626 | targ.Image="rbxassetid://4834067" | |
| 627 | targ.Size=UDim2.new(1,0,1,0) | |
| 628 | cam.CameraType="Scriptable" | |
| 629 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 630 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 631 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 632 | Targetting=true | |
| 633 | RocketTarget=ZTarget | |
| 634 | for i=1,Property do | |
| 635 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 636 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 637 | swait() | |
| 638 | end | |
| 639 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
| 640 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 641 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 642 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 643 | end | |
| 644 | Targetting=false | |
| 645 | RocketTarget=nil | |
| 646 | targetgui.Parent=nil | |
| 647 | cam.CameraType="Custom" | |
| 648 | end | |
| 649 | end | |
| 650 | debounce=Instance.new("BoolValue")
| |
| 651 | debounce.Name="DebounceHit" | |
| 652 | debounce.Parent=hit.Parent | |
| 653 | debounce.Value=true | |
| 654 | game:GetService("Debris"):AddItem(debounce,Delay)
| |
| 655 | c=Instance.new("ObjectValue")
| |
| 656 | c.Name="creator" | |
| 657 | c.Value=Player | |
| 658 | c.Parent=h | |
| 659 | game:GetService("Debris"):AddItem(c,.5)
| |
| 660 | CRIT=false | |
| 661 | hitDeb=true | |
| 662 | AttackPos=6 | |
| 663 | end | |
| 664 | end | |
| 665 | ||
| 666 | showDamage=function(Char,Dealt,du,Color) | |
| 667 | m=Instance.new("Model")
| |
| 668 | m.Name="" | |
| 669 | h=Instance.new("Humanoid")
| |
| 670 | h.Health=0 | |
| 671 | h.MaxHealth=0 | |
| 672 | h.Parent=m | |
| 673 | c=Instance.new("Part")
| |
| 674 | c.Transparency=0 | |
| 675 | c.Material = "Neon" | |
| 676 | c.BrickColor=bc("Bright yellow")
| |
| 677 | c.Name="Head" | |
| 678 | c.TopSurface=0 | |
| 679 | c.BottomSurface=0 | |
| 680 | CV="Hot pink" | |
| 681 | ||
| 682 | local txt = Instance.new("BillboardGui", c)
| |
| 683 | txt.Adornee = c | |
| 684 | txt.Name = "_status" | |
| 685 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
| 686 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
| 687 | local text = Instance.new("TextLabel", txt)
| |
| 688 | text.Size = UDim2.new(10, 0, 7, 0) | |
| 689 | text.FontSize = "Size24" | |
| 690 | text.TextScaled = true | |
| 691 | text.TextTransparency = 0 | |
| 692 | text.BackgroundTransparency = 1 | |
| 693 | text.TextTransparency = 0 | |
| 694 | text.TextStrokeTransparency = 0 | |
| 695 | if Dealt < 12 then | |
| 696 | text.Font = "Highway" | |
| 697 | elseif Dealt < 20 then | |
| 698 | text.Font = "SourceSansBold" | |
| 699 | elseif Dealt >= 20 then | |
| 700 | text.Font = "Fantasy" | |
| 701 | end | |
| 702 | text.TextStrokeColor3 = BrickColor.new("Really black").Color
| |
| 703 | local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
| |
| 704 | v=Instance.new("Part")
| |
| 705 | v.Name = "ColorBrick" | |
| 706 | v.Parent=c | |
| 707 | v.FormFactor="Symmetric" | |
| 708 | v.Anchored=true | |
| 709 | v.CanCollide=false | |
| 710 | v.BottomSurface="Smooth" | |
| 711 | v.TopSurface="Smooth" | |
| 712 | v.Size=Vector3.new(10,5,3) | |
| 713 | v.Transparency=1 | |
| 714 | v.CFrame=c.CFrame | |
| 715 | v.BrickColor=BrickColor.new(CV) | |
| 716 | v.Transparency=1 | |
| 717 | if Dealt < 12 then | |
| 718 | text.TextColor3 = BrickColor.new("White").Color
| |
| 719 | elseif Dealt < 20 then | |
| 720 | text.TextColor3 = BrickColor.new("Bright yellow").Color
| |
| 721 | elseif Dealt >= 20 then | |
| 722 | text.TextColor3 = BrickColor.new("Really red").Color
| |
| 723 | end | |
| 724 | v.Shape="Block" | |
| 725 | text.Text = tostring(Dealt).. "!" | |
| 726 | local dam = Instance.new("Sound",c)
| |
| 727 | local rndm=math.random(1,#hitsounds) | |
| 728 | local r=rndm | |
| 729 | dam.SoundId = "http://www.roblox.com/asset/?id="..hitsounds[r] | |
| 730 | dam.Volume = 1.25 | |
| 731 | dam.Pitch = 1 | |
| 732 | dam:Play() | |
| 733 | c.formFactor="Plate" | |
| 734 | c.Transparency = 1 | |
| 735 | c.Size=Vector3.new(1,.4,1) | |
| 736 | ms=Instance.new("CylinderMesh")
| |
| 737 | ms.Scale=Vector3.new(.8,.8,.8) | |
| 738 | if CRIT==true then | |
| 739 | ms.Scale=Vector3.new(1,1.25,1) | |
| 740 | end | |
| 741 | ms.Parent=c | |
| 742 | c.Reflectance=0 | |
| 743 | Instance.new("BodyGyro").Parent=c
| |
| 744 | c.Parent=m | |
| 745 | if Char:findFirstChild("Head")~=nil then
| |
| 746 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 747 | elseif Char.Parent:findFirstChild("Head")~=nil then
| |
| 748 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 749 | end | |
| 750 | f=Instance.new("BodyPosition")
| |
| 751 | f.P=2000 | |
| 752 | f.D=100 | |
| 753 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 754 | f.position=c.Position+Vector3.new(0,3,0) | |
| 755 | f.Parent=c | |
| 756 | game:GetService("Debris"):AddItem(m,.5+du)
| |
| 757 | c.CanCollide=false | |
| 758 | m.Parent=workspace | |
| 759 | c.CanCollide=false | |
| 760 | wait(1) | |
| 761 | for l = 0, 9 do | |
| 762 | text.TextTransparency = text.TextTransparency + 0.1 | |
| 763 | text.TextStrokeTransparency = text.TextStrokeTransparency + 0.1 | |
| 764 | wait() | |
| 765 | end | |
| 766 | end | |
| 767 | ||
| 768 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size) | |
| 769 | local gui = it(GuiType) | |
| 770 | gui.Parent = parent | |
| 771 | gui.Text = text | |
| 772 | gui.BackgroundTransparency = backtrans | |
| 773 | gui.BackgroundColor3 = backcol | |
| 774 | gui.SizeConstraint = "RelativeXY" | |
| 775 | gui.TextXAlignment = "Center" | |
| 776 | gui.TextYAlignment = "Center" | |
| 777 | gui.Position = pos | |
| 778 | gui.Size = size | |
| 779 | gui.Font = "SourceSans" | |
| 780 | gui.FontSize = "Size14" | |
| 781 | gui.TextWrapped = false | |
| 782 | gui.TextStrokeTransparency = 0 | |
| 783 | gui.TextColor = BrickColor.new("White")
| |
| 784 | return gui | |
| 785 | end | |
| 786 | ---- GUI set | |
| 787 | local basgui = it("GuiMain")
| |
| 788 | basgui.Parent = Player.PlayerGui | |
| 789 | basgui.Name = "CooldownsGUI" | |
| 790 | local basframe = it("Frame")
| |
| 791 | basframe.Parent = basgui | |
| 792 | basframe.BackgroundColor3 = Color3.new(255, 255, 255) | |
| 793 | basframe.BackgroundTransparency = 1 | |
| 794 | basframe.BorderColor3 = Color3.new(17, 17, 17) | |
| 795 | basframe.Size = UDim2.new(0.2, 0, 0.2, 0) | |
| 796 | basframe.Position = UDim2.new(0.8, 0, 0.8, 0) | |
| 797 | local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Gold").Color, UDim2.new(0.35, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
| |
| 798 | basicgui.ZIndex = 2 | |
| 799 | basicgui.Font = "Highway" | |
| 800 | basicgui.BackgroundTransparency = 0.5 | |
| 801 | basicgui.BorderSizePixel = 0.65 | |
| 802 | basicgui.TextScaled = true | |
| 803 | basicgui.Text = "(F)\nInferno Meteor" | |
| 804 | basicgui.TextSize = 24 | |
| 805 | local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Gold").Color, UDim2.new(-0.15, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
| |
| 806 | basicgui2.ZIndex = 2 | |
| 807 | basicgui2.Font = "Highway" | |
| 808 | basicgui2.BackgroundTransparency = 0.5 | |
| 809 | basicgui2.BorderSizePixel = 0.65 | |
| 810 | basicgui2.TextScaled = true | |
| 811 | basicgui2.Text = "(E)\nInferno Demise" | |
| 812 | basicgui2.TextSize = 24 | |
| 813 | local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Gold").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
| |
| 814 | basicgui3.ZIndex = 2 | |
| 815 | basicgui3.Font = "Highway" | |
| 816 | basicgui3.BackgroundTransparency = 0.5 | |
| 817 | basicgui3.BorderSizePixel = 0.65 | |
| 818 | basicgui3.TextScaled = true | |
| 819 | basicgui3.Text = "(Q)\nInferno Comet" | |
| 820 | basicgui3.TextSize = 24 | |
| 821 | local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Gold").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
| |
| 822 | basicgui4.ZIndex = 2 | |
| 823 | basicgui4.Font = "Highway" | |
| 824 | basicgui4.BackgroundTransparency = 0.5 | |
| 825 | basicgui4.BorderSizePixel = 0.65 | |
| 826 | basicgui4.TextScaled = true | |
| 827 | basicgui4.Text = "(R)\nInferno Wrath" | |
| 828 | basicgui4.TextSize = 24 | |
| 829 | local basicgui5 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Gold").Color, UDim2.new(-0.15, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
| |
| 830 | basicgui5.ZIndex = 2 | |
| 831 | basicgui5.Font = "Highway" | |
| 832 | basicgui5.BackgroundTransparency = 0.5 | |
| 833 | basicgui5.BorderSizePixel = 0.65 | |
| 834 | basicgui5.TextScaled = true | |
| 835 | basicgui5.Text = "(Z)\n???" | |
| 836 | basicgui5.TextSize = 24 | |
| 837 | local basicgui6 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Gold").Color, UDim2.new(0.35, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
| |
| 838 | basicgui6.ZIndex = 2 | |
| 839 | basicgui6.Font = "Highway" | |
| 840 | basicgui6.BackgroundTransparency = 0.5 | |
| 841 | basicgui6.BorderSizePixel = 0.65 | |
| 842 | basicgui6.TextScaled = true | |
| 843 | basicgui6.Text = "(X)\nInferno Hell" | |
| 844 | basicgui6.TextSize = 24 | |
| 845 | ||
| 846 | local healthg = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, 0.675, 0), UDim2.new(0.95, 0, 0.15, 0))
| |
| 847 | healthg.ZIndex = 2 | |
| 848 | healthg.Font = "Highway" | |
| 849 | healthg.BackgroundTransparency = 0.5 | |
| 850 | healthg.BorderSizePixel = 0.65 | |
| 851 | healthg.TextScaled = true | |
| 852 | healthg.Text = "health" | |
| 853 | healthg.TextSize = 24 | |
| 854 | ||
| 855 | char.Humanoid.Animator.Parent = nil | |
| 856 | ||
| 857 | ---------------- set a position | |
| 858 | local handle = Instance.new("Part")
| |
| 859 | handle.Parent = Character | |
| 860 | handle.Size = Vector3.new(0.2,0.2,0.2) | |
| 861 | handle.Archivable = true | |
| 862 | handle.Transparency = 1 | |
| 863 | handle.CanCollide = false | |
| 864 | handle.BrickColor = BrickColor.new("White")
| |
| 865 | handle.Material = "Neon" | |
| 866 | local handlmesh = Instance.new("BlockMesh",handle)
| |
| 867 | handlmesh.Scale = Vector3.new(1,1,1) | |
| 868 | local handleweld = Instance.new("Weld")
| |
| 869 | handleweld.Parent = handle | |
| 870 | handleweld.Part0 = rarm | |
| 871 | handleweld.Part1 = handle | |
| 872 | handleweld.C1 = CFrame.new(0, 1.35, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)) | |
| 873 | handleweld.Part0 = rarm | |
| 874 | ||
| 875 | ---- yeee boi here comes entrance of inferno | |
| 876 | ||
| 877 | hum.WalkSpeed = 0 | |
| 878 | ||
| 879 | local dd = Instance.new("ParticleEmitter",handle)
| |
| 880 | dd.Texture = "http://www.roblox.com/asset/?id=745304849" | |
| 881 | dd.LightEmission = 1 | |
| 882 | dd.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 883 | dd.Rate = 50 | |
| 884 | dd.Lifetime = NumberRange.new(0.5) | |
| 885 | dd.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 886 | dd.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 887 | dd.Speed = NumberRange.new(0) | |
| 888 | dd.Rotation = NumberRange.new(-500,500) | |
| 889 | dd.VelocitySpread = 90000 | |
| 890 | dd.LockedToPart = true | |
| 891 | dd.RotSpeed = NumberRange.new(-500,500) | |
| 892 | local bon = Instance.new("ParticleEmitter",handle)
| |
| 893 | bon.Texture = "rbxassetid://159273560" | |
| 894 | bon.LightEmission = 0.75 | |
| 895 | bon.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 896 | bon.Rate = 0 | |
| 897 | bon.Lifetime = NumberRange.new(2.5) | |
| 898 | bon.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 899 | bon.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 900 | bon.Speed = NumberRange.new(15) | |
| 901 | bon.Rotation = NumberRange.new(-500,500) | |
| 902 | bon.VelocitySpread = 90000 | |
| 903 | bon.RotSpeed = NumberRange.new(-500,500) | |
| 904 | local bon2 = Instance.new("ParticleEmitter",handle)
| |
| 905 | bon2.Texture = "rbxassetid://159273560" | |
| 906 | bon2.LightEmission = 0.75 | |
| 907 | bon2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 908 | bon2.Rate = 0 | |
| 909 | bon2.Lifetime = NumberRange.new(2.5) | |
| 910 | bon2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,10,0)})
| |
| 911 | bon2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 912 | bon2.Speed = NumberRange.new(25) | |
| 913 | bon2.Rotation = NumberRange.new(-500,500) | |
| 914 | bon2.VelocitySpread = 90000 | |
| 915 | bon2.RotSpeed = NumberRange.new(-500,500) | |
| 916 | for i = 0,8,0.1 do | |
| 917 | swait() | |
| 918 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 919 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 920 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(100)), 0.3) | |
| 921 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-7.5 + 2.5 * math.cos(sine / 32))), 0.3) | |
| 922 | end | |
| 923 | dd.Rate = 0 | |
| 924 | bon.Rate = 99999 | |
| 925 | bon2.Rate = 99999 | |
| 926 | ||
| 927 | local tran = Instance.new("ParticleEmitter",handle)
| |
| 928 | tran.Texture = "rbxassetid://159273560" | |
| 929 | tran.LightEmission = 0.75 | |
| 930 | tran.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 931 | tran.Rate = 99999 | |
| 932 | tran.Lifetime = NumberRange.new(0.25) | |
| 933 | tran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 934 | tran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
| |
| 935 | tran.Speed = NumberRange.new(0) | |
| 936 | tran.Rotation = NumberRange.new(-500,500) | |
| 937 | tran.VelocitySpread = 90000 | |
| 938 | tran.LockedToPart = true | |
| 939 | tran.RotSpeed = NumberRange.new(-500,500) | |
| 940 | local tran2 = Instance.new("ParticleEmitter",handle)
| |
| 941 | tran2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
| 942 | tran2.LightEmission = 1 | |
| 943 | tran2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 944 | tran2.Rate = 50 | |
| 945 | tran2.Lifetime = NumberRange.new(0.5) | |
| 946 | tran2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 947 | tran2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 948 | tran2.Speed = NumberRange.new(0) | |
| 949 | tran2.Rotation = NumberRange.new(-500,500) | |
| 950 | tran2.VelocitySpread = 90000 | |
| 951 | tran2.LockedToPart = true | |
| 952 | tran2.RotSpeed = NumberRange.new(-500,500) | |
| 953 | wait(0.5) | |
| 954 | bon.Rate = 0 | |
| 955 | bon2.Rate = 0 | |
| 956 | wait(3.25) | |
| 957 | bon:Destroy() | |
| 958 | bon:Destroy() | |
| 959 | dd:Destroy() | |
| 960 | hum.WalkSpeed = 16 | |
| 961 | ----------- | |
| 962 | ||
| 963 | function InfernoComet() | |
| 964 | attack = true | |
| 965 | chatfunc("Inferno Comet!!")
| |
| 966 | handleweld.Part0 = rarm | |
| 967 | local tra = Instance.new("ParticleEmitter",handle)
| |
| 968 | tra.Texture = "rbxassetid://159273560" | |
| 969 | tra.LightEmission = 0.75 | |
| 970 | tra.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 971 | tra.Rate = 99999 | |
| 972 | tra.Lifetime = NumberRange.new(0.25) | |
| 973 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 974 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
| |
| 975 | tra.Speed = NumberRange.new(0) | |
| 976 | tra.Rotation = NumberRange.new(-500,500) | |
| 977 | tra.VelocitySpread = 90000 | |
| 978 | tra.LockedToPart = true | |
| 979 | tra.RotSpeed = NumberRange.new(-500,500) | |
| 980 | local tra2 = Instance.new("ParticleEmitter",handle)
| |
| 981 | tra2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
| 982 | tra2.LightEmission = 1 | |
| 983 | tra2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 984 | tra2.Rate = 50 | |
| 985 | tra2.Lifetime = NumberRange.new(0.5) | |
| 986 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 987 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
| |
| 988 | tra2.Speed = NumberRange.new(0) | |
| 989 | tra2.Rotation = NumberRange.new(-500,500) | |
| 990 | tra2.VelocitySpread = 90000 | |
| 991 | tra2.LockedToPart = true | |
| 992 | tra2.RotSpeed = NumberRange.new(-500,500) | |
| 993 | for i = 0,4,0.1 do | |
| 994 | swait() | |
| 995 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
| 996 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
| 997 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) | |
| 998 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
| 999 | end | |
| 1000 | local sa = Instance.new("Sound",handle)
| |
| 1001 | sa.SoundId = "rbxassetid://304448425" | |
| 1002 | sa.Volume = 1 | |
| 1003 | sa.Pitch = 1 | |
| 1004 | sa:Play() | |
| 1005 | tra.Rate = 0 | |
| 1006 | tra2.Rate = 0 | |
| 1007 | local lb = Instance.new("Part")
| |
| 1008 | lb.Parent = char | |
| 1009 | lb.Material = "Neon" | |
| 1010 | lb.Color = BrickColor.new("Bright yellow").Color
| |
| 1011 | lb.CanCollide = false | |
| 1012 | lb.Shape = "Ball" | |
| 1013 | lb.CFrame = handle.CFrame | |
| 1014 | lb.Anchored = true | |
| 1015 | lb.Transparency = 1 | |
| 1016 | lb.Size = vt(1,1,1) | |
| 1017 | local thing = Instance.new("SpecialMesh",lb)
| |
| 1018 | thing.MeshType = meshtype | |
| 1019 | local hitted = false | |
| 1020 | lb.Anchored = false | |
| 1021 | local trail = Instance.new("ParticleEmitter",lb)
| |
| 1022 | trail.Texture = "rbxassetid://159273560" | |
| 1023 | trail.LightEmission = 1 | |
| 1024 | trail.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1025 | trail.Rate = 9999 | |
| 1026 | trail.Lifetime = NumberRange.new(1.5) | |
| 1027 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 1028 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1029 | trail.Speed = NumberRange.new(0,0) | |
| 1030 | trail.Rotation = NumberRange.new(-500,500) | |
| 1031 | trail.RotSpeed = NumberRange.new(-500,500) | |
| 1032 | local bv = Instance.new("BodyVelocity")
| |
| 1033 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1034 | bv.velocity = mouse.Hit.lookVector *75 | |
| 1035 | bv.Parent = lb | |
| 1036 | wait(0.05) | |
| 1037 | lb.Touched:connect(function(hit) | |
| 1038 | if hitted == false then | |
| 1039 | hitted = true | |
| 1040 | trail.Rate = 0 | |
| 1041 | lb.Anchored = true | |
| 1042 | local aa = Instance.new("Part")
| |
| 1043 | local val = 1*3.5 | |
| 1044 | aa.Parent = lb | |
| 1045 | local exsound = Instance.new("Sound",aa)
| |
| 1046 | exsound.SoundId = "rbxassetid://821439273" | |
| 1047 | exsound.Volume = 3.5 | |
| 1048 | exsound.Pitch = 1 | |
| 1049 | exsound:Play() | |
| 1050 | aa.Material = "Neon" | |
| 1051 | aa.Color = BrickColor.new("Bright yellow").Color
| |
| 1052 | aa.CanCollide = false | |
| 1053 | aa.Shape = "Ball" | |
| 1054 | aa.CFrame = lb.CFrame | |
| 1055 | aa.Anchored = true | |
| 1056 | aa.Transparency = 0 | |
| 1057 | aa.Size = vt(1,1,1) | |
| 1058 | local thinger = Instance.new("SpecialMesh",aa)
| |
| 1059 | thinger.MeshType = meshtype | |
| 1060 | thinger.Scale = vt(15,15,15) | |
| 1061 | local explosion = Instance.new("Explosion",aa)
| |
| 1062 | explosion.Position = aa.Position | |
| 1063 | explosion.BlastRadius = 22.5 | |
| 1064 | explosion.BlastPressure = 100 | |
| 1065 | local exp = Instance.new("ParticleEmitter",aa)
| |
| 1066 | exp.Texture = "rbxassetid://159273560" | |
| 1067 | exp.LightEmission = 1 | |
| 1068 | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1069 | exp.Rate = 9000000000 | |
| 1070 | exp.Lifetime = NumberRange.new(1) | |
| 1071 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1072 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1073 | exp.Speed = NumberRange.new(100) | |
| 1074 | exp.VelocitySpread = 9000000 | |
| 1075 | exp.Rotation = NumberRange.new(-500,500) | |
| 1076 | exp.RotSpeed = NumberRange.new(-500,500) | |
| 1077 | local expa = Instance.new("ParticleEmitter",aa)
| |
| 1078 | expa.Texture = "rbxassetid://159273560" | |
| 1079 | expa.LightEmission = 1 | |
| 1080 | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1081 | expa.Rate = 9000000000 | |
| 1082 | expa.Lifetime = NumberRange.new(2.75) | |
| 1083 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
| |
| 1084 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1085 | expa.Speed = NumberRange.new(100) | |
| 1086 | expa.VelocitySpread = 9000000 | |
| 1087 | expa.Rotation = NumberRange.new(-500,500) | |
| 1088 | expa.RotSpeed = NumberRange.new(-500,500) | |
| 1089 | local exp2 = exp:Clone() | |
| 1090 | exp2.Parent = aa | |
| 1091 | local exp3 = exp:Clone() | |
| 1092 | exp3.Parent = aa | |
| 1093 | local exp4 = exp:Clone() | |
| 1094 | exp4.Parent = aa | |
| 1095 | local exp5 = exp:Clone() | |
| 1096 | exp5.Parent = aa | |
| 1097 | local exp6 = exp:Clone() | |
| 1098 | exp6.Parent = aa | |
| 1099 | local exp7 = exp:Clone() | |
| 1100 | exp7.Parent = aa | |
| 1101 | local expa2 = expa:Clone() | |
| 1102 | expa2.Parent = aa | |
| 1103 | local expa3 = expa:Clone() | |
| 1104 | expa3.Parent = aa | |
| 1105 | local expa4 = expa:Clone() | |
| 1106 | expa4.Parent = aa | |
| 1107 | local expa5 = expa:Clone() | |
| 1108 | expa5.Parent = aa | |
| 1109 | local expa6 = expa:Clone() | |
| 1110 | expa6.Parent = aa | |
| 1111 | local expa7 = expa:Clone() | |
| 1112 | expa7.Parent = aa | |
| 1113 | for i = 0, 1 do | |
| 1114 | val = val - 0.025*3.5 | |
| 1115 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1116 | wait() | |
| 1117 | end | |
| 1118 | exp.Rate = 0 | |
| 1119 | exp2.Rate = 0 | |
| 1120 | exp3.Rate = 0 | |
| 1121 | exp4.Rate = 0 | |
| 1122 | exp5.Rate = 0 | |
| 1123 | exp6.Rate = 0 | |
| 1124 | exp7.Rate = 0 | |
| 1125 | for i = 0, 1 do | |
| 1126 | val = val - 0.025*3.5 | |
| 1127 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1128 | wait() | |
| 1129 | end | |
| 1130 | expa.Rate = 0 | |
| 1131 | expa2.Rate = 0 | |
| 1132 | expa3.Rate = 0 | |
| 1133 | expa4.Rate = 0 | |
| 1134 | expa5.Rate = 0 | |
| 1135 | expa6.Rate = 0 | |
| 1136 | expa7.Rate = 0 | |
| 1137 | for i = 0, 21 do | |
| 1138 | val = val - 0.025*3.5 | |
| 1139 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1140 | wait() | |
| 1141 | end | |
| 1142 | for i = 0, 74 do | |
| 1143 | val = val - 0.0145 | |
| 1144 | aa.Transparency = aa.Transparency + 0.0145 | |
| 1145 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1146 | wait() | |
| 1147 | end | |
| 1148 | end | |
| 1149 | end) | |
| 1150 | attack = false | |
| 1151 | wait(30) | |
| 1152 | sa:Destroy() | |
| 1153 | tra:Destroy() | |
| 1154 | tra2:Destroy() | |
| 1155 | lb:Destroy() | |
| 1156 | end | |
| 1157 | ||
| 1158 | function InfernoHell() | |
| 1159 | attack = true | |
| 1160 | chatfunc("INFERNO...")
| |
| 1161 | handleweld.Part0 = rarm | |
| 1162 | local aura = Instance.new("ParticleEmitter",tors)
| |
| 1163 | aura.Texture = "rbxassetid://305563617" | |
| 1164 | aura.LightEmission = 1 | |
| 1165 | aura.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1166 | aura.Rate = 25 | |
| 1167 | aura.Lifetime = NumberRange.new(0.75) | |
| 1168 | aura.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8.5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 1169 | aura.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1170 | aura.Speed = NumberRange.new(15) | |
| 1171 | aura.VelocitySpread = 50 | |
| 1172 | local aura2 = Instance.new("ParticleEmitter",tors)
| |
| 1173 | aura2.Texture = "rbxassetid://159273560" | |
| 1174 | aura2.LightEmission = 1 | |
| 1175 | aura2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1176 | aura2.Rate = 99999 | |
| 1177 | aura2.Lifetime = NumberRange.new(1.5) | |
| 1178 | aura2.Acceleration = vt(0,45,0) | |
| 1179 | aura2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 1180 | aura2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1181 | aura2.Speed = NumberRange.new(-25) | |
| 1182 | aura2.Rotation = NumberRange.new(-500,500) | |
| 1183 | aura2.VelocitySpread = 45 | |
| 1184 | aura2.RotSpeed = NumberRange.new(-500,500) | |
| 1185 | local auran = Instance.new("ParticleEmitter",tors)
| |
| 1186 | auran.Texture = "rbxassetid://159273560" | |
| 1187 | auran.LightEmission = 1 | |
| 1188 | auran.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1189 | auran.Rate = 0 | |
| 1190 | auran.Lifetime = NumberRange.new(5) | |
| 1191 | auran.Acceleration = vt(0,-45,0) | |
| 1192 | auran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 1193 | auran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1194 | auran.Speed = NumberRange.new(65) | |
| 1195 | auran.Rotation = NumberRange.new(-500,500) | |
| 1196 | auran.VelocitySpread = 100 | |
| 1197 | auran.RotSpeed = NumberRange.new(-500,500) | |
| 1198 | local sa = Instance.new("Sound",handle)
| |
| 1199 | sa.SoundId = "rbxassetid://431105970" | |
| 1200 | sa.Volume = 5 | |
| 1201 | sa.Pitch = 1 | |
| 1202 | sa:Play() | |
| 1203 | for i = 0,2,0.1 do | |
| 1204 | swait() | |
| 1205 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 1206 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 1207 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(10)), 0.3) | |
| 1208 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.3) | |
| 1209 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.3) | |
| 1210 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(60)),.3) | |
| 1211 | end | |
| 1212 | for i = 0, 5 do | |
| 1213 | auran.Rate = 99999 | |
| 1214 | local lb = Instance.new("Part")
| |
| 1215 | lb.Parent = char | |
| 1216 | lb.Material = "Neon" | |
| 1217 | lb.Color = BrickColor.new("Bright yellow").Color
| |
| 1218 | lb.CanCollide = false | |
| 1219 | lb.Size = vt(1,1,1) | |
| 1220 | lb.CFrame = tors.CFrame | |
| 1221 | lb.Rotation = vt(0,0,0) | |
| 1222 | lb.Anchored = true | |
| 1223 | lb.Transparency = 0 | |
| 1224 | local thing = Instance.new("SpecialMesh",lb)
| |
| 1225 | thing.MeshType = "FileMesh" | |
| 1226 | thing.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
| 1227 | thing.Scale = vt(0,15,0) | |
| 1228 | local chancerot = math.random(1,2) | |
| 1229 | for z = 0, 4 do | |
| 1230 | if chancerot == 1 then | |
| 1231 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
| 1232 | elseif chancerot == 2 then | |
| 1233 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
| 1234 | end | |
| 1235 | lb.Transparency = lb.Transparency + 0.1 | |
| 1236 | thing.Scale = thing.Scale + vt(15,0,15) | |
| 1237 | wait() | |
| 1238 | end | |
| 1239 | auran.Rate = 0 | |
| 1240 | for z = 0, 4 do | |
| 1241 | if chancerot == 1 then | |
| 1242 | lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0) | |
| 1243 | elseif chancerot == 2 then | |
| 1244 | lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0) | |
| 1245 | end | |
| 1246 | lb.Transparency = lb.Transparency + 0.1 | |
| 1247 | thing.Scale = thing.Scale + vt(15,0,15) | |
| 1248 | wait() | |
| 1249 | end | |
| 1250 | lb:Destroy() | |
| 1251 | end | |
| 1252 | chatfunc("HELL!!!")
| |
| 1253 | local sa = Instance.new("Sound",handle)
| |
| 1254 | sa.SoundId = "rbxassetid://416328540" | |
| 1255 | sa.Volume = 10 | |
| 1256 | sa.Pitch = 0.75 | |
| 1257 | sa:Play() | |
| 1258 | ||
| 1259 | local sbs = Instance.new("BodyPosition", root)
| |
| 1260 | sbs.P = 3000 | |
| 1261 | sbs.D = 1000 | |
| 1262 | sbs.maxForce = Vector3.new(500000, 500000000, 500000) | |
| 1263 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 1000, 0) | |
| 1264 | for i = 0,24,0.1 do | |
| 1265 | swait() | |
| 1266 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
| 1267 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
| 1268 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3) | |
| 1269 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
| 1270 | end | |
| 1271 | local shur = Instance.new("Part",char)
| |
| 1272 | local gahde = Instance.new("Sound",char)
| |
| 1273 | gahde.SoundId = "rbxassetid://402981977" | |
| 1274 | gahde.Volume = 5 | |
| 1275 | gahde.Pitch = 0.6 | |
| 1276 | gahde:Play() | |
| 1277 | shur.Transparency = 1 | |
| 1278 | shur.Material = "Neon" | |
| 1279 | shur.BrickColor = bc("Bright yellow")
| |
| 1280 | shur.Anchored = true | |
| 1281 | shur.CFrame = tors.CFrame + vt(0,10,0) | |
| 1282 | shur.Size = vt(1,0.2,1) | |
| 1283 | shur.CanCollide = false | |
| 1284 | local dec = Instance.new("Decal",shur)
| |
| 1285 | dec.Texture = "http://www.roblox.com/asset/?id=840391577" | |
| 1286 | dec.Face = "Top" | |
| 1287 | local dec2 = dec:Clone() | |
| 1288 | dec2.Parent = shur | |
| 1289 | dec2.Face = "Bottom" | |
| 1290 | local Meshshur = Instance.new("CylinderMesh",shur)
| |
| 1291 | Meshshur.Scale = vt(0,1,0) | |
| 1292 | for i = 0, 39 do | |
| 1293 | wait() | |
| 1294 | Meshshur.Scale = Meshshur.Scale + vt(15,0,15) | |
| 1295 | end | |
| 1296 | local sa = Instance.new("Sound",char)
| |
| 1297 | sa.SoundId = "rbxassetid://428027602" | |
| 1298 | sa.Volume = 2.5 | |
| 1299 | sa.Pitch = 0.5 | |
| 1300 | sa:Play() | |
| 1301 | local lb = Instance.new("Part")
| |
| 1302 | lb.Parent = char | |
| 1303 | lb.Material = "Neon" | |
| 1304 | lb.Color = BrickColor.new("Bright yellow").Color
| |
| 1305 | lb.CanCollide = false | |
| 1306 | lb.Shape = "Ball" | |
| 1307 | lb.CFrame = handle.CFrame | |
| 1308 | lb.Anchored = true | |
| 1309 | lb.Transparency = 0 | |
| 1310 | lb.Size = vt(1,1,1) | |
| 1311 | lb.CFrame = handle.CFrame | |
| 1312 | local thing = Instance.new("SpecialMesh",lb)
| |
| 1313 | thing.MeshType = meshtype | |
| 1314 | thing.Scale = vt(0,0,0) | |
| 1315 | for i = 0, 89 do | |
| 1316 | thing.Scale = thing.Scale + vt(2.5,2.5,2.5) | |
| 1317 | lb.CFrame = lb.CFrame + Vector3.new(0,1.425,0) | |
| 1318 | wait() | |
| 1319 | end | |
| 1320 | wait(1) | |
| 1321 | for i = 0, 39 do | |
| 1322 | wait() | |
| 1323 | Meshshur.Scale = Meshshur.Scale - vt(15,0,15) | |
| 1324 | end | |
| 1325 | local sa = Instance.new("Sound",char)
| |
| 1326 | sa.SoundId = "rbxassetid://565538688" | |
| 1327 | sa.Volume = 1 | |
| 1328 | sa.Pitch = 0.95 | |
| 1329 | sa:Play() | |
| 1330 | wait(0.5) | |
| 1331 | shur:Destroy() | |
| 1332 | sbs:Destroy() | |
| 1333 | local sa = Instance.new("Sound",char)
| |
| 1334 | sa.SoundId = "rbxassetid://416328540" | |
| 1335 | sa.Volume = 1.5 | |
| 1336 | sa.Pitch = 0.5 | |
| 1337 | sa:Play() | |
| 1338 | local sa = Instance.new("Sound",char)
| |
| 1339 | sa.SoundId = "rbxassetid://466493476" | |
| 1340 | sa.Volume = 1.5 | |
| 1341 | sa.Pitch = 0.5 | |
| 1342 | sa:Play() | |
| 1343 | aura.Rate = 0 | |
| 1344 | aura2.Rate = 0 | |
| 1345 | local hitted = false | |
| 1346 | lb.Anchored = false | |
| 1347 | local trail = Instance.new("ParticleEmitter",lb)
| |
| 1348 | trail.Texture = "rbxassetid://159273560" | |
| 1349 | trail.LightEmission = 1 | |
| 1350 | trail.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1351 | trail.Rate = 9999 | |
| 1352 | trail.Lifetime = NumberRange.new(2.5) | |
| 1353 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,150,0),NumberSequenceKeypoint.new(1,5,0)})
| |
| 1354 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1355 | trail.Speed = NumberRange.new(100) | |
| 1356 | trail.VelocitySpread = 9000000 | |
| 1357 | trail.Rotation = NumberRange.new(-500,500) | |
| 1358 | trail.RotSpeed = NumberRange.new(-500,500) | |
| 1359 | local bv = Instance.new("BodyVelocity")
| |
| 1360 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1361 | bv.velocity = mouse.Hit.lookVector *75 | |
| 1362 | bv.Parent = lb | |
| 1363 | wait(0.05) | |
| 1364 | lb.Touched:connect(function(hit) | |
| 1365 | if hitted == false then | |
| 1366 | hitted = true | |
| 1367 | trail.Rate = 0 | |
| 1368 | lb.Anchored = true | |
| 1369 | local aa = Instance.new("Part")
| |
| 1370 | for i = 0, 9 do | |
| 1371 | lb.Transparency = lb.Transparency + 0.1 | |
| 1372 | local val = 1*3.5 | |
| 1373 | aa.Parent = lb | |
| 1374 | local exsound = Instance.new("Sound",aa)
| |
| 1375 | exsound.SoundId = "rbxassetid://412831137" | |
| 1376 | exsound.Volume = 10 | |
| 1377 | exsound.Pitch = 0.5 | |
| 1378 | exsound:Play() | |
| 1379 | local exsound = Instance.new("Sound",aa)
| |
| 1380 | exsound.SoundId = "rbxassetid://439342426" | |
| 1381 | exsound.Volume = 10 | |
| 1382 | exsound.Pitch = 0.75 | |
| 1383 | exsound:Play() | |
| 1384 | local exsound = Instance.new("Sound",aa)
| |
| 1385 | exsound.SoundId = "rbxassetid://439342426" | |
| 1386 | exsound.Volume = 10 | |
| 1387 | exsound.Pitch = 0.5 | |
| 1388 | exsound:Play() | |
| 1389 | local exsound = Instance.new("Sound",aa)
| |
| 1390 | exsound.SoundId = "rbxassetid://439342426" | |
| 1391 | exsound.Volume = 10 | |
| 1392 | exsound.Pitch = 0.35 | |
| 1393 | exsound:Play() | |
| 1394 | local exsound = Instance.new("Sound",aa)
| |
| 1395 | exsound.SoundId = "rbxassetid://439342426" | |
| 1396 | exsound.Volume = 10 | |
| 1397 | exsound.Pitch = 0.25 | |
| 1398 | exsound:Play() | |
| 1399 | local exsound = Instance.new("Sound",aa)
| |
| 1400 | exsound.SoundId = "rbxassetid://439342426" | |
| 1401 | exsound.Volume = 10 | |
| 1402 | exsound.Pitch = 0.2 | |
| 1403 | exsound:Play() | |
| 1404 | aa.Material = "Neon" | |
| 1405 | aa.Color = BrickColor.new("Bright yellow").Color
| |
| 1406 | aa.CanCollide = false | |
| 1407 | aa.Shape = "Ball" | |
| 1408 | aa.CFrame = lb.CFrame | |
| 1409 | aa.Anchored = true | |
| 1410 | aa.Transparency = 0 | |
| 1411 | aa.Size = vt(1,1,1) | |
| 1412 | local thinger = Instance.new("SpecialMesh",aa)
| |
| 1413 | thinger.MeshType = meshtype | |
| 1414 | thinger.Scale = vt(225,225,225) | |
| 1415 | local explosion = Instance.new("Explosion",aa)
| |
| 1416 | explosion.Position = aa.Position | |
| 1417 | explosion.BlastRadius = 500 | |
| 1418 | explosion.BlastPressure = 100 | |
| 1419 | local exp = Instance.new("ParticleEmitter",aa)
| |
| 1420 | exp.Texture = "rbxassetid://159273560" | |
| 1421 | exp.LightEmission = 1 | |
| 1422 | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1423 | exp.Rate = 9000000000 | |
| 1424 | exp.Lifetime = NumberRange.new(1) | |
| 1425 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1426 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1427 | exp.Speed = NumberRange.new(100) | |
| 1428 | exp.VelocitySpread = 9000000 | |
| 1429 | exp.Rotation = NumberRange.new(-500,500) | |
| 1430 | exp.RotSpeed = NumberRange.new(-500,500) | |
| 1431 | local expa = Instance.new("ParticleEmitter",aa)
| |
| 1432 | expa.Texture = "rbxassetid://159273560" | |
| 1433 | expa.LightEmission = 1 | |
| 1434 | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1435 | expa.Rate = 9000000000 | |
| 1436 | expa.Lifetime = NumberRange.new(2.75) | |
| 1437 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,150,0)})
| |
| 1438 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1439 | expa.Speed = NumberRange.new(100) | |
| 1440 | expa.VelocitySpread = 9000000 | |
| 1441 | expa.Rotation = NumberRange.new(-500,500) | |
| 1442 | expa.RotSpeed = NumberRange.new(-500,500) | |
| 1443 | local exp2 = exp:Clone() | |
| 1444 | exp2.Parent = aa | |
| 1445 | local exp3 = exp:Clone() | |
| 1446 | exp3.Parent = aa | |
| 1447 | local exp4 = exp:Clone() | |
| 1448 | exp4.Parent = aa | |
| 1449 | local exp5 = exp:Clone() | |
| 1450 | exp5.Parent = aa | |
| 1451 | local exp6 = exp:Clone() | |
| 1452 | exp6.Parent = aa | |
| 1453 | local exp7 = exp:Clone() | |
| 1454 | exp7.Parent = aa | |
| 1455 | local expa2 = expa:Clone() | |
| 1456 | expa2.Parent = aa | |
| 1457 | local expa3 = expa:Clone() | |
| 1458 | expa3.Parent = aa | |
| 1459 | local expa4 = expa:Clone() | |
| 1460 | expa4.Parent = aa | |
| 1461 | local expa5 = expa:Clone() | |
| 1462 | expa5.Parent = aa | |
| 1463 | local expa6 = expa:Clone() | |
| 1464 | expa6.Parent = aa | |
| 1465 | local expa7 = expa:Clone() | |
| 1466 | expa7.Parent = aa | |
| 1467 | for i = 0, 1 do | |
| 1468 | val = val - 0.025*3.5 | |
| 1469 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1470 | wait() | |
| 1471 | end | |
| 1472 | exp.Rate = 0 | |
| 1473 | exp2.Rate = 0 | |
| 1474 | exp3.Rate = 0 | |
| 1475 | exp4.Rate = 0 | |
| 1476 | exp5.Rate = 0 | |
| 1477 | exp6.Rate = 0 | |
| 1478 | exp7.Rate = 0 | |
| 1479 | for i = 0, 1 do | |
| 1480 | val = val - 0.025*3.5 | |
| 1481 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1482 | wait() | |
| 1483 | end | |
| 1484 | expa.Rate = 0 | |
| 1485 | expa2.Rate = 0 | |
| 1486 | expa3.Rate = 0 | |
| 1487 | expa4.Rate = 0 | |
| 1488 | expa5.Rate = 0 | |
| 1489 | expa6.Rate = 0 | |
| 1490 | expa7.Rate = 0 | |
| 1491 | for i = 0, 21 do | |
| 1492 | val = val - 0.025*3.5 | |
| 1493 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1494 | wait() | |
| 1495 | end | |
| 1496 | for i = 0, 4 do | |
| 1497 | val = val - 0.05 | |
| 1498 | aa.Transparency = aa.Transparency + 0.065*4.5 | |
| 1499 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1500 | wait() | |
| 1501 | end | |
| 1502 | end | |
| 1503 | end | |
| 1504 | end) | |
| 1505 | for i = 0,2,0.1 do | |
| 1506 | swait() | |
| 1507 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
| 1508 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-90)),.3) | |
| 1509 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) | |
| 1510 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
| 1511 | end | |
| 1512 | attack = false | |
| 1513 | wait(60) | |
| 1514 | sa:Destroy() | |
| 1515 | sa:Destroy() | |
| 1516 | sa:Destroy() | |
| 1517 | sa:Destroy() | |
| 1518 | sa:Destroy() | |
| 1519 | aura:Destroy() | |
| 1520 | aura2:Destroy() | |
| 1521 | lb:Destroy() | |
| 1522 | end | |
| 1523 | ||
| 1524 | ||
| 1525 | function InfernoMeteor() | |
| 1526 | attack = true | |
| 1527 | chatfunc("Inferno...")
| |
| 1528 | handleweld.Part0 = rarm | |
| 1529 | local tra = Instance.new("ParticleEmitter",handle)
| |
| 1530 | tra.Texture = "rbxassetid://159273560" | |
| 1531 | tra.LightEmission = 0.75 | |
| 1532 | tra.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1533 | tra.Rate = 99999 | |
| 1534 | tra.Lifetime = NumberRange.new(0.25) | |
| 1535 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 1536 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
| |
| 1537 | tra.Speed = NumberRange.new(0) | |
| 1538 | tra.Rotation = NumberRange.new(-500,500) | |
| 1539 | tra.VelocitySpread = 90000 | |
| 1540 | tra.LockedToPart = true | |
| 1541 | tra.RotSpeed = NumberRange.new(-500,500) | |
| 1542 | local tra2 = Instance.new("ParticleEmitter",handle)
| |
| 1543 | tra2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
| 1544 | tra2.LightEmission = 1 | |
| 1545 | tra2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1546 | tra2.Rate = 50 | |
| 1547 | tra2.Lifetime = NumberRange.new(0.5) | |
| 1548 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 1549 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
| |
| 1550 | tra2.Speed = NumberRange.new(0) | |
| 1551 | tra2.Rotation = NumberRange.new(-500,500) | |
| 1552 | tra2.VelocitySpread = 90000 | |
| 1553 | tra2.LockedToPart = true | |
| 1554 | tra2.RotSpeed = NumberRange.new(-500,500) | |
| 1555 | local sa = Instance.new("Sound",handle)
| |
| 1556 | sa.SoundId = "rbxassetid://565538688" | |
| 1557 | sa.Volume = 1.5 | |
| 1558 | sa.Pitch = 0.975 | |
| 1559 | sa:Play() | |
| 1560 | for i = 0,4,0.1 do | |
| 1561 | swait() | |
| 1562 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
| 1563 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
| 1564 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3) | |
| 1565 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
| 1566 | end | |
| 1567 | chatfunc("Meteor!!")
| |
| 1568 | local sa = Instance.new("Sound",handle)
| |
| 1569 | sa.SoundId = "rbxassetid://304529688" | |
| 1570 | sa.Volume = 1.5 | |
| 1571 | sa.Pitch = 0.85 | |
| 1572 | sa:Play() | |
| 1573 | tra.Rate = 0 | |
| 1574 | tra2.Rate = 0 | |
| 1575 | local lb = Instance.new("Part")
| |
| 1576 | lb.Parent = char | |
| 1577 | lb.Material = "Neon" | |
| 1578 | lb.Color = BrickColor.new("Bright yellow").Color
| |
| 1579 | lb.CanCollide = false | |
| 1580 | lb.Shape = "Ball" | |
| 1581 | lb.CFrame = handle.CFrame | |
| 1582 | lb.Anchored = true | |
| 1583 | lb.Transparency = 1 | |
| 1584 | lb.Size = vt(1,1,1) | |
| 1585 | local thing = Instance.new("SpecialMesh",lb)
| |
| 1586 | thing.MeshType = meshtype | |
| 1587 | local hitted = false | |
| 1588 | lb.Anchored = false | |
| 1589 | local trail = Instance.new("ParticleEmitter",lb)
| |
| 1590 | trail.Texture = "rbxassetid://159273560" | |
| 1591 | trail.LightEmission = 1 | |
| 1592 | trail.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1593 | trail.Rate = 9999 | |
| 1594 | trail.Lifetime = NumberRange.new(1.5) | |
| 1595 | trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 1596 | trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1597 | trail.Speed = NumberRange.new(0,0) | |
| 1598 | trail.Rotation = NumberRange.new(-500,500) | |
| 1599 | trail.RotSpeed = NumberRange.new(-500,500) | |
| 1600 | local bv = Instance.new("BodyVelocity")
| |
| 1601 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
| 1602 | bv.velocity = mouse.Hit.lookVector *95 | |
| 1603 | bv.Parent = lb | |
| 1604 | wait(0.05) | |
| 1605 | lb.Touched:connect(function(hit) | |
| 1606 | if hitted == false then | |
| 1607 | hitted = true | |
| 1608 | trail.Rate = 0 | |
| 1609 | lb.Anchored = true | |
| 1610 | local aa = Instance.new("Part")
| |
| 1611 | local val = 1*8 | |
| 1612 | aa.Parent = lb | |
| 1613 | local exsound = Instance.new("Sound",aa)
| |
| 1614 | exsound.SoundId = "rbxassetid://821439273" | |
| 1615 | exsound.Volume = 10 | |
| 1616 | exsound.Pitch = 0.945 | |
| 1617 | exsound:Play() | |
| 1618 | aa.Material = "Neon" | |
| 1619 | aa.Color = BrickColor.new("Bright yellow").Color
| |
| 1620 | aa.CanCollide = false | |
| 1621 | aa.Shape = "Ball" | |
| 1622 | aa.CFrame = lb.CFrame | |
| 1623 | aa.Anchored = true | |
| 1624 | aa.Transparency = 0 | |
| 1625 | aa.Size = vt(1,1,1) | |
| 1626 | local thinger = Instance.new("SpecialMesh",aa)
| |
| 1627 | thinger.MeshType = meshtype | |
| 1628 | thinger.Scale = vt(15,15,15) | |
| 1629 | local explosion = Instance.new("Explosion",aa)
| |
| 1630 | explosion.Position = aa.Position | |
| 1631 | explosion.BlastRadius = 65 | |
| 1632 | explosion.BlastPressure = 100 | |
| 1633 | local exp = Instance.new("ParticleEmitter",aa)
| |
| 1634 | exp.Texture = "rbxassetid://159273560" | |
| 1635 | exp.LightEmission = 1 | |
| 1636 | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1637 | exp.Rate = 9000000000 | |
| 1638 | exp.Lifetime = NumberRange.new(1) | |
| 1639 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1640 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1641 | exp.Speed = NumberRange.new(200) | |
| 1642 | exp.VelocitySpread = 9000000 | |
| 1643 | exp.Rotation = NumberRange.new(-500,500) | |
| 1644 | exp.RotSpeed = NumberRange.new(-500,500) | |
| 1645 | local expa = Instance.new("ParticleEmitter",aa)
| |
| 1646 | expa.Texture = "rbxassetid://159273560" | |
| 1647 | expa.LightEmission = 1 | |
| 1648 | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1649 | expa.Rate = 9000000000 | |
| 1650 | expa.Lifetime = NumberRange.new(2.75) | |
| 1651 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,125,0)})
| |
| 1652 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1653 | expa.Speed = NumberRange.new(200) | |
| 1654 | expa.VelocitySpread = 9000000 | |
| 1655 | expa.Rotation = NumberRange.new(-500,500) | |
| 1656 | expa.RotSpeed = NumberRange.new(-500,500) | |
| 1657 | local exp2 = exp:Clone() | |
| 1658 | exp2.Parent = aa | |
| 1659 | local exp3 = exp:Clone() | |
| 1660 | exp3.Parent = aa | |
| 1661 | local exp4 = exp:Clone() | |
| 1662 | exp4.Parent = aa | |
| 1663 | local exp5 = exp:Clone() | |
| 1664 | exp5.Parent = aa | |
| 1665 | local exp6 = exp:Clone() | |
| 1666 | exp6.Parent = aa | |
| 1667 | local exp7 = exp:Clone() | |
| 1668 | exp7.Parent = aa | |
| 1669 | local expa2 = expa:Clone() | |
| 1670 | expa2.Parent = aa | |
| 1671 | local expa3 = expa:Clone() | |
| 1672 | expa3.Parent = aa | |
| 1673 | local expa4 = expa:Clone() | |
| 1674 | expa4.Parent = aa | |
| 1675 | local expa5 = expa:Clone() | |
| 1676 | expa5.Parent = aa | |
| 1677 | local expa6 = expa:Clone() | |
| 1678 | expa6.Parent = aa | |
| 1679 | local expa7 = expa:Clone() | |
| 1680 | expa7.Parent = aa | |
| 1681 | for i = 0, 1 do | |
| 1682 | val = val - 0.025*8 | |
| 1683 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1684 | wait() | |
| 1685 | end | |
| 1686 | exp.Rate = 0 | |
| 1687 | exp2.Rate = 0 | |
| 1688 | exp3.Rate = 0 | |
| 1689 | exp4.Rate = 0 | |
| 1690 | exp5.Rate = 0 | |
| 1691 | exp6.Rate = 0 | |
| 1692 | exp7.Rate = 0 | |
| 1693 | for i = 0, 1 do | |
| 1694 | val = val - 0.025*8 | |
| 1695 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1696 | wait() | |
| 1697 | end | |
| 1698 | expa.Rate = 0 | |
| 1699 | expa2.Rate = 0 | |
| 1700 | expa3.Rate = 0 | |
| 1701 | expa4.Rate = 0 | |
| 1702 | expa5.Rate = 0 | |
| 1703 | expa6.Rate = 0 | |
| 1704 | expa7.Rate = 0 | |
| 1705 | for i = 0, 21 do | |
| 1706 | val = val - 0.025*8 | |
| 1707 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1708 | wait() | |
| 1709 | end | |
| 1710 | for i = 0, 74 do | |
| 1711 | val = val - 0.0145 | |
| 1712 | aa.Transparency = aa.Transparency + 0.0145 | |
| 1713 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1714 | wait() | |
| 1715 | end | |
| 1716 | end | |
| 1717 | end) | |
| 1718 | attack = false | |
| 1719 | wait(30) | |
| 1720 | sa:Destroy() | |
| 1721 | tra:Destroy() | |
| 1722 | tra2:Destroy() | |
| 1723 | lb:Destroy() | |
| 1724 | end | |
| 1725 | ||
| 1726 | ||
| 1727 | function InfernoWrath() | |
| 1728 | attack = true | |
| 1729 | chatfunc("Inferno Wrath!!")
| |
| 1730 | for i = 0,4,0.1 do | |
| 1731 | swait() | |
| 1732 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1733 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 1734 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3) | |
| 1735 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) | |
| 1736 | end | |
| 1737 | local ff = Instance.new("ForceField",char)
| |
| 1738 | hum.WalkSpeed = 0 | |
| 1739 | local lb = Instance.new("Part")
| |
| 1740 | lb.Parent = char | |
| 1741 | lb.Material = "Neon" | |
| 1742 | lb.Color = BrickColor.new("Bright yellow").Color
| |
| 1743 | lb.CanCollide = false | |
| 1744 | lb.Shape = "Ball" | |
| 1745 | lb.CFrame = torso.CFrame | |
| 1746 | lb.Anchored = true | |
| 1747 | lb.Transparency = 1 | |
| 1748 | lb.Size = vt(1,1,1) | |
| 1749 | local thing = Instance.new("SpecialMesh",lb)
| |
| 1750 | thing.MeshType = meshtype | |
| 1751 | for i = 0, 4 do | |
| 1752 | local lbr = Instance.new("Part")
| |
| 1753 | lbr.Parent = char | |
| 1754 | lbr.Material = "Neon" | |
| 1755 | lbr.Color = BrickColor.new("Bright yellow").Color
| |
| 1756 | lbr.CanCollide = false | |
| 1757 | lbr.Shape = "Ball" | |
| 1758 | lbr.CFrame = lb.CFrame | |
| 1759 | lbr.Anchored = true | |
| 1760 | lbr.Transparency = 1 | |
| 1761 | lbr.Size = vt(1,1,1) | |
| 1762 | local thinga = Instance.new("SpecialMesh",lbr)
| |
| 1763 | thinga.MeshType = meshtype | |
| 1764 | thinga.Scale = vt(20*6,20*6,20*6) | |
| 1765 | for z = 0, 19 do | |
| 1766 | wait(0.025) | |
| 1767 | lbr.Transparency = lbr.Transparency - 0.05 | |
| 1768 | thinga.Scale = thinga.Scale - vt(1*6,1*6,1*6) | |
| 1769 | end | |
| 1770 | lbr:Destroy() | |
| 1771 | end | |
| 1772 | local aa = Instance.new("Part")
| |
| 1773 | local val = 1*7.5 | |
| 1774 | aa.Parent = lb | |
| 1775 | local exsound = Instance.new("Sound",handle)
| |
| 1776 | exsound.SoundId = "rbxassetid://821439273" | |
| 1777 | exsound.Volume = 10 | |
| 1778 | exsound.Pitch = 1 | |
| 1779 | exsound:Play() | |
| 1780 | aa.Material = "Neon" | |
| 1781 | aa.Color = BrickColor.new("Bright yellow").Color
| |
| 1782 | aa.CanCollide = false | |
| 1783 | aa.Shape = "Ball" | |
| 1784 | aa.CFrame = lb.CFrame | |
| 1785 | aa.Anchored = true | |
| 1786 | aa.Transparency = 0 | |
| 1787 | aa.Size = vt(1,1,1) | |
| 1788 | local thinger = Instance.new("SpecialMesh",aa)
| |
| 1789 | thinger.MeshType = meshtype | |
| 1790 | thinger.Scale = vt(15*1.5,15*1.5,15*1.5) | |
| 1791 | local explosion = Instance.new("Explosion",aa)
| |
| 1792 | explosion.Position = aa.Position | |
| 1793 | explosion.BlastRadius = 50 | |
| 1794 | explosion.BlastPressure = 100 | |
| 1795 | local exp = Instance.new("ParticleEmitter",aa)
| |
| 1796 | exp.Texture = "rbxassetid://159273560" | |
| 1797 | exp.LightEmission = 1 | |
| 1798 | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1799 | exp.Rate = 9000000000 | |
| 1800 | exp.Lifetime = NumberRange.new(1) | |
| 1801 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1802 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1803 | exp.Speed = NumberRange.new(115) | |
| 1804 | exp.VelocitySpread = 9000000 | |
| 1805 | exp.Rotation = NumberRange.new(-500,500) | |
| 1806 | exp.RotSpeed = NumberRange.new(-500,500) | |
| 1807 | local expa = Instance.new("ParticleEmitter",aa)
| |
| 1808 | expa.Texture = "rbxassetid://159273560" | |
| 1809 | expa.LightEmission = 1 | |
| 1810 | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1811 | expa.Rate = 9000000000 | |
| 1812 | expa.Lifetime = NumberRange.new(2.75) | |
| 1813 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
| |
| 1814 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1815 | expa.Speed = NumberRange.new(115) | |
| 1816 | expa.VelocitySpread = 9000000 | |
| 1817 | expa.Rotation = NumberRange.new(-500,500) | |
| 1818 | expa.RotSpeed = NumberRange.new(-500,500) | |
| 1819 | local exp2 = exp:Clone() | |
| 1820 | exp2.Parent = aa | |
| 1821 | local exp3 = exp:Clone() | |
| 1822 | exp3.Parent = aa | |
| 1823 | local exp4 = exp:Clone() | |
| 1824 | exp4.Parent = aa | |
| 1825 | local exp5 = exp:Clone() | |
| 1826 | exp5.Parent = aa | |
| 1827 | local exp6 = exp:Clone() | |
| 1828 | exp6.Parent = aa | |
| 1829 | local exp7 = exp:Clone() | |
| 1830 | exp7.Parent = aa | |
| 1831 | local expa2 = expa:Clone() | |
| 1832 | expa2.Parent = aa | |
| 1833 | local expa3 = expa:Clone() | |
| 1834 | expa3.Parent = aa | |
| 1835 | local expa4 = expa:Clone() | |
| 1836 | expa4.Parent = aa | |
| 1837 | local expa5 = expa:Clone() | |
| 1838 | expa5.Parent = aa | |
| 1839 | local expa6 = expa:Clone() | |
| 1840 | expa6.Parent = aa | |
| 1841 | local expa7 = expa:Clone() | |
| 1842 | expa7.Parent = aa | |
| 1843 | for i = 0, 1 do | |
| 1844 | val = val - 0.025*7.5 | |
| 1845 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1846 | wait() | |
| 1847 | end | |
| 1848 | exp.Rate = 0 | |
| 1849 | exp2.Rate = 0 | |
| 1850 | exp3.Rate = 0 | |
| 1851 | exp4.Rate = 0 | |
| 1852 | exp5.Rate = 0 | |
| 1853 | exp6.Rate = 0 | |
| 1854 | exp7.Rate = 0 | |
| 1855 | for i = 0, 1 do | |
| 1856 | val = val - 0.025*7.5 | |
| 1857 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1858 | wait() | |
| 1859 | end | |
| 1860 | ff:Destroy() | |
| 1861 | hum.WalkSpeed = 16 | |
| 1862 | attack = false | |
| 1863 | expa.Rate = 0 | |
| 1864 | expa2.Rate = 0 | |
| 1865 | expa3.Rate = 0 | |
| 1866 | expa4.Rate = 0 | |
| 1867 | expa5.Rate = 0 | |
| 1868 | expa6.Rate = 0 | |
| 1869 | expa7.Rate = 0 | |
| 1870 | for i = 0, 21 do | |
| 1871 | val = val - 0.025*7.5 | |
| 1872 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1873 | wait() | |
| 1874 | end | |
| 1875 | for i = 0, 74 do | |
| 1876 | val = val - 0.0145 | |
| 1877 | aa.Transparency = aa.Transparency + 0.0145 | |
| 1878 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 1879 | wait() | |
| 1880 | end | |
| 1881 | wait(5) | |
| 1882 | lb:Destroy() | |
| 1883 | end | |
| 1884 | ||
| 1885 | function InfernoDemise() | |
| 1886 | attack = true | |
| 1887 | chatfunc("Inferno Demise!!")
| |
| 1888 | local tra = Instance.new("ParticleEmitter",handle)
| |
| 1889 | tra.Texture = "rbxassetid://159273560" | |
| 1890 | tra.LightEmission = 0.75 | |
| 1891 | tra.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1892 | tra.Rate = 99999 | |
| 1893 | tra.Lifetime = NumberRange.new(0.25) | |
| 1894 | tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 1895 | tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
| |
| 1896 | tra.Speed = NumberRange.new(0) | |
| 1897 | tra.Rotation = NumberRange.new(-500,500) | |
| 1898 | tra.VelocitySpread = 90000 | |
| 1899 | tra.LockedToPart = true | |
| 1900 | tra.RotSpeed = NumberRange.new(-500,500) | |
| 1901 | local tra2 = Instance.new("ParticleEmitter",handle)
| |
| 1902 | tra2.Texture = "http://www.roblox.com/asset/?id=745304849" | |
| 1903 | tra2.LightEmission = 1 | |
| 1904 | tra2.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1905 | tra2.Rate = 50 | |
| 1906 | tra2.Lifetime = NumberRange.new(0.5) | |
| 1907 | tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)})
| |
| 1908 | tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
| |
| 1909 | tra2.Speed = NumberRange.new(0) | |
| 1910 | tra2.Rotation = NumberRange.new(-500,500) | |
| 1911 | tra2.VelocitySpread = 90000 | |
| 1912 | tra2.LockedToPart = true | |
| 1913 | tra2.RotSpeed = NumberRange.new(-500,500) | |
| 1914 | for i = 0,1,0.1 do | |
| 1915 | swait() | |
| 1916 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
| 1917 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) | |
| 1918 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3) | |
| 1919 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3) | |
| 1920 | end | |
| 1921 | tra.Rate = 0 | |
| 1922 | tra2.Rate = 0 | |
| 1923 | local lb = Instance.new("Part")
| |
| 1924 | lb.Parent = char | |
| 1925 | lb.Material = "Neon" | |
| 1926 | lb.Color = BrickColor.new("Bright yellow").Color
| |
| 1927 | lb.CanCollide = false | |
| 1928 | lb.Shape = "Ball" | |
| 1929 | lb.CFrame = mouse.Hit | |
| 1930 | lb.Anchored = true | |
| 1931 | lb.Transparency = 1 | |
| 1932 | lb.Size = vt(1,1,1) | |
| 1933 | local thing = Instance.new("SpecialMesh",lb)
| |
| 1934 | thing.MeshType = meshtype | |
| 1935 | for i = 0, 4 do | |
| 1936 | local lbr = Instance.new("Part")
| |
| 1937 | lbr.Parent = char | |
| 1938 | lbr.Material = "Neon" | |
| 1939 | lbr.Color = BrickColor.new("Bright yellow").Color
| |
| 1940 | lbr.CanCollide = false | |
| 1941 | lbr.Shape = "Ball" | |
| 1942 | lbr.CFrame = lb.CFrame | |
| 1943 | lbr.Anchored = true | |
| 1944 | lbr.Transparency = 1 | |
| 1945 | lbr.Size = vt(1,1,1) | |
| 1946 | local thinga = Instance.new("SpecialMesh",lbr)
| |
| 1947 | thinga.MeshType = meshtype | |
| 1948 | thinga.Scale = vt(20*4.5,20*4.5,20*4.5) | |
| 1949 | for z = 0, 19 do | |
| 1950 | wait(0.025) | |
| 1951 | lbr.Transparency = lbr.Transparency - 0.05 | |
| 1952 | thinga.Scale = thinga.Scale - vt(1*4.5,1*4.5,1*4.5) | |
| 1953 | end | |
| 1954 | lbr:Destroy() | |
| 1955 | end | |
| 1956 | local aa = Instance.new("Part")
| |
| 1957 | local val = 1*6.25 | |
| 1958 | aa.Parent = lb | |
| 1959 | local exsound = Instance.new("Sound",aa)
| |
| 1960 | exsound.SoundId = "rbxassetid://821439273" | |
| 1961 | exsound.Volume = 4.5 | |
| 1962 | exsound.Pitch = 1 | |
| 1963 | exsound:Play() | |
| 1964 | aa.Material = "Neon" | |
| 1965 | aa.Color = BrickColor.new("Bright yellow").Color
| |
| 1966 | aa.CanCollide = false | |
| 1967 | aa.Shape = "Ball" | |
| 1968 | aa.CFrame = lb.CFrame | |
| 1969 | aa.Anchored = true | |
| 1970 | aa.Transparency = 0 | |
| 1971 | aa.Size = vt(1,1,1) | |
| 1972 | local thinger = Instance.new("SpecialMesh",aa)
| |
| 1973 | thinger.MeshType = meshtype | |
| 1974 | thinger.Scale = vt(15*1.15,15*1.15,15*1.15) | |
| 1975 | local explosion = Instance.new("Explosion",aa)
| |
| 1976 | explosion.Position = aa.Position | |
| 1977 | explosion.BlastRadius = 35 | |
| 1978 | explosion.BlastPressure = 100 | |
| 1979 | local exp = Instance.new("ParticleEmitter",aa)
| |
| 1980 | exp.Texture = "rbxassetid://159273560" | |
| 1981 | exp.LightEmission = 1 | |
| 1982 | exp.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1983 | exp.Rate = 9000000000 | |
| 1984 | exp.Lifetime = NumberRange.new(1) | |
| 1985 | exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1986 | exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1987 | exp.Speed = NumberRange.new(105) | |
| 1988 | exp.VelocitySpread = 9000000 | |
| 1989 | exp.Rotation = NumberRange.new(-500,500) | |
| 1990 | exp.RotSpeed = NumberRange.new(-500,500) | |
| 1991 | local expa = Instance.new("ParticleEmitter",aa)
| |
| 1992 | expa.Texture = "rbxassetid://159273560" | |
| 1993 | expa.LightEmission = 1 | |
| 1994 | expa.Color = ColorSequence.new(Color3.new(0,25/255,255/255)) | |
| 1995 | expa.Rate = 9000000000 | |
| 1996 | expa.Lifetime = NumberRange.new(2.75) | |
| 1997 | expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
| |
| 1998 | expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
| |
| 1999 | expa.Speed = NumberRange.new(105) | |
| 2000 | expa.VelocitySpread = 9000000 | |
| 2001 | expa.Rotation = NumberRange.new(-500,500) | |
| 2002 | expa.RotSpeed = NumberRange.new(-500,500) | |
| 2003 | local exp2 = exp:Clone() | |
| 2004 | exp2.Parent = aa | |
| 2005 | local exp3 = exp:Clone() | |
| 2006 | exp3.Parent = aa | |
| 2007 | local exp4 = exp:Clone() | |
| 2008 | exp4.Parent = aa | |
| 2009 | local exp5 = exp:Clone() | |
| 2010 | exp5.Parent = aa | |
| 2011 | local exp6 = exp:Clone() | |
| 2012 | exp6.Parent = aa | |
| 2013 | local exp7 = exp:Clone() | |
| 2014 | exp7.Parent = aa | |
| 2015 | local expa2 = expa:Clone() | |
| 2016 | expa2.Parent = aa | |
| 2017 | local expa3 = expa:Clone() | |
| 2018 | expa3.Parent = aa | |
| 2019 | local expa4 = expa:Clone() | |
| 2020 | expa4.Parent = aa | |
| 2021 | local expa5 = expa:Clone() | |
| 2022 | expa5.Parent = aa | |
| 2023 | local expa6 = expa:Clone() | |
| 2024 | expa6.Parent = aa | |
| 2025 | local expa7 = expa:Clone() | |
| 2026 | expa7.Parent = aa | |
| 2027 | for i = 0, 1 do | |
| 2028 | val = val - 0.025*6.25 | |
| 2029 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2030 | wait() | |
| 2031 | end | |
| 2032 | exp.Rate = 0 | |
| 2033 | exp2.Rate = 0 | |
| 2034 | exp3.Rate = 0 | |
| 2035 | exp4.Rate = 0 | |
| 2036 | exp5.Rate = 0 | |
| 2037 | exp6.Rate = 0 | |
| 2038 | exp7.Rate = 0 | |
| 2039 | for i = 0, 1 do | |
| 2040 | val = val - 0.025*6.25 | |
| 2041 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2042 | wait() | |
| 2043 | end | |
| 2044 | attack = false | |
| 2045 | expa.Rate = 0 | |
| 2046 | expa2.Rate = 0 | |
| 2047 | expa3.Rate = 0 | |
| 2048 | expa4.Rate = 0 | |
| 2049 | expa5.Rate = 0 | |
| 2050 | expa6.Rate = 0 | |
| 2051 | expa7.Rate = 0 | |
| 2052 | for i = 0, 21 do | |
| 2053 | val = val - 0.025*6.25 | |
| 2054 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2055 | wait() | |
| 2056 | end | |
| 2057 | for i = 0, 74 do | |
| 2058 | val = val - 0.0145 | |
| 2059 | aa.Transparency = aa.Transparency + 0.0145 | |
| 2060 | thinger.Scale = thinger.Scale + vt(val,val,val) | |
| 2061 | wait() | |
| 2062 | end | |
| 2063 | wait(5) | |
| 2064 | lb:Destroy() | |
| 2065 | tra:Destroy() | |
| 2066 | tra2:Destroy() | |
| 2067 | end | |
| 2068 | ||
| 2069 | mouse.KeyDown:connect(function(key) | |
| 2070 | if key == "q" and attack == false then | |
| 2071 | InfernoComet() | |
| 2072 | end | |
| 2073 | if key == "e" and attack == false then | |
| 2074 | InfernoDemise() | |
| 2075 | end | |
| 2076 | if key == "r" and attack == false then | |
| 2077 | InfernoWrath() | |
| 2078 | end | |
| 2079 | if key == "f" and attack == false then | |
| 2080 | InfernoMeteor() | |
| 2081 | end | |
| 2082 | if key == "x" and attack == false then | |
| 2083 | InfernoHell() | |
| 2084 | end | |
| 2085 | end) | |
| 2086 | ||
| 2087 | game:GetService("RunService").Stepped:connect(function()
| |
| 2088 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 2089 | velocity = RootPart.Velocity.y | |
| 2090 | sine = sine + change | |
| 2091 | local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) | |
| 2092 | if equipped == true or equipped == false then | |
| 2093 | healthg.Text = math.floor(hum.Health).. "/" ..math.floor(hum.MaxHealth) | |
| 2094 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 2095 | Anim = "Jump" | |
| 2096 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2097 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2098 | if attack == false then | |
| 2099 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3) | |
| 2100 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) | |
| 2101 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(50)), 0.3) | |
| 2102 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3) | |
| 2103 | end | |
| 2104 | else | |
| 2105 | if RootPart.Velocity.y < -1 and hit == nil then | |
| 2106 | Anim = "Fall" | |
| 2107 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2108 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2109 | if attack == false then | |
| 2110 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 2111 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3) | |
| 2112 | RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(90)), 0.3) | |
| 2113 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3) | |
| 2114 | end | |
| 2115 | else | |
| 2116 | if Torsovelocity < 1 and hit ~= nil then | |
| 2117 | Anim = "Idle" | |
| 2118 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(-10),math.rad(0)),.3) | |
| 2119 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(10),math.rad(0)),.3) | |
| 2120 | if attack == false then | |
| 2121 | change = 1 | |
| 2122 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))* angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
| 2123 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(20)),.3) | |
| 2124 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.25) * angles(math.rad(20 + 1.5 * math.cos(sine / 32)), math.rad(-30), math.rad(-90)), 0.3) | |
| 2125 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10 + 1.5 * math.cos(sine / 32))), 0.3) | |
| 2126 | end | |
| 2127 | else | |
| 2128 | if Torsovelocity > 2 and hit ~= nil then | |
| 2129 | Anim = "Walk" | |
| 2130 | RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(-25),math.rad(0 + 50 * math.cos(sine / 6))),.3) | |
| 2131 | LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(-25),math.rad(0 + 50 * math.cos(sine / 6))),.3) | |
| 2132 | if attack == false then | |
| 2133 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))* angles(math.rad(15),math.rad(0),math.rad(25)),.3) | |
| 2134 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-25)),.3) | |
| 2135 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.5) * angles(math.rad(20), math.rad(-30), math.rad(-90)), 0.3) | |
| 2136 | LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 5)), math.rad(0), math.rad(-10)), 0.3) | |
| 2137 | end | |
| 2138 | end | |
| 2139 | end | |
| 2140 | end | |
| 2141 | end | |
| 2142 | end | |
| 2143 | end) |