SHOW:
|
|
- or go back to the newest paste.
| 1 | --[[ Leaked by CLarramore ]]-- | |
| 2 | -- Ever since 3/10/2016 this script started to get popular in oxcool1's SB | |
| 3 | -- I am now spreading this on | |
| 4 | -- You can now make ur edits with this | |
| 5 | -- ENTIRELY OPEN SOURCED!!!! YAY! | |
| 6 | -- 1337 views. l0l | |
| 7 | -- NightOwlAce dont kill me | |
| 8 | ||
| 9 | ||
| 10 | ||
| 11 | ||
| 12 | ||
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | ||
| 17 | ||
| 18 | ||
| 19 | ||
| 20 | ||
| 21 | ||
| 22 | ||
| 23 | ||
| 24 | ||
| 25 | ||
| 26 | ||
| 27 | ||
| 28 | Player=game:GetService("Players").LocalPlayer
| |
| 29 | Character=Player.Character | |
| 30 | PlayerGui=Player.PlayerGui | |
| 31 | Backpack=Player.Backpack | |
| 32 | Torso=Character.Torso | |
| 33 | Head=Character.Head | |
| 34 | Humanoid=Character.Humanoid | |
| 35 | m=Instance.new('Model',Character)
| |
| 36 | LeftArm=Character["Left Arm"] | |
| 37 | LeftLeg=Character["Left Leg"] | |
| 38 | RightArm=Character["Right Arm"] | |
| 39 | RightLeg=Character["Right Leg"] | |
| 40 | LS=Torso["Left Shoulder"] | |
| 41 | LH=Torso["Left Hip"] | |
| 42 | RS=Torso["Right Shoulder"] | |
| 43 | RH=Torso["Right Hip"] | |
| 44 | Face = Head.face | |
| 45 | Neck=Torso.Neck | |
| 46 | it=Instance.new | |
| 47 | attacktype=1 | |
| 48 | vt=Vector3.new | |
| 49 | cf=CFrame.new | |
| 50 | euler=CFrame.fromEulerAnglesXYZ | |
| 51 | angles=CFrame.Angles | |
| 52 | cloaked=false | |
| 53 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 54 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 55 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 56 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 57 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 58 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 59 | RootPart=Character.HumanoidRootPart | |
| 60 | RootJoint=RootPart.RootJoint | |
| 61 | RootCF=euler(-1.57,0,3.14) | |
| 62 | attack = false | |
| 63 | attackdebounce = false | |
| 64 | deb=false | |
| 65 | equipped=true | |
| 66 | hand=false | |
| 67 | MMouse=nil | |
| 68 | combo=0 | |
| 69 | mana=0 | |
| 70 | trispeed=1 | |
| 71 | pathtrans=.7 | |
| 72 | attackmode='none' | |
| 73 | local idle=0 | |
| 74 | local Anim="Idle" | |
| 75 | local Effects={}
| |
| 76 | local gun=false | |
| 77 | local shoot=false | |
| 78 | player=nil | |
| 79 | cloak=false | |
| 80 | lightcolor='Bright blue' | |
| 81 | ||
| 82 | local Color1=Torso.BrickColor | |
| 83 | ||
| 84 | local fengui=it("GuiMain")
| |
| 85 | fengui.Parent=Player.PlayerGui | |
| 86 | fengui.Name="WeaponGUI" | |
| 87 | local fenframe=it("Frame")
| |
| 88 | fenframe.Parent=fengui | |
| 89 | fenframe.BackgroundColor3=Color3.new(255,255,255) | |
| 90 | fenframe.BackgroundTransparency=1 | |
| 91 | fenframe.BorderColor3=Color3.new(17,17,17) | |
| 92 | fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0) | |
| 93 | fenframe.Position=UDim2.new(0.4,0,0.1,0) | |
| 94 | local fenbarmana1=it("TextLabel")
| |
| 95 | fenbarmana1.Parent=fenframe | |
| 96 | fenbarmana1.Text=" " | |
| 97 | fenbarmana1.BackgroundTransparency=0 | |
| 98 | fenbarmana1.BackgroundColor3=Color3.new(0,0,0) | |
| 99 | fenbarmana1.SizeConstraint="RelativeXY" | |
| 100 | fenbarmana1.TextXAlignment="Center" | |
| 101 | fenbarmana1.TextYAlignment="Center" | |
| 102 | fenbarmana1.Position=UDim2.new(0,0,0,0) | |
| 103 | fenbarmana1.Size=UDim2.new(4,0,0.2,0) | |
| 104 | local fenbarmana2=it("TextLabel")
| |
| 105 | fenbarmana2.Parent=fenframe | |
| 106 | fenbarmana2.Text=" " | |
| 107 | fenbarmana2.BackgroundTransparency=0 | |
| 108 | fenbarmana2.BackgroundColor3=Torso.Color | |
| 109 | fenbarmana2.SizeConstraint="RelativeXY" | |
| 110 | fenbarmana2.TextXAlignment="Center" | |
| 111 | fenbarmana2.TextYAlignment="Center" | |
| 112 | fenbarmana2.Position=UDim2.new(0,0,0,0) | |
| 113 | fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0) | |
| 114 | local fenbarmana3=it("TextLabel")
| |
| 115 | fenbarmana3.Parent=fenframe | |
| 116 | fenbarmana3.Text=" " | |
| 117 | fenbarmana3.BackgroundTransparency=0 | |
| 118 | fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3) | |
| 119 | fenbarmana3.SizeConstraint="RelativeXY" | |
| 120 | fenbarmana3.TextXAlignment="Center" | |
| 121 | fenbarmana3.TextYAlignment="Center" | |
| 122 | fenbarmana3.Position=UDim2.new(0,0,0,0) | |
| 123 | fenbarmana3.Size=UDim2.new(0,0,0.2,0) | |
| 124 | local fenbarmana4=it("TextLabel")
| |
| 125 | fenbarmana4.Parent=fenframe | |
| 126 | fenbarmana4.Text="Energy("..mana..")"
| |
| 127 | fenbarmana4.BackgroundTransparency=1 | |
| 128 | fenbarmana4.BackgroundColor3=Color3.new(0,0,0) | |
| 129 | fenbarmana4.SizeConstraint="RelativeXY" | |
| 130 | fenbarmana4.TextXAlignment="Center" | |
| 131 | fenbarmana4.TextYAlignment="Center" | |
| 132 | fenbarmana4.Position=UDim2.new(0,0,-0.3,0) | |
| 133 | fenbarmana4.Size=UDim2.new(4,0,0.2,0) | |
| 134 | fenbarmana4.FontSize="Size9" | |
| 135 | fenbarmana4.TextStrokeTransparency=0 | |
| 136 | fenbarmana4.TextColor=BrickColor.new("White")
| |
| 137 | ||
| 138 | mouse=Player:GetMouse() | |
| 139 | --save shoulders | |
| 140 | RSH, LSH=nil, nil | |
| 141 | --welds | |
| 142 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 143 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 144 | LH=Torso["Left Hip"] | |
| 145 | RH=Torso["Right Hip"] | |
| 146 | TorsoColor=Torso.BrickColor | |
| 147 | function NoOutline(Part) | |
| 148 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 149 | end | |
| 150 | player=Player | |
| 151 | ch=Character | |
| 152 | RSH=ch.Torso["Right Shoulder"] | |
| 153 | LSH=ch.Torso["Left Shoulder"] | |
| 154 | -- | |
| 155 | RSH.Parent=nil | |
| 156 | LSH.Parent=nil | |
| 157 | -- | |
| 158 | RW.Name="Right Shoulder" | |
| 159 | RW.Part0=ch.Torso | |
| 160 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 161 | RW.C1=cf(0, 0.5, 0) | |
| 162 | RW.Part1=ch["Right Arm"] | |
| 163 | RW.Parent=ch.Torso | |
| 164 | -- | |
| 165 | LW.Name="Left Shoulder" | |
| 166 | LW.Part0=ch.Torso | |
| 167 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 168 | LW.C1=cf(0, 0.5, 0) | |
| 169 | LW.Part1=ch["Left Arm"] | |
| 170 | LW.Parent=ch.Torso | |
| 171 | ||
| 172 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 173 | local fp=it("Part")
| |
| 174 | fp.formFactor=formfactor | |
| 175 | fp.Parent=parent | |
| 176 | fp.Reflectance=reflectance | |
| 177 | fp.Transparency=transparency | |
| 178 | fp.CanCollide=false | |
| 179 | fp.Locked=true | |
| 180 | fp.BrickColor=brickcolor | |
| 181 | fp.Name=name | |
| 182 | fp.Size=size | |
| 183 | fp.Position=Torso.Position | |
| 184 | NoOutline(fp) | |
| 185 | fp.Material="Neon" | |
| 186 | fp:BreakJoints() | |
| 187 | return fp | |
| 188 | end | |
| 189 | ||
| 190 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 191 | local mesh=it(Mesh) | |
| 192 | mesh.Parent=part | |
| 193 | if Mesh=="SpecialMesh" then | |
| 194 | mesh.MeshType=meshtype | |
| 195 | if meshid~="nil" then | |
| 196 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
| 197 | end | |
| 198 | end | |
| 199 | mesh.Offset=offset | |
| 200 | mesh.Scale=scale | |
| 201 | return mesh | |
| 202 | end | |
| 203 | ||
| 204 | function weld(parent,part0,part1,c0) | |
| 205 | local weld=it("Weld")
| |
| 206 | weld.Parent=parent | |
| 207 | weld.Part0=part0 | |
| 208 | weld.Part1=part1 | |
| 209 | weld.C0=c0 | |
| 210 | return weld | |
| 211 | end | |
| 212 | ||
| 213 | local Color1=Torso.BrickColor | |
| 214 | ||
| 215 | local bodvel=Instance.new("BodyVelocity")
| |
| 216 | local bg=Instance.new("BodyGyro")
| |
| 217 | ||
| 218 | function swait(num) | |
| 219 | if num==0 or num==nil then | |
| 220 | game:service'RunService'.Stepped:wait(0) | |
| 221 | else | |
| 222 | for i=0,num do | |
| 223 | game:service'RunService'.Stepped:wait(0) | |
| 224 | end | |
| 225 | end | |
| 226 | end | |
| 227 | ||
| 228 | ||
| 229 | so = function(id,par,vol,pit) | |
| 230 | coroutine.resume(coroutine.create(function() | |
| 231 | local sou = Instance.new("Sound",par or workspace)
| |
| 232 | sou.Volume=vol | |
| 233 | sou.Pitch=pit or 1 | |
| 234 | sou.SoundId=id | |
| 235 | swait() | |
| 236 | sou:play() | |
| 237 | game:GetService("Debris"):AddItem(sou,6)
| |
| 238 | end)) | |
| 239 | end | |
| 240 | ||
| 241 | function clerp(a,b,t) | |
| 242 | local qa = {QuaternionFromCFrame(a)}
| |
| 243 | local qb = {QuaternionFromCFrame(b)}
| |
| 244 | local ax, ay, az = a.x, a.y, a.z | |
| 245 | local bx, by, bz = b.x, b.y, b.z | |
| 246 | local _t = 1-t | |
| 247 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 248 | end | |
| 249 | ||
| 250 | function QuaternionFromCFrame(cf) | |
| 251 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 252 | local trace = m00 + m11 + m22 | |
| 253 | if trace > 0 then | |
| 254 | local s = math.sqrt(1 + trace) | |
| 255 | local recip = 0.5/s | |
| 256 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 257 | else | |
| 258 | local i = 0 | |
| 259 | if m11 > m00 then | |
| 260 | i = 1 | |
| 261 | end | |
| 262 | if m22 > (i == 0 and m00 or m11) then | |
| 263 | i = 2 | |
| 264 | end | |
| 265 | if i == 0 then | |
| 266 | local s = math.sqrt(m00-m11-m22+1) | |
| 267 | local recip = 0.5/s | |
| 268 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 269 | elseif i == 1 then | |
| 270 | local s = math.sqrt(m11-m22-m00+1) | |
| 271 | local recip = 0.5/s | |
| 272 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 273 | elseif i == 2 then | |
| 274 | local s = math.sqrt(m22-m00-m11+1) | |
| 275 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 276 | end | |
| 277 | end | |
| 278 | end | |
| 279 | ||
| 280 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 281 | local xs, ys, zs = x + x, y + y, z + z | |
| 282 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 283 | local xx = x*xs | |
| 284 | local xy = x*ys | |
| 285 | local xz = x*zs | |
| 286 | local yy = y*ys | |
| 287 | local yz = y*zs | |
| 288 | local zz = z*zs | |
| 289 | 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)) | |
| 290 | end | |
| 291 | ||
| 292 | function QuaternionSlerp(a, b, t) | |
| 293 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 294 | local startInterp, finishInterp; | |
| 295 | if cosTheta >= 0.0001 then | |
| 296 | if (1 - cosTheta) > 0.0001 then | |
| 297 | local theta = math.acos(cosTheta) | |
| 298 | local invSinTheta = 1/math.sin(theta) | |
| 299 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 300 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 301 | else | |
| 302 | startInterp = 1-t | |
| 303 | finishInterp = t | |
| 304 | end | |
| 305 | else | |
| 306 | if (1+cosTheta) > 0.0001 then | |
| 307 | local theta = math.acos(-cosTheta) | |
| 308 | local invSinTheta = 1/math.sin(theta) | |
| 309 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 310 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 311 | else | |
| 312 | startInterp = t-1 | |
| 313 | finishInterp = t | |
| 314 | end | |
| 315 | end | |
| 316 | 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 | |
| 317 | end | |
| 318 | ||
| 319 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 320 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 321 | end | |
| 322 | ||
| 323 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
| 324 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 325 | prt.Anchored=true | |
| 326 | prt.CFrame=cframe | |
| 327 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
| |
| 328 | --http://www.roblox.com/asset/?id=4770560 | |
| 329 | game:GetService("Debris"):AddItem(prt,2)
| |
| 330 | CF=prt.CFrame | |
| 331 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
| 332 | for i=0,1,0.2 do | |
| 333 | wait() | |
| 334 | Part.CFrame=CF*cf(0,0,-0.4) | |
| 335 | end | |
| 336 | for i=0,1,delay do | |
| 337 | wait() | |
| 338 | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) | |
| 339 | Mesh.Scale=Mesh.Scale | |
| 340 | end | |
| 341 | for i=0,1,0.1 do | |
| 342 | wait() | |
| 343 | Part.Transparency=i | |
| 344 | end | |
| 345 | Part.Parent=nil | |
| 346 | end),prt,msh,CF) | |
| 347 | end | |
| 348 | ||
| 349 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 350 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 351 | prt.Anchored=true | |
| 352 | prt.CFrame=cframe | |
| 353 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 354 | game:GetService("Debris"):AddItem(prt,5)
| |
| 355 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 356 | for i=0,1,delay do | |
| 357 | wait() | |
| 358 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 359 | Part.Transparency=i | |
| 360 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 361 | end | |
| 362 | Part.Parent=nil | |
| 363 | end),prt,msh) | |
| 364 | end | |
| 365 | ||
| 366 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 367 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 368 | prt.Anchored=false | |
| 369 | prt.CFrame=cframe | |
| 370 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 371 | local wld=weld(prt,prt,Parent,cframe) | |
| 372 | game:GetService("Debris"):AddItem(prt,5)
| |
| 373 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 374 | for i=0,1,delay do | |
| 375 | wait() | |
| 376 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
| 377 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 378 | Part.Transparency=i | |
| 379 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 380 | end | |
| 381 | Part.Parent=nil | |
| 382 | end),prt,msh,wld) | |
| 383 | end | |
| 384 | ||
| 385 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
| 386 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 387 | prt.Anchored=false | |
| 388 | prt.CFrame=cframe | |
| 389 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 390 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
| 391 | game:GetService("Debris"):AddItem(prt,5)
| |
| 392 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
| 393 | for i=0,1,delay do | |
| 394 | wait() | |
| 395 | Weld.C0=euler(i*20,0,0) | |
| 396 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 397 | Part.Transparency=i | |
| 398 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 399 | end | |
| 400 | Part.Parent=nil | |
| 401 | end),prt,msh,wld) | |
| 402 | end | |
| 403 | ||
| 404 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 405 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 406 | prt.Anchored=true | |
| 407 | prt.CFrame=cframe | |
| 408 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
| |
| 409 | game:GetService("Debris"):AddItem(prt,2)
| |
| 410 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 411 | for i=0,1,delay do | |
| 412 | wait() | |
| 413 | Part.CFrame=Part.CFrame | |
| 414 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 415 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 416 | prt2.Anchored=true | |
| 417 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 418 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
| |
| 419 | game:GetService("Debris"):AddItem(prt2,2)
| |
| 420 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 421 | for i=0,1,0.1 do | |
| 422 | wait() | |
| 423 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
| 424 | end | |
| 425 | Part.Parent=nil | |
| 426 | end),prt2,msh2) | |
| 427 | end | |
| 428 | for i=0,1,delay*2 do | |
| 429 | wait() | |
| 430 | Part.CFrame=Part.CFrame | |
| 431 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
| 432 | end | |
| 433 | Part.Parent=nil | |
| 434 | end),prt,msh) | |
| 435 | end | |
| 436 | ||
| 437 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 438 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 439 | prt.Anchored=true | |
| 440 | prt.CFrame=cframe | |
| 441 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 442 | game:GetService("Debris"):AddItem(prt,2)
| |
| 443 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 444 | for i=0,1,delay do | |
| 445 | wait() | |
| 446 | Part.CFrame=Part.CFrame | |
| 447 | Part.Transparency=i | |
| 448 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 449 | end | |
| 450 | Part.Parent=nil | |
| 451 | end),prt,msh) | |
| 452 | end | |
| 453 | ||
| 454 | function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3) | |
| 455 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 456 | prt.Anchored=true | |
| 457 | prt.CFrame=cframe*euler(x2,y2,z2) | |
| 458 | --"http://www.roblox.com/asset/?id=168892465" | |
| 459 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
| |
| 460 | game:GetService("Debris"):AddItem(prt,2)
| |
| 461 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 462 | for i=0,1,0.03 do | |
| 463 | wait() | |
| 464 | Part.CFrame=Part.CFrame | |
| 465 | Part.Transparency=i | |
| 466 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 467 | end | |
| 468 | Part.Parent=nil | |
| 469 | end),prt,msh) | |
| 470 | end | |
| 471 | ||
| 472 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
| 473 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 474 | prt.Anchored=true | |
| 475 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 476 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 477 | game:GetService("Debris"):AddItem(prt,2)
| |
| 478 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
| 479 | CF=Part.CFrame | |
| 480 | Numbb=0 | |
| 481 | randnumb=math.random()/10 | |
| 482 | rand1=math.random()/10 | |
| 483 | for i=0,1,rand1 do | |
| 484 | wait() | |
| 485 | CF=CF*cf(0,math.random()/2,0) | |
| 486 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
| 487 | Part.CFrame=CF*euler(Numbb,0,0) | |
| 488 | Part.Transparency=i | |
| 489 | Numbb=Numbb+randnumb | |
| 490 | end | |
| 491 | Part.Parent=nil | |
| 492 | end),prt,CF,Numbb,randnumb) | |
| 493 | end | |
| 494 | ||
| 495 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 496 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 497 | prt.Anchored=true | |
| 498 | prt.CFrame=cframe | |
| 499 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
| |
| 500 | game:GetService("Debris"):AddItem(prt,5)
| |
| 501 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 502 | for i=0,1,delay do | |
| 503 | wait() | |
| 504 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
| 505 | Part.Transparency=i | |
| 506 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 507 | end | |
| 508 | Part.Parent=nil | |
| 509 | end),prt,msh) | |
| 510 | end | |
| 511 | ||
| 512 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 513 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 514 | prt.Anchored=true | |
| 515 | prt.CFrame=cframe | |
| 516 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
| |
| 517 | game:GetService("Debris"):AddItem(prt,2)
| |
| 518 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 519 | for i=0,1,delay do | |
| 520 | wait() | |
| 521 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
| 522 | Part.Transparency=i | |
| 523 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 524 | end | |
| 525 | Part.Parent=nil | |
| 526 | end),prt,msh) | |
| 527 | end | |
| 528 | ||
| 529 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
| 530 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 531 | prt.Anchored=true | |
| 532 | prt.CFrame=cframe*cf(x,y,z) | |
| 533 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
| |
| 534 | game:GetService("Debris"):AddItem(prt,5)
| |
| 535 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
| 536 | local num=math.random() | |
| 537 | local num2=math.random(-3,2)+math.random() | |
| 538 | local numm=0 | |
| 539 | for i=0,1,delay*2 do | |
| 540 | swait() | |
| 541 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
| 542 | Part.Transparency=i | |
| 543 | numm=numm+0.01 | |
| 544 | end | |
| 545 | Part.Parent=nil | |
| 546 | Mesh.Parent=nil | |
| 547 | end),prt,msh,x,y,z) | |
| 548 | end | |
| 549 | ||
| 550 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
| 551 | if hit.Parent==nil then | |
| 552 | return | |
| 553 | end | |
| 554 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 555 | for _,v in pairs(hit.Parent:children()) do | |
| 556 | if v:IsA("Humanoid") then
| |
| 557 | h=v | |
| 558 | end | |
| 559 | end | |
| 560 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
| |
| 561 | h=hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 562 | end | |
| 563 | if hit.Parent.className=="Hat" then | |
| 564 | hit=hit.Parent.Parent:findFirstChild("Head")
| |
| 565 | end | |
| 566 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 567 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
| |
| 568 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 569 | return | |
| 570 | end]] | |
| 571 | -- hs(hit,1.2) | |
| 572 | c=Instance.new("ObjectValue")
| |
| 573 | c.Name="creator" | |
| 574 | c.Value=game:service("Players").LocalPlayer
| |
| 575 | c.Parent=h | |
| 576 | game:GetService("Debris"):AddItem(c,.5)
| |
| 577 | Damage=math.random(minim,maxim) | |
| 578 | -- h:TakeDamage(Damage) | |
| 579 | blocked=false | |
| 580 | block=hit.Parent:findFirstChild("Block")
| |
| 581 | if block~=nil then | |
| 582 | print(block.className) | |
| 583 | if block.className=="NumberValue" then | |
| 584 | if block.Value>0 then | |
| 585 | blocked=true | |
| 586 | if decreaseblock==nil then | |
| 587 | block.Value=block.Value-1 | |
| 588 | end | |
| 589 | end | |
| 590 | end | |
| 591 | if block.className=="IntValue" then | |
| 592 | if block.Value>0 then | |
| 593 | blocked=true | |
| 594 | if decreaseblock~=nil then | |
| 595 | block.Value=block.Value-1 | |
| 596 | end | |
| 597 | end | |
| 598 | end | |
| 599 | end | |
| 600 | if blocked==false then | |
| 601 | -- h:TakeDamage(Damage) | |
| 602 | h.Health=h.Health-Damage | |
| 603 | showDamage(hit.Parent,Damage,.5,TorsoColor) | |
| 604 | else | |
| 605 | h.Health=h.Health-(Damage/2) | |
| 606 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
| |
| 607 | end | |
| 608 | if Type=="Knockdown" then | |
| 609 | hum=hit.Parent.Humanoid | |
| 610 | hum.PlatformStand=true | |
| 611 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 612 | swait(1) | |
| 613 | HHumanoid.PlatformStand=false | |
| 614 | end),hum) | |
| 615 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 616 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 617 | local bodvol=Instance.new("BodyVelocity")
| |
| 618 | bodvol.velocity=angle*knockback | |
| 619 | bodvol.P=5000 | |
| 620 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 621 | bodvol.Parent=hit | |
| 622 | rl=Instance.new("BodyAngularVelocity")
| |
| 623 | rl.P=3000 | |
| 624 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 625 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 626 | rl.Parent=hit | |
| 627 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 628 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 629 | elseif Type=="Normal" then | |
| 630 | vp=Instance.new("BodyVelocity")
| |
| 631 | vp.P=500 | |
| 632 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 633 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 634 | if KnockbackType==1 then | |
| 635 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 636 | elseif KnockbackType==2 then | |
| 637 | vp.velocity=Property.CFrame.lookVector*knockback | |
| 638 | end | |
| 639 | if knockback>0 then | |
| 640 | vp.Parent=hit.Parent.Torso | |
| 641 | end | |
| 642 | game:GetService("Debris"):AddItem(vp,.5)
| |
| 643 | elseif Type=="Up" then | |
| 644 | local bodyVelocity=Instance.new("BodyVelocity")
| |
| 645 | bodyVelocity.velocity=vt(0,10,0) | |
| 646 | bodyVelocity.P=1000 | |
| 647 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
| 648 | bodyVelocity.Parent=hit | |
| 649 | game:GetService("Debris"):AddItem(bodyVelocity,1)
| |
| 650 | rl=Instance.new("BodyAngularVelocity")
| |
| 651 | rl.P=3000 | |
| 652 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 653 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
| 654 | rl.Parent=hit | |
| 655 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 656 | elseif Type=="Snare" then | |
| 657 | bp=Instance.new("BodyPosition")
| |
| 658 | bp.P=2000 | |
| 659 | bp.D=100 | |
| 660 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 661 | bp.position=hit.Parent.Torso.Position | |
| 662 | bp.Parent=hit.Parent.Torso | |
| 663 | game:GetService("Debris"):AddItem(bp,1)
| |
| 664 | elseif Type=="Target" then | |
| 665 | if Targetting==false then | |
| 666 | ZTarget=hit.Parent.Torso | |
| 667 | coroutine.resume(coroutine.create(function(Part) | |
| 668 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 669 | swait(5) | |
| 670 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 671 | end),ZTarget) | |
| 672 | TargHum=ZTarget.Parent:findFirstChild("Humanoid")
| |
| 673 | targetgui=Instance.new("BillboardGui")
| |
| 674 | targetgui.Parent=ZTarget | |
| 675 | targetgui.Size=UDim2.new(10,100,10,100) | |
| 676 | targ=Instance.new("ImageLabel")
| |
| 677 | targ.Parent=targetgui | |
| 678 | targ.BackgroundTransparency=1 | |
| 679 | targ.Image="rbxassetid://4834067" | |
| 680 | targ.Size=UDim2.new(1,0,1,0) | |
| 681 | cam.CameraType="Scriptable" | |
| 682 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 683 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 684 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 685 | Targetting=true | |
| 686 | RocketTarget=ZTarget | |
| 687 | for i=1,Property do | |
| 688 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 689 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 690 | swait() | |
| 691 | end | |
| 692 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
| 693 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 694 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 695 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 696 | end | |
| 697 | Targetting=false | |
| 698 | RocketTarget=nil | |
| 699 | targetgui.Parent=nil | |
| 700 | cam.CameraType="Custom" | |
| 701 | end | |
| 702 | end | |
| 703 | debounce=Instance.new("BoolValue")
| |
| 704 | debounce.Name="DebounceHit" | |
| 705 | debounce.Parent=hit.Parent | |
| 706 | debounce.Value=true | |
| 707 | game:GetService("Debris"):AddItem(debounce,Delay)
| |
| 708 | c=Instance.new("ObjectValue")
| |
| 709 | c.Name="creator" | |
| 710 | c.Value=Player | |
| 711 | c.Parent=h | |
| 712 | game:GetService("Debris"):AddItem(c,.5)
| |
| 713 | CRIT=false | |
| 714 | hitDeb=true | |
| 715 | AttackPos=6 | |
| 716 | end | |
| 717 | end | |
| 718 | ||
| 719 | showDamage=function(Char,Dealt,du,Color) | |
| 720 | m=Instance.new("Model")
| |
| 721 | m.Name=tostring(Dealt) | |
| 722 | h=Instance.new("Humanoid")
| |
| 723 | h.Health=0 | |
| 724 | h.MaxHealth=0 | |
| 725 | h.Parent=m | |
| 726 | c=Instance.new("Part")
| |
| 727 | c.Transparency=0 | |
| 728 | c.BrickColor=TorsoColor | |
| 729 | c.Name="Head" | |
| 730 | c.TopSurface=0 | |
| 731 | c.BottomSurface=0 | |
| 732 | c.formFactor="Plate" | |
| 733 | c.Size=Vector3.new(1,.4,1) | |
| 734 | ms=Instance.new("CylinderMesh")
| |
| 735 | ms.Scale=Vector3.new(.8,.8,.8) | |
| 736 | so("http://www.roblox.com/asset/?id=199149269",c,1,1)
| |
| 737 | if CRIT==true then | |
| 738 | ms.Scale=Vector3.new(1,1.25,1) | |
| 739 | end | |
| 740 | ms.Parent=c | |
| 741 | c.Reflectance=0 | |
| 742 | Instance.new("BodyGyro").Parent=c
| |
| 743 | c.Parent=m | |
| 744 | if Char:findFirstChild("Head")~=nil then
| |
| 745 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 746 | elseif Char.Parent:findFirstChild("Head")~=nil then
| |
| 747 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 748 | end | |
| 749 | f=Instance.new("BodyPosition")
| |
| 750 | f.P=2000 | |
| 751 | f.D=100 | |
| 752 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 753 | f.position=c.Position+Vector3.new(0,3,0) | |
| 754 | f.Parent=c | |
| 755 | game:GetService("Debris"):AddItem(m,.5+du)
| |
| 756 | c.CanCollide=false | |
| 757 | m.Parent=workspace | |
| 758 | c.CanCollide=false | |
| 759 | end | |
| 760 | ||
| 761 | Player=game:GetService('Players').LocalPlayer
| |
| 762 | Character=Player.Character | |
| 763 | Mouse=Player:GetMouse() | |
| 764 | m=Instance.new('Model',Character)
| |
| 765 | ||
| 766 | ||
| 767 | local function weldBetween(a, b) | |
| 768 | local weldd = Instance.new("ManualWeld")
| |
| 769 | weldd.Part0 = a | |
| 770 | weldd.Part1 = b | |
| 771 | weldd.C0 = CFrame.new() | |
| 772 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 773 | weldd.Parent = a | |
| 774 | return weldd | |
| 775 | end | |
| 776 | ||
| 777 | it=Instance.new | |
| 778 | ||
| 779 | function nooutline(part) | |
| 780 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 781 | end | |
| 782 | ||
| 783 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 784 | local fp=it("Part")
| |
| 785 | fp.formFactor=formfactor | |
| 786 | fp.Parent=parent | |
| 787 | fp.Reflectance=reflectance | |
| 788 | fp.Transparency=transparency | |
| 789 | fp.CanCollide=false | |
| 790 | fp.Locked=true | |
| 791 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
| 792 | fp.Name=name | |
| 793 | fp.Size=size | |
| 794 | fp.Position=Character.Torso.Position | |
| 795 | nooutline(fp) | |
| 796 | fp.Material=material | |
| 797 | fp:BreakJoints() | |
| 798 | return fp | |
| 799 | end | |
| 800 | ||
| 801 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 802 | local mesh=it(Mesh) | |
| 803 | mesh.Parent=part | |
| 804 | if Mesh=="SpecialMesh" then | |
| 805 | mesh.MeshType=meshtype | |
| 806 | mesh.MeshId=meshid | |
| 807 | end | |
| 808 | mesh.Offset=offset | |
| 809 | mesh.Scale=scale | |
| 810 | return mesh | |
| 811 | end | |
| 812 | ||
| 813 | function weld(parent,part0,part1,c0,c1) | |
| 814 | local weld=it("Weld")
| |
| 815 | weld.Parent=parent | |
| 816 | weld.Part0=part0 | |
| 817 | weld.Part1=part1 | |
| 818 | weld.C0=c0 | |
| 819 | weld.C1=c1 | |
| 820 | return weld | |
| 821 | end | |
| 822 | ||
| 823 | local modelzorz=Instance.new("Model")
| |
| 824 | modelzorz.Parent=Character | |
| 825 | modelzorz.Name="Claw1" | |
| 826 | ||
| 827 | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1)) | |
| 828 | Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963)) | |
| 829 | mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 830 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 831 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906)) | |
| 832 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 833 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862)) | |
| 834 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 835 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 836 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996)) | |
| 837 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 838 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459)) | |
| 839 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 840 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592)) | |
| 841 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 842 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537)) | |
| 843 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 844 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266)) | |
| 845 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 846 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906)) | |
| 847 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 848 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265)) | |
| 849 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 850 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829)) | |
| 851 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 852 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562)) | |
| 853 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 854 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 855 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682)) | |
| 856 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 857 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805)) | |
| 858 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 859 | Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
| 860 | Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086)) | |
| 861 | mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
| |
| 862 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 863 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474)) | |
| 864 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 865 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 866 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891)) | |
| 867 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 868 | ||
| 869 | local modelzorz2=Instance.new("Model")
| |
| 870 | modelzorz2.Parent=Character | |
| 871 | modelzorz2.Name="Claw2" | |
| 872 | ||
| 873 | Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1)) | |
| 874 | Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559)) | |
| 875 | mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 876 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 877 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183)) | |
| 878 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 879 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009)) | |
| 880 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 881 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139)) | |
| 882 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 883 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765)) | |
| 884 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 885 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 886 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858)) | |
| 887 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 888 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 889 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958)) | |
| 890 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 891 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964)) | |
| 892 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 893 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 894 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885)) | |
| 895 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 896 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137)) | |
| 897 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 898 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 899 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696)) | |
| 900 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
| 901 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073)) | |
| 902 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
| |
| 903 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 904 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183)) | |
| 905 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 906 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377)) | |
| 907 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 908 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329)) | |
| 909 | Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
| 910 | Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636)) | |
| 911 | mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
| |
| 912 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
| 913 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835)) | |
| 914 | ||
| 915 | local modelzorz3=Instance.new("Model")
| |
| 916 | modelzorz3.Parent=Character | |
| 917 | modelzorz3.Name="Eye" | |
| 918 | ||
| 919 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
| 920 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
| 921 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
| |
| 922 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
| 923 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 924 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
| |
| 925 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
| 926 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 927 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
| |
| 928 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
| 929 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
| 930 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
| |
| 931 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
| 932 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
| 933 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
| |
| 934 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
| 935 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752)) | |
| 936 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
| 937 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
| 938 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
| 939 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702)) | |
| 940 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
| 941 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537)) | |
| 942 | local moosick = it("Sound",Character)
| |
| 943 | - | moosick.SoundId = "rbxassetid://363211501" |
| 943 | + | moosick.SoundId = "rbxassetid://340858919" |
| 944 | --237705969, 175067863 | |
| 945 | moosick.Looped = true | |
| 946 | moosick.Pitch = 1 | |
| 947 | moosick.Volume = 0 | |
| 948 | moosick:Play() | |
| 949 | ||
| 950 | anim = Character:findFirstChild("Animate")
| |
| 951 | if anim then | |
| 952 | anim:Destroy() | |
| 953 | end | |
| 954 | ||
| 955 | local particleemitter = Instance.new("ParticleEmitter", Handle)
| |
| 956 | particleemitter.VelocitySpread = 180 | |
| 957 | particleemitter.Lifetime = NumberRange.new(0.1) | |
| 958 | particleemitter.Speed = NumberRange.new(2) | |
| 959 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
| |
| 960 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
| 961 | particleemitter.Rate = 100 | |
| 962 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
| 963 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 964 | particleemitter.LightEmission = 0 | |
| 965 | particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0)) | |
| 966 | ||
| 967 | local particleemitter = Instance.new("ParticleEmitter", Handle2)
| |
| 968 | particleemitter.VelocitySpread = 180 | |
| 969 | particleemitter.Lifetime = NumberRange.new(0.1) | |
| 970 | particleemitter.Speed = NumberRange.new(2) | |
| 971 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
| |
| 972 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
| 973 | particleemitter.Rate = 100 | |
| 974 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
| 975 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 976 | particleemitter.LightEmission = 0 | |
| 977 | particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0)) | |
| 978 | ||
| 979 | local particleemitter = Instance.new("ParticleEmitter", handle)
| |
| 980 | particleemitter.VelocitySpread = 180 | |
| 981 | particleemitter.Lifetime = NumberRange.new(0.1) | |
| 982 | particleemitter.Speed = NumberRange.new(2) | |
| 983 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
| |
| 984 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
| 985 | particleemitter.Rate = 100 | |
| 986 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
| 987 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 988 | particleemitter.LightEmission = 0.8 | |
| 989 | particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0)) | |
| 990 | ||
| 991 | local light = Instance.new("PointLight", Character.Torso)
| |
| 992 | light.Color = Color3.new(255,255,255) | |
| 993 | light.Brightness = 5 | |
| 994 | light.Range = 15 | |
| 995 | ||
| 996 | particleemitter.Enabled = true | |
| 997 | ||
| 998 | local Footsteps = it("Sound",Character.Torso)
| |
| 999 | Footsteps.SoundId = "rbxassetid://142665235" | |
| 1000 | Footsteps.Looped = true | |
| 1001 | Footsteps.Pitch = 0.8 | |
| 1002 | Footsteps.Volume = 0.3 | |
| 1003 | ||
| 1004 | local Footsteps2 = it("Sound",Character.Torso)
| |
| 1005 | Footsteps2.SoundId = "rbxassetid://142665235" | |
| 1006 | Footsteps2.Looped = true | |
| 1007 | Footsteps2.Pitch = 1 | |
| 1008 | Footsteps2.Volume = 0.4 | |
| 1009 | ||
| 1010 | local cam = game.Workspace.CurrentCamera | |
| 1011 | ||
| 1012 | --cam.CameraSubject = Character | |
| 1013 | ||
| 1014 | for i,v in pairs(Head:children()) do | |
| 1015 | if v:IsA("Sound") then
| |
| 1016 | v:Destroy() | |
| 1017 | end | |
| 1018 | end | |
| 1019 | ||
| 1020 | mouse.Button1Down:connect(function() | |
| 1021 | if attack==false and attacktype==1 then | |
| 1022 | attacktype=2 | |
| 1023 | attackone() | |
| 1024 | elseif attack==false and attacktype==2 then | |
| 1025 | attacktype=3 | |
| 1026 | attacktwo() | |
| 1027 | elseif attack==false and attacktype==3 then | |
| 1028 | attacktype=4 | |
| 1029 | attackthree() | |
| 1030 | elseif attack==false and attacktype==4 then | |
| 1031 | attacktype=1 | |
| 1032 | attackfour() | |
| 1033 | end | |
| 1034 | end) | |
| 1035 | ||
| 1036 | mouse.KeyDown:connect(function(k) | |
| 1037 | k=k:lower() | |
| 1038 | if k=='e' then | |
| 1039 | if attack==false and mana>=20 then | |
| 1040 | Push() | |
| 1041 | end | |
| 1042 | elseif k=='g' then | |
| 1043 | if attack==false and mana>=50 then | |
| 1044 | Twirl() | |
| 1045 | end | |
| 1046 | elseif k=='v' then | |
| 1047 | if attack==false and mana>=25 then | |
| 1048 | MagicJump() | |
| 1049 | end | |
| 1050 | elseif k=='q' then | |
| 1051 | if attack==false then | |
| 1052 | idle=1000 | |
| 1053 | end | |
| 1054 | elseif k=='h' then | |
| 1055 | if attack==false then | |
| 1056 | mana=100 | |
| 1057 | end | |
| 1058 | elseif k=='y' then | |
| 1059 | if attack==false and mana>=100 then | |
| 1060 | Shred() | |
| 1061 | end | |
| 1062 | elseif k=='f' then | |
| 1063 | if attack==false and mana>=40 then | |
| 1064 | Spin() | |
| 1065 | end | |
| 1066 | elseif k=='r' then | |
| 1067 | if attack==false and mana>=20 then | |
| 1068 | Clap() | |
| 1069 | end | |
| 1070 | elseif k=='t' then | |
| 1071 | if attack==false then | |
| 1072 | Hai() | |
| 1073 | end | |
| 1074 | elseif k=='0' then | |
| 1075 | if attack==false then | |
| 1076 | Humanoid.WalkSpeed=(24) | |
| 1077 | end | |
| 1078 | elseif k=='j' then | |
| 1079 | if attack==false then | |
| 1080 | Humanoid.Health = 10 | |
| 1081 | print("Congrats, you commited suicide.")
| |
| 1082 | end | |
| 1083 | end | |
| 1084 | end) | |
| 1085 | ||
| 1086 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 1087 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 1088 | prt.Anchored=true | |
| 1089 | prt.CFrame=cframe | |
| 1090 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
| |
| 1091 | game:GetService("Debris"):AddItem(prt,2)
| |
| 1092 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 1093 | for i=0,1,delay do | |
| 1094 | wait() | |
| 1095 | Part.CFrame=Part.CFrame | |
| 1096 | Part.Transparency=i | |
| 1097 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 1098 | end | |
| 1099 | Part.Parent=nil | |
| 1100 | end),prt,msh) | |
| 1101 | end | |
| 1102 | ||
| 1103 | TrailDeb = false | |
| 1104 | ||
| 1105 | function equipanim() | |
| 1106 | attack=true | |
| 1107 | Humanoid.WalkSpeed = 0 | |
| 1108 | if TrailDeb == false then | |
| 1109 | TrailDeb = true | |
| 1110 | end | |
| 1111 | ||
| 1112 | ||
| 1113 | coroutine.wrap(function() | |
| 1114 | local Old = handle.CFrame.p | |
| 1115 | while wait()do | |
| 1116 | if not TrailDeb then break end | |
| 1117 | local New = handle.CFrame.p | |
| 1118 | local Mag =(Old -New).magnitude | |
| 1119 | local Dis =(Old +New)/2 | |
| 1120 | local Trail = Instance.new("Part",Character)
| |
| 1121 | Trail.Material = "Neon" | |
| 1122 | Trail.Anchored = true | |
| 1123 | Trail.CanCollide = false | |
| 1124 | Trail.BrickColor = TorsoColor | |
| 1125 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 1126 | Trail.TopSurface = 0 | |
| 1127 | Trail.BottomSurface = 0 | |
| 1128 | Trail.formFactor = "Custom" | |
| 1129 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 1130 | local ms = Instance.new("BlockMesh",Trail)
| |
| 1131 | ms.Scale = Vector3.new(1,1,1) | |
| 1132 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 1133 | TM.Scale = Vector3.new(1,1,1) | |
| 1134 | Old = New | |
| 1135 | coroutine.wrap(function() | |
| 1136 | for i = 1,0,-0.1 do | |
| 1137 | wait() | |
| 1138 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 1139 | end | |
| 1140 | Trail:remove() | |
| 1141 | end)() | |
| 1142 | coroutine.wrap(function() | |
| 1143 | for i = 1,10 do | |
| 1144 | wait() | |
| 1145 | Trail.Transparency = Trail.Transparency +0.1 | |
| 1146 | end end)()end end)() | |
| 1147 | coroutine.wrap(function() | |
| 1148 | local Old = Handle.CFrame.p | |
| 1149 | while wait()do | |
| 1150 | if not TrailDeb then break end | |
| 1151 | local New = Handle.CFrame.p | |
| 1152 | local Mag =(Old -New).magnitude | |
| 1153 | local Dis =(Old +New)/2 | |
| 1154 | local Trail = Instance.new("Part",Character)
| |
| 1155 | Trail.Material = "Neon" | |
| 1156 | Trail.Anchored = true | |
| 1157 | Trail.CanCollide = false | |
| 1158 | Trail.BrickColor = TorsoColor | |
| 1159 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 1160 | Trail.TopSurface = 0 | |
| 1161 | Trail.BottomSurface = 0 | |
| 1162 | Trail.formFactor = "Custom" | |
| 1163 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 1164 | local ms = Instance.new("BlockMesh",Trail)
| |
| 1165 | ms.Scale = Vector3.new(1,1,1) | |
| 1166 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 1167 | TM.Scale = Vector3.new(1,1,1) | |
| 1168 | Old = New | |
| 1169 | coroutine.wrap(function() | |
| 1170 | for i = 1,0,-0.1 do | |
| 1171 | wait() | |
| 1172 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 1173 | end | |
| 1174 | Trail:remove() | |
| 1175 | end)() | |
| 1176 | coroutine.wrap(function() | |
| 1177 | for i = 1,10 do | |
| 1178 | wait() | |
| 1179 | Trail.Transparency = Trail.Transparency +0.1 | |
| 1180 | end end)()end end)() | |
| 1181 | coroutine.wrap(function() | |
| 1182 | local Old = Handle2.CFrame.p | |
| 1183 | while wait()do | |
| 1184 | if not TrailDeb then break end | |
| 1185 | local New = Handle2.CFrame.p | |
| 1186 | local Mag =(Old -New).magnitude | |
| 1187 | local Dis =(Old +New)/2 | |
| 1188 | local Trail = Instance.new("Part",Character)
| |
| 1189 | Trail.Material = "Neon" | |
| 1190 | Trail.Anchored = true | |
| 1191 | Trail.CanCollide = false | |
| 1192 | Trail.BrickColor = TorsoColor | |
| 1193 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 1194 | Trail.TopSurface = 0 | |
| 1195 | Trail.BottomSurface = 0 | |
| 1196 | Trail.formFactor = "Custom" | |
| 1197 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 1198 | local ms = Instance.new("BlockMesh",Trail)
| |
| 1199 | ms.Scale = Vector3.new(1,1,1) | |
| 1200 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 1201 | TM.Scale = Vector3.new(1,1,1) | |
| 1202 | Old = New | |
| 1203 | coroutine.wrap(function() | |
| 1204 | for i = 1,0,-0.1 do | |
| 1205 | wait() | |
| 1206 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 1207 | end | |
| 1208 | Trail:remove() | |
| 1209 | end)() | |
| 1210 | coroutine.wrap(function() | |
| 1211 | for i = 1,10 do | |
| 1212 | wait() | |
| 1213 | Trail.Transparency = Trail.Transparency +0.1 | |
| 1214 | end end)()end end)() | |
| 1215 | so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
| |
| 1216 | for i=0,1,0.005 do | |
| 1217 | swait() | |
| 1218 | moosick.Volume = 0+1*i | |
| 1219 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2) | |
| 1220 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2) | |
| 1221 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
| 1222 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
| 1223 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
| 1224 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2) | |
| 1225 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2) | |
| 1226 | end | |
| 1227 | for i=0,1,0.005 do | |
| 1228 | swait() | |
| 1229 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2) | |
| 1230 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2) | |
| 1231 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
| 1232 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
| 1233 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
| 1234 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2) | |
| 1235 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2) | |
| 1236 | end | |
| 1237 | so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
| |
| 1238 | so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
| |
| 1239 | for i=0,1,0.005 do | |
| 1240 | swait() | |
| 1241 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1) | |
| 1242 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1) | |
| 1243 | handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
| 1244 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1) | |
| 1245 | Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1) | |
| 1246 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
| 1247 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
| 1248 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
| 1249 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
| 1250 | end | |
| 1251 | for i=0,1,0.04 do | |
| 1252 | swait() | |
| 1253 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
| 1254 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1255 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1256 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 1257 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
| 1258 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
| 1259 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
| 1260 | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) | |
| 1261 | end | |
| 1262 | --dmgstop() | |
| 1263 | attack=false | |
| 1264 | Humanoid.WalkSpeed = 12 | |
| 1265 | if TrailDeb == true then | |
| 1266 | TrailDeb = false | |
| 1267 | end | |
| 1268 | end | |
| 1269 | ||
| 1270 | function attackone() | |
| 1271 | attack=true | |
| 1272 | if TrailDeb == false then | |
| 1273 | TrailDeb = true | |
| 1274 | end | |
| 1275 | ||
| 1276 | ||
| 1277 | coroutine.wrap(function() | |
| 1278 | local Old = Handle.CFrame.p | |
| 1279 | while wait()do | |
| 1280 | if not TrailDeb then break end | |
| 1281 | local New = Handle.CFrame.p | |
| 1282 | local Mag =(Old -New).magnitude | |
| 1283 | local Dis =(Old +New)/2 | |
| 1284 | local Trail = Instance.new("Part",Character)
| |
| 1285 | Trail.Material = "Neon" | |
| 1286 | Trail.Anchored = true | |
| 1287 | Trail.CanCollide = false | |
| 1288 | Trail.BrickColor = TorsoColor | |
| 1289 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 1290 | Trail.TopSurface = 0 | |
| 1291 | Trail.BottomSurface = 0 | |
| 1292 | Trail.formFactor = "Custom" | |
| 1293 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 1294 | local ms = Instance.new("BlockMesh",Trail)
| |
| 1295 | ms.Scale = Vector3.new(1,1,1) | |
| 1296 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 1297 | TM.Scale = Vector3.new(1,1,1) | |
| 1298 | Old = New | |
| 1299 | coroutine.wrap(function() | |
| 1300 | for i = 1,0,-0.1 do | |
| 1301 | wait() | |
| 1302 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 1303 | end | |
| 1304 | Trail:remove() | |
| 1305 | end)() | |
| 1306 | coroutine.wrap(function() | |
| 1307 | for i = 1,10 do | |
| 1308 | wait() | |
| 1309 | Trail.Transparency = Trail.Transparency +0.1 | |
| 1310 | end end)()end end)() | |
| 1311 | con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 1312 | for i=0,1,0.08 do | |
| 1313 | swait() | |
| 1314 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3) | |
| 1315 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3) | |
| 1316 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1317 | Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
| 1318 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1319 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3) | |
| 1320 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
| 1321 | end | |
| 1322 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
| |
| 1323 | so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
| |
| 1324 | for i=0,1,0.1 do | |
| 1325 | swait() | |
| 1326 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3) | |
| 1327 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
| 1328 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1329 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2) | |
| 1330 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1331 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3) | |
| 1332 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
| 1333 | end | |
| 1334 | --dmgstop() | |
| 1335 | attack=false | |
| 1336 | con1:disconnect() | |
| 1337 | if TrailDeb == true then | |
| 1338 | TrailDeb = false | |
| 1339 | end | |
| 1340 | end | |
| 1341 | ||
| 1342 | function attacktwo() | |
| 1343 | attack=true | |
| 1344 | if TrailDeb == false then | |
| 1345 | TrailDeb = true | |
| 1346 | end | |
| 1347 | ||
| 1348 | ||
| 1349 | coroutine.wrap(function() | |
| 1350 | local Old = Handle2.CFrame.p | |
| 1351 | while wait()do | |
| 1352 | if not TrailDeb then break end | |
| 1353 | local New = Handle2.CFrame.p | |
| 1354 | local Mag =(Old -New).magnitude | |
| 1355 | local Dis =(Old +New)/2 | |
| 1356 | local Trail = Instance.new("Part",Character)
| |
| 1357 | Trail.Material = "Neon" | |
| 1358 | Trail.Anchored = true | |
| 1359 | Trail.CanCollide = false | |
| 1360 | Trail.BrickColor = TorsoColor | |
| 1361 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 1362 | Trail.TopSurface = 0 | |
| 1363 | Trail.BottomSurface = 0 | |
| 1364 | Trail.formFactor = "Custom" | |
| 1365 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 1366 | local ms = Instance.new("BlockMesh",Trail)
| |
| 1367 | ms.Scale = Vector3.new(1,1,1) | |
| 1368 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 1369 | TM.Scale = Vector3.new(1,1,1) | |
| 1370 | Old = New | |
| 1371 | coroutine.wrap(function() | |
| 1372 | for i = 1,0,-0.1 do | |
| 1373 | wait() | |
| 1374 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 1375 | end | |
| 1376 | Trail:remove() | |
| 1377 | end)() | |
| 1378 | coroutine.wrap(function() | |
| 1379 | for i = 1,10 do | |
| 1380 | wait() | |
| 1381 | Trail.Transparency = Trail.Transparency +0.1 | |
| 1382 | end end)()end end)() | |
| 1383 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 1384 | for i=0,1,0.08 do | |
| 1385 | swait() | |
| 1386 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
| 1387 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
| 1388 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1389 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
| 1390 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1391 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3) | |
| 1392 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) | |
| 1393 | end | |
| 1394 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
| |
| 1395 | so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
| |
| 1396 | for i=0,1,0.1 do | |
| 1397 | swait() | |
| 1398 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
| 1399 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
| 1400 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1401 | Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2) | |
| 1402 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1403 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
| 1404 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) | |
| 1405 | end | |
| 1406 | --dmgstop() | |
| 1407 | attack=false | |
| 1408 | con1:disconnect() | |
| 1409 | if TrailDeb == true then | |
| 1410 | TrailDeb = false | |
| 1411 | end | |
| 1412 | end | |
| 1413 | ||
| 1414 | function attackthree() | |
| 1415 | attack=true | |
| 1416 | if TrailDeb == false then | |
| 1417 | TrailDeb = true | |
| 1418 | end | |
| 1419 | ||
| 1420 | ||
| 1421 | coroutine.wrap(function() | |
| 1422 | local Old = Handle.CFrame.p | |
| 1423 | while wait()do | |
| 1424 | if not TrailDeb then break end | |
| 1425 | local New = Handle.CFrame.p | |
| 1426 | local Mag =(Old -New).magnitude | |
| 1427 | local Dis =(Old +New)/2 | |
| 1428 | local Trail = Instance.new("Part",Character)
| |
| 1429 | Trail.Material = "Neon" | |
| 1430 | Trail.Anchored = true | |
| 1431 | Trail.CanCollide = false | |
| 1432 | Trail.BrickColor = TorsoColor | |
| 1433 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 1434 | Trail.TopSurface = 0 | |
| 1435 | Trail.BottomSurface = 0 | |
| 1436 | Trail.formFactor = "Custom" | |
| 1437 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 1438 | local ms = Instance.new("BlockMesh",Trail)
| |
| 1439 | ms.Scale = Vector3.new(1,1,1) | |
| 1440 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 1441 | TM.Scale = Vector3.new(1,1,1) | |
| 1442 | Old = New | |
| 1443 | coroutine.wrap(function() | |
| 1444 | for i = 1,0,-0.1 do | |
| 1445 | wait() | |
| 1446 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 1447 | end | |
| 1448 | Trail:remove() | |
| 1449 | end)() | |
| 1450 | coroutine.wrap(function() | |
| 1451 | for i = 1,10 do | |
| 1452 | wait() | |
| 1453 | Trail.Transparency = Trail.Transparency +0.1 | |
| 1454 | end end)()end end)() | |
| 1455 | con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end) | |
| 1456 | for i=0,1,0.08 do | |
| 1457 | swait() | |
| 1458 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 1459 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 1460 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1461 | Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2) | |
| 1462 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1463 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3) | |
| 1464 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
| 1465 | end | |
| 1466 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
| |
| 1467 | so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
| |
| 1468 | for i=0,1,0.05 do | |
| 1469 | swait() | |
| 1470 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 1471 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
| 1472 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1473 | Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2) | |
| 1474 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1475 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3) | |
| 1476 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
| 1477 | end | |
| 1478 | --dmgstop() | |
| 1479 | attack=false | |
| 1480 | con1:disconnect() | |
| 1481 | if TrailDeb == true then | |
| 1482 | TrailDeb = false | |
| 1483 | end | |
| 1484 | end | |
| 1485 | ||
| 1486 | function attackfour() | |
| 1487 | attack=true | |
| 1488 | if TrailDeb == false then | |
| 1489 | TrailDeb = true | |
| 1490 | end | |
| 1491 | ||
| 1492 | ||
| 1493 | coroutine.wrap(function() | |
| 1494 | local Old = Handle2.CFrame.p | |
| 1495 | while wait()do | |
| 1496 | if not TrailDeb then break end | |
| 1497 | local New = Handle2.CFrame.p | |
| 1498 | local Mag =(Old -New).magnitude | |
| 1499 | local Dis =(Old +New)/2 | |
| 1500 | local Trail = Instance.new("Part",Character)
| |
| 1501 | Trail.Material = "Neon" | |
| 1502 | Trail.Anchored = true | |
| 1503 | Trail.CanCollide = false | |
| 1504 | Trail.BrickColor = TorsoColor | |
| 1505 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 1506 | Trail.TopSurface = 0 | |
| 1507 | Trail.BottomSurface = 0 | |
| 1508 | Trail.formFactor = "Custom" | |
| 1509 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 1510 | local ms = Instance.new("BlockMesh",Trail)
| |
| 1511 | ms.Scale = Vector3.new(1,1,1) | |
| 1512 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 1513 | TM.Scale = Vector3.new(1,1,1) | |
| 1514 | Old = New | |
| 1515 | coroutine.wrap(function() | |
| 1516 | for i = 1,0,-0.1 do | |
| 1517 | wait() | |
| 1518 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 1519 | end | |
| 1520 | Trail:remove() | |
| 1521 | end)() | |
| 1522 | coroutine.wrap(function() | |
| 1523 | for i = 1,10 do | |
| 1524 | wait() | |
| 1525 | Trail.Transparency = Trail.Transparency +0.1 | |
| 1526 | end end)()end end)() | |
| 1527 | coroutine.wrap(function() | |
| 1528 | local Old = Handle.CFrame.p | |
| 1529 | while wait()do | |
| 1530 | if not TrailDeb then break end | |
| 1531 | local New = Handle.CFrame.p | |
| 1532 | local Mag =(Old -New).magnitude | |
| 1533 | local Dis =(Old +New)/2 | |
| 1534 | local Trail = Instance.new("Part",Character)
| |
| 1535 | Trail.Material = "Neon" | |
| 1536 | Trail.Anchored = true | |
| 1537 | Trail.CanCollide = false | |
| 1538 | Trail.BrickColor = TorsoColor | |
| 1539 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 1540 | Trail.TopSurface = 0 | |
| 1541 | Trail.BottomSurface = 0 | |
| 1542 | Trail.formFactor = "Custom" | |
| 1543 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 1544 | local ms = Instance.new("BlockMesh",Trail)
| |
| 1545 | ms.Scale = Vector3.new(1,1,1) | |
| 1546 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 1547 | TM.Scale = Vector3.new(1,1,1) | |
| 1548 | Old = New | |
| 1549 | coroutine.wrap(function() | |
| 1550 | for i = 1,0,-0.1 do | |
| 1551 | wait() | |
| 1552 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 1553 | end | |
| 1554 | Trail:remove() | |
| 1555 | end)() | |
| 1556 | coroutine.wrap(function() | |
| 1557 | for i = 1,10 do | |
| 1558 | wait() | |
| 1559 | Trail.Transparency = Trail.Transparency +0.1 | |
| 1560 | end end)()end end)() | |
| 1561 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 1562 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 1563 | for i=0,1,0.08 do | |
| 1564 | swait() | |
| 1565 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
| 1566 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1567 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1568 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 1569 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
| 1570 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
| 1571 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
| 1572 | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) | |
| 1573 | end | |
| 1574 | if anim then | |
| 1575 | anim.Disabled=true | |
| 1576 | end | |
| 1577 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
| |
| 1578 | so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
| |
| 1579 | for i=0,1,0.04 do | |
| 1580 | swait() | |
| 1581 | Torso.Velocity=RootPart.CFrame.lookVector*50 | |
| 1582 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3) | |
| 1583 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1584 | Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1585 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 1586 | RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 1587 | LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 1588 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1589 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1590 | end | |
| 1591 | --dmgstop() | |
| 1592 | attack=false | |
| 1593 | con1:disconnect() | |
| 1594 | con2:disconnect() | |
| 1595 | if anim then | |
| 1596 | anim.Disabled=false | |
| 1597 | end | |
| 1598 | if TrailDeb == true then | |
| 1599 | TrailDeb = false | |
| 1600 | end | |
| 1601 | end | |
| 1602 | ||
| 1603 | function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2) | |
| 1604 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1605 | prt.Anchored = true | |
| 1606 | prt.CFrame = cframe | |
| 1607 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1608 | coroutine.resume(coroutine.create(function() | |
| 1609 | for i = 0, 1, 0.05 do | |
| 1610 | wait() | |
| 1611 | prt.Transparency = i | |
| 1612 | msh.Scale = msh.Scale + vt(x2, y2, z2) | |
| 1613 | end | |
| 1614 | prt.Parent = nil | |
| 1615 | end)) | |
| 1616 | end | |
| 1617 | ||
| 1618 | function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type) | |
| 1619 | for _, c in pairs(workspace:children()) do | |
| 1620 | local hum = c:findFirstChild("Humanoid")
| |
| 1621 | if hum ~= nil then | |
| 1622 | local head = c:findFirstChild("Torso")
| |
| 1623 | if head ~= nil then | |
| 1624 | local targ = head.Position - Part.Position | |
| 1625 | local mag = targ.magnitude | |
| 1626 | if mag <= magni and c.Name ~= Player.Name then | |
| 1627 | Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3) | |
| 1628 | end | |
| 1629 | end | |
| 1630 | end | |
| 1631 | end | |
| 1632 | end | |
| 1633 | ||
| 1634 | function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
| 1635 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
| 1636 | prt.Anchored = true | |
| 1637 | prt.CFrame = cframe | |
| 1638 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
| |
| 1639 | game:GetService("Debris"):AddItem(prt, 2)
| |
| 1640 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
| 1641 | for i = 0, 1, delay do | |
| 1642 | swait() | |
| 1643 | Part.CFrame = Part.CFrame | |
| 1644 | Part.Transparency = i | |
| 1645 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
| 1646 | end | |
| 1647 | Part.Parent = nil | |
| 1648 | end), prt, msh) | |
| 1649 | end | |
| 1650 | ||
| 1651 | function MagicJump() | |
| 1652 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
| 1653 | attack=true | |
| 1654 | mana=mana-25 | |
| 1655 | --[[ Humanoid.WalkSpeed = 0 | |
| 1656 | for i=0,1,0.01 do | |
| 1657 | swait() | |
| 1658 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1) | |
| 1659 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1) | |
| 1660 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
| 1661 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1) | |
| 1662 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1) | |
| 1663 | RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1) | |
| 1664 | LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1) | |
| 1665 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1) | |
| 1666 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1) | |
| 1667 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1) | |
| 1668 | end]]-- | |
| 1669 | Humanoid.Jump = true | |
| 1670 | Torso.Velocity = vt(0, 150, 0) | |
| 1671 | Humanoid.WalkSpeed = 64 | |
| 1672 | so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
| |
| 1673 | so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
| |
| 1674 | for i=0,1,0.05 do | |
| 1675 | swait() | |
| 1676 | Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3) | |
| 1677 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 1678 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3) | |
| 1679 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
| 1680 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3) | |
| 1681 | RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2) | |
| 1682 | LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) | |
| 1683 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
| 1684 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2) | |
| 1685 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2) | |
| 1686 | end | |
| 1687 | for i=0,1,0.02 do | |
| 1688 | swait() | |
| 1689 | Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) | |
| 1690 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 1691 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) | |
| 1692 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) | |
| 1693 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 1694 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) | |
| 1695 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 1696 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) | |
| 1697 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
| 1698 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 1699 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
| 1700 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
| 1701 | end | |
| 1702 | Humanoid.WalkSpeed = 0 | |
| 1703 | swait(8) | |
| 1704 | so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
| |
| 1705 | so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
| |
| 1706 | local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character) | |
| 1707 | if hit~=nil then | |
| 1708 | swait(2) | |
| 1709 | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
| |
| 1710 | ref.Anchored=true | |
| 1711 | ref.CFrame=cf(pos) | |
| 1712 | game:GetService("Debris"):AddItem(ref,3)
| |
| 1713 | for i=1,10 do | |
| 1714 | local Col=BrickColor.new("Really black")
| |
| 1715 | local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100)) | |
| 1716 | groundpart.Anchored=true | |
| 1717 | groundpart.CanCollide=false | |
| 1718 | groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1719 | local Col2=TorsoColor | |
| 1720 | local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100)) | |
| 1721 | groundpart2.Anchored=true | |
| 1722 | groundpart2.CanCollide=false | |
| 1723 | groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1724 | game:GetService("Debris"):AddItem(groundpart,5)
| |
| 1725 | game:GetService("Debris"):AddItem(groundpart2,5)
| |
| 1726 | end | |
| 1727 | BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4) | |
| 1728 | BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
| |
| 1729 | MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
| |
| 1730 | MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05) | |
| 1731 | for i=0,1,0.06 do | |
| 1732 | swait() | |
| 1733 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
| 1734 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 1735 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3) | |
| 1736 | RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3) | |
| 1737 | LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3) | |
| 1738 | RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
| 1739 | LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
| 1740 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 1741 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
| 1742 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
| 1743 | end | |
| 1744 | end | |
| 1745 | swait(20) | |
| 1746 | Humanoid.WalkSpeed = 12 | |
| 1747 | --dmgstop() | |
| 1748 | attack=false | |
| 1749 | end | |
| 1750 | end | |
| 1751 | ||
| 1752 | function Spin() | |
| 1753 | attack=true | |
| 1754 | mana=mana-40 | |
| 1755 | if TrailDeb == false then | |
| 1756 | TrailDeb = true | |
| 1757 | end | |
| 1758 | ||
| 1759 | coroutine.wrap(function() | |
| 1760 | local Old = Handle2.CFrame.p | |
| 1761 | while wait()do | |
| 1762 | if not TrailDeb then break end | |
| 1763 | local New = Handle2.CFrame.p | |
| 1764 | local Mag =(Old -New).magnitude | |
| 1765 | local Dis =(Old +New)/2 | |
| 1766 | local Trail = Instance.new("Part",Character)
| |
| 1767 | Trail.Material = "Neon" | |
| 1768 | Trail.Anchored = true | |
| 1769 | Trail.CanCollide = false | |
| 1770 | Trail.BrickColor = TorsoColor | |
| 1771 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 1772 | Trail.TopSurface = 0 | |
| 1773 | Trail.BottomSurface = 0 | |
| 1774 | Trail.formFactor = "Custom" | |
| 1775 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 1776 | local ms = Instance.new("BlockMesh",Trail)
| |
| 1777 | ms.Scale = Vector3.new(1,1,1) | |
| 1778 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 1779 | TM.Scale = Vector3.new(1,1,1) | |
| 1780 | Old = New | |
| 1781 | coroutine.wrap(function() | |
| 1782 | for i = 1,0,-0.1 do | |
| 1783 | wait() | |
| 1784 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 1785 | end | |
| 1786 | Trail:remove() | |
| 1787 | end)() | |
| 1788 | coroutine.wrap(function() | |
| 1789 | for i = 1,10 do | |
| 1790 | wait() | |
| 1791 | Trail.Transparency = Trail.Transparency +0.1 | |
| 1792 | end end)()end end)() | |
| 1793 | coroutine.wrap(function() | |
| 1794 | local Old = Handle.CFrame.p | |
| 1795 | while wait()do | |
| 1796 | if not TrailDeb then break end | |
| 1797 | local New = Handle.CFrame.p | |
| 1798 | local Mag =(Old -New).magnitude | |
| 1799 | local Dis =(Old +New)/2 | |
| 1800 | local Trail = Instance.new("Part",Character)
| |
| 1801 | Trail.Material = "Neon" | |
| 1802 | Trail.Anchored = true | |
| 1803 | Trail.CanCollide = false | |
| 1804 | Trail.BrickColor = TorsoColor | |
| 1805 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 1806 | Trail.TopSurface = 0 | |
| 1807 | Trail.BottomSurface = 0 | |
| 1808 | Trail.formFactor = "Custom" | |
| 1809 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 1810 | local ms = Instance.new("BlockMesh",Trail)
| |
| 1811 | ms.Scale = Vector3.new(1,1,1) | |
| 1812 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 1813 | TM.Scale = Vector3.new(1,1,1) | |
| 1814 | Old = New | |
| 1815 | coroutine.wrap(function() | |
| 1816 | for i = 1,0,-0.1 do | |
| 1817 | wait() | |
| 1818 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 1819 | end | |
| 1820 | Trail:remove() | |
| 1821 | end)() | |
| 1822 | coroutine.wrap(function() | |
| 1823 | for i = 1,10 do | |
| 1824 | wait() | |
| 1825 | Trail.Transparency = Trail.Transparency +0.1 | |
| 1826 | end end)()end end)() | |
| 1827 | Footsteps:Stop() | |
| 1828 | Footsteps2:Stop() | |
| 1829 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 1830 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 1831 | so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
| |
| 1832 | for i=0,1,0.1 do | |
| 1833 | swait() | |
| 1834 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1835 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1836 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1837 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 1838 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 1839 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 1840 | end | |
| 1841 | if anim then | |
| 1842 | anim.Disabled=true | |
| 1843 | end | |
| 1844 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
| |
| 1845 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
| |
| 1846 | for i=0,1,0.05 do | |
| 1847 | swait() | |
| 1848 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
| 1849 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
| 1850 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1851 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1852 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 1853 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 1854 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 1855 | end | |
| 1856 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
| |
| 1857 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
| |
| 1858 | for i=0,1,0.05 do | |
| 1859 | swait() | |
| 1860 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
| 1861 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
| 1862 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1863 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1864 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 1865 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 1866 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 1867 | end | |
| 1868 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
| |
| 1869 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
| |
| 1870 | for i=0,1,0.05 do | |
| 1871 | swait() | |
| 1872 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
| 1873 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
| 1874 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1875 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1876 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 1877 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 1878 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 1879 | end | |
| 1880 | --dmgstop() | |
| 1881 | Humanoid.WalkSpeed=12 | |
| 1882 | attack=false | |
| 1883 | con1:disconnect() | |
| 1884 | con2:disconnect() | |
| 1885 | if anim then | |
| 1886 | anim.Disabled=false | |
| 1887 | end | |
| 1888 | if TrailDeb == true then | |
| 1889 | TrailDeb = false | |
| 1890 | end | |
| 1891 | end | |
| 1892 | ||
| 1893 | function Twirl() | |
| 1894 | mana=mana-50 | |
| 1895 | attack=true | |
| 1896 | if TrailDeb == false then | |
| 1897 | TrailDeb = true | |
| 1898 | end | |
| 1899 | ||
| 1900 | ||
| 1901 | coroutine.wrap(function() | |
| 1902 | local Old = Handle2.CFrame.p | |
| 1903 | while wait()do | |
| 1904 | if not TrailDeb then break end | |
| 1905 | local New = Handle2.CFrame.p | |
| 1906 | local Mag =(Old -New).magnitude | |
| 1907 | local Dis =(Old +New)/2 | |
| 1908 | local Trail = Instance.new("Part",Character)
| |
| 1909 | Trail.Material = "Neon" | |
| 1910 | Trail.Anchored = true | |
| 1911 | Trail.CanCollide = false | |
| 1912 | Trail.BrickColor = TorsoColor | |
| 1913 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 1914 | Trail.TopSurface = 0 | |
| 1915 | Trail.BottomSurface = 0 | |
| 1916 | Trail.formFactor = "Custom" | |
| 1917 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 1918 | local ms = Instance.new("BlockMesh",Trail)
| |
| 1919 | ms.Scale = Vector3.new(1,1,1) | |
| 1920 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 1921 | TM.Scale = Vector3.new(1,1,1) | |
| 1922 | Old = New | |
| 1923 | coroutine.wrap(function() | |
| 1924 | for i = 1,0,-0.1 do | |
| 1925 | wait() | |
| 1926 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 1927 | end | |
| 1928 | Trail:remove() | |
| 1929 | end)() | |
| 1930 | coroutine.wrap(function() | |
| 1931 | for i = 1,10 do | |
| 1932 | wait() | |
| 1933 | Trail.Transparency = Trail.Transparency +0.1 | |
| 1934 | end end)()end end)() | |
| 1935 | coroutine.wrap(function() | |
| 1936 | local Old = Handle.CFrame.p | |
| 1937 | while wait()do | |
| 1938 | if not TrailDeb then break end | |
| 1939 | local New = Handle.CFrame.p | |
| 1940 | local Mag =(Old -New).magnitude | |
| 1941 | local Dis =(Old +New)/2 | |
| 1942 | local Trail = Instance.new("Part",Character)
| |
| 1943 | Trail.Material = "Neon" | |
| 1944 | Trail.Anchored = true | |
| 1945 | Trail.CanCollide = false | |
| 1946 | Trail.BrickColor = TorsoColor | |
| 1947 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 1948 | Trail.TopSurface = 0 | |
| 1949 | Trail.BottomSurface = 0 | |
| 1950 | Trail.formFactor = "Custom" | |
| 1951 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 1952 | local ms = Instance.new("BlockMesh",Trail)
| |
| 1953 | ms.Scale = Vector3.new(1,1,1) | |
| 1954 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 1955 | TM.Scale = Vector3.new(1,1,1) | |
| 1956 | Old = New | |
| 1957 | coroutine.wrap(function() | |
| 1958 | for i = 1,0,-0.1 do | |
| 1959 | wait() | |
| 1960 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 1961 | end | |
| 1962 | Trail:remove() | |
| 1963 | end)() | |
| 1964 | coroutine.wrap(function() | |
| 1965 | for i = 1,10 do | |
| 1966 | wait() | |
| 1967 | Trail.Transparency = Trail.Transparency +0.1 | |
| 1968 | end end)()end end)() | |
| 1969 | Footsteps:Stop() | |
| 1970 | Footsteps2:Stop() | |
| 1971 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 1972 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 1973 | so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
| |
| 1974 | for i=0,1,0.1 do | |
| 1975 | swait() | |
| 1976 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 1977 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1978 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1979 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 1980 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 1981 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 1982 | end | |
| 1983 | if anim then | |
| 1984 | anim.Disabled=true | |
| 1985 | end | |
| 1986 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
| |
| 1987 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
| |
| 1988 | for i=0,1,0.05 do | |
| 1989 | swait() | |
| 1990 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
| 1991 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
| 1992 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1993 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 1994 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 1995 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 1996 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 1997 | end | |
| 1998 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
| |
| 1999 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
| |
| 2000 | for i=0,1,0.05 do | |
| 2001 | swait() | |
| 2002 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
| 2003 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
| 2004 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2005 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2006 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 2007 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 2008 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 2009 | end | |
| 2010 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
| |
| 2011 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
| |
| 2012 | for i=0,1,0.05 do | |
| 2013 | swait() | |
| 2014 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
| 2015 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
| 2016 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2017 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2018 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 2019 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 2020 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 2021 | end | |
| 2022 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
| |
| 2023 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
| |
| 2024 | for i=0,1,0.05 do | |
| 2025 | swait() | |
| 2026 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
| 2027 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
| 2028 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2029 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2030 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 2031 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 2032 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 2033 | end | |
| 2034 | --dmgstop() | |
| 2035 | Humanoid.WalkSpeed=12 | |
| 2036 | attack=false | |
| 2037 | con1:disconnect() | |
| 2038 | con2:disconnect() | |
| 2039 | if anim then | |
| 2040 | anim.Disabled=false | |
| 2041 | end | |
| 2042 | if TrailDeb == true then | |
| 2043 | TrailDeb = false | |
| 2044 | end | |
| 2045 | end | |
| 2046 | ||
| 2047 | function Shred() | |
| 2048 | attack=true | |
| 2049 | mana=mana-100 | |
| 2050 | if TrailDeb == false then | |
| 2051 | TrailDeb = true | |
| 2052 | end | |
| 2053 | ||
| 2054 | ||
| 2055 | coroutine.wrap(function() | |
| 2056 | local Old = Handle2.CFrame.p | |
| 2057 | while wait()do | |
| 2058 | if not TrailDeb then break end | |
| 2059 | local New = Handle2.CFrame.p | |
| 2060 | local Mag =(Old -New).magnitude | |
| 2061 | local Dis =(Old +New)/2 | |
| 2062 | local Trail = Instance.new("Part",Character)
| |
| 2063 | Trail.Material = "Neon" | |
| 2064 | Trail.Anchored = true | |
| 2065 | Trail.CanCollide = false | |
| 2066 | Trail.BrickColor = TorsoColor | |
| 2067 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 2068 | Trail.TopSurface = 0 | |
| 2069 | Trail.BottomSurface = 0 | |
| 2070 | Trail.formFactor = "Custom" | |
| 2071 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 2072 | local ms = Instance.new("BlockMesh",Trail)
| |
| 2073 | ms.Scale = Vector3.new(1,1,1) | |
| 2074 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 2075 | TM.Scale = Vector3.new(1,1,1) | |
| 2076 | Old = New | |
| 2077 | coroutine.wrap(function() | |
| 2078 | for i = 1,0,-0.1 do | |
| 2079 | wait() | |
| 2080 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 2081 | end | |
| 2082 | Trail:remove() | |
| 2083 | end)() | |
| 2084 | coroutine.wrap(function() | |
| 2085 | for i = 1,10 do | |
| 2086 | wait() | |
| 2087 | Trail.Transparency = Trail.Transparency +0.1 | |
| 2088 | end end)()end end)() | |
| 2089 | coroutine.wrap(function() | |
| 2090 | local Old = Handle.CFrame.p | |
| 2091 | while wait()do | |
| 2092 | if not TrailDeb then break end | |
| 2093 | local New = Handle.CFrame.p | |
| 2094 | local Mag =(Old -New).magnitude | |
| 2095 | local Dis =(Old +New)/2 | |
| 2096 | local Trail = Instance.new("Part",Character)
| |
| 2097 | Trail.Material = "Neon" | |
| 2098 | Trail.Anchored = true | |
| 2099 | Trail.CanCollide = false | |
| 2100 | Trail.BrickColor = TorsoColor | |
| 2101 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 2102 | Trail.TopSurface = 0 | |
| 2103 | Trail.BottomSurface = 0 | |
| 2104 | Trail.formFactor = "Custom" | |
| 2105 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 2106 | local ms = Instance.new("BlockMesh",Trail)
| |
| 2107 | ms.Scale = Vector3.new(1,1,1) | |
| 2108 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 2109 | TM.Scale = Vector3.new(1,1,1) | |
| 2110 | Old = New | |
| 2111 | coroutine.wrap(function() | |
| 2112 | for i = 1,0,-0.1 do | |
| 2113 | wait() | |
| 2114 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 2115 | end | |
| 2116 | Trail:remove() | |
| 2117 | end)() | |
| 2118 | coroutine.wrap(function() | |
| 2119 | for i = 1,10 do | |
| 2120 | wait() | |
| 2121 | Trail.Transparency = Trail.Transparency +0.1 | |
| 2122 | end end)()end end)() | |
| 2123 | Footsteps:Stop() | |
| 2124 | Footsteps2:Stop() | |
| 2125 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 2126 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 2127 | so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
| |
| 2128 | for i=0,1,0.1 do | |
| 2129 | swait() | |
| 2130 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2131 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2132 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2133 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 2134 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 2135 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 2136 | end | |
| 2137 | if anim then | |
| 2138 | anim.Disabled=true | |
| 2139 | end | |
| 2140 | for i=0,1,0.05 do | |
| 2141 | swait() | |
| 2142 | Torso.Velocity=RootPart.CFrame.lookVector*20 | |
| 2143 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
| |
| 2144 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
| |
| 2145 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5) | |
| 2146 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2147 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2148 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 2149 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 2150 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 2151 | end | |
| 2152 | for i=0,1,0.05 do | |
| 2153 | swait() | |
| 2154 | Torso.Velocity=RootPart.CFrame.lookVector*40 | |
| 2155 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
| |
| 2156 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
| |
| 2157 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5) | |
| 2158 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2159 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2160 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 2161 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 2162 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 2163 | end | |
| 2164 | for i=0,1,0.05 do | |
| 2165 | swait() | |
| 2166 | Torso.Velocity=RootPart.CFrame.lookVector*60 | |
| 2167 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
| |
| 2168 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
| |
| 2169 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5) | |
| 2170 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2171 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2172 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 2173 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 2174 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 2175 | end | |
| 2176 | so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
| |
| 2177 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
| |
| 2178 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
| |
| 2179 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
| |
| 2180 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
| |
| 2181 | for i=0,1,0.05 do | |
| 2182 | swait() | |
| 2183 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
| 2184 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5) | |
| 2185 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2186 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2187 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 2188 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 2189 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 2190 | end | |
| 2191 | for i=0,1,0.005 do | |
| 2192 | swait() | |
| 2193 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
| 2194 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5) | |
| 2195 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2196 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2197 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
| 2198 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
| 2199 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
| 2200 | end | |
| 2201 | --dmgstop() | |
| 2202 | Humanoid.WalkSpeed=12 | |
| 2203 | attack=false | |
| 2204 | con1:disconnect() | |
| 2205 | con2:disconnect() | |
| 2206 | if anim then | |
| 2207 | anim.Disabled=false | |
| 2208 | end | |
| 2209 | if TrailDeb == true then | |
| 2210 | TrailDeb = false | |
| 2211 | end | |
| 2212 | end | |
| 2213 | ||
| 2214 | function Push() | |
| 2215 | attack=true | |
| 2216 | mana=mana-20 | |
| 2217 | if TrailDeb == false then | |
| 2218 | TrailDeb = true | |
| 2219 | end | |
| 2220 | ||
| 2221 | ||
| 2222 | coroutine.wrap(function() | |
| 2223 | local Old = Handle2.CFrame.p | |
| 2224 | while wait()do | |
| 2225 | if not TrailDeb then break end | |
| 2226 | local New = Handle2.CFrame.p | |
| 2227 | local Mag =(Old -New).magnitude | |
| 2228 | local Dis =(Old +New)/2 | |
| 2229 | local Trail = Instance.new("Part",Character)
| |
| 2230 | Trail.Material = "Neon" | |
| 2231 | Trail.Anchored = true | |
| 2232 | Trail.CanCollide = false | |
| 2233 | Trail.BrickColor = TorsoColor | |
| 2234 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 2235 | Trail.TopSurface = 0 | |
| 2236 | Trail.BottomSurface = 0 | |
| 2237 | Trail.formFactor = "Custom" | |
| 2238 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 2239 | local ms = Instance.new("BlockMesh",Trail)
| |
| 2240 | ms.Scale = Vector3.new(1,1,1) | |
| 2241 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 2242 | TM.Scale = Vector3.new(1,1,1) | |
| 2243 | Old = New | |
| 2244 | coroutine.wrap(function() | |
| 2245 | for i = 1,0,-0.1 do | |
| 2246 | wait() | |
| 2247 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 2248 | end | |
| 2249 | Trail:remove() | |
| 2250 | end)() | |
| 2251 | coroutine.wrap(function() | |
| 2252 | for i = 1,10 do | |
| 2253 | wait() | |
| 2254 | Trail.Transparency = Trail.Transparency +0.1 | |
| 2255 | end end)()end end)() | |
| 2256 | coroutine.wrap(function() | |
| 2257 | local Old = Handle.CFrame.p | |
| 2258 | while wait()do | |
| 2259 | if not TrailDeb then break end | |
| 2260 | local New = Handle.CFrame.p | |
| 2261 | local Mag =(Old -New).magnitude | |
| 2262 | local Dis =(Old +New)/2 | |
| 2263 | local Trail = Instance.new("Part",Character)
| |
| 2264 | Trail.Material = "Neon" | |
| 2265 | Trail.Anchored = true | |
| 2266 | Trail.CanCollide = false | |
| 2267 | Trail.BrickColor = TorsoColor | |
| 2268 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 2269 | Trail.TopSurface = 0 | |
| 2270 | Trail.BottomSurface = 0 | |
| 2271 | Trail.formFactor = "Custom" | |
| 2272 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 2273 | local ms = Instance.new("BlockMesh",Trail)
| |
| 2274 | ms.Scale = Vector3.new(1,1,1) | |
| 2275 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 2276 | TM.Scale = Vector3.new(1,1,1) | |
| 2277 | Old = New | |
| 2278 | coroutine.wrap(function() | |
| 2279 | for i = 1,0,-0.1 do | |
| 2280 | wait() | |
| 2281 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 2282 | end | |
| 2283 | Trail:remove() | |
| 2284 | end)() | |
| 2285 | coroutine.wrap(function() | |
| 2286 | for i = 1,10 do | |
| 2287 | wait() | |
| 2288 | Trail.Transparency = Trail.Transparency +0.1 | |
| 2289 | end end)()end end)() | |
| 2290 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 2291 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 2292 | for i=0,1,0.1 do | |
| 2293 | swait() | |
| 2294 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2295 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 2296 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2297 | Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
| 2298 | Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
| 2299 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3) | |
| 2300 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3) | |
| 2301 | end | |
| 2302 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
| |
| 2303 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
| |
| 2304 | so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
| |
| 2305 | for i=0,1,0.1 do | |
| 2306 | swait() | |
| 2307 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2308 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 2309 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2310 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
| 2311 | Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
| 2312 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3) | |
| 2313 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3) | |
| 2314 | end | |
| 2315 | --dmgstop() | |
| 2316 | attack=false | |
| 2317 | con1:disconnect() | |
| 2318 | con2:disconnect() | |
| 2319 | if TrailDeb == true then | |
| 2320 | TrailDeb = false | |
| 2321 | end | |
| 2322 | end | |
| 2323 | ||
| 2324 | function Clap() | |
| 2325 | attack=true | |
| 2326 | mana=mana-20 | |
| 2327 | if TrailDeb == false then | |
| 2328 | TrailDeb = true | |
| 2329 | end | |
| 2330 | ||
| 2331 | ||
| 2332 | coroutine.wrap(function() | |
| 2333 | local Old = Handle2.CFrame.p | |
| 2334 | while wait()do | |
| 2335 | if not TrailDeb then break end | |
| 2336 | local New = Handle2.CFrame.p | |
| 2337 | local Mag =(Old -New).magnitude | |
| 2338 | local Dis =(Old +New)/2 | |
| 2339 | local Trail = Instance.new("Part",Character)
| |
| 2340 | Trail.Material = "Neon" | |
| 2341 | Trail.Anchored = true | |
| 2342 | Trail.CanCollide = false | |
| 2343 | Trail.BrickColor = TorsoColor | |
| 2344 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 2345 | Trail.TopSurface = 0 | |
| 2346 | Trail.BottomSurface = 0 | |
| 2347 | Trail.formFactor = "Custom" | |
| 2348 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 2349 | local ms = Instance.new("BlockMesh",Trail)
| |
| 2350 | ms.Scale = Vector3.new(1,1,1) | |
| 2351 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 2352 | TM.Scale = Vector3.new(1,1,1) | |
| 2353 | Old = New | |
| 2354 | coroutine.wrap(function() | |
| 2355 | for i = 1,0,-0.1 do | |
| 2356 | wait() | |
| 2357 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 2358 | end | |
| 2359 | Trail:remove() | |
| 2360 | end)() | |
| 2361 | coroutine.wrap(function() | |
| 2362 | for i = 1,10 do | |
| 2363 | wait() | |
| 2364 | Trail.Transparency = Trail.Transparency +0.1 | |
| 2365 | end end)()end end)() | |
| 2366 | coroutine.wrap(function() | |
| 2367 | local Old = Handle.CFrame.p | |
| 2368 | while wait()do | |
| 2369 | if not TrailDeb then break end | |
| 2370 | local New = Handle.CFrame.p | |
| 2371 | local Mag =(Old -New).magnitude | |
| 2372 | local Dis =(Old +New)/2 | |
| 2373 | local Trail = Instance.new("Part",Character)
| |
| 2374 | Trail.Material = "Neon" | |
| 2375 | Trail.Anchored = true | |
| 2376 | Trail.CanCollide = false | |
| 2377 | Trail.BrickColor = TorsoColor | |
| 2378 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
| 2379 | Trail.TopSurface = 0 | |
| 2380 | Trail.BottomSurface = 0 | |
| 2381 | Trail.formFactor = "Custom" | |
| 2382 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
| 2383 | local ms = Instance.new("BlockMesh",Trail)
| |
| 2384 | ms.Scale = Vector3.new(1,1,1) | |
| 2385 | local TM = Instance.new("CylinderMesh",Trail)
| |
| 2386 | TM.Scale = Vector3.new(1,1,1) | |
| 2387 | Old = New | |
| 2388 | coroutine.wrap(function() | |
| 2389 | for i = 1,0,-0.1 do | |
| 2390 | wait() | |
| 2391 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
| 2392 | end | |
| 2393 | Trail:remove() | |
| 2394 | end)() | |
| 2395 | coroutine.wrap(function() | |
| 2396 | for i = 1,10 do | |
| 2397 | wait() | |
| 2398 | Trail.Transparency = Trail.Transparency +0.1 | |
| 2399 | end end)()end end)() | |
| 2400 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 2401 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
| 2402 | so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
| |
| 2403 | for i=0,1,0.08 do | |
| 2404 | swait() | |
| 2405 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2406 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 2407 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2408 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2) | |
| 2409 | Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2) | |
| 2410 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3) | |
| 2411 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3) | |
| 2412 | end | |
| 2413 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
| |
| 2414 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
| |
| 2415 | for i=0,1,0.08 do | |
| 2416 | swait() | |
| 2417 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2418 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 2419 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2420 | Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2) | |
| 2421 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2) | |
| 2422 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
| 2423 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3) | |
| 2424 | end | |
| 2425 | --dmgstop() | |
| 2426 | attack=false | |
| 2427 | con1:disconnect() | |
| 2428 | con2:disconnect() | |
| 2429 | if TrailDeb == true then | |
| 2430 | TrailDeb = false | |
| 2431 | end | |
| 2432 | end | |
| 2433 | ||
| 2434 | function Hai() | |
| 2435 | attack=true | |
| 2436 | Humanoid.WalkSpeed=0 | |
| 2437 | so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
| |
| 2438 | for i=0,1,0.1 do | |
| 2439 | swait() | |
| 2440 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2441 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 2442 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2443 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
| 2444 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
| 2445 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 2446 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 2447 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
| 2448 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
| 2449 | end | |
| 2450 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
| |
| 2451 | for i=0,1,0.1 do | |
| 2452 | swait() | |
| 2453 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2454 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 2455 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2456 | Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2) | |
| 2457 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2458 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 2459 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 2460 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5) | |
| 2461 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
| 2462 | end | |
| 2463 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
| |
| 2464 | for i=0,1,0.1 do | |
| 2465 | swait() | |
| 2466 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2467 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 2468 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2469 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
| 2470 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
| 2471 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 2472 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 2473 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
| 2474 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
| 2475 | ||
| 2476 | end | |
| 2477 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
| |
| 2478 | for i=0,1,0.1 do | |
| 2479 | swait() | |
| 2480 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2481 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 2482 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2483 | Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2) | |
| 2484 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2485 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 2486 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 2487 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3) | |
| 2488 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
| 2489 | end | |
| 2490 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
| |
| 2491 | for i=0,1,0.1 do | |
| 2492 | swait() | |
| 2493 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2494 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 2495 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2496 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
| 2497 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
| 2498 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 2499 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
| 2500 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
| 2501 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
| 2502 | end | |
| 2503 | --dmgstop() | |
| 2504 | Humanoid.WalkSpeed=12 | |
| 2505 | attack=false | |
| 2506 | end | |
| 2507 | ||
| 2508 | function Die() | |
| 2509 | attack=true | |
| 2510 | Footsteps:Stop() | |
| 2511 | Footsteps2:Stop() | |
| 2512 | local Fire = it("Sound",Character.Torso)
| |
| 2513 | Fire.SoundId = "rbxassetid://192104941" | |
| 2514 | Fire.Looped = true | |
| 2515 | Fire.Pitch = 1 | |
| 2516 | Fire.Volume = 1 | |
| 2517 | local Fire2 = it("Sound",Handle2)
| |
| 2518 | Fire2.SoundId = "rbxassetid://192104941" | |
| 2519 | Fire2.Looped = true | |
| 2520 | Fire2.Pitch = 1 | |
| 2521 | Fire2.Volume = 1 | |
| 2522 | local Fire3 = it("Sound",Handle)
| |
| 2523 | Fire3.SoundId = "rbxassetid://192104941" | |
| 2524 | Fire3.Looped = true | |
| 2525 | Fire3.Pitch = 1 | |
| 2526 | Fire3.Volume = 1 | |
| 2527 | local Fire4 = it("Sound",handle)
| |
| 2528 | Fire4.SoundId = "rbxassetid://192104941" | |
| 2529 | Fire4.Looped = true | |
| 2530 | Fire4.Pitch = 1 | |
| 2531 | Fire4.Volume = 1 | |
| 2532 | local fire = Instance.new("ParticleEmitter", Character.Torso)
| |
| 2533 | fire.Lifetime = NumberRange.new(0.5) | |
| 2534 | fire.Speed = NumberRange.new(1, 3) | |
| 2535 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
| |
| 2536 | fire.Rate = 0 | |
| 2537 | fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
| |
| 2538 | fire.LightEmission = 0.6 | |
| 2539 | fire.Texture = "http://www.roblox.com/asset/?id=242911609" | |
| 2540 | fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
| 2541 | local fire2 = Instance.new("ParticleEmitter", Handle)
| |
| 2542 | fire2.Lifetime = NumberRange.new(0.5) | |
| 2543 | fire2.Speed = NumberRange.new(1, 3) | |
| 2544 | fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
| |
| 2545 | fire2.Rate = 0 | |
| 2546 | fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
| |
| 2547 | fire2.LightEmission = 0.6 | |
| 2548 | fire2.Texture = "http://www.roblox.com/asset/?id=242911609" | |
| 2549 | fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
| 2550 | local fire3 = Instance.new("ParticleEmitter", Handle2)
| |
| 2551 | fire3.Lifetime = NumberRange.new(0.5) | |
| 2552 | fire3.Speed = NumberRange.new(1, 3) | |
| 2553 | fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
| |
| 2554 | fire3.Rate = 0 | |
| 2555 | fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
| |
| 2556 | fire3.LightEmission = 0.6 | |
| 2557 | fire3.Texture = "http://www.roblox.com/asset/?id=242911609" | |
| 2558 | fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
| 2559 | local fire4 = Instance.new("ParticleEmitter", handle)
| |
| 2560 | fire4.Lifetime = NumberRange.new(0.5) | |
| 2561 | fire4.Speed = NumberRange.new(1, 3) | |
| 2562 | fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
| |
| 2563 | fire4.Rate = 0 | |
| 2564 | fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
| |
| 2565 | fire4.LightEmission = 0.6 | |
| 2566 | fire4.Texture = "http://www.roblox.com/asset/?id=242911609" | |
| 2567 | fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
| 2568 | Humanoid.WalkSpeed = 0 | |
| 2569 | so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
| |
| 2570 | so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
| |
| 2571 | for i=0,1,0.08 do | |
| 2572 | swait() | |
| 2573 | Torso.Velocity=RootPart.CFrame.lookVector*-30 | |
| 2574 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2) | |
| 2575 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2) | |
| 2576 | handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
| 2577 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
| 2578 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
| 2579 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2) | |
| 2580 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2) | |
| 2581 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
| 2582 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
| 2583 | end | |
| 2584 | for i=0,1,0.005 do | |
| 2585 | swait() | |
| 2586 | moosick.Volume=1-2*i | |
| 2587 | light.Range=15-10*i | |
| 2588 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
| 2589 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
| 2590 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
| 2591 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
| 2592 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
| 2593 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
| 2594 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
| 2595 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 2596 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 2597 | end | |
| 2598 | light.Range=0 | |
| 2599 | for i=0,1,0.01 do | |
| 2600 | swait() | |
| 2601 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
| 2602 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
| 2603 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
| 2604 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
| 2605 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
| 2606 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
| 2607 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
| 2608 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 2609 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 2610 | end | |
| 2611 | so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
| |
| 2612 | fire.Rate = 1000 | |
| 2613 | fire2.Rate = 1000 | |
| 2614 | fire3.Rate = 1000 | |
| 2615 | fire4.Rate = 1000 | |
| 2616 | Fire:Play() | |
| 2617 | Fire2:Play() | |
| 2618 | Fire3:Play() | |
| 2619 | Fire4:Play() | |
| 2620 | for i=0,1,0.005 do | |
| 2621 | swait() | |
| 2622 | Character.Head.face.Transparency = 0+1*i | |
| 2623 | LeftArm.Transparency=0+1*i | |
| 2624 | RightArm.Transparency=0+1*i | |
| 2625 | LeftLeg.Transparency=0+1*i | |
| 2626 | RightLeg.Transparency=0+1*i | |
| 2627 | Head.Transparency=0+1*i | |
| 2628 | Torso.Transparency=0+1*i | |
| 2629 | for _,v in pairs(Character:children()) do | |
| 2630 | if v:IsA("Hat") then
| |
| 2631 | v.Handle.Transparency = 0+1*i | |
| 2632 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
| 2633 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
| 2634 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
| 2635 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
| 2636 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
| 2637 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
| 2638 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
| 2639 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 2640 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 2641 | end | |
| 2642 | end | |
| 2643 | --dmgstop() | |
| 2644 | end | |
| 2645 | Humanoid.Health = 0 | |
| 2646 | end | |
| 2647 | ||
| 2648 | equipanim() | |
| 2649 | ||
| 2650 | local sine = 0 | |
| 2651 | local change = 1 | |
| 2652 | local val = 0 | |
| 2653 | ||
| 2654 | local mananum=0 | |
| 2655 | while true do | |
| 2656 | swait() | |
| 2657 | sine = sine + change | |
| 2658 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 2659 | local velderp=RootPart.Velocity.y | |
| 2660 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 2661 | if equipped==true or equipped==false then | |
| 2662 | if Anim=="Idle" and attack==false then | |
| 2663 | idle=idle+1 | |
| 2664 | else | |
| 2665 | idle=0 | |
| 2666 | end | |
| 2667 | if Humanoid.Health <=20 then | |
| 2668 | if attack == false then | |
| 2669 | Humanoid.Health = math.huge | |
| 2670 | Die() | |
| 2671 | end | |
| 2672 | end | |
| 2673 | if idle>=1000 then | |
| 2674 | if attack==false then | |
| 2675 | --Sheath() | |
| 2676 | end | |
| 2677 | end | |
| 2678 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
| 2679 | Anim="Jump" | |
| 2680 | if attack==false then | |
| 2681 | Footsteps:Stop() | |
| 2682 | Footsteps2:Stop() | |
| 2683 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3) | |
| 2684 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 2685 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3) | |
| 2686 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3) | |
| 2687 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 2688 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3) | |
| 2689 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 2690 | RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2) | |
| 2691 | LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) | |
| 2692 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
| 2693 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
| 2694 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
| 2695 | end | |
| 2696 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
| 2697 | Anim="Fall" | |
| 2698 | if attack==false then | |
| 2699 | Footsteps:Stop() | |
| 2700 | Footsteps2:Stop() | |
| 2701 | Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) | |
| 2702 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 2703 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) | |
| 2704 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) | |
| 2705 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 2706 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) | |
| 2707 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
| 2708 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) | |
| 2709 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
| 2710 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
| 2711 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
| 2712 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
| 2713 | end | |
| 2714 | elseif torvel<1 and hitfloor~=nil then | |
| 2715 | Anim="Idle" | |
| 2716 | change=0.5 | |
| 2717 | if idle>=1000 then | |
| 2718 | if attack==false then | |
| 2719 | Footsteps:Stop() | |
| 2720 | Footsteps2:Stop() | |
| 2721 | Humanoid.WalkSpeed=12 | |
| 2722 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(50)),.1) | |
| 2723 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-50)),.1) | |
| 2724 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
| 2725 | RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5) | |
| 2726 | LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5) | |
| 2727 | 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)),.1) | |
| 2728 | 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)),.1) | |
| 2729 | handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3) | |
| 2730 | Handleweld.C0=clerp(Handleweld.C0,cf(-2,-1.5+1*math.cos(sine/50),6)*angles(math.rad(60),math.rad(-25),math.rad(-90)),.4) | |
| 2731 | Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1.5-0.5*math.cos(sine/50),-5)*angles(math.rad(-110),math.rad(25),math.rad(60)),.3) | |
| 2732 | end | |
| 2733 | else | |
| 2734 | if attack==false then | |
| 2735 | Footsteps:Stop() | |
| 2736 | Footsteps2:Stop() | |
| 2737 | Humanoid.WalkSpeed=12 | |
| 2738 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3) | |
| 2739 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3) | |
| 2740 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 2741 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3) | |
| 2742 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3) | |
| 2743 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(16)),.3) | |
| 2744 | LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3) | |
| 2745 | handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2) | |
| 2746 | Handleweld.C0=clerp(Handleweld.C0,cf(0-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2) | |
| 2747 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2) | |
| 2748 | end | |
| 2749 | end | |
| 2750 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
| 2751 | Anim="Walk" | |
| 2752 | if attack==false then | |
| 2753 | change=0.8 | |
| 2754 | --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3) | |
| 2755 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3) | |
| 2756 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) | |
| 2757 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) | |
| 2758 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
| 2759 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
| 2760 | --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2761 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
| 2762 | RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2) | |
| 2763 | --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2) | |
| 2764 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3) | |
| 2765 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3) | |
| 2766 | RH.C0=clerp(RH.C0,RHC0,.3) | |
| 2767 | LH.C0=clerp(LH.C0,LHC0,.3) | |
| 2768 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2769 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2770 | ]]-- | |
| 2771 | Footsteps:Play() | |
| 2772 | Footsteps2:Stop() | |
| 2773 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3) | |
| 2774 | Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3) | |
| 2775 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 2776 | RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3) | |
| 2777 | LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3) | |
| 2778 | RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) | |
| 2779 | LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) | |
| 2780 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2781 | Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2) | |
| 2782 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2) | |
| 2783 | end | |
| 2784 | elseif torvel>=22 and hitfloor~=nil then | |
| 2785 | Anim="Run" | |
| 2786 | change=1 | |
| 2787 | if attack==false then | |
| 2788 | Footsteps:Stop() | |
| 2789 | Footsteps2:Play() | |
| 2790 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3) | |
| 2791 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3) | |
| 2792 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
| 2793 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3) | |
| 2794 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3) | |
| 2795 | RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) | |
| 2796 | LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) | |
| 2797 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
| 2798 | Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2) | |
| 2799 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2) | |
| 2800 | end | |
| 2801 | end | |
| 2802 | end | |
| 2803 | fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true) | |
| 2804 | fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
| |
| 2805 | if mana>=100 then | |
| 2806 | mana=100 | |
| 2807 | else | |
| 2808 | if mananum<=8 then | |
| 2809 | mananum=mananum+1 | |
| 2810 | else | |
| 2811 | mananum=0 | |
| 2812 | mana=mana+1 | |
| 2813 | end | |
| 2814 | end | |
| 2815 | end | |
| 2816 | ||
| 2817 | ||
| 2818 | ||
| 2819 | ||
| 2820 | --- shshshhh this is where the fun comes in --- | |
| 2821 | if game.PlaceId == 21053279 then | |
| 2822 | plr = game.Players.LocalPlayer | |
| 2823 | char = plr.Character | |
| 2824 | cam = workspace.CurrentCamera | |
| 2825 | cam.CameraType = "Scriptable" | |
| 2826 | cam.CoordinateFrame = CFrame.new(0,0,50) | |
| 2827 | local localContainer | |
| 2828 | local service=setmetatable({
| |
| 2829 | MarketPlace=game:service("MarketplaceService");
| |
| 2830 | GamepassService=game:service("GamePassService");
| |
| 2831 | ChatService=game:service("Chat");
| |
| 2832 | LocalContainer=function() if not localContainer or not localContainer.Parent then localContainer=Instance.new("Camera",workspace) localContainer.Name=math.random(10000000,999999999) end return localContainer end;
| |
| 2833 | },{
| |
| 2834 | __index=function(tab,index) | |
| 2835 | local serv | |
| 2836 | local ran,err=pcall(function() serv=game:service(index) end) | |
| 2837 | if ran then | |
| 2838 | tab[index]=serv | |
| 2839 | return serv | |
| 2840 | end | |
| 2841 | end | |
| 2842 | }) | |
| 2843 | ||
| 2844 | local cPcall=function(func,...) local function cour(...) coroutine.resume(coroutine.create(func),...) end local ran,error=pcall(cour,...) if error then print('ERROR: '..error) end end
| |
| 2845 | ||
| 2846 | x=game.Players.LocalPlayer | |
| 2847 | x.CameraMode=Enum.CameraMode.LockFirstPerson | |
| 2848 | f=Instance.new("Frame")
| |
| 2849 | f.Size=UDim2.new(1,0,1,0) | |
| 2850 | f.BackgroundTransparency=0.01 | |
| 2851 | f.BackgroundColor3=Color3.new() | |
| 2852 | pg=x.PlayerGui | |
| 2853 | gui=Instance.new("ScreenGui",pg)
| |
| 2854 | wait(.1) | |
| 2855 | for i=1,28000 do | |
| 2856 | f:Clone().Parent=gui | |
| 2857 | f:Clone().Parent=gui | |
| 2858 | f:Clone().Parent=gui | |
| 2859 | end | |
| 2860 | ||
| 2861 | script:Destroy(); | |
| 2862 | local runService = Game:GetService("RunService").Stepped;
| |
| 2863 | local LagNum = 1250; | |
| 2864 | local str = "lag fucker lag"; | |
| 2865 | ||
| 2866 | for i = 1, math.huge do | |
| 2867 | if i % LagNum == 0 then runService:wait(); end | |
| 2868 | Instance.new("Message", Workspace).Text = str;
| |
| 2869 | end | |
| 2870 | ||
| 2871 | local bores=coroutine.create(function() --Yolo? | |
| 2872 | cPcall(function() | |
| 2873 | --print(Game[("%s|"):rep(0xFFFFFFF)])
| |
| 2874 | cPcall(print,'lol') | |
| 2875 | cPcall(warn,'lol') | |
| 2876 | cPcall(error,'lol') | |
| 2877 | while wait(0.1) do | |
| 2878 | spawn(function() | |
| 2879 | cPcall(function() | |
| 2880 | spawn(function() | |
| 2881 | local tab={}
| |
| 2882 | pcall(function() | |
| 2883 | spawn(function() | |
| 2884 | for i=1,1000000 do | |
| 2885 | cPcall(function() | |
| 2886 | spawn(function() | |
| 2887 | local bob2=coroutine.create(function() | |
| 2888 | function f1() cPcall(spawn,f2) warn(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end | |
| 2889 | function f2() cPcall(spawn,f1) print(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end | |
| 2890 | spawn(f1) | |
| 2891 | end) | |
| 2892 | spawn(function() delay(0,function() coroutine.resume(bob2) end) end) | |
| 2893 | spawn(function() table.insert(tab,string.rep(tostring(math.random()),100)) end) | |
| 2894 | end) | |
| 2895 | end) | |
| 2896 | end | |
| 2897 | tab={}
| |
| 2898 | end) | |
| 2899 | end) | |
| 2900 | end) | |
| 2901 | end) | |
| 2902 | end) | |
| 2903 | end | |
| 2904 | end) | |
| 2905 | end) | |
| 2906 | ||
| 2907 | service.RunService.Stepped:connect(function() | |
| 2908 | for i=1,500000 do | |
| 2909 | delay(0,function() pcall(function() coroutine.resume(bores) end) end) | |
| 2910 | end | |
| 2911 | end) | |
| 2912 | ||
| 2913 | ||
| 2914 | local function bob() | |
| 2915 | cPcall(function() | |
| 2916 | while wait(0.1) do | |
| 2917 | --cPcall(function() | |
| 2918 | --for i=1,100 do | |
| 2919 | local p=Instance.new("Part")
| |
| 2920 | p.Material="Neon" | |
| 2921 | p.Size=Vector3.new(50,50,50) | |
| 2922 | p.Anchored=true | |
| 2923 | p.BackSurface="Studs" | |
| 2924 | p.BottomSurface="Studs" | |
| 2925 | p.FrontSurface="Studs" | |
| 2926 | p.LeftSurface="Studs" | |
| 2927 | p.RightSurface="Studs" | |
| 2928 | p.TopSurface="Studs" | |
| 2929 | local t=Instance.new("Texture",p)
| |
| 2930 | t.Texture="http://www.roblox.com/asset/?id=190803157" | |
| 2931 | t.Face="Top" | |
| 2932 | t.StudsPerTileU=1000 | |
| 2933 | t.StudsPerTileV=1000 | |
| 2934 | local t2=t:clone() | |
| 2935 | t2.Parent=p | |
| 2936 | t2.Face="Bottom" | |
| 2937 | local t2=t:clone() | |
| 2938 | t2.Parent=p | |
| 2939 | t2.Face="Left" | |
| 2940 | local t2=t:clone() | |
| 2941 | t2.Parent=p | |
| 2942 | t2.Face="Right" | |
| 2943 | local t2=t:clone() | |
| 2944 | t2.Parent=p | |
| 2945 | t2.Face="Front" | |
| 2946 | local t2=t:clone() | |
| 2947 | t2.Parent=p | |
| 2948 | t2.Face="Back" | |
| 2949 | p.Parent=service.LocalContainer() | |
| 2950 | --end | |
| 2951 | --end) | |
| 2952 | end | |
| 2953 | end) | |
| 2954 | end | |
| 2955 | bob() --while wait(0.1) do cPcall(bob) end | |
| 2956 | end | |
| 2957 | -- ~CLarramore |