SHOW:
|
|
- or go back to the newest paste.
| 1 | local p = game.Players.localPlayer | |
| 2 | local char = p.Character | |
| 3 | local mouse = p:GetMouse() | |
| 4 | local larm = char["Left Arm"] | |
| 5 | local rarm = char["Right Arm"] | |
| 6 | local lleg = char["Left Leg"] | |
| 7 | local rleg = char["Right Leg"] | |
| 8 | local hed = char.Head | |
| 9 | local torso = char.Torso | |
| 10 | local cam = game.Workspace.CurrentCamera | |
| 11 | local root = char.HumanoidRootPart | |
| 12 | local deb = false | |
| 13 | local shot = 0 | |
| 14 | local l = game.Lighting | |
| 15 | local stanceToggle = "Assertive" | |
| 16 | local CanAttack = true | |
| 17 | local Daytime = true | |
| 18 | local animpose = "Idle" | |
| 19 | local lastanimpose = "Idle" | |
| 20 | local nosword=false | |
| 21 | RootPart=char.HumanoidRootPart | |
| 22 | local Effects={}
| |
| 23 | local attack=false | |
| 24 | idle=0 | |
| 25 | Anim='Idle' | |
| 26 | equipped=true | |
| 27 | char.Humanoid.WalkSpeed=16 | |
| 28 | colorscheme=BrickColor.new('Black')
| |
| 29 | it=Instance.new | |
| 30 | attacktype=1 | |
| 31 | vt=Vector3.new | |
| 32 | cf=CFrame.new | |
| 33 | euler=CFrame.fromEulerAnglesXYZ | |
| 34 | angles=CFrame.Angles | |
| 35 | m=Instance.new('Model',char)
| |
| 36 | stance='god' | |
| 37 | --game:service'Lighting'.TimeOfDay=24 | |
| 38 | z = Instance.new("Sound")
| |
| 39 | z.SoundId = "http://www.roblox.com/asset/?id=142360845"--..SIDs[math.random(1,#SIDs)]--159496201 | |
| 40 | --248000653 | |
| 41 | z.Parent = char | |
| 42 | z.Looped = true | |
| 43 | z.Pitch = 1 | |
| 44 | z.Volume = 1 | |
| 45 | wait(.01) | |
| 46 | --z:Play() | |
| 47 | ||
| 48 | it=Instance.new | |
| 49 | vt=Vector3.new | |
| 50 | cf=CFrame.new | |
| 51 | euler=CFrame.fromEulerAnglesXYZ | |
| 52 | angles=CFrame.Angles | |
| 53 | ||
| 54 | ||
| 55 | function swait(num) | |
| 56 | if num==0 or num==nil then | |
| 57 | game:service'RunService'.Heartbeat:wait(0) | |
| 58 | else | |
| 59 | for i=0,num do | |
| 60 | game:service'RunService'.Heartbeat:wait(0) | |
| 61 | end | |
| 62 | end | |
| 63 | end | |
| 64 | ||
| 65 | function clerp(a,b,t) | |
| 66 | local qa = {QuaternionFromCFrame(a)}
| |
| 67 | local qb = {QuaternionFromCFrame(b)}
| |
| 68 | local ax, ay, az = a.x, a.y, a.z | |
| 69 | local bx, by, bz = b.x, b.y, b.z | |
| 70 | local _t = 1-t | |
| 71 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 72 | end | |
| 73 | ||
| 74 | function QuaternionFromCFrame(cf) | |
| 75 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 76 | local trace = m00 + m11 + m22 | |
| 77 | if trace > 0 then | |
| 78 | local s = math.sqrt(1 + trace) | |
| 79 | local recip = 0.5/s | |
| 80 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 81 | else | |
| 82 | local i = 0 | |
| 83 | if m11 > m00 then | |
| 84 | i = 1 | |
| 85 | end | |
| 86 | if m22 > (i == 0 and m00 or m11) then | |
| 87 | i = 2 | |
| 88 | end | |
| 89 | if i == 0 then | |
| 90 | local s = math.sqrt(m00-m11-m22+1) | |
| 91 | local recip = 0.5/s | |
| 92 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 93 | elseif i == 1 then | |
| 94 | local s = math.sqrt(m11-m22-m00+1) | |
| 95 | local recip = 0.5/s | |
| 96 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 97 | elseif i == 2 then | |
| 98 | local s = math.sqrt(m22-m00-m11+1) | |
| 99 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 100 | end | |
| 101 | end | |
| 102 | end | |
| 103 | ||
| 104 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 105 | local xs, ys, zs = x + x, y + y, z + z | |
| 106 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 107 | local xx = x*xs | |
| 108 | local xy = x*ys | |
| 109 | local xz = x*zs | |
| 110 | local yy = y*ys | |
| 111 | local yz = y*zs | |
| 112 | local zz = z*zs | |
| 113 | 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)) | |
| 114 | end | |
| 115 | ||
| 116 | function QuaternionSlerp(a, b, t) | |
| 117 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 118 | local startInterp, finishInterp; | |
| 119 | if cosTheta >= 0.0001 then | |
| 120 | if (1 - cosTheta) > 0.0001 then | |
| 121 | local theta = math.acos(cosTheta) | |
| 122 | local invSinTheta = 1/math.sin(theta) | |
| 123 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 124 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 125 | else | |
| 126 | startInterp = 1-t | |
| 127 | finishInterp = t | |
| 128 | end | |
| 129 | else | |
| 130 | if (1+cosTheta) > 0.0001 then | |
| 131 | local theta = math.acos(-cosTheta) | |
| 132 | local invSinTheta = 1/math.sin(theta) | |
| 133 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 134 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 135 | else | |
| 136 | startInterp = t-1 | |
| 137 | finishInterp = t | |
| 138 | end | |
| 139 | end | |
| 140 | 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 | |
| 141 | end | |
| 142 | ----------- | |
| 143 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 144 | wld = Instance.new("Weld", wp1)
| |
| 145 | wld.Part0 = wp0 | |
| 146 | wld.Part1 = wp1 | |
| 147 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 148 | return wld | |
| 149 | end | |
| 150 | ||
| 151 | larm.Size = larm.Size * 2 | |
| 152 | rarm.Size = rarm.Size * 2 | |
| 153 | lleg.Size = lleg.Size * 2 | |
| 154 | rleg.Size = rleg.Size * 2 | |
| 155 | torso.Size = torso.Size * 2 | |
| 156 | hed.Size = hed.Size * 2 | |
| 157 | root.Size = root.Size * 2 | |
| 158 | ---------------------------------------------------- | |
| 159 | newWeld(torso, larm, -3, 0.5, 0) | |
| 160 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 161 | newWeld(torso, rarm, 3, 0.5, 0) | |
| 162 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 163 | newWeld(torso, hed, 0, 1.5, 0) | |
| 164 | hed.Weld.C1 = CFrame.new(0, -1.5, 0) | |
| 165 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 166 | lleg.Weld.C1 = CFrame.new(.5, 3, 0) | |
| 167 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 168 | rleg.Weld.C1 = CFrame.new(-.5, 3, 0) | |
| 169 | newWeld(root, torso, 0, -1, 0) | |
| 170 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 171 | ||
| 172 | Player=game:GetService('Players').LocalPlayer
| |
| 173 | Character=Player.Character | |
| 174 | Mouse=Player:GetMouse() | |
| 175 | m=Instance.new('Model',Character)
| |
| 176 | ||
| 177 | local function weldBetween(a, b) | |
| 178 | local weldd = Instance.new("ManualWeld")
| |
| 179 | weldd.Part0 = a | |
| 180 | weldd.Part1 = b | |
| 181 | weldd.C0 = CFrame.new() | |
| 182 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 183 | weldd.Parent = a | |
| 184 | return weldd | |
| 185 | end | |
| 186 | ||
| 187 | it=Instance.new | |
| 188 | ||
| 189 | function nooutline(part) | |
| 190 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 191 | end | |
| 192 | ||
| 193 | function paart(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 194 | local fp=it("Part")
| |
| 195 | fp.formFactor=formfactor | |
| 196 | fp.Parent=parent | |
| 197 | fp.Reflectance=reflectance | |
| 198 | fp.Transparency=transparency | |
| 199 | fp.CanCollide=false | |
| 200 | fp.Locked=true | |
| 201 | fp.BrickColor=brickcolor | |
| 202 | fp.Name=name | |
| 203 | fp.Size=size | |
| 204 | fp.Position=torso.Position | |
| 205 | nooutline(fp) | |
| 206 | fp.Material="SmoothPlastic" | |
| 207 | fp:BreakJoints() | |
| 208 | return fp | |
| 209 | end | |
| 210 | ||
| 211 | ||
| 212 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 213 | local fp=it("Part")
| |
| 214 | fp.formFactor=formfactor | |
| 215 | fp.Parent=parent | |
| 216 | fp.Reflectance=reflectance | |
| 217 | fp.Transparency=transparency | |
| 218 | fp.CanCollide=false | |
| 219 | fp.Locked=true | |
| 220 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
| 221 | fp.Name=name | |
| 222 | fp.Size=size | |
| 223 | fp.Position=Character.Torso.Position | |
| 224 | nooutline(fp) | |
| 225 | fp.Material=material | |
| 226 | fp:BreakJoints() | |
| 227 | return fp | |
| 228 | end | |
| 229 | ||
| 230 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 231 | local mesh=it(Mesh) | |
| 232 | mesh.Parent=part | |
| 233 | if Mesh=="SpecialMesh" then | |
| 234 | mesh.MeshType=meshtype | |
| 235 | mesh.MeshId=meshid | |
| 236 | end | |
| 237 | mesh.Offset=offset | |
| 238 | mesh.Scale=scale | |
| 239 | return mesh | |
| 240 | end | |
| 241 | ||
| 242 | function weld(parent,part0,part1,c0,c1) | |
| 243 | local weld=it("Weld")
| |
| 244 | weld.Parent=parent | |
| 245 | weld.Part0=part0 | |
| 246 | weld.Part1=part1 | |
| 247 | weld.C0=c0 | |
| 248 | weld.C1=c1 | |
| 249 | return weld | |
| 250 | end | |
| 251 | ||
| 252 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 253 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 254 | end | |
| 255 | ||
| 256 | so = function(id,par,vol,pit) | |
| 257 | coroutine.resume(coroutine.create(function() | |
| 258 | local sou = Instance.new("Sound",par or workspace)
| |
| 259 | sou.Volume=vol | |
| 260 | sou.Pitch=pit or 1 | |
| 261 | sou.SoundId=id | |
| 262 | swait() | |
| 263 | sou:play() | |
| 264 | game:GetService("Debris"):AddItem(sou,6)
| |
| 265 | end)) | |
| 266 | end | |
| 267 | ||
| 268 | Face=hed.face | |
| 269 | ||
| 270 | function Cloak() | |
| 271 | --so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
| |
| 272 | Face.Parent=nil | |
| 273 | cloaked=true | |
| 274 | for _,v in pairs(torso.Parent:children()) do | |
| 275 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 276 | coroutine.resume(coroutine.create(function() | |
| 277 | for i=0,1,0.2 do | |
| 278 | wait() | |
| 279 | v.Transparency=i | |
| 280 | end | |
| 281 | v.Transparency=1 | |
| 282 | end)) | |
| 283 | end | |
| 284 | if v.className=="Hat" then | |
| 285 | hatp=v.Handle | |
| 286 | coroutine.resume(coroutine.create(function(derp) | |
| 287 | for i=0,1,0.2 do | |
| 288 | wait() | |
| 289 | derp.Transparency=i | |
| 290 | end | |
| 291 | derp.Transparency=1 | |
| 292 | end),hatp) | |
| 293 | end | |
| 294 | end | |
| 295 | for _,v in pairs(m:children()) do | |
| 296 | if v.className=="Part" then | |
| 297 | coroutine.resume(coroutine.create(function() | |
| 298 | for i=0,1,0.2 do | |
| 299 | wait() | |
| 300 | v.Transparency=i | |
| 301 | end | |
| 302 | v.Transparency=1 | |
| 303 | end)) | |
| 304 | end | |
| 305 | end | |
| 306 | end | |
| 307 | magix=true | |
| 308 | function UnCloak() | |
| 309 | --so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
| |
| 310 | Face.Parent=hed | |
| 311 | cloaked=false | |
| 312 | for _,v in pairs(torso.Parent:children()) do | |
| 313 | if v.className=="Part" and v.Name~="HumanoidRootPart" then | |
| 314 | coroutine.resume(coroutine.create(function() | |
| 315 | for i=0,1,0.1 do | |
| 316 | wait() | |
| 317 | v.Transparency=v.Transparency-0.1 | |
| 318 | end | |
| 319 | v.Transparency=0 | |
| 320 | end)) | |
| 321 | end | |
| 322 | --[[if v.className~="Hat" then | |
| 323 | hatp=v.Handle | |
| 324 | coroutine.resume(coroutine.create(function(derp) | |
| 325 | for i=0,1,0.1 do | |
| 326 | wait() | |
| 327 | derp.Transparency=derp.Transparency-0.1 | |
| 328 | end | |
| 329 | derp.Transparency=0 | |
| 330 | end),hatp) | |
| 331 | end]] | |
| 332 | end | |
| 333 | if magix==false then | |
| 334 | for _,v in pairs(m:children()) do | |
| 335 | if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' and v.Name~='hat' then | |
| 336 | coroutine.resume(coroutine.create(function() | |
| 337 | for i=0,1,0.1 do | |
| 338 | wait() | |
| 339 | v.Transparency=v.Transparency-0.1 | |
| 340 | end | |
| 341 | v.Transparency=0 | |
| 342 | end)) | |
| 343 | v.Transparency=0 | |
| 344 | end | |
| 345 | end | |
| 346 | else | |
| 347 | for _,v in pairs(m:children()) do | |
| 348 | if v.className=="Part" and v.ClassName~='Weld' and v.Name~="hitbox" and v.Name~='tip' and v.Name~='hat'then | |
| 349 | coroutine.resume(coroutine.create(function() | |
| 350 | for i=0,1,0.1 do | |
| 351 | wait() | |
| 352 | v.Transparency=v.Transparency-0.1 | |
| 353 | end | |
| 354 | v.Transparency=0 | |
| 355 | end)) | |
| 356 | v.Transparency=0 | |
| 357 | end | |
| 358 | end | |
| 359 | end | |
| 360 | end | |
| 361 | ||
| 362 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
| 363 | if hit.Parent==nil then | |
| 364 | return | |
| 365 | end | |
| 366 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 367 | for _,v in pairs(hit.Parent:children()) do | |
| 368 | if v:IsA("Humanoid") then
| |
| 369 | h=v | |
| 370 | end | |
| 371 | end | |
| 372 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
| |
| 373 | h=hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 374 | end | |
| 375 | if hit.Parent.className=="Hat" then | |
| 376 | hit=hit.Parent.Parent:findFirstChild("Head")
| |
| 377 | end | |
| 378 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 379 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
| |
| 380 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 381 | return | |
| 382 | end]] | |
| 383 | -- hs(hit,1.2) | |
| 384 | c=Instance.new("ObjectValue")
| |
| 385 | c.Name="creator" | |
| 386 | c.Value=game:service("Players").LocalPlayer
| |
| 387 | c.Parent=h | |
| 388 | game:GetService("Debris"):AddItem(c,.5)
| |
| 389 | Damage=math.random(minim,maxim) | |
| 390 | -- h:TakeDamage(Damage) | |
| 391 | blocked=false | |
| 392 | block=hit.Parent:findFirstChild("Block")
| |
| 393 | if block~=nil then | |
| 394 | print(block.className) | |
| 395 | if block.className=="NumberValue" then | |
| 396 | if block.Value>0 then | |
| 397 | blocked=true | |
| 398 | if decreaseblock==nil then | |
| 399 | block.Value=block.Value-1 | |
| 400 | end | |
| 401 | end | |
| 402 | end | |
| 403 | if block.className=="IntValue" then | |
| 404 | if block.Value>0 then | |
| 405 | blocked=true | |
| 406 | if decreaseblock~=nil then | |
| 407 | block.Value=block.Value-1 | |
| 408 | end | |
| 409 | end | |
| 410 | end | |
| 411 | end | |
| 412 | if blocked==false then | |
| 413 | -- h:TakeDamage(Damage) | |
| 414 | h.Health=h.Health-Damage | |
| 415 | showDamage(hit.Parent,Damage,.5,BrickColor.new("Dark stone grey"))
| |
| 416 | else | |
| 417 | h.Health=h.Health-(Damage/2) | |
| 418 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
| |
| 419 | end | |
| 420 | if Type=="Knockdown" then | |
| 421 | hum=hit.Parent.Humanoid | |
| 422 | hum.PlatformStand=true | |
| 423 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 424 | swait(1) | |
| 425 | HHumanoid.PlatformStand=false | |
| 426 | end),hum) | |
| 427 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 428 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 429 | local bodvol=Instance.new("BodyVelocity")
| |
| 430 | bodvol.velocity=angle*knockback | |
| 431 | bodvol.P=5000 | |
| 432 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 433 | bodvol.Parent=hit | |
| 434 | rl=Instance.new("BodyAngularVelocity")
| |
| 435 | rl.P=3000 | |
| 436 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 437 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 438 | rl.Parent=hit | |
| 439 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 440 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 441 | elseif Type=="Normal" then | |
| 442 | vp=Instance.new("BodyVelocity")
| |
| 443 | vp.P=500 | |
| 444 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 445 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 446 | if KnockbackType==1 then | |
| 447 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 448 | elseif KnockbackType==2 then | |
| 449 | vp.velocity=Property.CFrame.lookVector*knockback | |
| 450 | end | |
| 451 | if knockback>0 then | |
| 452 | vp.Parent=hit.Parent.Torso | |
| 453 | end | |
| 454 | game:GetService("Debris"):AddItem(vp,.5)
| |
| 455 | elseif Type=="Up" then | |
| 456 | local bodyVelocity=Instance.new("BodyVelocity")
| |
| 457 | bodyVelocity.velocity=vt(0,60,0) | |
| 458 | bodyVelocity.P=5000 | |
| 459 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 460 | bodyVelocity.Parent=hit | |
| 461 | game:GetService("Debris"):AddItem(bodyVelocity,1)
| |
| 462 | rl=Instance.new("BodyAngularVelocity")
| |
| 463 | rl.P=3000 | |
| 464 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 465 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
| 466 | rl.Parent=hit | |
| 467 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 468 | elseif Type=="Snare" then | |
| 469 | bp=Instance.new("BodyPosition")
| |
| 470 | bp.P=2000 | |
| 471 | bp.D=100 | |
| 472 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 473 | bp.position=hit.Parent.Torso.Position | |
| 474 | bp.Parent=hit.Parent.Torso | |
| 475 | game:GetService("Debris"):AddItem(bp,1)
| |
| 476 | elseif Type=="Target" then | |
| 477 | if Targetting==false then | |
| 478 | ZTarget=hit.Parent.Torso | |
| 479 | coroutine.resume(coroutine.create(function(Part) | |
| 480 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 481 | swait(5) | |
| 482 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 483 | end),ZTarget) | |
| 484 | TargHum=ZTarget.Parent:findFirstChild("Humanoid")
| |
| 485 | targetgui=Instance.new("BillboardGui")
| |
| 486 | targetgui.Parent=ZTarget | |
| 487 | targetgui.Size=UDim2.new(10,100,10,100) | |
| 488 | targ=Instance.new("ImageLabel")
| |
| 489 | targ.Parent=targetgui | |
| 490 | targ.BackgroundTransparency=1 | |
| 491 | targ.Image="rbxassetid://4834067" | |
| 492 | targ.Size=UDim2.new(1,0,1,0) | |
| 493 | cam.CameraType="Scriptable" | |
| 494 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 495 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 496 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 497 | Targetting=true | |
| 498 | RocketTarget=ZTarget | |
| 499 | for i=1,Property do | |
| 500 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 501 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 502 | swait() | |
| 503 | end | |
| 504 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
| 505 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 506 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 507 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 508 | end | |
| 509 | Targetting=false | |
| 510 | RocketTarget=nil | |
| 511 | targetgui.Parent=nil | |
| 512 | cam.CameraType="Custom" | |
| 513 | end | |
| 514 | end | |
| 515 | debounce=Instance.new("BoolValue")
| |
| 516 | debounce.Name="DebounceHit" | |
| 517 | debounce.Parent=hit.Parent | |
| 518 | debounce.Value=true | |
| 519 | game:GetService("Debris"):AddItem(debounce,Delay)
| |
| 520 | c=Instance.new("ObjectValue")
| |
| 521 | c.Name="creator" | |
| 522 | c.Value=Player | |
| 523 | c.Parent=h | |
| 524 | game:GetService("Debris"):AddItem(c,.5)
| |
| 525 | CRIT=false | |
| 526 | hitDeb=true | |
| 527 | AttackPos=6 | |
| 528 | end | |
| 529 | end | |
| 530 | ||
| 531 | showDamage=function(Char,Dealt,du,Color) | |
| 532 | m=Instance.new("Model")
| |
| 533 | m.Name=tostring(Dealt) | |
| 534 | h=Instance.new("Humanoid")
| |
| 535 | h.Health=0 | |
| 536 | h.MaxHealth=0 | |
| 537 | h.Parent=m | |
| 538 | c=Instance.new("Part")
| |
| 539 | c.Transparency=0 | |
| 540 | c.BrickColor=Color | |
| 541 | c.Name="Head" | |
| 542 | c.TopSurface=0 | |
| 543 | c.BottomSurface=0 | |
| 544 | c.formFactor="Plate" | |
| 545 | c.Size=Vector3.new(1,.4,1) | |
| 546 | ms=Instance.new("CylinderMesh")
| |
| 547 | ms.Scale=Vector3.new(.8,.8,.8) | |
| 548 | if CRIT==true then | |
| 549 | ms.Scale=Vector3.new(1,1.25,1) | |
| 550 | end | |
| 551 | ms.Parent=c | |
| 552 | c.Reflectance=0 | |
| 553 | Instance.new("BodyGyro").Parent=c
| |
| 554 | c.Parent=m | |
| 555 | if Char:findFirstChild("Head")~=nil then
| |
| 556 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 557 | elseif Char.Parent:findFirstChild("Head")~=nil then
| |
| 558 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 559 | end | |
| 560 | f=Instance.new("BodyPosition")
| |
| 561 | f.P=2000 | |
| 562 | f.D=100 | |
| 563 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 564 | f.position=c.Position+Vector3.new(0,3,0) | |
| 565 | f.Parent=c | |
| 566 | game:GetService("Debris"):AddItem(m,.5+du)
| |
| 567 | c.CanCollide=false | |
| 568 | m.Parent=workspace | |
| 569 | c.CanCollide=false | |
| 570 | end | |
| 571 | ||
| 572 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Deep orange","Handle",Vector3.new(0.599999905, 4, 0.400000036)) | |
| 573 | handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.01841354, -0.0695610046, 0.049372673, -6.61965621e-012, -0.999999523, -1.12313298e-010, 0.00563658308, 1.10681131e-010, -0.999983788, 0.999983311, -8.65419195e-012, 0.00563658029)) | |
| 574 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 0.799999833, 0.400000036)) | |
| 575 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.30133295, -4.59958267, 8.10623169e-006, 0.999997258, -4.70680717e-011, -3.91951055e-012, 5.03742811e-011, 1, -1.05605516e-011, 6.73187634e-012, 1.17550084e-011, 0.999997258)) | |
| 576 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.599999905, 4.4000001, 0.200000003)) | |
| 577 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.30089998, -5.9995594, -1.09672546e-005, 0.999996305, -3.48216178e-011, -1.62637629e-011, 3.83456322e-011, 1, -4.63629656e-012, 1.90928835e-011, 5.8306901e-012, 0.999996305)) | |
| 578 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.200000003, 0.200000003)) | |
| 579 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.19480896e-005, -5.09960365, 1.30145025, 1.05312156e-005, 8.7171511e-006, -0.99998951, 1.7453418e-005, 1.00000608, 8.67240487e-006, 0.999999523, -1.97484223e-005, 1.04995552e-005)) | |
| 580 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 581 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 1.20000005, 0.200000003)) | |
| 582 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.70081615, -7.59955597, -3.81469727e-006, 0.999984145, -2.66020192e-011, -1.43523457e-011, 3.47976994e-011, 0.999999881, -4.03995587e-012, 2.00987699e-011, 6.42852438e-012, 0.999984264)) | |
| 583 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 584 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.71661377e-005, 3.69953728, 1.5010314, -8.34466391e-006, -8.76185368e-006, 0.99998939, -3.13209239e-005, -1.00000584, -8.67240215e-006, 0.999999523, -3.36160047e-005, 8.31290799e-006)) | |
| 585 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 586 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.600000381, 0.200000003)) | |
| 587 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.30089188, -3.49957085, -2.86102295e-006, 0.999989867, -3.57171584e-011, -1.50535487e-011, 4.31028546e-011, 1, -4.03874503e-012, 2.07377258e-011, 6.42744365e-012, 0.999989867)) | |
| 588 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 589 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09908223, -3.49954987, -9.01222229e-005, 0.999987006, -1.91744329e-011, -1.37810397e-011, 3.06906514e-011, 1, -4.03930535e-012, 1.97828975e-011, 6.42799182e-012, 0.999987006)) | |
| 590 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1, 0.599999726, 0.400000036)) | |
| 591 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.70132542, -8.4995842, 5.24520874e-006, 0.999993086, -4.43888051e-011, -2.43437388e-012, 4.98436153e-011, 1, -9.96337388e-012, 6.69102967e-012, 1.1754959e-011, 0.999993086)) | |
| 592 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1.39999998, 0.399999917, 0.600000024)) | |
| 593 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100895882, -2.19955063, 9.53674316e-007, 0.999992609, -3.44739653e-011, -1.49579567e-011, 4.15219734e-011, 1, -4.03871207e-012, 2.06161754e-011, 6.42749222e-012, 0.999992609)) | |
| 594 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.599999905, 0.599999905, 0.400000036)) | |
| 595 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0997242928, -1.50003433, 4.76837158e-007, 0.999986172, 2.41444642e-011, 2.85323978e-012, -1.32283698e-011, 1, -1.71489559e-013, 5.65950715e-012, 3.75693227e-012, 0.999986172)) | |
| 596 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.599999905, 0.200000003, 0.400000036)) | |
| 597 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999045372, -1.90000916, 9.53674316e-007, 0.999992609, -1.09000656e-011, -1.43775027e-011, 1.79482471e-011, 1, -1.47436403e-012, 2.00357196e-011, 3.8631251e-012, 0.999992609)) | |
| 598 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.600000024, 0.799999952)) | |
| 599 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.7220459e-005, 7.89964485, 1.80142498, -8.7530334e-006, -8.68735151e-006, 0.999989688, -5.80388769e-006, -1.00000608, -8.74690795e-006, 0.999999523, -8.09880021e-006, 8.72149394e-006)) | |
| 600 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 601 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.600000024, 0.600000024, 0.200000003)) | |
| 602 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.04904175e-005, -2.89971924, 1.70256662, 6.8837162e-006, 8.72622059e-006, -0.999989986, -6.28802127e-006, 1.00000644, 8.69458381e-006, 0.999999523, 3.99320834e-006, 6.85229907e-006)) | |
| 603 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 604 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.599999905, 0.200000003, 0.400000036)) | |
| 605 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0997610092, -1.10003662, 4.76837158e-007, 0.999986172, 2.3436475e-011, 3.80554746e-012, -1.25203806e-011, 1, -6.22770932e-013, 4.70720034e-012, 4.20822058e-012, 0.999986172)) | |
| 606 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 607 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09909248, -3.89955139, -8.39233398e-005, 0.999991059, -2.07311043e-011, -1.39008249e-011, 2.9134084e-011, 1, -4.03928453e-012, 1.96632485e-011, 6.42804039e-012, 0.999991059)) | |
| 608 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.600000024, 0.600000024, 0.200000003)) | |
| 609 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.43051147e-005, -2.89971542, 1.4974215, -6.88429463e-006, 8.7262697e-006, 0.999989986, 6.28824864e-006, 1.00000644, -8.6946302e-006, -0.999999404, 3.99342571e-006, -6.80979338e-006)) | |
| 610 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 611 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.200000003, 0.200000003)) | |
| 612 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.38690186e-005, -6.49961472, 1.30147791, 1.05312156e-005, 8.7171511e-006, -0.99998951, 1.7453418e-005, 1.00000608, 8.67240487e-006, 0.999999523, -1.97484223e-005, 1.04995552e-005)) | |
| 613 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 614 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.400000036, 1.60000002)) | |
| 615 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.91549683e-005, -9.39964676, 0.401554585, 1.08461672e-005, 8.73205954e-006, -0.99998945, 1.98187317e-005, 1.00000608, 8.67240396e-006, 0.999999523, -2.21137525e-005, 1.08144795e-005)) | |
| 616 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 617 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 0.799999833, 0.400000036)) | |
| 618 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.30132532, -5.99957848, 8.10623169e-006, 0.999991179, -4.51590224e-011, -2.4936303e-012, 5.22830321e-011, 1, -9.96334352e-012, 8.15769154e-012, 1.23521532e-011, 0.999991179)) | |
| 619 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.600000024, 0.200000003)) | |
| 620 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.7179718e-005, 2.89961815, 0.698666811, 8.67242125e-006, 5.76516186e-006, -0.99998945, 4.75738125e-006, -1.00000608, -5.82467419e-006, -0.999999285, -2.46256491e-006, -8.73203044e-006)) | |
| 621 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 622 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.400000036, 0.99999994)) | |
| 623 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.48498535e-005, -8.99962234, 1.70155716, 1.08461672e-005, 8.73205954e-006, -0.99998945, 1.98187317e-005, 1.00000608, 8.67240396e-006, 0.999999523, -2.21137525e-005, 1.08144795e-005)) | |
| 624 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 625 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.200000003, 0.200000003)) | |
| 626 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.95910645e-005, 6.89964104, 1.30140543, -8.7530334e-006, -8.68735151e-006, 0.999989688, -5.80388769e-006, -1.00000608, -8.74690795e-006, 0.999999523, -8.09880021e-006, 8.72149394e-006)) | |
| 627 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 628 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.600000024, 0.600000024, 0.200000003)) | |
| 629 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.28746033e-005, 2.29969978, 1.49744749, 4.58953173e-006, -8.76190825e-006, -0.999989688, 3.95497409e-006, -1.00000656, 8.64263984e-006, -0.999999523, -6.24984796e-006, -4.64914001e-006)) | |
| 630 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 631 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.599999964, 0.599999905, 0.600000024)) | |
| 632 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.101387024, 2.29981613, 9.53674316e-007, 0.999986172, -2.03466965e-011, -3.78346451e-011, 3.12565737e-011, 1, 9.68086201e-012, 4.63478943e-011, -6.09796068e-012, 0.999986172)) | |
| 633 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003)) | |
| 634 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.01292133, 2.36062241, -0.199992657, 0.965919137, -0.258819193, 9.68770486e-009, 0.258817405, 0.965925813, -7.3579848e-008, 9.69177893e-009, 7.35824557e-008, 0.999993086)) | |
| 635 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.200000003, 0.200000003)) | |
| 636 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.86238098e-005, 5.4995842, 1.30153465, -8.34466391e-006, -8.76185368e-006, 0.99998939, -3.13209239e-005, -1.00000584, -8.67240215e-006, 0.999999523, -3.36160047e-005, 8.31290799e-006)) | |
| 637 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 638 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.600000024, 0.600000024, 0.200000003)) | |
| 639 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.00135803e-005, 2.29969788, 1.70259237, -4.63829838e-006, -8.76185914e-006, 0.999989808, -3.95520055e-006, -1.00000656, -8.64259528e-006, 0.999999523, -6.25006533e-006, 4.60681576e-006)) | |
| 640 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 641 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.599999905, 0.799999893, 0.400000036)) | |
| 642 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998063087, -0.600069046, 4.76837158e-007, 0.999986172, 2.84053614e-011, 8.71606606e-012, -1.74948181e-011, 1, 8.56011442e-013, -2.0281346e-013, 2.72700959e-012, 0.999986172)) | |
| 643 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.599999905, 0.200000003, 0.400000036)) | |
| 644 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100811958, 1.89962769, -9.53674316e-007, 0.999986172, 2.43582932e-013, -2.16690259e-011, 1.06665718e-011, 1, 8.84393427e-012, 3.01822768e-011, -5.26102599e-012, 0.999986172)) | |
| 645 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 1.19999981, 0.400000036)) | |
| 646 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.30133152, -7.59958649, 4.29153442e-006, 0.999991536, -4.51809631e-011, -2.49531992e-012, 5.22611329e-011, 1, -9.96334352e-012, 8.15601059e-012, 1.23521523e-011, 0.999991536)) | |
| 647 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.600000024, 0.400000006)) | |
| 648 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.71661377e-005, 2.89961624, 1.00137615, -8.7530334e-006, -8.68735151e-006, 0.999989688, -5.80388769e-006, -1.00000608, -8.74690795e-006, 0.999999523, -8.09880021e-006, 8.72149394e-006)) | |
| 649 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 650 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.399999976, 6, 0.400000036)) | |
| 651 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.00134325, -6.19958878, -6.67572021e-006, 0.999990463, -4.44280446e-011, -2.43740444e-012, 5.16362716e-011, 1, -9.96334352e-012, 8.1079362e-012, 1.23521419e-011, 0.999990463)) | |
| 652 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.599999905, 0.400000036, 0.400000036)) | |
| 653 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998740196, -6.10351563e-005, 4.76837158e-007, 0.999986172, 3.25150462e-011, 1.47778543e-011, -2.16044196e-011, 1, 1.79467205e-012, -6.26460082e-012, 1.78833684e-012, 0.999986172)) | |
| 654 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.599999905, 0.599999905, 0.400000036)) | |
| 655 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100226402, -1.49966812, -4.76837158e-007, -0.999986172, -5.96395537e-008, -9.93794487e-008, 5.96278227e-008, -1, 3.80804792e-008, -9.93709364e-008, 3.8084579e-008, 0.999986172)) | |
| 656 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003)) | |
| 657 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.01291943, 2.36062241, -0.200006008, -0.965919256, 0.258818418, 5.95878689e-008, 0.25881663, 0.965926111, -5.57539693e-007, -1.63906265e-007, -5.51367407e-007, -0.999992788)) | |
| 658 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.599999905, 0.200000003, 0.400000036)) | |
| 659 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.10008812, 1.09988785, 0, 0.999986172, 3.17495474e-011, 2.19618039e-011, -2.08440973e-011, 1, 1.6464434e-012, -1.34490544e-011, 1.93546047e-012, 0.999986172)) | |
| 660 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.599999905, 0.799999893, 0.400000036)) | |
| 661 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0999064445, -0.599903107, 4.76837158e-007, -0.999986172, -5.964894e-008, -9.93747662e-008, 5.96372018e-008, -1, 3.80745568e-008, -9.93662539e-008, 3.80786567e-008, 0.999986172)) | |
| 662 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003)) | |
| 663 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19833279, 2.3109436, -0.200005054, -0.965918899, -0.258819193, -1.34113861e-007, -0.258817405, 0.965925813, 7.44806314e-008, -5.95990883e-008, 7.35335561e-008, -0.999992788)) | |
| 664 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003)) | |
| 665 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.19833183, 2.3109417, -0.19999361, 0.965919197, 0.258818418, -1.63907302e-007, -0.25881657, 0.965926111, 5.66216784e-007, 1.63906265e-007, -5.51318522e-007, 0.99999249)) | |
| 666 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 667 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.14440918e-005, -3.29951477, 1.50105858, 9.89090768e-006, 8.76185186e-006, -0.999989271, 4.36100818e-005, 1.0000056, 8.61280023e-006, 0.999999523, -4.59052462e-005, 9.8590308e-006)) | |
| 668 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 669 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 0.400000006, 0.200000003)) | |
| 670 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.9038372, -1.75626755, -0.199999332, 0.866019428, 0.5, 2.20907594e-008, -0.499996543, 0.866025388, 6.89347033e-008, 1.53416728e-008, -7.07429137e-008, 0.999993086)) | |
| 671 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
| 672 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.76837158e-005, 6.89955902, 1.70114231, -8.34466391e-006, -8.76185368e-006, 0.99998939, -3.13209239e-005, -1.00000584, -8.67240215e-006, 0.999999523, -3.36160047e-005, 8.31290799e-006)) | |
| 673 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 674 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.600000024, 0.400000036)) | |
| 675 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.38825989e-005, 7.89956093, 2.00117016, -8.34466391e-006, -8.76185368e-006, 0.99998939, -3.13209239e-005, -1.00000584, -8.67240215e-006, 0.999999523, -3.36160047e-005, 8.31290799e-006)) | |
| 676 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 677 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.200000003, 0.200000003)) | |
| 678 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.67028809e-005, 4.09958076, 1.30148745, -8.34466391e-006, -8.76185368e-006, 0.99998939, -3.13209239e-005, -1.00000584, -8.67240215e-006, 0.999999523, -3.36160047e-005, 8.31290799e-006)) | |
| 679 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 680 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 0.400000006, 0.200000003)) | |
| 681 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.12790108, 1.62690544, 0.20000124, -0.866019249, 0.499999821, -1.69992358e-008, -0.499996364, -0.866025209, -2.86735276e-008, -2.9053e-008, -1.6330004e-008, 0.999993086)) | |
| 682 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 683 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09910226, -5.09955788, -8.01086426e-005, 0.999987483, -2.38258649e-011, -1.41388229e-011, 3.50124374e-011, 1, -4.03923769e-012, 2.01153399e-011, 6.42793284e-012, 0.999987483)) | |
| 684 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.400000006, 1.19999897, 0.200000003)) | |
| 685 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.04989433, -5.45730114, -0.000123023987, 0.707099319, 0.707106709, -8.23653536e-008, -0.707099319, 0.70710665, -2.31702231e-007, -1.05590843e-007, 2.22084282e-007, 0.99998951)) | |
| 686 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.400000006, 1.19999897, 0.200000003)) | |
| 687 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.48420525, -4.89161015, -0.00012254715, 0.707099319, 0.707106709, -8.23653536e-008, -0.707099319, 0.70710665, -2.31702231e-007, -1.05590843e-007, 2.22084282e-007, 0.99998951)) | |
| 688 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033)) | |
| 689 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.19888306e-005, 5.09964371, -1.49892831, -8.34466391e-006, -8.76185368e-006, 0.99998939, -3.13209239e-005, -1.00000584, -8.67240215e-006, 0.999999523, -3.36160047e-005, 8.31290799e-006)) | |
| 690 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 691 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 0.600000024, 0.599999905)) | |
| 692 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.87052917e-005, -8.89964485, 1.89849019, -5.72201225e-006, -9.39299207e-006, 0.999992847, 1.73207645e-005, 1, 9.39303209e-006, -0.999992847, 1.73209264e-005, -5.72201634e-006)) | |
| 693 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 694 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000036, 2, 0.599999905)) | |
| 695 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.91549683e-005, 6.39963531, 1.89852977, 5.86456508e-006, 9.387707e-006, -0.999992728, -1.7509652e-005, -0.99999994, -9.41744565e-006, -0.999992847, 1.75098194e-005, -5.86456827e-006)) | |
| 696 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 697 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 1.79999936, 0.200000003)) | |
| 698 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.499084, -6.09956169, -9.48905945e-005, 0.999993086, 1.35347566e-011, -1.1265381e-011, -6.65070082e-012, 1, -4.03978587e-012, 1.69109015e-011, 6.42856775e-012, 0.999993086)) | |
| 699 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.400000036, 0.200000003)) | |
| 700 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.23977661e-005, -10.9995041, -2.09947681, 3.68056726e-006, 3.36381646e-007, -0.999992192, -3.51401286e-005, 0.999999642, 3.36363996e-007, 0.999992669, 3.51403614e-005, 3.30804482e-006)) | |
| 701 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 702 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.400000036, 1.59999931, 0.200000003)) | |
| 703 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.79906392, -6.19955444, -9.96589661e-005, 0.999991298, 2.46519472e-011, -1.04103436e-011, -1.63584216e-011, 1, -4.03994893e-012, 1.61643164e-011, 6.42870653e-012, 0.999991298)) | |
| 704 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.400000036, 0.400000036)) | |
| 705 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.00135803e-005, -10.9994926, 2.39945531, -3.53155679e-006, 2.44306165e-007, 0.999992251, -3.32144991e-005, 0.999999642, -2.44311622e-007, -0.999992728, -3.3214721e-005, -3.35274808e-006)) | |
| 706 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 707 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.400000036, 0.200000003)) | |
| 708 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.09912157, -4.79956436, -0.000121116638, 0.999993086, 1.26183786e-010, -2.60250935e-012, -1.1929896e-010, 1, -4.04142345e-012, 8.24803073e-012, 6.43021227e-012, 0.999993086)) | |
| 709 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.600000024, 0.600000024)) | |
| 710 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-006, -10.4996262, -1.6987474, 3.60606191e-006, 2.44256199e-007, -0.99999249, 3.3214732e-005, 0.999999642, 2.44265465e-007, 0.999992967, -3.32149393e-005, 3.47195646e-006)) | |
| 711 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 712 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.400000006, 0.200000003)) | |
| 713 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.96046448e-005, 4.7996521, -1.89894223, -8.34466391e-006, -8.76185368e-006, 0.99998939, -3.13209239e-005, -1.00000584, -8.67240215e-006, 0.999999523, -3.36160047e-005, 8.31290799e-006)) | |
| 714 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 715 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.400000006, 1.19999897, 0.200000003)) | |
| 716 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.91851616, -4.32592297, -0.00012254715, 0.707099319, 0.707106709, -8.23653536e-008, -0.707099319, 0.70710665, -2.31702231e-007, -1.05590843e-007, 2.22084282e-007, 0.99998951)) | |
| 717 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.399999946, 1.19999993, 0.600000024)) | |
| 718 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.4025631, -2.59968758, 9.53674316e-007, 0.999993086, -9.9128844e-011, -1.20540383e-012, 1.06011581e-010, 1, -1.68229337e-011, 6.85092521e-012, 1.9211811e-011, 0.999993086)) | |
| 719 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 0.400000006, 0.200000003)) | |
| 720 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.9038372, -1.75626755, 0.200001717, 0.866019428, 0.5, 2.20907594e-008, -0.499996543, 0.866025388, 6.89347033e-008, 1.53416728e-008, -7.07429137e-008, 0.999993086)) | |
| 721 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.399999946, 1.19999993, 0.600000024)) | |
| 722 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.1974349, -2.59968758, 4.29153442e-006, 0.999993086, -9.9128844e-011, -1.20540383e-012, 1.06011581e-010, 1, -1.68229337e-011, 6.85092521e-012, 1.9211811e-011, 0.999993086)) | |
| 723 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1.39999998, 6.80000019, 0.400000036)) | |
| 724 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.101338387, -5.79958153, 9.53674316e-007, 0.999993086, -4.38584238e-011, -2.39358793e-012, 5.07595632e-011, 1, -9.96334352e-012, 8.04051704e-012, 1.23521731e-011, 0.999993086)) | |
| 725 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 0.400000006, 0.200000003)) | |
| 726 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.12790108, 1.62690544, -0.199999809, -0.866019249, 0.499999821, -1.69992358e-008, -0.499996364, -0.866025209, -2.86735276e-008, -2.9053e-008, -1.6330004e-008, 0.999993086)) | |
| 727 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.600000024, 0.200000003, 0.200000003)) | |
| 728 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.29908991, -5.29955864, -9.48905945e-005, 0.999992967, -1.50723739e-011, -1.34655958e-011, 2.20103449e-011, 1, -4.03936953e-012, 1.91153447e-011, 6.42815662e-012, 0.999992967)) | |
| 729 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.600000024, 2.19999957, 0.200000003)) | |
| 730 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.69905233, -8.09956741, -0.000144004822, 0.999984145, 7.53328372e-011, -6.51274347e-012, -6.14701554e-011, 1, -4.04064282e-012, 1.26948833e-011, 6.42926684e-012, 0.999984145)) | |
| 731 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.600000024, 0.400000006, 0.200000003)) | |
| 732 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.89917946, -5.19956207, -0.000117778778, 0.999993086, 7.67240438e-011, -6.40572491e-012, -6.98395716e-011, 1, -4.0407018e-012, 1.20512472e-011, 6.42949062e-012, 0.999993086)) | |
| 733 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 734 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09908175, -4.69955444, -8.48770142e-005, 0.99998343, -2.22875329e-011, -1.40204497e-011, 3.65506583e-011, 1, -4.03926025e-012, 2.02335718e-011, 6.42788253e-012, 0.99998343)) | |
| 735 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 5.99999952, 0.400000036)) | |
| 736 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.698655128, -6.19958878, 9.53674316e-007, 0.999992967, -4.52522048e-011, -2.50079731e-012, 5.21899399e-011, 1, -9.96334352e-012, 8.15054448e-012, 1.23521748e-011, 0.999992967)) | |
| 737 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.800000012, 1.9999994, 0.400000036)) | |
| 738 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19864798, -6.39957619, -2.86102295e-006, 0.999991298, -4.45745801e-011, -2.44867581e-012, 5.28674882e-011, 1, -9.96334439e-012, 8.20264776e-012, 1.23521532e-011, 0.999991298)) | |
| 739 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000006, 0.400000036, 1.20000005)) | |
| 740 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.96318054e-005, -9.39966965, 0.998550892, -1.08777776e-005, -7.21227707e-006, 0.999989271, 9.29348153e-006, 1.00000608, 7.15253782e-006, -0.999999166, 1.15884122e-005, -1.07585738e-005)) | |
| 741 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 742 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.599999964, 1.19999933, 0.200000003)) | |
| 743 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.0990684, -7.9995575, -7.05718994e-005, 0.999991298, -2.50895554e-011, -1.42360785e-011, 3.33826369e-011, 1, -4.03921861e-012, 1.99900495e-011, 6.42797447e-012, 0.999991298)) | |
| 744 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.800000072)) | |
| 745 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.33650208e-005, 5.29961014, 1.19855571, 1.23440404e-005, 2.14574197e-006, -0.999993086, -1.86938523e-005, -1, -2.1457347e-006, -0.999993086, 1.86940015e-005, -1.2344005e-005)) | |
| 746 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 747 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.400000006, 0.400000036)) | |
| 748 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09672546e-005, 5.19964027, 2.39893103, 3.17393119e-006, -1.63585497e-007, -0.999993086, -3.0609368e-005, -1, 1.6348109e-007, -0.999993086, 3.06095644e-005, -3.17393528e-006)) | |
| 749 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 750 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.600000024, 0.999999404, 0.200000003)) | |
| 751 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.69905472, -9.69956017, -0.000102043152, 0.999984622, 2.09521081e-011, -1.06948044e-011, -7.5663989e-012, 1, -4.03988301e-012, 1.68403312e-011, 6.42852958e-012, 0.999984622)) | |
| 752 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.800000012, 0.599999428, 0.400000036)) | |
| 753 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19864798, -8.89958382, -6.67572021e-006, 0.999991298, -3.65172059e-011, -1.82889121e-012, 4.48101695e-011, 1, -9.96338515e-012, 7.58286576e-012, 1.23521896e-011, 0.999991298)) | |
| 754 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.800000072)) | |
| 755 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.38961792e-005, -7.49964714, 1.19857502, -1.08777776e-005, -7.21227707e-006, 0.999989271, 9.29348153e-006, 1.00000608, 7.15253782e-006, -0.999999166, 1.15884122e-005, -1.07585738e-005)) | |
| 756 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
| |
| 757 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.600000024, 5.39999914, 0.200000003)) | |
| 758 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.29888916, -8.09955788, -0.000128746033, 0.999993086, 6.4361072e-011, -7.35652685e-012, -5.74766831e-011, 1, -4.04054221e-012, 1.30020491e-011, 6.42933103e-012, 0.999993086)) | |
| 759 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
| 760 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09908271, -4.29955292, -8.4400177e-005, 0.99998343, -2.23058447e-011, -1.40218583e-011, 3.65323466e-011, 1, -4.03926025e-012, 2.02321632e-011, 6.42788253e-012, 0.99998343)) | |
| 761 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.200000003, 2.19999933, 0.200000003)) | |
| 762 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.899097919, -4.29956627, -7.58171082e-005, 0.999991298, -2.52726728e-011, -1.42501609e-011, 3.35657405e-011, 1, -4.03921688e-012, 2.00041355e-011, 6.42797794e-012, 0.999991298)) | |
| 763 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","Part",Vector3.new(0.400000006, 1.19999897, 0.200000003)) | |
| 764 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.35282898, -3.76023579, -0.00012254715, 0.707099319, 0.707106709, -8.23653536e-008, -0.707099319, 0.70710665, -2.31702231e-007, -1.05590843e-007, 2.22084282e-007, 0.99998951)) | |
| 765 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1.39999998, 6.80000019, 0.400000036)) | |
| 766 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.101338387, -5.79958153, 9.53674316e-007, 0.999993086, -4.38584238e-011, -2.39358793e-012, 5.07595632e-011, 1, -9.96334352e-012, 8.04051704e-012, 1.23521731e-011, 0.999993086)) | |
| 767 | Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Medium stone grey","Hitbox",Vector3.new(5.4000001, 9.20000076, 0.400000036)) | |
| 768 | Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.298654079, -6.99958229, 9.53674316e-007, 0.999993086, -4.38584238e-011, -2.39358793e-012, 5.07595632e-011, 1, -9.96334352e-012, 8.04051704e-012, 1.23521731e-011, 0.999993086)) | |
| 769 | HatHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","HatHandle",Vector3.new(0.800000012, 1.39999998, 2.4000001)) | |
| 770 | HatHandleweld=weld(m,Character["Head"],HatHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -0.0999984741, -1.90734863e-005, 0.999991894, 5.70663635e-024, 5.40628298e-006, -5.7065484e-024, 1, 3.31866973e-026, -5.40628298e-006, -3.33613591e-026, 0.999991894)) | |
| 771 | mesh("SpecialMesh",HatHandle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=44520670",Vector3.new(0, 0, 0),Vector3.new(2.0999999, 2.0999999, 2.0999999))
| |
| 772 | HatHandle2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Deep orange","HatHandle2",Vector3.new(0.800000012, 1.39999998, 2.4000001)) | |
| 773 | HatHandle2weld=weld(m,HatHandle,HatHandle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 5.7220459e-006, 0, 0.999983788, 1.34285766e-028, -0, 1.34285766e-028, 1, -1.44078049e-028, 0, -1.44078049e-028, 0.999983788)) | |
| 774 | mesh("SpecialMesh",HatHandle2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=44520670",Vector3.new(0, 0, 0),Vector3.new(2.07999992, 1.8599999, 2.03999996))
| |
| 775 | ||
| 776 | function attackone() | |
| 777 | attack = true | |
| 778 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(20,40),"Knockdown",RootPart,.2,1) end) | |
| 779 | for i = 0,1,0.05 do | |
| 780 | swait() | |
| 781 | torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.2) | |
| 782 | hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.2) | |
| 783 | rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, -1)*CFrame.Angles(math.rad(0),math.rad(-120),math.rad(-120)), 0.2) | |
| 784 | larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-30)), 0.2) | |
| 785 | lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, -.5) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.2) | |
| 786 | rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 787 | handleweld.C0=clerp(handleweld.C0,cf(0,0,.8)*angles(math.rad(80),math.rad(0),math.rad(0)),.2) | |
| 788 | end | |
| 789 | so("http://roblox.com/asset/?id=234365549",Hitbox,1,.8)
| |
| 790 | for i = 0,1,0.05 do | |
| 791 | swait() | |
| 792 | torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-20), math.rad(90), math.rad(0)), 0.2) | |
| 793 | hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(20), math.rad(-80), math.rad(20)), 0.2) | |
| 794 | rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, -0.5)*CFrame.Angles(math.rad(0),math.rad(-20),math.rad(-70)), 0.2) | |
| 795 | larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-40)), 0.2) | |
| 796 | lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.2) | |
| 797 | rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -.2, 0) * CFrame.Angles(math.rad(20), math.rad(-40), math.rad(0)), 0.2) | |
| 798 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(0),math.rad(0)),.2) | |
| 799 | torso.Velocity=hed.CFrame.lookVector*50 | |
| 800 | end | |
| 801 | attack = false | |
| 802 | con:disconnect() | |
| 803 | end | |
| 804 | ||
| 805 | function attacktwo() | |
| 806 | attack = true | |
| 807 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(20,40),"Knockdown",RootPart,.2,1) end) | |
| 808 | for i = 0,1,0.05 do | |
| 809 | swait() | |
| 810 | torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.2) | |
| 811 | hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.2) | |
| 812 | rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 2, -0.5)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2) | |
| 813 | larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-50)), 0.2) | |
| 814 | lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, -.5) * CFrame.Angles(math.rad(0), math.rad(40), math.rad(-5)), 0.2) | |
| 815 | rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.2) | |
| 816 | handleweld.C0=clerp(handleweld.C0,cf(0,0,.8)*angles(math.rad(80),math.rad(0),math.rad(0)),.2) | |
| 817 | end | |
| 818 | so("http://roblox.com/asset/?id=234365573",Hitbox,1,.8)
| |
| 819 | for i = 0,1,0.05 do | |
| 820 | swait() | |
| 821 | torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.2) | |
| 822 | hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(-60), math.rad(0)), 0.2) | |
| 823 | rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 0, 0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
| 824 | larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-30)), 0.2) | |
| 825 | lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, -.5) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(-5)), 0.2) | |
| 826 | rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 827 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-30),math.rad(0),math.rad(0)),.2) | |
| 828 | end | |
| 829 | attack = false | |
| 830 | con:disconnect() | |
| 831 | end | |
| 832 | ||
| 833 | function attackthree() | |
| 834 | attack = true | |
| 835 | local con=Hitbox.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(20,40),"Knockdown",RootPart,.2,1) end) | |
| 836 | for i = 0,1,0.05 do | |
| 837 | swait() | |
| 838 | torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(0)), 0.2) | |
| 839 | hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.2) | |
| 840 | rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, .5, 0)*CFrame.Angles(math.rad(0),math.rad(110),math.rad(50)), 0.2) | |
| 841 | larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-2, 0.5, -.5)*CFrame.Angles(math.rad(0),math.rad(-120),math.rad(-50)), 0.2) | |
| 842 | lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(-10)), 0.2) | |
| 843 | rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(10)), 0.2) | |
| 844 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-50),math.rad(0),math.rad(0)),.2) | |
| 845 | end | |
| 846 | so("http://roblox.com/asset/?id=234365549",Hitbox,1,.7)
| |
| 847 | for i = 0,1,0.07 do | |
| 848 | swait() | |
| 849 | torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.2) | |
| 850 | hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(0)), 0.2) | |
| 851 | rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, 0)*CFrame.Angles(math.rad(0),math.rad(20),math.rad(120)), 0.2) | |
| 852 | larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-50)), 0.2) | |
| 853 | lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(-10)), 0.2) | |
| 854 | rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(10)), 0.2) | |
| 855 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-50),math.rad(0),math.rad(0)),.2) | |
| 856 | end | |
| 857 | attack = false | |
| 858 | con:disconnect() | |
| 859 | end | |
| 860 | ||
| 861 | function WaveEffect2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
| 862 | local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
| 863 | prt.Anchored=true | |
| 864 | prt.CFrame=cframe | |
| 865 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://20329976",vt(0,0,0),vt(x1,y1,z1))
| |
| 866 | game:GetService("Debris"):AddItem(prt,2)
| |
| 867 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 868 | for i=0,1,delay do | |
| 869 | swait() | |
| 870 | Part.CFrame=Part.CFrame | |
| 871 | Part.Transparency=i | |
| 872 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
| 873 | end | |
| 874 | Part.Parent=nil | |
| 875 | end),prt,msh) | |
| 876 | end | |
| 877 | --example: WaveEffect2(BrickColor.new(""),ExamplePart.CFrame,0,0,0,0,0,0,0.02)
| |
| 878 | ||
| 879 | function Kick() | |
| 880 | attack = true | |
| 881 | local con=lleg.Touched:connect(function(hit) Damagefunc(hit,30,50,math.random(50,100),"Normal",RootPart,.2,1) end) | |
| 882 | for i = 0,1,0.05 do | |
| 883 | swait() | |
| 884 | torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 885 | hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 886 | rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, -0.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
| 887 | larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.2) | |
| 888 | lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), 0.2) | |
| 889 | rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.2) | |
| 890 | handleweld.C0=clerp(handleweld.C0,cf(0,0,.8)*angles(math.rad(80),math.rad(0),math.rad(0)),.2) | |
| 891 | end | |
| 892 | so("http://roblox.com/asset/?id=200632136",lleg,1,.8)
| |
| 893 | WaveEffect2(BrickColor.new("Dark orange"),lleg.CFrame*CFrame.fromEulerAnglesXYZ(1,-5,1)*CFrame.new(0,0,0),.5,.5,.5,.5,.5,.5,0.05)
| |
| 894 | for i = 0,1,0.05 do | |
| 895 | swait() | |
| 896 | torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 897 | hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
| 898 | rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, -0.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(30)), 0.2) | |
| 899 | larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.2) | |
| 900 | lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.2) | |
| 901 | rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0)), 0.2) | |
| 902 | handleweld.C0=clerp(handleweld.C0,cf(0,0,.8)*angles(math.rad(80),math.rad(0),math.rad(0)),.2) | |
| 903 | end | |
| 904 | attack = false | |
| 905 | con:disconnect() | |
| 906 | end | |
| 907 | ||
| 908 | mouse.Button1Down:connect(function() | |
| 909 | if attack==false then | |
| 910 | if attacktype==1 then | |
| 911 | attacktype = 2 | |
| 912 | attackone() | |
| 913 | elseif attacktype==2 then | |
| 914 | attacktype = 3 | |
| 915 | attacktwo() | |
| 916 | elseif attacktype==3 then | |
| 917 | attacktype = 1 | |
| 918 | attackthree() | |
| 919 | end | |
| 920 | end | |
| 921 | end) | |
| 922 | ||
| 923 | mouse.KeyDown:connect(function(k) | |
| 924 | k=k:lower() | |
| 925 | if k=='q' then | |
| 926 | if attack==false then | |
| 927 | Kick() | |
| 928 | end | |
| 929 | end | |
| 930 | end) | |
| 931 | ||
| 932 | bc=char['Body Colors'] | |
| 933 | coloras=BrickColor.new('Medium stone grey')
| |
| 934 | bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras | |
| 935 | ||
| 936 | pcall(function() | |
| 937 | Character.Shirt:remove() | |
| 938 | Character.Pants:remove() | |
| 939 | Character.Sound:remove() | |
| 940 | end) | |
| 941 | ||
| 942 | char.Humanoid.MaxHealth = 1000 | |
| 943 | char.Humanoid.Health = char.Humanoid.MaxHealth | |
| 944 | ||
| 945 | game:service'InsertService':LoadAsset(181238309):children()[1].Parent = Character | |
| 946 | game:service'InsertService':LoadAsset(181241666):children()[1].Parent = Character | |
| 947 | ||
| 948 | local prevState = "None" | |
| 949 | local fallSpeed = 0 | |
| 950 | ||
| 951 | local sRunning = Instance.new("Sound",torso) sRunning.SoundId = "http://roblox.com/asset/?id=135062807"
| |
| 952 | local sLanding = Instance.new("Sound",torso) sLanding.SoundId = "http://roblox.com/asset/?id=180683823"
| |
| 953 | ||
| 954 | function onRunning(speed) | |
| 955 | if (prevState == "FreeFall" and fallSpeed > 0.1) then | |
| 956 | local vol = math.min(1.0, math.max(0.0, (fallSpeed - 50) / 110)) | |
| 957 | sLanding.Volume = vol | |
| 958 | sLanding:Play() | |
| 959 | fallSpeed = 0 | |
| 960 | end | |
| 961 | if speed>0.5 then | |
| 962 | sRunning:Play() | |
| 963 | sRunning.Looped = true | |
| 964 | sRunning.Pitch = 0.9 | |
| 965 | else | |
| 966 | sRunning:Stop() | |
| 967 | end | |
| 968 | prevState = "Run" | |
| 969 | end | |
| 970 | ||
| 971 | Character.Humanoid.Running:connect(onRunning) | |
| 972 | ||
| 973 | local sine = 0 | |
| 974 | local change = 1 | |
| 975 | local val = 0 | |
| 976 | ||
| 977 | while true do | |
| 978 | swait() | |
| 979 | sine = sine + change | |
| 980 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 981 | local velderp=RootPart.Velocity.y | |
| 982 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,10,0))).lookVector,10,char) | |
| 983 | if equipped==true or equipped==false then | |
| 984 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
| 985 | Anim="Jump" | |
| 986 | if attack==false then | |
| 987 | torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 988 | hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
| 989 | rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, -0.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
| 990 | larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-30)), 0.2) | |
| 991 | lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -.5, -.5) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 992 | rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.2) | |
| 993 | handleweld.C0=clerp(handleweld.C0,cf(0,0,.8)*angles(math.rad(80),math.rad(0),math.rad(0)),.2) | |
| 994 | end | |
| 995 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
| 996 | Anim="Fall" | |
| 997 | if attack==false then | |
| 998 | torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 999 | hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 1000 | rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, -0.5)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(20)), 0.2) | |
| 1001 | larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-50)), 0.2) | |
| 1002 | lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.2) | |
| 1003 | rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 1004 | end | |
| 1005 | elseif torvel<1 and hitfloor~=nil then | |
| 1006 | Anim="Idle" | |
| 1007 | if attack==false then | |
| 1008 | torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.2) | |
| 1009 | hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(0)), 0.2) | |
| 1010 | rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, -0.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(30)), 0.2) | |
| 1011 | larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.2) | |
| 1012 | lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, -.5) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-5)), 0.2) | |
| 1013 | rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20), math.rad(0)), 0.2) | |
| 1014 | handleweld.C0=clerp(handleweld.C0,cf(0,0,.8)*angles(math.rad(80),math.rad(0),math.rad(0)),.2) | |
| 1015 | end | |
| 1016 | elseif torvel>2 and hitfloor~=nil then | |
| 1017 | Anim="Walk" | |
| 1018 | if attack==false then | |
| 1019 | torso.Weld.C0 = clerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2) | |
| 1020 | hed.Weld.C0 = clerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2) | |
| 1021 | rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(3, 1, -0.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(30)), 0.2) | |
| 1022 | larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-3, 0.5, 0)*CFrame.Angles(math.rad(-30*math.cos(sine/6)),math.rad(0),math.rad(-20)), 0.2) | |
| 1023 | lleg.Weld.C0 = clerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(50*math.cos(sine/4)), math.rad(0), math.rad(0)), 0.2) | |
| 1024 | rleg.Weld.C0 = clerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-50*math.cos(sine/4)), math.rad(0), math.rad(0)), 0.2) | |
| 1025 | handleweld.C0=clerp(handleweld.C0,cf(0,0,.8)*angles(math.rad(80),math.rad(0),math.rad(0)),.2) | |
| 1026 | end | |
| 1027 | end | |
| 1028 | end | |
| 1029 | if #Effects>0 then | |
| 1030 | --table.insert(Effects,{prt,"Block1",delay})
| |
| 1031 | for e=1,#Effects do | |
| 1032 | if Effects[e]~=nil then | |
| 1033 | --for j=1,#Effects[e] do | |
| 1034 | local Thing=Effects[e] | |
| 1035 | if Thing~=nil then | |
| 1036 | local Part=Thing[1] | |
| 1037 | local Mode=Thing[2] | |
| 1038 | local Delay=Thing[3] | |
| 1039 | local IncX=Thing[4] | |
| 1040 | local IncY=Thing[5] | |
| 1041 | local IncZ=Thing[6] | |
| 1042 | if Thing[2]=="DecreaseStat" then | |
| 1043 | Thing[5]=Thing[5]-1 | |
| 1044 | if Thing[5]<=0 then | |
| 1045 | if Thing[1]:findFirstChild("Stats")~=nil then
| |
| 1046 | Thing[1].Stats[Thing[3]].Value=Thing[1].Stats[Thing[3]].Value+Thing[4] | |
| 1047 | end | |
| 1048 | table.remove(Effects,e) | |
| 1049 | end | |
| 1050 | end | |
| 1051 | if Thing[2]=="Shoot" then | |
| 1052 | local Look=Thing[1] | |
| 1053 | local hit,pos = rayCast(Thing[4],Look,20,m) | |
| 1054 | local mag=(Thing[4]-pos).magnitude | |
| 1055 | MagicHead(BrickColor.new("Really red"),CFrame.new((Thing[4]+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,.5,0,.5,0.1)
| |
| 1056 | Thing[4]=Thing[4]+(Look*20) | |
| 1057 | Thing[3]=Thing[3]-1 | |
| 1058 | if hit~=nil then | |
| 1059 | Thing[3]=0 | |
| 1060 | if Thing[8]==1 then | |
| 1061 | Damagefunc(hit,Thing[5],Thing[6],Thing[7],"Normal",RootPart,0,2,math.random(1,5),nil,nil,true) | |
| 1062 | elseif Thing[8]==2 then | |
| 1063 | Damagefunc(hit,Thing[5],Thing[6],Thing[7],"NormalDecreaseMvmt1",RootPart,0,2,math.random(1,5),nil,nil,true) | |
| 1064 | end | |
| 1065 | ref=part(3,workspace,0,1,BrickColor.new("Really red"),"Reference",vt())
| |
| 1066 | ref.Anchored=true | |
| 1067 | ref.CFrame=cf(pos) | |
| 1068 | MagicCircle(BrickColor.new("Really red"),cf(pos),5,5,5,1,1,1,0.03)
| |
| 1069 | game:GetService("Debris"):AddItem(ref,1)
| |
| 1070 | end | |
| 1071 | if Thing[3]<=0 then | |
| 1072 | table.remove(Effects,e) | |
| 1073 | end | |
| 1074 | end | |
| 1075 | if Thing[2]=="CylinderClang" then | |
| 1076 | if Thing[3]<=1 then | |
| 1077 | Thing[1].CFrame=Thing[1].CFrame*CFrame.new(0,2.5*Thing[5],0)*CFrame.fromEulerAnglesXYZ(Thing[6],0,0) | |
| 1078 | Thing[7]=Thing[1].CFrame | |
| 1079 | effect("New Yeller",0,Thing[8],Thing[7])
| |
| 1080 | Thing[8]=Thing[7] | |
| 1081 | Thing[3]=Thing[3]+Thing[4] | |
| 1082 | else | |
| 1083 | Part.Parent=nil | |
| 1084 | table.remove(Effects,e) | |
| 1085 | end | |
| 1086 | --[[Mesh=Thing[7] | |
| 1087 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
| 1088 | Thing[1].Transparency=Thing[1].Transparency+Thing[3]] | |
| 1089 | end | |
| 1090 | if Thing[2]~="Shoot" and Thing[2]~="DecreaseStat" then | |
| 1091 | if Thing[1].Transparency<=1 then | |
| 1092 | if Thing[2]=="Block1" then | |
| 1093 | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1094 | Mesh=Thing[7] | |
| 1095 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
| 1096 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1097 | elseif Thing[2]=="Block2" then | |
| 1098 | Thing[1].CFrame=Thing[1].CFrame | |
| 1099 | Mesh=Thing[7] | |
| 1100 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
| 1101 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1102 | elseif Thing[2]=="Cylinder" then | |
| 1103 | Mesh=Thing[7] | |
| 1104 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
| 1105 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1106 | elseif Thing[2]=="Blood" then | |
| 1107 | Mesh=Thing[7] | |
| 1108 | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
| 1109 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
| 1110 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1111 | elseif Thing[2]=="Elec" then | |
| 1112 | Mesh=Thing[7] | |
| 1113 | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) | |
| 1114 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1115 | elseif Thing[2]=="Disappear" then | |
| 1116 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
| 1117 | end | |
| 1118 | else | |
| 1119 | Part.Parent=nil | |
| 1120 | table.remove(Effects,e) | |
| 1121 | end | |
| 1122 | end | |
| 1123 | end | |
| 1124 | end | |
| 1125 | end | |
| 1126 | end | |
| 1127 | end |