SHOW:
|
|
- or go back to the newest paste.
| 1 | local p = game.Players.LocalPlayer | |
| 2 | Player = game:GetService("Players").LocalPlayer
| |
| 3 | Cha = Player.Character | |
| 4 | mouse = game.Players.LocalPlayer:GetMouse() | |
| 5 | name = Player.Name | |
| 6 | me = game.Players[name] | |
| 7 | laydown = false | |
| 8 | shoot = false | |
| 9 | camo = false | |
| 10 | prop = false | |
| 11 | ||
| 12 | Cha.Head.Transparency = 1 | |
| 13 | ||
| 14 | local new = Instance.new("Part", Player.Character)
| |
| 15 | new.Name = "hed" | |
| 16 | new.formFactor = "Symmetric" | |
| 17 | new.TopSurface = "Smooth" | |
| 18 | new.BottomSurface = "Smooth" | |
| 19 | new.Transparency = 0 | |
| 20 | new.FormFactor = "Custom" | |
| 21 | new.Size = Cha.Head.Size | |
| 22 | new.CFrame = Player.Character.Head.CFrame | |
| 23 | new.BrickColor = Player.Character.Head.BrickColor | |
| 24 | newmeshhh = Instance.new("SpecialMesh",new)
| |
| 25 | newmeshhh.MeshType = "Head" | |
| 26 | newmeshhh.Scale = Vector3.new(1.2,1.2,1.2) | |
| 27 | weldT = Instance.new("Weld", Player.Character.Torso)
| |
| 28 | weldT.Part0 = Player.Character.Head | |
| 29 | weldT.Part1 = new | |
| 30 | weldT.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 31 | ||
| 32 | ||
| 33 | function rand(a)return (math.random()-.5)*2*a end | |
| 34 | function q(f,arg)return coroutine.resume(coroutine.create(f),unpack(arg or {}))end
| |
| 35 | function fade(p,s,inc)q(function(part,start,increment)increment = increment or .05 for i=start,1,increment do part.Transparency = part.Transparency+increment wait(1/30)end end,{p,s,inc})end
| |
| 36 | function appear(p,s,inc)q(function(part,start,increment)increment = increment or .05 for i=start,0,-increment do part.Transparency = part.Transparency-increment wait(1/30)end end,{p,s,inc})end
| |
| 37 | function Part(Name,Parent,Size,CFrame,Color,Trans,Anch,Can,Mat,Ref) | |
| 38 | local p = Instance.new("Part",Parent)p.Name = Name
| |
| 39 | p.FormFactor = "Custom"p.Size = Size | |
| 40 | p.Anchored = Anch p.CFrame = CFrame | |
| 41 | p.BrickColor = BrickColor.new(Color)p.Transparency = Trans | |
| 42 | p.TopSurface = 0 p.CanCollide = Can | |
| 43 | p.BottomSurface = 0 p.Material = Mat | |
| 44 | p.Reflectance = Ref or 0;p:BreakJoints() | |
| 45 | p.Locked = true;return p | |
| 46 | end | |
| 47 | function WedgePart(Name,Parent,Size,CFrame,Color,Trans,Anch,Can,Mat,Ref) | |
| 48 | local p = Instance.new("WedgePart",Parent)p.Name = Name
| |
| 49 | p.FormFactor = "Custom"p.Size = Size | |
| 50 | p.Anchored = Anch p.CFrame = CFrame | |
| 51 | p.BrickColor = BrickColor.new(Color)p.Transparency = Trans | |
| 52 | p.TopSurface = 0 p.CanCollide = Can | |
| 53 | p.BottomSurface = 0 p.Material = Mat | |
| 54 | p.Reflectance = Ref or 0;p:BreakJoints() | |
| 55 | p.Locked = true;return p | |
| 56 | end | |
| 57 | function CornerWedgePart(Name,Parent,Size,CFrame,Color,Trans,Anch,Can,Mat,Ref) | |
| 58 | local p = Instance.new("CornerWedgePart",Parent)p.Name = Name;p.Size = Size
| |
| 59 | p.Anchored = Anch p.CFrame = CFrame | |
| 60 | p.BrickColor = BrickColor.new(Color)p.Transparency = Trans | |
| 61 | p.TopSurface = 0 p.CanCollide = Can | |
| 62 | p.BottomSurface = 0 p.Material = Mat | |
| 63 | p.Reflectance = Ref or 0;p:BreakJoints() | |
| 64 | p.Locked = true;return p | |
| 65 | end | |
| 66 | function Mesh(Parent,Type,Scale,ID,TID) | |
| 67 | local m = Instance.new("SpecialMesh",Parent)m.MeshType = Type
| |
| 68 | m.Scale = Scale or Vector3.new(1,1,1) | |
| 69 | if ID then m.MeshId = ID end if TID then m.TextureId = TID end | |
| 70 | return m | |
| 71 | end | |
| 72 | function Weld(p1,p2,c0,c1) | |
| 73 | local w = Instance.new("Weld",p1)w.Part0 = p1;w.Part1 = p2
| |
| 74 | w.C0,w.C1 = c0 or CFrame.new(),c1 or CFrame.new() | |
| 75 | return w | |
| 76 | end | |
| 77 | function cslerp(start,destination,increment) | |
| 78 | local function s(a,b,c)return (1-c)*a+(c*b)end | |
| 79 | local c1 = {start.X,start.Y,start.Z,start:toEulerAnglesXYZ()}
| |
| 80 | local c2 = {destination.X,destination.Y,destination.Z,destination:toEulerAnglesXYZ()}
| |
| 81 | for i,v in pairs(c1)do c1[i] = s(v,c2[i],increment)end | |
| 82 | return CFrame.new(c1[1],c1[2],c1[3])*CFrame.Angles(c1[4],c1[5],c1[6]) | |
| 83 | end | |
| 84 | local char | |
| 85 | function rayCast(pos,dir,collidedlist,startpos,endpos,distleft) | |
| 86 | collidedlist = collidedlist | |
| 87 | startpos = startpos or pos | |
| 88 | distleft = distleft or dir.unit * dir.magnitude | |
| 89 | endpos = endpos or pos + distleft | |
| 90 | local ray = Ray.new(pos,distleft) | |
| 91 | local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray,collidedlist) | |
| 92 | if hitz~=nil then | |
| 93 | if hitz.CanCollide==false then | |
| 94 | table.insert(collidedlist,hitz) | |
| 95 | local newpos = enz | |
| 96 | local newdistleft = distleft-(dir.unit*(pos-newpos).magnitude) | |
| 97 | if newdistleft~=Vector3.new()then | |
| 98 | return rayCast(newpos-(dir*0.01),dir,collidedlist,startpos,endpos,newdistleft+(dir*0.01)) | |
| 99 | end | |
| 100 | end | |
| 101 | end | |
| 102 | return hitz,enz,ray | |
| 103 | end | |
| 104 | function findSurface(part,position) | |
| 105 | local obj = part.CFrame:pointToObjectSpace(position) | |
| 106 | local siz = part.Size/2 | |
| 107 | for i,v in pairs(Enum.NormalId:GetEnumItems()) do | |
| 108 | local vec = Vector3.FromNormalId(v) | |
| 109 | local wvec = part.CFrame:vectorToWorldSpace(vec) | |
| 110 | local vz = (obj)/(siz*vec) | |
| 111 | if (math.abs(vz.X-1)<0.01 or math.abs(vz.Y-1)<0.01 or math.abs(vz.Z-1)<0.01) then | |
| 112 | return wvec,vec | |
| 113 | end | |
| 114 | end | |
| 115 | end | |
| 116 | ---------------- | |
| 117 | Player=game:GetService("Players").LocalPlayer
| |
| 118 | Character=Player.Character | |
| 119 | Cha=Character | |
| 120 | PlayerGui=Player.PlayerGui | |
| 121 | Backpack=Player.Backpack | |
| 122 | Torso=Character.Torso | |
| 123 | Head=Character.Head | |
| 124 | Humanoid=Character.Humanoid | |
| 125 | m=Instance.new('Model',Character)
| |
| 126 | LeftArm=Character["Left Arm"] | |
| 127 | LeftLeg=Character["Left Leg"] | |
| 128 | RightArm=Character["Right Arm"] | |
| 129 | RightLeg=Character["Right Leg"] | |
| 130 | LS=Torso["Left Shoulder"] | |
| 131 | LH=Torso["Left Hip"] | |
| 132 | RS=Torso["Right Shoulder"] | |
| 133 | RH=Torso["Right Hip"] | |
| 134 | Face = Head.face | |
| 135 | Neck=Torso.Neck | |
| 136 | it=Instance.new | |
| 137 | attacktype=1 | |
| 138 | vt=Vector3.new | |
| 139 | cf=CFrame.new | |
| 140 | euler=CFrame.fromEulerAnglesXYZ | |
| 141 | angles=CFrame.Angles | |
| 142 | cloaked=false | |
| 143 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 144 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 145 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 146 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
| 147 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 148 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
| 149 | RootPart=Character.HumanoidRootPart | |
| 150 | RootJoint=RootPart.RootJoint | |
| 151 | RootCF=euler(-1.57,0,3.14) | |
| 152 | attack = false | |
| 153 | attackdebounce = false | |
| 154 | deb=false | |
| 155 | equipped=true | |
| 156 | hand=false | |
| 157 | MMouse=nil | |
| 158 | combo=0 | |
| 159 | mana=0 | |
| 160 | trispeed=.2 | |
| 161 | attackmode='none' | |
| 162 | local idle=0 | |
| 163 | local Anim="Idle" | |
| 164 | local Effects={}
| |
| 165 | local gun=false | |
| 166 | local shoot=false | |
| 167 | player=nil | |
| 168 | mana=0 | |
| 169 | Attacking=false | |
| 170 | asset = "http://www.roblox.com/asset/?id=" | |
| 171 | meshes = {["blast"] = 20329976,["ring"] = 3270017,["spike"] = 1033714,["cone"] = 1082802,["crown"] = 20329976,["cloud"] = 1095708,["diamond"] = 9756362}
| |
| 172 | ||
| 173 | ||
| 174 | mouse=Player:GetMouse() | |
| 175 | --save shoulders | |
| 176 | RSH, LSH=nil, nil | |
| 177 | --welds | |
| 178 | RW, LW=Instance.new("Weld"), Instance.new("Weld")
| |
| 179 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
| 180 | LH=Torso["Left Hip"] | |
| 181 | RH=Torso["Right Hip"] | |
| 182 | TorsoColor=Torso.BrickColor | |
| 183 | function NoOutline(Part) | |
| 184 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
| 185 | end | |
| 186 | player=Player | |
| 187 | ch=Character | |
| 188 | RSH=ch.Torso["Right Shoulder"] | |
| 189 | LSH=ch.Torso["Left Shoulder"] | |
| 190 | -- | |
| 191 | --RSH.Parent=nil | |
| 192 | --LSH.Parent=nil | |
| 193 | -- | |
| 194 | RW.Name="Right Shoulder" | |
| 195 | RW.Part0=ch.Torso | |
| 196 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
| 197 | RW.C1=cf(0, 0.5, 0) | |
| 198 | RW.Part1=ch["Right Arm"] | |
| 199 | RW.Parent=ch.Torso | |
| 200 | -- | |
| 201 | LW.Name="Left Shoulder" | |
| 202 | LW.Part0=ch.Torso | |
| 203 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
| 204 | LW.C1=cf(0, 0.5, 0) | |
| 205 | LW.Part1=ch["Left Arm"] | |
| 206 | LW.Parent=ch.Torso | |
| 207 | ||
| 208 | Player=game:GetService('Players').LocalPlayer
| |
| 209 | Character=Player.Character | |
| 210 | Mouse=Player:GetMouse() | |
| 211 | m=Instance.new('Model',Character)
| |
| 212 | ||
| 213 | ||
| 214 | local function weldBetween(a, b) | |
| 215 | local weldd = Instance.new("ManualWeld")
| |
| 216 | weldd.Part0 = a | |
| 217 | weldd.Part1 = b | |
| 218 | weldd.C0 = CFrame.new() | |
| 219 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 220 | weldd.Parent = a | |
| 221 | return weldd | |
| 222 | end | |
| 223 | ||
| 224 | it=Instance.new | |
| 225 | ||
| 226 | function nooutline(part) | |
| 227 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 228 | end | |
| 229 | ||
| 230 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 231 | local fp=it("Part")
| |
| 232 | fp.formFactor=formfactor | |
| 233 | fp.Parent=parent | |
| 234 | fp.Reflectance=reflectance | |
| 235 | fp.Transparency=transparency | |
| 236 | fp.CanCollide=false | |
| 237 | fp.Locked=true | |
| 238 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
| 239 | fp.Name=name | |
| 240 | fp.Size=size | |
| 241 | fp.Position=Character.Torso.Position | |
| 242 | nooutline(fp) | |
| 243 | fp.Material=material | |
| 244 | fp:BreakJoints() | |
| 245 | return fp | |
| 246 | end | |
| 247 | ||
| 248 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 249 | local mesh=it(Mesh) | |
| 250 | mesh.Parent=part | |
| 251 | if Mesh=="SpecialMesh" then | |
| 252 | mesh.MeshType=meshtype | |
| 253 | mesh.MeshId=meshid | |
| 254 | end | |
| 255 | mesh.Offset=offset | |
| 256 | mesh.Scale=scale | |
| 257 | return mesh | |
| 258 | end | |
| 259 | ||
| 260 | function weld(parent,part0,part1,c0,c1) | |
| 261 | local weld=it("Weld")
| |
| 262 | weld.Parent=parent | |
| 263 | weld.Part0=part0 | |
| 264 | weld.Part1=part1 | |
| 265 | weld.C0=c0 | |
| 266 | weld.C1=c1 | |
| 267 | return weld | |
| 268 | end | |
| 269 | ||
| 270 | ||
| 271 | Player=game:GetService('Players').LocalPlayer
| |
| 272 | Character=Player.Character | |
| 273 | Mouse=Player:GetMouse() | |
| 274 | m=Instance.new('Model',Character)
| |
| 275 | ||
| 276 | ||
| 277 | local function weldBetween(a, b) | |
| 278 | local weldd = Instance.new("ManualWeld")
| |
| 279 | weldd.Part0 = a | |
| 280 | weldd.Part1 = b | |
| 281 | weldd.C0 = CFrame.new() | |
| 282 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
| 283 | weldd.Parent = a | |
| 284 | return weldd | |
| 285 | end | |
| 286 | ||
| 287 | it=Instance.new | |
| 288 | ||
| 289 | function nooutline(part) | |
| 290 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
| 291 | end | |
| 292 | ||
| 293 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
| 294 | local fp=it("Part")
| |
| 295 | fp.formFactor=formfactor | |
| 296 | fp.Parent=parent | |
| 297 | fp.Reflectance=reflectance | |
| 298 | fp.Transparency=transparency | |
| 299 | fp.CanCollide=false | |
| 300 | fp.Locked=true | |
| 301 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
| 302 | fp.Name=name | |
| 303 | fp.Size=size | |
| 304 | fp.Position=Character.Torso.Position | |
| 305 | nooutline(fp) | |
| 306 | fp.Material=material | |
| 307 | fp:BreakJoints() | |
| 308 | return fp | |
| 309 | end | |
| 310 | ||
| 311 | function swait(num) | |
| 312 | if num==0 or num==nil then | |
| 313 | game:service'RunService'.Stepped:wait(0) | |
| 314 | else | |
| 315 | for i=0,num do | |
| 316 | game:service'RunService'.Stepped:wait(0) | |
| 317 | end | |
| 318 | end | |
| 319 | end | |
| 320 | ||
| 321 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 322 | local mesh=it(Mesh) | |
| 323 | mesh.Parent=part | |
| 324 | if Mesh=="SpecialMesh" then | |
| 325 | mesh.MeshType=meshtype | |
| 326 | mesh.MeshId=meshid | |
| 327 | end | |
| 328 | mesh.Offset=offset | |
| 329 | mesh.Scale=scale | |
| 330 | return mesh | |
| 331 | end | |
| 332 | ||
| 333 | function weld(parent,part0,part1,c0,c1) | |
| 334 | local weld=it("Weld")
| |
| 335 | weld.Parent=parent | |
| 336 | weld.Part0=part0 | |
| 337 | weld.Part1=part1 | |
| 338 | weld.C0=c0 | |
| 339 | weld.C1=c1 | |
| 340 | return weld | |
| 341 | end | |
| 342 | ||
| 343 | ||
| 344 | local function CFrameFromTopBack(at, top, back) | |
| 345 | local right = top:Cross(back) | |
| 346 | return CFrame.new(at.x, at.y, at.z, | |
| 347 | right.x, top.x, back.x, | |
| 348 | right.y, top.y, back.y, | |
| 349 | right.z, top.z, back.z) | |
| 350 | end | |
| 351 | ||
| 352 | function Triangle(a, b, c) | |
| 353 | local edg1 = (c-a):Dot((b-a).unit) | |
| 354 | local edg2 = (a-b):Dot((c-b).unit) | |
| 355 | local edg3 = (b-c):Dot((a-c).unit) | |
| 356 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
| 357 | a, b, c = a, b, c | |
| 358 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
| 359 | a, b, c = b, c, a | |
| 360 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
| 361 | a, b, c = c, a, b | |
| 362 | else | |
| 363 | assert(false, "unreachable") | |
| 364 | end | |
| 365 | ||
| 366 | local len1 = (c-a):Dot((b-a).unit) | |
| 367 | local len2 = (b-a).magnitude - len1 | |
| 368 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 369 | ||
| 370 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 371 | ||
| 372 | local list = {}
| |
| 373 | ||
| 374 | local Color = BrickColor.new("Really black")
| |
| 375 | ||
| 376 | if len1 > 0.01 then | |
| 377 | local w1 = Instance.new('WedgePart', m)
| |
| 378 | game:GetService("Debris"):AddItem(w1,5)
| |
| 379 | w1.Material = "SmoothPlastic" | |
| 380 | w1.FormFactor = 'Custom' | |
| 381 | w1.BrickColor = Color | |
| 382 | w1.Transparency = 0 | |
| 383 | w1.Reflectance = 0 | |
| 384 | w1.Material = "SmoothPlastic" | |
| 385 | w1.CanCollide = false | |
| 386 | NoOutline(w1) | |
| 387 | local sz = Vector3.new(0.2, width, len1) | |
| 388 | w1.Size = sz | |
| 389 | local sp = Instance.new("SpecialMesh",w1)
| |
| 390 | sp.MeshType = "Wedge" | |
| 391 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
| 392 | w1:BreakJoints() | |
| 393 | w1.Anchored = false | |
| 394 | w1.Parent = workspace | |
| 395 | w1.Transparency = 0.7 | |
| 396 | table.insert(Effects,{w1,"Disappear",.01})
| |
| 397 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 398 | table.insert(list,w1) | |
| 399 | end | |
| 400 | ||
| 401 | if len2 > 0.01 then | |
| 402 | local w2 = Instance.new('WedgePart', m)
| |
| 403 | game:GetService("Debris"):AddItem(w2,5)
| |
| 404 | w2.Material = "SmoothPlastic" | |
| 405 | w2.FormFactor = 'Custom' | |
| 406 | w2.BrickColor = Color | |
| 407 | w2.Transparency = 0 | |
| 408 | w2.Reflectance = 0 | |
| 409 | w2.Material = "SmoothPlastic" | |
| 410 | w2.CanCollide = false | |
| 411 | NoOutline(w2) | |
| 412 | local sz = Vector3.new(0.2, width, len2) | |
| 413 | w2.Size = sz | |
| 414 | local sp = Instance.new("SpecialMesh",w2)
| |
| 415 | sp.MeshType = "Wedge" | |
| 416 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
| 417 | w2:BreakJoints() | |
| 418 | w2.Anchored = false | |
| 419 | w2.Parent = workspace | |
| 420 | w2.Transparency = 0.7 | |
| 421 | table.insert(Effects,{w2,"Disappear",.01})
| |
| 422 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
| 423 | table.insert(list,w2) | |
| 424 | end | |
| 425 | return unpack(list) | |
| 426 | end | |
| 427 | ||
| 428 | ||
| 429 | so = function(id,par,vol,pit) | |
| 430 | coroutine.resume(coroutine.create(function() | |
| 431 | local sou = Instance.new("Sound",par or workspace)
| |
| 432 | sou.Volume=vol | |
| 433 | sou.Pitch=pit or 1 | |
| 434 | sou.SoundId=id | |
| 435 | swait() | |
| 436 | sou:play() | |
| 437 | game:GetService("Debris"):AddItem(sou,6)
| |
| 438 | end)) | |
| 439 | end | |
| 440 | ||
| 441 | function clerp(a,b,t) | |
| 442 | local qa = {QuaternionFromCFrame(a)}
| |
| 443 | local qb = {QuaternionFromCFrame(b)}
| |
| 444 | local ax, ay, az = a.x, a.y, a.z | |
| 445 | local bx, by, bz = b.x, b.y, b.z | |
| 446 | local _t = 1-t | |
| 447 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 448 | end | |
| 449 | ||
| 450 | function QuaternionFromCFrame(cf) | |
| 451 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 452 | local trace = m00 + m11 + m22 | |
| 453 | if trace > 0 then | |
| 454 | local s = math.sqrt(1 + trace) | |
| 455 | local recip = 0.5/s | |
| 456 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 457 | else | |
| 458 | local i = 0 | |
| 459 | if m11 > m00 then | |
| 460 | i = 1 | |
| 461 | end | |
| 462 | if m22 > (i == 0 and m00 or m11) then | |
| 463 | i = 2 | |
| 464 | end | |
| 465 | if i == 0 then | |
| 466 | local s = math.sqrt(m00-m11-m22+1) | |
| 467 | local recip = 0.5/s | |
| 468 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 469 | elseif i == 1 then | |
| 470 | local s = math.sqrt(m11-m22-m00+1) | |
| 471 | local recip = 0.5/s | |
| 472 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 473 | elseif i == 2 then | |
| 474 | local s = math.sqrt(m22-m00-m11+1) | |
| 475 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 476 | end | |
| 477 | end | |
| 478 | end | |
| 479 | ||
| 480 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 481 | local xs, ys, zs = x + x, y + y, z + z | |
| 482 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 483 | local xx = x*xs | |
| 484 | local xy = x*ys | |
| 485 | local xz = x*zs | |
| 486 | local yy = y*ys | |
| 487 | local yz = y*zs | |
| 488 | local zz = z*zs | |
| 489 | 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)) | |
| 490 | end | |
| 491 | ||
| 492 | function QuaternionSlerp(a, b, t) | |
| 493 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 494 | local startInterp, finishInterp; | |
| 495 | if cosTheta >= 0.0001 then | |
| 496 | if (1 - cosTheta) > 0.0001 then | |
| 497 | local theta = math.acos(cosTheta) | |
| 498 | local invSinTheta = 1/math.sin(theta) | |
| 499 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 500 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 501 | else | |
| 502 | startInterp = 1-t | |
| 503 | finishInterp = t | |
| 504 | end | |
| 505 | else | |
| 506 | if (1+cosTheta) > 0.0001 then | |
| 507 | local theta = math.acos(-cosTheta) | |
| 508 | local invSinTheta = 1/math.sin(theta) | |
| 509 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 510 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 511 | else | |
| 512 | startInterp = t-1 | |
| 513 | finishInterp = t | |
| 514 | end | |
| 515 | end | |
| 516 | 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 | |
| 517 | end | |
| 518 | ||
| 519 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
| 520 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
| |
| 521 | end | |
| 522 | ||
| 523 | local function CFrameFromTopBack(at, top, back) | |
| 524 | local right = top:Cross(back) | |
| 525 | return CFrame.new(at.x, at.y, at.z, | |
| 526 | right.x, top.x, back.x, | |
| 527 | right.y, top.y, back.y, | |
| 528 | right.z, top.z, back.z) | |
| 529 | end | |
| 530 | ||
| 531 | function Triangle(a, b, c) | |
| 532 | local edg1 = (c-a):Dot((b-a).unit) | |
| 533 | local edg2 = (a-b):Dot((c-b).unit) | |
| 534 | local edg3 = (b-c):Dot((a-c).unit) | |
| 535 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
| 536 | a, b, c = a, b, c | |
| 537 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
| 538 | a, b, c = b, c, a | |
| 539 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
| 540 | a, b, c = c, a, b | |
| 541 | else | |
| 542 | assert(false, "unreachable") | |
| 543 | end | |
| 544 | ||
| 545 | local len1 = (c-a):Dot((b-a).unit) | |
| 546 | local len2 = (b-a).magnitude - len1 | |
| 547 | local width = (a + (b-a).unit*len1 - c).magnitude | |
| 548 | ||
| 549 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
| 550 | ||
| 551 | local list = {}
| |
| 552 | ||
| 553 | if len1 > 0.01 then | |
| 554 | local w1 = Instance.new('WedgePart', m)
| |
| 555 | game:GetService("Debris"):AddItem(w1,5)
| |
| 556 | w1.Material = "SmoothPlastic" | |
| 557 | w1.FormFactor = 'Custom' | |
| 558 | w1.BrickColor = BrickColor.new("Really black")
| |
| 559 | w1.Transparency = 0 | |
| 560 | w1.Reflectance = 0 | |
| 561 | w1.Material = "SmoothPlastic" | |
| 562 | w1.CanCollide = false | |
| 563 | NoOutline(w1) | |
| 564 | local sz = Vector3.new(0.2, width, len1) | |
| 565 | w1.Size = sz | |
| 566 | local sp = Instance.new("SpecialMesh",w1)
| |
| 567 | sp.MeshType = "Wedge" | |
| 568 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
| 569 | w1:BreakJoints() | |
| 570 | w1.Anchored = false | |
| 571 | w1.Parent = workspace | |
| 572 | w1.Transparency = 0.7 | |
| 573 | table.insert(Effects,{w1,"Disappear",.01})
| |
| 574 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
| 575 | table.insert(list,w1) | |
| 576 | end | |
| 577 | ||
| 578 | if len2 > 0.01 then | |
| 579 | local w2 = Instance.new('WedgePart', m)
| |
| 580 | game:GetService("Debris"):AddItem(w2,5)
| |
| 581 | w2.Material = "SmoothPlastic" | |
| 582 | w2.FormFactor = 'Custom' | |
| 583 | w2.BrickColor = BrickColor.new("Really black")
| |
| 584 | w2.Transparency = 0 | |
| 585 | w2.Reflectance = 0 | |
| 586 | w2.Material = "SmoothPlastic" | |
| 587 | w2.CanCollide = false | |
| 588 | NoOutline(w2) | |
| 589 | local sz = Vector3.new(0.2, width, len2) | |
| 590 | w2.Size = sz | |
| 591 | local sp = Instance.new("SpecialMesh",w2)
| |
| 592 | sp.MeshType = "Wedge" | |
| 593 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
| 594 | w2:BreakJoints() | |
| 595 | w2.Anchored = false | |
| 596 | w2.Parent = workspace | |
| 597 | w2.Transparency = 0.7 | |
| 598 | table.insert(Effects,{w2,"Disappear",.01})
| |
| 599 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
| 600 | table.insert(list,w2) | |
| 601 | end | |
| 602 | return unpack(list) | |
| 603 | end | |
| 604 | ||
| 605 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
| 606 | if hit.Parent==nil then | |
| 607 | return | |
| 608 | end | |
| 609 | h=hit.Parent:FindFirstChild("Humanoid")
| |
| 610 | for _,v in pairs(hit.Parent:children()) do | |
| 611 | if v:IsA("Humanoid") then
| |
| 612 | h=v | |
| 613 | end | |
| 614 | end | |
| 615 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
| |
| 616 | h=hit.Parent.Parent:FindFirstChild("Humanoid")
| |
| 617 | end | |
| 618 | if hit.Parent.className=="Hat" then | |
| 619 | hit=hit.Parent.Parent:findFirstChild("Head")
| |
| 620 | end | |
| 621 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
| |
| 622 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
| |
| 623 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
| 624 | return | |
| 625 | end]] | |
| 626 | -- hs(hit,1.2) | |
| 627 | c=Instance.new("ObjectValue")
| |
| 628 | c.Name="creator" | |
| 629 | c.Value=game:service("Players").LocalPlayer
| |
| 630 | c.Parent=h | |
| 631 | game:GetService("Debris"):AddItem(c,.5)
| |
| 632 | Damage=math.random(minim,maxim) | |
| 633 | -- h:TakeDamage(Damage) | |
| 634 | blocked=false | |
| 635 | block=hit.Parent:findFirstChild("Block")
| |
| 636 | if block~=nil then | |
| 637 | print(block.className) | |
| 638 | if block.className=="NumberValue" then | |
| 639 | if block.Value>0 then | |
| 640 | blocked=true | |
| 641 | if decreaseblock==nil then | |
| 642 | block.Value=block.Value-1 | |
| 643 | end | |
| 644 | end | |
| 645 | end | |
| 646 | if block.className=="IntValue" then | |
| 647 | if block.Value>0 then | |
| 648 | blocked=true | |
| 649 | if decreaseblock~=nil then | |
| 650 | block.Value=block.Value-1 | |
| 651 | end | |
| 652 | end | |
| 653 | end | |
| 654 | end | |
| 655 | if blocked==false then | |
| 656 | -- h:TakeDamage(Damage) | |
| 657 | h.Health=h.Health-Damage | |
| 658 | showDamage(hit.Parent,Damage,.5,BrickColor.new("Dark stone grey"))
| |
| 659 | else | |
| 660 | h.Health=h.Health-(Damage/2) | |
| 661 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
| |
| 662 | end | |
| 663 | if Type=="Knockdown" then | |
| 664 | hum=hit.Parent.Humanoid | |
| 665 | hum.PlatformStand=true | |
| 666 | coroutine.resume(coroutine.create(function(HHumanoid) | |
| 667 | swait(1) | |
| 668 | HHumanoid.PlatformStand=false | |
| 669 | end),hum) | |
| 670 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
| 671 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
| 672 | local bodvol=Instance.new("BodyVelocity")
| |
| 673 | bodvol.velocity=angle*knockback | |
| 674 | bodvol.P=5000 | |
| 675 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 676 | bodvol.Parent=hit | |
| 677 | rl=Instance.new("BodyAngularVelocity")
| |
| 678 | rl.P=3000 | |
| 679 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 680 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
| 681 | rl.Parent=hit | |
| 682 | game:GetService("Debris"):AddItem(bodvol,.5)
| |
| 683 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 684 | elseif Type=="Normal" then | |
| 685 | vp=Instance.new("BodyVelocity")
| |
| 686 | vp.P=500 | |
| 687 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
| 688 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
| 689 | if KnockbackType==1 then | |
| 690 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
| 691 | elseif KnockbackType==2 then | |
| 692 | vp.velocity=Property.CFrame.lookVector*knockback | |
| 693 | end | |
| 694 | if knockback>0 then | |
| 695 | vp.Parent=hit.Parent.Torso | |
| 696 | end | |
| 697 | game:GetService("Debris"):AddItem(vp,.5)
| |
| 698 | elseif Type=="Up" then | |
| 699 | local bodyVelocity=Instance.new("BodyVelocity")
| |
| 700 | bodyVelocity.velocity=vt(0,60,0) | |
| 701 | bodyVelocity.P=5000 | |
| 702 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
| 703 | bodyVelocity.Parent=hit | |
| 704 | game:GetService("Debris"):AddItem(bodyVelocity,1)
| |
| 705 | rl=Instance.new("BodyAngularVelocity")
| |
| 706 | rl.P=3000 | |
| 707 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
| 708 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
| 709 | rl.Parent=hit | |
| 710 | game:GetService("Debris"):AddItem(rl,.5)
| |
| 711 | elseif Type=="Snare" then | |
| 712 | bp=Instance.new("BodyPosition")
| |
| 713 | bp.P=2000 | |
| 714 | bp.D=100 | |
| 715 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 716 | bp.position=hit.Parent.Torso.Position | |
| 717 | bp.Parent=hit.Parent.Torso | |
| 718 | game:GetService("Debris"):AddItem(bp,1)
| |
| 719 | elseif Type=="Target" then | |
| 720 | if Targetting==false then | |
| 721 | ZTarget=hit.Parent.Torso | |
| 722 | coroutine.resume(coroutine.create(function(Part) | |
| 723 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 724 | swait(5) | |
| 725 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
| |
| 726 | end),ZTarget) | |
| 727 | TargHum=ZTarget.Parent:findFirstChild("Humanoid")
| |
| 728 | targetgui=Instance.new("BillboardGui")
| |
| 729 | targetgui.Parent=ZTarget | |
| 730 | targetgui.Size=UDim2.new(10,100,10,100) | |
| 731 | targ=Instance.new("ImageLabel")
| |
| 732 | targ.Parent=targetgui | |
| 733 | targ.BackgroundTransparency=1 | |
| 734 | targ.Image="rbxassetid://4834067" | |
| 735 | targ.Size=UDim2.new(1,0,1,0) | |
| 736 | cam.CameraType="Scriptable" | |
| 737 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 738 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 739 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 740 | Targetting=true | |
| 741 | RocketTarget=ZTarget | |
| 742 | for i=1,Property do | |
| 743 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
| 744 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
| 745 | swait() | |
| 746 | end | |
| 747 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
| 748 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
| 749 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
| 750 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
| 751 | end | |
| 752 | Targetting=false | |
| 753 | RocketTarget=nil | |
| 754 | targetgui.Parent=nil | |
| 755 | cam.CameraType="Custom" | |
| 756 | end | |
| 757 | end | |
| 758 | debounce=Instance.new("BoolValue")
| |
| 759 | debounce.Name="DebounceHit" | |
| 760 | debounce.Parent=hit.Parent | |
| 761 | debounce.Value=true | |
| 762 | game:GetService("Debris"):AddItem(debounce,Delay)
| |
| 763 | c=Instance.new("ObjectValue")
| |
| 764 | c.Name="creator" | |
| 765 | c.Value=Player | |
| 766 | c.Parent=h | |
| 767 | game:GetService("Debris"):AddItem(c,.5)
| |
| 768 | CRIT=false | |
| 769 | hitDeb=true | |
| 770 | AttackPos=6 | |
| 771 | end | |
| 772 | end | |
| 773 | ||
| 774 | showDamage=function(Char,Dealt,du,Color) | |
| 775 | m=Instance.new("Model")
| |
| 776 | m.Name=tostring(Dealt) | |
| 777 | h=Instance.new("Humanoid")
| |
| 778 | h.Health=0 | |
| 779 | h.MaxHealth=0 | |
| 780 | h.Parent=m | |
| 781 | c=Instance.new("Part")
| |
| 782 | c.Transparency=0 | |
| 783 | c.BrickColor=Color | |
| 784 | c.Name="Head" | |
| 785 | c.TopSurface=0 | |
| 786 | c.BottomSurface=0 | |
| 787 | c.formFactor="Plate" | |
| 788 | - | c.Size=Vector3.new(1,.4,1) |
| 788 | + | c.Size=Vector3.new(100,.4,1) |
| 789 | ms=Instance.new("CylinderMesh")
| |
| 790 | ms.Scale=Vector3.new(.8,.8,.8) | |
| 791 | if CRIT==true then | |
| 792 | ms.Scale=Vector3.new(1,1.25,1) | |
| 793 | end | |
| 794 | ms.Parent=c | |
| 795 | c.Reflectance=0 | |
| 796 | Instance.new("BodyGyro").Parent=c
| |
| 797 | c.Parent=m | |
| 798 | if Char:findFirstChild("Head")~=nil then
| |
| 799 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 800 | elseif Char.Parent:findFirstChild("Head")~=nil then
| |
| 801 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
| 802 | end | |
| 803 | f=Instance.new("BodyPosition")
| |
| 804 | f.P=2000 | |
| 805 | f.D=100 | |
| 806 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
| 807 | f.position=c.Position+Vector3.new(0,3,0) | |
| 808 | f.Parent=c | |
| 809 | game:GetService("Debris"):AddItem(m,.5+du)
| |
| 810 | c.CanCollide=false | |
| 811 | m.Parent=workspace | |
| 812 | c.CanCollide=false | |
| 813 | end | |
| 814 | function Smoke(origin,color) | |
| 815 | local p = Part("Effect",workspace,Vector3.new(2,2,2),origin*CFrame.new(rand(5),-1,rand(5)),color or "Black",.1,false,false,"SmoothPlastic")
| |
| 816 | local m = Mesh(p,"Sphere",Vector3.new(1.25,1.25,1.25)) | |
| 817 | local bp = Instance.new("BodyPosition",p)bp.D = 100 bp.P = 100 bp.position = p.Position+Vector3.new(0,7,0)
| |
| 818 | q(function(pa,me) | |
| 819 | fade(pa,.1) | |
| 820 | for i=25,100 do | |
| 821 | me.Scale = me.Scale+Vector3.new(0.15,0.1,0.15) | |
| 822 | wait(1/30) | |
| 823 | end | |
| 824 | pa:Destroy() | |
| 825 | end,{p,m})
| |
| 826 | end | |
| 827 | function brickMagic(origin,color,size) | |
| 828 | local p = Part("Effect",workspace,Vector3.new(size,size,size),origin*CFrame.Angles(rand(5),rand(5),rand(5)),color,.2,true,false,"SmoothPlastic")
| |
| 829 | local m = Mesh(p,"Brick") | |
| 830 | q(function(pa,me) | |
| 831 | fade(pa,.2) | |
| 832 | for i=20,100 do | |
| 833 | me.Scale = me.Scale-Vector3.new(0.05,0.05,0.05) | |
| 834 | wait(1/30) | |
| 835 | end | |
| 836 | pa:Destroy() | |
| 837 | end,{p,m})
| |
| 838 | end | |
| 839 | function spikeMagic(origin,size,color) | |
| 840 | local p = Part("Effect",workspace,Vector3.new(1,1,1),origin*CFrame.new(0,-size,0),color,1,true,false,"SmoothPlastic")
| |
| 841 | local m = Mesh(p,"FileMesh",Vector3.new(size/2,size*2,size/2),asset..meshes["spike"]) | |
| 842 | q(function(pa,me) | |
| 843 | appear(pa,1) | |
| 844 | for i=1,size,.5 do | |
| 845 | wait(1/30) | |
| 846 | pa.CFrame = pa.CFrame*CFrame.new(0,.5,0) | |
| 847 | end | |
| 848 | wait(math.random(2,3))fade(pa,0) | |
| 849 | Delay(3,function()pa:Destroy()end) | |
| 850 | end,{p,m})
| |
| 851 | end | |
| 852 | function placePart(origin,size,color,material) | |
| 853 | local p = Part("Effect",workspace,Vector3.new(size,size,size),origin*CFrame.Angles(rand(5),rand(5),rand(5)),color,0,true,true,material)
| |
| 854 | local m = Mesh(p,"Brick") | |
| 855 | q(function(pa,me) | |
| 856 | wait(5) | |
| 857 | fade(pa,0) | |
| 858 | Delay(1.25,function()pa:Destroy()end) | |
| 859 | end,{p,m})
| |
| 860 | end | |
| 861 | function placePartRandSize(origin,min,max,color,material) | |
| 862 | local p = Part("Effect",workspace,Vector3.new(math.random(min,max),math.random(min,max),math.random(min,max)),origin*CFrame.Angles(rand(5),rand(5),rand(5)),color,0,true,true,material)
| |
| 863 | local m = Mesh(p,"Brick") | |
| 864 | q(function(pa,me) | |
| 865 | wait(5) | |
| 866 | fade(pa,0) | |
| 867 | Delay(1.25,function()pa:Destroy()end) | |
| 868 | end,{p,m})
| |
| 869 | end | |
| 870 | function crater(origin,dist) | |
| 871 | local b = workspace.Base | |
| 872 | local bc = b and tostring(b.BrickColor) or "Bright green" | |
| 873 | local m = b and b.Material or "Grass" | |
| 874 | for i=0,360,30 do | |
| 875 | local cf = origin*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,dist)*CFrame.Angles(math.rad(i/30),0,rand(5)) | |
| 876 | placePartRandSize(cf,5,15,bc,m) | |
| 877 | end | |
| 878 | end | |
| 879 | function cylinderExplode(origin,color,size,ysize) | |
| 880 | local p = Part("Effect",workspace,Vector3.new(size,ysize or size,size),origin,color,.2,true,false,"SmoothPlastic")
| |
| 881 | local m = Instance.new("CylinderMesh",p)
| |
| 882 | q(function(pa,me) | |
| 883 | for i=.2,1,.0075 do | |
| 884 | me.Scale = me.Scale+Vector3.new(.1,0,.1) | |
| 885 | pa.Transparency = i | |
| 886 | wait(1/30) | |
| 887 | end | |
| 888 | pa:Destroy() | |
| 889 | end,{p,m})
| |
| 890 | end | |
| 891 | function ringExplode(origin,color,size) | |
| 892 | local p = Part("Effect",workspace,Vector3.new(1,1,1),origin,color,.2,true,false,"SmoothPlastic")
| |
| 893 | local m = Mesh(p,"FileMesh",Vector3.new(size,size,1),asset..meshes["ring"]) | |
| 894 | q(function(pa,me) | |
| 895 | for i=.2,1,.0075 do | |
| 896 | me.Scale = me.Scale+Vector3.new(0.25,0.25,0) | |
| 897 | pa.Transparency = i | |
| 898 | wait(1/30) | |
| 899 | end | |
| 900 | pa:Destroy() | |
| 901 | end,{p,m})
| |
| 902 | end | |
| 903 | function crownExplode(origin,color,size) | |
| 904 | local p = Part("Effect",workspace,Vector3.new(size,size,size),origin,color,.2,true,false,"SmoothPlastic")
| |
| 905 | local m = Mesh(p,"FileMesh",Vector3.new(size/2,size/2,size/2),asset..meshes["crown"]) | |
| 906 | q(function(pa,me) | |
| 907 | for i=.2,1,.025 do | |
| 908 | me.Scale = me.Scale+Vector3.new(0.75,0.75,0.75) | |
| 909 | pa.Transparency = i | |
| 910 | wait(1/30) | |
| 911 | end | |
| 912 | pa:Destroy() | |
| 913 | end,{p,m})
| |
| 914 | end | |
| 915 | function glitter(origin,color) | |
| 916 | local p = Part("Effect",workspace,Vector3.new(0.75,0.75,0.75),origin*CFrame.new(rand(5),rand(5),rand(5))*CFrame.Angles(rand(5),rand(5),rand(5)),color,0,true,false,"SmoothPlastic")
| |
| 917 | local m = Mesh(p,"Brick",Vector3.new(1,1,1)) | |
| 918 | q(function(pa,me) | |
| 919 | fade(pa,0) | |
| 920 | for i=0,1,.05 do | |
| 921 | me.Scale = me.Scale-Vector3.new(0.05,0.05,0.05) | |
| 922 | wait(1/30) | |
| 923 | end | |
| 924 | pa:Destroy() | |
| 925 | end,{p,m})
| |
| 926 | end | |
| 927 | function sphereExtend(origin,color,size) | |
| 928 | local p = Part("Effect",workspace,Vector3.new(size,size,size),origin,color,0,true,false,"SmoothPlastic")
| |
| 929 | local m = Mesh(p,"Sphere") | |
| 930 | q(function(pa,me) | |
| 931 | for i=0,1,0.05 do | |
| 932 | me.Scale = me.Scale+Vector3.new(0,i*10,0) | |
| 933 | pa.Transparency = i | |
| 934 | wait(1/30) | |
| 935 | end | |
| 936 | pa:Destroy() | |
| 937 | end,{p,m})
| |
| 938 | end | |
| 939 | function quickSound(id,v) | |
| 940 | local s = Instance.new("Sound",workspace)
| |
| 941 | s.SoundId = id | |
| 942 | s.PlayOnRemove = true | |
| 943 | s.Volume = v or 1 | |
| 944 | delay(0.025,function()s:remove()end) | |
| 945 | end | |
| 946 | function checkDmgArea(origin,dmg,d) | |
| 947 | for i,v in pairs(workspace:children())do | |
| 948 | if v~=char and v:FindFirstChild("Torso") then
| |
| 949 | local h; | |
| 950 | for _,k in pairs(v:children())do if k:IsA("Humanoid") then h = k end end
| |
| 951 | local dist = (origin.p - v:FindFirstChild("Torso").CFrame.p).magnitude
| |
| 952 | if dist < d and h~=nil then | |
| 953 | h.Health = h.Health - dmg | |
| 954 | end | |
| 955 | end | |
| 956 | end | |
| 957 | end | |
| 958 | ||
| 959 | ||
| 960 | ||
| 961 | p1 = Instance.new("Part", Cha)
| |
| 962 | p1.BrickColor = BrickColor.new("Really black")
| |
| 963 | p1.FormFactor = Enum.FormFactor.Custom | |
| 964 | p1.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 965 | p1.CFrame = CFrame.new(-0.0500000007, 10.3249998, 8.20000172, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 966 | p1.Anchored = false | |
| 967 | p1.CanCollide = false | |
| 968 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
| 969 | p1.TopSurface = Enum.SurfaceType.Smooth | |
| 970 | b1 = Instance.new("SpecialMesh", p1)
| |
| 971 | b1.MeshType = Enum.MeshType.Brick | |
| 972 | b1.Name = "Mesh" | |
| 973 | b1.Scale = Vector3.new(0.50000006, 0.75, 0.50000006) | |
| 974 | p2 = Instance.new("Part", Cha)
| |
| 975 | p2.BrickColor = BrickColor.new("Really black")
| |
| 976 | p2.FormFactor = Enum.FormFactor.Custom | |
| 977 | p2.Size = Vector3.new(0.200000003, 0.200000003, 2) | |
| 978 | p2.CFrame = CFrame.new(-0.0500000007, 10.3249998, 12.4000015, -1, -1.50995803e-007, 0, -1.50995803e-007, 1, -1.50995803e-007, 2.27997332e-014, -1.50995803e-007, -1) | |
| 979 | p2.Anchored = false | |
| 980 | p2.CanCollide = false | |
| 981 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
| 982 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 983 | b2 = Instance.new("SpecialMesh", p2)
| |
| 984 | b2.MeshType = Enum.MeshType.Brick | |
| 985 | b2.Name = "Mesh" | |
| 986 | b2.Scale = Vector3.new(0.99999994, 0.750000238, 1) | |
| 987 | p3 = Instance.new("Part", Cha)
| |
| 988 | p3.BrickColor = BrickColor.new("Really black")
| |
| 989 | p3.FormFactor = Enum.FormFactor.Custom | |
| 990 | p3.Size = Vector3.new(0.200000003, 0.200000003, 0.50000006) | |
| 991 | p3.CFrame = CFrame.new(-0.0500000007, 10.4749994, 11.8000002, -1, -1.50995803e-007, 0, -1.50995803e-007, 1, -1.50995803e-007, 2.27997332e-014, -1.50995803e-007, -1) | |
| 992 | p3.Anchored = false | |
| 993 | p3.CanCollide = false | |
| 994 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 995 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 996 | b3 = Instance.new("SpecialMesh", p3)
| |
| 997 | b3.MeshType = Enum.MeshType.Brick | |
| 998 | b3.Name = "Mesh" | |
| 999 | b3.Scale = Vector3.new(0.99999994, 0.750000298, 1) | |
| 1000 | p4 = Instance.new("Part", Cha)
| |
| 1001 | p4.BrickColor = BrickColor.new("Really black")
| |
| 1002 | p4.FormFactor = Enum.FormFactor.Custom | |
| 1003 | p4.Size = Vector3.new(0.200000003, 0.200000003, 3.40000033) | |
| 1004 | p4.CFrame = CFrame.new(-0.0500000007, 10.1999998, 12.0000019, -1, -1.50995803e-007, 0, -1.50995803e-007, 1, -1.50995803e-007, 2.27997332e-014, -1.50995803e-007, -1) | |
| 1005 | p4.Anchored = false | |
| 1006 | p4.CanCollide = false | |
| 1007 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
| 1008 | p4.TopSurface = Enum.SurfaceType.Smooth | |
| 1009 | b4 = Instance.new("SpecialMesh", p4)
| |
| 1010 | b4.MeshType = Enum.MeshType.Brick | |
| 1011 | b4.Name = "Mesh" | |
| 1012 | b4.Scale = Vector3.new(0.99999994, 0.500000179, 1) | |
| 1013 | p5 = Instance.new("Part", Cha)
| |
| 1014 | p5.BrickColor = BrickColor.new("Really black")
| |
| 1015 | p5.FormFactor = Enum.FormFactor.Custom | |
| 1016 | p5.Size = Vector3.new(0.25, 0.200000003, 0.200000003) | |
| 1017 | p5.CFrame = CFrame.new(-0.0500000007, 10.5249987, 11.9500017, 1, 1.50995803e-007, 0, -1.50995803e-007, 1, -6.60023616e-015, 0, 6.60023616e-015, 1) | |
| 1018 | p5.Anchored = false | |
| 1019 | p5.CanCollide = false | |
| 1020 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
| 1021 | p5.TopSurface = Enum.SurfaceType.Smooth | |
| 1022 | b5 = Instance.new("SpecialMesh", p5)
| |
| 1023 | b5.MeshType = Enum.MeshType.Cylinder | |
| 1024 | b5.Name = "Mesh" | |
| 1025 | b5.Scale = Vector3.new(1, 0.875, 0.875) | |
| 1026 | p6 = Instance.new("Part", Cha)
| |
| 1027 | p6.BrickColor = BrickColor.new("Really black")
| |
| 1028 | p6.FormFactor = Enum.FormFactor.Custom | |
| 1029 | p6.Size = Vector3.new(1.45000005, 0.200000003, 0.200000003) | |
| 1030 | p6.CFrame = CFrame.new(-0.0500000231, 10.2249994, 7.57500076, -4.37113883e-008, 0, 1, -1.50995803e-007, 1, -6.60023616e-015, -1, -1.50995803e-007, -4.37113883e-008) | |
| 1031 | p6.Anchored = false | |
| 1032 | p6.CanCollide = false | |
| 1033 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
| 1034 | p6.TopSurface = Enum.SurfaceType.Smooth | |
| 1035 | b6 = Instance.new("SpecialMesh", p6)
| |
| 1036 | b6.MeshType = Enum.MeshType.Cylinder | |
| 1037 | b6.Name = "Mesh" | |
| 1038 | b6.Scale = Vector3.new(1, 0.5, 0.5) | |
| 1039 | p7 = Instance.new("Part", Cha)
| |
| 1040 | p7.BrickColor = BrickColor.new("Pastel brown")
| |
| 1041 | p7.Transparency = 1 | |
| 1042 | p7.FormFactor = Enum.FormFactor.Custom | |
| 1043 | p7.Size = Vector3.new(0.5, 0.5, 1) | |
| 1044 | p7.CFrame = CFrame.new(-0.0500000007, 9.75, 12.8249979, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1045 | p7.Anchored = false | |
| 1046 | p7.CanCollide = false | |
| 1047 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
| 1048 | p7.TopSurface = Enum.SurfaceType.Smooth | |
| 1049 | b7 = Instance.new("SpecialMesh", p7)
| |
| 1050 | b7.MeshType = Enum.MeshType.Brick | |
| 1051 | b7.Name = "Mesh" | |
| 1052 | p8 = Instance.new("Part", Cha)
| |
| 1053 | p8.BrickColor = BrickColor.new("Really black")
| |
| 1054 | p8.FormFactor = Enum.FormFactor.Custom | |
| 1055 | p8.Size = Vector3.new(0.200000003, 0.25000003, 3.5) | |
| 1056 | p8.CFrame = CFrame.new(-0.0500000007, 10.0749998, 12.0500021, -1, -1.50995803e-007, 0, -1.50995803e-007, 1, -1.50995803e-007, 2.27997332e-014, -1.50995803e-007, -1) | |
| 1057 | p8.Anchored = false | |
| 1058 | p8.CanCollide = false | |
| 1059 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
| 1060 | p8.TopSurface = Enum.SurfaceType.Smooth | |
| 1061 | b8 = Instance.new("SpecialMesh", p8)
| |
| 1062 | b8.MeshType = Enum.MeshType.Brick | |
| 1063 | b8.Name = "Mesh" | |
| 1064 | b8.Scale = Vector3.new(0.99999994, 1, 1) | |
| 1065 | p9 = Instance.new("Part", Cha)
| |
| 1066 | p9.BrickColor = BrickColor.new("Really black")
| |
| 1067 | p9.FormFactor = Enum.FormFactor.Custom | |
| 1068 | p9.Size = Vector3.new(0.200000003, 0.200000003, 0.300000131) | |
| 1069 | p9.CFrame = CFrame.new(-0.0500000007, 10.0999994, 14.7750015, -4.37113883e-008, 0, -1, -1.50995803e-007, 1, 6.60023616e-015, 1, 1.50995803e-007, -4.37113883e-008) | |
| 1070 | p9.Anchored = false | |
| 1071 | p9.CanCollide = false | |
| 1072 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
| 1073 | p9.TopSurface = Enum.SurfaceType.Smooth | |
| 1074 | b9 = Instance.new("SpecialMesh", p9)
| |
| 1075 | b9.MeshType = Enum.MeshType.Cylinder | |
| 1076 | b9.Name = "Mesh" | |
| 1077 | b9.Scale = Vector3.new(0.5, 0.99999994, 1) | |
| 1078 | p10 = Instance.new("Part", Cha)
| |
| 1079 | p10.BrickColor = BrickColor.new("Really black")
| |
| 1080 | p10.FormFactor = Enum.FormFactor.Custom | |
| 1081 | p10.Size = Vector3.new(0.200000003, 0.5, 0.800000012) | |
| 1082 | p10.CFrame = CFrame.new(-0.0500000007, 9.82392216, 12.5223665, -1, -1.50995803e-007, 0, -1.49526329e-007, 0.990268111, -0.139172941, 2.10145306e-008, -0.139172941, -0.990268111) | |
| 1083 | p10.Anchored = false | |
| 1084 | p10.CanCollide = false | |
| 1085 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
| 1086 | p10.TopSurface = Enum.SurfaceType.Smooth | |
| 1087 | b10 = Instance.new("SpecialMesh", p10)
| |
| 1088 | b10.MeshType = Enum.MeshType.Brick | |
| 1089 | b10.Name = "Mesh" | |
| 1090 | b10.Scale = Vector3.new(0.99999994, 1, 1) | |
| 1091 | p11 = Instance.new("Part", Cha)
| |
| 1092 | p11.BrickColor = BrickColor.new("Really black")
| |
| 1093 | p11.FormFactor = Enum.FormFactor.Custom | |
| 1094 | p11.Size = Vector3.new(0.200000003, 0.200000003, 0.300000012) | |
| 1095 | p11.CFrame = CFrame.new(-0.0500000007, 9.6954546, 13.0453367, -1, -1.50995803e-007, 0, -1.49526329e-007, 0.990268111, -0.139172941, 2.10145306e-008, -0.139172941, -0.990268111) | |
| 1096 | p11.Anchored = false | |
| 1097 | p11.CanCollide = false | |
| 1098 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
| 1099 | p11.TopSurface = Enum.SurfaceType.Smooth | |
| 1100 | b11 = Instance.new("SpecialMesh", p11)
| |
| 1101 | b11.MeshType = Enum.MeshType.Brick | |
| 1102 | b11.Name = "Mesh" | |
| 1103 | b11.Scale = Vector3.new(0.99999994, 0.500000119, 1) | |
| 1104 | p12 = Instance.new("Part", Cha)
| |
| 1105 | p12.BrickColor = BrickColor.new("Really black")
| |
| 1106 | p12.FormFactor = Enum.FormFactor.Custom | |
| 1107 | p12.Size = Vector3.new(0.200000003, 0.450000048, 0.200000003) | |
| 1108 | p12.CFrame = CFrame.new(-0.0500000007, 9.8826685, 13.1200056, -1, -1.50995803e-007, 0, -1.49526329e-007, 0.990268111, -0.139172941, 2.10145306e-008, -0.139172941, -0.990268111) | |
| 1109 | p12.Anchored = false | |
| 1110 | p12.CanCollide = false | |
| 1111 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
| 1112 | p12.TopSurface = Enum.SurfaceType.Smooth | |
| 1113 | b12 = Instance.new("SpecialMesh", p12)
| |
| 1114 | b12.MeshType = Enum.MeshType.Brick | |
| 1115 | b12.Name = "Mesh" | |
| 1116 | b12.Scale = Vector3.new(0.99999994, 1, 0.50000006) | |
| 1117 | p13 = Instance.new("Part", Cha)
| |
| 1118 | p13.BrickColor = BrickColor.new("Really black")
| |
| 1119 | p13.FormFactor = Enum.FormFactor.Custom | |
| 1120 | p13.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 1121 | p13.CFrame = CFrame.new(-0.0500000007, 9.86914063, 12.0564413, -4.37113883e-008, 0, 1, -0.139172822, 0.990268111, -6.08343731e-009, -0.990268111, -0.139172822, -4.32859935e-008) | |
| 1122 | p13.Anchored = false | |
| 1123 | p13.CanCollide = false | |
| 1124 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
| 1125 | p13.TopSurface = Enum.SurfaceType.Smooth | |
| 1126 | b13 = Instance.new("SpecialMesh", p13)
| |
| 1127 | b13.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1128 | b13.TextureId = "" | |
| 1129 | b13.MeshType = Enum.MeshType.FileMesh | |
| 1130 | b13.Name = "Mesh" | |
| 1131 | b13.Scale = Vector3.new(0.5, 0.5, 0.349999994) | |
| 1132 | p14 = Instance.new("Part", Cha)
| |
| 1133 | p14.BrickColor = BrickColor.new("Really black")
| |
| 1134 | p14.FormFactor = Enum.FormFactor.Custom | |
| 1135 | p14.Size = Vector3.new(0.600000024, 0.200000003, 0.249999896) | |
| 1136 | p14.CFrame = CFrame.new(-0.0500000007, 10.0249996, 14.1000032, -4.37113883e-008, 0, 1, -1.50995803e-007, 1, -6.60023616e-015, -1, -1.50995803e-007, -4.37113883e-008) | |
| 1137 | p14.Anchored = false | |
| 1138 | p14.CanCollide = false | |
| 1139 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
| 1140 | p14.TopSurface = Enum.SurfaceType.Smooth | |
| 1141 | b14 = Instance.new("SpecialMesh", p14)
| |
| 1142 | b14.MeshType = Enum.MeshType.Cylinder | |
| 1143 | b14.Name = "Mesh" | |
| 1144 | b14.Scale = Vector3.new(1, 0.750000179, 1) | |
| 1145 | p15 = Instance.new("Part", Cha)
| |
| 1146 | p15.BrickColor = BrickColor.new("Really black")
| |
| 1147 | p15.FormFactor = Enum.FormFactor.Custom | |
| 1148 | p15.Size = Vector3.new(0.200000003, 0.200000003, 0.44999975) | |
| 1149 | p15.CFrame = CFrame.new(-0.0500000007, 10.0250006, 14.5500021, -1, -1.50995803e-007, 0, -1.50995803e-007, 1, -1.50995803e-007, 2.27997332e-014, -1.50995803e-007, -1) | |
| 1150 | p15.Anchored = false | |
| 1151 | p15.CanCollide = false | |
| 1152 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
| 1153 | p15.TopSurface = Enum.SurfaceType.Smooth | |
| 1154 | b15 = Instance.new("SpecialMesh", p15)
| |
| 1155 | b15.MeshType = Enum.MeshType.Brick | |
| 1156 | b15.Name = "Mesh" | |
| 1157 | b15.Scale = Vector3.new(0.99999994, 0.750000179, 1) | |
| 1158 | p16 = Instance.new("Part", Cha)
| |
| 1159 | p16.BrickColor = BrickColor.new("Really black")
| |
| 1160 | p16.FormFactor = Enum.FormFactor.Custom | |
| 1161 | p16.Size = Vector3.new(1.20000005, 0.200000003, 0.200000003) | |
| 1162 | p16.CFrame = CFrame.new(-0.0500000007, 10.7749996, 10.8750019, -4.37113883e-008, 0, 1, -1.50995803e-007, 1, -6.60023616e-015, -1, -1.50995803e-007, -4.37113883e-008) | |
| 1163 | p16.Anchored = false | |
| 1164 | p16.CanCollide = false | |
| 1165 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
| 1166 | p16.TopSurface = Enum.SurfaceType.Smooth | |
| 1167 | b16 = Instance.new("SpecialMesh", p16)
| |
| 1168 | b16.MeshType = Enum.MeshType.Cylinder | |
| 1169 | b16.Name = "Mesh" | |
| 1170 | p17 = Instance.new("Part", Cha)
| |
| 1171 | p17.BrickColor = BrickColor.new("Really black")
| |
| 1172 | p17.FormFactor = Enum.FormFactor.Custom | |
| 1173 | p17.Size = Vector3.new(0.200000003, 0.75, 0.200000003) | |
| 1174 | p17.CFrame = CFrame.new(-0.0500000007, 9.72500038, 14.7750015, -1, -1.50995803e-007, 0, -1.50995803e-007, 1, -1.50995803e-007, 2.27997332e-014, -1.50995803e-007, -1) | |
| 1175 | p17.Anchored = false | |
| 1176 | p17.CanCollide = false | |
| 1177 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
| 1178 | p17.TopSurface = Enum.SurfaceType.Smooth | |
| 1179 | b17 = Instance.new("SpecialMesh", p17)
| |
| 1180 | b17.MeshType = Enum.MeshType.Brick | |
| 1181 | b17.Name = "Mesh" | |
| 1182 | b17.Scale = Vector3.new(0.99999994, 1, 0.500000715) | |
| 1183 | p18 = Instance.new("Part", Cha)
| |
| 1184 | p18.BrickColor = BrickColor.new("Really black")
| |
| 1185 | p18.FormFactor = Enum.FormFactor.Custom | |
| 1186 | p18.Size = Vector3.new(0.200000003, 0.200000003, 0.650000095) | |
| 1187 | p18.CFrame = CFrame.new(-0.0500000007, 10.5499992, 11.5250006, -1, -1.50995803e-007, 0, -1.50995803e-007, 1, -1.50995803e-007, 2.27997332e-014, -1.50995803e-007, -1) | |
| 1188 | p18.Anchored = false | |
| 1189 | p18.CanCollide = false | |
| 1190 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
| 1191 | p18.TopSurface = Enum.SurfaceType.Smooth | |
| 1192 | b18 = Instance.new("SpecialMesh", p18)
| |
| 1193 | b18.MeshType = Enum.MeshType.Brick | |
| 1194 | b18.Name = "Mesh" | |
| 1195 | b18.Scale = Vector3.new(0.99999994, 0.500000358, 1) | |
| 1196 | p19 = Instance.new("Part", Cha)
| |
| 1197 | p19.BrickColor = BrickColor.new("Really black")
| |
| 1198 | p19.FormFactor = Enum.FormFactor.Custom | |
| 1199 | p19.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 1200 | p19.CFrame = CFrame.new(-0.0500000007, 10.6750002, 11.3250027, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1201 | p19.Anchored = false | |
| 1202 | p19.CanCollide = false | |
| 1203 | p19.BottomSurface = Enum.SurfaceType.Smooth | |
| 1204 | p19.TopSurface = Enum.SurfaceType.Smooth | |
| 1205 | b19 = Instance.new("SpecialMesh", p19)
| |
| 1206 | b19.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1207 | b19.TextureId = "" | |
| 1208 | b19.MeshType = Enum.MeshType.FileMesh | |
| 1209 | b19.Name = "Mesh" | |
| 1210 | b19.Scale = Vector3.new(0.25, 0.25, 0.349999994) | |
| 1211 | p20 = Instance.new("Part", Cha)
| |
| 1212 | p20.BrickColor = BrickColor.new("Really black")
| |
| 1213 | p20.FormFactor = Enum.FormFactor.Custom | |
| 1214 | p20.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 1215 | p20.CFrame = CFrame.new(-0.0500000007, 10.874999, 10.8750019, -1.07284414e-007, 1, -5.21080397e-015, 1, 1.07284414e-007, 3.17865059e-008, 3.17865059e-008, -1.80060697e-015, -1) | |
| 1216 | p20.Anchored = false | |
| 1217 | p20.CanCollide = false | |
| 1218 | p20.BottomSurface = Enum.SurfaceType.Smooth | |
| 1219 | p20.TopSurface = Enum.SurfaceType.Smooth | |
| 1220 | b20 = Instance.new("SpecialMesh", p20)
| |
| 1221 | b20.MeshType = Enum.MeshType.Cylinder | |
| 1222 | b20.Name = "Mesh" | |
| 1223 | b20.Scale = Vector3.new(0.500000358, 1, 1) | |
| 1224 | p21 = Instance.new("Part", Cha)
| |
| 1225 | p21.BrickColor = BrickColor.new("Really black")
| |
| 1226 | p21.FormFactor = Enum.FormFactor.Custom | |
| 1227 | p21.Size = Vector3.new(0.300000072, 0.200000003, 0.200000003) | |
| 1228 | p21.CFrame = CFrame.new(-0.0500000007, 10.7749996, 10.8750019, -1, -1.50995803e-007, -3.17865059e-008, -1.50995803e-007, 1, -6.60023616e-015, 3.17865059e-008, -1.80060697e-015, -1) | |
| 1229 | p21.Anchored = false | |
| 1230 | p21.CanCollide = false | |
| 1231 | p21.BottomSurface = Enum.SurfaceType.Smooth | |
| 1232 | p21.TopSurface = Enum.SurfaceType.Smooth | |
| 1233 | b21 = Instance.new("SpecialMesh", p21)
| |
| 1234 | b21.MeshType = Enum.MeshType.Cylinder | |
| 1235 | b21.Name = "Mesh" | |
| 1236 | p22 = Instance.new("Part", Cha)
| |
| 1237 | p22.BrickColor = BrickColor.new("Really black")
| |
| 1238 | p22.FormFactor = Enum.FormFactor.Custom | |
| 1239 | p22.Size = Vector3.new(0.5, 0.200000003, 0.5) | |
| 1240 | p22.CFrame = CFrame.new(-0.0500000007, 10.7749996, 11.3499994, -1, 8.74227766e-008, 0, 0, 0, -1, -8.74227766e-008, -1, 0) | |
| 1241 | p22.Anchored = false | |
| 1242 | p22.CanCollide = false | |
| 1243 | p22.BottomSurface = Enum.SurfaceType.Smooth | |
| 1244 | p22.TopSurface = Enum.SurfaceType.Smooth | |
| 1245 | b22 = Instance.new("SpecialMesh", p22)
| |
| 1246 | b22.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 1247 | b22.TextureId = "" | |
| 1248 | b22.MeshType = Enum.MeshType.FileMesh | |
| 1249 | b22.Name = "Mesh" | |
| 1250 | b22.VertexColor = Vector3.new(3.00000003e+015, 2.99999995e+031, 3.00000003e+015) | |
| 1251 | b22.Scale = Vector3.new(0.100000001, 1, 0.100000001) | |
| 1252 | p23 = Instance.new("Part", Cha)
| |
| 1253 | p23.BrickColor = BrickColor.new("Really black")
| |
| 1254 | p23.FormFactor = Enum.FormFactor.Custom | |
| 1255 | p23.Size = Vector3.new(0.5, 0.5, 0.5) | |
| 1256 | p23.CFrame = CFrame.new(-0.0499995016, 10.7749996, 10.0999994, 1, 0, 0, 0, 0, -1, 0, 1, 0) | |
| 1257 | p23.Anchored = false | |
| 1258 | p23.CanCollide = false | |
| 1259 | p23.BottomSurface = Enum.SurfaceType.Smooth | |
| 1260 | p23.TopSurface = Enum.SurfaceType.Smooth | |
| 1261 | b23 = Instance.new("SpecialMesh", p23)
| |
| 1262 | b23.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
| 1263 | b23.TextureId = "" | |
| 1264 | b23.MeshType = Enum.MeshType.FileMesh | |
| 1265 | b23.Name = "Mesh" | |
| 1266 | b23.VertexColor = Vector3.new(3.00000003e+015, 2.99999995e+031, 3.00000003e+015) | |
| 1267 | b23.Scale = Vector3.new(0.200000003, 1, 0.200000003) | |
| 1268 | p24 = Instance.new("Part", Cha)
| |
| 1269 | p24.BrickColor = BrickColor.new("Really black")
| |
| 1270 | p24.FormFactor = Enum.FormFactor.Custom | |
| 1271 | p24.Size = Vector3.new(0.200000003, 0.224999994, 0.224999994) | |
| 1272 | p24.CFrame = CFrame.new(-0.0500000007, 10.7749996, 10.2750015, -4.37113883e-008, 0, 1, -1.50995803e-007, 1, -6.60023616e-015, -1, -1.50995803e-007, -4.37113883e-008) | |
| 1273 | p24.Anchored = false | |
| 1274 | p24.CanCollide = false | |
| 1275 | p24.BottomSurface = Enum.SurfaceType.Smooth | |
| 1276 | p24.TopSurface = Enum.SurfaceType.Smooth | |
| 1277 | b24 = Instance.new("SpecialMesh", p24)
| |
| 1278 | b24.MeshType = Enum.MeshType.Cylinder | |
| 1279 | b24.Name = "Mesh" | |
| 1280 | b24.Scale = Vector3.new(0.500000119, 1, 1) | |
| 1281 | p25 = Instance.new("Part", Cha)
| |
| 1282 | p25.BrickColor = BrickColor.new("Really black")
| |
| 1283 | p25.FormFactor = Enum.FormFactor.Custom | |
| 1284 | p25.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 1285 | p25.CFrame = CFrame.new(-0.0500000007, 10.5249996, 10.3000031, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 1286 | p25.Anchored = false | |
| 1287 | p25.CanCollide = false | |
| 1288 | p25.BottomSurface = Enum.SurfaceType.Smooth | |
| 1289 | p25.TopSurface = Enum.SurfaceType.Smooth | |
| 1290 | b25 = Instance.new("SpecialMesh", p25)
| |
| 1291 | b25.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 1292 | b25.TextureId = "" | |
| 1293 | b25.MeshType = Enum.MeshType.FileMesh | |
| 1294 | b25.Name = "Mesh" | |
| 1295 | b25.Scale = Vector3.new(0.25, 0.5, 0.349999994) | |
| 1296 | p26 = Instance.new("Part", Cha)
| |
| 1297 | p26.BrickColor = BrickColor.new("Really black")
| |
| 1298 | p26.FormFactor = Enum.FormFactor.Custom | |
| 1299 | p26.Size = Vector3.new(0.200000003, 1.20000005, 0.5) | |
| 1300 | p26.CFrame = CFrame.new(-0.0500000007, 9.51616573, 10.9198675, -1, -1.50995803e-007, 0, -1.40000864e-007, 0.927183807, 0.374606699, -5.65640406e-008, 0.374606699, -0.927183807) | |
| 1301 | p26.Anchored = false | |
| 1302 | p26.CanCollide = false | |
| 1303 | p26.BottomSurface = Enum.SurfaceType.Smooth | |
| 1304 | p26.TopSurface = Enum.SurfaceType.Smooth | |
| 1305 | b26 = Instance.new("SpecialMesh", p26)
| |
| 1306 | b26.MeshType = Enum.MeshType.Brick | |
| 1307 | b26.Name = "Mesh" | |
| 1308 | b26.Scale = Vector3.new(0.99999994, 1, 1) | |
| 1309 | p27 = Instance.new("Part", Cha)
| |
| 1310 | p27.BrickColor = BrickColor.new("Really black")
| |
| 1311 | p27.FormFactor = Enum.FormFactor.Custom | |
| 1312 | p27.Size = Vector3.new(0.200000003, 1, 0.200000003) | |
| 1313 | p27.CFrame = CFrame.new(-0.275000006, 9.72679424, 9.47500324, -0.866025388, 0.50000006, 0, 0.50000006, 0.866025388, -1.50995803e-007, -7.54979084e-008, -1.30766196e-007, -1) | |
| 1314 | p27.Anchored = false | |
| 1315 | p27.CanCollide = false | |
| 1316 | p27.BottomSurface = Enum.SurfaceType.Smooth | |
| 1317 | p27.TopSurface = Enum.SurfaceType.Smooth | |
| 1318 | b27 = Instance.new("SpecialMesh", p27)
| |
| 1319 | b27.MeshType = Enum.MeshType.Brick | |
| 1320 | b27.Name = "Mesh" | |
| 1321 | b27.Scale = Vector3.new(0.5, 1, 0.750000119) | |
| 1322 | p28 = Instance.new("Part", Cha)
| |
| 1323 | p28.BrickColor = BrickColor.new("Really black")
| |
| 1324 | p28.FormFactor = Enum.FormFactor.Custom | |
| 1325 | p28.Size = Vector3.new(0.200000003, 0.200000003, 0.550000012) | |
| 1326 | p28.CFrame = CFrame.new(-0.0500000007, 9.92500019, 9.52500153, -1, -1.50995803e-007, 0, -1.50995803e-007, 1, -1.50995803e-007, 2.27997332e-014, -1.50995803e-007, -1) | |
| 1327 | p28.Anchored = false | |
| 1328 | p28.CanCollide = false | |
| 1329 | p28.BottomSurface = Enum.SurfaceType.Smooth | |
| 1330 | p28.TopSurface = Enum.SurfaceType.Smooth | |
| 1331 | b28 = Instance.new("SpecialMesh", p28)
| |
| 1332 | b28.MeshType = Enum.MeshType.Brick | |
| 1333 | b28.Name = "Mesh" | |
| 1334 | b28.Scale = Vector3.new(0.99999994, 0.750000417, 1) | |
| 1335 | p29 = Instance.new("Part", Cha)
| |
| 1336 | p29.BrickColor = BrickColor.new("Really black")
| |
| 1337 | p29.FormFactor = Enum.FormFactor.Custom | |
| 1338 | p29.Size = Vector3.new(0.200000003, 0.50000006, 1.25) | |
| 1339 | p29.CFrame = CFrame.new(-0.0500000007, 10.1999998, 9.72500229, -1, -1.50995803e-007, 0, -1.50995803e-007, 1, -1.50995803e-007, 2.27997332e-014, -1.50995803e-007, -1) | |
| 1340 | p29.Anchored = false | |
| 1341 | p29.CanCollide = false | |
| 1342 | p29.BottomSurface = Enum.SurfaceType.Smooth | |
| 1343 | p29.TopSurface = Enum.SurfaceType.Smooth | |
| 1344 | b29 = Instance.new("SpecialMesh", p29)
| |
| 1345 | b29.MeshType = Enum.MeshType.Brick | |
| 1346 | b29.Name = "Mesh" | |
| 1347 | b29.Scale = Vector3.new(0.99999994, 1, 1) | |
| 1348 | p30 = Instance.new("Part", Cha)
| |
| 1349 | p30.BrickColor = BrickColor.new("Really black")
| |
| 1350 | p30.FormFactor = Enum.FormFactor.Custom | |
| 1351 | p30.Size = Vector3.new(0.200000003, 0.450000018, 0.200000003) | |
| 1352 | p30.CFrame = CFrame.new(-0.562499523, 9.22882938, 9.47500324, -0.866025388, 0.50000006, 0, 0.50000006, 0.866025388, -1.50995803e-007, -7.54979084e-008, -1.30766196e-007, -1) | |
| 1353 | p30.Anchored = false | |
| 1354 | p30.CanCollide = false | |
| 1355 | p30.BottomSurface = Enum.SurfaceType.Smooth | |
| 1356 | p30.TopSurface = Enum.SurfaceType.Smooth | |
| 1357 | b30 = Instance.new("SpecialMesh", p30)
| |
| 1358 | b30.MeshType = Enum.MeshType.Brick | |
| 1359 | b30.Name = "Mesh" | |
| 1360 | b30.Scale = Vector3.new(0.625, 1, 0.875) | |
| 1361 | p31 = Instance.new("Part", Cha)
| |
| 1362 | p31.BrickColor = BrickColor.new("Really black")
| |
| 1363 | p31.FormFactor = Enum.FormFactor.Custom | |
| 1364 | p31.Size = Vector3.new(0.200000003, 0.899999976, 0.5) | |
| 1365 | p31.CFrame = CFrame.new(-0.0500000007, 9.20888424, 12.4573278, -1, -1.50995803e-007, 0, -1.49526329e-007, 0.990268111, -0.139172941, 2.10145306e-008, -0.139172941, -0.990268111) | |
| 1366 | p31.Anchored = false | |
| 1367 | p31.CanCollide = false | |
| 1368 | p31.BottomSurface = Enum.SurfaceType.Smooth | |
| 1369 | p31.TopSurface = Enum.SurfaceType.Smooth | |
| 1370 | b31 = Instance.new("SpecialMesh", p31)
| |
| 1371 | b31.MeshType = Enum.MeshType.Brick | |
| 1372 | b31.Name = "Mesh" | |
| 1373 | b31.Scale = Vector3.new(0.99999994, 1, 1) | |
| 1374 | p32 = Instance.new("Part", Cha)
| |
| 1375 | p32.BrickColor = BrickColor.new("Really black")
| |
| 1376 | p32.FormFactor = Enum.FormFactor.Custom | |
| 1377 | p32.Size = Vector3.new(0.425000012, 0.200000003, 0.275000006) | |
| 1378 | p32.CFrame = CFrame.new(-0.637500525, 9.00382996, 9.47500324, -1, -5.96046448e-008, -7.54979013e-008, -5.96046448e-008, 1, -1.30766196e-007, 7.54979084e-008, -1.30766196e-007, -1) | |
| 1379 | p32.Anchored = false | |
| 1380 | p32.CanCollide = false | |
| 1381 | p32.BottomSurface = Enum.SurfaceType.Smooth | |
| 1382 | p32.TopSurface = Enum.SurfaceType.Smooth | |
| 1383 | b32 = Instance.new("SpecialMesh", p32)
| |
| 1384 | b32.MeshType = Enum.MeshType.Brick | |
| 1385 | b32.Name = "Mesh" | |
| 1386 | b32.Scale = Vector3.new(1, 0.500000119, 1) | |
| 1387 | p33 = Instance.new("Part", Cha)
| |
| 1388 | p33.BrickColor = BrickColor.new("Black")
| |
| 1389 | p33.FormFactor = Enum.FormFactor.Custom | |
| 1390 | p33.Size = Vector3.new(0.899999976, 0.200000003, 0.200000003) | |
| 1391 | p33.CFrame = CFrame.new(-0.0500000007, 10.2249985, 7.10000086, -4.37113883e-008, 0, 1, -1.50995803e-007, 1, -6.60023616e-015, -1, -1.50995803e-007, -4.37113883e-008) | |
| 1392 | p33.Anchored = false | |
| 1393 | p33.CanCollide = false | |
| 1394 | p33.BottomSurface = Enum.SurfaceType.Smooth | |
| 1395 | p33.TopSurface = Enum.SurfaceType.Smooth | |
| 1396 | b33 = Instance.new("SpecialMesh", p33)
| |
| 1397 | b33.MeshType = Enum.MeshType.Cylinder | |
| 1398 | b33.Name = "Mesh" | |
| 1399 | b33.Scale = Vector3.new(1, 0.875, 0.875) | |
| 1400 | p34 = Instance.new("Part", Cha)
| |
| 1401 | p34.BrickColor = BrickColor.new("Really black")
| |
| 1402 | p34.FormFactor = Enum.FormFactor.Custom | |
| 1403 | p34.Size = Vector3.new(0.200000003, 1, 0.200000003) | |
| 1404 | p34.CFrame = CFrame.new(0.174999997, 9.72679424, 9.47500324, -0.866025388, -0.50000006, 0, -0.50000006, 0.866025388, -1.50995803e-007, 7.54979084e-008, -1.30766196e-007, -1) | |
| 1405 | p34.Anchored = false | |
| 1406 | p34.CanCollide = false | |
| 1407 | p34.BottomSurface = Enum.SurfaceType.Smooth | |
| 1408 | p34.TopSurface = Enum.SurfaceType.Smooth | |
| 1409 | b34 = Instance.new("SpecialMesh", p34)
| |
| 1410 | b34.MeshType = Enum.MeshType.Brick | |
| 1411 | b34.Name = "Mesh" | |
| 1412 | b34.Scale = Vector3.new(0.5, 1, 0.750000119) | |
| 1413 | p35 = Instance.new("Part", Cha)
| |
| 1414 | p35.BrickColor = BrickColor.new("Really black")
| |
| 1415 | p35.FormFactor = Enum.FormFactor.Custom | |
| 1416 | p35.Size = Vector3.new(0.200000003, 0.450000018, 0.200000003) | |
| 1417 | p35.CFrame = CFrame.new(0.462500006, 9.22882938, 9.47500324, -0.866025388, -0.50000006, 0, -0.50000006, 0.866025388, -1.50995803e-007, 7.54979084e-008, -1.30766196e-007, -1) | |
| 1418 | p35.Anchored = false | |
| 1419 | p35.CanCollide = false | |
| 1420 | p35.BottomSurface = Enum.SurfaceType.Smooth | |
| 1421 | p35.TopSurface = Enum.SurfaceType.Smooth | |
| 1422 | b35 = Instance.new("SpecialMesh", p35)
| |
| 1423 | b35.MeshType = Enum.MeshType.Brick | |
| 1424 | b35.Name = "Mesh" | |
| 1425 | b35.Scale = Vector3.new(0.625, 1, 0.875) | |
| 1426 | p36 = Instance.new("Part", Cha)
| |
| 1427 | p36.BrickColor = BrickColor.new("Really black")
| |
| 1428 | p36.FormFactor = Enum.FormFactor.Custom | |
| 1429 | p36.Size = Vector3.new(0.299999982, 0.200000003, 0.700000048) | |
| 1430 | p36.CFrame = CFrame.new(-0.0500000007, 8.7949791, 12.5659933, -1, -1.50995803e-007, 0, -1.49526329e-007, 0.990268111, -0.139172941, 2.10145306e-008, -0.139172941, -0.990268111) | |
| 1431 | p36.Anchored = false | |
| 1432 | p36.CanCollide = false | |
| 1433 | p36.BottomSurface = Enum.SurfaceType.Smooth | |
| 1434 | p36.TopSurface = Enum.SurfaceType.Smooth | |
| 1435 | b36 = Instance.new("SpecialMesh", p36)
| |
| 1436 | b36.MeshType = Enum.MeshType.Brick | |
| 1437 | b36.Name = "Mesh" | |
| 1438 | b36.Scale = Vector3.new(1, 0.749999881, 1) | |
| 1439 | p37 = Instance.new("Part", Cha)
| |
| 1440 | p37.BrickColor = BrickColor.new("Really black")
| |
| 1441 | p37.FormFactor = Enum.FormFactor.Custom | |
| 1442 | p37.Size = Vector3.new(0.425000012, 0.200000003, 0.275000006) | |
| 1443 | p37.CFrame = CFrame.new(0.562499523, 9.00382996, 9.47500324, -1, -5.96046448e-008, -7.54979013e-008, -5.96046448e-008, 1, -1.30766196e-007, 7.54979084e-008, -1.30766196e-007, -1) | |
| 1444 | p37.Anchored = false | |
| 1445 | p37.CanCollide = false | |
| 1446 | p37.BottomSurface = Enum.SurfaceType.Smooth | |
| 1447 | p37.TopSurface = Enum.SurfaceType.Smooth | |
| 1448 | b37 = Instance.new("SpecialMesh", p37)
| |
| 1449 | b37.MeshType = Enum.MeshType.Brick | |
| 1450 | b37.Name = "Mesh" | |
| 1451 | b37.Scale = Vector3.new(1, 0.500000119, 1) | |
| 1452 | p38 = Instance.new("Part", Cha)
| |
| 1453 | p38.BrickColor = BrickColor.new("Really black")
| |
| 1454 | p38.FormFactor = Enum.FormFactor.Custom | |
| 1455 | p38.Size = Vector3.new(1.35000002, 0.200000003, 0.200000003) | |
| 1456 | p38.CFrame = CFrame.new(-0.0500000231, 10.0749989, 7.85000134, -4.37113883e-008, 0, 1, -1.50995803e-007, 1, -6.60023616e-015, -1, -1.50995803e-007, -4.37113883e-008) | |
| 1457 | p38.Anchored = false | |
| 1458 | p38.CanCollide = false | |
| 1459 | p38.BottomSurface = Enum.SurfaceType.Smooth | |
| 1460 | p38.TopSurface = Enum.SurfaceType.Smooth | |
| 1461 | b38 = Instance.new("SpecialMesh", p38)
| |
| 1462 | b38.MeshType = Enum.MeshType.Cylinder | |
| 1463 | b38.Name = "Mesh" | |
| 1464 | b38.Scale = Vector3.new(1, 0.5, 0.5) | |
| 1465 | p39 = Instance.new("Part", Cha)
| |
| 1466 | p39.BrickColor = BrickColor.new("Really black")
| |
| 1467 | p39.FormFactor = Enum.FormFactor.Custom | |
| 1468 | p39.Size = Vector3.new(0.75, 0.200000003, 0.200000003) | |
| 1469 | p39.CFrame = CFrame.new(-0.0500000007, 10.0749989, 8.75000191, -4.37113883e-008, 0, 1, -1.50995803e-007, 1, -6.60023616e-015, -1, -1.50995803e-007, -4.37113883e-008) | |
| 1470 | p39.Anchored = false | |
| 1471 | p39.CanCollide = false | |
| 1472 | p39.BottomSurface = Enum.SurfaceType.Smooth | |
| 1473 | p39.TopSurface = Enum.SurfaceType.Smooth | |
| 1474 | b39 = Instance.new("SpecialMesh", p39)
| |
| 1475 | b39.MeshType = Enum.MeshType.Cylinder | |
| 1476 | b39.Name = "Mesh" | |
| 1477 | b39.Scale = Vector3.new(1, 0.75, 0.75) | |
| 1478 | p40 = Instance.new("Part", Cha)
| |
| 1479 | p40.BrickColor = BrickColor.new("Really black")
| |
| 1480 | p40.FormFactor = Enum.FormFactor.Custom | |
| 1481 | p40.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 1482 | p40.CFrame = CFrame.new(-0.0500000007, 10.0749989, 8.5500021, -4.37113883e-008, 0, 1, -1.50995803e-007, 1, -6.60023616e-015, -1, -1.50995803e-007, -4.37113883e-008) | |
| 1483 | p40.Anchored = false | |
| 1484 | p40.CanCollide = false | |
| 1485 | p40.BottomSurface = Enum.SurfaceType.Smooth | |
| 1486 | p40.TopSurface = Enum.SurfaceType.Smooth | |
| 1487 | b40 = Instance.new("SpecialMesh", p40)
| |
| 1488 | b40.MeshType = Enum.MeshType.Cylinder | |
| 1489 | b40.Name = "Mesh" | |
| 1490 | b40.Scale = Vector3.new(0.5, 0.875, 0.875) | |
| 1491 | p41 = Instance.new("Part", Cha)
| |
| 1492 | p41.BrickColor = BrickColor.new("Really black")
| |
| 1493 | p41.FormFactor = Enum.FormFactor.Custom | |
| 1494 | p41.Size = Vector3.new(0.899999976, 0.200000003, 0.200000003) | |
| 1495 | p41.CFrame = CFrame.new(-0.0500000007, 10.2249994, 8.70000172, -4.37113883e-008, 0, 1, -1.50995803e-007, 1, -6.60023616e-015, -1, -1.50995803e-007, -4.37113883e-008) | |
| 1496 | p41.Anchored = false | |
| 1497 | p41.CanCollide = false | |
| 1498 | p41.BottomSurface = Enum.SurfaceType.Smooth | |
| 1499 | p41.TopSurface = Enum.SurfaceType.Smooth | |
| 1500 | b41 = Instance.new("SpecialMesh", p41)
| |
| 1501 | b41.MeshType = Enum.MeshType.Cylinder | |
| 1502 | b41.Name = "Mesh" | |
| 1503 | b41.Scale = Vector3.new(1, 0.875, 0.875) | |
| 1504 | p42 = Instance.new("Part", Cha)
| |
| 1505 | p42.BrickColor = BrickColor.new("Really black")
| |
| 1506 | p42.FormFactor = Enum.FormFactor.Custom | |
| 1507 | p42.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 1508 | p42.CFrame = CFrame.new(-0.0500000007, 10.2249994, 8.5500021, -4.37113883e-008, 0, 1, -1.50995803e-007, 1, -6.60023616e-015, -1, -1.50995803e-007, -4.37113883e-008) | |
| 1509 | p42.Anchored = false | |
| 1510 | p42.CanCollide = false | |
| 1511 | p42.BottomSurface = Enum.SurfaceType.Smooth | |
| 1512 | p42.TopSurface = Enum.SurfaceType.Smooth | |
| 1513 | b42 = Instance.new("SpecialMesh", p42)
| |
| 1514 | b42.MeshType = Enum.MeshType.Cylinder | |
| 1515 | b42.Name = "Mesh" | |
| 1516 | b42.Scale = Vector3.new(0.500000119, 1, 1) | |
| 1517 | p43 = Instance.new("Part", Cha)
| |
| 1518 | p43.BrickColor = BrickColor.new("Really black")
| |
| 1519 | p43.FormFactor = Enum.FormFactor.Custom | |
| 1520 | p43.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 1521 | p43.CFrame = CFrame.new(-0.0500000007, 10.2249994, 8.22500134, -4.37113883e-008, 0, 1, -1.50995803e-007, 1, -6.60023616e-015, -1, -1.50995803e-007, -4.37113883e-008) | |
| 1522 | p43.Anchored = false | |
| 1523 | p43.CanCollide = false | |
| 1524 | p43.BottomSurface = Enum.SurfaceType.Smooth | |
| 1525 | p43.TopSurface = Enum.SurfaceType.Smooth | |
| 1526 | b43 = Instance.new("SpecialMesh", p43)
| |
| 1527 | b43.MeshType = Enum.MeshType.Cylinder | |
| 1528 | b43.Name = "Mesh" | |
| 1529 | b43.Scale = Vector3.new(0.749999881, 0.75, 0.75) | |
| 1530 | w1 = Instance.new("Weld", p7)
| |
| 1531 | w1.Name = "BTWeld" | |
| 1532 | w1.Part0 = p7 | |
| 1533 | w1.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1534 | w1.Part1 = p1 | |
| 1535 | w1.C1 = CFrame.new(-4.62499619, -0.574999809, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 1536 | w2 = Instance.new("Weld", p7)
| |
| 1537 | w2.Name = "BTWeld" | |
| 1538 | w2.Part0 = p7 | |
| 1539 | w2.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1540 | w2.Part1 = p2 | |
| 1541 | w2.C1 = CFrame.new(8.56816769e-008, -0.574999809, -0.424996376, 1, -1.50995803e-007, -2.27997332e-014, 1.50995803e-007, 1, 1.50995803e-007, -0, -1.50995803e-007, 1) | |
| 1542 | w3 = Instance.new("Weld", p7)
| |
| 1543 | w3.Name = "BTWeld" | |
| 1544 | w3.Part0 = p7 | |
| 1545 | w3.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1546 | w3.Part1 = p3 | |
| 1547 | w3.C1 = CFrame.new(1.11758709e-007, -0.724999428, -1.02499771, 1, -1.50995803e-007, -2.27997332e-014, 1.50995803e-007, 1, 1.50995803e-007, -0, -1.50995803e-007, 1) | |
| 1548 | w4 = Instance.new("Weld", p7)
| |
| 1549 | w4.Name = "BTWeld" | |
| 1550 | w4.Part0 = p7 | |
| 1551 | w4.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1552 | w4.Part1 = p4 | |
| 1553 | w4.C1 = CFrame.new(6.70552254e-008, -0.449999809, -0.824995995, 1, -1.50995803e-007, -2.27997332e-014, 1.50995803e-007, 1, 1.50995803e-007, -0, -1.50995803e-007, 1) | |
| 1554 | w5 = Instance.new("Weld", p7)
| |
| 1555 | w5.Name = "BTWeld" | |
| 1556 | w5.Part0 = p7 | |
| 1557 | w5.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1558 | w5.Part1 = p5 | |
| 1559 | w5.C1 = CFrame.new(1.1920929e-007, -0.774998665, 0.874996185, -1, -1.50995803e-007, 0, -1.50995803e-007, 1, -6.60023616e-015, 0, -6.60023616e-015, -1) | |
| 1560 | w6 = Instance.new("Weld", p7)
| |
| 1561 | w6.Name = "BTWeld" | |
| 1562 | w6.Part0 = p7 | |
| 1563 | w6.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1564 | w6.Part1 = p6 | |
| 1565 | w6.C1 = CFrame.new(-5.24999762, -0.475000381, -2.04890966e-007, 4.37113883e-008, -1.50995803e-007, 1, 0, 1, 1.50995803e-007, -1, -6.60023616e-015, 4.37113883e-008) | |
| 1566 | w7 = Instance.new("Weld", p7)
| |
| 1567 | w7.Name = "BTWeld" | |
| 1568 | w7.Part0 = p7 | |
| 1569 | w7.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1570 | w7.Part1 = p8 | |
| 1571 | w7.C1 = CFrame.new(4.84287739e-008, -0.324999809, -0.774995804, 1, -1.50995803e-007, -2.27997332e-014, 1.50995803e-007, 1, 1.50995803e-007, -0, -1.50995803e-007, 1) | |
| 1572 | w8 = Instance.new("Weld", p7)
| |
| 1573 | w8.Name = "BTWeld" | |
| 1574 | w8.Part0 = p7 | |
| 1575 | w8.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1576 | w8.Part1 = p9 | |
| 1577 | w8.C1 = CFrame.new(-1.95000362, -0.349999428, 8.56816769e-008, 4.37113883e-008, -1.50995803e-007, -1, 0, 1, -1.50995803e-007, 1, 6.60023616e-015, 4.37113883e-008) | |
| 1578 | w9 = Instance.new("Weld", p7)
| |
| 1579 | w9.Name = "BTWeld" | |
| 1580 | w9.Part0 = p7 | |
| 1581 | w9.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1582 | w9.Part1 = p10 | |
| 1583 | w9.C1 = CFrame.new(1.49011612e-008, -0.115321159, -0.289399147, 1, -1.49526329e-007, -2.10145306e-008, 1.50995803e-007, 0.990268111, 0.139172941, -0, -0.139172941, 0.990268111) | |
| 1584 | w10 = Instance.new("Weld", p7)
| |
| 1585 | w10.Name = "BTWeld" | |
| 1586 | w10.Part0 = p7 | |
| 1587 | w10.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1588 | w10.Part1 = p11 | |
| 1589 | w10.C1 = CFrame.new(-1.49011612e-008, 0.0846796036, 0.21060276, 1, -1.49526329e-007, -2.10145306e-008, 1.50995803e-007, 0.990268111, 0.139172941, -0, -0.139172941, 0.990268111) | |
| 1590 | w11 = Instance.new("Weld", p7)
| |
| 1591 | w11.Name = "BTWeld" | |
| 1592 | w11.Part0 = p7 | |
| 1593 | w11.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1594 | w11.Part1 = p12 | |
| 1595 | w11.C1 = CFrame.new(1.49011612e-008, -0.0903201103, 0.310600281, 1, -1.49526329e-007, -2.10145306e-008, 1.50995803e-007, 0.990268111, 0.139172941, -0, -0.139172941, 0.990268111) | |
| 1596 | w12 = Instance.new("Weld", p7)
| |
| 1597 | w12.Name = "BTWeld" | |
| 1598 | w12.Part0 = p7 | |
| 1599 | w12.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1600 | w12.Part1 = p13 | |
| 1601 | w12.C1 = CFrame.new(-0.744495392, -0.224943161, -3.35276127e-008, 4.37113883e-008, -0.139172822, 0.990268111, 0, 0.990268111, 0.139172822, -1, -6.08343731e-009, 4.32859935e-008) | |
| 1602 | w13 = Instance.new("Weld", p7)
| |
| 1603 | w13.Name = "BTWeld" | |
| 1604 | w13.Part0 = p7 | |
| 1605 | w13.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1606 | w13.Part1 = p14 | |
| 1607 | w13.C1 = CFrame.new(1.27500534, -0.274999619, 5.58793545e-008, 4.37113883e-008, -1.50995803e-007, 1, 0, 1, 1.50995803e-007, -1, -6.60023616e-015, 4.37113883e-008) | |
| 1608 | w14 = Instance.new("Weld", p7)
| |
| 1609 | w14.Name = "BTWeld" | |
| 1610 | w14.Part0 = p7 | |
| 1611 | w14.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1612 | w14.Part1 = p15 | |
| 1613 | w14.C1 = CFrame.new(4.09781933e-008, -0.275000572, 1.7250042, 1, -1.50995803e-007, -2.27997332e-014, 1.50995803e-007, 1, 1.50995803e-007, -0, -1.50995803e-007, 1) | |
| 1614 | w15 = Instance.new("Weld", p7)
| |
| 1615 | w15.Name = "BTWeld" | |
| 1616 | w15.Part0 = p7 | |
| 1617 | w15.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1618 | w15.Part1 = p16 | |
| 1619 | w15.C1 = CFrame.new(-1.94999599, -1.02499962, -8.19563866e-008, 4.37113883e-008, -1.50995803e-007, 1, 0, 1, 1.50995803e-007, -1, -6.60023616e-015, 4.37113883e-008) | |
| 1620 | w16 = Instance.new("Weld", p7)
| |
| 1621 | w16.Name = "BTWeld" | |
| 1622 | w16.Part0 = p7 | |
| 1623 | w16.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1624 | w16.Part1 = p17 | |
| 1625 | w16.C1 = CFrame.new(-3.7252903e-009, 0.0249996185, 1.95000362, 1, -1.50995803e-007, -2.27997332e-014, 1.50995803e-007, 1, 1.50995803e-007, -0, -1.50995803e-007, 1) | |
| 1626 | w17 = Instance.new("Weld", p7)
| |
| 1627 | w17.Name = "BTWeld" | |
| 1628 | w17.Part0 = p7 | |
| 1629 | w17.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1630 | w17.Part1 = p18 | |
| 1631 | w17.C1 = CFrame.new(1.2293458e-007, -0.799999237, -1.29999733, 1, -1.50995803e-007, -2.27997332e-014, 1.50995803e-007, 1, 1.50995803e-007, -0, -1.50995803e-007, 1) | |
| 1632 | w18 = Instance.new("Weld", p7)
| |
| 1633 | w18.Name = "BTWeld" | |
| 1634 | w18.Part0 = p7 | |
| 1635 | w18.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1636 | w18.Part1 = p19 | |
| 1637 | w18.C1 = CFrame.new(0, -0.925000191, -1.49999523, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1638 | w19 = Instance.new("Weld", p7)
| |
| 1639 | w19.Name = "BTWeld" | |
| 1640 | w19.Part0 = p7 | |
| 1641 | w19.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1642 | w19.Part1 = p20 | |
| 1643 | w19.C1 = CFrame.new(-1.12499905, -1.1920929e-007, -1.94999599, 1.07284414e-007, 1, -3.17865059e-008, -1, 1.07284414e-007, 1.80060697e-015, 5.21080397e-015, 3.17865059e-008, 1) | |
| 1644 | w20 = Instance.new("Weld", p7)
| |
| 1645 | w20.Name = "BTWeld" | |
| 1646 | w20.Part0 = p7 | |
| 1647 | w20.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1648 | w20.Part1 = p21 | |
| 1649 | w20.C1 = CFrame.new(2.16066837e-007, -1.02499962, -1.94999599, 1, -1.50995803e-007, -3.17865059e-008, 1.50995803e-007, 1, 1.80060697e-015, 3.17865059e-008, -6.60023616e-015, 1) | |
| 1650 | w21 = Instance.new("Weld", p7)
| |
| 1651 | w21.Name = "BTWeld" | |
| 1652 | w21.Part0 = p7 | |
| 1653 | w21.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1654 | w21.Part1 = p22 | |
| 1655 | w21.C1 = CFrame.new(-1.3038516e-007, -1.47499847, 1.02499962, 1, 0, 8.74227766e-008, -8.74227766e-008, 0, 1, 0, -1, 0) | |
| 1656 | w22 = Instance.new("Weld", p7)
| |
| 1657 | w22.Name = "BTWeld" | |
| 1658 | w22.Part0 = p7 | |
| 1659 | w22.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1660 | w22.Part1 = p23 | |
| 1661 | w22.C1 = CFrame.new(-4.991889e-007, 2.72499847, 1.02499962, -1, 0, 0, 0, 0, -1, 0, -1, 0) | |
| 1662 | w23 = Instance.new("Weld", p7)
| |
| 1663 | w23.Name = "BTWeld" | |
| 1664 | w23.Part0 = p7 | |
| 1665 | w23.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1666 | w23.Part1 = p24 | |
| 1667 | w23.C1 = CFrame.new(-2.54999638, -1.02499962, -1.08033419e-007, 4.37113883e-008, -1.50995803e-007, 1, 0, 1, 1.50995803e-007, -1, -6.60023616e-015, 4.37113883e-008) | |
| 1668 | w24 = Instance.new("Weld", p7)
| |
| 1669 | w24.Name = "BTWeld" | |
| 1670 | w24.Part0 = p7 | |
| 1671 | w24.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1672 | w24.Part1 = p25 | |
| 1673 | w24.C1 = CFrame.new(0, -0.774999619, -2.52499485, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1674 | w25 = Instance.new("Weld", p7)
| |
| 1675 | w25.Name = "BTWeld" | |
| 1676 | w25.Part0 = p7 | |
| 1677 | w25.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1678 | w25.Part1 = p26 | |
| 1679 | w25.C1 = CFrame.new(-1.37835741e-007, 0.930481911, -1.67881012, 1, -1.40000864e-007, 5.65640406e-008, 1.50995803e-007, 0.927183807, -0.374606699, 0, 0.374606699, 0.927183807) | |
| 1680 | w26 = Instance.new("Weld", p7)
| |
| 1681 | w26.Name = "BTWeld" | |
| 1682 | w26.Part0 = p7 | |
| 1683 | w26.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1684 | w26.Part1 = p27 | |
| 1685 | w26.C1 = CFrame.new(-0.183252811, 0.132596016, -3.34999466, 0.866025388, 0.50000006, 7.54979084e-008, -0.50000006, 0.866025388, 1.30766196e-007, -0, -1.50995803e-007, 1) | |
| 1686 | w27 = Instance.new("Weld", p7)
| |
| 1687 | w27.Name = "BTWeld" | |
| 1688 | w27.Part0 = p7 | |
| 1689 | w27.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1690 | w27.Part1 = p28 | |
| 1691 | w27.C1 = CFrame.new(2.60770321e-008, -0.175000191, -3.29999638, 1, -1.50995803e-007, -2.27997332e-014, 1.50995803e-007, 1, 1.50995803e-007, -0, -1.50995803e-007, 1) | |
| 1692 | w28 = Instance.new("Weld", p7)
| |
| 1693 | w28.Name = "BTWeld" | |
| 1694 | w28.Part0 = p7 | |
| 1695 | w28.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1696 | w28.Part1 = p29 | |
| 1697 | w28.C1 = CFrame.new(6.70552254e-008, -0.449999809, -3.09999561, 1, -1.50995803e-007, -2.27997332e-014, 1.50995803e-007, 1, 1.50995803e-007, -0, -1.50995803e-007, 1) | |
| 1698 | w29 = Instance.new("Weld", p7)
| |
| 1699 | w29.Name = "BTWeld" | |
| 1700 | w29.Part0 = p7 | |
| 1701 | w29.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1702 | w29.Part1 = p30 | |
| 1703 | w29.C1 = CFrame.new(-0.183252335, 0.707596779, -3.34999561, 0.866025388, 0.50000006, 7.54979084e-008, -0.50000006, 0.866025388, 1.30766196e-007, -0, -1.50995803e-007, 1) | |
| 1704 | w30 = Instance.new("Weld", p7)
| |
| 1705 | w30.Name = "BTWeld" | |
| 1706 | w30.Part0 = p7 | |
| 1707 | w30.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1708 | w30.Part1 = p31 | |
| 1709 | w30.C1 = CFrame.new(-7.07805157e-008, 0.484679699, -0.439400673, 1, -1.49526329e-007, -2.10145306e-008, 1.50995803e-007, 0.990268111, 0.139172941, -0, -0.139172941, 0.990268111) | |
| 1710 | w31 = Instance.new("Weld", p7)
| |
| 1711 | w31.Name = "BTWeld" | |
| 1712 | w31.Part0 = p7 | |
| 1713 | w31.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1714 | w31.Part1 = p32 | |
| 1715 | w31.C1 = CFrame.new(-0.587500334, 0.74616909, -3.34999466, 1, -5.96046448e-008, -7.54979084e-008, 5.96046448e-008, 1, 1.30766196e-007, 7.54979013e-008, -1.30766196e-007, 1) | |
| 1716 | w32 = Instance.new("Weld", p7)
| |
| 1717 | w32.Name = "BTWeld" | |
| 1718 | w32.Part0 = p7 | |
| 1719 | w32.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1720 | w32.Part1 = p33 | |
| 1721 | w32.C1 = CFrame.new(-5.72499752, -0.474999428, -2.4959445e-007, 4.37113883e-008, -1.50995803e-007, 1, 0, 1, 1.50995803e-007, -1, -6.60023616e-015, 4.37113883e-008) | |
| 1722 | w33 = Instance.new("Weld", p7)
| |
| 1723 | w33.Name = "BTWeld" | |
| 1724 | w33.Part0 = p7 | |
| 1725 | w33.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1726 | w33.Part1 = p34 | |
| 1727 | w33.C1 = CFrame.new(0.183252811, 0.132595062, -3.34999466, 0.866025388, -0.50000006, -7.54979084e-008, 0.50000006, 0.866025388, 1.30766196e-007, -0, -1.50995803e-007, 1) | |
| 1728 | w34 = Instance.new("Weld", p7)
| |
| 1729 | w34.Name = "BTWeld" | |
| 1730 | w34.Part0 = p7 | |
| 1731 | w34.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1732 | w34.Part1 = p35 | |
| 1733 | w34.C1 = CFrame.new(0.183252335, 0.707595825, -3.34999561, 0.866025388, -0.50000006, -7.54979084e-008, 0.50000006, 0.866025388, 1.30766196e-007, -0, -1.50995803e-007, 1) | |
| 1734 | w35 = Instance.new("Weld", p7)
| |
| 1735 | w35.Name = "BTWeld" | |
| 1736 | w35.Part0 = p7 | |
| 1737 | w35.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1738 | w35.Part1 = p36 | |
| 1739 | w35.C1 = CFrame.new(-1.37835741e-007, 0.90967989, -0.389397621, 1, -1.49526329e-007, -2.10145306e-008, 1.50995803e-007, 0.990268111, 0.139172941, -0, -0.139172941, 0.990268111) | |
| 1740 | w36 = Instance.new("Weld", p7)
| |
| 1741 | w36.Name = "BTWeld" | |
| 1742 | w36.Part0 = p7 | |
| 1743 | w36.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1744 | w36.Part1 = p37 | |
| 1745 | w36.C1 = CFrame.new(0.612499714, 0.74616909, -3.34999466, 1, -5.96046448e-008, -7.54979084e-008, 5.96046448e-008, 1, 1.30766196e-007, 7.54979013e-008, -1.30766196e-007, 1) | |
| 1746 | w37 = Instance.new("Weld", p7)
| |
| 1747 | w37.Name = "BTWeld" | |
| 1748 | w37.Part0 = p7 | |
| 1749 | w37.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1750 | w37.Part1 = p38 | |
| 1751 | w37.C1 = CFrame.new(-4.97499704, -0.324999809, -1.93715096e-007, 4.37113883e-008, -1.50995803e-007, 1, 0, 1, 1.50995803e-007, -1, -6.60023616e-015, 4.37113883e-008) | |
| 1752 | w38 = Instance.new("Weld", p7)
| |
| 1753 | w38.Name = "BTWeld" | |
| 1754 | w38.Part0 = p7 | |
| 1755 | w38.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1756 | w38.Part1 = p39 | |
| 1757 | w38.C1 = CFrame.new(-4.07499599, -0.324999809, -1.75088644e-007, 4.37113883e-008, -1.50995803e-007, 1, 0, 1, 1.50995803e-007, -1, -6.60023616e-015, 4.37113883e-008) | |
| 1758 | w39 = Instance.new("Weld", p7)
| |
| 1759 | w39.Name = "BTWeld" | |
| 1760 | w39.Part0 = p7 | |
| 1761 | w39.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1762 | w39.Part1 = p40 | |
| 1763 | w39.C1 = CFrame.new(-4.2749958, -0.324999809, -1.86264515e-007, 4.37113883e-008, -1.50995803e-007, 1, 0, 1, 1.50995803e-007, -1, -6.60023616e-015, 4.37113883e-008) | |
| 1764 | w40 = Instance.new("Weld", p7)
| |
| 1765 | w40.Name = "BTWeld" | |
| 1766 | w40.Part0 = p7 | |
| 1767 | w40.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1768 | w40.Part1 = p41 | |
| 1769 | w40.C1 = CFrame.new(-4.12499619, -0.475000381, -1.78813934e-007, 4.37113883e-008, -1.50995803e-007, 1, 0, 1, 1.50995803e-007, -1, -6.60023616e-015, 4.37113883e-008) | |
| 1770 | w41 = Instance.new("Weld", p7)
| |
| 1771 | w41.Name = "BTWeld" | |
| 1772 | w41.Part0 = p7 | |
| 1773 | w41.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1774 | w41.Part1 = p42 | |
| 1775 | w41.C1 = CFrame.new(-4.2749958, -0.475000381, -1.86264515e-007, 4.37113883e-008, -1.50995803e-007, 1, 0, 1, 1.50995803e-007, -1, -6.60023616e-015, 4.37113883e-008) | |
| 1776 | w42 = Instance.new("Weld", p7)
| |
| 1777 | w42.Name = "BTWeld" | |
| 1778 | w42.Part0 = p7 | |
| 1779 | w42.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1780 | w42.Part1 = p43 | |
| 1781 | w42.C1 = CFrame.new(-4.59999657, -0.475000381, -1.97440386e-007, 4.37113883e-008, -1.50995803e-007, 1, 0, 1, 1.50995803e-007, -1, -6.60023616e-015, 4.37113883e-008) | |
| 1782 | ||
| 1783 | ||
| 1784 | rlwww = Instance.new("Weld", Cha)
| |
| 1785 | rlwww.Part0 = Cha["Right Arm"] | |
| 1786 | rlwww.C0 = CFrame.new(0,-.5,0)*CFrame.fromEulerAnglesXYZ(-1.55,2.7,0) | |
| 1787 | rlwww.Part1 = p7 | |
| 1788 | ||
| 1789 | mouse.KeyDown:connect(function(key) | |
| 1790 | key:lower() | |
| 1791 | if key == "z" and laydown == false and prop == false then | |
| 1792 | laydown = true | |
| 1793 | prop = true | |
| 1794 | Cha.Humanoid.WalkSpeed = 10 | |
| 1795 | end | |
| 1796 | end) | |
| 1797 | ||
| 1798 | mouse.KeyDown:connect(function(key) | |
| 1799 | key:lower() | |
| 1800 | if key == "x" and laydown == true and prop == true then | |
| 1801 | laydown = false | |
| 1802 | prop = false | |
| 1803 | Cha.Humanoid.WalkSpeed = 16 | |
| 1804 | end | |
| 1805 | end) | |
| 1806 | ||
| 1807 | s = Instance.new("Sound")
| |
| 1808 | - | s.SoundId = "http://www.roblox.com/asset?id=151112832" |
| 1808 | + | s.SoundId = "http://www.roblox.com/asset?id=340995989" |
| 1809 | s.Parent = Cha | |
| 1810 | - | s.Volume = 5 |
| 1810 | + | s.Volume = 100 |
| 1811 | ||
| 1812 | s2 = Instance.new("Sound")
| |
| 1813 | - | s2.SoundId = "http://www.roblox.com/asset?id=200289883" |
| 1813 | + | s2.SoundId = "http://www.roblox.com/asset?id=612263077" |
| 1814 | s2.Parent = Cha | |
| 1815 | - | s2.Volume = 5 |
| 1815 | + | s2.Volume = 100 |
| 1816 | ||
| 1817 | ||
| 1818 | mouse.Button1Down:connect(function() | |
| 1819 | if (not vDebounce) and shoot == false then | |
| 1820 | shoot = true | |
| 1821 | ||
| 1822 | ||
| 1823 | Bullet1=Instance.new('Part',Workspace)
| |
| 1824 | Bullet1.BrickColor=BrickColor.new("Medium stone grey")
| |
| 1825 | Bullet1.CanCollide = True | |
| 1826 | Bullet1.TopSurface = "Smooth" | |
| 1827 | Bullet1.BottomSurface = "Smooth" | |
| 1828 | Bullet1.Transparency = 0.2 | |
| 1829 | Bullet1.Size = Vector3.new(.2,.2,3) | |
| 1830 | Bullet1.CFrame = p33.CFrame *CFrame.new(0, -2, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 1831 | game.Debris:AddItem(Bullet1, 10) | |
| 1832 | Bullet1Mesh = Instance.new("SpecialMesh",Bullet1)
| |
| 1833 | Bullet1Mesh.MeshType = "Sphere" | |
| 1834 | Bullet1Mesh.Scale = Vector3.new(.5,1,.5) | |
| 1835 | ||
| 1836 | Bullet1shoot = Instance.new('BodyVelocity',Bullet1)
| |
| 1837 | Bullet1shoot.maxForce = Vector3.new(math.huge, math.huge, math.huge) | |
| 1838 | Bullet1shoot.velocity = Cha.Head.CFrame.lookVector*1000 | |
| 1839 | ||
| 1840 | Bullet1:BreakJoints() | |
| 1841 | ||
| 1842 | ||
| 1843 | ||
| 1844 | Bullet1.Touched:connect(function(hit) | |
| 1845 | Damagefunc(hit,1,80,math.random(1,3),"Normal",RootPart,.2,1) | |
| 1846 | end) | |
| 1847 | ||
| 1848 | s:Play() | |
| 1849 | ||
| 1850 | Blast=Instance.new('Part',Workspace)
| |
| 1851 | Blast.BrickColor=BrickColor.new("Medium stone grey")
| |
| 1852 | Blast.CanCollide = True | |
| 1853 | Blast.TopSurface = "Smooth" | |
| 1854 | Blast.BottomSurface = "Smooth" | |
| 1855 | Blast.Transparency = 0 | |
| 1856 | Blast.Anchored = false | |
| 1857 | Blast.Size = Vector3.new(3,3,3) | |
| 1858 | Blast.CFrame = p33.CFrame *CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(math.random(), math.random(), math.random()) | |
| 1859 | game.Debris:AddItem(Blast, 4) | |
| 1860 | BlastMesh = Instance.new("SpecialMesh",Blast)
| |
| 1861 | BlastMesh.MeshType = "Brick" | |
| 1862 | BlastMesh.Scale = Vector3.new(.1,.1,.1) | |
| 1863 | ||
| 1864 | Ammo=Instance.new('Part',Workspace)
| |
| 1865 | Ammo.BrickColor=BrickColor.new("Medium stone grey")
| |
| 1866 | Ammo.CanCollide = true | |
| 1867 | Ammo.TopSurface = "Smooth" | |
| 1868 | Ammo.BottomSurface = "Smooth" | |
| 1869 | Ammo.Transparency = 0.3 | |
| 1870 | Ammo.Size = Vector3.new(.2,.2,.2) | |
| 1871 | Ammo.CFrame = p21.CFrame *CFrame.new(0, -1, 0) | |
| 1872 | game.Debris:AddItem(Ammo, 10) | |
| 1873 | AmmoMesh = Instance.new("SpecialMesh",Ammo)
| |
| 1874 | AmmoMesh.MeshType = "Sphere" | |
| 1875 | AmmoMesh.Scale = Vector3.new(.1,.4,.1) | |
| 1876 | ||
| 1877 | for i = 1,10 do | |
| 1878 | BlastMesh.Scale = BlastMesh.Scale + Vector3.new(.1,.1,.1) | |
| 1879 | Blast.Transparency = Blast.Transparency + 0.1 | |
| 1880 | swait(0.1) | |
| 1881 | end | |
| 1882 | ||
| 1883 | s2:Play() | |
| 1884 | ||
| 1885 | ||
| 1886 | - | wait(1) |
| 1886 | + | wait() |
| 1887 | shoot = false | |
| 1888 | end | |
| 1889 | end) | |
| 1890 | ||
| 1891 | colours = {"Tr. Red","Black","Tr. Blue","Black","Phosph. White","Royal purple"}
| |
| 1892 | mouse.KeyDown:connect(function(k) | |
| 1893 | if k == " " then | |
| 1894 | if hitfloor==nil then | |
| 1895 | Cha.Torso.Velocity = Vector3.new(0,100,0) | |
| 1896 | ringExplode(Torso.CFrame*CFrame.Angles(math.pi/2,0,0),colours[4],5) | |
| 1897 | end | |
| 1898 | end | |
| 1899 | end) | |
| 1900 | ||
| 1901 | mouse.KeyDown:connect(function(key) | |
| 1902 | key:lower() | |
| 1903 | if key == "e" and camo == false and prop == true then | |
| 1904 | camo = true | |
| 1905 | ||
| 1906 | Camoflauge=Instance.new('Part',Cha)
| |
| 1907 | Camoflauge.BrickColor=game.Workspace.Base.BrickColor | |
| 1908 | Camoflauge.CanCollide = true | |
| 1909 | Camoflauge.TopSurface = "Smooth" | |
| 1910 | Camoflauge.BottomSurface = "Smooth" | |
| 1911 | Camoflauge.Material = "Grass" | |
| 1912 | Camoflauge.Transparency = 0 | |
| 1913 | Camoflauge.Size = Vector3.new(1,1,1) | |
| 1914 | CamoflaugeMesh = Instance.new("SpecialMesh",Camoflauge)
| |
| 1915 | CamoflaugeMesh.MeshType = "Brick" | |
| 1916 | CamoflaugeMesh.Scale = Vector3.new(4,13,6) | |
| 1917 | CaWeld = Instance.new("Weld",Cha)
| |
| 1918 | CaWeld.Part0 = Cha.Torso | |
| 1919 | CaWeld.Part1 = Camoflauge | |
| 1920 | CaWeld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(.35, 0, 0) | |
| 1921 | ||
| 1922 | end | |
| 1923 | end) | |
| 1924 | ||
| 1925 | mouse.KeyDown:connect(function(key) | |
| 1926 | key:lower() | |
| 1927 | if key == "e" and camo == false and prop == false then | |
| 1928 | camo = true | |
| 1929 | ||
| 1930 | ||
| 1931 | ac = math.random(1,6) | |
| 1932 | ||
| 1933 | if ac == 1 then | |
| 1934 | Camoflauge=Instance.new('Part',Cha)
| |
| 1935 | Camoflauge.BrickColor=game.Workspace.Base.BrickColor | |
| 1936 | Camoflauge.CanCollide = true | |
| 1937 | Camoflauge.TopSurface = "Smooth" | |
| 1938 | Camoflauge.BottomSurface = "Smooth" | |
| 1939 | Camoflauge.Material = "Grass" | |
| 1940 | Camoflauge.Transparency = 0 | |
| 1941 | Camoflauge.Size = Vector3.new(1,1,1) | |
| 1942 | CamoflaugeMesh = Instance.new("SpecialMesh",Camoflauge)
| |
| 1943 | CamoflaugeMesh.MeshType = "Brick" | |
| 1944 | CamoflaugeMesh.Scale = Vector3.new(8,8,10) | |
| 1945 | CaWeld = Instance.new("Weld",Cha)
| |
| 1946 | CaWeld.Part0 = Cha.Torso | |
| 1947 | CaWeld.Part1 = Camoflauge | |
| 1948 | CaWeld.C1 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 1949 | end | |
| 1950 | ||
| 1951 | ||
| 1952 | if ac == 2 then | |
| 1953 | Camoflauge=Instance.new('Part',Cha)
| |
| 1954 | Camoflauge.BrickColor=game.Workspace.Base.BrickColor | |
| 1955 | Camoflauge.CanCollide = true | |
| 1956 | Camoflauge.TopSurface = "Smooth" | |
| 1957 | Camoflauge.BottomSurface = "Smooth" | |
| 1958 | Camoflauge.Transparency = 0 | |
| 1959 | Camoflauge.Size = Vector3.new(1,1,1) | |
| 1960 | CamoflaugeMesh = Instance.new("SpecialMesh",Camoflauge)
| |
| 1961 | CamoflaugeMesh.MeshType = "FileMesh" | |
| 1962 | CamoflaugeMesh.MeshId = "http://www.roblox.com/asset/?id=19106014" | |
| 1963 | CamoflaugeMesh.TextureId = "http://www.roblox.com/asset/?id=142039906" | |
| 1964 | CamoflaugeMesh.Scale = Vector3.new(10,10,10) | |
| 1965 | CaWeld = Instance.new("Weld",Cha)
| |
| 1966 | CaWeld.Part0 = Cha.Torso | |
| 1967 | CaWeld.Part1 = Camoflauge | |
| 1968 | CaWeld.C1 = CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 1969 | end | |
| 1970 | ||
| 1971 | if ac == 3 then | |
| 1972 | Camoflauge=Instance.new('Part',Cha)
| |
| 1973 | Camoflauge.BrickColor=game.Workspace.Base.BrickColor | |
| 1974 | Camoflauge.CanCollide = true | |
| 1975 | Camoflauge.TopSurface = "Smooth" | |
| 1976 | Camoflauge.BottomSurface = "Smooth" | |
| 1977 | Camoflauge.Transparency = 0 | |
| 1978 | Camoflauge.Size = Vector3.new(1,1,1) | |
| 1979 | CamoflaugeMesh = Instance.new("SpecialMesh",Camoflauge)
| |
| 1980 | CamoflaugeMesh.MeshType = "FileMesh" | |
| 1981 | CamoflaugeMesh.MeshId = "http://www.roblox.com/asset/?id=92598630" | |
| 1982 | CamoflaugeMesh.TextureId = "http://www.roblox.com/asset/?id=92599263" | |
| 1983 | CamoflaugeMesh.Scale = Vector3.new(10,10,10) | |
| 1984 | CaWeld = Instance.new("Weld",Cha)
| |
| 1985 | CaWeld.Part0 = Cha.Torso | |
| 1986 | CaWeld.Part1 = Camoflauge | |
| 1987 | CaWeld.C1 = CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 1988 | end | |
| 1989 | ||
| 1990 | if ac == 4 then | |
| 1991 | Camoflauge=Instance.new('Part',Cha)
| |
| 1992 | Camoflauge.BrickColor=game.Workspace.Base.BrickColor | |
| 1993 | Camoflauge.CanCollide = true | |
| 1994 | Camoflauge.TopSurface = "Smooth" | |
| 1995 | Camoflauge.BottomSurface = "Smooth" | |
| 1996 | Camoflauge.Transparency = 0 | |
| 1997 | Camoflauge.Size = Vector3.new(1,1,1) | |
| 1998 | CamoflaugeMesh = Instance.new("SpecialMesh",Camoflauge)
| |
| 1999 | CamoflaugeMesh.MeshType = "FileMesh" | |
| 2000 | CamoflaugeMesh.MeshId = "http://www.roblox.com/asset/?id=10470609" | |
| 2001 | CamoflaugeMesh.TextureId = "http://www.roblox.com/asset/?id=29796694" | |
| 2002 | CamoflaugeMesh.Scale = Vector3.new(10,10,10) | |
| 2003 | CaWeld = Instance.new("Weld",Cha)
| |
| 2004 | CaWeld.Part0 = Cha.Torso | |
| 2005 | CaWeld.Part1 = Camoflauge | |
| 2006 | CaWeld.C1 = CFrame.new(0,-2,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 2007 | end | |
| 2008 | ||
| 2009 | if ac == 5 then | |
| 2010 | Camoflauge=Instance.new('Part',Cha)
| |
| 2011 | Camoflauge.BrickColor=game.Workspace.Base.BrickColor | |
| 2012 | Camoflauge.CanCollide = true | |
| 2013 | Camoflauge.TopSurface = "Smooth" | |
| 2014 | Camoflauge.BottomSurface = "Smooth" | |
| 2015 | Camoflauge.Transparency = 0 | |
| 2016 | Camoflauge.Size = Vector3.new(1,1,1) | |
| 2017 | CamoflaugeMesh = Instance.new("SpecialMesh",Camoflauge)
| |
| 2018 | CamoflaugeMesh.MeshType = "FileMesh" | |
| 2019 | CamoflaugeMesh.MeshId = "http://www.roblox.com/asset?id=220616206" | |
| 2020 | CamoflaugeMesh.TextureId = "http://www.roblox.com/asset?id=220616251" | |
| 2021 | CamoflaugeMesh.Scale = Vector3.new(5,5,5) | |
| 2022 | CaWeld = Instance.new("Weld",Cha)
| |
| 2023 | CaWeld.Part0 = Cha.Torso | |
| 2024 | CaWeld.Part1 = Camoflauge | |
| 2025 | CaWeld.C1 = CFrame.new(0,1,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 2026 | end | |
| 2027 | ||
| 2028 | ||
| 2029 | if ac == 6 then | |
| 2030 | ||
| 2031 | ||
| 2032 | Camoflauge = Instance.new("Model")
| |
| 2033 | p1 = Instance.new("Part", Camoflauge)
| |
| 2034 | p1.BrickColor = BrickColor.new("White")
| |
| 2035 | p1.FormFactor = Enum.FormFactor.Custom | |
| 2036 | p1.Size = Vector3.new(0.399999708, 6.30000019, 1.4000001) | |
| 2037 | p1.CFrame = CFrame.new(-21.8000011, 1.85000002, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2038 | p1.Anchored = false | |
| 2039 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
| 2040 | p1.TopSurface = Enum.SurfaceType.Smooth | |
| 2041 | p2 = Instance.new("Part", Camoflauge)
| |
| 2042 | p2.BrickColor = BrickColor.new("Institutional white")
| |
| 2043 | p2.FormFactor = Enum.FormFactor.Custom | |
| 2044 | p2.Size = Vector3.new(5.79999971, 0.399999946, 1.4000001) | |
| 2045 | p2.CFrame = CFrame.new(-24.5, 5.0999999, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2046 | p2.Anchored = false | |
| 2047 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
| 2048 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 2049 | p3 = Instance.new("Part", Camoflauge)
| |
| 2050 | p3.BrickColor = BrickColor.new("Brown")
| |
| 2051 | p3.FormFactor = Enum.FormFactor.Custom | |
| 2052 | p3.Size = Vector3.new(5.5999999, 0.299999952, 5.5999999) | |
| 2053 | p3.CFrame = CFrame.new(-24.5, 5.04999971, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2054 | p3.Anchored = false | |
| 2055 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 2056 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 2057 | p4 = Instance.new("Part", Camoflauge)
| |
| 2058 | p4.BrickColor = BrickColor.new("Brown")
| |
| 2059 | p4.FormFactor = Enum.FormFactor.Custom | |
| 2060 | p4.Size = Vector3.new(1.20000005, 1.30000007, 0.299999714) | |
| 2061 | p4.CFrame = CFrame.new(-26.7000027, 2.54999995, -12.1499996, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2062 | p4.Anchored = false | |
| 2063 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
| 2064 | p4.TopSurface = Enum.SurfaceType.Smooth | |
| 2065 | p5 = Instance.new("Part", Camoflauge)
| |
| 2066 | p5.BrickColor = BrickColor.new("Brown")
| |
| 2067 | p5.FormFactor = Enum.FormFactor.Custom | |
| 2068 | p5.Size = Vector3.new(1.20000005, 1.30000007, 0.299999714) | |
| 2069 | p5.CFrame = CFrame.new(-22.3000011, 2.54999995, -12.1499996, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2070 | p5.Anchored = false | |
| 2071 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
| 2072 | p5.TopSurface = Enum.SurfaceType.Smooth | |
| 2073 | p6 = Instance.new("Part", Camoflauge)
| |
| 2074 | p6.BrickColor = BrickColor.new("White")
| |
| 2075 | p6.FormFactor = Enum.FormFactor.Custom | |
| 2076 | p6.Size = Vector3.new(0.399999708, 6.30000019, 1.4000001) | |
| 2077 | p6.CFrame = CFrame.new(-27.2000027, 1.85000002, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2078 | p6.Anchored = false | |
| 2079 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
| 2080 | p6.TopSurface = Enum.SurfaceType.Smooth | |
| 2081 | p7 = Instance.new("Part", Camoflauge)
| |
| 2082 | p7.BrickColor = BrickColor.new("Medium stone grey")
| |
| 2083 | p7.Transparency = 1 | |
| 2084 | p7.Name = "Handle" | |
| 2085 | p7.FormFactor = Enum.FormFactor.Custom | |
| 2086 | p7.Size = Vector3.new(5, 5, 5) | |
| 2087 | p7.CFrame = CFrame.new(-24.5, 2.5, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2088 | p7.Anchored = false | |
| 2089 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
| 2090 | p7.TopSurface = Enum.SurfaceType.Smooth | |
| 2091 | p8 = Instance.new("Part", Camoflauge)
| |
| 2092 | p8.BrickColor = BrickColor.new("Brown")
| |
| 2093 | p8.FormFactor = Enum.FormFactor.Custom | |
| 2094 | p8.Size = Vector3.new(5.5999999, 1.79999995, 0.299999714) | |
| 2095 | p8.CFrame = CFrame.new(-24.5, 4.0999999, -12.1499996, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2096 | p8.Anchored = false | |
| 2097 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
| 2098 | p8.TopSurface = Enum.SurfaceType.Smooth | |
| 2099 | p9 = Instance.new("Part", Camoflauge)
| |
| 2100 | p9.BrickColor = BrickColor.new("Brown")
| |
| 2101 | p9.FormFactor = Enum.FormFactor.Custom | |
| 2102 | p9.Size = Vector3.new(0.299999714, 6.30000019, 5) | |
| 2103 | p9.CFrame = CFrame.new(-21.8500004, 1.85000002, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2104 | p9.Anchored = false | |
| 2105 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
| 2106 | p9.TopSurface = Enum.SurfaceType.Smooth | |
| 2107 | p10 = Instance.new("Part", Camoflauge)
| |
| 2108 | p10.BrickColor = BrickColor.new("Brown")
| |
| 2109 | p10.FormFactor = Enum.FormFactor.Custom | |
| 2110 | p10.Size = Vector3.new(5.5999999, 3.20000005, 0.299999714) | |
| 2111 | p10.CFrame = CFrame.new(-24.5, 0.300000072, -12.1499996, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2112 | p10.Anchored = false | |
| 2113 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
| 2114 | p10.TopSurface = Enum.SurfaceType.Smooth | |
| 2115 | p11 = Instance.new("Part", Camoflauge)
| |
| 2116 | p11.BrickColor = BrickColor.new("Brown")
| |
| 2117 | p11.FormFactor = Enum.FormFactor.Custom | |
| 2118 | p11.Size = Vector3.new(5.5999999, 6.30000019, 0.299999714) | |
| 2119 | p11.CFrame = CFrame.new(-24.5, 1.85000002, -6.8499999, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2120 | p11.Anchored = false | |
| 2121 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
| 2122 | p11.TopSurface = Enum.SurfaceType.Smooth | |
| 2123 | p12 = Instance.new("Part", Camoflauge)
| |
| 2124 | p12.BrickColor = BrickColor.new("Brown")
| |
| 2125 | p12.FormFactor = Enum.FormFactor.Custom | |
| 2126 | p12.Size = Vector3.new(0.299999714, 6.30000019, 5) | |
| 2127 | p12.CFrame = CFrame.new(-27.1500015, 1.85000002, -9.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2128 | p12.Anchored = false | |
| 2129 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
| 2130 | p12.TopSurface = Enum.SurfaceType.Smooth | |
| 2131 | w1 = Instance.new("Weld", p7)
| |
| 2132 | w1.Name = "BTWeld" | |
| 2133 | w1.Part0 = p7 | |
| 2134 | w1.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2135 | w1.Part1 = p1 | |
| 2136 | w1.C1 = CFrame.new(-2.69999886, 0.649999976, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2137 | w2 = Instance.new("Weld", p7)
| |
| 2138 | w2.Name = "BTWeld" | |
| 2139 | w2.Part0 = p7 | |
| 2140 | w2.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2141 | w2.Part1 = p2 | |
| 2142 | w2.C1 = CFrame.new(0, -2.5999999, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2143 | w3 = Instance.new("Weld", p7)
| |
| 2144 | w3.Name = "BTWeld" | |
| 2145 | w3.Part0 = p7 | |
| 2146 | w3.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2147 | w3.Part1 = p3 | |
| 2148 | w3.C1 = CFrame.new(0, -2.54999971, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2149 | w4 = Instance.new("Weld", p7)
| |
| 2150 | w4.Name = "BTWeld" | |
| 2151 | w4.Part0 = p7 | |
| 2152 | w4.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2153 | w4.Part1 = p4 | |
| 2154 | w4.C1 = CFrame.new(2.20000267, -0.0499999523, 2.64999962, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2155 | w5 = Instance.new("Weld", p7)
| |
| 2156 | w5.Name = "BTWeld" | |
| 2157 | w5.Part0 = p7 | |
| 2158 | w5.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2159 | w5.Part1 = p5 | |
| 2160 | w5.C1 = CFrame.new(-2.19999886, -0.0499999523, 2.64999962, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2161 | w6 = Instance.new("Weld", p7)
| |
| 2162 | w6.Name = "BTWeld" | |
| 2163 | w6.Part0 = p7 | |
| 2164 | w6.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2165 | w6.Part1 = p6 | |
| 2166 | w6.C1 = CFrame.new(2.70000267, 0.649999976, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2167 | w7 = Instance.new("Weld", p7)
| |
| 2168 | w7.Name = "BTWeld" | |
| 2169 | w7.Part0 = p7 | |
| 2170 | w7.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2171 | w7.Part1 = p8 | |
| 2172 | w7.C1 = CFrame.new(0, -1.5999999, 2.64999962, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2173 | w8 = Instance.new("Weld", p7)
| |
| 2174 | w8.Name = "BTWeld" | |
| 2175 | w8.Part0 = p7 | |
| 2176 | w8.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2177 | w8.Part1 = p9 | |
| 2178 | w8.C1 = CFrame.new(-2.64999962, 0.649999976, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2179 | w9 = Instance.new("Weld", p7)
| |
| 2180 | w9.Name = "BTWeld" | |
| 2181 | w9.Part0 = p7 | |
| 2182 | w9.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2183 | w9.Part1 = p10 | |
| 2184 | w9.C1 = CFrame.new(0, 2.19999981, 2.64999962, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2185 | w10 = Instance.new("Weld", p7)
| |
| 2186 | w10.Name = "BTWeld" | |
| 2187 | w10.Part0 = p7 | |
| 2188 | w10.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2189 | w10.Part1 = p11 | |
| 2190 | w10.C1 = CFrame.new(0, 0.649999976, -2.6500001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2191 | w11 = Instance.new("Weld", p7)
| |
| 2192 | w11.Name = "BTWeld" | |
| 2193 | w11.Part0 = p7 | |
| 2194 | w11.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2195 | w11.Part1 = p12 | |
| 2196 | w11.C1 = CFrame.new(2.65000153, 0.649999976, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 2197 | ||
| 2198 | rlwwww = Instance.new("Weld", Cha)
| |
| 2199 | rlwwww.Part0 = Cha.Torso | |
| 2200 | rlwwww.C0 = CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
| 2201 | rlwwww.Part1 = p7 | |
| 2202 | ||
| 2203 | Camoflauge.Parent = Cha | |
| 2204 | Camoflauge:MakeJoints() | |
| 2205 | ||
| 2206 | for i, v in pairs(Camoflauge:GetChildren()) do | |
| 2207 | if v:IsA('Part') then
| |
| 2208 | v.CanCollide = False | |
| 2209 | end | |
| 2210 | end | |
| 2211 | ||
| 2212 | ||
| 2213 | end | |
| 2214 | ||
| 2215 | ||
| 2216 | ||
| 2217 | end | |
| 2218 | end) | |
| 2219 | ||
| 2220 | mouse.KeyDown:connect(function(key) | |
| 2221 | key:lower() | |
| 2222 | if key == "q" and camo == true then | |
| 2223 | camo = false | |
| 2224 | ||
| 2225 | Camoflauge:Destroy() | |
| 2226 | ||
| 2227 | end | |
| 2228 | end) | |
| 2229 | ||
| 2230 | ||
| 2231 | mouse.KeyDown:connect(function(key) | |
| 2232 | key:lower() | |
| 2233 | if key == "c" then | |
| 2234 | ||
| 2235 | for i,v in pairs(game.Players:getPlayers()) do | |
| 2236 | if v.Name~=Cha.Name then | |
| 2237 | for j,k in pairs(v.Character:GetChildren()) do | |
| 2238 | if k:IsA("BasePart") and k.Transparency <= 1 then
| |
| 2239 | D = Instance.new("FloorWire",Cha.Torso)
| |
| 2240 | D.From = Cha.Torso | |
| 2241 | D.To = k | |
| 2242 | D.Parent = Workspace.Camera | |
| 2243 | D.Transparency = 0.4 | |
| 2244 | end | |
| 2245 | end | |
| 2246 | end | |
| 2247 | end | |
| 2248 | ||
| 2249 | end | |
| 2250 | end) | |
| 2251 | ||
| 2252 | ||
| 2253 | mouse.KeyDown:connect(function(key) | |
| 2254 | key:lower() | |
| 2255 | if key:byte() == 48 and laydown == false then | |
| 2256 | Humanoid.WalkSpeed=50 | |
| 2257 | end | |
| 2258 | end) | |
| 2259 | mouse.KeyUp:connect(function(key) | |
| 2260 | key:lower() | |
| 2261 | if key:byte() == 48 and laydown == false then | |
| 2262 | Humanoid.WalkSpeed=16 | |
| 2263 | end | |
| 2264 | end) | |
| 2265 | ||
| 2266 | mouse.KeyDown:connect(function(key) | |
| 2267 | key:lower() | |
| 2268 | if key:byte() == 48 and laydown == true then | |
| 2269 | Humanoid.WalkSpeed=20 | |
| 2270 | end | |
| 2271 | end) | |
| 2272 | mouse.KeyUp:connect(function(key) | |
| 2273 | key:lower() | |
| 2274 | if key:byte() == 48 and laydown == true then | |
| 2275 | Humanoid.WalkSpeed=10 | |
| 2276 | end | |
| 2277 | end) | |
| 2278 | ||
| 2279 | ||
| 2280 | local sine = 0 | |
| 2281 | local change = 1 | |
| 2282 | local val = 0 | |
| 2283 | ||
| 2284 | ||
| 2285 | coroutine.resume(coroutine.create(function() | |
| 2286 | while true do | |
| 2287 | swait() | |
| 2288 | sine = sine + change | |
| 2289 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 2290 | local velderp=RootPart.Velocity.y | |
| 2291 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 2292 | if equipped==true or equipped==false then | |
| 2293 | if attack==false then | |
| 2294 | idle=idle+1 | |
| 2295 | else | |
| 2296 | idle=0 | |
| 2297 | end | |
| 2298 | if idle>=500 then | |
| 2299 | if attack==false then | |
| 2300 | --Sheath() | |
| 2301 | end | |
| 2302 | end | |
| 2303 | if RootPart.Velocity.y > 1 and hitfloor==nil and laydown == false then | |
| 2304 | Anim="Jump" | |
| 2305 | if attack==false then | |
| 2306 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2307 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 2308 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(20),math.rad(-10),math.rad(30)),.3) | |
| 2309 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(20),math.rad(0),math.rad(-30)),.3) | |
| 2310 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
| 2311 | end | |
| 2312 | elseif RootPart.Velocity.y < -1 and hitfloor==nil and laydown == false then | |
| 2313 | Anim="Fall" | |
| 2314 | if attack==false then | |
| 2315 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2316 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
| 2317 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-50),math.rad(-100),math.rad(30)),.3) | |
| 2318 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-50),math.rad(100),math.rad(-30)),.3) | |
| 2319 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
| 2320 | end | |
| 2321 | elseif torvel<1 and hitfloor~=nil and laydown == false then | |
| 2322 | Anim="Idle" | |
| 2323 | if attack==false then | |
| 2324 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2325 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(-20),math.rad(0)),.3) | |
| 2326 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(-30)),.3) | |
| 2327 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(50)),.3) | |
| 2328 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
| 2329 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
| 2330 | end | |
| 2331 | elseif torvel>2 and torvel<22 and hitfloor~=nil and laydown == false then | |
| 2332 | Anim="Walk" | |
| 2333 | if attack==false then | |
| 2334 | change=3 | |
| 2335 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2336 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2337 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-20),math.rad(-10),math.rad(30)),.3) | |
| 2338 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-20),math.rad(10),math.rad(-30)),.3) | |
| 2339 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
| 2340 | end | |
| 2341 | elseif torvel>=22 and hitfloor~=nil and laydown == false then | |
| 2342 | Anim="Run" | |
| 2343 | if attack==false then | |
| 2344 | change=5 | |
| 2345 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
| 2346 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
| 2347 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-20),math.rad(-70),math.rad(30)),.3) | |
| 2348 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-20),math.rad(70),math.rad(-30)),.3) | |
| 2349 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
| 2350 | end | |
| 2351 | end | |
| 2352 | end | |
| 2353 | end | |
| 2354 | end)) | |
| 2355 | ||
| 2356 | coroutine.resume(coroutine.create(function() | |
| 2357 | while true do | |
| 2358 | swait() | |
| 2359 | sine = sine + change | |
| 2360 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
| 2361 | local velderp=RootPart.Velocity.y | |
| 2362 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
| 2363 | if equipped==true or equipped==false then | |
| 2364 | if attack==false then | |
| 2365 | idle=idle+1 | |
| 2366 | else | |
| 2367 | idle=0 | |
| 2368 | end | |
| 2369 | if idle>=500 then | |
| 2370 | if attack==false then | |
| 2371 | --Sheath() | |
| 2372 | end | |
| 2373 | end | |
| 2374 | if RootPart.Velocity.y > 1 and hitfloor==nil and laydown == true then | |
| 2375 | Anim="Jump" | |
| 2376 | if attack==false then | |
| 2377 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2.5)*angles(math.rad(70),math.rad(0),math.rad(0)),.3) | |
| 2378 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-70),math.rad(0),math.rad(0)),.3) | |
| 2379 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*euler(math.rad(160),math.rad(0),math.rad(-30)),.3) | |
| 2380 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*euler(math.rad(160),math.rad(0),math.rad(50)),.3) | |
| 2381 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
| 2382 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
| 2383 | end | |
| 2384 | elseif RootPart.Velocity.y < -1 and hitfloor==nil and laydown == true then | |
| 2385 | Anim="Fall" | |
| 2386 | if attack==false then | |
| 2387 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2.5)*angles(math.rad(70),math.rad(0),math.rad(0)),.3) | |
| 2388 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-70),math.rad(0),math.rad(0)),.3) | |
| 2389 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*euler(math.rad(160),math.rad(0),math.rad(-30)),.3) | |
| 2390 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*euler(math.rad(160),math.rad(0),math.rad(50)),.3) | |
| 2391 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
| 2392 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
| 2393 | end | |
| 2394 | elseif torvel<1 and hitfloor~=nil and laydown == true then | |
| 2395 | Anim="Idle" | |
| 2396 | if attack==false then | |
| 2397 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2.5)*angles(math.rad(70),math.rad(0),math.rad(0)),.3) | |
| 2398 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-70),math.rad(0),math.rad(0)),.3) | |
| 2399 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*euler(math.rad(160),math.rad(0),math.rad(-30)),.3) | |
| 2400 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*euler(math.rad(160),math.rad(0),math.rad(50)),.3) | |
| 2401 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
| 2402 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
| 2403 | end | |
| 2404 | elseif torvel>2 and torvel<22 and hitfloor~=nil and laydown == true then | |
| 2405 | Anim="Walk" | |
| 2406 | if attack==false then | |
| 2407 | change=3 | |
| 2408 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2.5)*angles(math.rad(70),math.rad(0),math.rad(0)),.3) | |
| 2409 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-70),math.rad(0),math.rad(0)),.3) | |
| 2410 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*euler(math.rad(160),math.rad(0),math.rad(-30)),.3) | |
| 2411 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*euler(math.rad(160),math.rad(0),math.rad(50)),.3) | |
| 2412 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
| 2413 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
| 2414 | end | |
| 2415 | elseif torvel>=22 and hitfloor~=nil and laydown == true then | |
| 2416 | Anim="Run" | |
| 2417 | if attack==false then | |
| 2418 | change=5 | |
| 2419 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2.5)*angles(math.rad(70),math.rad(0),math.rad(0)),.3) | |
| 2420 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-70),math.rad(0),math.rad(0)),.3) | |
| 2421 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*euler(math.rad(160),math.rad(0),math.rad(-30)),.3) | |
| 2422 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*euler(math.rad(160),math.rad(0),math.rad(50)),.3) | |
| 2423 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
| 2424 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
| 2425 | end | |
| 2426 | end | |
| 2427 | end | |
| 2428 | end | |
| 2429 | end)) |