Advertisement
AgentVK

OK THEN MIX

Dec 16th, 2017
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.64 KB | None | 0 0
  1. -- Retributor, without all the fun stuff. Just the coat.
  2.  
  3. -- Written by yeox769.
  4.  
  5. wait(0.5)
  6. Player=game:GetService("Players").LocalPlayer
  7. Character=Player.Character
  8. PlayerGui=Player.PlayerGui
  9. Backpack=Player.Backpack
  10. Torso=Character.Torso
  11. Head=Character.Head
  12. Humanoid=Character.Humanoid
  13. m=Instance.new('Model',Character)
  14. LeftArm=Character["Left Arm"]
  15. LeftLeg=Character["Left Leg"]
  16. RightArm=Character["Right Arm"]
  17. RightLeg=Character["Right Leg"]
  18. LS=Torso["Left Shoulder"]
  19. LH=Torso["Left Hip"]
  20. RS=Torso["Right Shoulder"]
  21. RH=Torso["Right Hip"]
  22. Face = Head.face
  23. Neck=Torso.Neck
  24. it=Instance.new
  25. attacktype=1
  26. vt=Vector3.new
  27. cf=CFrame.new
  28. euler=CFrame.fromEulerAnglesXYZ
  29. angles=CFrame.Angles
  30. cloaked=false
  31. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  32. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  33. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  34. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  35. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  36. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  37. RootPart=Character.HumanoidRootPart
  38. RootJoint=RootPart.RootJoint
  39. RootCF=euler(-1.57,0,3.14)
  40. attack = false
  41. attackdebounce = false
  42. deb=false
  43. equipped=true
  44. hand=false
  45. MMouse=nil
  46. combo=0
  47. trispeed=.2
  48. attackmode='none'
  49. local idle=0
  50. local Anim="Idle"
  51.  
  52. it = Instance.new
  53.  
  54. local part = function(name,parent,brkclr,mtrl,rfl,trns,sz)
  55. local prt = it("Part",parent)
  56. prt.Name = name
  57. prt.CanCollide = false
  58. prt.BrickColor = BrickColor.new(brkclr)
  59. if brkclr == "Really black" and mtrl == "Neon" then prt.Color = Color3.new(0,0,0) end
  60. prt.Material = mtrl
  61. prt.Reflectance = rfl
  62. prt.Transparency = trns
  63. prt.Size = sz
  64. prt.Anchored = true
  65. return prt
  66. end
  67. local mesh = function(meshtype,parent,meshid,textureid,scale)
  68. local msh = it("SpecialMesh",parent)
  69. if meshtype == "FileMesh" then
  70. msh.MeshId = meshid
  71. msh.TextureId = textureid
  72. end
  73. msh.MeshType = meshtype
  74. msh.Scale = scale
  75. return(msh)
  76. end
  77. local weld = function(part1,part2,x1,y1,z1,x2,y2,z2)
  78. local w = it("Weld",part1)
  79. w.Part0 = part1
  80. w.Part1 = part2
  81. if part1.Anchored or part2.Anchored then
  82. part1.Anchored = false
  83. part2.Anchored = false
  84. end
  85. w.C0 = (CFrame.new(x1,y1,z1)*CFrame.Angles(math.rad(z2),math.rad(y2),math.rad(x2)))
  86. return(w)
  87. end
  88. local emit = function(parent,tex,startcolor, endcolor, startsize,endsize,lightem,emdir,lif,rate,speed,rotspeed,sprdang)
  89. local emm = it("ParticleEmitter",parent)
  90. emm.Texture = tex
  91. emm.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,startcolor),ColorSequenceKeypoint.new(1,endcolor)})
  92. emm.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,startsize),NumberSequenceKeypoint.new(1,endsize)})
  93. emm.LightEmission = lightem
  94. emm.EmissionDirection = emdir
  95. emm.Lifetime = NumberRange.new(lif)
  96. emm.Rate = rate
  97. emm.Speed = NumberRange.new(speed)
  98. emm.RotSpeed = NumberRange.new(rotspeed)
  99. emm.SpreadAngle = Vector2.new(sprdang,sprdang)
  100. return(emm)
  101. end
  102.  
  103. for _,v in pairs(Character:GetChildren()) do
  104. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Accessory") then
  105. v:Destroy()
  106. end
  107. end
  108.  
  109. eye = part("Eye",m,"Really red","Neon",0,0,Vector3.new(0.08,0.175,0.05))
  110. mesh("Sphere",eye,"","",Vector3.new(1,1,1))
  111. weld(Head,eye,-0.11,0.2625,-0.59,0,0,0)
  112.  
  113. p = part("Collar1",m,"Black","Sand",0,0,Vector3.new(1,1,1))
  114. weld(Torso,p,0,1.15,0,0,22.5,190)
  115. mesh("FileMesh",p,"http://www.roblox.com/asset/?id=20637493","",Vector3.new(1,1,1))
  116. p = part("Collar2",m,"Black","Sand",0,0,Vector3.new(1,1,1))
  117. weld(Torso,p,0,1.15,0,0,-22.5,190)
  118. mesh("FileMesh",p,"http://www.roblox.com/asset/?id=20637493","",Vector3.new(1,1,1))
  119. p = part("Collar3",m,"Black","Sand",0,0,Vector3.new(1,1,1))
  120. weld(Torso,p,0,0.9,0.1,0,0,-15)
  121. mesh("FileMesh",p,"http://www.roblox.com/asset/?id=20637493","",Vector3.new(1,1,1))
  122.  
  123.  
  124. p = part("Coat1",m,"Black","Sand",0,0,Vector3.new(2.05,1.55,1.05))
  125. weld(Torso,p,0,0.25,0,0,0,0)
  126. p = part("Coat2",m,"Black","Sand",0,0,Vector3.new(0.55,2.05,1.04))
  127. weld(Torso,p,1,-1.25,0,22,0,0)
  128. p = part("Coat3",m,"Black","Sand",0,0,Vector3.new(0.55,2.05,1.04))
  129. weld(Torso,p,-1,-1.25,0,-22,0,0)
  130. p = part("Coat4",m,"Black","Sand",0,0,Vector3.new(2.1,1.05,0.54))
  131. weld(Torso,p,0,-1,0.24,0,0,0)
  132. p = part("Coat5",m,"Black","Sand",0,0,Vector3.new(0.925,0.75,0.54))
  133. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  134. weld(Torso,p,0.3,-0.75,-0.05,90,0,-90)
  135. p = part("Coat6",m,"Black","Sand",0,0,Vector3.new(0.925,0.75,0.54))
  136. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  137. weld(Torso,p,-0.3,-0.75,-0.05,-90,0,-90)
  138. p = part("Coat7",m,"Black","Sand",0,0,Vector3.new(0.975,0.5,0.75))
  139. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  140. weld(Torso,p,-1.4,-2.45,0,90,0,-90)
  141. p = part("Coat8",m,"Black","Sand",0,0,Vector3.new(0.975,0.5,0.75))
  142. mesh("Wedge",p,"","",Vector3.new(1,1,1))
  143. weld(Torso,p,1.4,-2.45,0,-90,0,-90)
  144. p = part("Coat9",m,"Black","Sand",0,0,Vector3.new(1.05,0.5,0.525))
  145. weld(RightLeg,p,0,0.75,0.25,0,0,0)
  146. p = part("Coat10",m,"Black","Sand",0,0,Vector3.new(1.05,0.5,0.525))
  147. weld(LeftLeg,p,0,0.75,0.25,0,0,0)
  148.  
  149. p = part("Sleeves1",m,"Black","Granite",0,0,Vector3.new(1.1,0.5,1.1))
  150. weld(LeftArm,p,0,0.875,0,0,0,0)
  151. p = part("Sleeves2",m,"Black","Sand",0,0,Vector3.new(1.05,1.5,1.05))
  152. weld(LeftArm,p,0,0.25,0,0,0,0)
  153. p = part("Sleeves3",m,"Really red","Neon",0,0,Vector3.new(0.25,0.5,0.5))
  154. mesh("Cylinder",p,"","",Vector3.new(1,1,1))
  155. weld(LeftArm,p,-0.41,0.15,0,0,0,0)
  156. p = part("Sleeves4",m,"Really red","Neon",0,0,Vector3.new(0.25,0.075,0.075))
  157. mesh("Cylinder",p,"","",Vector3.new(1,1,1))
  158. weld(LeftArm,p,-0.44,0.15,0,0,0,0)
  159. p = part("Sleeves5",m,"Black","Sand",0,0,Vector3.new(0.25,0.375,0.375))
  160. mesh("Cylinder",p,"","",Vector3.new(1,1,1))
  161. weld(LeftArm,p,-0.43,0.15,0,0,0,0)
  162. p = part("Sleeves6",m,"Black","Sand",0,0,Vector3.new(0.25,0.75,0.075))
  163. weld(LeftArm,p,-0.42,0.2,0.0375,0,0,-45)
  164. p = part("Sleeves7",m,"Black","Sand",0,0,Vector3.new(0.25,0.75,0.075))
  165. weld(LeftArm,p,-0.42,0.1,-0.0375,0,0,-45)
  166. p = part("Sleeves8",m,"Black","Granite",0,0,Vector3.new(1.1,0.25,1.1))
  167. weld(LeftArm,p,0,-0.4,0,0,0,0)
  168. p = part("Sleeves9",m,"Black","Granite",0,0,Vector3.new(1.1,0.5,1.1))
  169. weld(RightArm,p,0,0.875,0,0,0,0)
  170.  
  171.  
  172. function weld(p0,p1,c0,c1,par)
  173. local w = Instance.new("Weld",p0 or par)
  174. w.Part0 = p0
  175. w.Part1 = p1
  176. w.C0 = c0 or CFrame.new()
  177. w.C1 = c1 or CFrame.new()
  178. return w
  179. end
  180. local motors = {}
  181. function motor(p0,p1,c0,c1,des,vel,par)
  182. local w = Instance.new("Motor6D",p0 or par)
  183. w.Part0 = p0
  184. w.Part1 = p1
  185. w.C0 = c0 or CFrame.new()
  186. w.C1 = c1 or CFrame.new()
  187. w.MaxVelocity = tonumber(vel) or .05
  188. w.DesiredAngle = tonumber(des) or 0
  189. return w
  190. end
  191.  
  192. function lerp(a,b,c)
  193. return a+(b-a)*c
  194. end
  195.  
  196. function ctlerp(c1,c2,al)
  197. local com1 = {c1:components()}
  198. local com2 = {c2:components()}
  199. for i,v in pairs(com1) do
  200. com1[i] = lerp(v,com2[i],al)
  201. end
  202. return CFrame.new(unpack(com1))
  203. end
  204.  
  205. do
  206. local function QuaternionFromCFrame(cf)
  207. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  208. local trace = m00 + m11 + m22
  209. if trace > 0 then
  210. local s = math.sqrt(1 + trace)
  211. local recip = 0.5/s
  212. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  213. 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
  214. function tickwave(time,length,offset) return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length end function invcol(c) c = c.Color return BrickColor.new(Color3.new(1-c.b,1-c.g,1-c.r)) end local oc = oc or function(...) return ... end local plr = game.Players.LocalPlayer local char = plr.Character local tor = char.Torso local hum = char.Humanoid local vel = Vector3.new() local cf = CFrame.new() local flspd = 0 local keysdown = {} local keypressed = {} local ktime = {} local descendtimer = 0 local possiblefly = 0 local cam = workspace.CurrentCamera local flying = false local moving = false hum.PlatformStand = false local winghats = {"Wings","Angel","EmpyreanreignmentII"} for _,o in pairs(char:GetChildren()) do for i,v in pairs(winghats) do if o.Name:lower() == v:lower() then o:Destroy() end end end local mod = Instance.new("Model",char) mod.Name = "Wings" local topcolor = BrickColor.new("Really black") local feacolor = topcolor local ptrans = 0 local pref = 0 local fire = false local fmcol = Color3.new() local fscol = Color3.new() local part = Instance.new("Part") part.Locked = true part.FormFactor = "Custom" part.Size = Vector3.new(.2,.2,.2) part.TopSurface,part.BottomSurface = 0,0 part.CanCollide = false part.BrickColor = topcolor part.Transparency = ptrans part.Reflectance = pref local ef = Instance.new("Fire",fire and part or nil) ef.Size = .15 ef.Color = fmcol or Color3.new() ef.SecondaryColor = fscol or Color3.new() part:BreakJoints() function newpart() local clone = part:Clone() clone.Parent = mod clone:BreakJoints() return clone end local feath = newpart() feath.BrickColor = feacolor Instance.new("SpecialMesh",feath).MeshType = "Sphere" function newfeather() local clone = feath:Clone() clone.Parent = mod clone:BreakJoints() return clone end local r1 = newpart() r1.Size = Vector3.new(.3,1.5,.3)*1.2 local rm1 = motor(tor,r1,CFrame.new(.35,.6,.4) * CFrame.Angles(0,0,math.rad(-60)) * CFrame.Angles(math.rad(30),math.rad(-25),0),CFrame.new(0,-.8,0),.1)
  215. local r2 = newpart() r2.Size = Vector3.new(.4,1.8,.4)*1.2 local rm2 = motor(r1,r2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(-30),math.rad(15),0),CFrame.new(0,-.9,0),.1) local r3 = newpart() r3.Size = Vector3.new(.3,2.2,.3)*1.2 local rm3 = motor(r2,r3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-1.1,0),.1) local r4 = newpart() r4.Size = Vector3.new(.25,1.2,.25)*1.2 local rm4 = motor(r3,r4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(-3),0,0),CFrame.new(0,-.6,0),.1) local feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.4,3,.3) weld(r4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0)) feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.4,2.3,.3) weld(r4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0)) feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.35,2.2,.25) weld(r4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0)) local rf3 = {} for i=0,7 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.45,2.2,.35) table.insert(rf3,motor(r3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0))) end local rf2 = {} for i=0,7 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.45,2.2-i*.08,.3) table.insert(rf2,motor(r2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0))) end local rf1 = {} for i=0,6 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.37,1.65-i*.06,.25)
  216. table.insert(rf1,motor(r1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0))) end local l1 = newpart() l1.Size = Vector3.new(.3,1.5,.3)*1.2 local lm1 = motor(tor,l1,CFrame.new(-.35,.6,.4) * CFrame.Angles(0,0,math.rad(60)) * CFrame.Angles(math.rad(30),math.rad(25),0) * CFrame.Angles(0,-math.pi,0),CFrame.new(0,-.8,0) ,.1) local l2 = newpart() l2.Size = Vector3.new(.4,1.8,.4)*1.2 local lm2 = motor(l1,l2,CFrame.new(0,.75,0) * CFrame.Angles(0,0,math.rad(50)) * CFrame.Angles(math.rad(30),math.rad(-15),0),CFrame.new(0,-.9,0),.1) local l3 = newpart() l3.Size = Vector3.new(.3,2.2,.3)*1.2 local lm3 = motor(l2,l3,CFrame.new(.1,.9,0) * CFrame.Angles(0,0,math.rad(-140)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-1.1,0),.1) local l4 = newpart() l4.Size = Vector3.new(.25,1.2,.25)*1.2 local lm4 = motor(l3,l4,CFrame.new(0,1.1,0) * CFrame.Angles(0,0,math.rad(-10)) * CFrame.Angles(math.rad(3),0,0),CFrame.new(0,-.6,0),.1) local feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.4,3,.3) weld(l4,feather,CFrame.new(-.1,-.3,0),CFrame.new(0,-1.5,0)) feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.4,2.3,.3) weld(l4,feather,CFrame.new(.1,-.1,0) * CFrame.Angles(0,math.random()*.1,0),CFrame.new(0,-1.1,0)) feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.35,2.2,.25) weld(l4,feather,CFrame.new(.1,-.3,0) * CFrame.Angles(0,math.random()*.1,math.rad(-10)),CFrame.new(0,-1.1,0)) local lf3 = {} for i=0,7 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.45,2.2,.35) table.insert(lf3,motor(l3,feather,CFrame.new(.05,1-i*.285,0) * CFrame.Angles(0,math.random()*.1,math.rad(-25-i*2)),CFrame.new(0,-feather.Size.Y/2,0))) end local lf2 = {} for i=0,7 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.45,2.2-i*.08,.3)
  217. table.insert(lf2,motor(l2,feather,CFrame.new(.05,.75-i*.26,0) * CFrame.Angles(0,math.random()*.1,math.rad(-75-i*4)),CFrame.new(0,-feather.Size.Y/2,0))) end local lf1 = {} for i=0,6 do feather = newfeather() feather.Mesh.Scale = Vector3.new(1,1,1) feather.Size = Vector3.new(.37,1.65-i*.06,.25) table.insert(lf1,motor(l1,feather,CFrame.new(.05,.63-i*.21,0) * CFrame.Angles(0,math.random()*.05,math.rad(-75)),CFrame.new(0,-feather.Size.Y/2,0))) end local rwing = {rm1,rm2,rm3,rm4} local lwing = {lm1,lm2,lm3,lm4} local oc0 = {} for i,v in pairs(rwing) do oc0[v] = v.C0 end for i,v in pairs(lwing) do oc0[v] = v.C0 end function gotResized() if lastsize then if tor.Size == lastsize then return end local scaleVec = tor.Size/lastsize for i,v in pairs(oc0) do oc0[i] = v-v.p+scaleVec*v.p end lastsize = tor.Size end lastsize = tor.Size end tor.Changed:connect(function(p) if p == "Size" then gotResized() end end) gotResized() local idle = {0,0.5,-.2,0; .05,.05,.1,.05; -.6,-1.5,.1,0;} local outlow = {-.7,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0} local outhigh = {.5,-.2,1.8,0; .3,.05,.1,.05; .2,0,0,0} local outnormal = {0,-.2,1.8,0; .05,.05,.1,.05; -.3,0,0,0} local veryhigh = {.9,-.3,1.9,0; .3,.05,.1,.05; .2,0,0,0} local flap1 = {-.3,.3,1.1,-.2; .3,.05,.1,.05; -.2,-.6,0,0} local divebomb = {0,.2,.4,-.7; .3,.05,.1,.05; 0,-.5,-.6,0} function setwings(tab,time) time = time or 10 for i=1,4 do rwing[i].DesiredAngle = tab[i] lwing[i].DesiredAngle = tab[i] rwing[i].MaxVelocity = math.abs(tab[i]-rwing[i].CurrentAngle)/time lwing[i].MaxVelocity = math.abs(tab[i]-lwing[i].CurrentAngle)/time local rcf = oc0[rwing[i]] * (tab[12+i] or CFrame.new()) local lcf = oc0[lwing[i]] * (tab[12+i] or CFrame.new()) end for i,v in pairs(rf1) do v.DesiredAngle = tab[9] v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end for i,v in pairs(lf1) do v.DesiredAngle = tab[9] v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end for i,v in pairs(rf2) do v.DesiredAngle = tab[10] v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end for i,v in pairs(lf2) do v.DesiredAngle = tab[10]
  218. v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end for i,v in pairs(rf3) do v.DesiredAngle = tab[11] v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end for i,v in pairs(lf3) do v.DesiredAngle = tab[11] v.MaxVelocity = math.abs(v.DesiredAngle-v.CurrentAngle)/time end end setwings(outhigh,1) for i,v in pairs(tor:GetChildren()) do if v.ClassName:lower():match("body") then v:Destroy() end end local ctor = tor:Clone() ctor:ClearAllChildren() ctor.Name = "cTorso" ctor.Transparency = 1 ctor.CanCollide = false ctor.FormFactor = "Custom" ctor.Size = Vector3.new(.2,.2,.2) ctor.Parent = mod weld(tor,ctor) local bg = Instance.new("BodyGyro",ctor) bg.maxTorque = Vector3.new() bg.P = 15000 bg.D = 1000 local bv = Instance.new("BodyVelocity",ctor) bv.maxForce = Vector3.new() bv.P = 15000 kd = plr:GetMouse().KeyDown:connect(oc(function(key) keysdown[key] = true keypressed[key] = true if key == "2" then descendtimer = tick() elseif key == " " and tick()-(ktime[key] or 0) < .5 then possiblefly = tick() elseif (key == "a" or key == "d") and ktime[key] and tick()-ktime[key] < .3 and math.abs(reqrotx) < .3 then reqrotx = key == "a" and math.pi*2 or -math.pi*2 end ktime[key] = tick() end)) ku = plr:GetMouse().KeyUp:connect(function(key) keysdown[key] = false if key == " " then descendtimer = tick() end end) function mid(a,b,c) return math.max(a,math.min(b,c or -a)) end function bn(a) return a and 1 or 0 end function gm(tar) local m = 0 for i,v in pairs(tar:GetChildren()) do if v:IsA("BasePart") then m = m + v:GetMass() end m = m + gm(v) end return m end reqrotx = 0 local grav = 196.2 local flyspeed = 80 local maxspeed = 150 local con con = game:GetService("RunService").Stepped:connect(oc(function() if not mod:IsDescendantOf(workspace) then pcall(function() kd:disconnect() end) pcall(function() ku:disconnect() end) bg:Destroy() bv:Destroy() con:disconnect() hum.PlatformStand = false return end
  219. local obvel = tor.CFrame:vectorToObjectSpace(tor.Velocity) local sspd, uspd,fspd = obvel.X,obvel.Y,obvel.Z if flying then local lfldir = fldir fldir = cam.CoordinateFrame:vectorToWorldSpace(Vector3.new(bn(keysdown.d)-bn(keysdown.a),0,bn(keysdown.s)-bn(keysdown.w))).unit local lmoving = moving moving = fldir.magnitude > .1 if lmoving and not moving then idledir = lfldir*Vector3.new(1,0,1) descendtimer = tick() end local dbomb = fldir.Y < -.6 or (moving and keysdown["0"]) if moving and keysdown["0"] and lmoving then fldir = (Vector3.new(lfldir.X,math.min(fldir.Y,lfldir.Y+.01)-.1,lfldir.Z)+(fldir*Vector3.new(1,0,1))*.05).unit end local down = tor.CFrame:vectorToWorldSpace(Vector3.new(0,-1,0)) local descending = (not moving and keysdown["2"] and not keysdown[" "]) cf = ctlerp(cf,CFrame.new(tor.Position,tor.Position+(not moving and idledir or fldir)),keysdown["0"] and .02 or .07) local gdown = not dbomb and cf.lookVector.Y < -.2 and tor.Velocity.unit.Y < .05 hum.PlatformStand = true bg.maxTorque = Vector3.new(1,1,1)*9e5 local rotvel = CFrame.new(Vector3.new(),tor.Velocity):toObjectSpace(CFrame.new(Vector3.new(),fldir)).lookVector bg.cframe = cf * CFrame.Angles(not moving and -.1 or -math.pi/2+.2,moving and mid(-2.5,rotvel.X/1.5) + reqrotx or 0,0) reqrotx = reqrotx - reqrotx/10 bv.maxForce = Vector3.new(1,1,1)*9e4*.5 local anioff =(bn(keysdown[" "])-bn(keysdown["2"]))/2 local ani = tickwave(1.5-anioff,1) bv.velocity = bv.velocity:Lerp(Vector3.new(0,bn(not moving)*-ani*15+(descending and math.min(20,tick()-descendtimer)*-8 or bn(keysdown[" "])-bn(keysdown["2"]))*15,0)+vel,.6) vel = moving and cf.lookVector*flspd or Vector3.new() acceleration = moving and (fldir.Y < 0 and (acceleration or 0) + -fldir.Y*grav/60) or lerp((acceleration or 0),0,.02) or 0 flspd = lerp(flspd,moving and math.min(maxspeed,flyspeed + acceleration) or 0,.1) setwings(moving and (gdown and outlow or dbomb and divebomb) or (descending and veryhigh or flap1),15) for i=1,4 do
  220. rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-.5+bn(i==3)*.4+bn(i==4)*.5,.1+bn(i==2)*.5-bn(i==3)*1.1,bn(i==3)*.1) or descending and CFrame.Angles(.3,0,0) or CFrame.Angles((i*.1+1.5)*ani,ani*-.5,1*ani)),descending and .8 or .2) lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * (gdown and CFrame.new() or dbomb and CFrame.Angles(-(-.5+bn(i==3)*.4+bn(i==4)*.5),-(.1+bn(i==2)*.5-bn(i==3)*1.1),bn(i==3)*.1) or descending and CFrame.Angles(-.3,0,0) or CFrame.Angles(-(i*.1+1.5)*ani,ani*.5,1*ani)),descending and .8 or .2) end if down.Y < -.85 then local ignlist = {char} local hit,ray repeat hit,ray = workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,Vector3.new(0,-3.5+math.min(0,bv.velocity.y)/30,0)),ignlist) if hit then if hit.CanCollide then break else table.insert(ignlist,hit) end else break end until false if hit then flying = false hum.PlatformStand = false tor.Velocity = Vector3.new() end end else bg.maxTorque = Vector3.new() bv.maxForce = Vector3.new() local ani = tickwave(walking and .8 or 4.5,1) setwings(keysdown["2"] and outnormal or idle,15) local x,y,z = fspd/160,uspd/700,sspd/900 for i=1,4 do rwing[i].C0 = clerp(rwing[i].C0,oc0[rwing[i]] * CFrame.Angles(ani*.1 + -mid(-.1,x),0 + -mid(-.1,y) + bn(i==2)*.6,ani*.02 + -mid(-.1,z)) * CFrame.Angles(0,bn(i==2)*-.1,0),.2) lwing[i].C0 = clerp(lwing[i].C0,oc0[lwing[i]] * CFrame.Angles(ani*-.05 + mid(-.1,x),0 + mid(-.1,y) + -bn(i==2)*.6,ani*.02 + mid(-.1,z)) * CFrame.Angles(0,bn(i==2)*-.1,0),.2) end if keypressed[" "] and not flying and (tick()-possiblefly < .5) then vel = Vector3.new(0,50,0) bv.velocity = vel idledir = cam.CoordinateFrame.lookVector*Vector3.new(1,0,1) cf = tor.CFrame * CFrame.Angles(-.01,0,0) tor.CFrame = cf bg.cframe = cf flystart = tick() flying = true end end keypressed = {} end))
  221.  
  222.  
  223.  
  224.  
  225. --//====================================================\\--
  226. --|| CREATED BY SHACKLUSTER
  227. --\\====================================================//--
  228.  
  229.  
  230.  
  231. wait(0.2)
  232.  
  233.  
  234.  
  235. Player = game:GetService("Players").LocalPlayer
  236. PlayerGui = Player.PlayerGui
  237. Cam = workspace.CurrentCamera
  238. Backpack = Player.Backpack
  239. Character = Player.Character
  240. Humanoid = Character.Humanoid
  241. Mouse = Player:GetMouse()
  242. RootPart = Character["HumanoidRootPart"]
  243. Torso = Character["Torso"]
  244. Head = Character["Head"]
  245. RightArm = Character["Right Arm"]
  246. LeftArm = Character["Left Arm"]
  247. RightLeg = Character["Right Leg"]
  248. LeftLeg = Character["Left Leg"]
  249. RootJoint = RootPart["RootJoint"]
  250. Neck = Torso["Neck"]
  251. RightShoulder = Torso["Right Shoulder"]
  252. LeftShoulder = Torso["Left Shoulder"]
  253. RightHip = Torso["Right Hip"]
  254. LeftHip = Torso["Left Hip"]
  255.  
  256. IT = Instance.new
  257. CF = CFrame.new
  258. VT = Vector3.new
  259. RAD = math.rad
  260. C3 = Color3.new
  261. UD2 = UDim2.new
  262. BRICKC = BrickColor.new
  263. ANGLES = CFrame.Angles
  264. EULER = CFrame.fromEulerAnglesXYZ
  265. COS = math.cos
  266. ACOS = math.acos
  267. SIN = math.sin
  268. ASIN = math.asin
  269. ABS = math.abs
  270. MRANDOM = math.random
  271. FLOOR = math.floor
  272.  
  273. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  274. local NEWMESH = IT(MESH)
  275. if MESH == "SpecialMesh" then
  276. NEWMESH.MeshType = MESHTYPE
  277. if MESHID ~= "nil" and MESHID ~= "" then
  278. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  279. end
  280. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  281. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  282. end
  283. end
  284. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  285. NEWMESH.Scale = SCALE
  286. NEWMESH.Parent = PARENT
  287. return NEWMESH
  288. end
  289.  
  290. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  291. local NEWPART = IT("Part")
  292. NEWPART.formFactor = FORMFACTOR
  293. NEWPART.Reflectance = REFLECTANCE
  294. NEWPART.Transparency = TRANSPARENCY
  295. NEWPART.CanCollide = false
  296. NEWPART.Locked = true
  297. NEWPART.Anchored = true
  298. if ANCHOR == false then
  299. NEWPART.Anchored = false
  300. end
  301. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  302. NEWPART.Name = NAME
  303. NEWPART.Size = SIZE
  304. NEWPART.Position = Torso.Position
  305. NEWPART.Material = MATERIAL
  306. NEWPART:BreakJoints()
  307. NEWPART.Parent = PARENT
  308. return NEWPART
  309. end
  310.  
  311. --//=================================\\
  312. --|| CUSTOMIZATION
  313. --\\=================================//
  314.  
  315. Class_Name = "Immortal curse"
  316. Weapon_Name = "Add-ons"
  317.  
  318. Custom_Colors = {
  319. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  320. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  321.  
  322. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  323. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  324. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  325. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  326. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  327.  
  328. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  329. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  330. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  331. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  332. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  333. }
  334.  
  335.  
  336. Player_Size = 1 --Size of the player.
  337. Animation_Speed = 3
  338. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  339.  
  340. local Speed = 16
  341. local Effects2 = {}
  342.  
  343. --//=================================\\
  344. --|| END OF CUSTOMIZATION
  345. --\\=================================//
  346.  
  347. local function weldBetween(a, b)
  348. local weldd = Instance.new("ManualWeld")
  349. weldd.Part0 = a
  350. weldd.Part1 = b
  351. weldd.C0 = CFrame.new()
  352. weldd.C1 = b.CFrame:inverse() * a.CFrame
  353. weldd.Parent = a
  354. return weldd
  355. end
  356.  
  357. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  358. local acs = Instance.new("Part")
  359. acs.CanCollide = false
  360. acs.Anchored = false
  361. acs.Size = Vector3.new(0,0,0)
  362. acs.CFrame = attachmentpart.CFrame
  363. acs.Parent = Character
  364. acs.BrickColor = color
  365. local meshs = Instance.new("SpecialMesh")
  366. meshs.MeshId = mesh
  367. meshs.TextureId = texture
  368. meshs.Parent = acs
  369. meshs.Scale = scale
  370. meshs.Offset = offset
  371. weldBetween(attachmentpart,acs)
  372. end
  373.  
  374. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  375. if TYPE == "Gem" then
  376. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  377. acs.Anchored = false
  378. acs.CanCollide = false
  379. acs.CFrame = PART.CFrame
  380. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  381. weldBetween(PART,acs)
  382. elseif TYPE == "Skull" then
  383. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  384. acs.Anchored = false
  385. acs.CanCollide = false
  386. acs.CFrame = PART.CFrame
  387. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  388. weldBetween(PART,acs)
  389. elseif TYPE == "Eye" then
  390. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  391. acs.Anchored = false
  392. acs.CanCollide = false
  393. acs.CFrame = PART.CFrame
  394. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  395. weldBetween(PART,acs)
  396. end
  397. end
  398.  
  399. --//=================================\\
  400. --|| USEFUL VALUES
  401. --\\=================================//
  402.  
  403. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  404. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  405. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  406. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  407. local CHANGEDEFENSE = 0
  408. local CHANGEDAMAGE = 0
  409. local CHANGEMOVEMENT = 0
  410. local ANIM = "Idle"
  411. local ATTACK = false
  412. local EQUIPPED = false
  413. local HOLD = false
  414. local COMBO = 1
  415. local Rooted = false
  416. local SINE = 0
  417. local KEYHOLD = false
  418. local CHANGE = 2 / Animation_Speed
  419. local WALKINGANIM = false
  420. local WALK = 0
  421. local VALUE1 = false
  422. local VALUE2 = false
  423. local ROBLOXIDLEANIMATION = IT("Animation")
  424. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  425. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  426. --ROBLOXIDLEANIMATION.Parent = Humanoid
  427. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  428. WEAPONGUI.Name = "Weapon GUI"
  429. local Weapon = IT("Model")
  430. Weapon.Name = Weapon_Name
  431. local Effects = IT("Folder", Weapon)
  432. Effects.Name = "Effects"
  433. local ANIMATOR = Humanoid.Animator
  434. local ANIMATE = Character.Animate
  435. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  436. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  437. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  438. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  439. local UNANCHOR = true
  440.  
  441. local SKILLTEXTCOLOR = C3(0,0,0)
  442.  
  443. --//=================================\\
  444. --\\=================================//
  445.  
  446.  
  447. --//=================================\\
  448. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  449. --\\=================================//
  450.  
  451. ArtificialHB = Instance.new("BindableEvent", script)
  452. ArtificialHB.Name = "ArtificialHB"
  453.  
  454. script:WaitForChild("ArtificialHB")
  455.  
  456. frame = Frame_Speed
  457. tf = 0
  458. allowframeloss = false
  459. tossremainder = false
  460. lastframe = tick()
  461. script.ArtificialHB:Fire()
  462.  
  463. game:GetService("RunService").Heartbeat:connect(function(s, p)
  464. tf = tf + s
  465. if tf >= frame then
  466. if allowframeloss then
  467. script.ArtificialHB:Fire()
  468. lastframe = tick()
  469. else
  470. for i = 1, math.floor(tf / frame) do
  471. script.ArtificialHB:Fire()
  472. end
  473. lastframe = tick()
  474. end
  475. if tossremainder then
  476. tf = 0
  477. else
  478. tf = tf - frame * math.floor(tf / frame)
  479. end
  480. end
  481. end)
  482.  
  483. --//=================================\\
  484. --\\=================================//
  485.  
  486.  
  487.  
  488.  
  489.  
  490. --//=================================\\
  491. --|| SOME FUNCTIONS
  492. --\\=================================//
  493.  
  494. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  495. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  496. end
  497.  
  498. function PositiveAngle(NUMBER)
  499. if NUMBER >= 0 then
  500. NUMBER = 0
  501. end
  502. return NUMBER
  503. end
  504.  
  505. function NegativeAngle(NUMBER)
  506. if NUMBER <= 0 then
  507. NUMBER = 0
  508. end
  509. return NUMBER
  510. end
  511.  
  512. function Swait(NUMBER)
  513. if NUMBER == 0 or NUMBER == nil then
  514. ArtificialHB.Event:wait()
  515. else
  516. for i = 1, NUMBER do
  517. ArtificialHB.Event:wait()
  518. end
  519. end
  520. end
  521.  
  522. function QuaternionFromCFrame(cf)
  523. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  524. local trace = m00 + m11 + m22
  525. if trace > 0 then
  526. local s = math.sqrt(1 + trace)
  527. local recip = 0.5 / s
  528. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  529. else
  530. local i = 0
  531. if m11 > m00 then
  532. i = 1
  533. end
  534. if m22 > (i == 0 and m00 or m11) then
  535. i = 2
  536. end
  537. if i == 0 then
  538. local s = math.sqrt(m00 - m11 - m22 + 1)
  539. local recip = 0.5 / s
  540. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  541. elseif i == 1 then
  542. local s = math.sqrt(m11 - m22 - m00 + 1)
  543. local recip = 0.5 / s
  544. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  545. elseif i == 2 then
  546. local s = math.sqrt(m22 - m00 - m11 + 1)
  547. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  548. end
  549. end
  550. end
  551.  
  552. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  553. local xs, ys, zs = x + x, y + y, z + z
  554. local wx, wy, wz = w * xs, w * ys, w * zs
  555. local xx = x * xs
  556. local xy = x * ys
  557. local xz = x * zs
  558. local yy = y * ys
  559. local yz = y * zs
  560. local zz = z * zs
  561. 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))
  562. end
  563.  
  564. function QuaternionSlerp(a, b, t)
  565. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  566. local startInterp, finishInterp;
  567. if cosTheta >= 0.0001 then
  568. if (1 - cosTheta) > 0.0001 then
  569. local theta = ACOS(cosTheta)
  570. local invSinTheta = 1 / SIN(theta)
  571. startInterp = SIN((1 - t) * theta) * invSinTheta
  572. finishInterp = SIN(t * theta) * invSinTheta
  573. else
  574. startInterp = 1 - t
  575. finishInterp = t
  576. end
  577. else
  578. if (1 + cosTheta) > 0.0001 then
  579. local theta = ACOS(-cosTheta)
  580. local invSinTheta = 1 / SIN(theta)
  581. startInterp = SIN((t - 1) * theta) * invSinTheta
  582. finishInterp = SIN(t * theta) * invSinTheta
  583. else
  584. startInterp = t - 1
  585. finishInterp = t
  586. end
  587. end
  588. 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
  589. end
  590.  
  591. function Clerp(a, b, t)
  592. local qa = {QuaternionFromCFrame(a)}
  593. local qb = {QuaternionFromCFrame(b)}
  594. local ax, ay, az = a.x, a.y, a.z
  595. local bx, by, bz = b.x, b.y, b.z
  596. local _t = 1 - t
  597. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  598. end
  599.  
  600. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  601. local frame = IT("Frame")
  602. frame.BackgroundTransparency = TRANSPARENCY
  603. frame.BorderSizePixel = BORDERSIZEPIXEL
  604. frame.Position = POSITION
  605. frame.Size = SIZE
  606. frame.BackgroundColor3 = COLOR
  607. frame.BorderColor3 = BORDERCOLOR
  608. frame.Name = NAME
  609. frame.Parent = PARENT
  610. return frame
  611. end
  612.  
  613. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  614. local label = IT("TextLabel")
  615. label.BackgroundTransparency = 1
  616. label.Size = UD2(1, 0, 1, 0)
  617. label.Position = UD2(0, 0, 0, 0)
  618. label.TextColor3 = TEXTCOLOR
  619. label.TextStrokeTransparency = STROKETRANSPARENCY
  620. label.TextTransparency = TRANSPARENCY
  621. label.FontSize = TEXTFONTSIZE
  622. label.Font = TEXTFONT
  623. label.BorderSizePixel = BORDERSIZEPIXEL
  624. label.TextScaled = false
  625. label.Text = TEXT
  626. label.Name = NAME
  627. label.Parent = PARENT
  628. return label
  629. end
  630.  
  631. function NoOutlines(PART)
  632. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  633. end
  634.  
  635.  
  636. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  637. local NEWWELD = IT(TYPE)
  638. NEWWELD.Part0 = PART0
  639. NEWWELD.Part1 = PART1
  640. NEWWELD.C0 = C0
  641. NEWWELD.C1 = C1
  642. NEWWELD.Parent = PARENT
  643. return NEWWELD
  644. end
  645.  
  646. function CreateSound(ID, PARENT, VOLUME, PITCH)
  647. local NEWSOUND = nil
  648. coroutine.resume(coroutine.create(function()
  649. NEWSOUND = IT("Sound", PARENT)
  650. NEWSOUND.Volume = VOLUME
  651. NEWSOUND.Pitch = PITCH
  652. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  653. Swait()
  654. NEWSOUND:play()
  655. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  656. end))
  657. return NEWSOUND
  658. end
  659.  
  660. function CFrameFromTopBack(at, top, back)
  661. local right = top:Cross(back)
  662. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  663. end
  664.  
  665. function CreateWave(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  666. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  667. local mesh = IT("SpecialMesh",wave)
  668. mesh.MeshType = "FileMesh"
  669. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  670. mesh.Scale = VT(size,size,size)
  671. mesh.Offset = VT(0,0,-size/8)
  672. wave.CFrame = cframe
  673. coroutine.resume(coroutine.create(function(PART)
  674. for i = 1, waitt do
  675. Swait()
  676. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  677. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  678. if doesrotate == true then
  679. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  680. end
  681. wave.Transparency = wave.Transparency + (0.5/waitt)
  682. if wave.Transparency > 0.99 then
  683. wave:remove()
  684. end
  685. end
  686. end))
  687. end
  688.  
  689. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  690. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  691. local mesh = IT("SpecialMesh",wave)
  692. mesh.MeshType = "FileMesh"
  693. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  694. mesh.Scale = VT(size,size,size)
  695. wave.CFrame = cframe
  696. coroutine.resume(coroutine.create(function(PART)
  697. for i = 1, waitt do
  698. Swait()
  699. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  700. if doesrotate == true then
  701. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  702. end
  703. wave.Transparency = wave.Transparency + (0.5/waitt)
  704. if wave.Transparency > 0.99 then
  705. wave:remove()
  706. end
  707. end
  708. end))
  709. end
  710.  
  711. function MakeForm(PART,TYPE)
  712. if TYPE == "Cyl" then
  713. local MSH = IT("CylinderMesh",PART)
  714. elseif TYPE == "Ball" then
  715. local MSH = IT("SpecialMesh",PART)
  716. MSH.MeshType = "Sphere"
  717. elseif TYPE == "Wedge" then
  718. local MSH = IT("SpecialMesh",PART)
  719. MSH.MeshType = "Wedge"
  720. end
  721. end
  722.  
  723. function CreateTornado(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  724. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  725. local mesh = IT("SpecialMesh",wave)
  726. mesh.MeshType = "FileMesh"
  727. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  728. mesh.Scale = VT(size,size,size)
  729. wave.CFrame = cframe
  730. coroutine.resume(coroutine.create(function(PART)
  731. for i = 1, waitt do
  732. Swait()
  733. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  734. if doesrotate == true then
  735. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  736. end
  737. wave.Transparency = wave.Transparency + (0.5/waitt)
  738. if wave.Transparency > 0.99 then
  739. wave:remove()
  740. end
  741. end
  742. end))
  743. end
  744.  
  745. function CreateRing(inair,size,doesrotate,rotatedirection,waitt,cframe,spin1,spin2,color)
  746. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  747. local mesh = IT("SpecialMesh",wave)
  748. mesh.MeshType = "FileMesh"
  749. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  750. mesh.Scale = VT(size,size,size)
  751. mesh.Offset = VT(0,0,0)
  752. wave.CFrame = cframe
  753. coroutine.resume(coroutine.create(function(PART)
  754. for i = 1, waitt do
  755. Swait()
  756. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  757. if doesrotate == true then
  758. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(spin2, rotatedirection, spin1)
  759. end
  760. wave.Transparency = wave.Transparency + (0.5/waitt)
  761. if wave.Transparency > 0.99 then
  762. wave:remove()
  763. end
  764. end
  765. end))
  766. end
  767.  
  768. function MagicSphere(size,waitt,cframe,color)
  769. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1), true)
  770. local mesh = IT("SpecialMesh",wave)
  771. mesh.MeshType = "Sphere"
  772. mesh.Scale = VT(size,size,size)
  773. mesh.Offset = VT(0,0,0)
  774. wave.CFrame = cframe
  775. coroutine.resume(coroutine.create(function(PART)
  776. for i = 1, waitt do
  777. Swait()
  778. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  779. wave.Transparency = wave.Transparency + (1/waitt)
  780. if wave.Transparency > 0.99 then
  781. wave:remove()
  782. end
  783. end
  784. end))
  785. end
  786.  
  787. function MagicSphere2(size,waitt,cframe,color)
  788. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1), true)
  789. local mesh = IT("SpecialMesh",wave)
  790. mesh.MeshType = "Sphere"
  791. mesh.Scale = VT(size,size,size)
  792. mesh.Offset = VT(0,0,0)
  793. wave.CFrame = cframe
  794. coroutine.resume(coroutine.create(function(PART)
  795. for i = 1, waitt do
  796. Swait()
  797. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  798. wave.Transparency = wave.Transparency - (1/waitt)
  799. end
  800. wave:remove()
  801. end))
  802. end
  803.  
  804. function MagicBlock(size,waitt,cframe,color)
  805. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size), true)
  806. local mesh = IT("BlockMesh",wave)
  807. wave.CFrame = cframe
  808. coroutine.resume(coroutine.create(function(PART)
  809. for i = 1, waitt do
  810. Swait()
  811. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  812. wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  813. wave.Transparency = wave.Transparency + (1/waitt)
  814. if wave.Transparency > 0.99 then
  815. wave:remove()
  816. end
  817. end
  818. end))
  819. end
  820.  
  821. function MagicBlock2(size,waitt,cframe,color)
  822. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(size,size,size), true)
  823. local mesh = IT("BlockMesh",wave)
  824. wave.CFrame = cframe
  825. coroutine.resume(coroutine.create(function(PART)
  826. for i = 1, waitt do
  827. Swait()
  828. mesh.Scale = mesh.Scale - VT(1/waitt,1/waitt,1/waitt)
  829. wave.CFrame = cframe * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  830. wave.Transparency = wave.Transparency - (1/waitt)
  831. end
  832. wave:Destroy()
  833. end))
  834. end
  835.  
  836. function MagicBlock(size,waitt,cframe,color)
  837. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(size,size,size))
  838. local mesh = IT("BlockMesh",wave)
  839. wave.CFrame = cframe
  840. coroutine.resume(coroutine.create(function(PART)
  841. for i = 1, waitt do
  842. Swait()
  843. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  844. wave.CFrame = CF(wave.Position) * ANGLES(RAD(math(-360,360)),RAD(math(-360,360)),RAD(math(-360,360)))
  845. wave.Transparency = wave.Transparency + (1/waitt)
  846. if wave.Transparency > 0.99 then
  847. wave:remove()
  848. end
  849. end
  850. end))
  851. end
  852.  
  853. function CheckTableForString(Table, String)
  854. for i, v in pairs(Table) do
  855. if string.find(string.lower(String), string.lower(v)) then
  856. return true
  857. end
  858. end
  859. return false
  860. end
  861.  
  862. function CheckIntangible(Hit)
  863. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  864. if Hit and Hit.Parent then
  865. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  866. return true
  867. end
  868. end
  869. return false
  870. end
  871.  
  872. Debris = game:GetService("Debris")
  873.  
  874. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  875. local Direction = CFrame.new(StartPos, Vec).lookVector
  876. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  877. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  878. if RayHit and CheckIntangible(RayHit) then
  879. if DelayIfHit then
  880. wait()
  881. end
  882. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  883. end
  884. return RayHit, RayPos, RayNormal
  885. end
  886.  
  887. function turnto(position)
  888. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  889. end
  890.  
  891. --//=================================\\
  892. --|| WEAPON CREATION
  893. --\\=================================//
  894.  
  895. for _, c in pairs(Weapon:GetChildren()) do
  896. if c.ClassName == "Part" then
  897. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  898. end
  899. end
  900.  
  901. Weapon.Parent = Character
  902.  
  903. Humanoid.Died:connect(function()
  904. ATTACK = true
  905. end)
  906.  
  907. print(Class_Name.." loaded.")
  908.  
  909. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  910. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[X] Toggle [ON]", SKILLTEXTCOLOR, 8, "SciFi", 0, 2, 1, "Text 1")
  911.  
  912. --//=================================\\
  913. --|| DAMAGE FUNCTIONS
  914. --\\=================================//
  915.  
  916. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  917. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  918. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  919. local BODYGYRO = IT("BodyGyro", STATPART)
  920. local BODYPOSITION = IT("BodyPosition", STATPART)
  921. BODYPOSITION.P = 2000
  922. BODYPOSITION.D = 100
  923. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  924. if LABELTYPE == "Normal" then
  925. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  926. elseif LABELTYPE == "Debuff" then
  927. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  928. elseif LABELTYPE == "Interruption" then
  929. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  930. end
  931. game:GetService("Debris"):AddItem(STATPART ,5)
  932. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  933. BILLBOARDGUI.Adornee = STATPART
  934. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  935. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  936. BILLBOARDGUI.AlwaysOnTop = false
  937. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  938. TEXTLABEL.BackgroundTransparency = 1
  939. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  940. TEXTLABEL.Text = TEXT
  941. TEXTLABEL.Font = "SciFi"
  942. TEXTLABEL.FontSize="Size42"
  943. TEXTLABEL.TextColor3 = COLOR
  944. TEXTLABEL.TextStrokeTransparency = 1
  945. TEXTLABEL.TextScaled = true
  946. TEXTLABEL.TextWrapped = true
  947. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  948. wait(0.2)
  949. for i=1, 5 do
  950. wait()
  951. THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  952. end
  953. wait(1.2)
  954. for i=1, 5 do
  955. wait()
  956. THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  957. THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  958. THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  959. end
  960. THEPART.Parent = nil
  961. end),STATPART, BODYPOSITION, TEXTLABEL)
  962. end
  963.  
  964.  
  965. --//=================================\\
  966. --|| DAMAGING
  967. --\\=================================//
  968.  
  969. function GoDeeper(object,position,range,maxstrength,hasdugdeep)
  970. if object ~= Character and object~= Effects then
  971. local body = object:GetChildren()
  972. for part = 1, #body do
  973. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") then
  974. if (body[part].Position - position).Magnitude < range then
  975. if body[part]:FindFirstChild("OOF") == nil then
  976. CastBlast(range/2)
  977. local defence = Instance.new("BoolValue",body[part])
  978. defence.Name = ("OOF")
  979. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  980. end
  981. if hasdugdeep == true then
  982. body[part]:Destroy()
  983. end
  984. end
  985. elseif body[part].ClassName == "Model" or body[part].ClassName == "Folder" then
  986. GoDeeper(body[part],position,range,maxstrength,true)
  987. end
  988. end
  989. end
  990. end
  991.  
  992. function CastEffective(position,range,maxstrength)
  993. for i,v in ipairs(workspace:GetChildren()) do
  994. GoDeeper(v,position,range,maxstrength,false)
  995. local body = v:GetChildren()
  996. for part = 1, #body do
  997. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  998. if(body[part].Position - position).Magnitude < range then
  999. if v.ClassName == "Model" then
  1000. v:BreakJoints()
  1001. end
  1002. if body[part]:FindFirstChild("OOF") == nil then
  1003. CastBlast(range/2)
  1004. local defence = Instance.new("BoolValue",body[part])
  1005. defence.Name = ("OOF")
  1006. end
  1007. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1008. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1009. end
  1010. end
  1011. end
  1012. if v.ClassName == "Part" then
  1013. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1014. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1015. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1016. end
  1017. end
  1018. end
  1019. end
  1020.  
  1021. --//=================================\\
  1022. --|| ATTACK FUNCTIONS AND STUFF
  1023. --\\=================================//
  1024.  
  1025. function CastBlast(size)
  1026. coroutine.resume(coroutine.create(function()
  1027. for i = 1, 3 do
  1028. CreateSwirl(0,size*0.8,true,-0.2,25,Torso.CFrame * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Pear")
  1029. end
  1030. local wave = CreatePart(3, Effects, "Neon", 0, 0.8, BRICKC("Pearl"), "Effect", VT(1,1,1))
  1031. local mesh = IT("SpecialMesh",wave)
  1032. mesh.MeshType = "Sphere"
  1033. mesh.Scale = VT(size,size,size)
  1034. mesh.Offset = VT(0,0,0)
  1035. wave.CFrame = Torso.CFrame
  1036. coroutine.resume(coroutine.create(function(PART)
  1037. for i = 1, 25 do
  1038. Swait()
  1039. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1040. wave.Transparency = wave.Transparency + (0.2/25)
  1041. end
  1042. wave:remove()
  1043. end))
  1044. end))
  1045. end
  1046.  
  1047. --//=================================\\
  1048. --|| ASSIGN THINGS TO KEYS
  1049. --\\=================================//
  1050.  
  1051. function MouseDown(Mouse)
  1052. if ATTACK == false then
  1053. end
  1054. end
  1055.  
  1056. function MouseUp(Mouse)
  1057. HOLD = false
  1058. end
  1059.  
  1060. function KeyDown(Key)
  1061. KEYHOLD = true
  1062. if Key == "x" and ATTACK == false then
  1063. if VALUE1 == true then
  1064. VALUE1 = false
  1065. SKILL1TEXT.Text = "[X] Toggle [OFF]"
  1066. elseif VALUE1 == false then
  1067. VALUE1 = true
  1068. SKILL1TEXT.Text = "[X] Toggle [ON]"
  1069. end
  1070. end
  1071. end
  1072.  
  1073. function KeyUp(Key)
  1074. KEYHOLD = false
  1075. end
  1076.  
  1077. Mouse.Button1Down:connect(function(NEWKEY)
  1078. MouseDown(NEWKEY)
  1079. end)
  1080. Mouse.Button1Up:connect(function(NEWKEY)
  1081. MouseUp(NEWKEY)
  1082. end)
  1083. Mouse.KeyDown:connect(function(NEWKEY)
  1084. KeyDown(NEWKEY)
  1085. end)
  1086. Mouse.KeyUp:connect(function(NEWKEY)
  1087. KeyUp(NEWKEY)
  1088. end)
  1089.  
  1090. --//=================================\\
  1091. --\\=================================//
  1092.  
  1093.  
  1094. function unanchor()
  1095. if UNANCHOR == true then
  1096. g = Character:GetChildren()
  1097. for i = 1, #g do
  1098. if g[i].ClassName == "Part" then
  1099. g[i].Anchored = false
  1100. end
  1101. end
  1102. end
  1103. end
  1104.  
  1105. local ff = IT("ForceField",Character)
  1106. ff.Visible = false
  1107.  
  1108. --//=================================\\
  1109. --|| WRAP THE WHOLE SCRIPT UP
  1110. --\\=================================//
  1111.  
  1112. Humanoid.HealthChanged:connect(function()
  1113. if Humanoid.Health ~= "inf" then
  1114. Humanoid.Health = "inf"
  1115. end
  1116. if Humanoid.MaxHealth ~= "inf" then
  1117. Humanoid.MaxHealth = "inf"
  1118. end
  1119. end)
  1120.  
  1121.  
  1122. VALUE1 = true
  1123.  
  1124. while true do
  1125. Swait()
  1126. if #Effects2>0 then
  1127. for e=1,#Effects2 do
  1128. if Effects2[e]~=nil then
  1129. local Thing=Effects2[e]
  1130. if Thing~=nil then
  1131. local Part=Thing[1]
  1132. local Mode=Thing[2]
  1133. local Delay=Thing[3]
  1134. local IncX=Thing[4]
  1135. local IncY=Thing[5]
  1136. local IncZ=Thing[6]
  1137. local Part2=Thing[8]
  1138. if Thing[1].Transparency<=1 then
  1139. if Thing[2]=="Block1" then
  1140. Thing[1].CFrame=Thing[1].CFrame
  1141. Mesh=Thing[1].Mesh
  1142. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1143. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1144. elseif Thing[2]=="Cylinder" then
  1145. Mesh=Thing[1].Mesh
  1146. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1147. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1148. elseif Thing[2]=="Blood" then
  1149. Mesh=Thing[7]
  1150. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  1151. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  1152. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1153. elseif Thing[2]=="Elec" then
  1154. Mesh=Thing[1].Mesh
  1155. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  1156. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1157. elseif Thing[2]=="Disappear" then
  1158. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1159. end
  1160. else
  1161. Part.Parent=nil
  1162. table.remove(Effects2,e)
  1163. end
  1164. end
  1165. end
  1166. end
  1167. end
  1168. unanchor()
  1169. Humanoid.MaxHealth = "inf"
  1170. Humanoid.Health = "inf"
  1171. if VALUE1 == true then
  1172. CastEffective(Torso.Position,10,100)
  1173. end
  1174. local MATHS = {"A","C","E","G","I","K","N","P"}
  1175. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1176. end
  1177.  
  1178. --//=================================\\
  1179. --\\=================================//
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185. --//====================================================\\--
  1186. --|| END OF SCRIPT
  1187. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement