SHOW:
|
|
- or go back to the newest paste.
| 1 | Effects = {} --sound effects, for advanced players.
| |
| 2 | local Player = game.Players.localPlayer | |
| 3 | local Character = Player.Character | |
| 4 | local Humanoid = Character.Humanoid | |
| 5 | z = Instance.new("Sound", Character)
| |
| 6 | z.SoundId = "rbxassetid://262042041"-- | |
| 7 | z.Looped = true --False for a one-time song. | |
| 8 | z.Pitch = 1.0 | |
| 9 | z.Volume = 1.6 | |
| 10 | wait(.1) | |
| 11 | z:Play() | |
| 12 | ------------------------ | |
| 13 | Player = game:GetService("Players").LocalPlayer
| |
| 14 | Character = Player.Character | |
| 15 | PlayerGui = Player.PlayerGui | |
| 16 | Backpack = Player.Backpack | |
| 17 | Torso = Character.Torso | |
| 18 | Head = Character.Head | |
| 19 | Humanoid = Character.Humanoid | |
| 20 | LeftArm = Character["Left Arm"] | |
| 21 | LeftLeg = Character["Left Leg"] | |
| 22 | RightArm = Character["Right Arm"] | |
| 23 | RightLeg = Character["Right Leg"] | |
| 24 | LS = Torso["Left Shoulder"] | |
| 25 | LH = Torso["Left Hip"] | |
| 26 | RS = Torso["Right Shoulder"] | |
| 27 | RH = Torso["Right Hip"] | |
| 28 | Neck = Torso.Neck | |
| 29 | it=Instance.new | |
| 30 | vt=Vector3.new | |
| 31 | cf=CFrame.new | |
| 32 | euler=CFrame.fromEulerAnglesXYZ | |
| 33 | angles=CFrame.Angles | |
| 34 | RootPart=Character.HumanoidRootPart | |
| 35 | RootJoint=RootPart.RootJoint | |
| 36 | RootCF=euler(-1.57,0,3.14) | |
| 37 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 38 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 39 | RW,LW=Instance.new("Weld"),Instance.new("Weld")
| |
| 40 | RH,LH=Instance.new("Weld"),Instance.new("Weld")
| |
| 41 | cam=workspace.CurrentCamera | |
| 42 | local attack=false | |
| 43 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
| 44 | local fp = it("Part")
| |
| 45 | fp.formFactor = formfactor | |
| 46 | fp.Parent = parent | |
| 47 | fp.Reflectance = reflectance | |
| 48 | fp.Transparency = transparency | |
| 49 | fp.CanCollide = false | |
| 50 | fp.Locked=true | |
| 51 | fp.BrickColor = brickcolor | |
| 52 | fp.Name = name | |
| 53 | fp.Size = size | |
| 54 | fp.Position = Torso.Position | |
| 55 | fp.Material="SmoothPlastic" | |
| 56 | fp:BreakJoints() | |
| 57 | return fp | |
| 58 | end | |
| 59 | ||
| 60 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
| 61 | local mesh = it(Mesh) | |
| 62 | mesh.Parent = part | |
| 63 | if Mesh=="SpecialMesh" then | |
| 64 | mesh.MeshType = meshtype | |
| 65 | mesh.MeshId = meshid | |
| 66 | end | |
| 67 | mesh.Offset=offset | |
| 68 | mesh.Scale=scale | |
| 69 | return mesh | |
| 70 | end | |
| 71 | ||
| 72 | function weld(parent,part1,part0,c0,c1) | |
| 73 | local weld = it("Weld")
| |
| 74 | weld.Parent = parent | |
| 75 | weld.Part0 = part0 | |
| 76 | weld.Part1 = part1 | |
| 77 | weld.C0 = c0 | |
| 78 | weld.C1 = c1 | |
| 79 | return weld | |
| 80 | end | |
| 81 | ||
| 82 | if Character:findFirstChild("Shades",true) ~= nil then
| |
| 83 | Character:findFirstChild("Shades",true).Parent = nil
| |
| 84 | end | |
| 85 | ||
| 86 | local scale=1.5 | |
| 87 | local ShadeCenter=it("Part")
| |
| 88 | ShadeCenter.CanCollide=false | |
| 89 | ShadeCenter.CFrame=Torso.CFrame | |
| 90 | ShadeCenter.Transparency=1 | |
| 91 | ShadeCenter.Parent=Character | |
| 92 | ShadeCenter.Name="Shades" | |
| 93 | ShadeCenter.formFactor=3 | |
| 94 | ShadeCenter.Size=vt() | |
| 95 | ShadeCenter.TopSurface=0 | |
| 96 | ShadeCenter.BottomSurface=0 | |
| 97 | local shadeweld=weld(ShadeCenter,ShadeCenter,Head,cf(0,0.4,-0.65),cf(0,0,0)) | |
| 98 | --[[scale=3 | |
| 99 | shadeweld.Part0=Torso | |
| 100 | shadeweld.C0=cf(1.2,0,-0.7)*euler(0,-1,0.5)]] | |
| 101 | local Shade1=it("Part")
| |
| 102 | Shade1.CanCollide=false | |
| 103 | Shade1.CFrame=Torso.CFrame | |
| 104 | Shade1.Reflectance=0.4 | |
| 105 | Shade1.Transparency=0.05 | |
| 106 | Shade1.BrickColor=BrickColor.new("Really black")
| |
| 107 | Shade1.Parent=ShadeCenter | |
| 108 | Shade1.formFactor=3 | |
| 109 | Shade1.Size=vt() | |
| 110 | Shade1.TopSurface=0 | |
| 111 | Shade1.BottomSurface=0 | |
| 112 | Shade1Mesh=it("SpecialMesh",Shade1)
| |
| 113 | Shade1Mesh.MeshType="Wedge" | |
| 114 | Shade1Mesh.Scale=Vector3.new(0.075*scale,2*scale,2.8*scale) | |
| 115 | local w1=weld(Shade1,Shade1,ShadeCenter,cf(-1*0.3*scale,0,0),angles(math.rad(-45),math.rad(90*-1),0)) | |
| 116 | coroutine.resume(coroutine.create(function(Mesh,Weld) | |
| 117 | while true do | |
| 118 | wait() | |
| 119 | Mesh.Scale=Vector3.new(0.075*scale,2*scale,2.8*scale) | |
| 120 | Weld.C0=cf(-1*0.3*scale,0,0) | |
| 121 | Weld.C1=angles(math.rad(-45),math.rad(90*-1),0) | |
| 122 | end | |
| 123 | end),Shade1Mesh,w1) | |
| 124 | local Shade2=it("Part")
| |
| 125 | Shade2.CanCollide=false | |
| 126 | Shade2.CFrame=Torso.CFrame | |
| 127 | Shade2.Reflectance=0.4 | |
| 128 | Shade2.Transparency=0.05 | |
| 129 | Shade2.BrickColor=BrickColor.new("Really black")
| |
| 130 | Shade2.Parent=ShadeCenter | |
| 131 | Shade2.formFactor=3 | |
| 132 | Shade2.Size=vt() | |
| 133 | Shade2.TopSurface=0 | |
| 134 | Shade2.BottomSurface=0 | |
| 135 | Shade2Mesh=it("SpecialMesh",Shade2)
| |
| 136 | Shade2Mesh.MeshType="Wedge" | |
| 137 | Shade2Mesh.Scale=Vector3.new(0.075*scale,2*scale,2.8*scale) | |
| 138 | local w2=weld(Shade2,Shade2,ShadeCenter,cf(1*0.3*scale,0,0),angles(math.rad(-45),math.rad(90*1),0)) | |
| 139 | coroutine.resume(coroutine.create(function(Mesh,Weld) | |
| 140 | while true do | |
| 141 | wait() | |
| 142 | Mesh.Scale=Vector3.new(0.075*scale,2*scale,2.8*scale) | |
| 143 | Weld.C0=cf(1*0.3*scale,0,0) | |
| 144 | Weld.C1=angles(math.rad(-45),math.rad(90*1),0) | |
| 145 | end | |
| 146 | end),Shade2Mesh,w2) | |
| 147 | ||
| 148 | if Backpack:findFirstChild("DRILL")~=nil then
| |
| 149 | --Backpack:findFirstChild("DRILL").Parent=nil
| |
| 150 | end | |
| 151 | if (script.Parent.className ~= "HopperBin") then | |
| 152 | Tool = Instance.new("HopperBin")
| |
| 153 | Tool.Parent = Backpack | |
| 154 | Tool.Name = "CERTAIN KILL" | |
| 155 | script.Parent = Tool | |
| 156 | end | |
| 157 | Bin = script.Parent | |
| 158 | ||
| 159 | game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=171070086")
| |
| 160 | function GIGADRILLBREAKER() | |
| 161 | cam.CameraType="Scriptable" | |
| 162 | local partpos=part(3,Character,0,1,BrickColor.new("Black"),"PartPos",vt(0.5,0.5,0.5))
| |
| 163 | partpos.Anchored=true | |
| 164 | partpos.CFrame=Torso.CFrame | |
| 165 | game:GetService("Debris"):AddItem(partpos,30)
| |
| 166 | local sound=Instance.new("Sound")
| |
| 167 | sound.Parent=partpos | |
| 168 | sound.Volume=1 | |
| 169 | sound.SoundId="http://www.roblox.com/asset/?id=171070086" | |
| 170 | --171070086 | |
| 171 | local sound2=Instance.new("Sound")
| |
| 172 | sound2.Parent=Torso | |
| 173 | sound2.Volume=1 | |
| 174 | sound2.SoundId="http://www.roblox.com/asset/?id=171070086" | |
| 175 | local sound3=Instance.new("Sound")
| |
| 176 | sound3.Parent=workspace.CurrentCamera | |
| 177 | sound3.Volume=1 | |
| 178 | sound3.SoundId="http://www.roblox.com/asset/?id=171070086" | |
| 179 | sound:Play() | |
| 180 | sound2:Play() | |
| 181 | sound3:Play() | |
| 182 | bodypos=Instance.new("BodyPosition")
| |
| 183 | bodypos.P=4000 | |
| 184 | bodypos.maxForce=Vector3.new(5000000,50000000,5000000)*5000 | |
| 185 | bodypos.position=Torso.Position+Vector3.new(0,0,0) | |
| 186 | bodypos.Parent=Torso | |
| 187 | local bodygy=Instance.new("BodyGyro") --gg nubs
| |
| 188 | bodygy.P=15000 | |
| 189 | bodygy.D=100 | |
| 190 | bodygy.maxTorque=Vector3.new(500000000,500000000,500000000) | |
| 191 | bodygy.cframe=RootPart.CFrame*euler(0,0,0) | |
| 192 | bodygy.Parent=RootPart | |
| 193 | RSH=Torso["Right Shoulder"] | |
| 194 | LSH=Torso["Left Shoulder"] | |
| 195 | RHP=Torso["Right Hip"] | |
| 196 | LHP=Torso["Left Hip"] | |
| 197 | -- | |
| 198 | RSH.Parent=nil | |
| 199 | LSH.Parent=nil | |
| 200 | RHP.Parent=nil | |
| 201 | LHP.Parent=nil | |
| 202 | -- | |
| 203 | RW.Part0=Torso | |
| 204 | RW.C0=cf(1.5,0.5,0) | |
| 205 | RW.C1=cf(0,0.5,0) | |
| 206 | RW.Part1=RightArm | |
| 207 | RW.Parent=Torso | |
| 208 | -- | |
| 209 | LW.Part0=Torso | |
| 210 | LW.C0=cf(-1.5,0.5,0) | |
| 211 | LW.C1=cf(0,0.5,0) | |
| 212 | LW.Part1=LeftArm | |
| 213 | LW.Parent=Torso | |
| 214 | --_G.L = LW | |
| 215 | -- | |
| 216 | RH.Part0=Torso | |
| 217 | RH.C0=cf(0.5,-1,0) | |
| 218 | RH.C1=cf(0,1,0) | |
| 219 | RH.Part1=RightLeg | |
| 220 | RH.Parent=Torso | |
| 221 | -- | |
| 222 | LH.Part0=Torso | |
| 223 | LH.C0=cf(-0.5,-1,0) | |
| 224 | LH.C1=cf(0,1,0) | |
| 225 | LH.Part1=LeftLeg | |
| 226 | LH.Parent=Torso | |
| 227 | --_G.L = LW | |
| 228 | -- | |
| 229 | wait(.2) | |
| 230 | shadeweld.Part0=RootPart | |
| 231 | shadeweld.C0=cf(0,1.9,-0.65)*euler(0,0,0) | |
| 232 | numb=2 | |
| 233 | for i=0,1,0.1 do | |
| 234 | wait() | |
| 235 | --cam.CoordinateFrame=Torso.CFrame | |
| 236 | cam.CoordinateFrame=ShadeCenter.CFrame*euler(0,3.14,0)*cf(0,0,5) | |
| 237 | scale=1.5+1*i | |
| 238 | --shadeweld.C0=cf(0,0.4+2*i,-0.65)*euler(0,0,-0.1*i) | |
| 239 | shadeweld.C0=cf(0,1.9+8*i*numb,-0.65)*euler(0,0,-0.2*i) | |
| 240 | Torso.Neck.C0=necko | |
| 241 | RootJoint.C0=RootCF | |
| 242 | RW.C0=cf(1.5,0.5,0) | |
| 243 | LW.C0=cf(-1.5,0.5,0) | |
| 244 | RH.C0=cf(0.5,-1,0) | |
| 245 | LH.C0=cf(-0.5,-1,0) | |
| 246 | numb=numb-0.1 | |
| 247 | end | |
| 248 | shadeweld.Part0=RightArm | |
| 249 | shadeweld.C0=cf(0,6,0)*euler(3.14,0,-0.2) | |
| 250 | for i=0,1,0.1 do | |
| 251 | wait() | |
| 252 | cam.CoordinateFrame=ShadeCenter.CFrame*euler(0,0,0)*cf(0,0,5) | |
| 253 | scale=2.5+0.5*i | |
| 254 | --shadeweld.C0=cf(0,0.4+2*i,-0.65)*euler(0,0,-0.1*i) | |
| 255 | --shadeweld.C0=cf(0,1.9+2-2*i,-0.65)*euler(0,0,-0.2) | |
| 256 | shadeweld.C0=euler(-3.14*i,0,0)*cf(-1.5*i,8-7.5*i,0)*euler(3.14,0,-0.2) | |
| 257 | Torso.Neck.C0=necko*euler(0,0,-0.2*i) | |
| 258 | RootJoint.C0=RootCF*euler(0,0,0.2*i) | |
| 259 | RW.C0=cf(1.5,0.5,0)*euler(3*i,0,0.2*i) | |
| 260 | LW.C0=cf(-1.5,0.5,0) | |
| 261 | RH.C0=cf(0.5,-1,0) | |
| 262 | LH.C0=cf(-0.5,-1,0) | |
| 263 | end | |
| 264 | for i=0,1,0.1 do | |
| 265 | wait() | |
| 266 | cam.CoordinateFrame=RootPart.CFrame*euler(-0.1*i,3.14-0.1*i,0)*cf(0,0,9+2*i) | |
| 267 | shadeweld.C0=euler(-3.14,0,0)*cf(-1.5,0.5,0)*euler(3.14,0,-0.2) | |
| 268 | Torso.Neck.C0=necko*euler(0,0,-0.2+0.3*i) | |
| 269 | RootJoint.C0=RootCF*euler(0.1*i,0,0.2-0.3*i) | |
| 270 | RW.C0=cf(1.5,0.5,0)*euler(3-1.5*i,0,0.2+0.2*i) | |
| 271 | LW.C0=cf(-1.5,0.5,0)*euler(0,0,-0.3*i) | |
| 272 | RH.C0=cf(0.5,-1,0)*euler(0.2*i,0,0.2*i) | |
| 273 | LH.C0=cf(-0.5,-1,0)*euler(-0.1*i,0,-0.3*i) | |
| 274 | end | |
| 275 | n=2 | |
| 276 | for i=0,1,0.1 do | |
| 277 | wait() | |
| 278 | cam.CoordinateFrame=RootPart.CFrame*euler(-0.1,3.04,0)*cf(0,0,7) | |
| 279 | Torso.Neck.C0=necko*euler(0,0,0.1+0.1*i*n) | |
| 280 | RootJoint.C0=RootCF*euler(0.1+0.1*i*n,0,-0.1-0.1*i*n) | |
| 281 | RW.C0=cf(1.5,0.5,0)*euler(1.5-0.2*i*n,0,0.4+0.2*i*n) | |
| 282 | LW.C0=cf(-1.5,0.5,0)*euler(0.2*i*n,0,-0.3-0.1*i*n) | |
| 283 | RH.C0=cf(0.5,-1,0)*euler(0.2+0.1*i*n,0,0.2) | |
| 284 | LH.C0=cf(-0.5,-1,0)*euler(-0.1-0.1*i*n,0,-0.3) | |
| 285 | n=n-0.1 | |
| 286 | end | |
| 287 | for i=0,1,0.1 do | |
| 288 | wait() | |
| 289 | cam.CoordinateFrame=RootPart.CFrame*euler(0.2,3,0)*cf(0,0,5) | |
| 290 | Torso.Neck.C0=necko*euler(0,0,0.2+0.7*i) | |
| 291 | RootJoint.C0=RootCF*euler(0.2,0,-0.2-1*i) | |
| 292 | RW.C0=cf(1.5,0.5,0)*euler(1.3,0,0.6+2*i) | |
| 293 | LW.C0=cf(-1.5,0.5,0)*euler(0.2+1*i,0,-0.4-0.6*i) | |
| 294 | RH.C0=cf(0.5,-1,0)*euler(0.3-0.2*i,0,0.2-0.3*i) | |
| 295 | LH.C0=cf(-0.5,-1,0)*euler(-0.2,0,-0.3) | |
| 296 | end | |
| 297 | n=2 | |
| 298 | for i=0,1,0.1 do | |
| 299 | wait() | |
| 300 | cam.CoordinateFrame=RootPart.CFrame*euler(0.2,3,0)*cf(0,0,5) | |
| 301 | Torso.Neck.C0=necko*euler(0,0,0.9-0.4*i*n) | |
| 302 | RootJoint.C0=RootCF*euler(0.2,0,-1.2+0.7*i*n) | |
| 303 | RW.C0=cf(1.5,0.5,0)*euler(1.3+0.4*i*n,0,2.6-0.4*i*n) | |
| 304 | LW.C0=cf(-1.5,0.5,0)*euler(1.2,0,-1-1*i*n) | |
| 305 | RH.C0=cf(0.5,-1,0)*euler(0.1,0,-0.1+0.2*i*n) | |
| 306 | LH.C0=cf(-0.5,-1,0)*euler(-0.2+0.1*i*n,0,-0.3+0.2*i*n) | |
| 307 | n=n-0.1 | |
| 308 | end | |
| 309 | for i=0,1,0.1 do | |
| 310 | wait() | |
| 311 | cam.CoordinateFrame=RootPart.CFrame*euler(0.2,3,0)*cf(0,0,5) | |
| 312 | Torso.Neck.C0=necko*euler(0,0,0.5-0.1*i) | |
| 313 | RootJoint.C0=RootCF*euler(0.2-0.1*i,0.2*i,-0.5+0.1*i) | |
| 314 | RW.C0=cf(1.5,0.5,0)*euler(1.7+2.7*i,-1.57*i,2.2-2*i) | |
| 315 | LW.C0=cf(-1.5,0.5,0)*euler(1.2,0,-2+1*i) | |
| 316 | RH.C0=cf(0.5,-1,0)*euler(0.1,0,0.1) | |
| 317 | LH.C0=cf(-0.5,-1,0)*euler(-0.1,0,-0.1-0.2*i) | |
| 318 | end | |
| 319 | n=2 | |
| 320 | for i=0,1,0.1 do | |
| 321 | wait() | |
| 322 | cam.CoordinateFrame=RootPart.CFrame*euler(0.2,3,0)*cf(0,0,5+1*i) | |
| 323 | Torso.Neck.C0=necko*euler(-0.1*i*n,0,0.4-0.2*i*n) | |
| 324 | RootJoint.C0=RootCF*euler(0.1+0.3*i*n,0.2+0.2*i*n,-0.4+0.2*i*n) | |
| 325 | RW.C0=cf(1.5,0.5,0)*euler(4.4-1*i*n,-1.57,0.2) | |
| 326 | LW.C0=cf(-1.5,0.5,0)*euler(1.2,0,-1) | |
| 327 | RH.C0=cf(0.5,-1,0)*euler(0.1,0,0.1) | |
| 328 | LH.C0=cf(-0.5,-1,0)*euler(-0.1+0.5*i*n,0,-0.3) | |
| 329 | n=n-0.1 | |
| 330 | end | |
| 331 | for i=0,1,0.2 do | |
| 332 | wait() | |
| 333 | cam.CoordinateFrame=RootPart.CFrame*euler(0.2-0.1*i,3-0.1*i,0)*cf(0,0,6+10*i) | |
| 334 | Torso.Neck.C0=necko*euler(-0.1,0,0.2) | |
| 335 | RootJoint.C0=RootCF*euler(0.4+0.2*i,0.4,-0.2) | |
| 336 | RW.C0=cf(1.5,0.5,0)*euler(3.4-2.4*i,-1.57,0.2) | |
| 337 | LW.C0=cf(-1.5,0.5,0)*euler(1.2,0,-1-0.2*i) | |
| 338 | RH.C0=cf(0.5,-1,0)*euler(0.1-0.3*i,0,0.1+0.2*i) | |
| 339 | LH.C0=cf(-0.5,-1,0)*euler(0.4+0.2*i,0,-0.3) | |
| 340 | end | |
| 341 | print("DO THROW")
| |
| 342 | local ref=part(3,Character,0,1,BrickColor.new("White"),"Reference",vt(0.5,0.5,0.5))
| |
| 343 | ref.Anchored=true | |
| 344 | ref.CFrame=RootPart.CFrame*cf(0,0,-200) | |
| 345 | game:GetService("Debris"):AddItem(ref,7)
| |
| 346 | canhit=false | |
| 347 | local target=nil | |
| 348 | bb=Instance.new("BodyPosition")
| |
| 349 | local gudbai=Instance.new("BodyGyro")
| |
| 350 | con1=ShadeCenter.Touched:connect(function(hit) | |
| 351 | if hit.Parent:findFirstChild("Humanoid")~=nil and hit.Parent:findFirstChild("Torso")~=nil and hit.Parent~=Character then
| |
| 352 | if canhit==false then | |
| 353 | canhit=true | |
| 354 | tors=hit.Parent.Torso | |
| 355 | print(hit.Parent) | |
| 356 | target=hit.Parent | |
| 357 | bb.Parent=tors | |
| 358 | bb.maxForce=Vector3.new(50000000000000000,50000000000000000,50000000000000000) | |
| 359 | bb.position=ref.Position | |
| 360 | end | |
| 361 | elseif hit.Name~="Base" and canhit==false and hit.Name~="Reference" then | |
| 362 | --hit.Anchored=false | |
| 363 | --hit:BreakJoints() | |
| 364 | --hit.Velocity=Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100)) | |
| 365 | end | |
| 366 | end) | |
| 367 | shadeweld.Part0=nil | |
| 368 | --[[local bodypos2=Instance.new("BodyPosition")
| |
| 369 | bodypos2.P=4000 | |
| 370 | bodypos2.maxForce=Vector3.new(5000000,50000000,5000000)*5000 | |
| 371 | bodypos2.position=ref.Position | |
| 372 | bodypos2.Parent=ShadeCenter]] | |
| 373 | prop=Instance.new("RocketPropulsion")
| |
| 374 | prop.MaxSpeed=5000 | |
| 375 | prop.CartoonFactor=0 | |
| 376 | prop.MaxThrust=10000 | |
| 377 | prop.Parent=ShadeCenter | |
| 378 | prop.Target=ref | |
| 379 | prop.ThrustD=1.5 | |
| 380 | prop.TurnD=0 | |
| 381 | prop.TurnP=0 | |
| 382 | prop:Fire() | |
| 383 | local gg=Instance.new("BodyGyro") --gg nubs
| |
| 384 | gg.P=15000 | |
| 385 | gg.D=100 | |
| 386 | gg.maxTorque=Vector3.new(500000000,500000000,500000000) | |
| 387 | gg.cframe=RootPart.CFrame*euler(0,1.57,0) | |
| 388 | gg.Parent=ShadeCenter | |
| 389 | coroutine.resume(coroutine.create(function(Part,Gyro) | |
| 390 | while Gyro.Parent~=nil do | |
| 391 | wait() | |
| 392 | Gyro.cframe=Gyro.cframe*euler(0,0,-1) | |
| 393 | end | |
| 394 | end),ShadeCenter,gg) | |
| 395 | for i=0,1,0.2 do | |
| 396 | wait() | |
| 397 | cam.CoordinateFrame=RootPart.CFrame*euler(0.1-0.1*i,2.9+0.1*i,0)*cf(0,0,16+5*i) | |
| 398 | Torso.Neck.C0=necko*euler(-0.1,0,0.2) | |
| 399 | RootJoint.C0=RootCF*cf(0,0,-0.5*i)*euler(0.6+0.8*i,0.4+0.4*i,-0.2-0.2*i) | |
| 400 | RootJoint.C1=RootCF*euler(0.7*i,0,-0.2*i) | |
| 401 | RW.C0=cf(1.5,0.5,0)*euler(1,-1.57,0.2) | |
| 402 | RW.C1=cf(0,0.5,0)*euler(0.5*i,0,0) | |
| 403 | LW.C0=cf(-1.5,0.5,0)*euler(1.2,0,-1.2-0.2*i) | |
| 404 | RH.C0=cf(0.5,-1,0)*euler(0.1-0.3,0,0.1+0.2) | |
| 405 | LH.C0=cf(-0.5,-1,0)*euler(0.6+0.2*i,0,-0.3-0.1*i) | |
| 406 | end | |
| 407 | coroutine.resume(coroutine.create(function(Camera) | |
| 408 | print(canhit) | |
| 409 | print(attack) | |
| 410 | while canhit==false and attack==true do | |
| 411 | wait() | |
| 412 | Camera.CoordinateFrame=ShadeCenter.CFrame*cf(0,0,7) | |
| 413 | --Camera.CoordinateFrame=cf(ShadeCenter.Position)*cf(0,0,5) | |
| 414 | end | |
| 415 | for i=0,1,0.1 do | |
| 416 | wait() | |
| 417 | if tors~=nil then | |
| 418 | Camera.CoordinateFrame=tors.CFrame*cf(0,0,7) | |
| 419 | end | |
| 420 | end | |
| 421 | end),cam) | |
| 422 | wait(1.5) | |
| 423 | if target~=nil then | |
| 424 | tors=target.Torso | |
| 425 | partpos.CFrame=tors.CFrame | |
| 426 | ShadesClone1=ShadeCenter:Clone() | |
| 427 | ShadesClone1.Parent=workspace | |
| 428 | local weld1=weld(ShadesClone1,ShadesClone1,tors,cf(0,0,0),cf(0,0,0)) | |
| 429 | ShadesClone2=ShadeCenter:Clone() | |
| 430 | ShadesClone2.Parent=workspace | |
| 431 | local weld2=weld(ShadesClone2,ShadesClone2,tors,cf(0,0,0),cf(0,0,0)) | |
| 432 | --[[bb2=Instance.new("BodyPosition")
| |
| 433 | bb2.Parent=ShadesClone | |
| 434 | bb2.maxForce=Vector3.new(50000000000000000,50000000000000000,50000000000000000) | |
| 435 | bb2.position=tors.Position+vt(math.random(-2,2),math.random(-2,2),math.random(-2,2)) | |
| 436 | coroutine.resume(coroutine.create(function(Part,Gyro) | |
| 437 | end),ShadesClone,bb2) | |
| 438 | local gg2=Instance.new("BodyGyro")
| |
| 439 | gg2.P=15000 | |
| 440 | gg2.D=100 | |
| 441 | gg2.maxTorque=Vector3.new(500000000,500000000,500000000) | |
| 442 | gg2.cframe=tors.CFrame*euler(0,1.57,0) | |
| 443 | gg2.Parent=ShadesClone | |
| 444 | coroutine.resume(coroutine.create(function(Part,Gyro) | |
| 445 | while Gyro.Parent~=nil do | |
| 446 | wait() | |
| 447 | print(Gyro.cframe) | |
| 448 | Gyro.cframe=Gyro.cframe*euler(0,0,-0.5) | |
| 449 | end | |
| 450 | end),ShadesClone,gg2)]] | |
| 451 | Shade1.Transparency=1 | |
| 452 | Shade2.Transparency=1 | |
| 453 | shadeweld.Part0=Head | |
| 454 | shadeweld.C0=cf(0,0.4,-0.65) | |
| 455 | prop.Parent=nil | |
| 456 | gg.Parent=nil | |
| 457 | scale=1.5 | |
| 458 | gudbai.P=15000 | |
| 459 | gudbai.D=100 | |
| 460 | gudbai.maxTorque=Vector3.new(500000000,500000000,500000000) | |
| 461 | gudbai.cframe=cf(0,0,0) | |
| 462 | gudbai.Parent=tors | |
| 463 | camCF=tors.CFrame | |
| 464 | for i=0,1,0.02 do | |
| 465 | wait() | |
| 466 | cam.CoordinateFrame=camCF*euler(-0.2*i,0,0)*cf(0,0,7) | |
| 467 | weld1.C0=euler(0,0,0)*cf(20*i,0,0) | |
| 468 | weld1.C1=euler(0,0,7*i) | |
| 469 | weld2.C0=euler(0,0,0)*cf(-20*i,0,0) | |
| 470 | weld2.C1=euler(0,0,7*i) | |
| 471 | gudbai.cframe=cf(0,0,0) | |
| 472 | Torso.Neck.C0=necko*euler(-0.1+0.1*i,0,0.2-0.2*i) | |
| 473 | RootJoint.C0=RootCF*cf(0,0,-0.5+0.5*i)*euler(1.4-1.4*i,0.8-0.8*i,-0.4+0.4*i) | |
| 474 | RootJoint.C1=RootCF*euler(0.7-0.7*i,0,-0.2+0.2*i) | |
| 475 | RW.C0=cf(1.5,0.5,0)*euler(1-1*i,-1.57+1.57*i,0.2-0.2*i) | |
| 476 | RW.C1=cf(0,0.5,0)*euler(0.5-0.5*i,0,0) | |
| 477 | LW.C0=cf(-1.5,0.5,0)*euler(1.2-1.2*i,0,-1.4+1.4*i) | |
| 478 | RH.C0=cf(0.5,-1,0)*euler(-0.2+0.2*i,0,0.4-0.4*i) | |
| 479 | LH.C0=cf(-0.5,-1,0)*euler(0.8-0.8*i,0,-0.4+0.4*i) | |
| 480 | end | |
| 481 | for i=0,1,0.02 do | |
| 482 | wait() | |
| 483 | cam.CoordinateFrame=camCF*euler(-0.2+0.2*i,0,0)*cf(0,0,7+2*i) | |
| 484 | weld1.C0=euler(0,0,0)*cf(20-15*i,0,0) | |
| 485 | weld1.C1=euler(0,0,7+5*i) | |
| 486 | weld2.C0=euler(0,0,0)*cf(-20+15*i,0,0) | |
| 487 | weld2.C1=euler(0,0,7+5*i) | |
| 488 | gudbai.cframe=cf(0,0,0) | |
| 489 | end | |
| 490 | for i=0,6.5,0.1 do | |
| 491 | wait() | |
| 492 | cam.CoordinateFrame=camCF*euler(0,1*i,0)*cf(0,0,9) | |
| 493 | local prt=part(3,workspace,0,0,BrickColor.new("White"),"Effect",vt(0.5,0.5,0.5))
| |
| 494 | prt.Anchored=true | |
| 495 | prt.CFrame=ShadesClone1.CFrame | |
| 496 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.25,1,.25))
| |
| 497 | game:GetService("Debris"):AddItem(prt,5)
| |
| 498 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 499 | for i=0,1,0.05 do | |
| 500 | wait() | |
| 501 | Part.CFrame=Part.CFrame | |
| 502 | Part.Transparency=i | |
| 503 | Mesh.Scale=Mesh.Scale+vt(0,0.8,0) | |
| 504 | end | |
| 505 | Part.Parent=nil | |
| 506 | end),prt,msh) | |
| 507 | weld1.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(math.random(-300,300)/100,math.random(-300,300)/100,math.random(-300,300)/100) | |
| 508 | weld2.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(math.random(-300,300)/100,math.random(-300,300)/100,math.random(-300,300)/100) | |
| 509 | gudbai.cframe=cf(0,0,0) | |
| 510 | end | |
| 511 | wait() | |
| 512 | weld1.C0=cf(1.2,0,-0.7)*euler(0,-1,0.5) | |
| 513 | --weld1.C0=cf(2,1,0)*euler(0,0,1.3) | |
| 514 | --weld1.C0=cf(-2,0,0)*euler(0,1.57,0) | |
| 515 | weld2.C0=cf(-1.2,0,-0.7)*euler(0,-1,-0.5) | |
| 516 | gudbai.P=15000 | |
| 517 | gudbai.D=100 | |
| 518 | gudbai.maxTorque=Vector3.new(500000000,500000000,500000000) | |
| 519 | gudbai.cframe=cf(0,0,0) | |
| 520 | gudbai.Parent=tors | |
| 521 | wait(1) | |
| 522 | partpos.CFrame=tors.CFrame | |
| 523 | --cam.CameraType="Custom" | |
| 524 | for i=0,1,0.05 do | |
| 525 | wait() | |
| 526 | cam.CoordinateFrame=RootPart.CFrame*euler(-0.1*i,3.14,0)*cf(0,0,9+4*i) | |
| 527 | Torso.Neck.C0=necko*euler(0.2*i,0,0) | |
| 528 | RootJoint.C0=RootCF*cf(0,0,-0.3*i)*euler(0.3*i,0,0) | |
| 529 | RootJoint.C1=RootCF*euler(0,0,0) | |
| 530 | RW.C0=cf(1.5,0.5,0)*euler(2.8*i,0,0.2*i) | |
| 531 | LW.C0=cf(-1.5,0.5,0)*euler(2.8*i,0,-0.2*i) | |
| 532 | RH.C0=cf(0.5,-1+0.2*i,-0.1*i)*euler(0.1*i,0,0.2*i) | |
| 533 | LH.C0=cf(-0.5,-1+0.2*i,-0.1*i)*euler(0.1*i,0,-0.2*i) | |
| 534 | end | |
| 535 | n=2 | |
| 536 | for i=0,1,0.05 do | |
| 537 | wait() | |
| 538 | cam.CoordinateFrame=RootPart.CFrame*euler(-0.1+0.2*i,3.14-0.24*i,0)*cf(0,0,13) | |
| 539 | Torso.Neck.C0=necko*euler(0.2,0,0) | |
| 540 | RootJoint.C0=RootCF*cf(0,0,-0.3)*euler(0.3+0.1*i*n,0,0) | |
| 541 | RootJoint.C1=RootCF*euler(0,0,0) | |
| 542 | RW.C0=cf(1.5,0.5,0)*euler(2.8+0.1*i*n,0,0.2-0.3*i*n) | |
| 543 | LW.C0=cf(-1.5,0.5,0)*euler(2.8+0.1*i*n,0,-0.2+0.3*i*n) | |
| 544 | RH.C0=cf(0.5,-1+0.2,-0.1)*euler(0.1+0.1*i*n,0,0.2) | |
| 545 | LH.C0=cf(-0.5,-1+0.2,-0.1)*euler(0.1+0.1*i*n,0,-0.2) | |
| 546 | n=n-0.1 | |
| 547 | end | |
| 548 | for i=0,1,0.05 do | |
| 549 | wait() | |
| 550 | cam.CoordinateFrame=RootPart.CFrame*euler(0.1,2.9+0.3*i,0)*cf(0,0,13-2*i) | |
| 551 | Torso.Neck.C0=necko*euler(0.2-0.3*i,0,0) | |
| 552 | RootJoint.C0=RootCF*cf(0,0,-0.3+0.3*i)*euler(0.4-0.5*i,0,0) | |
| 553 | RootJoint.C1=RootCF*euler(0,0,0) | |
| 554 | RW.C0=cf(1.5,0.5,0)*euler(2.9-3*i,0,-0.1+0.2*i) | |
| 555 | LW.C0=cf(-1.5,0.5,0)*euler(2.9,0,0.1-0.3*i) | |
| 556 | RH.C0=cf(0.5,-0.8-0.2*i,-0.1+0.1*i)*euler(0.2-0.3*i,0,0.2) | |
| 557 | LH.C0=cf(-0.5,-0.8-0.2*i,-0.1+0.1*i)*euler(0.2-0.3*i,0,-0.2) | |
| 558 | end | |
| 559 | n=2 | |
| 560 | for i=0,1,0.05 do | |
| 561 | wait() | |
| 562 | cam.CoordinateFrame=RootPart.CFrame*euler(0.1,3.2+0.1*i,0)*cf(0,0,13) | |
| 563 | Torso.Neck.C0=necko*euler(-0.1,0,0) | |
| 564 | RootJoint.C0=RootCF*cf(0,0,0)*euler(-0.1,0,0) | |
| 565 | RootJoint.C1=RootCF*euler(0,0,0) | |
| 566 | RW.C0=cf(1.5,0.5,0)*euler(-0.1,0,0.1) | |
| 567 | LW.C0=cf(-1.5,0.5-0.2*i*n,0)*euler(2.9+0.1*i*n,0,-0.2-0.1*i*n) | |
| 568 | RH.C0=cf(0.5,-1,0)*euler(-0.1,0,0.2) | |
| 569 | LH.C0=cf(-0.5,-1,0)*euler(-0.1,0,-0.2) | |
| 570 | n=n-0.1 | |
| 571 | end | |
| 572 | for i=0,1,0.1 do | |
| 573 | wait() | |
| 574 | cam.CoordinateFrame=RootPart.CFrame*euler(0.1,3.3,0)*cf(0,0,13) | |
| 575 | Torso.Neck.C0=necko*euler(-0.1,0,-0.3*i) | |
| 576 | RootJoint.C0=RootCF*cf(0,0,0)*euler(-0.1,0,0.3*i) | |
| 577 | RootJoint.C1=RootCF*euler(0,0,0) | |
| 578 | RW.C0=cf(1.5,0.5,0)*euler(-0.1+3.2*i,0,0.1) | |
| 579 | LW.C0=cf(-1.5,0.3+0.2,0)*euler(3-3.2*i,0,-0.3+0.2*i) | |
| 580 | RH.C0=cf(0.5,-1,0)*euler(-0.1,0,0.2) | |
| 581 | LH.C0=cf(-0.5,-1,0)*euler(-0.1,0,-0.2) | |
| 582 | end | |
| 583 | -- u gon get fuck'd | |
| 584 | drill=Instance.new("Model")
| |
| 585 | drill.Parent=Character | |
| 586 | drill.Name="Drill" | |
| 587 | local drillp=part(3,drill,0,0,BrickColor.new("Medium stone grey"),"Drill Part",vt(0.5,0.5,0.5))
| |
| 588 | drillmsh=mesh("SpecialMesh",drillp,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(.5,1,.5))
| |
| 589 | local drillweld=weld(drillp,drillp,RightArm,cf(0,-1,0)*euler(3.14,0,0),cf(0,0,0)) | |
| 590 | for i=0,1,0.05 do | |
| 591 | wait() | |
| 592 | cam.CoordinateFrame=RootPart.CFrame*euler(0.1+0.2*i,3.3-0.2*i,0)*cf(0,0,13-3*i) | |
| 593 | Torso.Neck.C0=necko*euler(-0.1-0.1*i,0,-0.3) | |
| 594 | RootJoint.C0=RootCF*cf(0,0,0)*euler(-0.1,0,0.3) | |
| 595 | RootJoint.C1=RootCF*euler(0,0,0) | |
| 596 | RW.C0=cf(1.5,0.5,0)*euler(3.1+0.1*i,0,0.1-0.1*i) | |
| 597 | LW.C0=cf(-1.5,0.3+0.2,0)*euler(-0.2,0,-0.1) | |
| 598 | RH.C0=cf(0.5,-1,0)*euler(-0.1,0,0.2) | |
| 599 | LH.C0=cf(-0.5,-1,0)*euler(-0.1,0,-0.2) | |
| 600 | end | |
| 601 | wait(0.5) | |
| 602 | for i=0,1,0.1 do | |
| 603 | wait() | |
| 604 | cam.CoordinateFrame=RootPart.CFrame*euler(0.3,3.1,0)*cf(0,0,10-1*i) | |
| 605 | drillmsh.Scale=vt(.5,1+8*i,.5) | |
| 606 | drillweld.C0=cf(0,-1-7*i,0)*euler(3.14,0,0) | |
| 607 | end | |
| 608 | wait(0.4) | |
| 609 | for i=0,1,0.2 do | |
| 610 | wait() | |
| 611 | cam.CoordinateFrame=RootPart.CFrame*euler(0.3-0.4*i,3.1,0)*cf(0,0,9+7*i) | |
| 612 | drillmsh.Scale=vt(.5+6.5*i,9,.5+6.5*i) | |
| 613 | drillweld.C0=cf(0,-8,0)*euler(3.14,0,0) | |
| 614 | end | |
| 615 | local drillpcir=part(3,drill,0,0,BrickColor.new("Medium stone grey"),"Drill Circle",vt(0.5,0.5,0.5))
| |
| 616 | drillmshc=mesh("CylinderMesh",drillpcir,"","",vt(0,0,0),vt(18,1,18))
| |
| 617 | local drillweldc=weld(drillpcir,drillpcir,drillp,cf(0,-7,0)*euler(0,0,0),cf(0,0,0)) | |
| 618 | coroutine.resume(coroutine.create(function(Part) | |
| 619 | numb1=-7 | |
| 620 | numb2=0 | |
| 621 | numb3=4.7 | |
| 622 | for i=1,24 do | |
| 623 | local drillp2=part(3,drill,0,0,BrickColor.new("Black"),"Drill Part2",vt(0.5,0.5,0.5))
| |
| 624 | drillmsh2=mesh("BlockMesh",drillp2,"","",vt(0,0,0),vt(1,1,1))
| |
| 625 | local drillweld2=weld(drillp2,drillp2,Part,euler(0,numb2,0)*cf(numb3,numb1,0),cf(0,0,0)) | |
| 626 | local drillp3=part(3,drill,0,0,BrickColor.new("Black"),"Drill Part3",vt(0.5,0.5,0.5))
| |
| 627 | drillmsh3=mesh("BlockMesh",drillp3,"","",vt(0,0,0),vt(1,1,1))
| |
| 628 | local drillweld3=weld(drillp3,drillp3,Part,euler(0,1.57,0)*euler(0,numb2,0)*cf(numb3,numb1,0),cf(0,0,0)) | |
| 629 | local drillp4=part(3,drill,0,0,BrickColor.new("Black"),"Drill Part4",vt(0.5,0.5,0.5))
| |
| 630 | drillmsh4=mesh("BlockMesh",drillp4,"","",vt(0,0,0),vt(1,1,1))
| |
| 631 | local drillweld4=weld(drillp4,drillp4,Part,euler(0,3.14,0)*euler(0,numb2,0)*cf(numb3,numb1,0),cf(0,0,0)) | |
| 632 | local drillp5=part(3,drill,0,0,BrickColor.new("Black"),"Drill Part5",vt(0.5,0.5,0.5))
| |
| 633 | drillmsh5=mesh("BlockMesh",drillp5,"","",vt(0,0,0),vt(1,1,1))
| |
| 634 | local drillweld5=weld(drillp5,drillp5,Part,euler(0,4.71,0)*euler(0,numb2,0)*cf(numb3,numb1,0),cf(0,0,0)) | |
| 635 | numb1=numb1+0.6 | |
| 636 | numb2=numb2+(0.785)/4 | |
| 637 | numb3=numb3-0.2 | |
| 638 | wait() | |
| 639 | end | |
| 640 | end),drillp) | |
| 641 | wait(1) | |
| 642 | for i=0,1,0.1 do | |
| 643 | wait() | |
| 644 | cam.CoordinateFrame=RootPart.CFrame*euler(-0.1-0.4*i,3.1,0)*cf(0,0,16-7*i) | |
| 645 | Torso.Neck.C0=necko*euler(-0.2+0.2*i,0,-0.3+0.2*i) | |
| 646 | RootJoint.C0=RootCF*cf(0,0,0)*euler(-0.1+0.1*i,0,0.3-0.2*i) | |
| 647 | RootJoint.C1=RootCF*euler(0,0,0) | |
| 648 | RW.C0=cf(1.5-0.5*i,0.5,-0.5*i)*euler(3.2-1.5*i,0,0.2-1.2*i) | |
| 649 | LW.C0=cf(-1.5,0.5,0)*euler(-0.2-0.2*i,0,-0.1) | |
| 650 | RH.C0=cf(0.5,-1,0)*euler(-0.1+0.1*i,0,0.2) | |
| 651 | LH.C0=cf(-0.5,-1,0)*euler(-0.1+0.1*i,0,-0.2) | |
| 652 | end | |
| 653 | for i=0,1,0.02 do | |
| 654 | wait() | |
| 655 | cam.CoordinateFrame=RootPart.CFrame*euler(-0.5+0.6*i,3.1-3.7*i,0)*cf(-3*i,0,9+1*i) | |
| 656 | Torso.Neck.C0=necko*euler(0,0,-0.1+1.67*i) | |
| 657 | RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,0.1-1.67*i) | |
| 658 | RootJoint.C1=RootCF*euler(0,0,0) | |
| 659 | RW.C0=cf(1-1.5*i,0.5,-0.5-0.5*i)*euler(1.7-0.2*i,0,-1-0.57*i) | |
| 660 | LW.C0=cf(-1.5,0.5,0)*euler(-0.4,3.14*i,-0.1) | |
| 661 | RH.C0=cf(0.5,-1,0)*euler(0,0,0.2) | |
| 662 | LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2) | |
| 663 | end | |
| 664 | Torso.Neck.C0=necko*euler(0,0,1.57) | |
| 665 | RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,0.-1.57) | |
| 666 | RootJoint.C1=RootCF*euler(0,0,0) | |
| 667 | RW.C0=cf(1-1.5,0.5,-1)*euler(1.5,0,-1.57) | |
| 668 | LW.C0=cf(-1.5,0.5,0)*euler(-0.4,3.14,0.1) | |
| 669 | RH.C0=cf(0.5,-1,0)*euler(0,0,0.2) | |
| 670 | LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2) | |
| 671 | doing=true | |
| 672 | coroutine.resume(coroutine.create(function(Model,Weld) | |
| 673 | i=0 | |
| 674 | num=0 | |
| 675 | while Model.Parent~=nil and doing==true do | |
| 676 | wait() | |
| 677 | Weld.C0=cf(0,-8,0)*euler(3.14,i,0) | |
| 678 | i=i+0.5 | |
| 679 | if i%1==0 then | |
| 680 | local prt=part(3,workspace,0,0,BrickColor.new("Cyan"),"Effect",vt(0.5,0.5,0.5))
| |
| 681 | prt.Anchored=true | |
| 682 | prt.CFrame=RootPart.CFrame | |
| 683 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(num,num,num))
| |
| 684 | game:GetService("Debris"):AddItem(prt,5)
| |
| 685 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 686 | for i=0,1,0.05 do | |
| 687 | wait() | |
| 688 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 689 | Part.Transparency=i | |
| 690 | Mesh.Scale=Mesh.Scale+vt(num,num,num) | |
| 691 | end | |
| 692 | Part.Parent=nil | |
| 693 | end),prt,msh) | |
| 694 | end | |
| 695 | if num<=0.8 then | |
| 696 | num=num+0.05 | |
| 697 | end | |
| 698 | end | |
| 699 | end),drill,drillweld) | |
| 700 | wait(2.5) | |
| 701 | bodypos.Parent=nil | |
| 702 | for i=1,5,0.05 do | |
| 703 | wait() | |
| 704 | cam.CoordinateFrame=RootPart.CFrame*euler(0.1,-0.6,0)*cf(-3,0,10) | |
| 705 | partpos.CFrame=tors.CFrame | |
| 706 | RootPart.CFrame=RootPart.CFrame*cf(0,0,-i) | |
| 707 | if i>=4.85 and i<=4.90 then | |
| 708 | print("ded")
| |
| 709 | coroutine.resume(coroutine.create(function() | |
| 710 | for i=1,10 do | |
| 711 | local prt=part(3,workspace,0,0,BrickColor.new("Black"),"Effect",vt(0.5,0.5,0.5))
| |
| 712 | prt.Anchored=true | |
| 713 | prt.CFrame=tors.CFrame | |
| 714 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(2,2,2))
| |
| 715 | game:GetService("Debris"):AddItem(prt,5)
| |
| 716 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 717 | for i=0,1,0.05 do | |
| 718 | wait() | |
| 719 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 720 | Part.Transparency=i | |
| 721 | Mesh.Scale=Mesh.Scale+vt(1,1,1) | |
| 722 | end | |
| 723 | Part.Parent=nil | |
| 724 | end),prt,msh) | |
| 725 | wait() | |
| 726 | end | |
| 727 | end)) | |
| 728 | end | |
| 729 | end | |
| 730 | doing=false | |
| 731 | print("end")
| |
| 732 | bodypos.P=4000 | |
| 733 | bodypos.maxForce=Vector3.new(5000000,50000000,5000000)*5000 | |
| 734 | bodypos.position=Torso.Position+Vector3.new(0,0,0) | |
| 735 | bodypos.Parent=Torso | |
| 736 | cam.CoordinateFrame=RootPart.CFrame*euler(-0.1,3.4,0)*cf(0,0,15) | |
| 737 | wait(2) | |
| 738 | for i=0,1,0.05 do | |
| 739 | wait() | |
| 740 | Torso.Neck.C0=necko*euler(0,0,1.57-1.77*i) | |
| 741 | RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,0.-1.57+1.77*i) | |
| 742 | RW.C0=cf(1-1.5+1*i,0.5,-1+0.5*i)*euler(1.5+0.4*i,0,-1.57+0.57*i) | |
| 743 | LW.C0=cf(-1.5,0.5,0)*euler(-0.4,3.14-3.14*i,0.1) | |
| 744 | RH.C0=cf(0.5,-1,0)*euler(0,0,0.2) | |
| 745 | LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2) | |
| 746 | end | |
| 747 | for _,v in pairs(drill:children()) do | |
| 748 | if v.Name~="Drill Part" then | |
| 749 | v.Parent=nil | |
| 750 | end | |
| 751 | end | |
| 752 | for i=0,1,0.2 do | |
| 753 | wait() | |
| 754 | drillmsh.Scale=vt(7-6.5*i,9,7-6.5*i) | |
| 755 | Torso.Neck.C0=necko*euler(0,0,-0.2+0.6*i) | |
| 756 | RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,0.2-0.6*i) | |
| 757 | RW.C0=cf(1-0.5+1*i,0.5,-0.5+0.5*i)*euler(1.9-1.4*i,0,-1+2*i) | |
| 758 | LW.C0=cf(-1.5,0.5,0)*euler(-0.4,0,0.1-0.2*i) | |
| 759 | RH.C0=cf(0.5,-1,0)*euler(0,0,0.2) | |
| 760 | LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2) | |
| 761 | end | |
| 762 | n=2 | |
| 763 | for i=0,1,0.2 do | |
| 764 | wait() | |
| 765 | Torso.Neck.C0=necko*euler(0,0,0.4+0.1*i*n) | |
| 766 | RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,-0.4-0.1*i*n) | |
| 767 | RW.C0=cf(1.5,0.5,0)*euler(0.5-0.1*i*n,0,1+0.1*i*n) | |
| 768 | LW.C0=cf(-1.5,0.5,0)*euler(-0.4,0,-0.1) | |
| 769 | RH.C0=cf(0.5,-1,0)*euler(0,0,0.2) | |
| 770 | LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2) | |
| 771 | n=n-0.2 | |
| 772 | end | |
| 773 | wait(0.2) | |
| 774 | for i=0,1,0.2 do | |
| 775 | wait() | |
| 776 | Torso.Neck.C0=necko*euler(0.1*i,0,0.5+0.1*i) | |
| 777 | RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,-0.5-0.2*i) | |
| 778 | RW.C0=cf(1.5-0.5*i,0.5,0.5*i)*euler(0.4,0,1-0.2*i) | |
| 779 | LW.C0=cf(-1.5,0.5,0)*euler(-0.4,0,-0.1-0.2*i) | |
| 780 | RH.C0=cf(0.5,-1,0)*euler(0,0,0.2) | |
| 781 | LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2) | |
| 782 | drillmsh.Scale=vt(.5,9-8*i,.5) | |
| 783 | drillweld.C0=cf(0,-8+7*i,0)*euler(3.14,0,0) | |
| 784 | end | |
| 785 | n=2 | |
| 786 | for i=0,1,0.2 do | |
| 787 | wait() | |
| 788 | Torso.Neck.C0=necko*euler(0.1+0.1*i*n,0,0.6+0.1*i*n) | |
| 789 | RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,-0.7-0.1*i*n) | |
| 790 | RW.C0=cf(1.5-0.5,0.5,0.5)*euler(0.4-0.1*i*n,0,0.8+0.1*i*n) | |
| 791 | LW.C0=cf(-1.5,0.5,0)*euler(-0.4,0,-0.3-0.1*i*n) | |
| 792 | RH.C0=cf(0.5,-1,0)*euler(0,0,0.2) | |
| 793 | LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2) | |
| 794 | n=n-0.2 | |
| 795 | end | |
| 796 | drill.Parent=nil | |
| 797 | for i=0,1,0.1 do | |
| 798 | wait() | |
| 799 | Torso.Neck.C0=necko*euler(0.2,0.2*i,0.7) | |
| 800 | RootJoint.C0=RootCF*cf(0,0,0)*euler(0,0,-0.9) | |
| 801 | RW.C0=cf(1.5-0.5+0.5*i,0.5,0.5-0.5*i)*euler(0.3,0,0.9-0.2*i) | |
| 802 | LW.C0=cf(-1.5,0.5,0)*euler(-0.4,0,-0.4+0.1*i) | |
| 803 | RH.C0=cf(0.5,-1,0)*euler(0,0,0.2) | |
| 804 | LH.C0=cf(-0.5,-1,0)*euler(0,0,-0.2) | |
| 805 | end | |
| 806 | --[[sound:Stop() | |
| 807 | sound2:Stop() | |
| 808 | sound3:Stop() | |
| 809 | DONTLOSEYOURWAAAAAAAY=Instance.new("Sound")
| |
| 810 | DONTLOSEYOURWAAAAAAAY.Parent=tors | |
| 811 | DONTLOSEYOURWAAAAAAAY.Volume=1 | |
| 812 | DONTLOSEYOURWAAAAAAAY.SoundId="http://www.roblox.com/asset/?id=138109980" | |
| 813 | DONTLOSEYOURWAAAAAAAY:Play() | |
| 814 | DONTLOSEYOURWAAAAAAAY=Instance.new("Sound")
| |
| 815 | DONTLOSEYOURWAAAAAAAY.Parent=Torso | |
| 816 | DONTLOSEYOURWAAAAAAAY.Volume=1 | |
| 817 | DONTLOSEYOURWAAAAAAAY.SoundId="http://www.roblox.com/asset/?id=138109980" | |
| 818 | DONTLOSEYOURWAAAAAAAY:Play()]] | |
| 819 | wait(2.2) | |
| 820 | --very ded | |
| 821 | POS=tors.Position | |
| 822 | boomCF=tors.CFrame | |
| 823 | e=Instance.new("Explosion")
| |
| 824 | e.BlastRadius=30 | |
| 825 | e.Position=POS | |
| 826 | e.BlastPressure=e.BlastPressure*2.5 | |
| 827 | e.Parent=workspace | |
| 828 | local prt=part(3,workspace,0,0,BrickColor.new("Bright red"),"Effect",vt(0.5,0.5,0.5))
| |
| 829 | prt.Anchored=true | |
| 830 | prt.CFrame=boomCF*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 831 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(10,10,10))
| |
| 832 | game:GetService("Debris"):AddItem(prt,5)
| |
| 833 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 834 | for i=0,1,0.01 do | |
| 835 | wait() | |
| 836 | Part.CFrame=Part.CFrame | |
| 837 | Part.Transparency=i | |
| 838 | Mesh.Scale=Mesh.Scale+vt(1.5,1.5,1.5) | |
| 839 | end | |
| 840 | Part.Parent=nil | |
| 841 | end),prt,msh) | |
| 842 | for i=1,10 do | |
| 843 | wait() | |
| 844 | local prt=part(3,workspace,0,0,BrickColor.new("Bright red"),"Effect",vt(0.5,0.5,0.5))
| |
| 845 | prt.Anchored=true | |
| 846 | prt.CFrame=boomCF*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 847 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(10,10,10))
| |
| 848 | game:GetService("Debris"):AddItem(prt,5)
| |
| 849 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 850 | for i=0,1,0.02 do | |
| 851 | wait() | |
| 852 | Part.CFrame=Part.CFrame | |
| 853 | Part.Transparency=i | |
| 854 | Mesh.Scale=Mesh.Scale+vt(1.5,1.5,1.5) | |
| 855 | end | |
| 856 | Part.Parent=nil | |
| 857 | end),prt,msh) | |
| 858 | end | |
| 859 | wait(1.5) | |
| 860 | e=Instance.new("Explosion")
| |
| 861 | e.BlastRadius=30 | |
| 862 | e.Position=POS | |
| 863 | e.BlastPressure=e.BlastPressure*2.5 | |
| 864 | e.Parent=workspace | |
| 865 | local prt=part(3,workspace,0,0,BrickColor.new("Bright yellow"),"Effect",vt(0.5,0.5,0.5))
| |
| 866 | prt.Anchored=true | |
| 867 | prt.CFrame=boomCF*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 868 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(10,10,10))
| |
| 869 | game:GetService("Debris"):AddItem(prt,5)
| |
| 870 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 871 | for i=0,1,0.01 do | |
| 872 | wait() | |
| 873 | Part.CFrame=Part.CFrame | |
| 874 | Part.Transparency=i/2 | |
| 875 | Mesh.Scale=Mesh.Scale+vt(3,3,3) | |
| 876 | end | |
| 877 | Part.Parent=nil | |
| 878 | end),prt,msh) | |
| 879 | for i=1,10 do | |
| 880 | wait(0.1) | |
| 881 | local prt=part(3,workspace,0,0,BrickColor.new("Bright red"),"Effect",vt(0.5,0.5,0.5))
| |
| 882 | prt.Anchored=true | |
| 883 | prt.CFrame=boomCF*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 884 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(10,10,10))
| |
| 885 | game:GetService("Debris"):AddItem(prt,5)
| |
| 886 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 887 | for i=0,1,0.01 do | |
| 888 | wait() | |
| 889 | Part.CFrame=Part.CFrame | |
| 890 | Part.Transparency=i | |
| 891 | Mesh.Scale=Mesh.Scale+vt(1,1,1) | |
| 892 | end | |
| 893 | Part.Parent=nil | |
| 894 | end),prt,msh) | |
| 895 | end | |
| 896 | --wait(1.5) | |
| 897 | wait(1.5) | |
| 898 | local prt=part(3,workspace,0,0,BrickColor.new("White"),"Effect",vt(0.5,0.5,0.5))
| |
| 899 | prt.Anchored=true | |
| 900 | prt.CFrame=ShadeCenter.CFrame | |
| 901 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.5,1,.5))
| |
| 902 | game:GetService("Debris"):AddItem(prt,5)
| |
| 903 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 904 | for i=0,1,0.05 do | |
| 905 | wait() | |
| 906 | Part.CFrame=Part.CFrame | |
| 907 | Part.Transparency=i | |
| 908 | Mesh.Scale=Mesh.Scale+vt(0.1,0.7,0.1) | |
| 909 | end | |
| 910 | Part.Parent=nil | |
| 911 | end),prt,msh) | |
| 912 | local prt=part(3,workspace,0,0,BrickColor.new("White"),"Effect",vt(0.5,0.5,0.5))
| |
| 913 | prt.Anchored=true | |
| 914 | prt.CFrame=ShadeCenter.CFrame*euler(1.57,0,0) | |
| 915 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.5,1,.5))
| |
| 916 | game:GetService("Debris"):AddItem(prt,5)
| |
| 917 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 918 | for i=0,1,0.05 do | |
| 919 | wait() | |
| 920 | Part.CFrame=Part.CFrame | |
| 921 | Part.Transparency=i | |
| 922 | Mesh.Scale=Mesh.Scale+vt(0.1,0.7,0.1) | |
| 923 | end | |
| 924 | Part.Parent=nil | |
| 925 | end),prt,msh) | |
| 926 | local prt=part(3,workspace,0,0,BrickColor.new("White"),"Effect",vt(0.5,0.5,0.5))
| |
| 927 | prt.Anchored=true | |
| 928 | prt.CFrame=ShadeCenter.CFrame*euler(0,0,1.57) | |
| 929 | msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.5,1,.5))
| |
| 930 | game:GetService("Debris"):AddItem(prt,5)
| |
| 931 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
| 932 | for i=0,1,0.05 do | |
| 933 | wait() | |
| 934 | Part.CFrame=Part.CFrame | |
| 935 | Part.Transparency=i | |
| 936 | Mesh.Scale=Mesh.Scale+vt(0.1,0.7,0.1) | |
| 937 | end | |
| 938 | Part.Parent=nil | |
| 939 | end),prt,msh) | |
| 940 | Shade1.Transparency=0.05 | |
| 941 | Shade2.Transparency=0.05 | |
| 942 | wait(1) | |
| 943 | sound:Stop() | |
| 944 | wait() | |
| 945 | sound2:Stop() | |
| 946 | sound3:Stop() | |
| 947 | wait(1) | |
| 948 | ShadesClone1.Parent=nil | |
| 949 | ShadesClone2.Parent=nil | |
| 950 | end | |
| 951 | wait() | |
| 952 | print(target) | |
| 953 | con1:disconnect() | |
| 954 | bb.Parent=nil | |
| 955 | gudbai.Parent=nil | |
| 956 | wait(.5) | |
| 957 | sound:Stop() | |
| 958 | wait() | |
| 959 | sound2:Stop() | |
| 960 | sound3:Stop() | |
| 961 | --bodypos2.Parent=nil | |
| 962 | bodypos.Parent=nil | |
| 963 | bodygy.Parent=nil | |
| 964 | prop.Parent=nil | |
| 965 | gg.Parent=nil | |
| 966 | scale=1.5 | |
| 967 | Torso.Neck.C0=necko | |
| 968 | RootJoint.C0=RootCF | |
| 969 | RootJoint.C1=RootCF | |
| 970 | shadeweld.Part0=Head | |
| 971 | shadeweld.C0=cf(0,0.4,-0.65) | |
| 972 | prop.Parent=nil | |
| 973 | gg.Parent=nil | |
| 974 | scale=1.5 | |
| 975 | RW.Parent=nil | |
| 976 | LW.Parent=nil | |
| 977 | RSH.Parent=Torso | |
| 978 | LSH.Parent=Torso | |
| 979 | RHP.Parent=Torso | |
| 980 | LHP.Parent=Torso | |
| 981 | end | |
| 982 | ||
| 983 | function ob1d() | |
| 984 | if attack==true then return end | |
| 985 | attack=true | |
| 986 | print("DRILLBREEEEEAK")
| |
| 987 | GIGADRILLBREAKER() | |
| 988 | attack=false | |
| 989 | cam.CameraType="Custom" | |
| 990 | end | |
| 991 | ||
| 992 | function s(mouse) | |
| 993 | mouse.Button1Down:connect(function() ob1d() end) | |
| 994 | end | |
| 995 | ||
| 996 | Bin.Selected:connect(s) |