SHOW:
|
|
- or go back to the newest paste.
| 1 | function Ungroup(model) | |
| 2 | for _,v in ipairs(model:GetChildren()) do | |
| 3 | v.Parent=model.Parent | |
| 4 | end | |
| 5 | model:remove() | |
| 6 | end | |
| 7 | local new=Instance.new | |
| 8 | local rad=math.rad | |
| 9 | local cf=CFrame.new | |
| 10 | local v3=Vector3.new | |
| 11 | local hitmeter = 0 | |
| 12 | local ang=function(x,y,z) | |
| 13 | return CFrame.Angles(rad(x),rad(y),rad(z)) | |
| 14 | end | |
| 15 | local player=game:service'Players'.LocalPlayer | |
| 16 | local char=player.Character | |
| 17 | local cam=workspace.Camera | |
| 18 | local mouse=player:GetMouse() | |
| 19 | local weld=function(a,b,c0,c1) | |
| 20 | m=Instance.new('Motor',a)
| |
| 21 | m.Part0=a | |
| 22 | m.Part1=b | |
| 23 | m.C0=c0 | |
| 24 | m.C1=c1 | |
| 25 | return m | |
| 26 | end | |
| 27 | ||
| 28 | ||
| 29 | beamm=Instance.new('Model',workspace)
| |
| 30 | beamm.Name='beam' | |
| 31 | ||
| 32 | laser=false | |
| 33 | ||
| 34 | rs=Instance.new('Part',char)
| |
| 35 | rs.Transparency=1 | |
| 36 | rs.CanCollide=false | |
| 37 | rs.TopSurface,rs.BottomSurface=0,0 | |
| 38 | rs.FormFactor=3 | |
| 39 | rs.Size=Vector3.new(.5,.5,.5) | |
| 40 | ||
| 41 | ls=rs:Clone() | |
| 42 | ls.Parent=char | |
| 43 | ||
| 44 | ||
| 45 | ||
| 46 | s1=Instance.new('Sound',char)
| |
| 47 | s1.Volume=1 | |
| 48 | s1.Pitch=1 | |
| 49 | s1.Looped=true | |
| 50 | ||
| 51 | ||
| 52 | particles={}
| |
| 53 | ||
| 54 | local wep=new('Part',char)
| |
| 55 | wep.FormFactor=3 | |
| 56 | wep.Transparency = 1 | |
| 57 | wep.CanCollide=false | |
| 58 | wep.Size=v3(0.1,0.1,0.1) | |
| 59 | wep.TopSurface,wep.BottomSurface=0,0 | |
| 60 | local wepw=weld(wep,char['Torso'],cf(0,6,0),ang(90,0,0)) | |
| 61 | ||
| 62 | local beam1=wep:Clone() | |
| 63 | beam1:ClearAllChildren() | |
| 64 | beam1.Material='Neon' | |
| 65 | beam1.BrickColor=BrickColor.new('Toothpaste')
| |
| 66 | beam1.Size=Vector3.new(15,15,1) | |
| 67 | beam1.Transparency=.5 | |
| 68 | beam1.Anchored=true | |
| 69 | local ms=Instance.new('BlockMesh',beam1)
| |
| 70 | local inner1=beam1:Clone() | |
| 71 | inner1.Transparency=0 | |
| 72 | inner1.Material='SmoothPlastic' | |
| 73 | inner1.BrickColor=BrickColor.new('Navy blue')
| |
| 74 | local ms2=inner1.Mesh | |
| 75 | ||
| 76 | local expl1=inner1:Clone() | |
| 77 | expl1.Mesh:Destroy() | |
| 78 | expl1.Material='Neon' | |
| 79 | expl1.BrickColor=BrickColor.new('New Yeller')
| |
| 80 | expl1.Size=Vector3.new(11,11,11) | |
| 81 | expl1.Transparency=0 | |
| 82 | pl=Instance.new('PointLight',expl1)
| |
| 83 | pl.Color=expl1.BrickColor.Color | |
| 84 | pl.Range=pl.Range*2 | |
| 85 | pl.Name='light' | |
| 86 | local br=pl.Range | |
| 87 | ||
| 88 | local exa1=expl1:Clone() | |
| 89 | exa1.Size=Vector3.new(10,10,10) | |
| 90 | pl2=exa1.light | |
| 91 | ||
| 92 | local part=exa1:Clone() | |
| 93 | part.Size=Vector3.new(1.5,1.5,1.5) | |
| 94 | pl3=part.light | |
| 95 | pms=Instance.new('BlockMesh',part)
| |
| 96 | ||
| 97 | char.Humanoid.Died:connect(function() | |
| 98 | laser=false | |
| 99 | beam1.Parent=nil | |
| 100 | inner1.Parent=nil | |
| 101 | expl1.Parent=nil | |
| 102 | exa1.Parent=nil | |
| 103 | s1:stop() | |
| 104 | end) | |
| 105 | ||
| 106 | ||
| 107 | ||
| 108 | parti=0 | |
| 109 | game:service'RunService'.Stepped:connect(function() | |
| 110 | parti=parti+1 | |
| 111 | for i,v in pairs(particles) do | |
| 112 | v.CFrame=v.CFrame*CFrame.new(0,0,-.3) | |
| 113 | v.Transparency=v.Transparency+.08 | |
| 114 | if v.Transparency >= 1 then | |
| 115 | v:Destroy() | |
| 116 | table.remove(particles,i) | |
| 117 | else | |
| 118 | v.Parent=beamm | |
| 119 | end | |
| 120 | end | |
| 121 | a=cam.CoordinateFrame.p | |
| 122 | b=mouse.Hit.p | |
| 123 | mhitr=Ray.new(a,(b-a).unit*999) | |
| 124 | mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm})
| |
| 125 | ||
| 126 | ||
| 127 | if laser then | |
| 128 | beamm.Parent=workspace | |
| 129 | beam1.Parent=beamm | |
| 130 | inner1.Parent=beamm | |
| 131 | expl1.Parent=beamm | |
| 132 | exa1.Parent=beamm | |
| 133 | s1.Volume=s1.Volume-0.005 | |
| 134 | ||
| 135 | ray=Ray.new((wep.CFrame*cf(0,-1.5,0)).p,((wep.CFrame*cf(0,-10,0)).p-(wep.CFrame*cf(0,-1.5,0)).p).unit*999) | |
| 136 | hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm})
| |
| 137 | ||
| 138 | if hit and s1.Volume > .3 and parti/8==math.floor(parti/8) and hit ~= workspace.Baseplate then | |
| 139 | if hit:IsA("Part") then
| |
| 140 | hit.Anchored = false | |
| 141 | wait() | |
| 142 | hit.Position = hit.Position + Vector3.new(0,1,0) | |
| 143 | block = Instance.new("BodyForce",hit)
| |
| 144 | block.Force = Vector3.new(0,0,10000) | |
| 145 | end | |
| 146 | if hit:IsA("Model") then
| |
| 147 | Ungroup(hit) | |
| 148 | end | |
| 149 | ||
| 150 | end | |
| 151 | if hit and hit.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 152 | human = hit.Parent:FindFirstChild("Humanoid")
| |
| 153 | to = hit.Parent:FindFirstChild("Torso")
| |
| 154 | human.Sit = true | |
| 155 | human.PlatformStand = true | |
| 156 | human.Health = human.Health - math.huge | |
| 157 | e=Instance.new('Explosion',workspace)
| |
| 158 | e.Position=pos | |
| 159 | to:Destroy() | |
| 160 | ||
| 161 | end | |
| 162 | if hit and hit.Parent==workspace.Terrain or hit==workspace.Terrain and parti/8==math.floor(parti/8) then | |
| 163 | e=Instance.new('Explosion',workspace)
| |
| 164 | e.Position=pos | |
| 165 | e.BlastRadius=14 | |
| 166 | e.BlastPressure=1e4 | |
| 167 | end | |
| 168 | if hit and not hit.Anchored and not (hit:GetMass()>1e4) then | |
| 169 | hit.Velocity=hit.Velocity+beam1.CFrame.lookVector*(1*s1.Volume*hit:GetMass()) | |
| 170 | end | |
| 171 | ||
| 172 | if parti==math.floor(parti) then | |
| 173 | par=part:Clone() | |
| 174 | table.insert(particles,par) | |
| 175 | par.Parent=beamm | |
| 176 | par.Transparency=1-s1.Volume | |
| 177 | par.light.Range=br*s1.Volume | |
| 178 | par.CFrame=cf(pos)*ang(math.random(-180,180),math.random(-180,180),math.random(-180,180))*cf(10,10,10) | |
| 179 | end | |
| 180 | ||
| 181 | mag=((wep.CFrame*cf(0,-1.5,0)).p-pos).magnitude | |
| 182 | ms.Scale=v3(s1.Volume,s1.Volume,mag) | |
| 183 | ms2.Scale=v3(ms.Scale.x/2,ms.Scale.y/2,mag-(.1/mag)) | |
| 184 | beam1.CFrame=cf((wep.CFrame*cf(0,-1.5,0)).p,pos)*cf(0,0,-mag/2)*ang(0,0,math.random(0,180)) | |
| 185 | inner1.CFrame=beam1.CFrame | |
| 186 | pl.Range=br*s1.Volume | |
| 187 | pl2.Range=br*s1.Volume | |
| 188 | expl1.Size=v3(30,30,30)*s1.Volume | |
| 189 | expl1.Transparency=math.random(40,60)/100 | |
| 190 | expl1.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180)) | |
| 191 | exa1.Size=v3(20,20,20)*s1.Volume | |
| 192 | exa1.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180)) | |
| 193 | ||
| 194 | end | |
| 195 | end) | |
| 196 | beamm=Instance.new('Model',workspace)
| |
| 197 | beamm.Name='beam' | |
| 198 | ||
| 199 | laser1=false | |
| 200 | ||
| 201 | rs=Instance.new('Part',char)
| |
| 202 | rs.Transparency=1 | |
| 203 | rs.CanCollide=false | |
| 204 | rs.TopSurface,rs.BottomSurface=0,0 | |
| 205 | rs.FormFactor=3 | |
| 206 | rs.Size=Vector3.new(.5,.5,.5) | |
| 207 | ||
| 208 | ls=rs:Clone() | |
| 209 | ls.Parent=char | |
| 210 | ||
| 211 | ||
| 212 | ||
| 213 | s1=Instance.new('Sound',char)
| |
| 214 | s1.Volume=1 | |
| 215 | s1.Pitch=1 | |
| 216 | s1.Looped=true | |
| 217 | ||
| 218 | ||
| 219 | particles={}
| |
| 220 | ||
| 221 | local wep=new('Part',char)
| |
| 222 | wep.FormFactor=3 | |
| 223 | wep.Transparency = 1 | |
| 224 | wep.CanCollide=false | |
| 225 | wep.Size=v3(0.1,0.1,0.1) | |
| 226 | wep.TopSurface,wep.BottomSurface=0,0 | |
| 227 | local wepw=weld(wep,char['Torso'],cf(0,3,0.5),ang(100,0,90)) | |
| 228 | ||
| 229 | local beam=wep:Clone() | |
| 230 | beam:ClearAllChildren() | |
| 231 | beam.Material='Neon' | |
| 232 | beam.BrickColor=BrickColor.new('Toothpaste')
| |
| 233 | beam.Size=Vector3.new(4,4,1) | |
| 234 | beam.Transparency=.5 | |
| 235 | beam.Anchored=true | |
| 236 | local ms=Instance.new('BlockMesh',beam)
| |
| 237 | local inner=beam:Clone() | |
| 238 | inner.Transparency=0 | |
| 239 | inner.Material='SmoothPlastic' | |
| 240 | inner.BrickColor=BrickColor.new('Navy blue')
| |
| 241 | local ms2=inner.Mesh | |
| 242 | ||
| 243 | local expl=inner:Clone() | |
| 244 | expl.Mesh:Destroy() | |
| 245 | expl.Material='Neon' | |
| 246 | expl.BrickColor=BrickColor.new('Toothpaste')
| |
| 247 | expl.Size=Vector3.new(11,11,11) | |
| 248 | expl.Transparency=.55 | |
| 249 | pl=Instance.new('PointLight',expl)
| |
| 250 | pl.Color=expl.BrickColor.Color | |
| 251 | pl.Range=pl.Range*2 | |
| 252 | pl.Name='light' | |
| 253 | local br=pl.Range | |
| 254 | ||
| 255 | local exa=expl:Clone() | |
| 256 | exa.Size=Vector3.new(4,4,4) | |
| 257 | pl2=exa.light | |
| 258 | ||
| 259 | local part=exa:Clone() | |
| 260 | part.Size=Vector3.new(1.5,1.5,1.5) | |
| 261 | pl3=part.light | |
| 262 | pms=Instance.new('BlockMesh',part)
| |
| 263 | ||
| 264 | char.Humanoid.Died:connect(function() | |
| 265 | laser1=false | |
| 266 | beam.Parent=nil | |
| 267 | inner.Parent=nil | |
| 268 | expl.Parent=nil | |
| 269 | exa.Parent=nil | |
| 270 | s1:stop() | |
| 271 | end) | |
| 272 | ||
| 273 | ||
| 274 | ||
| 275 | parti=0 | |
| 276 | game:service'RunService'.Stepped:connect(function() | |
| 277 | parti=parti+1 | |
| 278 | for i,v in pairs(particles) do | |
| 279 | v.CFrame=v.CFrame*CFrame.new(0,0,-.3) | |
| 280 | v.Transparency=v.Transparency+.08 | |
| 281 | if v.Transparency >= 1 then | |
| 282 | v:Destroy() | |
| 283 | table.remove(particles,i) | |
| 284 | else | |
| 285 | v.Parent=beamm | |
| 286 | end | |
| 287 | end | |
| 288 | a=cam.CoordinateFrame.p | |
| 289 | b=mouse.Hit.p | |
| 290 | mhitr=Ray.new(a,(b-a).unit*999) | |
| 291 | mhit,ps=workspace:FindPartOnRayWithIgnoreList(mhitr,{char,beamm})
| |
| 292 | ||
| 293 | ||
| 294 | if laser1 then | |
| 295 | beamm.Parent=workspace | |
| 296 | beam.Parent=beamm | |
| 297 | inner.Parent=beamm | |
| 298 | expl.Parent=beamm | |
| 299 | exa.Parent=beamm | |
| 300 | s1.Volume=s1.Volume-.005 | |
| 301 | ||
| 302 | ray=Ray.new((wep.CFrame*cf(0,-1.5,0)).p,((wep.CFrame*cf(0,-10,0)).p-(wep.CFrame*cf(0,-1.5,0)).p).unit*999) | |
| 303 | hit,pos=workspace:FindPartOnRayWithIgnoreList(ray,{char,beamm})
| |
| 304 | ||
| 305 | if hit and hit.Parent:findFirstChild('Humanoid') and s1.Volume > .3 and parti/8==math.floor(parti/8) then
| |
| 306 | ||
| 307 | end | |
| 308 | if hit and hit.Parent==workspace.Terrain or hit==workspace.Terrain and parti/8==math.floor(parti/8) then | |
| 309 | e=Instance.new('Explosion',workspace)
| |
| 310 | e.Position=pos | |
| 311 | e.BlastRadius=14 | |
| 312 | e.BlastPressure=1e4 | |
| 313 | end | |
| 314 | if hit and not hit.Anchored and not (hit:GetMass()>1e4) then | |
| 315 | hit.Velocity=hit.Velocity+beam.CFrame.lookVector*(1*s1.Volume*hit:GetMass()) | |
| 316 | end | |
| 317 | ||
| 318 | if parti==math.floor(parti) then | |
| 319 | par=part:Clone() | |
| 320 | table.insert(particles,par) | |
| 321 | par.Parent=beamm | |
| 322 | par.Transparency=1-s1.Volume | |
| 323 | par.light.Range=br*s1.Volume | |
| 324 | par.CFrame=cf(pos)*ang(math.random(-180,180),math.random(-180,180),math.random(-180,180))*cf(0,0,-10) | |
| 325 | end | |
| 326 | ||
| 327 | mag=((wep.CFrame*cf(0,-1.5,0)).p-pos).magnitude | |
| 328 | ms.Scale=v3(s1.Volume,s1.Volume,mag) | |
| 329 | ms2.Scale=v3(ms.Scale.x/2,ms.Scale.y/2,mag-(.1/mag)) | |
| 330 | beam.CFrame=cf((wep.CFrame*cf(0,-1.5,0)).p,pos)*cf(0,0,-mag/2)*ang(0,0,math.random(0,180)) | |
| 331 | inner.CFrame=beam.CFrame | |
| 332 | pl.Range=br*s1.Volume | |
| 333 | pl2.Range=br*s1.Volume | |
| 334 | expl.Size=v3(math.random(9,13),math.random(9,13),math.random(9,13))*s1.Volume | |
| 335 | expl.Transparency=math.random(40,60)/100 | |
| 336 | expl.CFrame=cf(pos)*ang(math.random(0,180),math.random(0,180),math.random(0,180)) | |
| 337 | exa.Size=v3(3,3,3)*s1.Volume | |
| 338 | exa.CFrame=wep.CFrame*cf(0,-1.5,0)*ang(math.random(0,180),math.random(0,180),math.random(0,180)) | |
| 339 | ||
| 340 | end | |
| 341 | end) | |
| 342 | local char = game.Players.LocalPlayer.Character | |
| 343 | for i,v in pairs(char:children()) do | |
| 344 | if v:IsA("Accessory") then
| |
| 345 | v:Destroy() | |
| 346 | end | |
| 347 | end | |
| 348 | local froze = {}
| |
| 349 | local function freeze(p) | |
| 350 | if p:IsA("BasePart") and p.Anchored == false then
| |
| 351 | p.Anchored = true | |
| 352 | table.insert(froze,p) | |
| 353 | end | |
| 354 | if not game.Players:GetPlayerFromCharacter(p) then | |
| 355 | for _,v in pairs(p:GetChildren())do | |
| 356 | freeze(v) | |
| 357 | end | |
| 358 | end | |
| 359 | end | |
| 360 | local function unfreeze() | |
| 361 | for _,v in pairs(froze)do | |
| 362 | v.Anchored = false | |
| 363 | end | |
| 364 | froze = {}
| |
| 365 | end | |
| 366 | local hold = false | |
| 367 | local aura = Instance.new("ParticleEmitter",game.Players.LocalPlayer.Character.Torso)
| |
| 368 | aura.Size = NumberSequence.new(0) | |
| 369 | aura.Lifetime = NumberRange.new(0) | |
| 370 | aura.LightEmission = 0 | |
| 371 | local jun = game.Players.LocalPlayer | |
| 372 | local p = game.Players.LocalPlayer | |
| 373 | local char = p.Character | |
| 374 | local mouse = p:GetMouse() | |
| 375 | local larm = char["Left Arm"] | |
| 376 | local rarm = char["Right Arm"] | |
| 377 | local lleg = char["Left Leg"] | |
| 378 | local rleg = char["Right Leg"] | |
| 379 | local hed = char.Head | |
| 380 | local torso = char.Torso | |
| 381 | local hum = char.Humanoid | |
| 382 | local cam = game.Workspace.CurrentCamera | |
| 383 | local root = char.HumanoidRootPart | |
| 384 | local deb = false | |
| 385 | local shot = 0 | |
| 386 | local debris=game:service"Debris" | |
| 387 | local l = game:GetService("Lighting")
| |
| 388 | local rs = game:GetService("RunService").RenderStepped
| |
| 389 | ||
| 390 | ypcall(function() | |
| 391 | shirt = Instance.new("Shirt", char)
| |
| 392 | shirt.Name = "Shirt" | |
| 393 | pants = Instance.new("Pants", char)
| |
| 394 | pants.Name = "Pants" | |
| 395 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=393374766" | |
| 396 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=237836991" | |
| 397 | end) | |
| 398 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
| |
| 399 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
| |
| 400 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
| |
| 401 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
| |
| 402 | Hair99 = Instance.new("Part")
| |
| 403 | ||
| 404 | Hair99.Parent = jun.Character | |
| 405 | Hair99.Name = "Hair" | |
| 406 | Hair99.formFactor = "Symmetric" | |
| 407 | Hair99.Size = Vector3.new(1, 1, 1) | |
| 408 | Hair99.CFrame = jun.Character.Head.CFrame | |
| 409 | Hair99:BreakJoints() | |
| 410 | Hair99.CanCollide = false | |
| 411 | Hair99.TopSurface = "Smooth" | |
| 412 | Hair99.BottomSurface = "Smooth" | |
| 413 | Hair99.BrickColor = BrickColor.new("New Yeller")
| |
| 414 | Hair99.Transparency = 0 | |
| 415 | ||
| 416 | Weld = Instance.new("Weld")
| |
| 417 | Weld.Part0 = jun.Character.Head | |
| 418 | Weld.Part1 = Hair99 | |
| 419 | Weld.Parent = jun.Character.Head | |
| 420 | Weld.C0 = CFrame.new(0, 0.26, 0.06)*CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
| 421 | ||
| 422 | Hair7 = Instance.new("Part")
| |
| 423 | Hair7.Parent = jun.Character | |
| 424 | Hair7.Name = "Hair" | |
| 425 | Hair7.CanCollide = false | |
| 426 | Hair7.Locked = true | |
| 427 | Hair7.TopSurface = "Smooth" | |
| 428 | Hair7.BottomSurface = "Smooth" | |
| 429 | Hair7.formFactor = "Symmetric" | |
| 430 | Hair7.Material = "Neon" | |
| 431 | Hair7.BrickColor = BrickColor.new("Black")
| |
| 432 | Hair7.CFrame = jun.Character.Torso.CFrame | |
| 433 | Hair7.Size = Vector3.new(1, 1, 1) | |
| 434 | Hair7.Transparency = 0 | |
| 435 | ||
| 436 | Mesh = Instance.new("SpecialMesh")
| |
| 437 | Mesh.Parent = Hair99 | |
| 438 | Mesh.MeshType = "Sphere" | |
| 439 | Mesh.Offset = Vector3.new(0, 0.1, 0.1) | |
| 440 | Mesh.Scale = Vector3.new(1.2, 1.2, 1.2) | |
| 441 | ||
| 442 | ||
| 443 | Weld = Instance.new("Weld")
| |
| 444 | Weld.Parent = jun.Character.Head | |
| 445 | Weld.Part0 = jun.Character.Head | |
| 446 | Weld.Part1 = Hair7 | |
| 447 | Weld.C0 = CFrame.new(0, 1, 0) | |
| 448 | ||
| 449 | Mesh = Instance.new("SpecialMesh")
| |
| 450 | Mesh.Offset = Vector3.new(0.2, -0.2, 0.2) | |
| 451 | Mesh.Parent = Hair7 | |
| 452 | Mesh.Scale = Vector3.new(1, 1, 1) | |
| 453 | Mesh.MeshType = "FileMesh" | |
| 454 | Mesh.MeshId = "http://www.roblox.com/asset/?id=476757756" | |
| 455 | Mesh.TextureId = "" | |
| 456 | ||
| 457 | ||
| 458 | ||
| 459 | local m = Instance.new("Model")
| |
| 460 | game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=612030795" | |
| 461 | local p = game.Players.LocalPlayer | |
| 462 | local char = p.Character | |
| 463 | local mouse = p:GetMouse() | |
| 464 | local larm = char["Left Arm"] | |
| 465 | local rarm = char["Right Arm"] | |
| 466 | local lleg = char["Left Leg"] | |
| 467 | local rleg = char["Right Leg"] | |
| 468 | local hed = char.Head | |
| 469 | local torso = char.Torso | |
| 470 | local hum = char.Humanoid | |
| 471 | local cam = game.Workspace.CurrentCamera | |
| 472 | local root = char.HumanoidRootPart | |
| 473 | local deb = false | |
| 474 | local shot = 0 | |
| 475 | local debris=game:service"Debris" | |
| 476 | local l = game:GetService("Lighting")
| |
| 477 | local rs = game:GetService("RunService").RenderStepped
| |
| 478 | ||
| 479 | ||
| 480 | ||
| 481 | Vegeta = Instance.new("Model",game.Players.LocalPlayer.Character.Torso)
| |
| 482 | Vegeta.Name = "Vegeta" | |
| 483 | humanoid = Instance.new("Humanoid",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 484 | shirt = Instance.new("Shirt",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 485 | shirt.Name = "Shirt" | |
| 486 | pants = Instance.new("Pants",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 487 | pants.Name = "Pants" | |
| 488 | torso = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 489 | torso.Size = Vector3.new(2,2,1) | |
| 490 | torso.Rotation = Vector3.new(0,180,0) | |
| 491 | torso.Position = Vector3.new(0,4,0) | |
| 492 | torso.BrickColor = BrickColor.new("Pastel brown")
| |
| 493 | torso.Name = "Torso" | |
| 494 | head = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 495 | head.Size = Vector3.new(1.25,1.25,1.25) | |
| 496 | head.BrickColor = BrickColor.new("Pastel brown")
| |
| 497 | head.Name = "Head" | |
| 498 | head.Position = Vector3.new(0,6,0) | |
| 499 | headmesh = Instance.new("SpecialMesh",head)
| |
| 500 | headmesh.MeshType = "Head" | |
| 501 | larm = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 502 | larm.Size = Vector3.new(1,2,1) | |
| 503 | larm.BrickColor = BrickColor.new("Pastel brown")
| |
| 504 | larm.Name = "Left Arm" | |
| 505 | larm.Position = Vector3.new(-2,4,0) | |
| 506 | rarm = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 507 | rarm.Size = Vector3.new(1,2,1) | |
| 508 | rarm.BrickColor = BrickColor.new("Pastel brown")
| |
| 509 | rarm.Name = "Right Arm" | |
| 510 | rarm.Position = Vector3.new(2,4,0) | |
| 511 | lleg = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 512 | lleg.Size = Vector3.new(1,2,1) | |
| 513 | lleg.Name = "Left Leg" | |
| 514 | lleg.Position = Vector3.new(1,2,0) | |
| 515 | rleg = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 516 | rleg.Size = Vector3.new(1,2,1) | |
| 517 | rleg.Name = "Right Leg" | |
| 518 | rleg.Position = Vector3.new(-1,2,0) | |
| 519 | headweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Head)
| |
| 520 | headweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Head | |
| 521 | headweld.Part1 = torso | |
| 522 | headweld.C0 = CFrame.new(0, -1.5, 0) | |
| 523 | larmweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Torso)
| |
| 524 | larmweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Torso | |
| 525 | larmweld.Part1 = larm | |
| 526 | larmweld.C0 = CFrame.new(1.5, 0, 0) | |
| 527 | rarmweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Torso)
| |
| 528 | rarmweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Torso | |
| 529 | rarmweld.Part1 = rarm | |
| 530 | rarmweld.C0 = CFrame.new(-1.5, 0, 0) | |
| 531 | rlegweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Torso)
| |
| 532 | rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Torso | |
| 533 | rlegweld.Part1 = rleg | |
| 534 | rlegweld.C0 = CFrame.new(-0.5, -2, 0) | |
| 535 | llegweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Torso)
| |
| 536 | llegweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Torso | |
| 537 | llegweld.Part1 = lleg | |
| 538 | llegweld.C0 = CFrame.new(0.5, -2, 0) | |
| 539 | modelhair = Instance.new("Model",game.Players.LocalPlayer.Character.Torso.Vegeta)
| |
| 540 | modelhair.Name = "Hair" | |
| 541 | hair = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta.Hair)
| |
| 542 | hair.Name = "hair" | |
| 543 | hair.BrickColor = BrickColor.new("Black")
| |
| 544 | hairmesh = Instance.new("SpecialMesh",hair)
| |
| 545 | hairmesh.Scale = Vector3.new(7,7,7) | |
| 546 | hairmesh.Offset = Vector3.new(0, 0.8, 0.7) | |
| 547 | hairmesh.MeshType = "FileMesh" | |
| 548 | hairmesh.MeshId = "http://www.roblox.com/asset/?id=560180459" | |
| 549 | hairweld = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso.Vegeta.Hair)
| |
| 550 | hairweld.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Head | |
| 551 | hairweld.Part1 = hair | |
| 552 | hairweld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 553 | npctoplayer = Instance.new("Weld",game.Players.LocalPlayer.Character.Torso)
| |
| 554 | npctoplayer.Part0 = game.Players.LocalPlayer.Character.Torso | |
| 555 | npctoplayer.Part1 = torso | |
| 556 | npctoplayer.C0 = CFrame.new(5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 557 | game.Players.LocalPlayer.Character.Torso.Vegeta.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=268667762" | |
| 558 | game.Players.LocalPlayer.Character.Torso.Vegeta.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=268667843" | |
| 559 | hum.WalkSpeed = 0 | |
| 560 | face = Instance.new("Decal",head)
| |
| 561 | face.Texture = "http://www.roblox.com/asset/?id=672364431" | |
| 562 | ||
| 563 | earring1 = Instance.new("Part",game.Players.LocalPlayer.Character.Head)
| |
| 564 | earring1.Size = Vector3.new(2,2,2) | |
| 565 | earring1.CanCollide = false | |
| 566 | earring1.Position = earring1.Position + Vector3.new(999,999,999) | |
| 567 | earring1.BrickColor = BrickColor.new("New Yeller")
| |
| 568 | earmesh1 = Instance.new("SpecialMesh",earring1)
| |
| 569 | earmesh1.MeshType = "Sphere" | |
| 570 | earmesh1.Scale = Vector3.new(0.15,0.15,0.15) | |
| 571 | earweld1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
| |
| 572 | earweld1.Part0 = game.Players.LocalPlayer.Character.Torso.Vegeta.Head | |
| 573 | earweld1.Part1 = earring1 | |
| 574 | earweld1.C0 = CFrame.new(0.7, -0.2, 0) | |
| 575 | earring2 = Instance.new("Part",game.Players.LocalPlayer.Character.Torso.Vegeta.Head)
| |
| 576 | earring2.Size = Vector3.new(2,2,2) | |
| 577 | earring2.Position = earring2.Position + Vector3.new(999,999,999) | |
| 578 | earring2.CanCollide = false | |
| 579 | earring2.BrickColor = BrickColor.new("New Yeller")
| |
| 580 | earmesh2 = Instance.new("SpecialMesh",earring2)
| |
| 581 | earmesh2.MeshType = "Sphere" | |
| 582 | earmesh2.Scale = Vector3.new(0.15,0.15,0.15) | |
| 583 | earweld2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
| |
| 584 | earweld2.Part0 = game.Players.LocalPlayer.Character.Head | |
| 585 | earweld2.Part1 = earring2 | |
| 586 | earweld2.C0 = CFrame.new(-0.7, -0.2, 0) | |
| 587 | ||
| 588 | earring5 = Instance.new("Part",game.Players.LocalPlayer.Character.Head)
| |
| 589 | earring5.Size = Vector3.new(2,2,2) | |
| 590 | earring5.CanCollide = false | |
| 591 | earring5.Position = earring5.Position + Vector3.new(999,999,999) | |
| 592 | earring5.BrickColor = BrickColor.new("White")
| |
| 593 | earmesh5 = Instance.new("SpecialMesh",earring5)
| |
| 594 | earmesh5.MeshType = "Sphere" | |
| 595 | earring5.TopSurface = "Smooth" | |
| 596 | earring5.BottomSurface = "Smooth" | |
| 597 | earmesh5.Scale = Vector3.new(5,5,5) | |
| 598 | earweld5 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
| |
| 599 | earweld5.Part0 = game.Players.LocalPlayer.Character.Torso | |
| 600 | earweld5.Part1 = earring5 | |
| 601 | earweld5.C0 = CFrame.new(2.5, 1, 0) | |
| 602 | ||
| 603 | for i=1,5 do | |
| 604 | wait(0.1) | |
| 605 | earmesh5.Scale = earmesh5.Scale + Vector3.new(1,1,1) | |
| 606 | end | |
| 607 | for i=1,5 do | |
| 608 | wait(0.1) | |
| 609 | earmesh5.Scale = earmesh5.Scale - Vector3.new(1,1,1) | |
| 610 | end | |
| 611 | for i=1,5 do | |
| 612 | wait(0.1) | |
| 613 | earmesh5.Scale = earmesh5.Scale + Vector3.new(1,1,1) | |
| 614 | end | |
| 615 | for i=1,5 do | |
| 616 | wait(0.1) | |
| 617 | earmesh5.Scale = earmesh5.Scale - Vector3.new(1,1,1) | |
| 618 | end | |
| 619 | for i=1,5 do | |
| 620 | wait(0.1) | |
| 621 | earmesh5.Scale = earmesh5.Scale + Vector3.new(1,1,1) | |
| 622 | end | |
| 623 | for i=1,5 do | |
| 624 | wait(0.1) | |
| 625 | earmesh5.Scale = earmesh5.Scale - Vector3.new(1,1,1) | |
| 626 | end | |
| 627 | ||
| 628 | ||
| 629 | ||
| 630 | game.Players.LocalPlayer.Character.Torso.Vegeta:Destroy() | |
| 631 | game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=683375744" | |
| 632 | ||
| 633 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
| |
| 634 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
| |
| 635 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
| |
| 636 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
| |
| 637 | local p = game.Players.LocalPlayer | |
| 638 | local char = p.Character | |
| 639 | local mouse = p:GetMouse() | |
| 640 | local larm = char["Left Arm"] | |
| 641 | local rarm = char["Right Arm"] | |
| 642 | local lleg = char["Left Leg"] | |
| 643 | local rleg = char["Right Leg"] | |
| 644 | local hed = char.Head | |
| 645 | local torso = char.Torso | |
| 646 | local hum = char.Humanoid | |
| 647 | local cam = game.Workspace.CurrentCamera | |
| 648 | local root = char.HumanoidRootPart | |
| 649 | local deb = false | |
| 650 | local shot = 0 | |
| 651 | local debris=game:service"Debris" | |
| 652 | local l = game:GetService("Lighting")
| |
| 653 | local rs = game:GetService("RunService").RenderStepped
| |
| 654 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
| |
| 655 | function lerp(a, b, t) -- Linear interpolation | |
| 656 | return a + (b - a)*t | |
| 657 | end | |
| 658 | ||
| 659 | function slerp(a, b, t) --Spherical interpolation | |
| 660 | dot = a:Dot(b) | |
| 661 | if dot > 0.99999 or dot < -0.99999 then | |
| 662 | return t <= 0.5 and a or b | |
| 663 | else | |
| 664 | r = math.acos(dot) | |
| 665 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 666 | end | |
| 667 | end | |
| 668 | function matrixInterpolate(a, b, t) | |
| 669 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 670 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 671 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 672 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 673 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 674 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 675 | local t = v1:Dot(v2) | |
| 676 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 677 | return CFrame.new() | |
| 678 | end | |
| 679 | return CFrame.new( | |
| 680 | v0.x, v0.y, v0.z, | |
| 681 | v1.x, v1.y, v1.z, | |
| 682 | v2.x, v2.y, v2.z, | |
| 683 | v3.x, v3.y, v3.z) | |
| 684 | end | |
| 685 | ---------------------------------------------------- | |
| 686 | function genWeld(a,b) | |
| 687 | local w = Instance.new("Weld",a)
| |
| 688 | w.Part0 = a | |
| 689 | w.Part1 = b | |
| 690 | return w | |
| 691 | end | |
| 692 | function weld(a, b) | |
| 693 | local weld = Instance.new("Weld")
| |
| 694 | weld.Name = "W" | |
| 695 | weld.Part0 = a | |
| 696 | weld.Part1 = b | |
| 697 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 698 | weld.Parent = a | |
| 699 | return weld; | |
| 700 | end | |
| 701 | ---------------------------------------------------- | |
| 702 | function Lerp(c1,c2,al) | |
| 703 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 704 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 705 | for i,v in pairs(com1) do | |
| 706 | com1[i] = v+(com2[i]-v)*al | |
| 707 | end | |
| 708 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 709 | end | |
| 710 | ---------------------------------------------------- | |
| 711 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 712 | local wld = Instance.new("Weld", wp1)
| |
| 713 | wld.Part0 = wp0 | |
| 714 | wld.Part1 = wp1 | |
| 715 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 716 | end | |
| 717 | ---------------------------------------------------- | |
| 718 | function weld5(part0, part1, c0, c1) | |
| 719 | weeld=Instance.new("Weld", part0)
| |
| 720 | weeld.Part0=part0 | |
| 721 | weeld.Part1=part1 | |
| 722 | weeld.C0=c0 | |
| 723 | weeld.C1=c1 | |
| 724 | return weeld | |
| 725 | end | |
| 726 | ---------------------------------------------------- | |
| 727 | function HasntTouched(plrname) | |
| 728 | local ret = true | |
| 729 | for _, v in pairs(Touche) do | |
| 730 | if v == plrname then | |
| 731 | ret = false | |
| 732 | end | |
| 733 | end | |
| 734 | return ret | |
| 735 | end | |
| 736 | newWeld(torso, larm, -1.5, 0.5, 0) | |
| 737 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 738 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
| 739 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
| 740 | newWeld(torso, hed, 0, 1.5, 0) | |
| 741 | newWeld(torso, lleg, -0.5, -1, 0) | |
| 742 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 743 | newWeld(torso, rleg, 0.5, -1, 0) | |
| 744 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
| 745 | newWeld(root, torso, 0, -1, 0) | |
| 746 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
| 747 | hum.MaxHealth = math.huge | |
| 748 | wait() | |
| 749 | hum.Health = math.huge | |
| 750 | ---------------------------------------------------- | |
| 751 | local p = game.Players.LocalPlayer | |
| 752 | local char = p.Character | |
| 753 | local mouse = p:GetMouse() | |
| 754 | local larm = char["Left Arm"] | |
| 755 | local rarm = char["Right Arm"] | |
| 756 | local lleg = char["Left Leg"] | |
| 757 | local rleg = char["Right Leg"] | |
| 758 | local hed = char.Head | |
| 759 | local torso = char.Torso | |
| 760 | local hum = char.Humanoid | |
| 761 | local cam = game.Workspace.CurrentCamera | |
| 762 | local root = char.HumanoidRootPart | |
| 763 | local deb = false | |
| 764 | local shot = 0 | |
| 765 | local debris=game:service"Debris" | |
| 766 | local l = game:GetService("Lighting")
| |
| 767 | local rs = game:GetService("RunService").RenderStepped
| |
| 768 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
| |
| 769 | math.randomseed(os.time()) | |
| 770 | for i,v in pairs(char:children()) do | |
| 771 | if v:IsA("Hat") then
| |
| 772 | v:Destroy() | |
| 773 | end | |
| 774 | end | |
| 775 | for i,v in pairs (hed:GetChildren()) do | |
| 776 | if v:IsA("Sound") then
| |
| 777 | v:Destroy() | |
| 778 | end | |
| 779 | end | |
| 780 | ---------------------------------------------------- | |
| 781 | Debounces = {
| |
| 782 | CanAttack = true; | |
| 783 | NoIdl = false; | |
| 784 | Slashing = false; | |
| 785 | Slashed = false; | |
| 786 | RPunch = false; | |
| 787 | RPunched = false; | |
| 788 | LPunch = false; | |
| 789 | LPunched = false; | |
| 790 | } | |
| 791 | local Touche = {char.Name, }
| |
| 792 | ---------------------------------------------------- | |
| 793 | ||
| 794 | char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
| |
| 795 | char["Body Colors"].TorsoColor = BrickColor.new("Pastel brown")
| |
| 796 | char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
| |
| 797 | char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
| |
| 798 | local balls = Instance.new("Part",larm)
| |
| 799 | balls.Material = "Neon" | |
| 800 | balls.CanCollide = false | |
| 801 | balls.Locked = true | |
| 802 | balls.Transparency = 0.8 | |
| 803 | balls.Anchored = false | |
| 804 | balls.Material = "SmoothPlastic" | |
| 805 | balls.Size = Vector3.new(0.1,0.1,0.1) | |
| 806 | balls.TopSurface = "SmoothNoOutlines" | |
| 807 | balls.BottomSurface = "SmoothNoOutlines" | |
| 808 | balls.BrickColor = BrickColor.new("New Yeller")
| |
| 809 | ballsm = Instance.new("SpecialMesh",balls)
| |
| 810 | ballsm.MeshType = "Sphere" | |
| 811 | ballsm.Scale = Vector3.new(2,2,2) | |
| 812 | ||
| 813 | local aura1 = Instance.new("ParticleEmitter",balls)
| |
| 814 | local canaura = true | |
| 815 | balls.Position = Vector3.new(999,999,999) | |
| 816 | balls.Anchored = true | |
| 817 | local aura = Instance.new("ParticleEmitter",balls)
| |
| 818 | aura.Size = NumberSequence.new(2) | |
| 819 | aura.Lifetime = NumberRange.new(1111) | |
| 820 | aura.LockedToPart = true | |
| 821 | aura.LightEmission = 0 | |
| 822 | aura.Transparency = NumberSequence.new(0.2) | |
| 823 | aura.Texture = "http://www.roblox.com/asset/?id=600643549" | |
| 824 | aura.Speed = NumberRange.new(0.04) | |
| 825 | aura.Color = ColorSequence.new(Color3.new(225,225,0)) | |
| 826 | aura.Rate = 4 | |
| 827 | ||
| 828 | aura1.Size = NumberSequence.new(4) | |
| 829 | aura1.Lifetime = NumberRange.new(1111) | |
| 830 | aura1.LockedToPart = true | |
| 831 | aura.Transparency = NumberSequence.new(0.6) | |
| 832 | aura1.LightEmission = 0 | |
| 833 | aura1.Texture = "http://www.roblox.com/asset/?id=544954623" | |
| 834 | aura1.Speed = NumberRange.new(0.04) | |
| 835 | aura1.Rate = 4 | |
| 836 | ----------------------------------------------------------- | |
| 837 | ||
| 838 | energypun2 = Instance.new("Part",rarm)
| |
| 839 | energypun2.Size = Vector3.new(0.1,0.1,0.1) | |
| 840 | energypun2.Transparency = 1 | |
| 841 | energypun2.CanCollide = false | |
| 842 | energypun2.Anchored = true | |
| 843 | energypun2.Position = Vector3.new(999,999,999) | |
| 844 | energypun2.BrickColor = BrickColor.new("Teal")
| |
| 845 | energypunmesh = Instance.new("SpecialMesh",energypun2)
| |
| 846 | energypunmesh.MeshType = "Sphere" | |
| 847 | energypunmesh.Scale = Vector3.new(1,1,1) | |
| 848 | ||
| 849 | energypunaura = Instance.new("ParticleEmitter",energypun2)
| |
| 850 | energypunaura.LightEmission = NumberSequence.new(0) | |
| 851 | energypunaura.Size = NumberSequence.new(15) | |
| 852 | energypunaura.LockedToPart = true | |
| 853 | energypunaura.Texture = "rbxassetid://646333358" | |
| 854 | energypunaura.RotSpeed = NumberRange.new(9999) | |
| 855 | energypunaura.Lifetime = NumberRange.new(1111) | |
| 856 | energypunaura.ZOffset = 2 | |
| 857 | energypunaura.Rate = 4 | |
| 858 | energypunaura.Speed = NumberRange.new(0.04) | |
| 859 | ||
| 860 | ||
| 861 | ||
| 862 | ||
| 863 | ||
| 864 | ||
| 865 | ---------------------------------------------------- | |
| 866 | ||
| 867 | ---------------------------------------------------- | |
| 868 | function lerp(a, b, t) -- Linear interpolation | |
| 869 | return a + (b - a)*t | |
| 870 | end | |
| 871 | ||
| 872 | function slerp(a, b, t) --Spherical interpolation | |
| 873 | dot = a:Dot(b) | |
| 874 | if dot > 0.99999 or dot < -0.99999 then | |
| 875 | return t <= 0.5 and a or b | |
| 876 | else | |
| 877 | r = math.acos(dot) | |
| 878 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
| 879 | end | |
| 880 | end | |
| 881 | ||
| 882 | function matrixInterpolate(a, b, t) | |
| 883 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
| 884 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
| 885 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
| 886 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
| 887 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
| 888 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
| 889 | local t = v1:Dot(v2) | |
| 890 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
| 891 | return CFrame.new() | |
| 892 | end | |
| 893 | return CFrame.new( | |
| 894 | v0.x, v0.y, v0.z, | |
| 895 | v1.x, v1.y, v1.z, | |
| 896 | v2.x, v2.y, v2.z, | |
| 897 | v3.x, v3.y, v3.z) | |
| 898 | end | |
| 899 | ---------------------------------------------------- | |
| 900 | function genWeld(a,b) | |
| 901 | local w = Instance.new("Weld",a)
| |
| 902 | w.Part0 = a | |
| 903 | w.Part1 = b | |
| 904 | return w | |
| 905 | end | |
| 906 | function weld(a, b) | |
| 907 | local weld = Instance.new("Weld")
| |
| 908 | weld.Name = "W" | |
| 909 | weld.Part0 = a | |
| 910 | weld.Part1 = b | |
| 911 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
| 912 | weld.Parent = a | |
| 913 | return weld; | |
| 914 | end | |
| 915 | ---------------------------------------------------- | |
| 916 | function Lerp(c1,c2,al) | |
| 917 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
| |
| 918 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
| |
| 919 | for i,v in pairs(com1) do | |
| 920 | com1[i] = v+(com2[i]-v)*al | |
| 921 | end | |
| 922 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
| 923 | end | |
| 924 | ---------------------------------------------------- | |
| 925 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
| 926 | local wld = Instance.new("Weld", wp1)
| |
| 927 | wld.Part0 = wp0 | |
| 928 | wld.Part1 = wp1 | |
| 929 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
| 930 | end | |
| 931 | ---------------------------------------------------- | |
| 932 | function weld5(part0, part1, c0, c1) | |
| 933 | weeld=Instance.new("Weld", part0)
| |
| 934 | weeld.Part0=part0 | |
| 935 | weeld.Part1=part1 | |
| 936 | weeld.C0=c0 | |
| 937 | weeld.C1=c1 | |
| 938 | return weeld | |
| 939 | end | |
| 940 | ---------------------------------------------------- | |
| 941 | function HasntTouched(plrname) | |
| 942 | local ret = true | |
| 943 | for _, v in pairs(Touche) do | |
| 944 | if v == plrname then | |
| 945 | ret = false | |
| 946 | end | |
| 947 | end | |
| 948 | return ret | |
| 949 | end | |
| 950 | ---------------------------------------------------- | |
| 951 | ||
| 952 | ---------------------------------------------------- | |
| 953 | ||
| 954 | ---------------------------------------------------- | |
| 955 | local Transforming = true | |
| 956 | ||
| 957 | ||
| 958 | ||
| 959 | ||
| 960 | for u, c in pairs (jun.Character:GetChildren()) do -- This func removes the | |
| 961 | if c.className == "Hat" then -- base form hair. | |
| 962 | c.Handle.Transparency = 0 -- Put after transformation | |
| 963 | end | |
| 964 | if c.Name == "Hair" then | |
| 965 | c:Remove() | |
| 966 | end | |
| 967 | end | |
| 968 | ||
| 969 | ypcall(function() | |
| 970 | ||
| 971 | shirt = Instance.new("Shirt", char)
| |
| 972 | shirt.Name = "Shirt" | |
| 973 | pants = Instance.new("Pants", char)
| |
| 974 | pants.Name = "Pants" | |
| 975 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276106335" | |
| 976 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=254301872" | |
| 977 | end) | |
| 978 | ---------------------------------------------------- | |
| 979 | local m = Instance.new("Model")
| |
| 980 | m.Name = "Hair" | |
| 981 | b1 = Instance.new("SpecialMesh", p)
| |
| 982 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 983 | b1.TextureId = "" | |
| 984 | b1.MeshType = Enum.MeshType.FileMesh | |
| 985 | b1.Name = "Mesh" | |
| 986 | b1.VertexColor = Vector3.new(0, 0, 0) | |
| 987 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 988 | p2 = Instance.new("Part", m)
| |
| 989 | p2.BrickColor = BrickColor.new("Pastel brown")
| |
| 990 | p2.Transparency = 1 | |
| 991 | p2.Name = "Head" | |
| 992 | p2.FormFactor = Enum.FormFactor.Symmetric | |
| 993 | p2.Size = Vector3.new(2, 1, 1) | |
| 994 | p2.CFrame = CFrame.new(9,9,9) | |
| 995 | p2.CanCollide = false | |
| 996 | p2.Locked = true | |
| 997 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 998 | b2 = Instance.new("SpecialMesh", p2)
| |
| 999 | b2.MeshType = Enum.MeshType.Head | |
| 1000 | b2.Name = "Mesh" | |
| 1001 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 1002 | p3 = Instance.new("Part", m)
| |
| 1003 | p3.BrickColor = BrickColor.new("Black")
| |
| 1004 | p3.FormFactor = Enum.FormFactor.Symmetric | |
| 1005 | p3.Size = Vector3.new(3,3,3) | |
| 1006 | p3.CFrame = p3.CFrame * CFrame.new(999,999,999) | |
| 1007 | p3.CanCollide = false | |
| 1008 | p3.Locked = true | |
| 1009 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 1010 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 1011 | b3 = Instance.new("SpecialMesh", p3)
| |
| 1012 | b3.MeshId = "http://www.roblox.com/asset/?id=560152258" | |
| 1013 | b3.TextureId = "" | |
| 1014 | b3.MeshType = Enum.MeshType.FileMesh | |
| 1015 | b3.Name = "Mesh" | |
| 1016 | b3.VertexColor = Vector3.new(0, 0, 0) | |
| 1017 | b3.Scale = Vector3.new(6.2,6.2,6.2) | |
| 1018 | w1 = Instance.new("Weld", p1)
| |
| 1019 | w1.Name = "Head_Weld" | |
| 1020 | w1.Part0 = p1 | |
| 1021 | w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006) | |
| 1022 | w1.Part1 = p2 | |
| 1023 | w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
| 1024 | w2 = Instance.new("Weld", p2)
| |
| 1025 | w2.Name = "Part_Weld" | |
| 1026 | w2.Part0 = p2 | |
| 1027 | w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
| 1028 | w2.Part1 = p3 | |
| 1029 | w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
| 1030 | w3 = Instance.new("Weld", p3)
| |
| 1031 | w3.Name = "Part_Weld" | |
| 1032 | w3.Part0 = p3 | |
| 1033 | w3.C0 = CFrame.new() | |
| 1034 | w3.Part1 = p4 | |
| 1035 | w3.C1 = CFrame.new() | |
| 1036 | ||
| 1037 | m.Parent = char | |
| 1038 | m:MakeJoints() | |
| 1039 | ---------------------------------------------------- | |
| 1040 | local cor = Instance.new("Part", char.Hair)
| |
| 1041 | cor.Name = "Link" | |
| 1042 | cor.Locked = true | |
| 1043 | cor.BottomSurface = 0 | |
| 1044 | cor.CanCollide = false | |
| 1045 | cor.Size = Vector3.new(1, 9, 1) | |
| 1046 | cor.Transparency = 1 | |
| 1047 | cor.TopSurface = 0 | |
| 1048 | corw = Instance.new("Weld", cor)
| |
| 1049 | corw.Part0 = hed | |
| 1050 | corw.Part1 = cor | |
| 1051 | corw.C0 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1052 | corw.C1 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1053 | weld1 = Instance.new("Weld", char.Hair)
| |
| 1054 | weld1.Part0 = cor | |
| 1055 | weld1.Part1 = char.Hair.Head | |
| 1056 | weld1.C0 = CFrame.new(0, 0.1, 0.31) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1057 | ---------------------------------------------------- | |
| 1058 | ||
| 1059 | for i=1,5 do | |
| 1060 | wait(0.1) | |
| 1061 | earmesh5.Scale = earmesh5.Scale + Vector3.new(3,3,3) | |
| 1062 | earring5.Transparency = earring5.Transparency + 0.05 | |
| 1063 | ||
| 1064 | end | |
| 1065 | ---------------------------------------------------- | |
| 1066 | Transforming = false | |
| 1067 | earring1 = Instance.new("Part",game.Players.LocalPlayer.Character.Head)
| |
| 1068 | earring1.Size = Vector3.new(2,2,2) | |
| 1069 | earring1.CanCollide = false | |
| 1070 | earring1.Position = Vector3.new(999,999,999) | |
| 1071 | earring1.BrickColor = BrickColor.new("New Yeller")
| |
| 1072 | earmesh1 = Instance.new("SpecialMesh",earring1)
| |
| 1073 | earmesh1.MeshType = "Sphere" | |
| 1074 | earmesh1.Scale = Vector3.new(0.15,0.15,0.15) | |
| 1075 | earweld1 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
| |
| 1076 | earweld1.Part0 = game.Players.LocalPlayer.Character.Head | |
| 1077 | earweld1.Part1 = earring1 | |
| 1078 | earweld1.C0 = CFrame.new(0.7, -0.2, 0) | |
| 1079 | earring2 = Instance.new("Part",game.Players.LocalPlayer.Character.Head)
| |
| 1080 | earring2.Size = Vector3.new(2,2,2) | |
| 1081 | earring2.CanCollide = false | |
| 1082 | earring2.Position = Vector3.new(999,999,999) | |
| 1083 | earring2.BrickColor = BrickColor.new("New Yeller")
| |
| 1084 | earmesh2 = Instance.new("SpecialMesh",earring2)
| |
| 1085 | earmesh2.MeshType = "Sphere" | |
| 1086 | earmesh2.Scale = Vector3.new(0.15,0.15,0.15) | |
| 1087 | earweld2 = Instance.new("Weld",game.Players.LocalPlayer.Character.Head)
| |
| 1088 | earweld2.Part0 = game.Players.LocalPlayer.Character.Head | |
| 1089 | earweld2.Part1 = earring2 | |
| 1090 | earweld2.C0 = CFrame.new(-0.7, -0.2, 0) | |
| 1091 | earring5:Destroy() | |
| 1092 | ||
| 1093 | hum.Jump = true | |
| 1094 | burst = Instance.new("BodyThrust",torso)
| |
| 1095 | burst.Force = Vector3.new(0,5000,-8000) | |
| 1096 | for i = 1,20 do | |
| 1097 | ||
| 1098 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 1099 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2) | |
| 1100 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2) | |
| 1101 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.4) | |
| 1102 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.4, -.7) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.4) | |
| 1103 | end | |
| 1104 | wait(0.8) | |
| 1105 | for i = 1,20 do | |
| 1106 | wait() | |
| 1107 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)), 0.2) | |
| 1108 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.7)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(0)), 0.2) | |
| 1109 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-75)), 0.2) | |
| 1110 | ||
| 1111 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, -.9) * CFrame.Angles(math.rad(-45), 0, math.rad(-10)), 0.4) | |
| 1112 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, 0, 0) * CFrame.Angles(math.rad(45), 0, math.rad(10)), 0.4) | |
| 1113 | ||
| 1114 | end | |
| 1115 | burst:Destroy() | |
| 1116 | wait(0.8) | |
| 1117 | for i = 1, 20 do | |
| 1118 | wait() | |
| 1119 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 1120 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 1121 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
| 1122 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
| 1123 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 1124 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 1125 | end | |
| 1126 | wait(0.2) | |
| 1127 | for i = 1,5 do | |
| 1128 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(30)), 0.2) | |
| 1129 | ||
| 1130 | end | |
| 1131 | wait(0.2) | |
| 1132 | for i = 1,5 do | |
| 1133 | ||
| 1134 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-30)), 0.2) | |
| 1135 | end | |
| 1136 | wait(0.2) | |
| 1137 | for i = 1,20 do | |
| 1138 | wait() | |
| 1139 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2) | |
| 1140 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-35)), 0.2) | |
| 1141 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(35)), 0.2) | |
| 1142 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.4) | |
| 1143 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.4) | |
| 1144 | end | |
| 1145 | wait(0.2) | |
| 1146 | for i = 1,20 do | |
| 1147 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 1148 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(30)), 0.2) | |
| 1149 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-30)), 0.2) | |
| 1150 | ||
| 1151 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-10)), 0.4) | |
| 1152 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(10)), 0.4) | |
| 1153 | ||
| 1154 | end | |
| 1155 | wait() | |
| 1156 | ||
| 1157 | bomb = Instance.new("Explosion",torso)
| |
| 1158 | bomb.BlastRadius = 0 | |
| 1159 | bomb.DestroyJointRadiusPercent = 100 | |
| 1160 | bomb.ExplosionType = "CratersAndDebris" | |
| 1161 | bomb.Position = char.Torso.Position | |
| 1162 | game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=683375946" | |
| 1163 | wait() | |
| 1164 | ||
| 1165 | for u, c in pairs (jun.Character:GetChildren()) do -- This func removes the | |
| 1166 | if c.className == "Hat" then -- base form hair. | |
| 1167 | c.Handle.Transparency = 0 -- Put after transformation | |
| 1168 | end | |
| 1169 | if c.Name == "Hair" then | |
| 1170 | c:Remove() | |
| 1171 | end | |
| 1172 | end | |
| 1173 | wait(0.00001) | |
| 1174 | local m = Instance.new("Model")
| |
| 1175 | m.Name = "Hair" | |
| 1176 | b1 = Instance.new("SpecialMesh", p)
| |
| 1177 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
| 1178 | b1.TextureId = "" | |
| 1179 | b1.MeshType = Enum.MeshType.FileMesh | |
| 1180 | b1.Name = "Mesh" | |
| 1181 | b1.VertexColor = Vector3.new(0, 0, 0) | |
| 1182 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
| 1183 | p2 = Instance.new("Part", m)
| |
| 1184 | p2.BrickColor = BrickColor.new("Pastel brown")
| |
| 1185 | p2.Transparency = 1 | |
| 1186 | p2.Name = "Head" | |
| 1187 | p2.FormFactor = Enum.FormFactor.Symmetric | |
| 1188 | p2.Size = Vector3.new(2, 1, 1) | |
| 1189 | p2.CFrame = CFrame.new(9,9,9) | |
| 1190 | p2.CanCollide = false | |
| 1191 | p2.Locked = true | |
| 1192 | p2.TopSurface = Enum.SurfaceType.Smooth | |
| 1193 | b2 = Instance.new("SpecialMesh", p2)
| |
| 1194 | b2.MeshType = Enum.MeshType.Head | |
| 1195 | b2.Name = "Mesh" | |
| 1196 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
| 1197 | p3 = Instance.new("Part", m)
| |
| 1198 | p3.Reflectance = 10 | |
| 1199 | p3.BrickColor = BrickColor.new("Teal")
| |
| 1200 | p3.FormFactor = Enum.FormFactor.Symmetric | |
| 1201 | p3.Material = "Neon" | |
| 1202 | p3.Size = Vector3.new(3,3,3) | |
| 1203 | p3.CFrame = p3.CFrame * CFrame.new(999,999,999) | |
| 1204 | p3.CanCollide = false | |
| 1205 | p3.Locked = true | |
| 1206 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
| 1207 | p3.TopSurface = Enum.SurfaceType.Smooth | |
| 1208 | b3 = Instance.new("SpecialMesh", p3)
| |
| 1209 | b3.MeshId = "http://www.roblox.com/asset/?id=560152258" | |
| 1210 | b3.TextureId = "" | |
| 1211 | b3.MeshType = Enum.MeshType.FileMesh | |
| 1212 | b3.Name = "Mesh" | |
| 1213 | b3.VertexColor = Vector3.new(0, 0, 0) | |
| 1214 | b3.Scale = Vector3.new(6.2,6.2,6.2) | |
| 1215 | w1 = Instance.new("Weld", p1)
| |
| 1216 | w1.Name = "Head_Weld" | |
| 1217 | w1.Part0 = p1 | |
| 1218 | w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006) | |
| 1219 | w1.Part1 = p2 | |
| 1220 | w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
| 1221 | w2 = Instance.new("Weld", p2)
| |
| 1222 | w2.Name = "Part_Weld" | |
| 1223 | w2.Part0 = p2 | |
| 1224 | w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
| 1225 | w2.Part1 = p3 | |
| 1226 | w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
| 1227 | w3 = Instance.new("Weld", p3)
| |
| 1228 | w3.Name = "Part_Weld" | |
| 1229 | w3.Part0 = p3 | |
| 1230 | w3.C0 = CFrame.new() | |
| 1231 | w3.Part1 = p4 | |
| 1232 | w3.C1 = CFrame.new() | |
| 1233 | ||
| 1234 | m.Parent = char | |
| 1235 | m:MakeJoints() | |
| 1236 | ---------------------------------------------------- | |
| 1237 | local cor = Instance.new("Part", char.Hair)
| |
| 1238 | cor.Name = "Link" | |
| 1239 | cor.Locked = true | |
| 1240 | cor.BottomSurface = 0 | |
| 1241 | cor.CanCollide = false | |
| 1242 | cor.Size = Vector3.new(1, 9, 1) | |
| 1243 | cor.Transparency = 1 | |
| 1244 | cor.TopSurface = 0 | |
| 1245 | corw = Instance.new("Weld", cor)
| |
| 1246 | corw.Part0 = hed | |
| 1247 | corw.Part1 = cor | |
| 1248 | corw.C0 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1249 | corw.C1 = CFrame.new(0, 5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1250 | weld1 = Instance.new("Weld", char.Hair)
| |
| 1251 | weld1.Part0 = cor | |
| 1252 | weld1.Part1 = char.Hair.Head | |
| 1253 | weld1.C0 = CFrame.new(0, 0.1, 0.31) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 1254 | ||
| 1255 | local torso = game.Players.LocalPlayer.Character.Torso | |
| 1256 | local block = Instance.new("Part",torso)
| |
| 1257 | block.Size = Vector3.new(0.1,0.1,0.1) | |
| 1258 | block.Position = block.Position + Vector3.new(2,2,2) | |
| 1259 | block.Transparency = 1 | |
| 1260 | local weld = Instance.new("Weld",torso)
| |
| 1261 | weld.Part0 = torso | |
| 1262 | weld.Part1 = block | |
| 1263 | weld.C0 = CFrame.new(0,5,0) | |
| 1264 | local block2 = Instance.new("Part",torso)
| |
| 1265 | block2.Size = Vector3.new(3,2,1) | |
| 1266 | block2.CanCollide = false | |
| 1267 | block2.Position = block.Position + Vector3.new(2,2,2) | |
| 1268 | block2.Transparency = 1 | |
| 1269 | local weld2 = Instance.new("Weld",torso)
| |
| 1270 | weld2.Part0 = torso | |
| 1271 | weld2.Part1 = block2 | |
| 1272 | weld2.C0 = CFrame.new(0,-1.5,0) | |
| 1273 | local tables = {5,4,3,2,1}
| |
| 1274 | z1 = Instance.new("Sound", char)
| |
| 1275 | z1.SoundId = "rbxassetid://874183151" | |
| 1276 | z1.Pitch = 1 | |
| 1277 | z1.Volume = 1 | |
| 1278 | wait(.1) | |
| 1279 | z1:Play() | |
| 1280 | local part2 = Instance.new("ParticleEmitter",block)
| |
| 1281 | part2.Lifetime = NumberRange.new(5) | |
| 1282 | part2.Speed = NumberRange.new(0) | |
| 1283 | part2.Size = NumberSequence.new(18) | |
| 1284 | part2.LockedToPart = true | |
| 1285 | part2.Rate = 3 | |
| 1286 | part2.Texture = "http://www.roblox.com/asset/?id=894173257" | |
| 1287 | part2.ZOffset = -3 | |
| 1288 | local model = Instance.new("Model",torso)
| |
| 1289 | local part3 = Instance.new("ParticleEmitter",block2)
| |
| 1290 | part3.Lifetime = NumberRange.new(1) | |
| 1291 | part3.Speed = NumberRange.new(5) | |
| 1292 | part3.Size = NumberSequence.new(0.5) | |
| 1293 | part3.LockedToPart = true | |
| 1294 | part3.Rate = 100 | |
| 1295 | part3.Texture = "http://www.roblox.com/asset/?id=549349471" | |
| 1296 | part3.ZOffset = 3 | |
| 1297 | part3.SpreadAngle = Vector2.new(50,50) | |
| 1298 | local ball0 = Instance.new("Part",model)
| |
| 1299 | ball0.Position = ball0.Position + Vector3.new(2,2,2) | |
| 1300 | ball0.Transparency = 0.5 | |
| 1301 | ball0.BrickColor = BrickColor.new("Teal")
| |
| 1302 | ball0.Size = Vector3.new(1,1,1) | |
| 1303 | ball0mesh = Instance.new("SpecialMesh",ball0)
| |
| 1304 | ball0mesh.MeshType = "Sphere" | |
| 1305 | ball0mesh.Scale = Vector3.new(1,1,1) | |
| 1306 | ballweld = Instance.new("Weld",model)
| |
| 1307 | ballweld.Part0 = torso | |
| 1308 | ballweld.Part1 = ball0 | |
| 1309 | for i = 1,5 do | |
| 1310 | wait(0.1) | |
| 1311 | ||
| 1312 | part2.Size = NumberSequence.new(16) | |
| 1313 | for i = 1 , 5 do | |
| 1314 | wait() | |
| 1315 | ball0mesh.Scale = ball0mesh.Scale + Vector3.new(13,13,13) | |
| 1316 | ||
| 1317 | end | |
| 1318 | ||
| 1319 | wait(0.1) | |
| 1320 | part2.Size = NumberSequence.new(11) | |
| 1321 | ||
| 1322 | ball0mesh.Scale = Vector3.new(1,1,1) | |
| 1323 | ||
| 1324 | end | |
| 1325 | ||
| 1326 | hum.WalkSpeed = 16 | |
| 1327 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 1328 | local wave = Instance.new("Part", torso)
| |
| 1329 | wave.BrickColor = BrickColor.new("Institutional white")
| |
| 1330 | wave.Anchored = true | |
| 1331 | wave.CanCollide = false | |
| 1332 | wave.Locked = true | |
| 1333 | wave.Size = Vector3.new(1, 1, 1) | |
| 1334 | wave.TopSurface = "Smooth" | |
| 1335 | wave.BottomSurface = "Smooth" | |
| 1336 | wave.Transparency = 0.35 | |
| 1337 | wave.CFrame = HandCF | |
| 1338 | wm = Instance.new("SpecialMesh", wave)
| |
| 1339 | wm.MeshId = "rbxassetid://3270017" | |
| 1340 | coroutine.wrap(function() | |
| 1341 | for i = 1, 14, 1 do | |
| 1342 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
| 1343 | wave.Size = wm.Scale | |
| 1344 | wave.CFrame = HandCF | |
| 1345 | wave.Transparency = i/14 | |
| 1346 | wait() | |
| 1347 | end | |
| 1348 | wait() | |
| 1349 | wave:Destroy() | |
| 1350 | end)() | |
| 1351 | ||
| 1352 | ||
| 1353 | z1 = Instance.new("Sound", char)
| |
| 1354 | z1.SoundId = "rbxassetid://600060450" | |
| 1355 | z1.Pitch = 1 | |
| 1356 | z1.Volume = 1 | |
| 1357 | z1.Looped = true | |
| 1358 | wait(.1) | |
| 1359 | z1:Play() | |
| 1360 | ---------------------------------------------------- | |
| 1361 | ||
| 1362 | ---------------------------------------------------- | |
| 1363 | rarm.Touched:connect(function(ht) | |
| 1364 | hit = ht.Parent | |
| 1365 | if ht and hit:IsA("Model") then
| |
| 1366 | if hit:FindFirstChild("Humanoid") then
| |
| 1367 | if hit.Name ~= p.Name then | |
| 1368 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1369 | Debounces.RPunched = true | |
| 1370 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(10,10))
| |
| 1371 | if Debounces.ks==true then | |
| 1372 | z = Instance.new("Sound",hed)
| |
| 1373 | z.SoundId = "rbxassetid://169380525" | |
| 1374 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1375 | z.Volume = 1 | |
| 1376 | z:Play() | |
| 1377 | end | |
| 1378 | wait(.2) | |
| 1379 | Debounces.RPunched = false | |
| 1380 | end | |
| 1381 | end | |
| 1382 | end | |
| 1383 | elseif ht and hit:IsA("Hat") then
| |
| 1384 | if hit.Parent.Name ~= p.Name then | |
| 1385 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1386 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1387 | Debounces.RPunched = true | |
| 1388 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(10,10))
| |
| 1389 | if Debounces.ks==true then | |
| 1390 | z = Instance.new("Sound",hed)
| |
| 1391 | z.SoundId = "rbxassetid://169380525" | |
| 1392 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1393 | z.Volume = 1 | |
| 1394 | z:Play() | |
| 1395 | end | |
| 1396 | wait(.2) | |
| 1397 | Debounces.RPunched = false | |
| 1398 | end | |
| 1399 | end | |
| 1400 | end | |
| 1401 | end | |
| 1402 | end) | |
| 1403 | larm.Touched:connect(function(ht) | |
| 1404 | hit = ht.Parent | |
| 1405 | if ht and hit:IsA("Model") then
| |
| 1406 | if hit:FindFirstChild("Humanoid") then
| |
| 1407 | if hit.Name ~= p.Name then | |
| 1408 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1409 | Debounces.LPunched = true | |
| 1410 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(10,10))
| |
| 1411 | if Debounces.ks2==true then | |
| 1412 | z = Instance.new("Sound",hed)
| |
| 1413 | z.SoundId = "rbxassetid://169380525" | |
| 1414 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1415 | z.Volume = 1 | |
| 1416 | z:Play() | |
| 1417 | end | |
| 1418 | wait(.2) | |
| 1419 | Debounces.LPunched = false | |
| 1420 | end | |
| 1421 | end | |
| 1422 | end | |
| 1423 | elseif ht and hit:IsA("Hat") then
| |
| 1424 | if hit.Parent.Name ~= p.Name then | |
| 1425 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1426 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1427 | Debounces.LPunched = true | |
| 1428 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(10,10))
| |
| 1429 | if Debounces.ks2==true then | |
| 1430 | z = Instance.new("Sound",hed)
| |
| 1431 | z.SoundId = "rbxassetid://169380525" | |
| 1432 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1433 | z.Volume = 1 | |
| 1434 | z:Play() | |
| 1435 | end | |
| 1436 | wait(.2) | |
| 1437 | Debounces.LPunched = false | |
| 1438 | end | |
| 1439 | end | |
| 1440 | end | |
| 1441 | end | |
| 1442 | end) | |
| 1443 | ---------------------------------------------------- | |
| 1444 | mod4 = Instance.new("Model",char)
| |
| 1445 | ||
| 1446 | ptez = {0.7, 0.8, 0.9, 1}
| |
| 1447 | ||
| 1448 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1449 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1450 | local List = {}
| |
| 1451 | for i,v in pairs(workspace:GetChildren())do | |
| 1452 | if v:IsA("Model")then
| |
| 1453 | if v:findFirstChild("Torso")then
| |
| 1454 | if v ~= char then | |
| 1455 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1456 | table.insert(List,v) | |
| 1457 | end | |
| 1458 | end | |
| 1459 | end | |
| 1460 | end | |
| 1461 | end | |
| 1462 | return List | |
| 1463 | end | |
| 1464 | ||
| 1465 | function Punch() | |
| 1466 | part=Instance.new('Part',mod4)
| |
| 1467 | part.Anchored=true | |
| 1468 | part.CanCollide=false | |
| 1469 | part.FormFactor='Custom' | |
| 1470 | part.Size=Vector3.new(.2,.2,.2) | |
| 1471 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
| 1472 | part.Transparency=.7 | |
| 1473 | part.BrickColor=BrickColor.new('New Yeller')
| |
| 1474 | mesh=Instance.new('SpecialMesh',part)
| |
| 1475 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
| 1476 | mesh.Scale=Vector3.new(3,3,3) | |
| 1477 | part2=Instance.new('Part',mod4)
| |
| 1478 | part2.Anchored=true | |
| 1479 | part2.CanCollide=false | |
| 1480 | part2.FormFactor='Custom' | |
| 1481 | part2.Size=Vector3.new(.2,.2,.2) | |
| 1482 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
| 1483 | part2.Transparency=.7 | |
| 1484 | part2.BrickColor=BrickColor.new('New Yeller')
| |
| 1485 | mesh2=Instance.new('SpecialMesh',part2)
| |
| 1486 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 1487 | mesh2.Scale=Vector3.new(3,1.5,3) | |
| 1488 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
| 1489 | if v:FindFirstChild('Humanoid') then
| |
| 1490 | v.Humanoid:TakeDamage(math.random(9999,9999)) | |
| 1491 | end | |
| 1492 | end | |
| 1493 | coroutine.resume(coroutine.create(function() | |
| 1494 | for i=0,0.62,0.4 do | |
| 1495 | wait() | |
| 1496 | part.CFrame=part.CFrame | |
| 1497 | part.Transparency=i | |
| 1498 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
| 1499 | part2.CFrame=part2.CFrame | |
| 1500 | part2.Transparency=i | |
| 1501 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
| 1502 | end | |
| 1503 | part.Parent=nil | |
| 1504 | part2.Parent=nil | |
| 1505 | end)) | |
| 1506 | end | |
| 1507 | ---------------------------------------------------- | |
| 1508 | rarm.Touched:connect(function(ht) | |
| 1509 | hit = ht.Parent | |
| 1510 | if ht and hit:IsA("Model") then
| |
| 1511 | if hit:FindFirstChild("Humanoid") then
| |
| 1512 | if hit.Name ~= p.Name then | |
| 1513 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1514 | Debounces.RPunched = true | |
| 1515 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999))
| |
| 1516 | if Debounces.ks==true then | |
| 1517 | z = Instance.new("Sound",hed)
| |
| 1518 | z.SoundId = "rbxassetid://169380525" | |
| 1519 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1520 | z.Volume = 1 | |
| 1521 | z:Play() | |
| 1522 | end | |
| 1523 | wait(.2) | |
| 1524 | Debounces.RPunched = false | |
| 1525 | end | |
| 1526 | end | |
| 1527 | end | |
| 1528 | elseif ht and hit:IsA("Hat") then
| |
| 1529 | if hit.Parent.Name ~= p.Name then | |
| 1530 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1531 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
| 1532 | Debounces.RPunched = true | |
| 1533 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999))
| |
| 1534 | if Debounces.ks==true then | |
| 1535 | z = Instance.new("Sound",hed)
| |
| 1536 | z.SoundId = "rbxassetid://169380525" | |
| 1537 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1538 | z.Volume = 1 | |
| 1539 | z:Play() | |
| 1540 | end | |
| 1541 | wait(.2) | |
| 1542 | Debounces.RPunched = false | |
| 1543 | end | |
| 1544 | end | |
| 1545 | end | |
| 1546 | end | |
| 1547 | end) | |
| 1548 | larm.Touched:connect(function(ht) | |
| 1549 | hit = ht.Parent | |
| 1550 | if ht and hit:IsA("Model") then
| |
| 1551 | if hit:FindFirstChild("Humanoid") then
| |
| 1552 | if hit.Name ~= p.Name then | |
| 1553 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1554 | Debounces.LPunched = true | |
| 1555 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999))
| |
| 1556 | if Debounces.ks2==true then | |
| 1557 | z = Instance.new("Sound",hed)
| |
| 1558 | z.SoundId = "rbxassetid://169380525" | |
| 1559 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1560 | z.Volume = 1 | |
| 1561 | z:Play() | |
| 1562 | end | |
| 1563 | wait(.2) | |
| 1564 | Debounces.LPunched = false | |
| 1565 | end | |
| 1566 | end | |
| 1567 | end | |
| 1568 | elseif ht and hit:IsA("Hat") then
| |
| 1569 | if hit.Parent.Name ~= p.Name then | |
| 1570 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1571 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
| 1572 | Debounces.LPunched = true | |
| 1573 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(999,999))
| |
| 1574 | if Debounces.ks2==true then | |
| 1575 | z = Instance.new("Sound",hed)
| |
| 1576 | z.SoundId = "rbxassetid://169380525" | |
| 1577 | z.Pitch = ptz[math.random(1,#ptz)] | |
| 1578 | z.Volume = 1 | |
| 1579 | z:Play() | |
| 1580 | end | |
| 1581 | wait(.2) | |
| 1582 | Debounces.LPunched = false | |
| 1583 | end | |
| 1584 | end | |
| 1585 | end | |
| 1586 | end | |
| 1587 | end) | |
| 1588 | ---------------------------------------------------- | |
| 1589 | local player = game.Players.LocalPlayer | |
| 1590 | local pchar = player.Character | |
| 1591 | local mouse = player:GetMouse() | |
| 1592 | local cam = workspace.CurrentCamera | |
| 1593 | ||
| 1594 | local rad = math.rad | |
| 1595 | ||
| 1596 | local keysDown = {}
| |
| 1597 | local flySpeed = 0 | |
| 1598 | local MAX_FLY_SPEED = 150 | |
| 1599 | ||
| 1600 | local canFly = false | |
| 1601 | local flyToggled = false | |
| 1602 | ||
| 1603 | local forward, side = 0, 0 | |
| 1604 | local lastForward, lastSide = 0, 0 | |
| 1605 | ||
| 1606 | local floatBP = Instance.new("BodyPosition")
| |
| 1607 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
| 1608 | local flyBV = Instance.new("BodyVelocity")
| |
| 1609 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
| 1610 | local turnBG = Instance.new("BodyGyro")
| |
| 1611 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
| 1612 | ||
| 1613 | mouse.KeyDown:connect(function(key) | |
| 1614 | keysDown[key] = true | |
| 1615 | ||
| 1616 | if key == "f" then | |
| 1617 | flyToggled = not flyToggled | |
| 1618 | ||
| 1619 | if not flyToggled then | |
| 1620 | stanceToggle = "Normal" | |
| 1621 | floatBP.Parent = nil | |
| 1622 | flyBV.Parent = nil | |
| 1623 | turnBG.Parent = nil | |
| 1624 | root.Velocity = Vector3.new() | |
| 1625 | pchar.Humanoid.PlatformStand = false | |
| 1626 | end | |
| 1627 | end | |
| 1628 | ||
| 1629 | end) | |
| 1630 | mouse.KeyUp:connect(function(key) | |
| 1631 | keysDown[key] = nil | |
| 1632 | end) | |
| 1633 | ||
| 1634 | local function updateFly() | |
| 1635 | ||
| 1636 | if not flyToggled then return end | |
| 1637 | ||
| 1638 | lastForward = forward | |
| 1639 | lastSide = side | |
| 1640 | ||
| 1641 | forward = 0 | |
| 1642 | side = 0 | |
| 1643 | ||
| 1644 | if keysDown.w then | |
| 1645 | forward = forward + 1 | |
| 1646 | end | |
| 1647 | if keysDown.s then | |
| 1648 | forward = forward - 1 | |
| 1649 | end | |
| 1650 | if keysDown.a then | |
| 1651 | side = side - 1 | |
| 1652 | end | |
| 1653 | if keysDown.d then | |
| 1654 | side = side + 1 | |
| 1655 | end | |
| 1656 | ||
| 1657 | canFly = (forward ~= 0 or side ~= 0) | |
| 1658 | ||
| 1659 | if canFly then | |
| 1660 | stanceToggle = "Floating" | |
| 1661 | turnBG.Parent = root | |
| 1662 | floatBP.Parent = nil | |
| 1663 | flyBV.Parent = root | |
| 1664 | ||
| 1665 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
| 1666 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
| 1667 | else | |
| 1668 | floatBP.position = root.Position | |
| 1669 | floatBP.Parent = root | |
| 1670 | ||
| 1671 | flySpeed = flySpeed - 1 | |
| 1672 | if flySpeed < 0 then flySpeed = 0 end | |
| 1673 | end | |
| 1674 | ||
| 1675 | local camCF = cam.CoordinateFrame | |
| 1676 | local in_forward = canFly and forward or lastForward | |
| 1677 | local in_side = canFly and side or lastSide | |
| 1678 | ||
| 1679 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
| 1680 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
| 1681 | ||
| 1682 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
| 1683 | 0) | |
| 1684 | end | |
| 1685 | ||
| 1686 | game:service'RunService'.RenderStepped:connect(function() | |
| 1687 | if flyToggled then | |
| 1688 | pchar.Humanoid.PlatformStand = true | |
| 1689 | end | |
| 1690 | updateFly() | |
| 1691 | end) | |
| 1692 | ------------------------------- | |
| 1693 | mouse.KeyDown:connect(function(key) | |
| 1694 | if key == "q" then | |
| 1695 | ||
| 1696 | if Debounces.CanAttack == true then | |
| 1697 | Debounces.CanAttack = false | |
| 1698 | Debounces.NoIdl = true | |
| 1699 | Debounces.on = true | |
| 1700 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Here is all of my energy","Red")
| |
| 1701 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
| 1702 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
| 1703 | local List = {}
| |
| 1704 | for i,v in pairs(workspace:GetChildren())do | |
| 1705 | if v:IsA("Model")then
| |
| 1706 | if v:findFirstChild("Torso")then
| |
| 1707 | if v ~= char then | |
| 1708 | if(v.Torso.Position -Position).magnitude <= Distance then | |
| 1709 | table.insert(List,v) | |
| 1710 | end | |
| 1711 | end | |
| 1712 | end | |
| 1713 | end | |
| 1714 | end | |
| 1715 | return List | |
| 1716 | end | |
| 1717 | z = Instance.new("Sound",hed)
| |
| 1718 | z.SoundId = "rbxassetid://232213955" | |
| 1719 | z.Pitch = 1 | |
| 1720 | z.Volume = 1 | |
| 1721 | wait(0.2) | |
| 1722 | z:Play() | |
| 1723 | sp = Instance.new("Part",hed)
| |
| 1724 | sp.Anchored = true | |
| 1725 | sp.CanCollide = false | |
| 1726 | sp.Locked = false | |
| 1727 | sp.Transparency = 0 | |
| 1728 | sp.Material = "Neon" | |
| 1729 | sp.Size = Vector3.new(1,1,1) | |
| 1730 | sp.TopSurface = "SmoothNoOutlines" | |
| 1731 | sp.BottomSurface = "SmoothNoOutlines" | |
| 1732 | sp.BrickColor = BrickColor.new("Teal")
| |
| 1733 | spm = Instance.new("SpecialMesh",sp)
| |
| 1734 | spm.MeshType = "Sphere" | |
| 1735 | spm.Scale = Vector3.new(1,1,1) | |
| 1736 | sp2 = Instance.new("Part", rarm)
| |
| 1737 | sp2.Name = "Energy" | |
| 1738 | sp2.BrickColor = BrickColor.new("New Yeller")
| |
| 1739 | sp2.Size = Vector3.new(1,1,1) | |
| 1740 | sp2.Shape = "Ball" | |
| 1741 | sp2.CanCollide = false | |
| 1742 | sp2.Anchored = true | |
| 1743 | sp2.Locked = true | |
| 1744 | sp2.TopSurface = 0 | |
| 1745 | sp2.BottomSurface = 0 | |
| 1746 | sp2.Transparency = 1 | |
| 1747 | spm2 = Instance.new("SpecialMesh",sp2)
| |
| 1748 | spm2.MeshId = "rbxassetid://9982590" | |
| 1749 | spm2.Scale = Vector3.new(1,1,1) | |
| 1750 | for i = 1, 20 do | |
| 1751 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
| 1752 | sp.CFrame = root.CFrame*CFrame.new(0,15,0) | |
| 1753 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.4) | |
| 1754 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4) | |
| 1755 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
| 1756 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 1757 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1758 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1759 | if Debounces.on == false then break end | |
| 1760 | rs:wait() | |
| 1761 | end | |
| 1762 | for i = 1, 100, 20 do rs:wait() | |
| 1763 | sp.CFrame = root.CFrame*CFrame.new(0,15,0) | |
| 1764 | end | |
| 1765 | for i = 1, 20 do | |
| 1766 | sp.CFrame = root.CFrame*CFrame.new(0,15,0) | |
| 1767 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4) | |
| 1768 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.4) | |
| 1769 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.4) | |
| 1770 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 1771 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1772 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1773 | if Debounces.on == false then break end | |
| 1774 | rs:wait() | |
| 1775 | end | |
| 1776 | sp.Transparency = 0 | |
| 1777 | for i = 1, 20 do | |
| 1778 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4) | |
| 1779 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.4) | |
| 1780 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.4) | |
| 1781 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 1782 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 1783 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 1784 | if Debounces.on == false then break end | |
| 1785 | rs:wait() | |
| 1786 | end | |
| 1787 | wait(1) | |
| 1788 | sp.Transparency = 0 | |
| 1789 | sp2.Transparency = 0.84 | |
| 1790 | for i = 1, 20 do | |
| 1791 | --spm.Scale = spm.Scale - Vector3.new(15,15,15) | |
| 1792 | sp.CFrame = root.CFrame*CFrame.new(0,15,0) | |
| 1793 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
| 1794 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(-8)), 0.4) | |
| 1795 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(180),math.rad(0),math.rad(8)), 0.2) | |
| 1796 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 1797 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
| 1798 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-8)), 0.2) | |
| 1799 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(8)), 0.2) | |
| 1800 | if Debounces.on == false then break end | |
| 1801 | rs:wait() | |
| 1802 | end | |
| 1803 | for i = 1, 2880, 50 do | |
| 1804 | rs:wait() | |
| 1805 | sp.CFrame = root.CFrame*CFrame.new(0,15,0) | |
| 1806 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) | |
| 1807 | rs:wait() | |
| 1808 | end | |
| 1809 | sp:Destroy() | |
| 1810 | sp2:Destroy() | |
| 1811 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"TAKE THIS!","Red")
| |
| 1812 | local X = Instance.new("Part",char)
| |
| 1813 | local O = Instance.new("ObjectValue",X)
| |
| 1814 | O.Name = "creator" | |
| 1815 | X.Locked = true | |
| 1816 | X.Name = "Shell" | |
| 1817 | X.Anchored = false | |
| 1818 | X.CanCollide = false | |
| 1819 | X.Transparency = 0 | |
| 1820 | X.Reflectance = 0 | |
| 1821 | X.BottomSurface = 0 | |
| 1822 | X.TopSurface = 0 | |
| 1823 | X.Shape = 0 | |
| 1824 | local V = Instance.new("ObjectValue",X)
| |
| 1825 | V.Value = char | |
| 1826 | V.Name = "creator" | |
| 1827 | X.BrickColor = BrickColor.new("Teal")
| |
| 1828 | X.Size = Vector3.new(1,1,1) | |
| 1829 | X.Material = "Neon" | |
| 1830 | local Z = Instance.new("SpecialMesh",X)
| |
| 1831 | Z.MeshType = "Sphere" | |
| 1832 | Z.Scale = Vector3.new(15,15,15) | |
| 1833 | X.CFrame = rarm.CFrame*CFrame.new(4,4,4) | |
| 1834 | local bv = Instance.new("BodyVelocity",X)
| |
| 1835 | bv.maxForce = Vector3.new(99999,99999,99999) | |
| 1836 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
| 1837 | bv.velocity = X.CFrame.lookVector*65 | |
| 1838 | ||
| 1839 | Explode = X.Touched:connect(function(hit) | |
| 1840 | ||
| 1841 | local cf = X.CFrame | |
| 1842 | bv:Destroy() | |
| 1843 | X.Anchored = true | |
| 1844 | Z:Remove() | |
| 1845 | Explode:disconnect() | |
| 1846 | X.Size = Vector3.new(3,3,3) | |
| 1847 | X.Touched:connect(function(hit) end) | |
| 1848 | X.CanCollide = false | |
| 1849 | local part3 = Instance.new("Part", rarm)
| |
| 1850 | part3.Anchored=true | |
| 1851 | part3.CanCollide=false | |
| 1852 | part3.Locked = true | |
| 1853 | part3.TopSurface = "SmoothNoOutlines" | |
| 1854 | part3.BottomSurface = "SmoothNoOutlines" | |
| 1855 | part3.FormFactor='Custom' | |
| 1856 | part3.Size=Vector3.new(1,1, 1) | |
| 1857 | part3.CFrame=X.CFrame | |
| 1858 | part3.Transparency=0 | |
| 1859 | part3.BrickColor=BrickColor.new("Teal")
| |
| 1860 | local mesh3 = Instance.new("SpecialMesh",part3)
| |
| 1861 | mesh3.MeshType = "Sphere" | |
| 1862 | mesh3.Scale = Vector3.new(1,1,1) | |
| 1863 | --debris:AddItem(X,8) | |
| 1864 | local part4 = Instance.new("Part", rarm)
| |
| 1865 | part4.Material = "Neon" | |
| 1866 | part4.Anchored=true | |
| 1867 | part4.CanCollide=false | |
| 1868 | part4.Locked = true | |
| 1869 | part4.TopSurface = "SmoothNoOutlines" | |
| 1870 | part4.BottomSurface = "SmoothNoOutlines" | |
| 1871 | part4.FormFactor='Custom' | |
| 1872 | part4.Size=Vector3.new(1,1, 1) | |
| 1873 | part4.CFrame=X.CFrame | |
| 1874 | part4.Transparency=0 | |
| 1875 | part4.BrickColor=BrickColor.new("Teal")
| |
| 1876 | local mesh4 = Instance.new("SpecialMesh",part4)
| |
| 1877 | mesh4.MeshType = "Sphere" | |
| 1878 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
| 1879 | local part7 = Instance.new("Part", rarm)
| |
| 1880 | part7.Material = "Neon" | |
| 1881 | part7.Anchored=true | |
| 1882 | part7.CanCollide=false | |
| 1883 | part7.Locked = true | |
| 1884 | part7.TopSurface = "SmoothNoOutlines" | |
| 1885 | part7.BottomSurface = "SmoothNoOutlines" | |
| 1886 | part7.FormFactor='Custom' | |
| 1887 | part7.Size=Vector3.new(1,1, 1) | |
| 1888 | part7.CFrame=X.CFrame | |
| 1889 | part7.Transparency=0 | |
| 1890 | part7.BrickColor=BrickColor.new("Teal")
| |
| 1891 | local mesh7 = Instance.new("SpecialMesh",part7)
| |
| 1892 | mesh7.MeshType = "Sphere" | |
| 1893 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
| 1894 | --[[X.Touched:connect(function(ht) | |
| 1895 | hit = ht.Parent | |
| 1896 | if ht and hit:IsA("Model") then
| |
| 1897 | if hit:FindFirstChild("Humanoid") then
| |
| 1898 | if hit.Name ~= p.Name then | |
| 1899 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999))
| |
| 1900 | wait(.3) | |
| 1901 | end | |
| 1902 | end | |
| 1903 | elseif ht and hit:IsA("Hat") then
| |
| 1904 | if hit.Parent.Name ~= p.Name then | |
| 1905 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1906 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(9999,9999))
| |
| 1907 | wait(.3) | |
| 1908 | end | |
| 1909 | end | |
| 1910 | end | |
| 1911 | end) | |
| 1912 | part3.Touched:connect(function(ht) | |
| 1913 | hit = ht.Parent | |
| 1914 | if ht and hit:IsA("Model") then
| |
| 1915 | if hit:FindFirstChild("Humanoid") then
| |
| 1916 | if hit.Name ~= p.Name then | |
| 1917 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(999,9999))
| |
| 1918 | wait(.3) | |
| 1919 | end | |
| 1920 | end | |
| 1921 | elseif ht and hit:IsA("Hat") then
| |
| 1922 | if hit.Parent.Name ~= p.Name then | |
| 1923 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 1924 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(999,999))
| |
| 1925 | wait(.3) | |
| 1926 | end | |
| 1927 | end | |
| 1928 | end | |
| 1929 | end)]]-- | |
| 1930 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
| 1931 | if v:FindFirstChild('Humanoid') then
| |
| 1932 | v.Humanoid:TakeDamage(math.random(100,100)) | |
| 1933 | v.Humanoid.PlatformStand = true | |
| 1934 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
| |
| 1935 | end | |
| 1936 | end | |
| 1937 | ||
| 1938 | local acos = math.acos | |
| 1939 | local sqrt = math.sqrt | |
| 1940 | local Vec3 = Vector3.new | |
| 1941 | local fromAxisAngle = CFrame.fromAxisAngle | |
| 1942 | ||
| 1943 | local function toAxisAngle(CFr) | |
| 1944 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
| 1945 | local Angle = math.acos((R00+R11+R22-1)/2) | |
| 1946 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1947 | A = A == 0 and 0.00001 or A | |
| 1948 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1949 | B = B == 0 and 0.00001 or B | |
| 1950 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
| 1951 | C = C == 0 and 0.00001 or C | |
| 1952 | local x = (R21-R12)/sqrt(A) | |
| 1953 | local y = (R02-R20)/sqrt(B) | |
| 1954 | local z = (R10-R01)/sqrt(C) | |
| 1955 | return Vec3(x,y,z),Angle | |
| 1956 | end | |
| 1957 | ||
| 1958 | function ApplyTrig(Num,Func) | |
| 1959 | local Min,Max = Func(0),Func(1) | |
| 1960 | local i = Func(Num) | |
| 1961 | return (i-Min)/(Max-Min) | |
| 1962 | end | |
| 1963 | ||
| 1964 | function LerpCFrame(CFrame1,CFrame2,Num) | |
| 1965 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
| 1966 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
| 1967 | end | |
| 1968 | ||
| 1969 | function Crater(Torso,Radius) | |
| 1970 | Spawn(function() | |
| 1971 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
| 1972 | local Ignore = {}
| |
| 1973 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do
| |
| 1974 | if v.Character ~= nil then | |
| 1975 | Ignore[#Ignore+1] = v.Character | |
| 1976 | end | |
| 1977 | end | |
| 1978 | local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
| 1979 | if Hit == nil then return end | |
| 1980 | local Parts = {}
| |
| 1981 | for i = 1,360,10 do | |
| 1982 | local P = Instance.new("Part",Torso.Parent)
| |
| 1983 | P.Anchored = true | |
| 1984 | P.FormFactor = "Custom" | |
| 1985 | P.BrickColor = Hit.BrickColor | |
| 1986 | P.Material = Hit.Material | |
| 1987 | P.TopSurface = "Smooth" | |
| 1988 | P.BottomSurface = "Smooth" | |
| 1989 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
| 1990 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
| 1991 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
| |
| 1992 | if math.random(0,5) == 0 then -- rubble | |
| 1993 | local P = Instance.new("Part",Torso.Parent)
| |
| 1994 | P.Anchored = true | |
| 1995 | P.FormFactor = "Custom" | |
| 1996 | P.BrickColor = Hit.BrickColor | |
| 1997 | P.Material = Hit.Material | |
| 1998 | P.TopSurface = "Smooth" | |
| 1999 | P.BottomSurface = "Smooth" | |
| 2000 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
| 2001 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
| 2002 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
| |
| 2003 | end | |
| 2004 | end | |
| 2005 | for i = 0,1,0.05 do | |
| 2006 | for i2,v in pairs(Parts) do | |
| 2007 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
| 2008 | end | |
| 2009 | wait(0.02) | |
| 2010 | end | |
| 2011 | for i,v in pairs(Parts) do | |
| 2012 | if v[1].Size.X > 2.1 then | |
| 2013 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
| 2014 | end | |
| 2015 | v[1].Anchored = false | |
| 2016 | end | |
| 2017 | for i = 0,1,0.05 do | |
| 2018 | for i2,v in pairs(Parts) do | |
| 2019 | v[1].Transparency = i | |
| 2020 | if i == 1 then | |
| 2021 | v[1]:Destroy() | |
| 2022 | elseif i >= 0.25 then | |
| 2023 | v[1].CanCollide = false | |
| 2024 | end | |
| 2025 | end | |
| 2026 | wait(0.02) | |
| 2027 | end | |
| 2028 | Parts = nil | |
| 2029 | end) | |
| 2030 | end | |
| 2031 | ||
| 2032 | ||
| 2033 | ||
| 2034 | Part = function(x,y,z,color,tr,cc,an,parent) | |
| 2035 | local p = Instance.new('Part',parent or Weapon)
| |
| 2036 | p.formFactor = 'Custom' | |
| 2037 | p.Size = Vector3.new(x,y,z) | |
| 2038 | p.BrickColor = BrickColor.new(color) | |
| 2039 | p.CanCollide = cc | |
| 2040 | p.Transparency = tr | |
| 2041 | p.Anchored = an | |
| 2042 | p.TopSurface,p.BottomSurface = 0,0 | |
| 2043 | p.Locked=true | |
| 2044 | p:BreakJoints() | |
| 2045 | return p end | |
| 2046 | ||
| 2047 | Mesh = function(par,num,x,y,z) | |
| 2048 | local msh = _ | |
| 2049 | if num == 1 then msh = Instance.new("CylinderMesh",par)
| |
| 2050 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
| |
| 2051 | elseif num == 3 then msh = Instance.new("BlockMesh",par)
| |
| 2052 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
| |
| 2053 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
| |
| 2054 | end msh.Scale = Vector3.new(x,y,z) | |
| 2055 | return msh end | |
| 2056 | ||
| 2057 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
| 2058 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
| 2059 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
| 2060 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
| 2061 | v1,v2,v3=sz.x,sz.y,sz.z | |
| 2062 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
| 2063 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
| 2064 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
| 2065 | a.CFrame=cfr | |
| 2066 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 2067 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
| 2068 | ||
| 2069 | spawn(function() | |
| 2070 | while wait() do | |
| 2071 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
| 2072 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
| 2073 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
| 2074 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
| 2075 | a.Transparency=a.Transparency+0.05 | |
| 2076 | a2.Transparency=a2.Transparency+0.05 | |
| 2077 | a3.Transparency=a3.Transparency+0.05 | |
| 2078 | end | |
| 2079 | end) | |
| 2080 | end | |
| 2081 | ||
| 2082 | Crater(X,20) | |
| 2083 | ||
| 2084 | z = Instance.new("Sound",X)
| |
| 2085 | z.SoundId = "rbxassetid://231917744" | |
| 2086 | z.Pitch = .5 | |
| 2087 | z.Volume = 10 | |
| 2088 | z1 = Instance.new("Sound",X)
| |
| 2089 | z1.SoundId = "rbxassetid://231917744" | |
| 2090 | z1.Pitch = .5 | |
| 2091 | z1.Volume = 10 | |
| 2092 | z2 = Instance.new("Sound",X)
| |
| 2093 | z2.SoundId = "rbxassetid://231917744" | |
| 2094 | z2.Pitch = .5 | |
| 2095 | z2.Volume = 10 | |
| 2096 | z3 = Instance.new("Sound",X)
| |
| 2097 | z3.SoundId = "rbxassetid://245537790" | |
| 2098 | z3.Pitch = .7 | |
| 2099 | z3.Volume = 1 | |
| 2100 | z4 = Instance.new("Sound",X)
| |
| 2101 | z4.SoundId = "rbxassetid://245537790" | |
| 2102 | z4.Pitch = .7 | |
| 2103 | z4.Volume = 1 | |
| 2104 | wait(0.1) | |
| 2105 | z:Play() | |
| 2106 | z1:Play() | |
| 2107 | z2:Play() | |
| 2108 | z3:Play() | |
| 2109 | z4:Play() | |
| 2110 | ||
| 2111 | local part=Instance.new('Part',rarm)
| |
| 2112 | part.Anchored=true | |
| 2113 | part.CanCollide=false | |
| 2114 | part.Locked = true | |
| 2115 | part.FormFactor='Custom' | |
| 2116 | part.Size=Vector3.new(1,1,1) | |
| 2117 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
| 2118 | part.Transparency=0 | |
| 2119 | part.BrickColor=BrickColor.new('Teal')
| |
| 2120 | local mesh=Instance.new('SpecialMesh',part)
| |
| 2121 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
| 2122 | mesh.Scale=Vector3.new(2,2,2) | |
| 2123 | local part2=part:clone() | |
| 2124 | part2.Parent = rarm | |
| 2125 | part2.BrickColor=BrickColor.new("Teal")
| |
| 2126 | local part5=part:clone() | |
| 2127 | part5.Parent = rarm | |
| 2128 | part5.BrickColor=BrickColor.new("Teal")
| |
| 2129 | local part6=part:clone() | |
| 2130 | part6.Parent = rarm | |
| 2131 | part6.BrickColor=BrickColor.new("Teal")
| |
| 2132 | local mesh2=mesh:clone() | |
| 2133 | mesh2.Parent=part2 | |
| 2134 | mesh2.Scale=Vector3.new(3, 3, 3) | |
| 2135 | local mesh5=mesh:clone() | |
| 2136 | mesh5.Parent=part5 | |
| 2137 | mesh5.Scale=Vector3.new(3, 3, 3) | |
| 2138 | local mesh6=mesh:clone() | |
| 2139 | mesh6.Parent=part6 | |
| 2140 | mesh6.Scale=Vector3.new(3, 3, 3) | |
| 2141 | local blast = Instance.new("Part", rarm)
| |
| 2142 | blast.BrickColor = BrickColor.new("New Yeller")
| |
| 2143 | blast.Anchored = true | |
| 2144 | blast.CanCollide = false | |
| 2145 | blast.Locked = true | |
| 2146 | blast.Size = Vector3.new(1, 1, 1) | |
| 2147 | blast.TopSurface = "Smooth" | |
| 2148 | blast.BottomSurface = "Smooth" | |
| 2149 | blast.Transparency = 0 | |
| 2150 | blast.CFrame = HandCF | |
| 2151 | local bm = Instance.new("SpecialMesh", blast)
| |
| 2152 | bm.Scale = Vector3.new(5,1,5) | |
| 2153 | bm.MeshId = "rbxassetid://3270017" | |
| 2154 | local blast2 = Instance.new("Part", rarm)
| |
| 2155 | blast2.BrickColor = BrickColor.new("New Yeller")
| |
| 2156 | blast2.Anchored = true | |
| 2157 | blast2.CanCollide = false | |
| 2158 | blast2.Locked = true | |
| 2159 | blast2.Size = Vector3.new(1, 1, 1) | |
| 2160 | blast2.TopSurface = "Smooth" | |
| 2161 | blast2.BottomSurface = "Smooth" | |
| 2162 | blast2.Transparency = 0 | |
| 2163 | blast2.CFrame = HandCF | |
| 2164 | local bm2 = Instance.new("SpecialMesh", blast2)
| |
| 2165 | bm2.Scale = Vector3.new(3,1,3) | |
| 2166 | bm2.MeshId = "rbxassetid://3270017" | |
| 2167 | local blast3 = Instance.new("Part", rarm)
| |
| 2168 | blast3.BrickColor = BrickColor.new("New Yeller")
| |
| 2169 | blast3.Anchored = true | |
| 2170 | blast3.CanCollide = false | |
| 2171 | blast3.Locked = true | |
| 2172 | blast3.Size = Vector3.new(1, 1, 1) | |
| 2173 | blast3.TopSurface = "Smooth" | |
| 2174 | blast3.BottomSurface = "Smooth" | |
| 2175 | blast3.Transparency = 0 | |
| 2176 | blast3.CFrame = HandCF | |
| 2177 | local bm3 = Instance.new("SpecialMesh", blast3)
| |
| 2178 | bm3.Scale = Vector3.new(3,1,3) | |
| 2179 | bm3.MeshId = "rbxassetid://3270017" | |
| 2180 | for i = 1,120 do rs:wait() | |
| 2181 | ||
| 2182 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
| 2183 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
| 2184 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
| 2185 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
| 2186 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
| 2187 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
| 2188 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
| 2189 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
| 2190 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
| 2191 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
| 2192 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
| 2193 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
| 2194 | X.CFrame = cf | |
| 2195 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
| 2196 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
| 2197 | part3.CFrame=X.CFrame | |
| 2198 | part4.CFrame=X.CFrame | |
| 2199 | part7.CFrame=X.CFrame | |
| 2200 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
| 2201 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
| 2202 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
| 2203 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
| 2204 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
| 2205 | rs:wait() | |
| 2206 | end | |
| 2207 | X:Destroy() | |
| 2208 | part:Destroy() | |
| 2209 | part2:Destroy() | |
| 2210 | part3:Destroy() | |
| 2211 | part4:Destroy() | |
| 2212 | part5:Destroy() | |
| 2213 | part6:Destroy() | |
| 2214 | blast:Destroy() | |
| 2215 | blast2:Destroy() | |
| 2216 | blast3:Destroy() | |
| 2217 | z:Destroy() | |
| 2218 | z1:Destroy() | |
| 2219 | z2:Destroy() | |
| 2220 | z3:Destroy() | |
| 2221 | z4:Destroy() | |
| 2222 | ||
| 2223 | end) | |
| 2224 | for i = 1, 20 do | |
| 2225 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
| 2226 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
| 2227 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 2228 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
| 2229 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
| 2230 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
| 2231 | if Debounces.on == false then break end | |
| 2232 | rs:wait() | |
| 2233 | end | |
| 2234 | if Debounces.CanAttack == false then | |
| 2235 | Debounces.CanAttack = true | |
| 2236 | Debounces.NoIdl = false | |
| 2237 | Debounces.on = false | |
| 2238 | end | |
| 2239 | end | |
| 2240 | end | |
| 2241 | end) | |
| 2242 | ---------------------------------------------------- | |
| 2243 | mouse.KeyDown:connect(function(key) | |
| 2244 | if key == "e" then | |
| 2245 | if Debounces.CanAttack == true then | |
| 2246 | Debounces.CanAttack = false | |
| 2247 | Debounces.NoIdl = true | |
| 2248 | Debounces.on = true | |
| 2249 | Debounces.ks = true | |
| 2250 | hand1 = Instance.new("Part",rarm)
| |
| 2251 | hand1.Size = Vector3.new(1,1,1) | |
| 2252 | hand1.CanCollide = false | |
| 2253 | hand1.Position = Vector3.new(99999,99999,99999) | |
| 2254 | hand1.Transparency = 1 | |
| 2255 | handweld = Instance.new("Weld",rarm)
| |
| 2256 | handweld.Part0 = hand1 | |
| 2257 | handweld.Part1 = rarm | |
| 2258 | handweld.C0 = CFrame.new(0,1,0) | |
| 2259 | hand2 = Instance.new("Part",larm)
| |
| 2260 | hand2.Size = Vector3.new(1,1,1) | |
| 2261 | hand2.CanCollide = false | |
| 2262 | hand2.Position = Vector3.new(99999,99999,99999) | |
| 2263 | hand2.Transparency = 1 | |
| 2264 | handweld2 = Instance.new("Weld",larm)
| |
| 2265 | handweld2.Part0 = hand2 | |
| 2266 | handweld2.Part1 = larm | |
| 2267 | handweld2.C0 = CFrame.new(0,1,0) | |
| 2268 | function onTouch(hit) | |
| 2269 | ||
| 2270 | if hit.Parent:findFirstChild("Humanoid") then
| |
| 2271 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 3 | |
| 2272 | end | |
| 2273 | end | |
| 2274 | ||
| 2275 | hand2.Touched:connect(onTouch) | |
| 2276 | for i = 1, 5 do | |
| 2277 | wait() | |
| 2278 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2279 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2280 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2281 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
| 2282 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2283 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2284 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4) | |
| 2285 | end | |
| 2286 | for i = 1, 5 do | |
| 2287 | wait() | |
| 2288 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2289 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2290 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2) | |
| 2291 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-5)), 0.2) | |
| 2292 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2293 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2294 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4) | |
| 2295 | end | |
| 2296 | function onTouch1(hit) | |
| 2297 | ||
| 2298 | if hit.Parent:FindFirstChild("Humanoid") then
| |
| 2299 | if hold == false then | |
| 2300 | ||
| 2301 | hand1.TouchInterest:Destroy() | |
| 2302 | ||
| 2303 | xq = Instance.new("Model",char)
| |
| 2304 | xq.Name = "ComboHold" | |
| 2305 | h = hit.Parent:FindFirstChild("Humanoid")
| |
| 2306 | t = hit.Parent:FindFirstChild("Torso")
| |
| 2307 | he = hit.Parent:FindFirstChild("Head")
| |
| 2308 | xx = Instance.new("Weld",xq)
| |
| 2309 | xx.Part0 = torso | |
| 2310 | xx.Part1 = t | |
| 2311 | xx.C0 = CFrame.new(0,0,-2)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)) | |
| 2312 | hold = true | |
| 2313 | h.WalkSpeed = 0 | |
| 2314 | he.Anchored = true | |
| 2315 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10 | |
| 2316 | -------------------------------------------------------------------- | |
| 2317 | ||
| 2318 | ||
| 2319 | ||
| 2320 | end | |
| 2321 | wait(1) | |
| 2322 | if hold == true then | |
| 2323 | xq:Destroy() | |
| 2324 | ||
| 2325 | for i = 1, 5 do | |
| 2326 | ||
| 2327 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2328 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2329 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2330 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
| 2331 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2332 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2333 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4) | |
| 2334 | end | |
| 2335 | ||
| 2336 | z = Instance.new("Sound",rarm)
| |
| 2337 | z.SoundId = "rbxassetid://137579113" | |
| 2338 | z.Volume = 1 | |
| 2339 | wait() | |
| 2340 | z:Play() | |
| 2341 | ||
| 2342 | for i = 1, 5 do | |
| 2343 | ||
| 2344 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2345 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2346 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2) | |
| 2347 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-5)), 0.2) | |
| 2348 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2349 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2350 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4) | |
| 2351 | end | |
| 2352 | ||
| 2353 | z = Instance.new("Sound",rarm)
| |
| 2354 | z.SoundId = "rbxassetid://137579113" | |
| 2355 | z.Volume = 1 | |
| 2356 | wait() | |
| 2357 | z:Play() | |
| 2358 | ||
| 2359 | for i = 1, 5 do | |
| 2360 | ||
| 2361 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2362 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2363 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2) | |
| 2364 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.2) | |
| 2365 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.2) | |
| 2366 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.4) | |
| 2367 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 2368 | end | |
| 2369 | ||
| 2370 | z = Instance.new("Sound",rarm)
| |
| 2371 | z.SoundId = "rbxassetid://137579113" | |
| 2372 | z.Volume = 1 | |
| 2373 | wait() | |
| 2374 | z:Play() | |
| 2375 | ||
| 2376 | for i = 1, 5 do | |
| 2377 | ||
| 2378 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2379 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2380 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2381 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2382 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(5)), 0.2) | |
| 2383 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4) | |
| 2384 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 2385 | end | |
| 2386 | ||
| 2387 | z = Instance.new("Sound",rarm)
| |
| 2388 | z.SoundId = "rbxassetid://137579113" | |
| 2389 | z.Volume = 1 | |
| 2390 | wait() | |
| 2391 | z:Play() | |
| 2392 | ||
| 2393 | for i = 1, 5 do | |
| 2394 | ||
| 2395 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2396 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2397 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2398 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
| 2399 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2400 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2401 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4) | |
| 2402 | end | |
| 2403 | ||
| 2404 | z = Instance.new("Sound",rarm)
| |
| 2405 | z.SoundId = "rbxassetid://137579113" | |
| 2406 | z.Volume = 1 | |
| 2407 | wait() | |
| 2408 | z:Play() | |
| 2409 | ||
| 2410 | for i = 1, 5 do | |
| 2411 | ||
| 2412 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2413 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2414 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2) | |
| 2415 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-5)), 0.2) | |
| 2416 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2417 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2418 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4) | |
| 2419 | end | |
| 2420 | ||
| 2421 | z = Instance.new("Sound",rarm)
| |
| 2422 | z.SoundId = "rbxassetid://137579113" | |
| 2423 | z.Volume = 1 | |
| 2424 | wait() | |
| 2425 | z:Play() | |
| 2426 | ||
| 2427 | for i = 1, 5 do | |
| 2428 | ||
| 2429 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2430 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2431 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2) | |
| 2432 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.2) | |
| 2433 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.2) | |
| 2434 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.4) | |
| 2435 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 2436 | end | |
| 2437 | ||
| 2438 | z = Instance.new("Sound",rarm)
| |
| 2439 | z.SoundId = "rbxassetid://137579113" | |
| 2440 | z.Volume = 1 | |
| 2441 | wait() | |
| 2442 | z:Play() | |
| 2443 | ||
| 2444 | for i = 1, 5 do | |
| 2445 | ||
| 2446 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2447 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2448 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2449 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2450 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(5)), 0.2) | |
| 2451 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4) | |
| 2452 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 2453 | end | |
| 2454 | ||
| 2455 | z = Instance.new("Sound",rarm)
| |
| 2456 | z.SoundId = "rbxassetid://137579113" | |
| 2457 | z.Volume = 1 | |
| 2458 | wait() | |
| 2459 | z:Play() | |
| 2460 | ||
| 2461 | for i = 1, 5 do | |
| 2462 | ||
| 2463 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2464 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2465 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2466 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
| 2467 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2468 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2469 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4) | |
| 2470 | end | |
| 2471 | ||
| 2472 | z = Instance.new("Sound",rarm)
| |
| 2473 | z.SoundId = "rbxassetid://137579113" | |
| 2474 | z.Volume = 1 | |
| 2475 | wait() | |
| 2476 | z:Play() | |
| 2477 | for i = 1, 5 do | |
| 2478 | ||
| 2479 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2480 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2481 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2482 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
| 2483 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2484 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2485 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4) | |
| 2486 | end | |
| 2487 | ||
| 2488 | z = Instance.new("Sound",rarm)
| |
| 2489 | z.SoundId = "rbxassetid://137579113" | |
| 2490 | z.Volume = 1 | |
| 2491 | wait() | |
| 2492 | z:Play() | |
| 2493 | ||
| 2494 | for i = 1, 5 do | |
| 2495 | ||
| 2496 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2497 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2498 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2) | |
| 2499 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-5)), 0.2) | |
| 2500 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2501 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2502 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4) | |
| 2503 | end | |
| 2504 | ||
| 2505 | z = Instance.new("Sound",rarm)
| |
| 2506 | z.SoundId = "rbxassetid://137579113" | |
| 2507 | z.Volume = 1 | |
| 2508 | wait() | |
| 2509 | z:Play() | |
| 2510 | ||
| 2511 | for i = 1, 5 do | |
| 2512 | ||
| 2513 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2514 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2515 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2) | |
| 2516 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.2) | |
| 2517 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.2) | |
| 2518 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.4) | |
| 2519 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 2520 | end | |
| 2521 | ||
| 2522 | z = Instance.new("Sound",rarm)
| |
| 2523 | z.SoundId = "rbxassetid://137579113" | |
| 2524 | z.Volume = 1 | |
| 2525 | wait() | |
| 2526 | z:Play() | |
| 2527 | ||
| 2528 | for i = 1, 5 do | |
| 2529 | ||
| 2530 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2531 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2532 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2533 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2534 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(5)), 0.2) | |
| 2535 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4) | |
| 2536 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 2537 | end | |
| 2538 | ||
| 2539 | z = Instance.new("Sound",rarm)
| |
| 2540 | z.SoundId = "rbxassetid://137579113" | |
| 2541 | z.Volume = 1 | |
| 2542 | wait() | |
| 2543 | z:Play() | |
| 2544 | ||
| 2545 | for i = 1, 5 do | |
| 2546 | ||
| 2547 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2548 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2549 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2550 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
| 2551 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2552 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2553 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4) | |
| 2554 | end | |
| 2555 | ||
| 2556 | z = Instance.new("Sound",rarm)
| |
| 2557 | z.SoundId = "rbxassetid://137579113" | |
| 2558 | z.Volume = 1 | |
| 2559 | wait() | |
| 2560 | z:Play() | |
| 2561 | ||
| 2562 | for i = 1, 5 do | |
| 2563 | ||
| 2564 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2565 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2566 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2) | |
| 2567 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-5)), 0.2) | |
| 2568 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2569 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2570 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4) | |
| 2571 | end | |
| 2572 | ||
| 2573 | z = Instance.new("Sound",rarm)
| |
| 2574 | z.SoundId = "rbxassetid://137579113" | |
| 2575 | z.Volume = 1 | |
| 2576 | wait() | |
| 2577 | z:Play() | |
| 2578 | ||
| 2579 | for i = 1, 5 do | |
| 2580 | ||
| 2581 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2582 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2583 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2) | |
| 2584 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.2) | |
| 2585 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.2) | |
| 2586 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.4) | |
| 2587 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 2588 | end | |
| 2589 | ||
| 2590 | z = Instance.new("Sound",rarm)
| |
| 2591 | z.SoundId = "rbxassetid://137579113" | |
| 2592 | z.Volume = 1 | |
| 2593 | wait() | |
| 2594 | z:Play() | |
| 2595 | ||
| 2596 | for i = 1, 5 do | |
| 2597 | ||
| 2598 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2599 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2600 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2601 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2602 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(5)), 0.2) | |
| 2603 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4) | |
| 2604 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 2605 | end | |
| 2606 | ||
| 2607 | z = Instance.new("Sound",rarm)
| |
| 2608 | z.SoundId = "rbxassetid://137579113" | |
| 2609 | z.Volume = 1 | |
| 2610 | wait() | |
| 2611 | z:Play() | |
| 2612 | ||
| 2613 | for i = 1, 5 do | |
| 2614 | ||
| 2615 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2616 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2617 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2618 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
| 2619 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2620 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2621 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4) | |
| 2622 | end | |
| 2623 | ||
| 2624 | z = Instance.new("Sound",rarm)
| |
| 2625 | z.SoundId = "rbxassetid://137579113" | |
| 2626 | z.Volume = 1 | |
| 2627 | wait() | |
| 2628 | z:Play() | |
| 2629 | ||
| 2630 | ||
| 2631 | for i = 1, 5 do | |
| 2632 | ||
| 2633 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2634 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2635 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2636 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
| 2637 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2638 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2639 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4) | |
| 2640 | end | |
| 2641 | ||
| 2642 | z = Instance.new("Sound",rarm)
| |
| 2643 | z.SoundId = "rbxassetid://137579113" | |
| 2644 | z.Volume = 1 | |
| 2645 | wait() | |
| 2646 | z:Play() | |
| 2647 | ||
| 2648 | for i = 1, 5 do | |
| 2649 | ||
| 2650 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2651 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2652 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2) | |
| 2653 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-5)), 0.2) | |
| 2654 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2655 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2656 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4) | |
| 2657 | end | |
| 2658 | ||
| 2659 | z = Instance.new("Sound",rarm)
| |
| 2660 | z.SoundId = "rbxassetid://137579113" | |
| 2661 | z.Volume = 1 | |
| 2662 | wait() | |
| 2663 | z:Play() | |
| 2664 | ||
| 2665 | for i = 1, 5 do | |
| 2666 | ||
| 2667 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2668 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2669 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2) | |
| 2670 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.2) | |
| 2671 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.2) | |
| 2672 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.4) | |
| 2673 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 2674 | end | |
| 2675 | ||
| 2676 | z = Instance.new("Sound",rarm)
| |
| 2677 | z.SoundId = "rbxassetid://137579113" | |
| 2678 | z.Volume = 1 | |
| 2679 | wait() | |
| 2680 | z:Play() | |
| 2681 | ||
| 2682 | for i = 1, 5 do | |
| 2683 | ||
| 2684 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2685 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2686 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2687 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2688 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(5)), 0.2) | |
| 2689 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4) | |
| 2690 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 2691 | end | |
| 2692 | ||
| 2693 | z = Instance.new("Sound",rarm)
| |
| 2694 | z.SoundId = "rbxassetid://137579113" | |
| 2695 | z.Volume = 1 | |
| 2696 | wait() | |
| 2697 | z:Play() | |
| 2698 | ||
| 2699 | for i = 1, 5 do | |
| 2700 | ||
| 2701 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2702 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2703 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2704 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
| 2705 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2706 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2707 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4) | |
| 2708 | end | |
| 2709 | ||
| 2710 | z = Instance.new("Sound",rarm)
| |
| 2711 | z.SoundId = "rbxassetid://137579113" | |
| 2712 | z.Volume = 1 | |
| 2713 | wait() | |
| 2714 | z:Play() | |
| 2715 | ||
| 2716 | for i = 1, 5 do | |
| 2717 | ||
| 2718 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2719 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2720 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2) | |
| 2721 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-5)), 0.2) | |
| 2722 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2723 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2724 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4) | |
| 2725 | end | |
| 2726 | ||
| 2727 | z = Instance.new("Sound",rarm)
| |
| 2728 | z.SoundId = "rbxassetid://137579113" | |
| 2729 | z.Volume = 1 | |
| 2730 | wait() | |
| 2731 | z:Play() | |
| 2732 | ||
| 2733 | for i = 1, 5 do | |
| 2734 | ||
| 2735 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2736 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2737 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2) | |
| 2738 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.2) | |
| 2739 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.2) | |
| 2740 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.4) | |
| 2741 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 2742 | end | |
| 2743 | ||
| 2744 | z = Instance.new("Sound",rarm)
| |
| 2745 | z.SoundId = "rbxassetid://137579113" | |
| 2746 | z.Volume = 1 | |
| 2747 | wait() | |
| 2748 | z:Play() | |
| 2749 | ||
| 2750 | for i = 1, 5 do | |
| 2751 | ||
| 2752 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2753 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2754 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2755 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2756 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(5)), 0.2) | |
| 2757 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4) | |
| 2758 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4) | |
| 2759 | end | |
| 2760 | ||
| 2761 | z = Instance.new("Sound",rarm)
| |
| 2762 | z.SoundId = "rbxassetid://137579113" | |
| 2763 | z.Volume = 1 | |
| 2764 | wait() | |
| 2765 | z:Play() | |
| 2766 | ||
| 2767 | for i = 1, 5 do | |
| 2768 | ||
| 2769 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2770 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2771 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.2) | |
| 2772 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
| 2773 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2774 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2775 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4) | |
| 2776 | end | |
| 2777 | ||
| 2778 | z = Instance.new("Sound",rarm)
| |
| 2779 | z.SoundId = "rbxassetid://137579113" | |
| 2780 | z.Volume = 1 | |
| 2781 | wait() | |
| 2782 | z:Play() | |
| 2783 | ||
| 2784 | for i = 1, 5 do | |
| 2785 | ||
| 2786 | -----------------------------------------------------------------------up/down--left/right----tilt------------------- | |
| 2787 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2788 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.2) | |
| 2789 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.7)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-5)), 0.2) | |
| 2790 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2791 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4) | |
| 2792 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4) | |
| 2793 | end | |
| 2794 | for i = 1, 5 do | |
| 2795 | wait() | |
| 2796 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2797 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.2) | |
| 2798 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)), 0.2) | |
| 2799 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-40)), 0.2) | |
| 2800 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4) | |
| 2801 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.4) | |
| 2802 | ||
| 2803 | end | |
| 2804 | ||
| 2805 | he.Anchored = false | |
| 2806 | h.WalkSpeed = 16 | |
| 2807 | unfreeze() | |
| 2808 | for i = 1, 20 do | |
| 2809 | ||
| 2810 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2811 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 2812 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
| 2813 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
| 2814 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 2815 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 2816 | ||
| 2817 | end | |
| 2818 | z = Instance.new("Sound",rarm)
| |
| 2819 | z.SoundId = "rbxassetid://137579113" | |
| 2820 | z.Volume = 1 | |
| 2821 | wait(0.2) | |
| 2822 | z:Play() | |
| 2823 | fling = Instance.new("BodyThrust",t)
| |
| 2824 | fling.Force = Vector3.new(0,1,3000) | |
| 2825 | wait(1) | |
| 2826 | fling:Destroy() | |
| 2827 | ||
| 2828 | ||
| 2829 | ||
| 2830 | ||
| 2831 | ||
| 2832 | ||
| 2833 | ||
| 2834 | ||
| 2835 | ||
| 2836 | wait(2) | |
| 2837 | ||
| 2838 | end | |
| 2839 | end | |
| 2840 | ||
| 2841 | end | |
| 2842 | hand1.Touched:connect(onTouch1) | |
| 2843 | wait(2) | |
| 2844 | if hold == true then | |
| 2845 | wait(2.6) | |
| 2846 | hold = false | |
| 2847 | end | |
| 2848 | ||
| 2849 | hand1:Destroy() | |
| 2850 | hand2:Destroy() | |
| 2851 | if Debounces.CanAttack == false then | |
| 2852 | Debounces.CanAttack = true | |
| 2853 | Debounces.NoIdl = false | |
| 2854 | Debounces.on = false | |
| 2855 | end | |
| 2856 | for i = 1, 20 do | |
| 2857 | ||
| 2858 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2859 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2) | |
| 2860 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
| 2861 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
| 2862 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 2863 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
| 2864 | end | |
| 2865 | end | |
| 2866 | end | |
| 2867 | end) | |
| 2868 | ||
| 2869 | ------------------------------- | |
| 2870 | ||
| 2871 | ---------------------------------------------------- | |
| 2872 | ||
| 2873 | ||
| 2874 | ||
| 2875 | ||
| 2876 | ---------------------------------------------------- | |
| 2877 | local go = 15 | |
| 2878 | mouse.KeyDown:connect(function(key) | |
| 2879 | if key == "y" then | |
| 2880 | ||
| 2881 | if Debounces.CanAttack == true then | |
| 2882 | Debounces.CanAttack = false | |
| 2883 | Debounces.NoIdl = true | |
| 2884 | Debounces.on = true | |
| 2885 | Debounces.ks = true | |
| 2886 | energypun = Instance.new("Part",rarm)
| |
| 2887 | energypun.Size = Vector3.new(0.7,10,0.2) | |
| 2888 | energypun.Transparency = 0.5 | |
| 2889 | energypun.CanCollide = false | |
| 2890 | energypun.Position = Vector3.new(999,999,999) | |
| 2891 | energypun.BrickColor = BrickColor.new("Teal")
| |
| 2892 | energypunmesh = Instance.new("SpecialMesh",energypun)
| |
| 2893 | energypunmesh.MeshType = "Sphere" | |
| 2894 | energypunmesh.Scale = Vector3.new(1,1,1) | |
| 2895 | energypunweld = Instance.new("Weld",energypun)
| |
| 2896 | energypunweld.Part0 = energypun | |
| 2897 | energypunweld.Part1 = rarm | |
| 2898 | energypunweld.C0 = CFrame.new(0,4,0) | |
| 2899 | ||
| 2900 | z = Instance.new("Sound",hed)
| |
| 2901 | z.SoundId = "rbxassetid://232213955" | |
| 2902 | z.Pitch = 1 | |
| 2903 | z.Volume = 1 | |
| 2904 | ||
| 2905 | wait(0.2) | |
| 2906 | z:Play() | |
| 2907 | ||
| 2908 | ||
| 2909 | energypunaura.Size = NumberSequence.new(3) | |
| 2910 | ||
| 2911 | for i = 1, 20 do | |
| 2912 | wait() | |
| 2913 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(30),math.rad(0)), 0.4) | |
| 2914 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-30), math.rad(0)), 0.2) | |
| 2915 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2) | |
| 2916 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2) | |
| 2917 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-10), math.rad(0)), 0.4) | |
| 2918 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(0)), 0.4) | |
| 2919 | end | |
| 2920 | wait(0.6) | |
| 2921 | z = Instance.new("Sound",energypun)
| |
| 2922 | z.SoundId = "rbxassetid://615910787" | |
| 2923 | ||
| 2924 | z.Volume = 10 | |
| 2925 | z:Play() | |
| 2926 | for i = 1, 20 do | |
| 2927 | wait() | |
| 2928 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-15),math.rad(35),math.rad(0)), 0.4) | |
| 2929 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(15), math.rad(-50), math.rad(0)), 0.2) | |
| 2930 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2) | |
| 2931 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-25)), 0.2) | |
| 2932 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-10), math.rad(0)), 0.4) | |
| 2933 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(15), math.rad(10), math.rad(10)), 0.4) | |
| 2934 | end | |
| 2935 | z = Instance.new("Sound",energypun)
| |
| 2936 | z.SoundId = "rbxassetid://615910787" | |
| 2937 | ||
| 2938 | z.Volume = 10 | |
| 2939 | z:Play() | |
| 2940 | burst = Instance.new("BodyThrust",torso)
| |
| 2941 | burst.Force = Vector3.new(0,0,-10000) | |
| 2942 | for i = 1, 20 do | |
| 2943 | wait() | |
| 2944 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
| 2945 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-15), math.rad(30), math.rad(0)), 0.2) | |
| 2946 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.2) | |
| 2947 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2) | |
| 2948 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4) | |
| 2949 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)), 0.4) | |
| 2950 | end | |
| 2951 | ||
| 2952 | function onTouched(hit) | |
| 2953 | ||
| 2954 | ||
| 2955 | z = Instance.new("Sound",energypun)
| |
| 2956 | z.SoundId = "rbxassetid://863808513" | |
| 2957 | ||
| 2958 | z.Volume = 10 | |
| 2959 | z:Play() | |
| 2960 | if hit == nil then | |
| 2961 | return | |
| 2962 | end | |
| 2963 | if hit.Parent:FindFirstChild("Humanoid") ~= nil then
| |
| 2964 | energypun.TouchInterest:Destroy() | |
| 2965 | burst:Destroy() | |
| 2966 | ||
| 2967 | t1 = hit.Parent:FindFirstChild("Torso")
| |
| 2968 | xl1 = Instance.new("Model",char)
| |
| 2969 | xx1 = Instance.new("Weld",xl1)
| |
| 2970 | xx1.Part0 = torso | |
| 2971 | xx1.Part1 = t1 | |
| 2972 | xx1.C0 = CFrame.new(0,0,-2)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0)) | |
| 2973 | wait(1) | |
| 2974 | ||
| 2975 | go = 1 | |
| 2976 | ||
| 2977 | local humanoids = hit.Parent:FindFirstChild("Humanoid")
| |
| 2978 | ||
| 2979 | humanoids.WalkSpeed = 0 | |
| 2980 | hum.WalkSpeed = 0 | |
| 2981 | humanoids.Health = humanoids.Health - 10 | |
| 2982 | xl1:Destroy() | |
| 2983 | wait() | |
| 2984 | ||
| 2985 | for i = 1, 20 do | |
| 2986 | wait() | |
| 2987 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)), 0.4) | |
| 2988 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 6, -11) * CFrame.Angles(math.rad(15), math.rad(160), math.rad(0)), 0.2) | |
| 2989 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2) | |
| 2990 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-25)), 0.2) | |
| 2991 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-10), math.rad(0)), 0.4) | |
| 2992 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(15), math.rad(10), math.rad(10)), 0.4) | |
| 2993 | end | |
| 2994 | ||
| 2995 | ||
| 2996 | energypun:Destroy() | |
| 2997 | wait() | |
| 2998 | local monn = Instance.new("Model",char)
| |
| 2999 | ||
| 3000 | z = Instance.new("Sound",char)
| |
| 3001 | z.SoundId = "rbxassetid://659979723" | |
| 3002 | ||
| 3003 | z.Volume = 10 | |
| 3004 | z:Play() | |
| 3005 | balls.Anchored = false | |
| 3006 | aura.Transparency = NumberSequence.new(1) | |
| 3007 | wait() | |
| 3008 | energy = Instance.new("Weld",rarm)
| |
| 3009 | energy.Part0 = balls | |
| 3010 | energy.Part1 = rarm | |
| 3011 | energy.C0 = CFrame.new(0,6,0) | |
| 3012 | ||
| 3013 | ||
| 3014 | wait(2.3) | |
| 3015 | energy:Destroy() | |
| 3016 | wait() | |
| 3017 | balls.Position = Vector3.new(999,999,999) | |
| 3018 | balls.Anchored = true | |
| 3019 | aura.Transparency = NumberSequence.new(0.2) | |
| 3020 | wait() | |
| 3021 | ||
| 3022 | for i = 1, 20 do | |
| 3023 | ||
| 3024 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-75),math.rad(0)), 0.4) | |
| 3025 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 9, -13) * CFrame.Angles(math.rad(50), math.rad(270), math.rad(0)), 0.2) | |
| 3026 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.2) | |
| 3027 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-25)), 0.2) | |
| 3028 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(2), math.rad(-10), math.rad(0)), 0.4) | |
| 3029 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(10), math.rad(10)), 0.4) | |
| 3030 | end | |
| 3031 | ||
| 3032 | ||
| 3033 | ||
| 3034 | ||
| 3035 | laser1 = true | |
| 3036 | s1.Volume=1 | |
| 3037 | s1:play() | |
| 3038 | for i=1,100 do | |
| 3039 | wait() | |
| 3040 | humanoids.Health = humanoids.Health - 1 | |
| 3041 | end | |
| 3042 | ||
| 3043 | ||
| 3044 | energypunweld:Destroy() | |
| 3045 | ||
| 3046 | laser1=false | |
| 3047 | beam.Parent=nil | |
| 3048 | inner.Parent=nil | |
| 3049 | expl.Parent=nil | |
| 3050 | exa.Parent=nil | |
| 3051 | s1:stop() | |
| 3052 | ||
| 3053 | z:Stop() | |
| 3054 | ||
| 3055 | ||
| 3056 | ||
| 3057 | ||
| 3058 | ||
| 3059 | ||
| 3060 | ||
| 3061 | ||
| 3062 | ||
| 3063 | ||
| 3064 | if Debounces.CanAttack == false then | |
| 3065 | Debounces.CanAttack = true | |
| 3066 | Debounces.NoIdl = false | |
| 3067 | Debounces.on = false | |
| 3068 | end | |
| 3069 | hum.WalkSpeed = 16 | |
| 3070 | humanoids.WalkSpeed = 16 | |
| 3071 | ||
| 3072 | ||
| 3073 | end | |
| 3074 | end | |
| 3075 | energypun.Touched:connect(onTouched) | |
| 3076 | end | |
| 3077 | end | |
| 3078 | end) | |
| 3079 | ||
| 3080 | ||
| 3081 | ||
| 3082 | ||
| 3083 | ||
| 3084 | mouse.KeyDown:connect(function(key) | |
| 3085 | if key == "h" then | |
| 3086 | ||
| 3087 | ||
| 3088 | ||
| 3089 | if Debounces.CanAttack == true then | |
| 3090 | Debounces.CanAttack = false | |
| 3091 | Debounces.on = true | |
| 3092 | Debounces.NoIdl = true | |
| 3093 | for i = 1, 15 do | |
| 3094 | wait() | |
| 3095 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.2) | |
| 3096 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-90)), 0.6) | |
| 3097 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 3098 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
| 3099 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.2) | |
| 3100 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.2) | |
| 3101 | if Debounces.on == false then break end | |
| 3102 | ||
| 3103 | end | |
| 3104 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"TAKE THIS","Red")
| |
| 3105 | wait(1.0) | |
| 3106 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"FINAL!","Red")
| |
| 3107 | ||
| 3108 | ||
| 3109 | local larm = game.Players.LocalPlayer.Character["Left Arm"] | |
| 3110 | ||
| 3111 | ||
| 3112 | balls.Anchored = false | |
| 3113 | ||
| 3114 | ||
| 3115 | ||
| 3116 | weld1 = Instance.new("Weld",larm)
| |
| 3117 | weld1.Part0 = balls | |
| 3118 | weld1.Part1 = torso | |
| 3119 | weld1.C0 = CFrame.new(0,-.5, 2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 3120 | ||
| 3121 | x = Instance.new("Sound",char)
| |
| 3122 | x.SoundId = "rbxassetid://670166779" | |
| 3123 | x.Pitch = 1 | |
| 3124 | x.Volume = 5 | |
| 3125 | wait(.0000001) | |
| 3126 | x:Play() | |
| 3127 | ||
| 3128 | for i = 1, 15 do | |
| 3129 | wait() | |
| 3130 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-15)), 0.2) | |
| 3131 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(15)), 0.6) | |
| 3132 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 3133 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
| 3134 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 3135 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 3136 | ||
| 3137 | ||
| 3138 | end | |
| 3139 | ||
| 3140 | wait(0.5) | |
| 3141 | ||
| 3142 | ||
| 3143 | Debounces.on = false | |
| 3144 | Debounces.Here = false | |
| 3145 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Kameeeeee","Red")
| |
| 3146 | ||
| 3147 | wait(0.7) | |
| 3148 | weld1.C0 = CFrame.new(0,0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 3149 | for i = 1, 15 do | |
| 3150 | wait() | |
| 3151 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,.4,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(-35)), 0.2) | |
| 3152 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,.4,0)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(45)), 0.6) | |
| 3153 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
| 3154 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
| 3155 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 3156 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 3157 | weld1.C0 = CFrame.new(0,1, 2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
| 3158 | end | |
| 3159 | ||
| 3160 | wait() | |
| 3161 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"Hameeeeee","Red")
| |
| 3162 | wait() | |
| 3163 | game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character,"HAAAAAAAAAAAAAAAAAAAA","Red")
| |
| 3164 | ||
| 3165 | wait() | |
| 3166 | ||
| 3167 | wait(1.6) | |
| 3168 | for i = 1, 15 do | |
| 3169 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,.6,0)*CFrame.Angles(math.rad(80),math.rad(20),math.rad(-20)), 0.2) | |
| 3170 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,.6,0)*CFrame.Angles(math.rad(100),math.rad(-20),math.rad(20)), 0.6) | |
| 3171 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
| 3172 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4) | |
| 3173 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
| 3174 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
| 3175 | ||
| 3176 | ||
| 3177 | end | |
| 3178 | weld1:Destroy() | |
| 3179 | wait() | |
| 3180 | balls.Position = Vector3.new(999,999,999) | |
| 3181 | balls.Anchored = true | |
| 3182 | wait() | |
| 3183 | canaura = false | |
| 3184 | shot = shot + 1 | |
| 3185 | laser = true | |
| 3186 | s1.Volume=1 | |
| 3187 | s1:play() | |
| 3188 | wait(3.5) | |
| 3189 | laser=false | |
| 3190 | beam1.Parent=nil | |
| 3191 | inner1.Parent=nil | |
| 3192 | expl1.Parent=nil | |
| 3193 | exa1.Parent=nil | |
| 3194 | s1:stop() | |
| 3195 | Debounces.NoIdl = false | |
| 3196 | if Debounces.CanAttack == false then | |
| 3197 | Debounces.CanAttack = true | |
| 3198 | end | |
| 3199 | end | |
| 3200 | ||
| 3201 | end | |
| 3202 | end) | |
| 3203 | ||
| 3204 | ||
| 3205 | ------------------------------- | |
| 3206 | local animpose = "Idle" | |
| 3207 | local lastanimpose = "Idle" | |
| 3208 | local sine = 0 | |
| 3209 | local change = 1 | |
| 3210 | local val = 0 | |
| 3211 | local ffing = false | |
| 3212 | ------------------------------- | |
| 3213 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 3214 | --[[if char.Humanoid.Jump == true then | |
| 3215 | jump = true | |
| 3216 | else | |
| 3217 | jump = false | |
| 3218 | end]] | |
| 3219 | char.Humanoid.FreeFalling:connect(function(f) | |
| 3220 | if f then | |
| 3221 | ffing = true | |
| 3222 | else | |
| 3223 | ffing = false | |
| 3224 | end | |
| 3225 | end) | |
| 3226 | sine = sine + change | |
| 3227 | if jumpn == true then | |
| 3228 | animpose = "Jumping" | |
| 3229 | elseif ffing == true then | |
| 3230 | animpose = "Freefalling" | |
| 3231 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
| 3232 | animpose = "Idle" | |
| 3233 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
| 3234 | animpose = "Walking" | |
| 3235 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
| 3236 | animpose = "Running" | |
| 3237 | end | |
| 3238 | if animpose ~= lastanimpose then | |
| 3239 | sine = 0 | |
| 3240 | if Debounces.NoIdl == false then | |
| 3241 | if animpose == "Idle" then | |
| 3242 | for i = 1, 2 do | |
| 3243 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
| 3244 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
| 3245 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
| 3246 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
| 3247 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
| 3248 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
| 3249 | end | |
| 3250 | elseif animpose == "Walking" then | |
| 3251 | for i = 1, 2 do | |
| 3252 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 3253 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 3254 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 3255 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 3256 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 3257 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 3258 | end | |
| 3259 | elseif animpose == "Running" then | |
| 3260 | for i = 1, 2 do | |
| 3261 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2) | |
| 3262 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2) | |
| 3263 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
| 3264 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
| 3265 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
| 3266 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
| 3267 | wait() | |
| 3268 | end | |
| 3269 | end | |
| 3270 | else | |
| 3271 | end | |
| 3272 | end | |
| 3273 | lastanimpose = animpose | |
| 3274 | if Debounces.NoIdl == false then | |
| 3275 | if animpose == "Idle" then | |
| 3276 | change = 0.5 | |
| 3277 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4) | |
| 3278 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4) | |
| 3279 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
| 3280 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
| 3281 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
| 3282 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
| 3283 | elseif animpose == "Walking" then | |
| 3284 | change = 1 | |
| 3285 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
| 3286 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
| 3287 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
| 3288 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
| 3289 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
| 3290 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
| 3291 | elseif animpose == "Running" then | |
| 3292 | change = 1 | |
| 3293 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2) | |
| 3294 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2) | |
| 3295 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
| 3296 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2) | |
| 3297 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 0.4) | |
| 3298 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(20), math.rad(0)), 0.4) | |
| 3299 | end | |
| 3300 | end | |
| 3301 | end) | |
| 3302 | ||
| 3303 | hum.MaxHealth = math.huge | |
| 3304 | wait(1) | |
| 3305 | hum.Health = math.huge | |
| 3306 | local p = game.Players.LocalPlayer | |
| 3307 | local char = p.Character | |
| 3308 | z = Instance.new("Sound", char)
| |
| 3309 | - | z.SoundId = "rbxassetid://620889412" |
| 3309 | + | z.SoundId = "rbxassetid://2062834431" |
| 3310 | z.Pitch = 1 | |
| 3311 | z.Volume = 4 | |
| 3312 | z.Looped = true | |
| 3313 | wait(.1) | |
| 3314 | z:Play() | |
| 3315 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 3316 | ||
| 3317 | wait(.1) | |
| 3318 | aura1.Texture = "http://www.roblox.com/asset/?id=544954623" | |
| 3319 | wait(.1) | |
| 3320 | aura1.Texture = "http://www.roblox.com/asset/?id=544954793" | |
| 3321 | wait(.1) | |
| 3322 | aura1.Texture = "http://www.roblox.com/asset/?id=544955381" | |
| 3323 | wait(.1) | |
| 3324 | aura1.Texture = "http://www.roblox.com/asset/?id=544955720" | |
| 3325 | ||
| 3326 | ||
| 3327 | end) | |
| 3328 | while true do --Loop | |
| 3329 | wait(0.04) | |
| 3330 | part2.Texture = "http://www.roblox.com/asset/?id=894173257" | |
| 3331 | wait(0.04) | |
| 3332 | part2.Texture = "http://www.roblox.com/asset/?id=894173392" | |
| 3333 | wait(0.04) | |
| 3334 | part2.Texture = "http://www.roblox.com/asset/?id=890403068" | |
| 3335 | wait(0.04) | |
| 3336 | part2.Texture = "http://www.roblox.com/asset/?id=890403512" | |
| 3337 | ||
| 3338 | end |