Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player=game:GetService("Players").LocalPlayer
- Character=Player.Character
- PlayerGui=Player.PlayerGui
- Backpack=Player.Backpack
- Torso=Character.Torso
- Head=Character.Head
- Humanoid=Character.Humanoid
- m=Instance.new('Model',Character)
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- LS=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RS=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- Face = Head.face
- Neck=Torso.Neck
- it=Instance.new
- attacktype=1
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- cloaked=false
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
- LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
- RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
- RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
- RootPart=Character.HumanoidRootPart
- RootJoint=RootPart.RootJoint
- RootCF=euler(-1.57,0,3.14)
- attack = false
- attackdebounce = false
- deb=false
- equipped=true
- hand=false
- MMouse=nil
- combo=0
- mana=0
- trispeed=1
- pathtrans=.7
- attackmode='none'
- local idle=0
- local Anim="Idle"
- local Effects={}
- local gun=false
- local shoot=false
- player=nil
- cloak=false
- mouse=Player:GetMouse()
- --save shoulders
- RSH, LSH=nil, nil
- --welds
- RW, LW=Instance.new("Weld"), Instance.new("Weld")
- RW.Name="Right Shoulder" LW.Name="Left Shoulder"
- LH=Torso["Left Hip"]
- RH=Torso["Right Hip"]
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- player=Player
- ch=Character
- RSH=ch.Torso["Right Shoulder"]
- LSH=ch.Torso["Left Shoulder"]
- --
- RSH.Parent=nil
- LSH.Parent=nil
- --
- RW.Name="Right Shoulder"
- RW.Part0=ch.Torso
- RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
- RW.C1=cf(0, 0.5, 0)
- RW.Part1=ch["Right Arm"]
- RW.Parent=ch.Torso
- --
- LW.Name="Left Shoulder"
- LW.Part0=ch.Torso
- LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
- LW.C1=cf(0, 0.5, 0)
- LW.Part1=ch["Left Arm"]
- LW.Parent=ch.Torso
- function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=brickcolor
- fp.Name=name
- fp.Size=size
- fp.Position=Torso.Position
- NoOutline(fp)
- fp.Material="Neon"
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- if meshid~="nil" then
- mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
- end
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- return weld
- end
- local Color1=Torso.BrickColor
- local bodvel=Instance.new("BodyVelocity")
- local bg=Instance.new("BodyGyro")
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Stepped:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Stepped:wait(0)
- end
- end
- end
- so = function(id,par,vol,pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound",par or workspace)
- sou.Volume=vol
- sou.Pitch=pit or 1
- sou.SoundId=id
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou,6)
- end))
- end
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
- --http://www.roblox.com/asset/?id=4770560
- game:GetService("Debris"):AddItem(prt,2)
- CF=prt.CFrame
- coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
- for i=0,1,0.2 do
- wait()
- Part.CFrame=CF*cf(0,0,-0.4)
- end
- for i=0,1,delay do
- wait()
- --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
- Mesh.Scale=Mesh.Scale
- end
- for i=0,1,0.1 do
- wait()
- Part.Transparency=i
- end
- Part.Parent=nil
- end),prt,msh,CF)
- end
- function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=false
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- local wld=weld(prt,prt,Parent,cframe)
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
- for i=0,1,delay do
- wait()
- Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
- --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh,wld)
- end
- function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=false
- prt.CFrame=cframe
- msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
- for i=0,1,delay do
- wait()
- Weld.C0=euler(i*20,0,0)
- --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh,wld)
- end
- function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt2.Anchored=true
- prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
- game:GetService("Debris"):AddItem(prt2,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,0.1 do
- wait()
- Part.CFrame=Part.CFrame*cf(0,0.5,0)
- end
- Part.Parent=nil
- end),prt2,msh2)
- end
- for i=0,1,delay*2 do
- wait()
- Part.CFrame=Part.CFrame
- Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*euler(x2,y2,z2)
- --"http://www.roblox.com/asset/?id=168892465"
- local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,0.03 do
- wait()
- Part.CFrame=Part.CFrame
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function BreakEffect(brickcolor,cframe,x1,y1,z1)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
- CF=Part.CFrame
- Numbb=0
- randnumb=math.random()/10
- rand1=math.random()/10
- for i=0,1,rand1 do
- wait()
- CF=CF*cf(0,math.random()/2,0)
- --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
- Part.CFrame=CF*euler(Numbb,0,0)
- Part.Transparency=i
- Numbb=Numbb+randnumb
- end
- Part.Parent=nil
- end),prt,CF,Numbb,randnumb)
- end
- function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame*euler(0,0.7,0)
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame*cf(0,y3/2,0)
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe*cf(x,y,z)
- msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
- local num=math.random()
- local num2=math.random(-3,2)+math.random()
- local numm=0
- for i=0,1,delay*2 do
- swait()
- Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
- Part.Transparency=i
- numm=numm+0.01
- end
- Part.Parent=nil
- Mesh.Parent=nil
- end),prt,msh,x,y,z)
- end
- Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h=v
- end
- end
- if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
- h=hit.Parent.Parent:FindFirstChild("Humanoid")
- end
- if hit.Parent.className=="Hat" then
- hit=hit.Parent.Parent:findFirstChild("Head")
- end
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- -- hs(hit,1.2)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game:service("Players").LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- Damage=math.random(minim,maxim)
- -- h:TakeDamage(Damage)
- blocked=false
- block=hit.Parent:findFirstChild("Block")
- if block~=nil then
- print(block.className)
- if block.className=="NumberValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock==nil then
- block.Value=block.Value-1
- end
- end
- end
- if block.className=="IntValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock~=nil then
- block.Value=block.Value-1
- end
- end
- end
- end
- if blocked==false then
- -- h:TakeDamage(Damage)
- h.Health=h.Health-Damage
- showDamage(hit.Parent,Damage,145689,"Bright blue")
- else
- h.Health=h.Health-(Damage/145689)
- showDamage(hit.Parent,Damage/145689,BrickColor.new("Bright blue"))
- end
- if Type=="Knockdown" then
- hum=hit.Parent.Humanoid
- hum.PlatformStand=true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand=false
- end),hum)
- local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
- --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- local bodvol=Instance.new("BodyVelocity")
- bodvol.velocity=angle*knockback
- bodvol.P=5000
- bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodvol.Parent=hit
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(bodvol,.5)
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Normal" then
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.5)
- elseif Type=="Up" then
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=vt(0,10,0)
- bodyVelocity.P=1000
- bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,1)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Snare" then
- bp=Instance.new("BodyPosition")
- bp.P=2000
- bp.D=100
- bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- bp.position=hit.Parent.Torso.Position
- bp.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(bp,1)
- elseif Type=="Target" then
- if Targetting==false then
- ZTarget=hit.Parent.Torso
- coroutine.resume(coroutine.create(function(Part)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- swait(5)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- end),ZTarget)
- TargHum=ZTarget.Parent:findFirstChild("Humanoid")
- targetgui=Instance.new("BillboardGui")
- targetgui.Parent=ZTarget
- targetgui.Size=UDim2.new(10,100,10,100)
- targ=Instance.new("ImageLabel")
- targ.Parent=targetgui
- targ.BackgroundTransparency=1
- targ.Image="rbxassetid://4834067"
- targ.Size=UDim2.new(1,0,1,0)
- cam.CameraType="Scriptable"
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- Targetting=true
- RocketTarget=ZTarget
- for i=1,Property do
- --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
- if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
- swait()
- end
- --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
- end
- Targetting=false
- RocketTarget=nil
- targetgui.Parent=nil
- cam.CameraType="Custom"
- end
- end
- debounce=Instance.new("BoolValue")
- debounce.Name="DebounceHit"
- debounce.Parent=hit.Parent
- debounce.Value=true
- game:GetService("Debris"):AddItem(debounce,Delay)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- CRIT=false
- hitDeb=true
- AttackPos=6
- end
- end
- showDamage=function(Char,Dealt,du,Color)
- m=Instance.new("Model")
- m.Name=tostring(Dealt)
- h=Instance.new("Humanoid")
- h.Health=0
- h.MaxHealth=0
- h.Parent=m
- c=Instance.new("Part")
- c.Transparency=0
- c.BrickColor="Bright blue"
- c.Name="Head"
- c.TopSurface=0
- c.BottomSurface=0
- c.formFactor="Plate"
- c.Size=Vector3.new(1,.4,1)
- ms=Instance.new("CylinderMesh")
- ms.Scale=Vector3.new(.8,.8,.8)
- so("http://www.roblox.com/asset/?id=199149269",c,1,1)
- if CRIT==true then
- ms.Scale=Vector3.new(1,1.25,1)
- end
- ms.Parent=c
- c.Reflectance=0
- Instance.new("BodyGyro").Parent=c
- c.Parent=m
- if Char:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
- elseif Char.Parent:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
- end
- f=Instance.new("BodyPosition")
- f.P=2000
- f.D=100
- f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- f.position=c.Position+Vector3.new(0,3,0)
- f.Parent=c
- game:GetService("Debris"):AddItem(m,.5+du)
- c.CanCollide=false
- m.Parent=workspace
- c.CanCollide=false
- end
- Player=game:GetService('Players').LocalPlayer
- Character=Player.Character
- Mouse=Player:GetMouse()
- m=Instance.new('Model',Character)
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- it=Instance.new
- function nooutline(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=BrickColor.new(tostring(brickcolor))
- fp.Name=name
- fp.Size=size
- fp.Position=Character.Torso.Position
- nooutline(fp)
- fp.Material=material
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- mesh.MeshId=meshid
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0,c1)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- weld.C1=c1
- return weld
- end
- local modelzorz=Instance.new("Model")
- modelzorz.Parent=Character
- modelzorz.Name="Claw1"
- Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright blue","Handle",Vector3.new(1.20000005, 1.20000005, 1))
- Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963))
- mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright blue","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright blue","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright blue","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
- Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086))
- mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright blue","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright blue","Part",Vector3.new(1, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
- local moosick = it("Sound",Torso)
- moosick.SoundId = "rbxassetid://142653441"
- --142653441, 175067863
- moosick.Looped = true
- moosick.Pitch = 1
- moosick.Volume = 1
- moosick:Play()
- local particleemitter = Instance.new("ParticleEmitter", Handle)
- particleemitter.VelocitySpread = 180
- particleemitter.Lifetime = NumberRange.new(0.1)
- particleemitter.Speed = NumberRange.new(2)
- particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
- particleemitter.RotSpeed = NumberRange.new(-45, 45)
- particleemitter.Rate = 100
- particleemitter.Rotation = NumberRange.new(-45, 45)
- particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
- particleemitter.LightEmission = 0
- particleemitter.Texture="http://www.roblox.com/asset/?id=242292288"
- particleemitter.Color = ColorSequence.new(Color3.new(255,255,255), Color3.new(0, 0, 0))
- Player=game:GetService("Players").LocalPlayer
- Character=Player.Character
- PlayerGui=Player.PlayerGui
- Backpack=Player.Backpack
- Torso=Character.Torso
- Head=Character.Head
- Humanoid=Character.Humanoid
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- LS=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RS=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- Face = Head.face
- Neck=Torso.Neck
- it=Instance.new
- attacktype=1
- vt=Vector3.new
- cf=CFrame.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- cloaked=false
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
- LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
- RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
- RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
- RootPart=Character.HumanoidRootPart
- RootJoint=RootPart.RootJoint
- RootCF=euler(-1.57,0,3.14)
- attack = false
- attackdebounce = false
- deb=false
- equipped=true
- hand=false
- MMouse=nil
- combo=0
- mana=0
- trispeed=.2
- attackmode='none'
- local idle=0
- local Anim="Idle"
- local Effects={}
- local gun=false
- local shoot=false
- player=nil
- mana=0
- cam = workspace.CurrentCamera
- ZTarget = nil
- RocketTarget = nil
- local m = Instance.new("Model",Character)
- m.Name = "WeaponModel"
- mouse=Player:GetMouse()
- --save shoulders
- RSH, LSH=nil, nil
- --welds
- RW, LW=Instance.new("Weld"), Instance.new("Weld")
- RW.Name="Right Shoulder" LW.Name="Left Shoulder"
- LH=Torso["Left Hip"]
- RH=Torso["Right Hip"]
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- player=Player
- ch=Character
- RSH=ch.Torso["Right Shoulder"]
- LSH=ch.Torso["Left Shoulder"]
- --
- RSH.Parent=nil
- LSH.Parent=nil
- --
- RW.Name="Right Shoulder"
- RW.Part0=ch.Torso
- RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
- RW.C1=cf(0, 0.5, 0)
- RW.Part1=ch["Right Arm"]
- RW.Parent=ch.Torso
- --
- LW.Name="Left Shoulder"
- LW.Part0=ch.Torso
- LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
- LW.C1=cf(0, 0.5, 0)
- LW.Part1=ch["Left Arm"]
- LW.Parent=ch.Torso
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Heartbeat:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Heartbeat:wait(0)
- end
- end
- end
- function nooutline(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=BrickColor.new(tostring(brickcolor))
- fp.Name=name
- fp.Size=size
- fp.Position=Character.Torso.Position
- nooutline(fp)
- fp.Material=material
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- mesh.MeshId=meshid
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0,c1)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- weld.C1=c1
- return weld
- end
- local function CFrameFromTopBack(at, top, back)
- local right = top:Cross(back)
- return CFrame.new(at.x, at.y, at.z,
- right.x, top.x, back.x,
- right.y, top.y, back.y,
- right.z, top.z, back.z)
- end
- function Triangle(a, b, c)
- local edg1 = (c-a):Dot((b-a).unit)
- local edg2 = (a-b):Dot((c-b).unit)
- local edg3 = (b-c):Dot((a-c).unit)
- if edg1 <= (b-a).magnitude and edg1 >= 0 then
- a, b, c = a, b, c
- elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
- a, b, c = b, c, a
- elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
- a, b, c = c, a, b
- else
- assert(false, "unreachable")
- end
- local len1 = (c-a):Dot((b-a).unit)
- local len2 = (b-a).magnitude - len1
- local width = (a + (b-a).unit*len1 - c).magnitude
- local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
- local list = {}
- local TrailColor = ("Dark grey")
- if len1 > 0.01 then
- local w1 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w1,5)
- w1.Material = "SmoothPlastic"
- w1.FormFactor = 'Custom'
- w1.BrickColor = BrickColor.new(TrailColor)
- w1.Transparency = 0
- w1.Reflectance = 0
- w1.Material = "SmoothPlastic"
- w1.CanCollide = false
- NoOutline(w1)
- local sz = Vector3.new(0.2, width, len1)
- w1.Size = sz
- local sp = Instance.new("SpecialMesh",w1)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
- w1:BreakJoints()
- w1.Anchored = true
- w1.Parent = workspace
- w1.Transparency = 0.7
- table.insert(Effects,{w1,"Disappear",.01})
- w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
- table.insert(list,w1)
- end
- if len2 > 0.01 then
- local w2 = Instance.new('WedgePart', m)
- game:GetService("Debris"):AddItem(w2,5)
- w2.Material = "SmoothPlastic"
- w2.FormFactor = 'Custom'
- w2.BrickColor = BrickColor.new(TrailColor)
- w2.Transparency = 0
- w2.Reflectance = 0
- w2.Material = "SmoothPlastic"
- w2.CanCollide = false
- NoOutline(w2)
- local sz = Vector3.new(0.2, width, len2)
- w2.Size = sz
- local sp = Instance.new("SpecialMesh",w2)
- sp.MeshType = "Wedge"
- sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
- w2:BreakJoints()
- w2.Anchored = true
- w2.Parent = workspace
- w2.Transparency = 0.7
- table.insert(Effects,{w2,"Disappear",.01})
- w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
- table.insert(list,w2)
- end
- return unpack(list)
- end
- so = function(id,par,vol,pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound",par or workspace)
- sou.Volume=vol
- sou.Pitch=pit or 1
- sou.SoundId=id
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou,6)
- end))
- end
- function clerp(a,b,t)
- local qa = {QuaternionFromCFrame(a)}
- local qb = {QuaternionFromCFrame(b)}
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1-t
- return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5/s
- return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00-m11-m22+1)
- local recip = 0.5/s
- return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
- elseif i == 1 then
- local s = math.sqrt(m11-m22-m00+1)
- local recip = 0.5/s
- return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
- elseif i == 2 then
- local s = math.sqrt(m22-m00-m11+1)
- local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w*xs, w*ys, w*zs
- local xx = x*xs
- local xy = x*ys
- local xz = x*zs
- local yy = y*ys
- local yz = y*zs
- local zz = z*zs
- return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((1-t)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = 1-t
- finishInterp = t
- end
- else
- if (1+cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1/math.sin(theta)
- startInterp = math.sin((t-1)*theta)*invSinTheta
- finishInterp = math.sin(t*theta)*invSinTheta
- else
- startInterp = t-1
- finishInterp = t
- end
- end
- return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
- end
- function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
- if hit.Parent==nil then
- return
- end
- local h=hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h=v
- end
- end
- if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
- h=hit.Parent.Parent:FindFirstChild("Humanoid")
- end
- if hit.Parent.className=="Hat" then
- hit=hit.Parent.Parent:findFirstChild("Head")
- end
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- -- hs(hit,1.2)
- local c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game:service("Players").LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- local Damage=math.random(minim,maxim)
- -- h:TakeDamage(Damage)
- local blocked=false
- local block=hit.Parent:findFirstChild("Block")
- if block~=nil then
- print(block.className)
- if block.className=="NumberValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock==nil then
- block.Value=block.Value-1
- end
- end
- end
- if block.className=="IntValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock~=nil then
- block.Value=block.Value-1
- end
- end
- end
- end
- if blocked==false then
- -- h:TakeDamage(Damage)
- h.Health=h.Health-Damage
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
- else
- h.Health=h.Health-(Damage/2)
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
- end
- if Type=="Knockdown" then
- local hum=hit.Parent.Humanoid
- hum.PlatformStand=true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand=false
- end),hum)
- local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
- --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- local bodvol=Instance.new("BodyVelocity")
- bodvol.velocity=angle*knockback
- bodvol.P=5000
- bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodvol.Parent=hit
- local rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(bodvol,.5)
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Normal" then
- local vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.5)
- elseif Type=="Up" then
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=vt(0,60,0)
- bodyVelocity.P=5000
- bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,1)
- local rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Snare" then
- local bp=Instance.new("BodyPosition")
- bp.P=2000
- bp.D=100
- bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- bp.position=hit.Parent.Torso.Position
- bp.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(bp,1)
- elseif Type=="Target" then
- local Targetting = false
- if Targetting==false then
- ZTarget=hit.Parent.Torso
- coroutine.resume(coroutine.create(function(Part)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- swait(5)
- so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
- end),ZTarget)
- local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
- local targetgui=Instance.new("BillboardGui")
- targetgui.Parent=ZTarget
- targetgui.Size=UDim2.new(10,100,10,100)
- local targ=Instance.new("ImageLabel")
- targ.Parent=targetgui
- targ.BackgroundTransparency=1
- targ.Image="rbxassetid://4834067"
- targ.Size=UDim2.new(1,0,1,0)
- cam.CameraType="Scriptable"
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- Targetting=true
- RocketTarget=ZTarget
- for i=1,Property do
- --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
- if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
- swait()
- end
- --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
- end
- Targetting=false
- RocketTarget=nil
- targetgui.Parent=nil
- cam.CameraType="Custom"
- end
- end
- local debounce=Instance.new("BoolValue")
- debounce.Name="DebounceHit"
- debounce.Parent=hit.Parent
- debounce.Value=true
- game:GetService("Debris"):AddItem(debounce,Delay)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- end
- end
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 0))
- local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
- EffectPart.Anchored = true
- local BillboardGui = Instance.new("BillboardGui")
- BillboardGui.Size = UDim2.new(3, 0, 3, 0)
- BillboardGui.Adornee = EffectPart
- local TextLabel = Instance.new("TextLabel")
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(1, 0, 1, 0)
- TextLabel.Text = Text
- TextLabel.TextColor3 = Color
- TextLabel.TextScaled = true
- TextLabel.Font = Enum.Font.ArialBold
- TextLabel.Parent = BillboardGui
- BillboardGui.Parent = EffectPart
- game.Debris:AddItem(EffectPart, (Time + 0.1))
- EffectPart.Parent = game:GetService("Workspace")
- Delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- --example: local con = HitboxB.Touched:connect(function(hit) Damagefunc(Hitbox,hit,Dmg,Dmg,math.random(Knockback,Knockback),"Normal",RootPart,.2,1) end)
- Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Really black","Handle",Vector3.new(1, 0.800000012, 1))
- Handleweld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.96453857e-005, 0.000481128693, -1.83582306e-005, 1, 1.92410751e-014, -4.42007258e-005, -1.93349195e-014, 0.999999881, -2.12312026e-012, 4.42007258e-005, 2.12312091e-012, 1))
- Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Really black","Hitbox",Vector3.new(1.60000002, 3.4000001, 1))
- Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300050735, 0.100232601, 3.57627869e-007, 1, 1.06558363e-014, -4.67116479e-009, -1.06558363e-014, 1, -7.35089073e-017, 4.67116479e-009, 7.35089073e-017, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(1, 0.200000003, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(8.20159912e-005, 1.10002291, 1.57356262e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254525e-014, 0.999996662, -2.14035647e-012, -4.41999473e-005, 2.14036427e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, -0.699694633, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, -0.699361324, -0.40998435, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409914017, 0.000346660614, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409914017, 0.700180769, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.000400543213, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410078049, 0.000326633453, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.000392436981, -0.40998435, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.700207949, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410078049, -0.699380398, 1.56164169e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.4100914, 0.700154781, 1.57356262e-005, 1, -1.93349195e-014, 4.42007258e-005, 1.92409124e-014, 0.999991417, 2.12310291e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.700230837, -0.40998435, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(0.400000006, 2, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699924469, 4.14848328e-005, 2.16960907e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(1, 1.39999998, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.57356262e-005, -0.299851894, 0.999885559, -4.41999473e-005, -5.95854743e-008, 1, -2.60350986e-012, 1, 5.95854743e-008, -1, 3.01648321e-014, -4.41999473e-005))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(1, 0.600000024, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.57356262e-005, -0.700007677, 0.999902725, 4.41999473e-005, -2.13950775e-012, -1, -2.65373322e-014, -1, 2.13950667e-012, -1, 2.64427677e-014, -4.41999473e-005))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.848457336, -0.300411701, -0.141453743, 0.707042813, -1.50516166e-012, -0.707170904, 1.1783393e-014, 1, -2.11664583e-012, 0.707170904, 1.48822632e-012, 0.707042813))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.6998806, -0.499980569, -0.399654627, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.995999992))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699882507, 0.500019133, 1.00034523, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.560000002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699882507, 0.500019133, -0.399654627, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.995999992))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409921646, -0.699380398, 1.57356262e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(1, 0.200000003, 0.400000006))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.56164169e-005, -1.10002637, 0.699918747, 4.41999473e-005, -2.14036427e-012, -1, -1.23254932e-014, -1, 2.14036362e-012, -1, 1.22308889e-014, -4.41999473e-005))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(1, 0.200000003, 0.200000003))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.16960907e-005, -0.599924088, 1.49999762, 4.41999473e-005, -2.14036427e-012, -1, 1, -1.22308889e-014, 4.41999473e-005, -1.23254932e-014, -1, 2.14036362e-012))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.141283035, -0.300261259, -0.848459244, 0.707067847, -1.51049073e-012, -0.70714587, 1.20093924e-014, 1, -2.12403055e-012, 0.70714587, 1.49334115e-012, 0.707067847))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.6998806, -0.499980569, 1.00034523, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.403999984, 0.399999976, 0.560000002))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(1, 0.200000003, 0.400000006))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.16960907e-005, -0.79992485, 1.19999647, 4.41999473e-005, -2.14036427e-012, -1, 0.999999821, 2.980231e-008, 4.419994e-005, 2.980231e-008, -0.999999821, 3.45762416e-012))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 1))
- Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599924088, -1.19995832, 2.16960907e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
- Finger1Connector=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Bright blue","Finger1Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Finger1Connectorweld=weld(m,Handle,Finger1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399971008, 1.29990399, 0.200015664, 1, 1.78782017e-007, 4.41999473e-005, -1.7878321e-007, 0.999993324, -1.00110302e-011, -4.41999473e-005, 2.10883698e-012, 1))
- Finger2Connector=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Bright blue","Finger2Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Finger2Connectorweld=weld(m,Handle,Finger2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399934769, 1.29982674, 0.400015712, 1, 2.97982776e-008, 4.41999473e-005, -2.97984766e-008, 0.999993324, -3.43642345e-012, -4.41999473e-005, 2.11934723e-012, 1))
- Finger3Connector=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Bright blue","Finger3Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Finger3Connectorweld=weld(m,Handle,Finger3Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399934769, 1.29971194, 0.140015721, 1, 8.93768473e-008, 4.421228e-005, -8.93774441e-008, 0.999993324, -1.82566007e-012, -4.421228e-005, -2.12587717e-012, 1))
- Finger4Connector=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Bright blue","Finger4Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Finger4Connectorweld=weld(m,Handle,Finger4Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399930954, 1.29973722, -0.119984269, 1, 8.93806842e-008, 4.421228e-005, -8.9381281e-008, 0.999993324, -1.82601091e-012, -4.421228e-005, -2.12569589e-012, 1))
- Finger5Connector=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Bright blue","Finger5Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Finger5Connectorweld=weld(m,Handle,Finger5Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399984121, -1.29981911, -0.399932861, -4.41701486e-005, 5.95858012e-008, 1, 4.58027785e-008, -0.999993324, 5.95882241e-008, 1, 4.58051019e-008, 4.41701486e-005))
- Finger1=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Bright blue","Finger1",Vector3.new(0.200000003, 0.400000006, 0.200000003))
- Finger1weld=weld(m,Finger1Connector,Finger1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, 0.100007057, 0, 1, 2.06483719e-011, -5.55111512e-017, -2.54232191e-011, 0.999986649, 4.50594423e-016, 5.55111512e-017, -4.49727061e-016, 1))
- Finger2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Bright blue","Finger2",Vector3.new(0.200000003, 0.600000024, 0.200000003))
- Finger2weld=weld(m,Finger2Connector,Finger2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.199999213, 1.1920929e-007, 1, 8.77520279e-013, 0, -1.67332814e-012, 0.999986649, 1.50920942e-016, 0, -1.50053581e-016, 1))
- Finger3=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Bright blue","Finger3",Vector3.new(0.200000003, 0.600000024, 0.200000003))
- Finger3weld=weld(m,Finger3Connector,Finger3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.200001121, 1.1920929e-007, 1, 2.64321898e-012, -4.35207426e-013, -5.03064257e-012, 0.999986649, -1.23739232e-016, 4.35207426e-013, 2.38535383e-016, 1))
- Finger4=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Bright blue","Finger4",Vector3.new(0.200000003, 0.600000024, 0.200000003))
- Finger4weld=weld(m,Finger4Connector,Finger4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.199998736, 1.1920929e-007, 1, 2.64321898e-012, -4.35207426e-013, -5.03064257e-012, 0.999986649, -1.23732138e-016, 4.35207426e-013, 2.38539513e-016, 1))
- Finger5=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Bright blue","Finger5",Vector3.new(0.200000003, 0.600000024, 0.200000003))
- Finger5weld=weld(m,Finger5Connector,Finger5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.38418579e-007, -0.199927688, 9.53674316e-006, 1, -3.86535248e-012, -7.77482967e-010, 5.45696821e-012, 0.999986649, -1.35540613e-012, 7.77477638e-010, 2.57749442e-012, 1))
- function FuckYou()
- attack = true
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-170)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- end
- for i = 0,1,0.01 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-150)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- end
- attack = false
- end
- function attackone()
- attack = true
- local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,145689,math.random(145689,145689),"Normal",RootPart,.2,1) end)
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(70)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- end
- so("http://roblox.com/asset/?id=200632136",Hitbox,1,.9)
- so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-70)),.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.5) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(-20)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-20),math.rad(0),math.rad(-20)),.3)
- end
- attack = false
- con:disconnect()
- end
- function attacktwo()
- attack = true
- local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,145689,math.random(145689,145689),"Normal",RootPart,.2,1) end)
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(0), math.rad(150), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(-90)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
- end
- so("http://roblox.com/asset/?id=200632211",Hitbox,1,.9)
- so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(70)),.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
- end
- attack = false
- con:disconnect()
- end
- function attackthree()
- attack = true
- local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,145689,math.random(145689,145689),"Normal",RootPart,.2,1) end)
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(-90)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- end
- so("http://roblox.com/asset/?id=200632136",Hitbox,1,.8)
- so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(90)),.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.4)
- RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(90), math.rad(0), math.rad(-40*i)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- end
- attack = false
- con:disconnect()
- end
- function weld5(part0, part1, c0, c1)
- local weeld=Instance.new("Weld", part0)
- weeld.Part0=part0
- weeld.Part1=part1
- weeld.C0=c0
- weeld.C1=c1
- return weeld
- end
- function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,"Neon",0.5,0,brickcolor,"Effect",vt())
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,2)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- local wld=nil
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,"Neon",0.5,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- coroutine.resume(coroutine.create(function(Part,Mesh)
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)
- end
- local Grab = false
- function MagniDamage(Hit,Part,magni,mindam,maxdam,knock,Type)
- for _,c in pairs(workspace:children()) do
- local hum=c:findFirstChild("Humanoid")
- if hum~=nil then
- local head=c:findFirstChild("Torso")
- if head~=nil then
- local targ=head.Position-Part.Position
- local mag=targ.magnitude
- if mag<=magni and c.Name~=Player.Name then
- Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
- end
- end
- end
- end
- end
- function MagniDamage2(Hit,Part,magni,mindam,maxdam,knock,Type)
- for _,c in pairs(workspace:children()) do
- local hum=c:findFirstChild("Humanoid")
- if hum~=nil then
- local head=c:findFirstChild("Torso")
- if head~=nil then
- local targ=head.Position-Part.Position
- local mag=targ.magnitude
- if mag<=magni and c.Name~=Player.Name then
- Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
- for i,v in pairs (hum.Parent:GetChildren()) do
- if v:IsA("Humanoid") then
- v:remove()
- end
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Really black")
- v.Reflectance = 0.5
- v.Material = "SmoothPlastic"
- v.CanCollide = true
- end
- end
- end
- end
- end
- end
- end
- function GrabNSlam()
- attack = true
- so("http://roblox.com/asset/?id=200632211",Hitbox,1,.9)
- if Grab == false then
- gp = nil
- con1=Hitbox.Touched:connect(function(hit) -- credits to TheDarkRevenant for the grabbing
- local ht = hit.Parent
- local hum1=ht:FindFirstChild('Humanoid')
- if hum1 ~= nil then
- hum1.PlatformStand=true
- gp = ht
- Grab = true
- local asd=weld5(RightArm,ht:FindFirstChild("Torso"),CFrame.new(0,-1.7,0),CFrame.new(0,0,0))
- asd.Parent = RightArm
- asd.Name = "asd"
- asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
- so("http://roblox.com/asset/?id=200632821",Torso,1,.9)
- for i,v in pairs (gp:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Really black")
- v.Reflectance = 0.5
- v.Material = "SmoothPlastic"
- end
- end
- elseif hum1 == nil then
- con1:disconnect()
- wait() return
- end
- end)
- end
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
- end
- if Grab == true then
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
- end
- so("http://roblox.com/asset/?id=200632875",Torso,1,.9)
- so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
- MagicCircle(BrickColor.new("Really black"),Hitbox.CFrame,5,5,5,6,6,6,0.05)
- MagicRing(BrickColor.new("Really black"),Hitbox.CFrame,5,5,5,6,6,6,0.05)
- MagniDamage(Hitbox,Hitbox,10,30,50,0,"Normal")
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(50),math.rad(0),math.rad(70)),.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-70)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-10),math.rad(0),math.rad(0)),.4)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
- end
- end
- con1:disconnect()
- for i,v in pairs(RightArm:GetChildren()) do
- if v.Name == "asd" and v:IsA("Weld") then
- v:Remove()
- end
- end
- Grab = false
- attack = false
- end
- function BlastEffect(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
- local prt=part(3,workspace,"Neon",0.5,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
- prt.Anchored=true
- prt.CFrame = cframe
- local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
- coroutine.resume(coroutine.create(function()
- for i=0,1,0.05 do
- wait()
- prt.Transparency=i
- msh.Scale=msh.Scale+vt(x2,y2,z2)
- end
- prt.Parent=nil
- end))
- end
- function HammerFist()
- attack = true
- Humanoid.WalkSpeed = 0
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(0)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(-5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- end
- so("http://roblox.com/asset/?id=200632875",Torso,1,.9)
- so("http://roblox.com/asset/?id=263610131",Torso,1,1)
- so("http://roblox.com/asset/?id=263610111",Torso,1,1)
- so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
- MagniDamage(Hitbox,Hitbox,20,20,30,0,"Knockdown")
- local hit,pos=rayCast(Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
- if hit~=nil then
- local ref=part(3,workspace,"Neon",0,1,BrickColor.new("Bright blue"),"Effect",vt())
- ref.Anchored=true
- ref.CFrame=cf(pos)
- game:GetService("Debris"):AddItem(ref,3)
- for i=1,10 do
- local Col=BrickColor.new("Really black")
- local groundpart=part(3,workspace,"SmoothPlastic",0.5,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
- groundpart.Anchored=true
- groundpart.CanCollide=false
- groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- game:GetService("Debris"):AddItem(groundpart,5)
- end
- BlastEffect(BrickColor.new("Bright orange"),cf(pos),1,1,1,.7,.7,.7)
- MagicCircle(BrickColor.new("Really black"),cf(pos),3,3,3,5,5,5,0.05)
- MagniDamage(ref,ref,10,10,20,math.random(10,20),"Knockdown")
- end
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)* angles(math.rad(40),math.rad(0),math.rad(0)),.5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(30),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(0)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,.5,-.2)*angles(math.rad(0),math.rad(90),math.rad(30))*angles(math.rad(2),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-80),math.rad(40))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- end
- attack = false
- Humanoid.WalkSpeed = 16
- end
- function TurnIntoGold()
- attack = true
- so("http://roblox.com/asset/?id=200632211",Hitbox,1,.9)
- if Grab == false then
- gp = nil
- con1=Hitbox.Touched:connect(function(hit) -- credits to TheDarkRevenant for the grabbing
- local ht = hit.Parent
- local hum1=ht:FindFirstChild('Humanoid')
- if hum1 ~= nil then
- hum1.PlatformStand=true
- gp = ht
- Grab = true
- local asd=weld5(RightArm,ht:FindFirstChild("Torso"),CFrame.new(0,-1.7,0),CFrame.new(0,0,0))
- asd.Parent = RightArm
- asd.Name = "asd"
- asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
- so("http://roblox.com/asset/?id=200632821",Torso,1,.9)
- --[[for i,v in pairs (gp:GetChildren()) do
- if v:IsA("Part") then
- v.BrickColor = BrickColor.new("Really black")
- v.Reflectance = 0.5
- v.Material = "SmoothPlastic"
- end
- end]]--
- elseif hum1 == nil then
- con1:disconnect()
- wait() return
- end
- end)
- end
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
- end
- if Grab == true then
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(130), math.rad(0), math.rad(0)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
- end
- so("http://roblox.com/asset/?id=248572927",Torso,1,1)
- so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
- MagniDamage2(Hitbox,Hitbox,5,30,50,0,"Normal")
- MagicCircle(BrickColor.new("Really black"),RightArm.CFrame,3,3,3,5,5,5,0.05)
- BlastEffect(BrickColor.new("Really black"),Torso.CFrame,1,1,1,.7,.7,.7)
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.4)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(130), math.rad(0), math.rad(0)), 0.4)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
- end
- end
- con1:disconnect()
- Grab = false
- attack = false
- for i,v in pairs(RightArm:GetChildren()) do
- if v.Name == "asd" and v:IsA("Weld") then
- v:Remove()
- end
- end
- end
- mouse.Button1Down:connect(function()
- if attack == false and attacktype == 1 then
- attacktype = 2
- attackone()
- elseif attack == false and attacktype == 2 then
- attacktype = 3
- attacktwo()
- elseif attack == false and attacktype == 3 then
- attacktype = 1
- attackthree()
- end
- end)
- mouse.KeyDown:connect(function(k)
- k=k:lower()
- if attack == false and k == 'q' then
- GrabNSlam()
- elseif attack == false and k == 'e' then
- HammerFist()
- elseif attack == false and k == 'r' then
- TurnIntoGold()
- end
- end)
- local sine = 0
- local change = 1
- local val = 0
- local donum = .5
- while true do
- swait()
- sine = sine + change
- local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
- local velderp=RootPart.Velocity.y
- hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
- if equipped==true or equipped==false then
- if attack==false then
- idle=idle+1
- else
- idle=0
- end
- if idle>=500 then
- if attack==false then
- end
- end
- if RootPart.Velocity.y > 1 and hitfloor==nil then
- Anim="Jump"
- if attack==false then
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
- end
- elseif RootPart.Velocity.y < -1 and hitfloor==nil then
- Anim="Fall"
- if attack==false then
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(60)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-60)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
- end
- elseif torvel<1 and hitfloor~=nil then
- Anim="Idle"
- if attack==false then
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-30)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-10)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3)
- end
- elseif torvel>2 and hitfloor~=nil then
- Anim="Walk"
- if attack==false then
- change=3
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10)*math.cos(sine/13), math.rad(0), math.rad(10)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10)*math.cos(sine/13), math.rad(0), math.rad(-10)), 0.3)
- RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5)),.3)
- LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-5)),.3)
- Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
- Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
- Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
- end
- end
- end
- if #Effects>0 then
- for e=1,#Effects do
- if Effects[e]~=nil then
- local Thing=Effects[e]
- if not Thing == nil then
- end
- local Part=Thing[1]
- local Mode=Thing[2]
- local Delay=Thing[3]
- local IncX=Thing[4]
- local IncY=Thing[5]
- local IncZ=Thing[6]
- if Thing[1].Transparency<=1 then
- if Thing[2]=="Block1" then
- Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Cylinder" then
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Blood" then
- Mesh=Thing[7]
- Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
- Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Elec" then
- Mesh=Thing[1].Mesh
- Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- elseif Thing[2]=="Disappear" then
- Thing[1].Transparency=Thing[1].Transparency+Thing[3]
- end
- else
- Part.Parent=nil
- table.remove(Effects,e)
- end
- ---------------------------
- local MaxMana = 5000000 -- Max Mana You Can Get
- local Mana = 5000000 -- Mana You Start With
- local ManaGain = 40000 -- How Much Mana You Gain Per Second
- ---------------------------
- repeat game:GetService('RunService').Stepped:wait() until game:GetService('Players').LocalPlayer.Character
- ----190470714
- ----
- sit = true
- cn = CFrame.new
- v3 = Vector3.new
- c3 = Color3.new
- bn = BrickColor.new
- ca2 = CFrame.Angles
- ca = function(x,y,z) return ca2(math.rad(x),math.rad(y),math.rad(z)) end
- ud2 = UDim2.new
- ----
- ----
- local Player = game:GetService('Players').LocalPlayer
- local Char = Player.Character
- local Human = Char.Humanoid
- local Mouse = Player:GetMouse()
- ----
- Human.WalkSpeed = 0
- print ('Loading...')
- wait(0)
- ----
- ----
- local mananum=0
- la = Char['Left Arm']
- ra = Char['Right Arm']
- ll = Char['Left Leg']
- rl = Char['Right Leg']
- tr = Char['Torso']
- hd = Char['Head']
- rp = Char['HumanoidRootPart']
- ----
- ----
- ram = tr['Right Shoulder']
- lam = tr['Left Shoulder']
- llm = tr['Left Hip']
- rlm = tr['Right Hip']
- hm = tr['Neck']
- rj = rp['RootJoint']
- ----
- ----
- InputService = game:GetService('UserInputService')
- RunService = game:GetService('RunService')
- ----
- ----
- it=Instance.new
- Torso=Char.Torso
- local fengui=it("GuiMain")
- fengui.Parent=Player.PlayerGui
- fengui.Name="WeaponGUI"
- local fenframe=it("Frame")
- fenframe.Parent=fengui
- fenframe.BackgroundColor3=Color3.new(255,255,255)
- fenframe.BackgroundTransparency=1
- fenframe.BorderColor3=Color3.new(17,17,17)
- fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
- fenframe.Position=UDim2.new(0.4,0,0.1,0)
- local fenbarmana1=it("TextLabel")
- fenbarmana1.Parent=fenframe
- fenbarmana1.Text=" "
- fenbarmana1.BackgroundTransparency=0
- fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
- fenbarmana1.SizeConstraint="RelativeXY"
- fenbarmana1.TextXAlignment="Center"
- fenbarmana1.TextYAlignment="Center"
- fenbarmana1.Position=UDim2.new(0,0,0,0)
- fenbarmana1.Size=UDim2.new(4,0,0.2,0)
- local fenbarmana2=it("TextLabel")
- fenbarmana2.Parent=fenframe
- fenbarmana2.Text=" "
- fenbarmana2.BackgroundTransparency=0
- fenbarmana2.BackgroundColor3=Torso.Color
- fenbarmana2.SizeConstraint="RelativeXY"
- fenbarmana2.TextXAlignment="Center"
- fenbarmana2.TextYAlignment="Center"
- fenbarmana2.Position=UDim2.new(0,0,0,0)
- fenbarmana2.Size=UDim2.new(4*Mana/MaxMana,0,0.2,0)
- local fenbarmana3=it("TextLabel")
- fenbarmana3.Parent=fenframe
- fenbarmana3.Text=" "
- fenbarmana3.BackgroundTransparency=0
- fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
- fenbarmana3.SizeConstraint="RelativeXY"
- fenbarmana3.TextXAlignment="Center"
- fenbarmana3.TextYAlignment="Center"
- fenbarmana3.Position=UDim2.new(0,0,0,0)
- fenbarmana3.Size=UDim2.new(0,0,0.2,0)
- local fenbarmana4=it("TextLabel")
- fenbarmana4.Parent=fenframe
- fenbarmana4.Text="Energy("..Mana..")"
- fenbarmana4.BackgroundTransparency=1
- fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
- fenbarmana4.SizeConstraint="RelativeXY"
- fenbarmana4.TextXAlignment="Center"
- fenbarmana4.TextYAlignment="Center"
- fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
- fenbarmana4.Size=UDim2.new(4,0,0.2,0)
- fenbarmana4.FontSize="Size9"
- fenbarmana4.TextStrokeTransparency=0
- fenbarmana4.TextColor=BrickColor.new("White")
- LastMade = nil
- xNew=function(Table)
- local Obj=Instance.new(Table[1])
- for Ind,Val in pairs(Table) do
- if Ind~=1 and Ind~=2 then
- Obj[Ind] = Val
- end
- end
- Obj.Parent=Table[2]
- LastMade= Obj
- return Obj
- end
- xPart=function(tab)
- local v=Instance.new(tab.type or "Part")
- if tab.type~="CornerWedgePart" then v.formFactor="Custom" end
- v.CanCollide=false
- v.TopSurface=10 v.BottomSurface=10 v.RightSurface=10 v.LeftSurface=10 v.FrontSurface=10 v.BackSurface=10
- v.Size=v3(tab[2],tab[3],tab[4])
- if tab.co then v.BrickColor=bn(tab.co) end
- if tab.tr then v.Transparency=tab.tr end
- if tab.rf then v.Reflectance=tab.rf end
- if tab.cf then v.CFrame=tab.cf end
- if tab.an then v.Anchored=tab.an end
- if tab.mt then v.Material=tab.mt end
- if tab.ca then v.CanCollide=tab.ca end
- v.Parent=tab[1]
- LastMade= v
- return v
- end
- xWeld = function(a,b,between,type)
- local Weld = xNew{type or 'Weld',a,Part0 = a,Part1 = b, C0 = cn()}
- if between then
- Weld.C1 = b.CFrame:inverse() * a.CFrame
- else
- Weld.C1 = cn()
- end
- return Weld
- end
- function xSound(id,parent,pitch)
- local s = xNew{'Sound', PlayOnRemove = true, SoundId = 'http://roblox.com/asset/?id='..id,Pitch = pitch}
- s.Parent = parent
- s:Destroy()
- if id == 400832473 then
- s.Looped = true
- s.Name = "Music"
- end
- end
- ----
- xSound(190470714,workspace,1.5)
- ----
- do local function QuaternionFromCFrame(cf) local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() local trace = m00 + m11 + m22 if trace > 0 then local s = math.sqrt(1 + trace) local recip = 0.5/s return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 else local i = 0 if m11 > m00 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00-m11-m22+1) local recip = 0.5/s return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip elseif i == 1 then local s = math.sqrt(m11-m22-m00+1) local recip = 0.5/s return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip elseif i == 2 then local s = math.sqrt(m22-m00-m11+1) local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip end end end local function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w*xs, w*ys, w*zs local xx = x*xs local xy = x*ys local xz = x*zs local yy = y*ys local yz = y*zs local zz = z*zs return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) end local function QuaternionSlerp(a, b, t) local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] local startInterp, finishInterp; if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = math.acos(cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((1-t)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = 1-t finishInterp = t end else if (1+cosTheta) > 0.0001 then local theta = math.acos(-cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((t-1)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = t-1 finishInterp = t end end return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp end function clerp(a,b,t) local qa = {QuaternionFromCFrame(a)} local qb = {QuaternionFromCFrame(b)} local ax, ay, az = a.x, a.y, a.z local bx, by, bz = b.x, b.y, b.z local _t = 1-t return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) end end
- function xlerp(weld,to,tim)
- if weld.C1 ~= to then
- --weld.C1 = clerp(weld.C1,to,tim)
- weld.C1 = weld.C1:lerp(to,tim)
- end
- end
- function lerp(a,b,c)return a+(b-a)*c end
- ----
- ----
- if Char:findFirstChild("Health") then
- Char.Health:Destroy()
- end
- wait(0)
- ----
- --hd.Mesh.Scale = Vector3.new(hd.Mesh.Scale.X * 3,hd.Mesh.Scale.Y * 3,hd.Mesh.Scale.Z * 3)
- ra.Size = ra.Size * 4.5
- la.Size = la.Size * 4.5
- ll.Size = ll.Size * 4.5
- rl.Size = rl.Size * 4.5
- tr.Size = tr.Size * 4.5
- hd.Size = hd.Size * 4.5
- rp.Size = rp.Size * 4.5
- --
- local tw = xWeld(rp,tr)
- tw.C1 = cn(0,0,0)
- local law = xWeld(tr,la)
- law.C0 = cn(-6.5,.7,0)
- law.C1 = cn(0,.7,0)
- local raw = xWeld(tr,ra)
- raw.C0 = cn(6.5,.7,0)
- raw.C1 = cn(0,.7,0)
- local llw = xWeld(tr,ll)
- llw.C0 = cn(-2.5,-6,0)
- llw.C1 = cn(0,3.5,0)
- local rlw = xWeld(tr,rl)
- rlw.C0 = cn(2.5,-6,0)
- rlw.C1 = cn(0,3.5,0)
- local hw = xWeld(tr,hd)
- hw.C1 = cn(0,-6.5,0)
- ras = raw.C1
- las = law.C1
- lls = llw.C1
- rls = rlw.C1
- ts = tw.C1
- hs = hw.C1
- -----
- for _,Part in pairs(Char:GetChildren()) do
- if Part:IsA('BasePart') then
- Part.CustomPhysicalProperties = PhysicalProperties.new(0, .3, .5)
- end
- end
- --------------------------------------------------------
- --------------------------------------------------------
- -----------------------CONSTANTS------------------------
- --------------------------------------------------------
- --------------------------------------------------------
- REGEN_SPEED = 5
- WEAPON_NAME = 'Grandark'
- ----------------------------------------------------
- ----------------------------------------------------
- -----------------------MODEL------------------------
- ----------------------------------------------------
- ----------------------------------------------------
- local Handle
- local Blade
- local haw
- Pack = Instance.new('Model', Char)
- Pack.Name = WEAPON_NAME
- do
- Handle = xPart{Pack,0.54285717, 4.96428585, 1.02857149} Handle.BrickColor = BrickColor.new('Light orange') Handle.Material = Enum.Material.Plastic; haw = xWeld(ra,Handle); LastMade.C1 = ca(90,0,180)*cn(0,3,0) LastMade.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- end
- has = haw.C1
- for _,v in pairs(Pack:GetChildren()) do
- v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0)
- end
- --------------------------------------------------------
- --------------------------------------------------------
- -----------------------VARIABLES------------------------
- --------------------------------------------------------
- --------------------------------------------------------
- State = 'Idle'
- FallTime = 0
- Walk = 0
- WalkReverse = false
- StompDB = false
- JumpDB = false
- --
- function NewHitbox(Radius,Position)
- local Returning = {}
- for _,v in pairs(workspace:GetChildren()) do
- if v~=Char and v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') then
- local Mag = (v.Torso.Position - Position).magnitude
- if Mag < Radius then
- table.insert(Returning,v)
- end
- end
- end
- return Returning
- end
- --
- function UpdateState()
- if (rp.Velocity*v3(1, 0, 1)).magnitude > 5 then
- if State == 'Idle' then State = 'Walking' end
- else
- if State == 'Walking' then State = 'Idle'; end
- end
- if WalkReverse then
- Walk = Walk - .5
- else
- Walk = Walk + .5
- end
- if Walk >= 10 then
- WalkReverse = true
- elseif Walk <= -10 then
- WalkReverse = false
- end
- end
- --
- function JumpExplode()
- local Hit = NewHitbox(35,Char.Torso.Position)
- for _,v in pairs(Hit) do
- v.Humanoid.MaxHealth = 100
- v.Humanoid.Health = v.Humanoid.Health - 1000000000
- if sit then
- v.Humanoid.Sit = true
- end
- end
- xSound('2233908',tr,1)
- coroutine.wrap(function()
- local Explosion = xNew{'Part',Char,Anchored = true,CanCollide = false,FormFactor = 'Custom',BrickColor = bn('Earth green')}
- local Mesh = xNew{'SpecialMesh', Explosion,MeshType = 'FileMesh', MeshId = 'http://www.roblox.com/asset/?id=20329976'}
- Explosion.CFrame = Char.Torso.CFrame * cn(0,-20,0)
- Mesh.Scale = v3(1,7,1)
- repeat
- Mesh.Scale = Mesh.Scale + v3(1,0,1)
- Explosion.Transparency = Explosion.Transparency + .025
- wait()
- until Explosion.Transparency >= 1
- Explosion:Destroy()
- end)()
- end
- --
- function Stomp()
- if State == 'Walking' or State == 'Idle' then
- if StompDB == false then
- StompDB = true
- State = 'Attacking'
- Human.WalkSpeed = 0
- --
- xSound('138186576',Char.Head,1)
- for _=0,1,.05 do
- xlerp(tw,ts,.2)
- xlerp(hw,hs*ca(40,0,0)*cn(0,-1,-1.5),.2)
- xlerp(rlw,rls*ca(20,0,0),.2)
- xlerp(llw,lls*cn(0,-2,1.25),.2)
- xlerp(raw,ras*ca(20,0,-20)*cn(-.5,-.5,0),.2)
- xlerp(law,las*ca(20,0,0),.2)
- wait()
- end
- coroutine.wrap(function()
- local Explosion = xNew{'Part',Char,Anchored = true,CanCollide = false,FormFactor = 'Custom',BrickColor = bn('Earth green')}
- local Mesh = xNew{'SpecialMesh', Explosion,MeshType = 'FileMesh', MeshId = 'http://www.roblox.com/asset/?id=3270017'}
- Explosion.CFrame = rp.CFrame * cn(0,-7,0)*ca(90,0,0)
- Mesh.Scale = v3(5,5,10)
- repeat
- Mesh.Scale = Mesh.Scale + v3(2,2,.5)
- Explosion.Transparency = Explosion.Transparency + .01
- wait()
- until Explosion.Transparency >= 1
- Explosion:Destroy()
- end)()
- coroutine.wrap(function()
- local Already = {}
- for i=1,50,2 do
- wait(.1)
- local Hit = NewHitbox(i*2,Char.Torso.Position)
- for _,v in pairs(Hit) do
- if not Already[v] then
- v.Humanoid.MaxHealth = 100
- v.Humanoid.Health = v.Humanoid.Health - 300000000000
- if sit then
- v.Humanoid.Sit = true
- end
- Already[v] = true
- end
- end
- end
- end)()
- --attack
- for _=0,1,.05 do
- xlerp(tw,ts,.3)
- xlerp(hw,hs*ca(40,0,0)*cn(0,-1,-1.5),.3)
- xlerp(rlw,rls*ca(20,0,0),.3)
- xlerp(llw,lls*cn(0,0,1.25),.3)
- xlerp(raw,ras*ca(20,0,-20)*cn(-.5,-.5,0),.3)
- xlerp(law,las*ca(20,0,0),.3)
- wait()
- end
- State = 'Idle'
- Human.WalkSpeed = 50
- coroutine.wrap(function()
- wait(0)
- StompDB = false
- end)()
- end
- end
- end
- --
- function Charge()
- if State == 'Walking' or State == 'Idle' then
- State = 'Charge'
- for _, controller in pairs(game:GetService("ControllerService"):GetChildren()) do
- controller.Parent = workspace
- end
- local function Exp()
- local Explosion = xNew{'Part',Char,Anchored = true,CanCollide = false,FormFactor = 'Custom',BrickColor = bn('White')}
- local Mesh = xNew{'SpecialMesh', Explosion,MeshType = 'FileMesh', MeshId = 'http://www.roblox.com/asset/?id=20329976'}
- Explosion.CFrame = rp.CFrame * cn(0,0,-15)*ca(70,0,0)
- Mesh.Scale = v3(1,6,1)
- repeat
- Char.Head.Velocity=Char.Head.CFrame.lookVector*100
- Mesh.Scale = Mesh.Scale + v3(1,.5,1)
- Explosion.Transparency = Explosion.Transparency + .05
- wait()
- until Explosion.Transparency >= 1
- Explosion:Destroy()
- end
- coroutine.wrap(function()
- wait(0)
- Human.WalkSpeed = 80
- Char.Head.Velocity=Char.Head.CFrame.lookVector*200
- for _=1, 10 do
- coroutine.wrap(Exp)()
- local Hit = NewHitbox(10,Char.Torso.Position)
- for _,v in pairs(Hit) do
- v.Humanoid.MaxHealth = 100
- v.Humanoid.Health = v.Humanoid.Health - 100000000000
- end
- wait(0)
- xSound('10730819',tr,.8)
- Char.Head.Velocity=Char.Head.CFrame.lookVector*100
- end
- Human.WalkSpeed = 50
- State = 'Idle'
- end)()
- --
- for _=0,1,.05 do
- Char.Head.Velocity=Char.Head.CFrame.lookVector*100
- xlerp(tw,ts*ca(0,-90,0),.4)
- xlerp(hw,hs*ca(0,90,0),.4)
- xlerp(raw,ras*ca(-90,0,-90)*cn(0,-1,0),.4)
- xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.4)
- xlerp(rlw,rls*ca(0,0,10)*cn(1,0,0),.4)
- xlerp(llw,lls*ca(0,0,10)*cn(1,0,0),.4)
- wait()
- end
- --
- end
- end
- function Combo()
- if State == 'Idle' or State == 'Walking' then
- State = 'Attacking'
- Human.WalkSpeed = 3
- for _=0,1,.2 do
- xlerp(tw,ts*ca(0,20,0),.4)
- xlerp(hw,hs*ca(0,30,0),.4)
- xlerp(raw,ras*ca(0,180,-90)*cn(-1,-1,0),.4)
- xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.4)
- xlerp(rlw,rls*ca(20,0,0)*cn(0,0,-1),.4)
- xlerp(llw,lls*cn(0,0,1.25),.4)
- wait()
- end
- local Already = {}
- xSound('231731980',tr,1.3)
- for _=0,1,.1 do
- xlerp(tw,ts*ca(0,-30,0),.4)
- xlerp(hw,hs*ca(0,-50,0),.4)
- xlerp(raw,ras*ca(160,180,-130)*cn(2,-1,1),.4)
- xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.4)
- xlerp(rlw,rls*ca(20,0,0)*cn(0,0,-1),.4)
- xlerp(llw,lls*cn(0,0,1.25),.4)
- xlerp(haw,has*ca(40,0,0),.4)
- wait()
- local Hit = NewHitbox(15,(Blade.CFrame).p)
- for _,v in pairs(Hit) do
- if not Already[v] then
- v.Humanoid.MaxHealth = 100
- v.Humanoid.Health = v.Humanoid.Health - 300000000000
- Already[v] = true
- end
- end
- end
- ----Combo2
- for _=0,1,.2 do
- xlerp(tw,ts*ca(0,-35,0),.4)
- xlerp(haw,has,.4)
- xlerp(hw,hs*ca(0,-30,0),.4)
- xlerp(raw,ras*ca(-120,0,-70)*cn(1,-1,0),.4)
- xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.4)
- xlerp(rlw,rls*ca(20,0,0)*cn(0,0,-1),.4)
- xlerp(llw,lls*cn(0,0,1.25),.4)
- wait()
- end
- xSound('231731980',tr,1)
- local Already = {}
- for _=0,1,.1 do
- xlerp(tw,ts*ca(0,20,0),.4)
- xlerp(hw,hs*ca(0,30,0),.4)
- xlerp(raw,ras*ca(30,0,-90)*cn(0,-1,0),.4)
- xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.4)
- xlerp(rlw,rls*ca(20,0,0)*cn(0,0,-1),.4)
- xlerp(llw,lls*cn(0,0,1.25),.4)
- wait()
- local Hit = NewHitbox(15,(Blade.CFrame).p)
- for _,v in pairs(Hit) do
- if not Already[v] then
- v.Humanoid.MaxHealth = 100
- v.Humanoid.Health = v.Humanoid.Health - 3000000000000
- Already[v] = true
- end
- end
- end
- --Combo 3
- for _=0,1,.1 do
- xlerp(tw,ts,.3)
- xlerp(hw,hs,.3)
- xlerp(haw,has,.3)
- xlerp(raw,ras*ca(-140,0,0)*cn(0,-1.5,0),.3)
- xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.3)
- xlerp(rlw,rls*ca(20,0,0)*cn(0,0,-1),.3)
- xlerp(llw,lls*cn(0,0,1.25),.4)
- wait()
- end
- xSound('231731980',tr,.8)
- local Already = {}
- for _=0,1,.1 do
- xlerp(tw,ts*ca(15,0,0)*cn(0,1.5,0),.4)
- xlerp(hw,hs,.4)
- xlerp(raw,ras*ca(-20,0,0)*cn(0,0,0),.4)
- xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.4)
- xlerp(haw,has*ca(20,0,0),.4)
- wait()
- local Hit = NewHitbox(10,(Blade.CFrame).p)
- for _,v in pairs(Hit) do
- if not Already[v] then
- v.Humanoid.MaxHealth = 100
- v.Humanoid.Health = v.Humanoid.Health - 300000000000
- Already[v] = true
- end
- end
- end
- wait(.2)
- State = 'Idle'
- Human.WalkSpeed = 50
- end
- end
- --
- function SwordSlam()
- if State == 'Walking' or State == 'Idle' then
- State = 'Attacking'
- Human.WalkSpeed = 0
- for _=0,1,.05 do
- xlerp(tw,ts,.2)
- xlerp(hw,hs,.2)
- xlerp(raw,ras*ca(-140,0,0)*cn(0,-1.5,0),.2)
- xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.2)
- xlerp(rlw,rls*ca(20,0,0)*cn(0,0,-1),.2)
- xlerp(llw,lls*cn(0,0,1.25),.2)
- wait()
- end
- coroutine.wrap(function()
- wait()
- xSound('10730819',tr,.5)
- local Explosion = xNew{'Part',Char,Anchored = true,CanCollide = false,FormFactor = 'Custom',BrickColor = bn('dsasda')}
- local Mesh = xNew{'SpecialMesh', Explosion,MeshType = 'FileMesh', MeshId = 'http://www.roblox.com/asset/?id=20329976'}
- Explosion.CFrame = rp.CFrame * cn(0,-5,-20)
- Mesh.Scale = v3(1,5,1)
- repeat
- Mesh.Scale = Mesh.Scale + v3(1,1,1)
- Explosion.Transparency = Explosion.Transparency + .025
- wait()
- until Explosion.Transparency >= 1
- Explosion:Destroy()
- end)()
- for _=0,1,.15 do
- xlerp(tw,ts*ca(15,0,0)*cn(0,1.5,0),.4)
- xlerp(hw,hs,.4)
- xlerp(raw,ras*ca(-20,0,0)*cn(0,0,0),.4)
- xlerp(law,las*ca(0,0,40)*cn(1,-.5,0),.4)
- xlerp(haw,has*ca(20,0,0),.4)
- wait()
- end
- local Hit = NewHitbox(40,(rp.CFrame * cn(0,-5,-20)).p)
- for _,v in pairs(Hit) do
- v.Humanoid.MaxHealth = 100
- v.Humanoid.Health = v.Humanoid.Health - 100000000000
- if sit then
- v.Humanoid.Sit = true
- end
- end
- wait(0)
- State = 'Idle'
- Human.WalkSpeed = 50
- end
- end
- --
- CanBoom = true
- function Fire(Part)
- local Flame = Instance.new("ParticleEmitter",Part)
- Flame.LightEmission = 0.21
- Flame.Size = NumberSequence.new(15)
- Flame.Texture = "http://www.roblox.com/asset/?id=343377229"
- Flame.Transparency = NumberSequence.new(0.5)
- Flame.LockedToPart = true
- Flame.Lifetime = NumberRange.new(0.1,0.8)
- Flame.Rate = 40
- Flame.VelocitySpread = 2
- end
- Mouse.KeyDown:connect(function(key)
- if key == ' ' then
- if State == 'Walking' or State == 'Idle' then
- if JumpDB == false then
- JumpDB = true
- State = 'Jumping'
- Human.Jump = true
- Human.WalkSpeed = 50
- wait(0)
- State = 'Falling'
- coroutine.wrap(function()
- wait(0)
- JumpDB = false
- end)()
- end
- end
- elseif key == 'z' and Mana >= 400 then
- Mana = Mana-400
- Combo()
- elseif key == 'x' and Mana >= 300 then
- Mana = Mana-300
- Charge()
- elseif key == 'c' and Mana >= 250 then
- Mana = Mana-250
- SwordSlam()
- elseif key == 'v' and Mana >= 100 then
- Mana = Mana-100
- Stomp()
- elseif key == "p" and Mana >= 1000 then
- Mana = Mana-1000
- Stomp()
- wait()
- SwordSlam()
- wait()
- Combo()
- wait()
- Combo()
- elseif key == "f" and Mana >= 800 and CanBoom then
- Mana = Mana - 800
- CanBoom = false
- local P = Instance.new("Part",Char)
- P.Name = "Boom"
- P.Anchored = true
- P.Transparency = 1
- Fire(P)
- P.Material = "Neon"
- P.BrickColor = BrickColor.new("Crimson")
- P.TopSurface = "Smooth"
- P.CFrame = Torso.CFrame
- P.CanCollide = false
- xSound(400832473,workspace,0.9)
- function Hit(hit)
- if hit.Parent and hit.Parent:findFirstChild("Humanoid") then
- if hit.Parent:findFirstChild("Torso") and hit.Parent.Name ~= Player.Character.Name and hit.Parent:findFirstChild("Flamed") == nil then
- local Z = Instance.new("StringValue",hit.Parent)
- Z.Name = "Flamed"
- local Torsoo = hit.Parent:findFirstChild("Torso")
- Torsoo.Anchored = true
- for i,v in pairs(hit.Parent:GetChildren()) do
- Fire(v)
- end
- if hit.Parent:findFirstChild("Humanoid") then
- local H = hit.Parent:findFirstChild("Humanoid")
- H.MaxHealth = math.huge
- H.WalkSpeed = 0
- H.JumpPower = 0
- wait()
- Torsoo.Anchored = false
- H:remove()
- if hit.Parent then
- hit.Parent:BreakJoints()
- end
- end
- end
- end
- end
- P.Touched:connect(Hit)
- for i=1,100 do
- wait(0.1)
- P.CFrame = Torso.CFrame
- P.Size = Vector3.new(P.Size.X + 0.5,P.Size.Y + 0.5,P.Size.Z + 0.5)
- P.CFrame = Torso.CFrame
- end
- P:remove()
- wait(0)
- CanBoom = true
- end
- end)
- --
- Human.Changed:connect(function()
- if State ~= 'Jumping' then
- Human.Jump = false
- end
- end)
- Human.FreeFalling:connect(function(a)
- if a then
- if State == 'Walking' or State == 'Idle' then
- State = 'Falling'
- end
- elseif State == 'Jumping' or State == 'Falling' then
- State = 'Idle'
- if FallTime > 10 then
- print('Boom!')
- JumpExplode()
- end
- Human.WalkSpeed = 50
- FallTime = 0
- end
- end)
- --
- wait(0)
- game:GetService('RunService').RenderStepped:connect(function()
- UpdateState()
- if State == 'Jumping' or State == 'Falling' then
- FallTime = FallTime + .1
- xlerp(tw,ts,.3)
- xlerp(hw,hs*ca(40,0,0)*cn(0,-1,-1.5),.2)
- xlerp(raw,ras*ca(0,0,-90)*cn(-1,-1,0),.2)
- xlerp(law,las*ca(0,0,90)*cn(1,-1,0),.2)
- xlerp(rlw,rls*ca(20,0,0),.2)
- xlerp(llw,lls*cn(0,-.5,1.25),.2)
- elseif State == 'Idle' then
- xlerp(tw,ts*ca(0,25,0),.1)
- xlerp(hw,hs*ca(0,-25,0),.1)
- xlerp(raw,ras*ca(20,0,-20)*cn(-.5,-.5,0),.1)
- xlerp(law,las*ca(20,0,0),.1)
- xlerp(rlw,rls*ca(20,0,0)*cn(0,0,-1),.1)
- xlerp(llw,lls*cn(0,0,1.25),.1)
- xlerp(haw,has,.4)
- elseif State == 'Walking' then
- xlerp(tw,ts,.15)
- xlerp(hw,hs,.15)
- --xlerp(law,las*ca(30,0,0),.3)
- --xlerp(raw,ras*ca(20,0,-40)*cn(-1,-.5,0),.15)
- xlerp(raw,ras*ca(20,0,-20)*cn(-.5,-.5,0),.1)
- xlerp(law,las*ca(20,0,0),.1)
- if WalkReverse then
- xlerp(rlw,rls*ca(30,0,0)*cn(0,-1,-1.5),.05)
- xlerp(llw,lls*ca(-30,0,0)*cn(0,-1,1.5),.05)
- else
- xlerp(rlw,rls*ca(-30,0,0)*cn(0,-1,1.5),.05)
- xlerp(llw,lls*ca(30,0,0)*cn(0,-1,-1.5),.05)
- end
- end
- fenbarmana2:TweenSize(UDim2.new(4*Mana/MaxMana,0,0.2,0),nil,1,0.4,true)
- fenbarmana4.Text="[Mana]-> [-> "..Mana.." <-] <-[Mana]"
- if Mana>=MaxMana then
- Mana=MaxMana
- else
- if mananum<=8 then
- mananum=mananum+1
- else
- mananum=0
- Mana=Mana+ManaGain
- Char.Humanoid.Health = Char.Humanoid.Health + 1000
- end
- end
- if Mana <= MaxMana/2 then
- fenbarmana2.BackgroundColor = BrickColor.new("Bright red")
- Char.Humanoid.MaxHealth = 40000
- Human.Health = Human.MaxHealth
- else
- fenbarmana2.BackgroundColor = BrickColor.new("Royal purple")
- Char.Humanoid.MaxHealth = 50000
- Human.Health = Human.MaxHealth
- end
- end)
- --
- Char.Humanoid.WalkSpeed = 50
- Char.Humanoid.JumpPower = 190
- Human.Health = Human.MaxHealth
- ---------------------------------------------------------------ExtraMorphing-------------
- ----------------------------------------------------------------------------------------
- Create = function(itemClass,tabl)
- local item = Instance.new(itemClass)
- for i,v in pairs(tabl) do
- local a,b = ypcall(function() return item[i] end)
- if a then
- item[i] = tabl[i]
- end
- end
- return item
- end
- function runDummyScript(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Create("Model",{
- ["Name"] = "BETA",
- ["Parent"] = mas,
- })
- o2 = Create("Model",{
- ["Name"] = "Chest",
- ["Parent"] = o1,
- })
- o3 = Create("Part",{
- ["Name"] = "Middle",
- ["Parent"] = o2,
- ["Material"] = Enum.Material.Granite,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Position"] = Vector3.new(3923.3938, -4665.64014, -10.7899675),
- ["Rotation"] = Vector3.new(-0, -90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3923.3938, -4665.64014, -10.7899675, 0, 0, -1, 0, 1, 0, 1, 0, 0),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(9.28780556, 9.28781509, 4.6439023),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- })
- o4 = Create("ParticleEmitter",{
- ["Parent"] = o3,
- ["Size"] = NumberSequence.new(1,0.9375,1.7500001192093,0.87499976158142,2.8749995231628,1.25,2.0625,1.1874997615814,2.9375,1.3124996423721,2.8749995231628,5.6875),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Lifetime"] = NumberRange.new(1,1),
- ["Rate"] = 40,
- ["RotSpeed"] = NumberRange.new(30,30),
- ["Speed"] = NumberRange.new(0,0),
- })
- o5 = Create("ParticleEmitter",{
- ["Parent"] = o3,
- ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25),
- ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Lifetime"] = NumberRange.new(2,2),
- ["Rate"] = 30,
- ["RotSpeed"] = NumberRange.new(400,400),
- ["Speed"] = NumberRange.new(3,3),
- })
- o6 = Create("Part",{
- ["Name"] = "Bluesteel Bathelm",
- ["Parent"] = o2,
- ["Material"] = Enum.Material.Concrete,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Position"] = Vector3.new(3923.3938, -4657.74463, -10.8262482),
- ["Rotation"] = Vector3.new(-0, -90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3923.3938, -4657.74463, -10.8262482, 0, 0, -1, 0, 1, 0, 1, 0, 0),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(5.19318867, 3.9473207, 3.94731259),
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- })
- o7 = Create("ParticleEmitter",{
- ["Parent"] = o6,
- ["Size"] = NumberSequence.new(1,0.9375,1.7500001192093,0.87499976158142,2.8749995231628,1.25,2.0625,1.1874997615814,2.9375,1.3124996423721,2.8749995231628,5.6875),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Lifetime"] = NumberRange.new(1,1),
- ["Rate"] = 40,
- ["RotSpeed"] = NumberRange.new(30,30),
- ["Speed"] = NumberRange.new(0,0),
- })
- o8 = Create("ParticleEmitter",{
- ["Parent"] = o6,
- ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25),
- ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Lifetime"] = NumberRange.new(2,2),
- ["Rate"] = 30,
- ["RotSpeed"] = NumberRange.new(400,400),
- ["Speed"] = NumberRange.new(3,3),
- })
- o9 = Create("SpecialMesh",{
- ["Parent"] = o6,
- ["MeshId"] = "http://www.roblox.com/asset/?id=16150814",
- ["Scale"] = Vector3.new(5.18085146, 5.18085623, 5.18084764),
- ["TextureId"] = "http://www.roblox.com/asset/?id=343377229",
- ["MeshType"] = Enum.MeshType.FileMesh,
- })
- o10 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(79.0394669, 8.73715496, 16.0058537),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.950079143, -0.272535861, 0.151901796, 0.195775941, 0.141641304, -0.970365703, 0.242943838, 0.951662958, 0.187926412),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o11 = Create("ParticleEmitter",{
- ["Parent"] = o10,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o12 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(86.3597412, -13.5106392, 95.9657364),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.101057455, -0.967060804, -0.233625919, 0.0873805359, 0.225292891, -0.970364809, 0.991035938, -0.11847695, 0.0617347658),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o13 = Create("ParticleEmitter",{
- ["Parent"] = o12,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o14 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(102.543137, 6.23166227, -116.861259),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.449161828, 0.886832237, 0.108548716, 0.145867065, 0.192651749, -0.970365107, -0.881462872, -0.420017153, -0.215891346),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o15 = Create("ParticleEmitter",{
- ["Parent"] = o14,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o16 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(102.543076, 6.23150969, -164.84436),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.959516287, 0.259897143, 0.108546063, -0.0454919189, 0.237321198, -0.970365584, -0.277955443, -0.936019421, -0.215890288),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o17 = Create("ParticleEmitter",{
- ["Parent"] = o16,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o18 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(102.543114, 6.2315917, -99.8779907),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.170537025, 0.979354262, 0.108547494, 0.195777684, 0.141642377, -0.970365226, -0.96570617, -0.144232035, -0.215890929),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o19 = Create("ParticleEmitter",{
- ["Parent"] = o18,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o20 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(102.543205, 6.23175573, -132.792969),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.675336957, 0.729477286, 0.10855034, 0.0873827487, 0.225293115, -0.970364571, -0.732314408, -0.645837605, -0.215892449),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o21 = Create("ParticleEmitter",{
- ["Parent"] = o20,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o22 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(102.543076, 6.23157644, -152.474472),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.881565154, 0.45941323, 0.108547226, 0.00640271604, 0.241557747, -0.970365405, -0.472019136, -0.854745209, -0.215890348),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o23 = Create("ParticleEmitter",{
- ["Parent"] = o22,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o24 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(93.5509491, 13.533741, -115.702736),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.421659291, 0.876036167, 0.234017938, -0.045491308, 0.237320334, -0.970365763, -0.905612469, -0.41980958, -0.060216248),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o25 = Create("ParticleEmitter",{
- ["Parent"] = o24,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o26 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(93.5508499, 13.5340061, -83.6512985),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.107508615, 0.966268897, 0.234022439, 0.087382853, 0.225292057, -0.970364869, -0.990356684, 0.124772049, -0.0602144599),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o27 = Create("ParticleEmitter",{
- ["Parent"] = o26,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o28 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(93.5508728, 13.5338879, -67.7195816),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.368611872, 0.899644494, 0.234020427, 0.145866781, 0.192650631, -0.970365226, -0.918067813, 0.391823798, -0.0602149367),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o29 = Create("ParticleEmitter",{
- ["Parent"] = o28,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o30 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(93.5509109, 13.5338335, -50.7363472),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.615315795, 0.752742767, 0.234019518, 0.195777208, 0.141641498, -0.970365524, -0.763582349, 0.642896652, -0.0602156073),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o31 = Create("ParticleEmitter",{
- ["Parent"] = o30,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o32 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(93.5509033, 13.5337915, -103.332832),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.224203944, 0.946027577, 0.234018788, 0.00640313327, 0.241556808, -0.970365584, -0.974521399, -0.216061294, -0.0602154732),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o33 = Create("ParticleEmitter",{
- ["Parent"] = o32,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o34 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(87.5872192, 13.7778225, -25.8519192),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.874030232, 0.42350024, 0.238157541, 0.195776746, 0.14164117, -0.970365703, -0.444682926, 0.894754469, 0.0408871919),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o35 = Create("ParticleEmitter",{
- ["Parent"] = o34,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o36 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(87.5871582, 13.7778587, -42.8351593),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.712212801, 0.660328567, 0.238158152, 0.145866409, 0.192650288, -0.970365465, -0.686641216, 0.725845814, 0.0408882648),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o37 = Create("ParticleEmitter",{
- ["Parent"] = o36,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o38 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(87.5872955, 13.7777548, -90.8183365),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.0138711762, 0.971127868, 0.238156393, -0.0454913229, 0.237319738, -0.970365882, -0.998868525, -0.0242941976, 0.0408859849),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o39 = Create("ParticleEmitter",{
- ["Parent"] = o38,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o40 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(87.5872269, 13.7777824, -78.4484177),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.194488198, 0.951554537, 0.23815687, 0.00640301406, 0.241556317, -0.970365763, -0.980884075, 0.190249637, 0.0408870727),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o41 = Create("ParticleEmitter",{
- ["Parent"] = o40,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o42 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(87.5870895, 13.7779512, -58.7668457),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.503602087, 0.830460906, 0.238159731, 0.0873826072, 0.22529155, -0.970364928, -0.859505475, 0.509488642, 0.0408894569),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o43 = Create("ParticleEmitter",{
- ["Parent"] = o42,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o44 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(86.3596802, -13.5104132, 76.2841797),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.230545193, -0.944600403, -0.233622074, 0.00640067458, 0.241556659, -0.970365644, 0.973040581, 0.222217858, 0.0617358685),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o45 = Create("ParticleEmitter",{
- ["Parent"] = o44,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o46 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(86.3597107, -13.5105181, 111.897423),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.36262551, -0.902176857, -0.233623862, 0.1458648, 0.192652062, -0.970365405, 0.920449078, -0.385956615, 0.0617353171),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o47 = Create("ParticleEmitter",{
- ["Parent"] = o46,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o48 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(86.3596725, -13.5104551, 128.880707),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.61033088, -0.756912768, -0.233622789, 0.195775732, 0.141643152, -0.970365465, 0.767573178, -0.637981534, 0.0617359728),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o49 = Create("ParticleEmitter",{
- ["Parent"] = o48,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o50 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(86.3596344, -13.5103664, 63.9142685),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.427547663, -0.873283744, -0.233621284, -0.0454937071, 0.237319678, -0.970365882, 0.902847409, 0.425505877, 0.0617365986),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o51 = Create("ParticleEmitter",{
- ["Parent"] = o50,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o52 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(102.621109, -6.0702033, -168.148773),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.973196864, 0.204219759, -0.105746955, 0.145866275, 0.192652568, -0.970364988, -0.177795321, -0.959780931, -0.217277646),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o53 = Create("ParticleEmitter",{
- ["Parent"] = o52,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o54 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(102.620941, -6.07024574, 143.868088),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.80313319, -0.586340189, -0.105747685, -0.0454930514, 0.237321064, -0.970365524, 0.594060361, -0.774521887, -0.217274785),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o55 = Create("ParticleEmitter",{
- ["Parent"] = o54,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o56 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(102.620995, -6.07021284, 156.237991),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.910095572, -0.40067938, -0.105747119, 0.00640164688, 0.241557866, -0.970365405, 0.414349347, -0.883802176, -0.217275634),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o57 = Create("ParticleEmitter",{
- ["Parent"] = o56,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o58 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(102.621033, -6.07022762, -151.165482),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.871104538, 0.479577303, -0.105747372, 0.195777193, 0.141643211, -0.970365286, -0.450386614, -0.865992486, -0.21727632),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o59 = Create("ParticleEmitter",{
- ["Parent"] = o58,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o60 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(102.621223, -6.07019854, 175.919556),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, -0.991872668, -0.0707581863, -0.105746865, 0.0873818323, 0.225293636, -0.970364571, 0.0924853384, -0.971718192, -0.217279553),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o61 = Create("ParticleEmitter",{
- ["Parent"] = o60,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o62 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(76.1906204, -2.22199559, 30.1629696),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.863949716, -0.50208348, -0.0387714207, 0.0873808563, 0.22529152, -0.970365107, 0.495939046, 0.834958911, 0.238513038),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o63 = Create("ParticleEmitter",{
- ["Parent"] = o62,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o64 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(76.1907578, -2.22186089, 63.077919),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.452438056, -0.890953004, -0.0387690663, 0.19577527, 0.141642034, -0.970365763, 0.87004137, 0.431440324, 0.238510787),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o65 = Create("ParticleEmitter",{
- ["Parent"] = o64,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o66 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(76.190712, -2.22191787, 46.0946541),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.692947745, -0.719944835, -0.0387700647, 0.145864815, 0.192650661, -0.970365703, 0.706078768, 0.666757405, 0.238511443),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o67 = Create("ParticleEmitter",{
- ["Parent"] = o66,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o68 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(76.1908188, -2.22179508, -1.88847733),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.998705685, 0.032929413, -0.0387679189, -0.0454927385, 0.237318829, -0.970366061, -0.0227532424, 0.970873654, 0.2385097),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o69 = Create("ParticleEmitter",{
- ["Parent"] = o68,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o70 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(76.1907883, -2.22185564, 10.4814234),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.982574821, -0.181779981, -0.0387689769, 0.00640141964, 0.241555661, -0.970365882, 0.185757935, 0.953208923, 0.238510132),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o71 = Create("ParticleEmitter",{
- ["Parent"] = o70,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o72 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(79.039566, 8.73714828, -48.9605522),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.648959339, 0.745505035, 0.151901692, -0.0454917476, 0.237319022, -0.97036618, -0.75946182, 0.622817814, 0.187924758),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o73 = Create("ParticleEmitter",{
- ["Parent"] = o72,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o74 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(79.0392761, 8.73716068, -16.9090633),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.945665002, 0.287478387, 0.151901901, 0.0873818249, 0.225291193, -0.970365167, -0.313181132, 0.930913687, 0.187929645),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o75 = Create("ParticleEmitter",{
- ["Parent"] = o74,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o76 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(79.039505, 8.73712921, -36.5906372),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.793597758, 0.589176536, 0.151901364, 0.00640243944, 0.241555661, -0.970365882, -0.608409464, 0.771052539, 0.18792586),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o77 = Create("ParticleEmitter",{
- ["Parent"] = o76,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o78 = Create("Part",{
- ["Parent"] = o2,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(3925.69946, -4678.13916, -11.0854521),
- ["Rotation"] = Vector3.new(79.0393982, 8.7371397, -0.977389395),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3925.69946, -4678.13916, -11.0854521, 0.988252044, 0.0168598946, 0.151901543, 0.145865604, 0.19265008, -0.970365644, -0.0456241071, 0.981122792, 0.187927589),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["Size"] = Vector3.new(4, 1, 2),
- })
- o79 = Create("ParticleEmitter",{
- ["Parent"] = o78,
- ["Size"] = NumberSequence.new(2.5,2.5),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Acceleration"] = Vector3.new(0, -1.29999995, 0),
- })
- o80 = Create("Model",{
- ["Name"] = "Arm1",
- ["Parent"] = o1,
- })
- o81 = Create("Part",{
- ["Name"] = "Middle",
- ["Parent"] = o80,
- ["Material"] = Enum.Material.Granite,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Position"] = Vector3.new(3923.3938, -4665.64014, -17.7558212),
- ["Rotation"] = Vector3.new(-0, -90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3923.3938, -4665.64014, -17.7558212, 0, 0, -1, 0, 1, 0, 1, 0, 0),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(4.64390278, 9.28781509, 4.6439023),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- })
- o82 = Create("ParticleEmitter",{
- ["Parent"] = o81,
- ["Size"] = NumberSequence.new(1,0.9375,1.7500001192093,0.87499976158142,2.8749995231628,1.25,2.0625,1.1874997615814,2.9375,1.3124996423721,2.8749995231628,5.6875),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Lifetime"] = NumberRange.new(1,1),
- ["Rate"] = 40,
- ["RotSpeed"] = NumberRange.new(30,30),
- ["Speed"] = NumberRange.new(0,0),
- })
- o83 = Create("ParticleEmitter",{
- ["Parent"] = o81,
- ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25),
- ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Lifetime"] = NumberRange.new(2,2),
- ["Rate"] = 30,
- ["RotSpeed"] = NumberRange.new(400,400),
- ["Speed"] = NumberRange.new(3,3),
- })
- o84 = Create("Model",{
- ["Name"] = "Arm2",
- ["Parent"] = o1,
- })
- o85 = Create("Part",{
- ["Name"] = "Middle",
- ["Parent"] = o84,
- ["Material"] = Enum.Material.Granite,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Position"] = Vector3.new(3923.3938, -4665.64014, -3.8241148),
- ["Rotation"] = Vector3.new(-0, -90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3923.3938, -4665.64014, -3.8241148, 0, 0, -1, 0, 1, 0, 1, 0, 0),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(4.64390278, 9.28781509, 4.6439023),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- })
- o86 = Create("ParticleEmitter",{
- ["Parent"] = o85,
- ["Size"] = NumberSequence.new(1,0.9375,1.7500001192093,0.87499976158142,2.8749995231628,1.25,2.0625,1.1874997615814,2.9375,1.3124996423721,2.8749995231628,5.6875),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Lifetime"] = NumberRange.new(1,1),
- ["Rate"] = 40,
- ["RotSpeed"] = NumberRange.new(30,30),
- ["Speed"] = NumberRange.new(0,0),
- })
- o87 = Create("ParticleEmitter",{
- ["Parent"] = o85,
- ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25),
- ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Lifetime"] = NumberRange.new(2,2),
- ["Rate"] = 30,
- ["RotSpeed"] = NumberRange.new(400,400),
- ["Speed"] = NumberRange.new(3,3),
- })
- o88 = Create("Part",{
- ["Parent"] = o84,
- ["Material"] = Enum.Material.Granite,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Position"] = Vector3.new(3935.67017, -4667.5542, -3.13911486),
- ["Rotation"] = Vector3.new(90, -82.368454, 90.0000076),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3935.67017, -4667.5542, -3.13911486, -1.44198635e-008, -0.132802665, -0.991142571, 1.18167613e-007, 0.991142571, -0.132802665, 1, -1.19035953e-007, 1.40083323e-009),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(1.47390282, 1.33999991, 36.1239014),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- })
- o89 = Create("ParticleEmitter",{
- ["Parent"] = o88,
- ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25),
- ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Lifetime"] = NumberRange.new(2,2),
- ["Rate"] = 30,
- ["RotSpeed"] = NumberRange.new(400,400),
- ["Speed"] = NumberRange.new(3,3),
- })
- o90 = Create("Part",{
- ["Parent"] = o84,
- ["Material"] = Enum.Material.Neon,
- ["BrickColor"] = BrickColor.new("Institutional white"),
- ["Position"] = Vector3.new(3947.09888, -4665.76025, -3.20606613),
- ["Rotation"] = Vector3.new(90, -82.368454, 90.0000076),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3947.09888, -4665.76025, -3.20606613, -1.44198635e-008, -0.132802665, -0.991142571, 1.18167613e-007, 0.991142571, -0.132802665, 1, -1.19035953e-007, 1.40083323e-009),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(0.200000003, 7.81999969, 31.2939014),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- })
- o91 = Create("ParticleEmitter",{
- ["Parent"] = o90,
- ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25),
- ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Lifetime"] = NumberRange.new(2,2),
- ["Rate"] = 30,
- ["RotSpeed"] = NumberRange.new(400,400),
- ["Speed"] = NumberRange.new(3,3),
- })
- o92 = Create("Part",{
- ["Parent"] = o84,
- ["Material"] = Enum.Material.Neon,
- ["BrickColor"] = BrickColor.new("Institutional white"),
- ["Position"] = Vector3.new(3963.30298, -4662.56982, -3.20606613),
- ["Rotation"] = Vector3.new(-90.000061, -44.0050316, -90.0000305),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3963.30298, -4662.56982, -3.20606613, -4.02258507e-007, 0.719278812, -0.69472152, 6.60829357e-007, 0.69472152, 0.719278812, 1, -1.69756362e-007, -7.54778171e-007),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(0.200000003, 7.81999969, 7.0639019),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- })
- o93 = Create("ParticleEmitter",{
- ["Parent"] = o92,
- ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25),
- ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Lifetime"] = NumberRange.new(2,2),
- ["Rate"] = 30,
- ["RotSpeed"] = NumberRange.new(400,400),
- ["Speed"] = NumberRange.new(3,3),
- })
- o94 = Create("Model",{
- ["Name"] = "Leg1",
- ["Parent"] = o1,
- })
- o95 = Create("Part",{
- ["Name"] = "Middle",
- ["Parent"] = o94,
- ["Material"] = Enum.Material.Granite,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Position"] = Vector3.new(3923.3938, -4674.92725, -13.1119194),
- ["Rotation"] = Vector3.new(-0, -90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3923.3938, -4674.92725, -13.1119194, 0, 0, -1, 0, 1, 0, 1, 0, 0),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(4.64390278, 9.28781509, 4.6439023),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- })
- o96 = Create("ParticleEmitter",{
- ["Parent"] = o95,
- ["Size"] = NumberSequence.new(1,0.9375,1.7500001192093,0.87499976158142,2.8749995231628,1.25,2.0625,1.1874997615814,2.9375,1.3124996423721,2.8749995231628,5.6875),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Lifetime"] = NumberRange.new(1,1),
- ["Rate"] = 40,
- ["RotSpeed"] = NumberRange.new(30,30),
- ["Speed"] = NumberRange.new(0,0),
- })
- o97 = Create("ParticleEmitter",{
- ["Parent"] = o95,
- ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25),
- ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Lifetime"] = NumberRange.new(2,2),
- ["Rate"] = 30,
- ["RotSpeed"] = NumberRange.new(400,400),
- ["Speed"] = NumberRange.new(3,3),
- })
- o98 = Create("Model",{
- ["Name"] = "Leg2",
- ["Parent"] = o1,
- })
- o99 = Create("Part",{
- ["Name"] = "Middle",
- ["Parent"] = o98,
- ["Material"] = Enum.Material.Granite,
- ["BrickColor"] = BrickColor.new("Light orange"),
- ["Position"] = Vector3.new(3923.3938, -4674.92725, -8.46801567),
- ["Rotation"] = Vector3.new(-0, -90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3923.3938, -4674.92725, -8.46801567, 0, 0, -1, 0, 1, 0, 1, 0, 0),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(4.64390278, 9.28781509, 4.6439023),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- })
- o100 = Create("ParticleEmitter",{
- ["Parent"] = o99,
- ["Size"] = NumberSequence.new(1,0.9375,1.7500001192093,0.87499976158142,2.8749995231628,1.25,2.0625,1.1874997615814,2.9375,1.3124996423721,2.8749995231628,5.6875),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Lifetime"] = NumberRange.new(1,1),
- ["Rate"] = 40,
- ["RotSpeed"] = NumberRange.new(30,30),
- ["Speed"] = NumberRange.new(0,0),
- })
- o101 = Create("ParticleEmitter",{
- ["Parent"] = o99,
- ["Transparency"] = NumberSequence.new(0,0.85000002384186,0.375,0.13749998807907,0.58124995231628,0.018750011920929,0.11874997615814,0.14999997615814,0.58749997615814,0.125,0.83749997615814,0.050000011920929,0.94999998807907,0.25),
- ["Size"] = NumberSequence.new(1.5644174814224,1.8124997615814,2.7499997615814,1.4999997615814,1.8124997615814,2.6875,1.875,4.25),
- ["Texture"] = "http://www.roblox.com/asset/?id=343377229",
- ["Lifetime"] = NumberRange.new(2,2),
- ["Rate"] = 30,
- ["RotSpeed"] = NumberRange.new(400,400),
- ["Speed"] = NumberRange.new(3,3),
- })
- o102 = Create("Part",{
- ["Name"] = "Head",
- ["Parent"] = o1,
- ["BrickColor"] = BrickColor.new("Really red"),
- ["Position"] = Vector3.new(3930.82446, -4678.17822, -1.96655464),
- ["Rotation"] = Vector3.new(0, 90, 0),
- ["Anchored"] = true,
- ["CFrame"] = CFrame.new(3930.82446, -4678.17822, -1.96655464, 0, 0, 1, 0, 1, -0, -1, 0, 0),
- ["CanCollide"] = false,
- ["Locked"] = true,
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Size"] = Vector3.new(0.928780496, 0.928781509, 0.928780496),
- ["BottomSurface"] = Enum.SurfaceType.Smooth,
- ["TopSurface"] = Enum.SurfaceType.Smooth,
- })
- o103 = Create("Script",{
- ["Name"] = "Arm1",
- ["Parent"] = o102,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onTouched(hit)
- if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Arm1") == nil then
- local g = script.Parent.Parent.Arm1:clone()
- g.Parent = hit.Parent
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = hit.Parent["Left Arm"]
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- if h[i].className == "Part" then
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- end
- end
- script.Parent.Touched:connect(onTouched)
- end,o103)
- end))
- o104 = Create("Script",{
- ["Name"] = "Leg1",
- ["Parent"] = o102,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onTouched(hit)
- if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Leg1") == nil then
- local g = script.Parent.Parent.Leg1:clone()
- g.Parent = hit.Parent
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = hit.Parent["Left Leg"]
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- if h[i].className == "Part" then
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- end
- end
- script.Parent.Touched:connect(onTouched)
- end,o104)
- end))
- o105 = Create("Script",{
- ["Name"] = "HatRemover",
- ["Parent"] = o102,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onTouched(hit)
- local d = hit.Parent:GetChildren()
- for i=1, #d do
- if (d[i].className == "Hat") then
- d[i]:remove()
- end
- end
- end
- script.Parent.Touched:connect(onTouched)
- end,o105)
- end))
- o106 = Create("Script",{
- ["Name"] = "ChangeShirt/Pants",
- ["Parent"] = o102,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- --theRal
- worker = false
- part = script.Parent
- function onTouch(hit)
- local human = hit.Parent:FindFirstChild("Humanoid")
- if (human ~= nil) and (worker == false) then
- print ("Success")
- worker = true
- wait(.1)
- local pant = hit.Parent:GetChildren()
- for i=1,#pant do
- if (pant[i].className == "Pants") then
- pant[i].PantsTemplate = ""
- end
- end
- local shirt = hit.Parent:GetChildren()
- for i=1,#shirt do
- if (shirt[i].className == "Shirt") then
- shirt[i].ShirtTemplate = ""
- wait(1)
- worker = false
- end
- end
- end
- end
- script.Parent.Touched:connect(onTouch)
- end,o106)
- end))
- o107 = Create("Script",{
- ["Parent"] = o102,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if human ~= nil then
- part.Parent:findFirstChild("Head").BrickColor = BrickColor.new(125)
- part.Parent:findFirstChild("Head").Transparency = 0
- part.Parent:findFirstChild("Torso").BrickColor = BrickColor.new(1)
- part.Parent:findFirstChild("Torso").Transparency = 1
- part.Parent:findFirstChild("Left Arm").BrickColor = BrickColor.new(1)
- part.Parent:findFirstChild("Left Arm").Transparency = 1
- part.Parent:findFirstChild("Right Arm").BrickColor = BrickColor.new(1)
- part.Parent:findFirstChild("Right Arm").Transparency = 1
- part.Parent:findFirstChild("Left Leg").BrickColor = BrickColor.new(1)
- part.Parent:findFirstChild("Left Leg").CanCollide = true
- part.Parent:findFirstChild("Left Leg").Transparency = 1
- part.Parent:findFirstChild("Right Leg").BrickColor = BrickColor.new(1)
- part.Parent:findFirstChild("Right Leg").CanCollide = true
- part.Parent:findFirstChild("Right Leg").Transparency = 1
- end
- end
- script.Parent.Touched:connect(onTouch)
- --COLORS
- --1 = white
- --208 = Light stone grey
- --194 = Medium stone grey
- --199 = Dark stone grey
- --26 = Black
- --21 = Bright red
- --24 = Bright yellow
- --226 = Cool yellow
- --23 = Bright blue
- --107 = Bright bluish green
- --102 = Medium blue
- --11 = Pastel blue
- --45 = Light blue
- --135 = Sand blue
- --106 = Bright orange
- --105 = Br. yellowish orange
- --141 = Earth green
- --28 = Dark green
- --37 = Bright green
- --119 = Br. yellowish green
- --29 = Medium green
- --151 = Sand green
- --38 = Dark orange
- --192 = Reddish brown
- --104 = Bright violet
- --9 = Light reddish violet
- --101 = Medium red
- --5 = Brick Yellow
- --153 = Sand red
- --217 = Brown
- --18 = Nougat
- --125 = Light orange
- end,o107)
- end))
- o108 = Create("Script",{
- ["Name"] = "WalkSpeed Script",
- ["Parent"] = o102,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- local debounce = false
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- human.WalkSpeed = 16-- or whatever number
- wait(2)
- debounce = false
- end
- end
- script.Parent.Touched:connect(onTouch)
- end,o108)
- end))
- o109 = Create("Script",{
- ["Name"] = "Leg2",
- ["Parent"] = o102,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onTouched(hit)
- if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Leg2") == nil then
- local g = script.Parent.Parent.Leg2:clone()
- g.Parent = hit.Parent
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = hit.Parent["Right Leg"]
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- if h[i].className == "Part" then
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- end
- end
- script.Parent.Touched:connect(onTouched)
- end,o109)
- end))
- o110 = Create("Script",{
- ["Name"] = "Arm2",
- ["Parent"] = o102,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onTouched(hit)
- if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Arm2") == nil then
- local g = script.Parent.Parent.Arm2:clone()
- g.Parent = hit.Parent
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = hit.Parent["Right Arm"]
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- if h[i].className == "Part" then
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- end
- end
- script.Parent.Touched:connect(onTouched)
- end,o110)
- end))
- o111 = Create("Script",{
- ["Name"] = "Torso",
- ["Parent"] = o102,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- function onTouched(hit)
- if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Chest") == nil then
- local g = script.Parent.Parent.Chest:clone()
- g.Parent = hit.Parent
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = hit.Parent.Torso
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- if h[i].className == "Part" then
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- end
- end
- script.Parent.Touched:connect(onTouched)
- end,o111)
- end))
- o112 = Create("Script",{
- ["Name"] = "Cframe",
- ["Parent"] = o102,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- wait(2)
- local p = script.Parent
- local me = game.Players.LocalPlayer.Character
- p.Shape = "Ball"
- game:GetService('RunService').Stepped:connect(function()
- p.CFrame = me.Torso.CFrame * CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
- end)
- wait(0.5)
- me.Head.Transparency = 1
- p:Remove()
- end,o112)
- end))
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Advertisement
Add Comment
Please, Sign In to add comment