Advertisement
StrikerAndDai

Untitled

Jul 16th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 122.18 KB | None | 0 0
  1. --------------------------This is an Official script from Duelist--------------------------
  2. ---{-------------------- -------------------}---
  3. ---{-------------------- / \ -------------------}---
  4. ---{-------------------- II -------------------}---
  5. ---{-------------------- II -------------------}---
  6. ---{-------------------- II -------------------}---
  7. ---{-------------------- A========A -------------------}---
  8. ---{-------------------- II -------------------}---
  9. ---{-------------------- II -------------------}---
  10. ---{-------------------- W -------------------}---
  11. -------------------------------------------------------------------------------------------------------------
  12. --made by navaltom02
  13. local asin, atan2, rad, cos, abs, ceil, pi = math.asin, math.atan2, math.rad, math.cos, math.abs, math.ceil, math.pi
  14. local anglespeed = 1
  15. local v3 = Vector3.new
  16. local cf = CFrame.new
  17. local ca = CFrame.Angles
  18. local protect=game.Players.LocalPlayer.Name
  19. local angle = 0
  20. local Names = {"Demon"}
  21. local Speed = 100
  22. local Health = 200000000000
  23.  
  24. local attack = false
  25. local combo = 0
  26. Cols={"Black","Really black","Really red","Really red","Really red"}
  27.  
  28.  
  29. function stick(x, y)
  30. weld = Instance.new("Motor")
  31. weld.Name='mot'
  32. weld.Part0 = x
  33. weld.Part1 = y
  34. local HitPos = x.Position
  35. local CJ = CFrame.new(HitPos)
  36. local C0 = x.CFrame:inverse() *CJ
  37. local C1 = y.CFrame:inverse() * CJ
  38. weld.C0 = C0
  39. weld.C1 = C1
  40. weld.Parent = x
  41. end
  42.  
  43. do
  44. 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
  45. 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
  46. 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
  47.  
  48. function clerp(a,b,t)
  49. local qa = {QuaternionFromCFrame(a)}
  50. local qb = {QuaternionFromCFrame(b)}
  51. local ax, ay, az = a.x, a.y, a.z
  52. local bx, by, bz = b.x, b.y, b.z
  53.  
  54. local _t = 1-t
  55. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  56. end
  57. end
  58.  
  59. Part = function(x,y,z,color,tr,cc,an,parent)
  60. local p = Instance.new('Part',parent or Weapon)
  61. p.formFactor = 'Custom'
  62. p.Size = Vector3.new(x,y,z)
  63. p.BrickColor = BrickColor.new(color)
  64. p.CanCollide = cc
  65. p.Transparency = tr
  66. p.Anchored = an
  67. p.TopSurface,p.BottomSurface = 0,0
  68. p.Locked=true
  69. p:BreakJoints()
  70. return p
  71. end
  72.  
  73. wPart = function(x,y,z,color,tr,cc,an,parent)
  74. local wp = Instance.new('WedgePart',parent or Weapon)
  75. wp.formFactor = 'Custom'
  76. wp.Size = Vector3.new(x,y,z)
  77. wp.BrickColor = BrickColor.new(color)
  78. wp.CanCollide = cc
  79. wp.Transparency = tr
  80. wp.Anchored = an
  81. wp.TopSurface,wp.BottomSurface = 0,0
  82. return wp
  83. end
  84.  
  85.  
  86. local function CFrameFromTopBack(at, top, back)
  87. local right = top:Cross(back)
  88. return CFrame.new(at.x, at.y, at.z,
  89. right.x, top.x, back.x,
  90. right.y, top.y, back.y,
  91. right.z, top.z, back.z)
  92. end
  93.  
  94. function Triangle(a, b, c)
  95. local edg1 = (c-a):Dot((b-a).unit)
  96. local edg2 = (a-b):Dot((c-b).unit)
  97. local edg3 = (b-c):Dot((a-c).unit)
  98. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  99. a, b, c = a, b, c
  100. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  101. a, b, c = b, c, a
  102. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  103. a, b, c = c, a, b
  104. else
  105. print("unreachable")
  106. end
  107. local len1 = (c-a):Dot((b-a).unit)
  108. local len2 = (b-a).magnitude - len1
  109. local width = (a + (b-a).unit*len1 - c).magnitude
  110. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  111. local list = {}
  112. if len1 > 0.01 then
  113. local w1 = wPart(0,0,0,'Really red',0.5,false,true,pchar)
  114. local sz = Vector3.new(0.2, width, len1)
  115. w1.Size = sz
  116. local sp = Mesh(w1,2,0,0,0)
  117. sp.MeshType='Wedge'
  118. sp.Scale=Vector3.new(0,1,1)*sz/w1.Size
  119. w1:BreakJoints()
  120. w1.Anchored = true
  121. w1.Transparency = 0.7
  122. Spawn(function()
  123. for i=0,1,0.1 do
  124. wait()
  125. w1.Transparency=w1.Transparency+0.03
  126. end
  127. end)
  128. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  129. table.insert(list,w1)
  130. end
  131. if len2 > 0.01 then
  132. local w2 = wPart(0,0,0,'Really black',0.5,false,true,pchar)
  133. local sz = Vector3.new(0.2, width, len2)
  134. w2.Size = sz
  135. local sp = Mesh(w2,2,0,0,0)
  136. sp.MeshType='Wedge'
  137. sp.Scale=Vector3.new(0,1,1)*sz/w2.Size
  138. w2:BreakJoints()
  139. w2.Anchored = true
  140. w2.Transparency = 0.7
  141. Spawn(function()
  142. for i=0,1,0.1 do
  143. wait()
  144. w2.Transparency=w2.Transparency+0.03
  145. end
  146. end)
  147. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  148. table.insert(list,w2)
  149. end
  150. return unpack(list)
  151. end
  152.  
  153. function mgblock(pa,cfr,tm,col1,col2,sz,wa)
  154. local cols={col1,col2}
  155. Spawn(function()
  156. for i=1,tm do
  157. local a= Part(1,1,1,cols[math.random(1,2)],0,false,true,pchar)
  158. curre=a
  159. v1,v2,v3=sz.x,sz.y,sz.z
  160. local m= Mesh(a,3,v1,v2,v3)
  161. a.CFrame=pa.CFrame*cfr*CFrame.Angles(math.random(),math.random(),math.random())
  162. Spawn(function()
  163. while wait() do
  164. if a.Transparency >= 1 then a:Destroy() break end
  165. m.Scale=m.Scale-Vector3.new(.1,0.1,0.1)
  166. a.CFrame=a.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.1,0)
  167. a.Transparency=a.Transparency+0.05
  168. end
  169. end)
  170. wait(wa)
  171. end
  172. end)
  173. return curre
  174. end
  175.  
  176. function trail(p,t,h)
  177. Spawn(function()
  178. local blcf = p.CFrame
  179. local scfr = blcf
  180. for i=1,t do
  181. local blcf = p.CFrame
  182. if scfr and (p.Position-scfr.p).magnitude > .1 then
  183. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  184. if a then game.Debris:AddItem(a,1) end
  185. if b then game.Debris:AddItem(b,1) end
  186. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  187. if a then game.Debris:AddItem(a,1) end
  188. if b then game.Debris:AddItem(b,1) end
  189. scfr = blcf
  190. elseif not scfr then
  191. scfr = blcf
  192. end
  193. game:service'RunService'.Stepped:wait()
  194. end
  195. scfr=nil
  196. end)
  197. end
  198.  
  199.  
  200. so = function(id,par,lo,pi,tm)
  201. local s = Instance.new("Sound",par)
  202. s.Looped=lo
  203. s.Pitch=pi
  204. s.SoundId = "http://roblox.com/asset/?id="..id
  205. wait()
  206. s:play()
  207. s.Volume=10
  208. game.Debris:AddItem(s,tm)
  209. return s
  210. end
  211.  
  212. function posfix(nom)
  213. Spawn(function()
  214. local bg=Instance.new("BodyGyro",pchar.Torso)
  215. bg.maxTorque=Vector3.new(0,math.huge,0)
  216. bg.P=5000
  217. bg.D=100
  218. bg.cframe=workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(0,nom,0)
  219. wait(.5)
  220. bg:Destroy()
  221. end)
  222. end
  223.  
  224. Weld = function(p0,p1,x,y,z,rx,ry,rz,par)
  225. local w = Instance.new('Motor',par or p0)
  226. w.Part0 = p0
  227. w.Part1 = p1
  228. w.C1 = CFrame.new(x,y,z)*CFrame.Angles(rx,ry,rz)
  229. return w
  230. end
  231.  
  232. Mesh = function(par,num,x,y,z)
  233. local msh = _
  234. if num == 1 then
  235. msh = Instance.new("CylinderMesh",par)
  236. elseif num == 2 then
  237. msh = Instance.new("SpecialMesh",par)
  238. msh.MeshType = 3
  239. elseif num == 3 then
  240. msh = Instance.new("BlockMesh",par)
  241. elseif num == 4 then
  242. msh = Instance.new("SpecialMesh",par)
  243. msh.MeshType = "Torso"
  244. elseif type(num) == 'string' then
  245. msh = Instance.new("SpecialMesh",par)
  246. msh.MeshId = num
  247. end
  248. msh.Scale = Vector3.new(x,y,z)
  249. return msh
  250. end
  251.  
  252. anglespeed = 1
  253.  
  254. angle = 0
  255.  
  256. local function getAngles(cf)
  257. local sx,sy,sz,m00,m01,m02,m10,m11,m12,m20,m21,m22 = cf:components()
  258. return atan2(-m12,m22),asin(m02),atan2(-m01,m00)
  259. end
  260.  
  261. function explosion(col1,col2,cfr,sz,rng,dmg)
  262. local a= Part(1,1,1,col1,.5,false,true,pchar)
  263. local a2= Part(1,1,1,col2,.5,false,true,pchar)
  264. local a3= Part(1,1,1,col2,.5,false,true,pchar)
  265. v1,v2,v3=sz.x,sz.y,sz.z
  266. local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
  267. local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
  268. local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
  269. a.CFrame=cfr
  270. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  271. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  272. for i,v in pairs(workspace:children()) do
  273. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  274. if v:findFirstChild("Head") and v:findFirstChild("Torso") then
  275. if (v:findFirstChild("Torso").Position - a.Position).magnitude < rng and v.Name ~= pchar.Name and v.Name ~= protect then
  276. v.Humanoid.Health=v.Humanoid.Health-dmg
  277. v.Torso.Velocity=Vector3.new(math.random(-dmg*2,dmg*2),dmg*3,math.random(-dmg*2,dmg*2))
  278. end
  279. end
  280. end
  281. end
  282. Spawn(function()
  283. while true do
  284. wait()
  285. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  286. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  287. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  288. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  289. a2.CFrame=a2.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))
  290. a3.CFrame=a3.CFrame*CFrame.Angles(-math.rad(2),-math.rad(2),-math.rad(2))
  291. a.Transparency=a.Transparency+0.05
  292. a2.Transparency=a2.Transparency+0.05
  293. a3.Transparency=a3.Transparency+0.05
  294. end
  295. end)
  296. end
  297.  
  298. function tmdmg(tm,pa,dmg,rng)
  299. Spawn(function()
  300. for i=1,tm do wait()
  301. for i,v in pairs(workspace:children()) do
  302. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  303. if v:findFirstChild("Head") and v:findFirstChild("Torso") then
  304. if (v:findFirstChild("Torso").Position - pa.Position).magnitude < rng and v.Name ~= pchar.Name and v.Name ~= protect then
  305. v.Humanoid.Health=v.Humanoid.Health-dmg
  306. end
  307. end
  308. end
  309. end
  310. end
  311. end)
  312. end
  313.  
  314. local function getAngles(cf)
  315. local sx,sy,sz,m00,m01,m02,m10,m11,m12,m20,m21,m22 = cf:components()
  316. return atan2(-m12,m22),asin(m02),atan2(-m01,m00)
  317. end
  318.  
  319. Lerp = {
  320. Number = function(C1,C2,inc)
  321. return C1 + (C2 - C1) * inc
  322. end;
  323. CFrame = function(a,b,m)
  324. local c,d={a:components()},{b:components()}
  325. table.foreach(c,function(a,b)c[a]=c[a]+(d[a]-c[a])*m end)
  326. return CFrame.new(unpack(c))
  327. end;
  328. }
  329. function build()
  330. local SelectedName = Names[math.random(#Names)]
  331. workspace[protect].Archivable=true
  332. pchar = workspace[protect]:Clone() --Create("Model",{Parent=workspace})
  333. pchar.Parent=workspace[protect]
  334. torso=pchar.Torso
  335. hum=pchar.Humanoid
  336. pchar.Name=SelectedName
  337. pl=pchar
  338. hum.MaxHealth=Health
  339. wait()
  340. hum.Health=Health
  341. hum.WalkSpeed=Speed
  342. local mainp=Part(2.01,2.01,1.01,'Really red',1,false,false,pl)
  343. Weld(pl.Torso,mainp,0,0,0,0,0,0,mainp)
  344. local p=Part(2.02,1.2,1.02,'Really black',0,false,false,pl)
  345. Weld(mainp,p,0,.41,0,0,0,0,p)
  346. local p=Part(2.02,2.03,.5,'Really black',0,false,false,pl)
  347. Weld(mainp,p,0,0,-0.26,0,0,0,p)
  348. local p=Part(.5,1,1.02,'Really black',0,false,false,pl)
  349. Weld(mainp,p,-0.2,-0.65,0,0,0,rad(30),p)
  350. local p=Part(.5,1,1.02,'Really black',0,false,false,pl)
  351. Weld(mainp,p,0.2,-0.65,0,0,0,-rad(30),p)
  352. local p=Part(.5,1,1.02,'Really black',0,false,false,pl)
  353. Weld(mainp,p,.76,-0.51,0,0,0,0,p)
  354. local p=Part(.5,1,1.02,'Really black',0,false,false,pl)
  355. Weld(mainp,p,-.76,-0.51,0,0,0,0,p)
  356. local p=Part(.65,.95,1.01,'Really red',0,false,false,pl)
  357. Weld(mainp,p,-0.15,-0.65,0,0,0,rad(30),p)
  358. local p=Part(.65,.95,1.01,'Really red',0,false,false,pl)
  359. Weld(mainp,p,0.15,-0.65,0,0,0,-rad(30),p)
  360. local p=Part(.2,1.2,.2,'Really red',0,false,false,pl)
  361. Weld(mainp,p,0,.35,.45,0,0,0,p)
  362. local p=Part(.2,.2,.2,'Really red',0,false,false,pl)
  363. Mesh(p,1,.5,.5,.5)
  364. Weld(mainp,p,0,-.51,.05,pi/2,0,0,p)
  365. local p=Part(.2,.2,.2,'Really red',0,false,false,pl)
  366. Mesh(p,1,.5,.5,.5)
  367. Weld(mainp,p,0,-.51,.2,pi/2,0,0,p)
  368. local p=Part(2.11,.2,1.11,'Really red',0,false,false,pl)
  369. Weld(mainp,p,0,.5,0,0,0,0,p)
  370. local p=Part(2.13,.2,1.13,'Black',0,false,false,pl)
  371. Weld(mainp,p,0,.5,0,0,0,0,p)
  372. Mesh(p,3,1,.75,1)
  373. local p=Part(.2,.6,.2,'Really red',0,false,false,pl)
  374. Weld(mainp,p,0.3,.65,0.5,0,0,0,p)
  375. Mesh(p,3,.75,1,.75)
  376. local p=Part(.2,.6,.2,'Really red',0,false,false,pl)
  377. Weld(mainp,p,-0.3,.65,0.5,0,0,0,p)
  378. Mesh(p,3,.75,1,.75)
  379. local p=Part(.6,.2,.2,'Really red',0,false,false,pl)
  380. Weld(mainp,p,0,.425,0.5,0,0,0,p)
  381. Mesh(p,3,1,.75,.75)
  382. local p=Part(.6,.2,.2,'Really red',0,false,false,pl)
  383. Weld(mainp,p,0,.875,0.5,0,0,0,p)
  384. Mesh(p,3,1,.75,.75)
  385. local p=Part(.2,.6,.2,'Really red',0,false,false,pl)
  386. Weld(mainp,p,0.1,.65,0.5,0,0,-rad(20),p)
  387. Mesh(p,3,.5,1,.75)
  388. local p=Part(.2,.6,.2,'Really red',0,false,false,pl)
  389. Weld(mainp,p,-0.1,.65,0.5,0,0,rad(20),p)
  390. Mesh(p,3,.5,1,.75)
  391. local p=Part(.2,.25,.2,'Really red',0,false,false,pl)
  392. Weld(mainp,p,-0.7,.5,0.5,0,0,0,p)
  393. Mesh(p,3,.5,1,.75)
  394. local p=Part(.2,.25,.2,'Really red',0,false,false,pl)
  395. Weld(mainp,p,0.7,.5,0.5,0,0,0,p)
  396. Mesh(p,3,.5,1,.75)
  397. p=Part(2.11,.2,1.11,'Really red',0,false,false,pl)
  398. Weld(mainp,p,0,.75,0,0,0,0,p)
  399. local p=Part(1.01,2.01,1.01,'Really red',0,false,false,pl)
  400. Weld(pl['Right Leg'],p,0,0,0,0,0,0,p)
  401. local p=Part(1.01,2.01,1.01,'Really red',0,false,false,pl)
  402. Weld(pl['Left Leg'],p,0,0,0,0,0,0,p)
  403. local p=Part(1.01,2.01,1.01,'Really red',0,false,false,pl)
  404. Weld(pl['Right Arm'],p,0,0,0,0,0,0,p)
  405. local p=Part(1.01,2.01,1.01,'Really black',0,false,false,pl)
  406. Weld(pl['Left Arm'],p,0,0,0,0,0,0,p)
  407. local p=Part(1.02,1,1.02,'Black',0,false,false,pl)
  408. Weld(pl['Right Arm'],p,0,0.41,0,0,0,0,p)
  409. local p=Part(1.02,1,1.02,'Black',0,false,false,pl)
  410. Weld(pl['Left Arm'],p,0,0.41,0,0,0,0,p)
  411. local p=Part(1.1,.3,1.1,'Black',0,false,false,pl)
  412. Weld(pl['Right Arm'],p,0,-0.4,0,0,0,0,p)
  413. local p=Part(1.1,.3,1.1,'Black',0,false,false,pl)
  414. Weld(pl['Left Arm'],p,0,-0.4,0,0,0,0,p)
  415. local p=Part(.51,.2,1.11,'Really red',0,false,false,pl)
  416. Weld(pl['Right Arm'],p,-0.3,-0.4,0,0,0,0,p)
  417. local p=Part(.51,.2,1.11,'Really red',0,false,false,pl)
  418. Weld(pl['Left Arm'],p,0.3,-0.4,0,0,0,0,p)
  419. local p=Part(.2,1.11,.2,'Really red',0,false,false,pl)
  420. Mesh(p,1,1,1,1)
  421. Weld(pl['Right Arm'],p,0.3,0,-.4,rad(90),0,0,p)
  422. local p=Part(.2,1.11,.2,'Really red',0,false,false,pl)
  423. Mesh(p,1,1,1,1)
  424. Weld(pl['Left Arm'],p,-0.3,0,-.4,rad(90),0,0,p)
  425. local p=Part(1.03,.2,1.03,'Really red',0,false,false,pl)
  426. Weld(pl['Left Arm'],p,0,0,0,0,0,0,p)
  427. local p=Part(1.1,.2,1.03,'Really red',0,false,false,pl)
  428. Weld(pl['Left Arm'],p,-0.2,0.25,0,0,0,rad(40),p)
  429. local p=Part(1.1,.2,1.03,'Really red',0,false,false,pl)
  430. Weld(pl['Left Arm'],p,0.2,0.25,0,0,0,-rad(40),p)
  431.  
  432. New = function(Object, Parent, Name, Data)
  433. local Object = Instance.new(Object)
  434. for Index, Value in pairs(Data or {}) do
  435. Object[Index] = Value
  436. end
  437. Object.Parent = Parent
  438. Object.Name = Name
  439. return Object
  440. end
  441.  
  442. m = New("Model",nil,"Model",{})
  443. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-6.19765997, 2.3154006, -20.1852283, -0.459659487, -0.844636917, -0.274245769, 0.868429303, -0.36309287, -0.337406158, 0.185414284, -0.393307269, 0.900434256),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  444. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.0900000036, 1.5, 0.200000003),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  445. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.2849026, 0.47093609, -21.6759739, 0.459599137, 0.274224967, 0.844680846, -0.868458629, 0.337394416, 0.363040775, -0.185440272, -0.90044713, 0.393271238),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  446. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.100000001, 0.25999999, 0.100000001),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  447. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.2849197, 0.470925152, -21.6759644, 0.820387483, 0.274235934, 0.501713693, -0.570611954, 0.337407678, 0.748654962, 0.0360371731, -0.900483251, 0.433310956),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  448. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.100000001, 0.25999999, 0.100000001),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  449. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.0655117, 0.740833163, -22.3963528, 0.92226541, 0.274225026, 0.272291988, -0.357383519, 0.337394148, 0.870802283, 0.146959186, -0.900447249, 0.409210235),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  450. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.100000001, 0.25999999, 0.100000001),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  451. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.0655212, 0.740832984, -22.3963718, 0.459617496, 0.274235934, 0.844692051, -0.868493438, 0.337407887, 0.363045663, -0.185447723, -0.900483131, 0.393276483),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  452. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.100000001, 0.25999999, 0.100000001),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  453. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.5975561, 0.424365997, -22.2327957, 0.459635943, 0.844703317, -0.274246991, -0.868528426, 0.36305055, -0.337421417, -0.185455203, 0.393281788, 0.900519311),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  454. Mesh1 = New("CylinderMesh",Part1,"Mesh",{Scale = Vector3.new(1, 1.5, 0.100000001),})
  455. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-11.1043253, 0.206570342, -22.4687767, 0.274225235, 0.844680905, 0.459599048, 0.337394118, 0.363040715, -0.868458927, -0.900447369, 0.393271297, -0.185439944),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  456. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.280000001, 0.280000001, 0.5),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  457. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-5.86756945, 2.44408679, -19.9689026, -0.459599227, 0.844680905, 0.274225056, 0.868458807, 0.363040775, 0.337394476, 0.185440302, 0.393271297, -0.900447309),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  458. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.400000006, 1, 0.600000024),MeshType = Enum.MeshType.Wedge,})
  459. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-9.75292015, 0.787398696, -21.8395786, 0.459599227, 0.844680905, -0.274225056, -0.868458807, 0.363040775, -0.337394476, -0.185440302, 0.393271297, 0.900447309),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  460. Mesh1 = New("BlockMesh",Part1,"Mesh",{Scale = Vector3.new(0.449999988, 1.10000002, 0.150000006),})
  461. handl = New("Part",m,"handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.5975342, 0.424375206, -22.2327862, 0.459603816, 0.844683707, -0.274227798, -0.86846751, 0.363041997, -0.337397844, -0.185442165, 0.393272609, 0.900456309),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  462. Mesh1 = New("BlockMesh",handl,"Mesh",{Scale = Vector3.new(0.5, 1.5, 0.150000006),})
  463. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.1752129, 0.605890632, -22.0361595, -0.844603121, 0.459629774, -0.274413377, -0.362855345, -0.868378639, -0.337799579, -0.393609494, -0.185738698, 0.900237918),Anchored = true,CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0, 0),})
  464. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.0500000007, 0.0599999987, 0.219999999),MeshId = "http://www.roblox.com/asset/?id=16606212",MeshType = Enum.MeshType.FileMesh,})
  465. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.4286127, 0.496973038, -22.1541042, 0.274230719, 0.459608227, -0.844686568, 0.337400854, -0.868476331, -0.363043159, -0.900465369, -0.185443684, -0.39327392),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  466. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.400000006),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  467. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-8.23247528, 1.44083679, -21.1316605, 0.459617585, 0.844692111, -0.274236023, -0.868493617, 0.363045663, -0.337407947, -0.185447752, 0.393276542, 0.90048331),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  468. Mesh1 = New("BlockMesh",Part1,"Mesh",{Scale = Vector3.new(0.400000006, 2.70000005, 1.25),})
  469. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.1752262, 0.605885088, -22.0361652, 0.459617496, 0.274235934, 0.844692051, -0.868493438, 0.337407887, 0.363045663, -0.185447723, -0.900483131, 0.393276483),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  470. Mesh1 = New("CylinderMesh",Part1,"Mesh",{Scale = Vector3.new(1, 0.860000014, 0.349999994),})
  471. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.3441544, 0.53327328, -22.1147881, 0.274225235, 0.459599048, -0.844680965, 0.337394118, -0.868458927, -0.363040715, -0.900447369, -0.185439959, -0.393271297),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  472. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.200000003, 0.200000003, 0.400000006),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  473. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.1752262, 0.605885088, -22.0361652, 0.274241686, -0.459626645, 0.844697714, 0.337414324, 0.86851114, 0.363048106, -0.90050137, 0.185451105, 0.393279165),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  474. Mesh1 = New("CylinderMesh",Part1,"Mesh",{Scale = Vector3.new(1, 0.899999976, 0.899999976),})
  475. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.1752129, 0.605890632, -22.0361595, 0.274224788, -0.459598899, 0.844681144, 0.337392837, 0.868459284, 0.363041222, -0.900448024, 0.185438991, 0.393270314),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  476. Mesh1 = New("CylinderMesh",Part1,"Mesh",{Scale = Vector3.new(1, 1.10000002, 0.25),})
  477. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.1752129, 0.605890632, -22.0361595, 0.274230719, -0.459608287, 0.844686508, 0.337400854, 0.868476331, 0.363043219, -0.900465369, 0.185443655, 0.39327392),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  478. Mesh1 = New("CylinderMesh",Part1,"Mesh",{Scale = Vector3.new(1, 1, 0.5),})
  479. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-5.83461905, 2.48459363, -20.0769348, 0.459617555, 0.844692111, -0.274236083, -0.868493617, 0.363045603, -0.337407947, -0.185447752, 0.393276602, 0.90048331),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  480. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.400000006, 1, 0.600000024),MeshType = Enum.MeshType.Wedge,})
  481. blade = New("Part",m,"blade",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-8.23247528, 1.44083679, -21.1316605, 0.459617585, 0.844692111, -0.274236023, -0.868493617, 0.363045663, -0.337407947, -0.185447752, 0.393276542, 0.90048331),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  482. Mesh1 = New("BlockMesh",blade,"Mesh",{Scale = Vector3.new(0.419999987, 2.70000005, 0.5),})
  483. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.3096189, 0.440624267, -21.594902, 0.274241686, 0.844697714, 0.459626615, 0.337414354, 0.363048047, -0.86851114, -0.90050137, 0.393279165, -0.185451165),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  484. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.280000001, 0.280000001, 0.5),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  485. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.1113911, 0.576328218, -21.73909, 0.274236202, 0.844692111, 0.459617436, 0.337407619, 0.363045603, -0.868493736, -0.90048337, 0.393276542, -0.18544744),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  486. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.280000001, 0.280000001, 0.5),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  487. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.3732338, 0.463769555, -21.8610172, 0.274236202, 0.844692111, 0.459617436, 0.337407619, 0.363045603, -0.868493736, -0.90048337, 0.393276542, -0.18544744),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  488. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.280000001, 0.280000001, 0.5),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  489. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-8.28543091, 1.41672218, -21.1517391, -0.459677845, -0.844648123, -0.274256736, 0.868464112, -0.363097757, -0.337419629, 0.185421735, -0.393312514, 0.900470257),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  490. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.100000001, 1.5, 0.100000001),MeshId = "http://www.roblox.com/Asset/?id=9756362",MeshType = Enum.MeshType.FileMesh,})
  491. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-9.9687748, 0.751787782, -22.2073421, -0.274281591, 0.844617963, -0.459726632, -0.337427109, 0.363139778, 0.868446827, 0.90046227, 0.393348873, 0.185396582),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  492. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.280000001, 0.280000001, 0.5),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  493. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.0408382, 0.771299124, -22.4773846, -0.274281591, 0.844617963, -0.459726632, -0.337427109, 0.363139778, 0.868446827, 0.90046227, 0.393348873, 0.185396582),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  494. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.280000001, 0.280000001, 0.5),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  495. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-10.2306175, 0.639229178, -22.3292694, -0.274281591, 0.844617963, -0.459726632, -0.337427109, 0.363139778, 0.868446827, 0.90046227, 0.393348873, 0.185396582),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  496. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.280000001, 0.280000001, 0.5),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  497. Part1 = New("Part",m,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(2, 2, 2),CFrame = CFrame.new(-9.9687748, 0.751787782, -22.2073421, -0.274281591, 0.844617963, -0.459726632, -0.337427109, 0.363139778, 0.868446827, 0.90046227, 0.393348873, 0.185396582),Anchored = true,CanCollide = false,Color = Color3.new(1, 0, 0),})
  498. Mesh1 = New("SpecialMesh",Part1,"Mesh",{Scale = Vector3.new(0.280000001, 0.280000001, 0.5),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,})
  499. c = m:children()
  500. for n = 1, #c do
  501. if (c[n].className == "Part") then
  502. if (c[n].Name ~= "handle") then
  503. stick(c[n], m.handle)
  504. wait()
  505. c[n].Anchored = false
  506. end
  507. end
  508. end
  509. handl.Anchored=false
  510. mwl= Weld(handl,pchar.Torso,-1,0,-1,rad(120),0,0,m)
  511. m.Parent = pchar
  512.  
  513. local function genWeld(a,b)
  514. local w = Instance.new("Weld",a)
  515. w.Part0 = a
  516. w.Part1 = b
  517. return w
  518. end
  519.  
  520. local Neck = genWeld(pchar.Torso,pchar.Head)
  521. Neck.C0 = CFrame.new(0,1,0)
  522. Neck.C1 = CFrame.new(0,-0.5,0)
  523. local LeftShoulder = genWeld(pchar.Torso,pchar['Left Arm'])
  524. LeftShoulder.C0 = CFrame.new(-1,0.5,0)
  525. LeftShoulder.C1 = CFrame.new(0.5,0.5,0)
  526. local RightShoulder = genWeld(pchar.Torso,pchar['Right Arm'])
  527. RightShoulder.C0 = CFrame.new(1,0.5,0)
  528. RightShoulder.C1 = CFrame.new(-0.5,0.5,0)
  529. local LeftHip = genWeld(pchar.Torso,pchar['Left Leg'])
  530. LeftHip.C0 = CFrame.new(-1,-1,0)
  531. LeftHip.C1 = CFrame.new(-0.5,1,0)
  532. local RightHip = genWeld(pchar.Torso,pchar['Right Leg'])
  533. RightHip.C0 = CFrame.new(1,-1,0)
  534. RightHip.C1 = CFrame.new(0.5,1,0)
  535. local RootJoint = genWeld(pchar.HumanoidRootPart,pchar.Torso)
  536. RootJoint.C0 = CFrame.new(0,0,0) * CFrame.Angles(-math.pi/2,0,math.pi)
  537. RootJoint.C1 = CFrame.new(0,0,0) * CFrame.Angles(-math.pi/2,0,math.pi)
  538.  
  539. for i=1,4 do wait()
  540. pchar:MoveTo(workspace[protect].Torso.Position+Vector3.new(5,0,0))
  541. end
  542. local function newLerpTo(weld)
  543. return {
  544. Weld = weld;
  545. To = weld.C0;
  546. Cache = weld.C0;
  547. Speed = 0.2;
  548. }
  549. end
  550. LerpTo = {
  551. Neck = newLerpTo(Neck);
  552. LeftArm = newLerpTo(LeftShoulder);
  553. RightArm = newLerpTo(RightShoulder);
  554. LeftLeg = newLerpTo(LeftHip);
  555. RightLeg = newLerpTo(RightHip);
  556. RootJoint = newLerpTo(RootJoint);
  557. hndl = newLerpTo(mwl);
  558. }
  559. LerpTo.hndl.Cache=CFrame.new(0,-0.3,0)*CFrame.Angles(0,0,rad(90))
  560. end
  561.  
  562. build()
  563.  
  564. Used={Head=false,RightArm=false,LeftArm=false,RightLeg=false,LeftLeg=false,Torso=false}
  565.  
  566. function SetAnimData(IF_DATA_IS_USED)
  567. Used = IF_DATA_IS_USED
  568. end
  569.  
  570. function CheckAnimData(ANIM_TAB,DO_ANIM)
  571. anglespeed=Anims[ANIM_TAB][DO_ANIM].speed or 1
  572. if Used.Head == true then
  573. LerpTo.Neck.To = LerpTo.Neck.Cache * Anims[ANIM_TAB][DO_ANIM].Head
  574. end
  575. if Used.RightArm == true then
  576. LerpTo.RightArm.To = LerpTo.RightArm.Cache * Anims[ANIM_TAB][DO_ANIM].RightArm
  577. end
  578. if Used.LeftArm == true then
  579. LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * Anims[ANIM_TAB][DO_ANIM].LeftArm
  580. end
  581. if Used.RightLeg == true then
  582. LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * Anims[ANIM_TAB][DO_ANIM].RightLeg
  583. end
  584. if Used.LeftLeg == true then
  585. LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * Anims[ANIM_TAB][DO_ANIM].LeftLeg
  586. end
  587. if Used.Torso == true then
  588. LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * Anims[ANIM_TAB][DO_ANIM].Torso
  589. end
  590. end
  591.  
  592. function UpdateAnims()
  593. Anims = {
  594. ["Idle"] = {
  595. ["Stance"] = {
  596. speed=.25,
  597. Head = CFrame.Angles(cos(angle)*0.01,0,0),
  598. RightArm = CFrame.Angles(cos(angle)*0.1,0,0),
  599. LeftArm = CFrame.Angles(-cos(angle)*0.1,0,0),
  600. RightLeg = CFrame.Angles(cos(angle)*0.1,0,0),
  601. LeftLeg = CFrame.Angles(-cos(angle)*0.1,0,0),
  602. Torso = CFrame.Angles(0,0,0)
  603. },
  604. ["Walk"] = {
  605. speed=2,
  606. Head = CFrame.Angles(0,0,cos(angle)*0.05),
  607. RightArm = CFrame.Angles(-cos(angle)*1,0,0),
  608. LeftArm = CFrame.Angles(cos(angle)*1,0,0),
  609. RightLeg = CFrame.Angles(cos(angle)*1,0,0),
  610. LeftLeg = CFrame.Angles(-cos(angle)*1,0,0),
  611. Torso = CFrame.Angles(0,0,0)
  612. },
  613. ["Jump"] = {
  614. speed=2,
  615. Head = CFrame.Angles(0,0,0),
  616. RightArm = CFrame.Angles(rad(-20),0,0),
  617. LeftArm = CFrame.Angles(rad(-20),0,0),
  618. RightLeg = CFrame.new(0,.5,-.5)*CFrame.Angles(rad(-20),0,0),
  619. LeftLeg = CFrame.Angles(0,0,0),
  620. Torso = CFrame.Angles(rad(10),0,0)
  621. }
  622. },
  623. ["Holding"] = {
  624. ["Stance"] = {
  625. speed=.25,
  626. Head = CFrame.Angles(cos(angle)*0.01,0,0),
  627. RightArm = CFrame.Angles(cos(angle)*0.1,0,rad(10)),
  628. LeftArm = CFrame.Angles(-cos(angle)*0.1,0,-rad(10)),
  629. RightLeg = CFrame.Angles(cos(angle)*0.1,0,0),
  630. LeftLeg = CFrame.Angles(-cos(angle)*0.1,0,0),
  631. Torso = CFrame.Angles(0,0,0)
  632. },
  633. ["Walk"] = {
  634. speed=2,
  635. Head = CFrame.Angles(0,0,cos(angle)*0.05),
  636. RightArm = CFrame.Angles(-cos(angle)*.3,0,rad(10)),
  637. LeftArm = CFrame.Angles(cos(angle)*.3,0,-rad(10)),
  638. RightLeg = CFrame.Angles(cos(angle)*1,0,0),
  639. LeftLeg = CFrame.Angles(-cos(angle)*1,0,0),
  640. Torso = CFrame.Angles(0,0,0)
  641. },
  642. ["Jump"] = {
  643. speed=2,
  644. Head = CFrame.Angles(0,0,0),
  645. RightArm = CFrame.Angles(rad(-20),0,0),
  646. LeftArm = CFrame.Angles(rad(-20),0,0),
  647. RightLeg = CFrame.new(0,.5,-.5)*CFrame.Angles(rad(-20),0,0),
  648. LeftLeg = CFrame.Angles(0,0,0),
  649. Torso = CFrame.Angles(rad(10),0,0)
  650. }
  651. }
  652. }
  653. end
  654.  
  655. UpdateAnims()
  656. equi=false
  657. jumpt=false
  658. walked=false
  659.  
  660. SetAnimData({Head=true,RightArm=true,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=true})
  661.  
  662. CurrentActiveAnim="Idle"
  663.  
  664. function jump()
  665. if attack == true or jumpt==true then return end
  666. jumpt=true
  667. attack=true
  668. Spawn(function()
  669. for i=1,3 do wait()
  670. local efx= Part(100,100,100,'Really red',100,false,true,m)
  671. local m= Mesh(efx,'http://www.roblox.com/asset/?id=20329976',300,100,300)
  672. efx.CFrame=torso.CFrame
  673. Spawn(function()
  674. for i=1,7 do wait()
  675. m.Scale=m.Scale+Vector3.new(1,.2,1)
  676. efx.Transparency=efx.Transparency+.12
  677. end
  678. efx:Destroy()
  679. end)
  680. end
  681. end)
  682. local vs = Instance.new("BodyVelocity",pchar.Torso)
  683. vs.maxForce = Vector3.new(100,100,100)*9e9
  684. vs.P = 2000
  685. vs.velocity = pchar.Torso.CFrame.lookVector*60+Vector3.new(0,250,0)
  686. wait(.025)
  687. vs:Destroy()
  688. trail(blade,50,50)
  689. so('665549876',torso,false,.8)
  690. SetAnimData({Head=false,RightArm=false,LeftArm=false,RightLeg=true,LeftLeg=true,Torso=false})
  691. LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,0,0)
  692. LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(90),0,-rad(40))*CFrame.new(0,-.5,0)
  693. LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(90),0,rad(40))*CFrame.new(0,-.5,0)
  694. LerpTo.hndl.To = CFrame.new(0,-0.3,0)*CFrame.Angles(0,rad(90),0)*CFrame.Angles(rad(130),0,0)
  695. local spn=0
  696. for i=1,14 do
  697. spn=spn+30
  698. wait(i/1000)
  699. LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(rad(spn),0,0)
  700. end
  701. SetAnimData({Head=false,RightArm=false,LeftArm=false,RightLeg=false,LeftLeg=false,Torso=false})
  702. LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(90),0,-rad(40))* CFrame.new(-.2,-.25,0)
  703. LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(90),0,rad(40))* CFrame.new(.2,-.25,0)
  704. LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,0) * CFrame.new(0,0,-1)
  705. LerpTo.LeftLeg.To = LerpTo.LeftLeg.Cache * CFrame.Angles(0,0,0) * CFrame.new(0,1,-1)
  706. LerpTo.RightLeg.To = LerpTo.RightLeg.Cache * CFrame.Angles(-rad(50),0,0) * CFrame.new(0,0.5,0)
  707. LerpTo.hndl.To = CFrame.new(0,-0.3,0)*CFrame.Angles(0,0,-rad(90))*CFrame.Angles(-rad(130),0,0)
  708. hitted=false
  709. local hp=blade.Touched:connect(function(hit)
  710. if hitted == true or hit.Parent.Name==pchar.Name then return end
  711. so('514867425',torso,false,1)
  712. hitted=true
  713. explosion('Really black','Really red',torso.CFrame,Vector3.new(40,40,40),30,40)
  714. for i=1, 20 do
  715. local p= Part(math.random(2,7),math.random(2,7),math.random(2,7),workspace.Base.BrickColor.Color,0,false,false,pchar)
  716. p.Material=workspace.Base.Material
  717. p.CFrame=CFrame.new(torso.CFrame.x+math.random(-i,i),0,torso.CFrame.z+math.random(-i,i))*CFrame.Angles(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)*CFrame.Angles(pi/2,0,0)
  718. p.Velocity=Vector3.new(math.random(-100,100),math.random(30,100),math.random(-100,100))
  719. game.Debris:AddItem(p,2)
  720. Spawn(function()
  721. for i=1,10 do wait(.01)
  722. p.Transparency=p.Transparency+.1
  723. end
  724. end)
  725. end
  726. end)
  727. repeat wait() until hitted
  728. hp:disconnect()
  729. wait(.5)
  730. SetAnimData({Head=true,RightArm=true,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=true})
  731. LerpTo.hndl.To = LerpTo.hndl.Cache
  732. attack=false
  733. SetAnimData({Head=true,RightArm=false,LeftArm=false,RightLeg=true,LeftLeg=true,Torso=true})
  734. LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(70),rad(20),-rad(70))*CFrame.new(0,-1,0)
  735. LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(0,0,-rad(30))
  736. wait(.01)
  737. mwl.Part1=pchar['Right Arm']
  738. mwl.C1=CFrame.new(0,-1,0)*CFrame.Angles(-rad(90),0,rad(90))
  739. wait(.2)
  740. CurrentActiveAnim="Holding"
  741. LerpTo.hndl.To = LerpTo.hndl.Cache
  742. SetAnimData({Head=true,RightArm=true,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=true})
  743. Spawn(function()
  744. wait(math.random(10,20))
  745. jumpt=false
  746. end)
  747. end
  748.  
  749. function swing()
  750. if attack == true then return end
  751. if combo==0 then
  752. attack=true
  753. tmdmg(20,blade,20,20)
  754. SetAnimData({Head=false,RightArm=false,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=false})
  755. LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(120),rad(40),-rad(50))*CFrame.new(0,-.5,0)
  756. LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,rad(30))
  757. LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,-rad(30),0)
  758. wait(.1)
  759. trail(blade,50,50)
  760. so('357622136',torso,false,1)
  761. LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(0,0,rad(50))*CFrame.new(0,-.5,0)
  762. LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,-rad(30))
  763. LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,rad(30),0)
  764. wait(.2)
  765. attack=false
  766. combo=1
  767. elseif combo==1 then
  768. attack=true
  769. tmdmg(20,blade,20,20)
  770. SetAnimData({Head=false,RightArm=false,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=false})
  771. LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(150),0,rad(120))*CFrame.new(-.5,0,0)
  772. LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,-rad(30))
  773. LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,rad(30),0)
  774. wait(.1)
  775. trail(blade,50,50)
  776. so('357622136',torso,false,.8)
  777. LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(70),0,-rad(50))*CFrame.new(.5,0,-0.5)*CFrame.Angles(0,-rad(90),0)
  778. LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,rad(70))
  779. LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,-rad(70),0)
  780. wait(.2)
  781. attack=false
  782. combo=2
  783. elseif combo==2 then
  784. attack=true
  785. trail(blade,50,50)
  786. tmdmg(20,blade,20,20)
  787. so('665549876',torso,false,1)
  788. SetAnimData({Head=false,RightArm=false,LeftArm=false,RightLeg=true,LeftLeg=true,Torso=false})
  789. LerpTo.Neck.To = LerpTo.Neck.Cache * CFrame.Angles(0,0,0)
  790. LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(90),0,-rad(40))*CFrame.new(0,-.5,0)
  791. LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(rad(90),0,rad(40))*CFrame.new(0,-.5,0)
  792. LerpTo.hndl.To = CFrame.new(0,-0.3,0)*CFrame.Angles(rad(90),0,0)
  793. local spn=0
  794. for i=1,15 do
  795. spn=spn+30
  796. wait(i/1000)
  797. LerpTo.RootJoint.To = LerpTo.RootJoint.Cache * CFrame.Angles(0,0,-rad(spn)+rad(70))
  798. end
  799. attack=false
  800. combo=3
  801. end
  802. Spawn(function()
  803. wait(0.6)
  804. if attack==false then
  805. attack=true
  806. SetAnimData({Head=true,RightArm=true,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=true})
  807. LerpTo.hndl.To = LerpTo.hndl.Cache
  808. wait(.2)
  809. attack=false
  810. combo=0
  811. end
  812. end)
  813. end
  814.  
  815. deb=false
  816. function eq()
  817. if attack == true then return end
  818. if deb==true then return end
  819. deb=true
  820. SetAnimData({Head=true,RightArm=false,LeftArm=false,RightLeg=true,LeftLeg=true,Torso=true})
  821. LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(70),rad(20),-rad(70))*CFrame.new(0,-1,0)
  822. LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(0,0,-rad(30))
  823. wait(.01)
  824. mwl.Part1=pchar['Right Arm']
  825. mwl.C1=CFrame.new(0,-1,0)*CFrame.Angles(-rad(90),0,rad(90))
  826. wait(.2)
  827. CurrentActiveAnim="Holding"
  828. LerpTo.hndl.To = LerpTo.hndl.Cache
  829. SetAnimData({Head=true,RightArm=true,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=true})
  830. deb=false
  831. equi=true
  832. end
  833. function deq()
  834. if attack == true then return end
  835. if deb==true then return end
  836. deb=true
  837. wait(2)
  838. SetAnimData({Head=true,RightArm=false,LeftArm=false,RightLeg=true,LeftLeg=true,Torso=true})
  839. LerpTo.RightArm.To = LerpTo.RightArm.Cache * CFrame.Angles(rad(70),rad(20),-rad(70))*CFrame.new(0,-1,0)
  840. LerpTo.LeftArm.To = LerpTo.LeftArm.Cache * CFrame.Angles(0,0,-rad(30))
  841. LerpTo.hndl.To = CFrame.new(0,-0.3,0)*CFrame.Angles(0,0,0)
  842. wait(.1)
  843. mwl.Part1=pchar.Torso
  844. mwl.C1=CFrame.new(-1,0,-1)*CFrame.Angles(rad(120),0,0)
  845. wait(.1)
  846. CurrentActiveAnim="Idle"
  847. SetAnimData({Head=true,RightArm=true,LeftArm=true,RightLeg=true,LeftLeg=true,Torso=true})
  848. deb=false
  849. equi=false
  850. end
  851. chardeb=false
  852. game:service'RunService'.Stepped:connect(function()
  853. if pchar.Humanoid.Health<1 then if chardeb==false then chardeb=true wait(5) pchar:Destroy() build() chardeb=false end end
  854. closer={}
  855. for _,x in pairs(workspace:GetChildren()) do
  856. if x.ClassName=="Model" and x:findFirstChild("Humanoid")~=nil and x:findFirstChild("Torso")~=nil then
  857. dist = (x.Torso.Position - torso.Position).magnitude
  858. if dist <= 1000 and x.Name ~= workspace[protect].Name then
  859. table.insert(closer,x.Name)
  860. end
  861. end
  862. end
  863. if #closer > 0 then
  864. if equi==false then eq() end
  865. for _,x in pairs(workspace:GetChildren()) do
  866. if x.ClassName=="Model" and x:findFirstChild("Humanoid")~=nil and x:findFirstChild("Torso")~=nil then
  867. dist = (x.Torso.Position - torso.Position).magnitude
  868. if dist <= 2000 and x.Name ~= workspace[protect].Name then
  869. if equi==true then hum:MoveTo(workspace[closer[1]].Torso.Position)
  870. jump()
  871. swing()
  872. end
  873. end
  874. end
  875. end
  876. else
  877. if equi==true then deq() end
  878. Spawn(function()
  879. if walked==false then
  880. walked=true
  881. hum:MoveTo(workspace[protect].Torso.Position+Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  882. wait(7)
  883. walked=false
  884. end
  885. end)
  886. end
  887. UpdateAnims(angle)
  888. for _,v in pairs(LerpTo) do
  889. v.Weld.C0 = Lerp.CFrame(v.Weld.C0,v.To,v.Speed)
  890. end
  891. angle = (angle % 100) + anglespeed/10
  892. if Vector3.new(0, torso.Velocity.y, 0).magnitude > 2 then
  893. CheckAnimData(CurrentActiveAnim,"Jump")
  894. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  895. CheckAnimData(CurrentActiveAnim,"Stance")
  896. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then
  897. CheckAnimData(CurrentActiveAnim,"Walk")
  898. end
  899. end)
  900.  
  901.  
  902. local p = game.Players.LocalPlayer
  903. local char = p.Character
  904. local mouse = p:GetMouse()
  905. local larm = char["Left Arm"]
  906. local rarm = char["Right Arm"]
  907. local lleg = char["Left Leg"]
  908. local rleg = char["Right Leg"]
  909. local hed = char.Head
  910. local torso = char.Torso
  911. local CanAttack = true
  912.  
  913.  
  914. Debounces = {
  915. CanAttack = true;
  916. CanJoke = true;
  917. NoIdl = false;
  918. Slashing = false;
  919. Slashed = false;
  920. Slapping = false;
  921. Slapped = false;
  922. ks = false;
  923. }
  924.  
  925. local Touche = {char.Name, }
  926. local Character = p.Character
  927.  
  928.  
  929. mouse.KeyDown:connect(function(key)
  930. if key == "l" then
  931. if Debounces.CanJoke == true then
  932. Debounces.CanJoke = false
  933. z = Instance.new("Sound",char)
  934. z.SoundId = "rbxassetid://184605339"
  935. z.Pitch = 0.78
  936. z.Volume = 2
  937. wait()
  938. z:Play()
  939. wait(20)
  940. z:Destroy()
  941. if Debounces.CanJoke == false then
  942. Debounces.CanJoke = true
  943. end
  944. end
  945. end
  946. end)
  947. ----------------------------------------------------
  948. mouse.KeyDown:connect(function(key)
  949. if key == "k" then
  950. if Debounces.CanJoke == true then
  951. Debounces.CanJoke = false
  952. z = Instance.new("Sound",char)
  953. z.SoundId = "rbxassetid://246649905"
  954. z.Pitch = 1
  955. z.Volume = 2
  956. wait()
  957. z:Play()
  958. wait(100)
  959. z:Destroy()
  960. if Debounces.CanJoke == false then
  961. Debounces.CanJoke = true
  962. end
  963. end
  964. end
  965. end)
  966. ----------------------------------------------------
  967. mouse.KeyDown:connect(function(key)
  968. if key == "j" then
  969. if Debounces.CanJoke == true then
  970. Debounces.CanJoke = false
  971. z = Instance.new("Sound",char)
  972. z.SoundId = "rbxassetid://246646210"
  973. z.Pitch = 1
  974. z.Volume = 3
  975. wait()
  976. z:Play()
  977. wait(100)
  978. z:Destroy()
  979. if Debounces.CanJoke == false then
  980. Debounces.CanJoke = true
  981. end
  982. end
  983. end
  984. end)
  985. ----------------------------------------------------
  986. name = game.Players.LocalPlayer.Name
  987. player = game.Players:WaitForChild(name)
  988. chara = player.Character
  989. debby = game:GetService("Debris")
  990. chara.Humanoid.MaxHealth = math.huge
  991. chara.Humanoid.Health = math.huge
  992. chara.Humanoid.WalkSpeed = 50
  993. chara.Humanoid.JumpPower = 100
  994.  
  995. local p = Instance.new("Part", chara)
  996. p.Name = "Ears"
  997. p.BrickColor = BrickColor.new("Really red")
  998. p.Size = Vector3.new(0, 0, 0)
  999. p.BottomSurface = 0
  1000. p.TopSurface = 0
  1001. p.Position = chara.Head.Position
  1002. local pweld = Instance.new("Weld", p)
  1003. pweld.Part0 = chara.Head
  1004. pweld.Part1 = p
  1005. pweld.C0 = CFrame.new(0, 0.7, 0)
  1006. pweld.C0 = pweld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, math.rad(180))
  1007. local earmesh = Instance.new("SpecialMesh", p)
  1008. earmesh.MeshType = "FileMesh"
  1009. earmesh.MeshId = "http://www.roblox.com/asset/?id=1374148"
  1010. earmesh.Scale = Vector3.new(1.1, 1.5, 3)
  1011.  
  1012. local fakehead = chara.Head:clone()
  1013. fakehead.Name = "FakeHead"
  1014. fakehead.Parent = chara
  1015. fakehead.Position = chara.Head.Position
  1016. fakehead.Transparency = 0
  1017. fakehead.face.Texture = "http://www.roblox.com/asset/?id=105092745"
  1018.  
  1019. local hand1 = Instance.new("Part", chara)
  1020. hand1.Name = "Hand1"
  1021. hand1.Size = Vector3.new(0.8, 0.8, 0.8)
  1022. hand1.Transparency = 1
  1023. hand1.Position = chara["Left Arm"].Position
  1024. local hand1weld = Instance.new("Weld", hand1)
  1025. hand1weld.Part0 = chara["Left Arm"]
  1026. hand1weld.Part1 = hand1
  1027. hand1weld.C0 = CFrame.new(0, -1, 0)
  1028. local hand2 = hand1:Clone()
  1029. hand2.Name = "Hand2"
  1030. hand2.Parent = chara
  1031. hand2.Position = chara["Right Arm"].Position
  1032. local hand2weld = Instance.new("Weld", hand2)
  1033. hand2weld.Part0 = chara["Right Arm"]
  1034. hand2weld.Part1 = hand2
  1035. hand2weld.C0 = CFrame.new(0, -1, 0)
  1036.  
  1037. color3colour = {
  1038. BrickColor.new("Really red").Color,
  1039. BrickColor.new("Really red").Color,
  1040. BrickColor.new("Really red").Color,
  1041. BrickColor.new("Really red").Color,
  1042. BrickColor.new("Really red").Color,
  1043. BrickColor.new("Really red").Color
  1044. }
  1045. breekcolour = {
  1046. BrickColor.new("Really red"),
  1047. BrickColor.new("Really red"),
  1048. BrickColor.new("Really red"),
  1049. BrickColor.new("Really red"),
  1050. BrickColor.new("Really red"),
  1051. BrickColor.new("Really red")
  1052. }
  1053. firecolour = {
  1054. ColorSequenceKeypoint.new(0, BrickColor.new("Really red").Color),
  1055. ColorSequenceKeypoint.new(0.05, BrickColor.new("Really red").Color),
  1056. ColorSequenceKeypoint.new(0.1, BrickColor.new("Really red").Color),
  1057. ColorSequenceKeypoint.new(0.15, BrickColor.new("Really red").Color),
  1058. ColorSequenceKeypoint.new(0.2, BrickColor.new("Really red").Color),
  1059. ColorSequenceKeypoint.new(0.25, BrickColor.new("Really red").Color),
  1060. ColorSequenceKeypoint.new(1, BrickColor.new("Really red").Color)
  1061. }
  1062. barcolour = {
  1063. ColorSequenceKeypoint.new(0, BrickColor.new("Really red").Color),
  1064. ColorSequenceKeypoint.new(0.2, BrickColor.new("Really red").Color),
  1065. ColorSequenceKeypoint.new(0.4, BrickColor.new("Really red").Color),
  1066. ColorSequenceKeypoint.new(0.6, BrickColor.new("Really red").Color),
  1067. ColorSequenceKeypoint.new(0.8, BrickColor.new("Really red").Color),
  1068. ColorSequenceKeypoint.new(1, BrickColor.new("Really red").Color)
  1069. }
  1070. normallife = {
  1071. NumberSequenceKeypoint.new(0, 0),
  1072. NumberSequenceKeypoint.new(1, 1)
  1073. }
  1074. extendlife = {
  1075. NumberSequenceKeypoint.new(0, 0),
  1076. NumberSequenceKeypoint.new(0.8, 0),
  1077. NumberSequenceKeypoint.new(1, 1)
  1078. }
  1079. function createrainbow(color, part, texture, size, trans, life, face, speed, accel, velsp, lock, name)
  1080. local fira = Instance.new("ParticleEmitter", part)
  1081. fira.Name = name
  1082. fira.Color = ColorSequence.new(color)
  1083. fira.Size = size
  1084. fira.Texture = texture
  1085. fira.Transparency = trans
  1086. fira.Lifetime = life
  1087. fira.EmissionDirection = face
  1088. fira.Rate = 100000000
  1089. fira.RotSpeed = NumberRange.new(10000)
  1090. fira.Speed = speed
  1091. fira.VelocitySpread = velsp
  1092. fira.Acceleration = accel
  1093. fira.LightEmission = 1
  1094. fira.LockedToPart = lock
  1095. end
  1096. handfire1 = createrainbow(firecolour, hand1, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  1097. NumberSequenceKeypoint.new(0, 0.4),
  1098. NumberSequenceKeypoint.new(1, 0)
  1099. }), NumberSequence.new(extendlife), NumberRange.new(1), "Left", NumberRange.new(1), Vector3.new(0, 2, 0), 0, false, "FireEffect")
  1100. handfire2 = createrainbow(firecolour, hand2, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  1101. NumberSequenceKeypoint.new(0, 0.4),
  1102. NumberSequenceKeypoint.new(1, 0)
  1103. }), NumberSequence.new(extendlife), NumberRange.new(1), "Right", NumberRange.new(1), Vector3.new(0, 2, 0), 0, false, "FireEffect")
  1104. createrainbow(barcolour, orbuur, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  1105. NumberSequenceKeypoint.new(0, 1),
  1106. NumberSequenceKeypoint.new(0.8, 1),
  1107. NumberSequenceKeypoint.new(1, 0)
  1108. }), NumberSequence.new(extendlife), NumberRange.new(1), "Front", NumberRange.new(0), Vector3.new(0, 0, 0), 0, false, "OrbEffect")
  1109. local spelleffect = Instance.new("ParticleEmitter", chara.Torso)
  1110. spelleffect.Texture = "http://www.roblox.com/asset/?id=679657454"
  1111. spelleffect.Speed = NumberRange.new(0)
  1112. spelleffect.LightEmission = 1
  1113. spelleffect.Transparency = NumberSequence.new(normallife)
  1114. spelleffect.Size = NumberSequence.new({
  1115. NumberSequenceKeypoint.new(0, 0),
  1116. NumberSequenceKeypoint.new(1, 10)
  1117. })
  1118. spelleffect.Rate = 0.001
  1119. spelleffect.Rotation = NumberRange.new(0, 359)
  1120. spelleffect.RotSpeed = NumberRange.new(1000)
  1121. spelleffect.Lifetime = NumberRange.new(1)
  1122. createrainbow(barcolour, hand2, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  1123. NumberSequenceKeypoint.new(0, 1),
  1124. NumberSequenceKeypoint.new(1, 0)
  1125. }), NumberSequence.new(normallife), NumberRange.new(1), "Front", NumberRange.new(10), Vector3.new(0, 0, 0), 1000, true, "PowerEffect")
  1126. powereffect = hand2.PowerEffect
  1127. powereffect.Enabled = false
  1128. local naeeym = Instance.new("BillboardGui", chara)
  1129. naeeym.Size = UDim2.new(0, 100, 0, 40)
  1130. naeeym.StudsOffset = Vector3.new(0, 2, 0)
  1131. naeeym.Adornee = chara.Head
  1132. local tecks = Instance.new("TextLabel", naeeym)
  1133. tecks.BackgroundTransparency = 1
  1134. tecks.BorderSizePixel = 0
  1135. tecks.Text = ""
  1136. tecks.Font = "Fantasy"
  1137. tecks.FontSize = "Size24"
  1138. tecks.TextStrokeTransparency = 0
  1139. tecks.TextColor3 = Color3.new(1, 1, 1)
  1140. tecks.TextStrokeColor3 = BrickColor.new("Really red").Color
  1141. tecks.Size = UDim2.new(1, 0, 0.5, 0)
  1142. Void = nil
  1143. VoidParts = {}
  1144. Equipped = false
  1145. Counter = 1
  1146. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1147. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1148. end
  1149. Player = player
  1150. Character = chara
  1151. Humanoid = Character:FindFirstChild("Humanoid")
  1152. Torso = Character:FindFirstChild("Torso")
  1153. if not Player or not Humanoid or Humanoid.Health == 0 or not chara.Torso then
  1154. return
  1155. end
  1156. Equipped = true
  1157. Void = Instance.new("Model")
  1158. Void.Name = "Void"
  1159. Angle = 0
  1160. for i = 1, 1 do
  1161. local VoidPart = Instance.new("Part")
  1162. VoidPart.Name = "VoidPart"
  1163. VoidPart.Transparency = 1
  1164. VoidPart.BrickColor = BrickColor.new("Really red")
  1165. VoidPart.Material = Enum.Material.Plastic
  1166. VoidPart.Shape = Enum.PartType.Block
  1167. VoidPart.FormFactor = Enum.FormFactor.Custom
  1168. VoidPart.TopSurface = Enum.SurfaceType.Smooth
  1169. VoidPart.BottomSurface = Enum.SurfaceType.Smooth
  1170. VoidPart.Anchored = true
  1171. VoidPart.CanCollide = false
  1172. VoidPart.Locked = true
  1173. VoidPart.Size = Vector3.new(10, 0.2, 10)
  1174. fiyer = createrainbow(firecolour, VoidPart, "http://www.roblox.com/asset/?id=224413104", NumberSequence.new({
  1175. NumberSequenceKeypoint.new(0, 0.4),
  1176. NumberSequenceKeypoint.new(1, 0)
  1177. }), NumberSequence.new({
  1178. NumberSequenceKeypoint.new(0, 0),
  1179. NumberSequenceKeypoint.new(0.99, 0),
  1180. NumberSequenceKeypoint.new(1, 1)
  1181. }), NumberRange.new(10), "Top", NumberRange.new(2), Vector3.new(0, 2, 0), 0, false, "FireEffect")
  1182. VoidPart.FireEffect.Rate = 10
  1183. local BlockMesh = Instance.new("BlockMesh")
  1184. BlockMesh.Scale = Vector3.new(50, 50, 50)
  1185. BlockMesh.Parent = VoidPart
  1186. VoidPart.Parent = Void
  1187. local Star = Instance.new("Decal", VoidPart)
  1188. Star.Texture = "http://www.roblox.com/asset/?id=418573228"
  1189. Star.Face = "Top"
  1190. local Light = Instance.new("PointLight", VoidPart)
  1191. Light.Color = Color3.new(1, 0, 0)
  1192. Light.Brightness = 10
  1193. Light.Range = 10
  1194. table.insert(VoidParts, VoidPart)
  1195. end
  1196. Spawn(function()
  1197. while Equipped and Humanoid.Parent and Humanoid.Health > 0 and chara do
  1198. if Angle == 360 then
  1199. Angle = 0
  1200. end
  1201. Angle = Angle + 0.05
  1202. chara.Humanoid.MaxHealth = math.huge
  1203. chara.Humanoid.Health = math.huge
  1204. Counter = Counter + 1
  1205. if Counter == 7 then
  1206. Counter = 1
  1207. end
  1208. tecks.TextStrokeColor3 = color3colour[Counter]
  1209. fakehead.face.Color3 = color3colour[Counter]
  1210. Void.VoidPart.Decal.Color3 = color3colour[Counter]
  1211. Void.VoidPart.PointLight.Color = color3colour[Counter]
  1212. local parentPos = chara.Torso.CFrame
  1213.  
  1214. local Hit, EndPosition = RayCast(chara.Torso.Position, Vector3.new(0, -1, 0), chara.Torso.Size.Y * 6.5, {Character})
  1215. if Hit then
  1216. if not Void.Parent then
  1217. Void.Parent = Character
  1218. end
  1219. for i, v in pairs(VoidParts) do
  1220. v.CFrame = CFrame.new(chara.Torso.Position.X, EndPosition.Y, chara.Torso.Position.Z) * CFrame.Angles(0, Angle + i, 0)
  1221. end
  1222. else
  1223. Void.Parent = nil
  1224. end
  1225. wait()
  1226. end
  1227. end)
  1228. ------------------------------------------------------------
  1229. Me = game.Players.LocalPlayer
  1230. player = Me
  1231. char = Me.Character
  1232. chara = char
  1233. larm = char["Left Arm"]
  1234. rarm = char["Right Arm"]
  1235. lleg = char["Left Leg"]
  1236. rleg = char["Right Leg"]
  1237. torso = char.Torso
  1238. hed = char.Head
  1239. mouse = player:GetMouse()
  1240. lght = game.Lighting
  1241. lichtact = false
  1242. moosicact = false
  1243. gotsagofest = true
  1244. chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  1245. chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  1246.  
  1247. hed.BrickColor = BrickColor.new("Really black")
  1248. torso.BrickColor = BrickColor.new("Really black")
  1249. larm.BrickColor = BrickColor.new("Really black")
  1250. rarm.BrickColor = BrickColor.new("Really black")
  1251. lleg.BrickColor = BrickColor.new("Really black")
  1252. rleg.BrickColor = BrickColor.new("Really black")
  1253.  
  1254. hat=Instance.new("Part",chara)
  1255.  
  1256. hat.Size = Vector3.new(1, 1, 1)
  1257.  
  1258. hatm = Instance.new("SpecialMesh",hat)
  1259.  
  1260. hatm.MeshType = "FileMesh"
  1261.  
  1262. hatm.MeshId = "http://www.roblox.com/asset/?id=495214258"
  1263.  
  1264. hatm.TextureId = "http://www.roblox.com/asset/?id=412059413"
  1265.  
  1266. hatw = Instance.new("Weld",hat)
  1267.  
  1268. hatw.Part0 = hat
  1269.  
  1270. hatw.Part1 = chara.Head
  1271.  
  1272. New = function(Object, Parent, Name, Data)
  1273. local Object = Instance.new(Object)
  1274. for Index, Value in pairs(Data or {}) do
  1275. Object[Index] = Value
  1276. end
  1277. Object.Parent = Parent
  1278. Object.Name = Name
  1279. return Object
  1280. end
  1281.  
  1282. Mouse = player:GetMouse()
  1283.  
  1284. for i,v in pairs(chara:children()) do
  1285. if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
  1286. v:Destroy()
  1287. end
  1288. end
  1289. char.Head.face:Destroy()
  1290.  
  1291. local Orbd = Instance.new("Part", char)
  1292. Orbd.Name = "Orbd"
  1293. Orbd.Shape = Enum.PartType.Ball
  1294. Orbd.CanCollide = false
  1295. Orbd.BrickColor = BrickColor.new("Really red")
  1296. Orbd.Transparency = 0
  1297. Orbd.Material = "Neon"
  1298. Orbd.Size = Vector3.new(0.1, 0.1, 0.1)
  1299. Orbd.TopSurface = Enum.SurfaceType.Smooth
  1300. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  1301. local Weld = Instance.new("Weld", Orbd)
  1302. Weld.Part0 = char.Head
  1303. Weld.Part1 = Orbd
  1304. Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
  1305. local glov = Instance.new("PointLight", Orbd)
  1306. glov.Brightness = 0.25
  1307. glov.Range = 20
  1308. glov.Color = Color3.new(255, 0, 0)
  1309. local Orbvc = Instance.new("Part", char)
  1310. Orbvc.Name = "Orbvc"
  1311. Orbvc.Shape = Enum.PartType.Ball
  1312. Orbvc.CanCollide = false
  1313. Orbvc.BrickColor = BrickColor.new("Really red")
  1314. Orbvc.Transparency = 0
  1315. Orbvc.Material = "Neon"
  1316. Orbvc.Size = Vector3.new(0.1, 0.1, 0.1)
  1317. Orbvc.TopSurface = Enum.SurfaceType.Smooth
  1318. Orbvc.BottomSurface = Enum.SurfaceType.Smooth
  1319. local Weld = Instance.new("Weld", Orbvc)
  1320. Weld.Part0 = char.Head
  1321. Weld.Part1 = Orbvc
  1322. Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
  1323. local glo = Instance.new("PointLight", Orbvc)
  1324. glo.Brightness = 0.25
  1325. glo.Range = 20
  1326. glo.Color = Color3.new(1, 0, 0)
  1327.  
  1328. local IsFreeFalling = false
  1329. local SpinPart = Instance.new('Part')
  1330. SpinPart.Transparency = 1
  1331. SpinPart.Size = Vector3.new(100,1,100)
  1332. SpinPart.CanCollide = false
  1333. SpinPart.FormFactor = 'Custom'
  1334. local FX = Instance.new('ParticleEmitter',SpinPart)
  1335. FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Really red").Color, 0)}), NumberSequence.new(2), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://386837338",-0.1
  1336. local FX = Instance.new('ParticleEmitter',SpinPart)
  1337. FX.Color,FX.Size,FX.Lifetime,FX.Rate,FX.Speed,FX.EmissionDirection,FX.Transparency,FX.LockedToPart,FX.Texture,FX.VelocityInheritance = ColorSequence.new({ColorSequenceKeypoint.new(0, BrickColor.new("Really black").Color, 0), ColorSequenceKeypoint.new(1, BrickColor.new("Really red").Color, 0)}), NumberSequence.new(2), NumberRange.new(3.75,3.75), 125, NumberRange.new(5,5), "Top", NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.25,0,0),NumberSequenceKeypoint.new(0.9,0,0),NumberSequenceKeypoint.new(0.975,1,0),NumberSequenceKeypoint.new(1,1,0)}), false, "rbxassetid://418573253",0.1
  1338. do
  1339. local tspin = Instance.new('BodyAngularVelocity')
  1340. tspin.angularvelocity = Vector3.new(0,1,0)
  1341. tspin.maxTorque =Vector3.new(math.huge,math.huge,math.huge)
  1342. tspin.Parent = SpinPart
  1343. end
  1344. local SpinPos = Instance.new('BodyPosition')
  1345. SpinPos.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1346. SpinPos.Parent = SpinPart
  1347.  
  1348. function Equipped()
  1349. IsEquipped = true
  1350. local MyTorso = char.Torso
  1351. if MyTorso then
  1352. spawn(function()
  1353. local startTime = tick()
  1354. SpinPart.CFrame = CFrame.new(MyTorso.CFrame.p+Vector3.new(0,-2.8,0))
  1355. SpinPart.Parent = MyTorso
  1356. local fadeIn = true
  1357. while IsEquipped do
  1358. if not IsFreeFalling then
  1359. SpinPos.position = MyTorso.CFrame.p+Vector3.new(0,-2.8,0)
  1360. end
  1361. wait()
  1362. end
  1363. SpinPart.Parent = nil
  1364.  
  1365. end)
  1366. end
  1367. end
  1368.  
  1369.  
  1370. wait(0.01)
  1371. Equipped()
  1372.  
  1373.  
  1374. function start()
  1375. print("Darkness falls across the battlefield...")
  1376. wait()
  1377. print("----------------------------------------")
  1378. wait()
  1379. print(" - Ender booted up. -")
  1380. wait()
  1381. print("- Ender written by yeox769. -")
  1382. i = 0
  1383. while i<1 do
  1384. wait()
  1385. i = i + 0.01
  1386. l.Contrast,l.Saturation,l.Brightness = l.Contrast + 0.02, l.Saturation - 0.0075, l.Brightness + 0.00375
  1387. l.TintColor = Color3.new(1,1-i,1-i)
  1388. end
  1389. end
  1390.  
  1391. delay(0,start)
  1392.  
  1393. TC = chara.HumanoidRootPart.RootJoint
  1394. HC = chara.Torso.Neck
  1395. RAC = chara.Torso["Right Shoulder"]
  1396. LAC = chara.Torso["Left Shoulder"]
  1397. RLC = chara.Torso["Right Hip"]
  1398. LLC = chara.Torso["Left Hip"]
  1399. TCF = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1400. HCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  1401. RACF = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1402. LACF = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1403. RLCF = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  1404. LLCF = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1405. RWF = CFrame.new(-1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1406. LWF = CFrame.new(1.5, 0, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1407. RLWF = CFrame.new(-.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1408. LLWF = CFrame.new(.5, 2, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1409. RW = Instance.new("Weld",HC.Parent)
  1410. RW.Part1 = HC.Parent
  1411. RW.Part0 = chara["Right Arm"]
  1412. RW.C0 = RWF
  1413. LW = Instance.new("Weld",HC.Parent)
  1414. LW.Part1 = HC.Parent
  1415. LW.Part0 = chara["Left Arm"]
  1416. LW.C0 = LWF
  1417. RLW = nil
  1418. LLW = nil
  1419.  
  1420.  
  1421. function clerp(a,b,c)
  1422. return a:lerp(b,c)
  1423. end
  1424.  
  1425. TC.C0 = TCF
  1426. HC.C0 = HCF
  1427. RW.C0 = RWF
  1428. LW.C0 = LWF
  1429.  
  1430. --Idle Clerp--
  1431. ITCF = TCF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(10))
  1432. IHCF = HCF * CFrame.fromEulerAnglesXYZ(math.rad(10),0,math.rad(-10))
  1433. IRWF = RWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(-2))
  1434. ILWF = LWF * CFrame.fromEulerAnglesXYZ(0,0,math.rad(2))
  1435.  
  1436. TC.C0 = ITCF
  1437. HC.C0 = IHCF
  1438. RW.C0 = IRWF
  1439. LW.C0 = ILWF
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445. New = function(Object, Parent, Name, Data)
  1446. local Object = Instance.new(Object)
  1447. for Index, Value in pairs(Data or {}) do
  1448. Object[Index] = Value
  1449. end
  1450. Object.Parent = Parent
  1451. Object.Name = Name
  1452. return Object
  1453. end
  1454.  
  1455. function BurningEff(part)
  1456. local eff1 = Instance.new("ParticleEmitter",part)
  1457. eff1.Size = NumberSequence.new(20)
  1458. eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  1459. eff1.LightEmission = 1
  1460. eff1.Lifetime = NumberRange.new(20)
  1461. eff1.Speed = NumberRange.new(0)
  1462. eff1.Rate = 10000
  1463. eff1.Texture = "rbxassetid://347504241"
  1464. eff1.Acceleration = Vector3.new(0,10,0)
  1465. eff1.Color = ColorSequence.new(Color3.new(1,0,0))
  1466. local eff2 = Instance.new("ParticleEmitter",part)
  1467. eff2.Size = NumberSequence.new(1)
  1468. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  1469. eff2.LightEmission = 1
  1470. eff2.Lifetime = NumberRange.new(1)
  1471. eff2.Speed = NumberRange.new(0)
  1472. eff2.Rate = 100
  1473. eff2.Texture = "rbxassetid://347504259"
  1474. eff2.Acceleration = Vector3.new(0,10,0)
  1475. eff2.Color = ColorSequence.new(Color3.new(1,0,0))
  1476. local eff3 = Instance.new("ParticleEmitter",part)
  1477. eff3.Size = NumberSequence.new(1)
  1478. eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  1479. eff3.LightEmission = 1
  1480. eff3.Lifetime = NumberRange.new(1)
  1481. eff3.Speed = NumberRange.new(0)
  1482. eff3.Rate = 100
  1483. eff3.Texture = "rbxasset://textures/particles/fire_main.dds"
  1484. eff3.Acceleration = Vector3.new(0,10,0)
  1485. eff3.Color = ColorSequence.new(Color3.new(1,0,0))
  1486. end
  1487. -----------------------------------------------
  1488. Me = game.Players.LocalPlayer
  1489. player = Me
  1490. char = Me.Character
  1491. root = char.HumanoidRootPart
  1492. chara = char
  1493. larm = char["Left Arm"]
  1494. rarm = char["Right Arm"]
  1495. lleg = char["Left Leg"]
  1496. rleg = char["Right Leg"]
  1497. torso = char.Torso
  1498. hed = char.Head
  1499. mouse = player:GetMouse()
  1500. lght = game.Lighting
  1501. lichtact = false
  1502. moosicact = false
  1503. gotsagofest = true
  1504. chara.Humanoid.MaxHealth = 999e+999
  1505. chara.Humanoid.Health = 999e+999
  1506. r = false
  1507.  
  1508. local shirt = Instance.new("Shirt",chara)
  1509. shirt.ShirtTemplate = "rbxassetid://519769931"
  1510. local pants = Instance.new("Pants",chara)
  1511. pants.PantsTemplate = "rbxassetid://519770250"
  1512.  
  1513. local bg = Instance.new("BillboardGui",hed)
  1514. bg.AlwaysOnTop = true
  1515. local bgframe = Instance.new("Frame",bg)
  1516. bgframe.BackgroundTransparency = 1
  1517. bgframe.Size = UDim2.new(0,200,0,25)
  1518. bgframe.Position = UDim2.new(0.5,-100,0.5,-12)
  1519. local bgtxt = Instance.new("TextLabel",bgframe)
  1520. bgtxt.Size = UDim2.new(0,200,0,25)
  1521. bgtxt.Position = UDim2.new(0.5,-100,0.5,-12)
  1522. bgtxt.BackgroundTransparency = 1
  1523. bgtxt.TextColor3 = BrickColor.new("Really red").Color
  1524. bgtxt.Font = "SciFi"
  1525. bgtxt.TextScaled = true
  1526. spawn(function()
  1527. local txt1 = "Riku by navaltom02"
  1528. local txt2 = "Make them suffer"
  1529. local txt3 = "Welcome to the end!"
  1530. for i=1,#txt1 do
  1531. bgtxt.Text = txt1:sub(1,i)
  1532. wait()
  1533. end
  1534. wait()
  1535. for i=#txt1,1,-1 do
  1536. bgtxt.Text = txt1:sub(1,i)
  1537. wait()
  1538. end
  1539. wait()
  1540. for i=1,#txt2 do
  1541. bgtxt.Text = txt2:sub(1,i)
  1542. wait()
  1543. end
  1544. wait()
  1545. for i=#txt2,1,-1 do
  1546. bgtxt.Text = txt2:sub(1,i)
  1547. wait()
  1548. end
  1549. wait()
  1550. for i=1,#txt3 do
  1551. bgtxt.Text = txt3:sub(1,i)
  1552. wait()
  1553. end
  1554. wait()
  1555. for i=0,1,0.1 do
  1556. bgtxt.TextTransparency = i
  1557. wait()
  1558. end
  1559. bg:Destroy()
  1560. end)
  1561.  
  1562. wait(1)
  1563.  
  1564. New = function(Object, Parent, Name, Data)
  1565. local Object = Instance.new(Object)
  1566. for Index, Value in pairs(Data or {}) do
  1567. Object[Index] = Value
  1568. end
  1569. Object.Parent = Parent
  1570. Object.Name = Name
  1571. return Object
  1572. end
  1573.  
  1574. New("ForceField",char,"ForceField",{Visible = false})
  1575.  
  1576. local z1 = Instance.new("Sound",char)
  1577. z1.Looped = false
  1578. z1.SoundId = "rbxassetid://844632396"
  1579. z1.Volume = 1.5
  1580. local z2 = Instance.new("Sound",char)
  1581. z2.Looped = true
  1582. z2.SoundId = "rbxassetid://844627563"
  1583. z2.Volume = 0.9
  1584.  
  1585. wait(1.5)
  1586.  
  1587.  
  1588. chara.Humanoid.WalkSpeed = 32
  1589. chara.Humanoid.JumpPower = 75
  1590. local naeeym = Instance.new("BillboardGui",chara)
  1591. naeeym.Size = UDim2.new(0,100,0,40)
  1592. naeeym.StudsOffset = Vector3.new(0,2,0)
  1593. naeeym.Adornee = chara.Head
  1594. local tecks = Instance.new("TextLabel",naeeym)
  1595. tecks.BackgroundTransparency = 1
  1596. tecks.BorderSizePixel = 0
  1597. tecks.Text = "???"
  1598. tecks.Font = "Fantasy"
  1599. tecks.FontSize = "Size24"
  1600. tecks.TextStrokeTransparency = 0
  1601. tecks.TextColor3 = Color3.new(0,0,0)
  1602. rrer = BrickColor.new("Really red")
  1603. tecks.TextStrokeColor3 = rrer.Color
  1604. tecks.Size = UDim2.new(1,0,0.5,0)
  1605.  
  1606. local l = Instance.new("ColorCorrectionEffect",game.Lighting)
  1607. l.Contrast,l.Saturation,l.Brightness = 420,-1,-1
  1608. l.TintColor = Color3.new(1,0,0)
  1609. game.Lighting.GeographicLatitude = 20000
  1610.  
  1611. function music()
  1612. z1:Play()
  1613. chara.Humanoid.JumpPower = 0
  1614. chara.Humanoid.WalkSpeed = 0
  1615. wait(9.69)
  1616. chara.Humanoid.JumpPower, chara.Humanoid.WalkSpeed = 75, 25
  1617. l.Brightness, l.Contrast = 1, 1
  1618. r = true
  1619. tecks.Text = "Riku"
  1620. z2:Play()
  1621. i = 0
  1622. while i < 1 do
  1623. wait()
  1624. l.Brightness = l.Brightness - 0.01
  1625. l.Contrast = l.Contrast + 0.03
  1626. i = i + 0.02
  1627. end
  1628. end
  1629. delay(0,music)
  1630. ------------------------------
  1631.  
  1632. wait(1 / 60)
  1633. Effects = { }
  1634. local Player = game.Players.localPlayer
  1635. local Character = Player.Character
  1636. local Humanoid = Character.Humanoid
  1637. local Mouse = Player:GetMouse()
  1638. local LeftArm = Character["Left Arm"]
  1639. local RightArm = Character["Right Arm"]
  1640. local LeftLeg = Character["Left Leg"]
  1641. local RightLeg = Character["Right Leg"]
  1642. local Head = Character.Head
  1643. local Torso = Character.Torso
  1644. local Camera = game.Workspace.CurrentCamera
  1645. local RootPart = Character.HumanoidRootPart
  1646. local RootJoint = RootPart.RootJoint
  1647. local attack = false
  1648. local Anim = 'Idle'
  1649. local attacktype = 1
  1650. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1651. local velocity = RootPart.Velocity.y
  1652. local sine = 0
  1653. local change = 1
  1654. local Create = LoadLibrary("RbxUtility").Create
  1655. Humanoid.MaxHealth = math.huge
  1656. local spooky = Instance.new("Sound",Character)
  1657. spooky.SoundId = "rbxassetid://"
  1658. spooky.Looped = true
  1659. spooky.Pitch = 1
  1660. spooky.Volume = 1.1
  1661. spooky:Stop()
  1662. local spooky2 = Instance.new("Sound",Character)
  1663. spooky2.SoundId = "rbxassetid://"
  1664. spooky2.Looped = false
  1665. spooky2.Pitch = 1
  1666. spooky2.Volume = 1.4
  1667. spooky2:Play()
  1668. local m = Create("Model"){
  1669. Parent = Character,
  1670. Name = "WeaponModel",
  1671. }
  1672.  
  1673.  
  1674.  
  1675. local newMotor = function(part0, part1, c0, c1)
  1676. local w = Create('Motor'){
  1677. Parent = part0,
  1678. Part0 = part0,
  1679. Part1 = part1,
  1680. C0 = c0,
  1681. C1 = c1,
  1682. }
  1683. return w
  1684. end
  1685.  
  1686. function clerp(a, b, t)
  1687. return a:lerp(b, t)
  1688. end
  1689.  
  1690. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1691. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1692.  
  1693. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  1694. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  1695. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  1696. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  1697. RootJoint.C1 = CFrame.new(0, 0, 0)
  1698. RootJoint.C0 = CFrame.new(0, 0, 0)
  1699. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  1700. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  1701.  
  1702. local rarmc1 = RW.C1
  1703. local larmc1 = LW.C1
  1704. local rlegc1 = RH.C1
  1705. local llegc1 = LH.C1
  1706.  
  1707. local resetc1 = false
  1708.  
  1709. function PlayAnimationFromTable(table, speed, bool)
  1710. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  1711. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  1712. RW.C0 = clerp(RW.C0, table[3], speed)
  1713. LW.C0 = clerp(LW.C0, table[4], speed)
  1714. RH.C0 = clerp(RH.C0, table[5], speed)
  1715. LH.C0 = clerp(LH.C0, table[6], speed)
  1716. if bool == true then
  1717. if resetc1 == false then
  1718. resetc1 = true
  1719. RootJoint.C1 = RootJoint.C1
  1720. Torso.Neck.C1 = Torso.Neck.C1
  1721. RW.C1 = rarmc1
  1722. LW.C1 = larmc1
  1723. RH.C1 = rlegc1
  1724. LH.C1 = llegc1
  1725. end
  1726. end
  1727. end
  1728.  
  1729. ArtificialHB = Create("BindableEvent", script){
  1730. Parent = script,
  1731. Name = "Heartbeat",
  1732. }
  1733.  
  1734. script:WaitForChild("Heartbeat")
  1735.  
  1736. frame = 1 / 30
  1737. tf = 0
  1738. allowframeloss = false
  1739. tossremainder = false
  1740. lastframe = tick()
  1741. script.Heartbeat:Fire()
  1742.  
  1743. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1744. tf = tf + s
  1745. if tf >= frame then
  1746. if allowframeloss then
  1747. script.Heartbeat:Fire()
  1748. lastframe = tick()
  1749. else
  1750. for i = 1, math.floor(tf / frame) do
  1751. script.Heartbeat:Fire()
  1752. end
  1753. lastframe = tick()
  1754. end
  1755. if tossremainder then
  1756. tf = 0
  1757. else
  1758. tf = tf - frame * math.floor(tf / frame)
  1759. end
  1760. end
  1761. end)
  1762.  
  1763. function swait(num)
  1764. if num == 0 or num == nil then
  1765. ArtificialHB.Event:wait()
  1766. else
  1767. for i = 0, num do
  1768. ArtificialHB.Event:wait()
  1769. end
  1770. end
  1771. end
  1772.  
  1773. function RemoveOutlines(part)
  1774. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1775. end
  1776.  
  1777. CFuncs = {
  1778. ["Part"] = {
  1779. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1780. local Part = Create("Part"){
  1781. Parent = Parent,
  1782. Reflectance = Reflectance,
  1783. Transparency = Transparency,
  1784. CanCollide = false,
  1785. Locked = true,
  1786. BrickColor = BrickColor.new(tostring(BColor)),
  1787. Name = Name,
  1788. Size = Size,
  1789. Material = Material,
  1790. }
  1791. RemoveOutlines(Part)
  1792. return Part
  1793. end;
  1794. };
  1795.  
  1796. ["Mesh"] = {
  1797. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1798. local Msh = Create(Mesh){
  1799. Parent = Part,
  1800. Offset = OffSet,
  1801. Scale = Scale,
  1802. }
  1803. if Mesh == "SpecialMesh" then
  1804. Msh.MeshType = MeshType
  1805. Msh.MeshId = MeshId
  1806. end
  1807. return Msh
  1808. end;
  1809. };
  1810.  
  1811. ["Mesh"] = {
  1812. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1813. local Msh = Create(Mesh){
  1814. Parent = Part,
  1815. Offset = OffSet,
  1816. Scale = Scale,
  1817. }
  1818. if Mesh == "SpecialMesh" then
  1819. Msh.MeshType = MeshType
  1820. Msh.MeshId = MeshId
  1821. end
  1822. return Msh
  1823. end;
  1824. };
  1825.  
  1826. ["Weld"] = {
  1827. Create = function(Parent, Part0, Part1, C0, C1)
  1828. local Weld = Create("Weld"){
  1829. Parent = Parent,
  1830. Part0 = Part0,
  1831. Part1 = Part1,
  1832. C0 = C0,
  1833. C1 = C1,
  1834. }
  1835. return Weld
  1836. end;
  1837. };
  1838.  
  1839. ["Sound"] = {
  1840. Create = function(id, par, vol, pit)
  1841. coroutine.resume(coroutine.create(function()
  1842. local S = Create("Sound"){
  1843. Volume = vol,
  1844. Pitch = pit or 1,
  1845. SoundId = id,
  1846. Parent = par or workspace,
  1847. }
  1848. wait()
  1849. S:play()
  1850. game:GetService("Debris"):AddItem(S, 6)
  1851. end))
  1852. end;
  1853. };
  1854.  
  1855. ["ParticleEmitter"] = {
  1856. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1857. local fp = Create("ParticleEmitter"){
  1858. Parent = Parent,
  1859. Color = ColorSequence.new(Color1, Color2),
  1860. LightEmission = LightEmission,
  1861. Size = Size,
  1862. Texture = Texture,
  1863. Transparency = Transparency,
  1864. ZOffset = ZOffset,
  1865. Acceleration = Accel,
  1866. Drag = Drag,
  1867. LockedToPart = LockedToPart,
  1868. VelocityInheritance = VelocityInheritance,
  1869. EmissionDirection = EmissionDirection,
  1870. Enabled = Enabled,
  1871. Lifetime = LifeTime,
  1872. Rate = Rate,
  1873. Rotation = Rotation,
  1874. RotSpeed = RotSpeed,
  1875. Speed = Speed,
  1876. VelocitySpread = VelocitySpread,
  1877. }
  1878. return fp
  1879. end;
  1880. };
  1881.  
  1882. CreateTemplate = {
  1883.  
  1884. };
  1885. }
  1886. New = function(Object, Parent, Name, Data)
  1887. local Object = Instance.new(Object)
  1888. for Index, Value in pairs(Data or {}) do
  1889. Object[Index] = Value
  1890. end
  1891. Object.Parent = Parent
  1892. Object.Name = Name
  1893. return Object
  1894. end
  1895.  
  1896. function rayCast(Position, Direction, Range, Ignore)
  1897. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1898. end
  1899.  
  1900. FindNearestTorso = function(pos)
  1901. local list = (game.Workspace:children())
  1902. local torso = nil
  1903. local dist = 1000
  1904. local temp, human, temp2 = nil, nil, nil
  1905. for x = 1, #list do
  1906. temp2 = list[x]
  1907. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  1908. temp = temp2:findFirstChild("Torso")
  1909. human = temp2:findFirstChild("Humanoid")
  1910. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  1911. local dohit = true
  1912. if dohit == true then
  1913. torso = temp
  1914. dist = (temp.Position - pos).magnitude
  1915. end
  1916. end
  1917. end
  1918. end
  1919. return torso, dist
  1920. end
  1921.  
  1922. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1923. if hit.Parent == nil then
  1924. return
  1925. end
  1926. local h = hit.Parent:FindFirstChild("Humanoid")
  1927. for _, v in pairs(hit.Parent:children()) do
  1928. if v:IsA("Humanoid") then
  1929. h = v
  1930. end
  1931. end
  1932. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1933. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1934. if hit.Parent.DebounceHit.Value == true then
  1935. return
  1936. end
  1937. end
  1938. local c = Create("ObjectValue"){
  1939. Name = "creator",
  1940. Value = game:service("Players").LocalPlayer,
  1941. Parent = h,
  1942. }
  1943. game:GetService("Debris"):AddItem(c, .5)
  1944. if HitSound ~= nil and HitPitch ~= nil then
  1945. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1946. end
  1947. local Damage = math.random(minim, maxim)
  1948. local blocked = false
  1949. local block = hit.Parent:findFirstChild("Block")
  1950. if block ~= nil then
  1951. if block.className == "IntValue" then
  1952. if block.Value > 0 then
  1953. blocked = true
  1954. block.Value = block.Value - 1
  1955. print(block.Value)
  1956. end
  1957. end
  1958. end
  1959. if blocked == false then
  1960. h.Health = h.Health - Damage
  1961. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  1962. else
  1963. h.Health = h.Health - (Damage / 2)
  1964. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  1965. end
  1966. if Type == "Knockdown" then
  1967. local hum = hit.Parent.Humanoid
  1968. hum.PlatformStand = true
  1969. coroutine.resume(coroutine.create(function(HHumanoid)
  1970. swait(1)
  1971. HHumanoid.PlatformStand = false
  1972. end), hum)
  1973. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1974. local bodvol = Create("BodyVelocity"){
  1975. velocity = angle * knockback,
  1976. P = 5000,
  1977. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1978. Parent = hit,
  1979. }
  1980. local rl = Create("BodyAngularVelocity"){
  1981. P = 3000,
  1982. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1983. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1984. Parent = hit,
  1985. }
  1986. game:GetService("Debris"):AddItem(bodvol, .5)
  1987. game:GetService("Debris"):AddItem(rl, .5)
  1988. elseif Type == "Normal" then
  1989. local vp = Create("BodyVelocity"){
  1990. P = 500,
  1991. maxForce = Vector3.new(math.huge, 0, math.huge),
  1992. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1993. }
  1994. if knockback > 0 then
  1995. vp.Parent = hit.Parent.Torso
  1996. end
  1997. game:GetService("Debris"):AddItem(vp, .5)
  1998. elseif Type == "Up" then
  1999. local bodyVelocity = Create("BodyVelocity"){
  2000. velocity = Vector3.new(0, 20, 0),
  2001. P = 5000,
  2002. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2003. Parent = hit,
  2004. }
  2005. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  2006. elseif Type == "DarkUp" then
  2007. coroutine.resume(coroutine.create(function()
  2008. for i = 0, 1, 0.1 do
  2009. swait()
  2010. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  2011. end
  2012. end))
  2013. local bodyVelocity = Create("BodyVelocity"){
  2014. velocity = Vector3.new(0, 20, 0),
  2015. P = 5000,
  2016. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  2017. Parent = hit,
  2018. }
  2019. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2020. elseif Type == "Snare" then
  2021. local bp = Create("BodyPosition"){
  2022. P = 2000,
  2023. D = 100,
  2024. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2025. position = hit.Parent.Torso.Position,
  2026. Parent = hit.Parent.Torso,
  2027. }
  2028. game:GetService("Debris"):AddItem(bp, 1)
  2029. elseif Type == "Freeze" then
  2030. local BodPos = Create("BodyPosition"){
  2031. P = 50000,
  2032. D = 1000,
  2033. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2034. position = hit.Parent.Torso.Position,
  2035. Parent = hit.Parent.Torso,
  2036. }
  2037. local BodGy = Create("BodyGyro") {
  2038. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  2039. P = 20e+003,
  2040. Parent = hit.Parent.Torso,
  2041. cframe = hit.Parent.Torso.CFrame,
  2042. }
  2043. hit.Parent.Torso.Anchored = true
  2044. coroutine.resume(coroutine.create(function(Part)
  2045. swait(1.5)
  2046. Part.Anchored = false
  2047. end), hit.Parent.Torso)
  2048. game:GetService("Debris"):AddItem(BodPos, 3)
  2049. game:GetService("Debris"):AddItem(BodGy, 3)
  2050. end
  2051. local debounce = Create("BoolValue"){
  2052. Name = "DebounceHit",
  2053. Parent = hit.Parent,
  2054. Value = true,
  2055. }
  2056. game:GetService("Debris"):AddItem(debounce, Delay)
  2057. c = Create("ObjectValue"){
  2058. Name = "creator",
  2059. Value = Player,
  2060. Parent = h,
  2061. }
  2062. game:GetService("Debris"):AddItem(c, .5)
  2063. end
  2064. end
  2065.  
  2066. function ShowDamage(Pos, Text, Time, Color)
  2067. local Rate = (1 / 30)
  2068. local Pos = (Pos or Vector3.new(0, 0, 0))
  2069. local Text = (Text or "")
  2070. local Time = (Time or 2)
  2071. local Color = (Color or Color3.new(1, 0, 1))
  2072. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2073. EffectPart.Anchored = true
  2074. local BillboardGui = Create("BillboardGui"){
  2075. Size = UDim2.new(3, 0, 3, 0),
  2076. Adornee = EffectPart,
  2077. Parent = EffectPart,
  2078. }
  2079. local TextLabel = Create("TextLabel"){
  2080. BackgroundTransparency = 1,
  2081. Size = UDim2.new(1, 0, 1, 0),
  2082. Text = Text,
  2083. Font = "SciFi",
  2084. TextColor3 = Color,
  2085. TextScaled = true,
  2086. Parent = BillboardGui,
  2087. }
  2088. game.Debris:AddItem(EffectPart, (Time))
  2089. EffectPart.Parent = game:GetService("Workspace")
  2090. delay(0, function()
  2091. local Frames = (Time / Rate)
  2092. for Frame = 1, Frames do
  2093. wait(Rate)
  2094. local Percent = (Frame / Frames)
  2095. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2096. TextLabel.TextTransparency = Percent
  2097. end
  2098. if EffectPart and EffectPart.Parent then
  2099. EffectPart:Destroy()
  2100. end
  2101. end)
  2102. end
  2103.  
  2104. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  2105. for _, c in pairs(workspace:children()) do
  2106. local hum = c:findFirstChild("Humanoid")
  2107. if hum ~= nil then
  2108. local head = c:findFirstChild("Torso")
  2109. if head ~= nil then
  2110. local targ = head.Position - Part.Position
  2111. local mag = targ.magnitude
  2112. if mag <= Magnitude and c.Name ~= Player.Name then
  2113. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  2114. end
  2115. end
  2116. end
  2117. end
  2118. end
  2119. function UltraMagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) -- kek
  2120. for _, c in pairs(workspace:children()) do
  2121. local hum = c:findFirstChild("Humanoid")
  2122. if hum ~= nil then
  2123. local head = c:findFirstChild("Torso")
  2124. if head ~= nil then
  2125. local targ = head.Position - Part.Position
  2126. local mag = targ.magnitude
  2127. if mag <= Magnitude and c.Name ~= Player.Name then
  2128. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  2129. head.Size = head.Size + Vector3.new(0.01, 0.01, 0.01)
  2130. end
  2131. end
  2132. end
  2133. end
  2134. end
  2135. EffectModel = Create("Model"){
  2136. Parent = Character,
  2137. Name = "Effects",
  2138. }
  2139.  
  2140. Effects = {
  2141. Block = {
  2142. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2143. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2144. prt.Anchored = true
  2145. prt.CFrame = cframe
  2146. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2147. game:GetService("Debris"):AddItem(prt, 10)
  2148. if Type == 1 or Type == nil then
  2149. table.insert(Effects, {
  2150. prt,
  2151. "Block1",
  2152. delay,
  2153. x3,
  2154. y3,
  2155. z3,
  2156. msh
  2157. })
  2158. elseif Type == 2 then
  2159. table.insert(Effects, {
  2160. prt,
  2161. "Block2",
  2162. delay,
  2163. x3,
  2164. y3,
  2165. z3,
  2166. msh
  2167. })
  2168. end
  2169. end;
  2170. };
  2171.  
  2172. Cylinder = {
  2173. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2174. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2175. prt.Anchored = true
  2176. prt.CFrame = cframe
  2177. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2178. game:GetService("Debris"):AddItem(prt, 10)
  2179. table.insert(Effects, {
  2180. prt,
  2181. "Cylinder",
  2182. delay,
  2183. x3,
  2184. y3,
  2185. z3,
  2186. msh
  2187. })
  2188. end;
  2189. };
  2190. Head = {
  2191. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2192. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2193. prt.Anchored = true
  2194. prt.CFrame = cframe
  2195. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2196. game:GetService("Debris"):AddItem(prt, 10)
  2197. table.insert(Effects, {
  2198. prt,
  2199. "Cylinder",
  2200. delay,
  2201. x3,
  2202. y3,
  2203. z3,
  2204. msh
  2205. })
  2206. end;
  2207. };
  2208.  
  2209. Sphere = {
  2210. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2211. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2212. prt.Anchored = true
  2213. prt.CFrame = cframe
  2214. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2215. game:GetService("Debris"):AddItem(prt, 10)
  2216. table.insert(Effects, {
  2217. prt,
  2218. "Cylinder",
  2219. delay,
  2220. x3,
  2221. y3,
  2222. z3,
  2223. msh
  2224. })
  2225. end;
  2226. };
  2227.  
  2228. Elect = {
  2229. Create = function(cff, x, y, z)
  2230. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  2231. prt.Anchored = true
  2232. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  2233. prt.CFrame = CFrame.new(prt.Position)
  2234. game:GetService("Debris"):AddItem(prt, 2)
  2235. local xval = math.random() / 2
  2236. local yval = math.random() / 2
  2237. local zval = math.random() / 2
  2238. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  2239. table.insert(Effects, {
  2240. prt,
  2241. "Elec",
  2242. 0.1,
  2243. x,
  2244. y,
  2245. z,
  2246. xval,
  2247. yval,
  2248. zval
  2249. })
  2250. end;
  2251.  
  2252. };
  2253.  
  2254. Ring = {
  2255. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2256. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2257. prt.Anchored = true
  2258. prt.CFrame = cframe
  2259. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2260. game:GetService("Debris"):AddItem(prt, 10)
  2261. table.insert(Effects, {
  2262. prt,
  2263. "Cylinder",
  2264. delay,
  2265. x3,
  2266. y3,
  2267. z3,
  2268. msh
  2269. })
  2270. end;
  2271. };
  2272.  
  2273.  
  2274. Wave = {
  2275. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2276. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2277. prt.Anchored = true
  2278. prt.CFrame = cframe
  2279. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2280. game:GetService("Debris"):AddItem(prt, 10)
  2281. table.insert(Effects, {
  2282. prt,
  2283. "Cylinder",
  2284. delay,
  2285. x3,
  2286. y3,
  2287. z3,
  2288. msh
  2289. })
  2290. end;
  2291. };
  2292.  
  2293. Break = {
  2294. Create = function(brickcolor, cframe, x1, y1, z1)
  2295. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2296. prt.Anchored = true
  2297. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2298. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2299. local num = math.random(10, 50) / 1000
  2300. game:GetService("Debris"):AddItem(prt, 10)
  2301. table.insert(Effects, {
  2302. prt,
  2303. "Shatter",
  2304. num,
  2305. prt.CFrame,
  2306. math.random() - math.random(),
  2307. 0,
  2308. math.random(50, 100) / 100
  2309. })
  2310. end;
  2311. };
  2312.  
  2313. Fire = {
  2314. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  2315. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2316. prt.Anchored = true
  2317. prt.CFrame = cframe
  2318. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2319. game:GetService("Debris"):AddItem(prt, 10)
  2320. table.insert(Effects, {
  2321. prt,
  2322. "Fire",
  2323. delay,
  2324. 1,
  2325. 1,
  2326. 1,
  2327. msh
  2328. })
  2329. end;
  2330. };
  2331.  
  2332. FireWave = {
  2333. Create = function(brickcolor, cframe, x1, y1, z1)
  2334. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  2335. prt.Anchored = true
  2336. prt.CFrame = cframe
  2337. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2338. local d = Create("Decal"){
  2339. Parent = prt,
  2340. Texture = "rbxassetid://26356434",
  2341. Face = "Top",
  2342. }
  2343. local d = Create("Decal"){
  2344. Parent = prt,
  2345. Texture = "rbxassetid://26356434",
  2346. Face = "Bottom",
  2347. }
  2348. game:GetService("Debris"):AddItem(prt, 10)
  2349. table.insert(Effects, {
  2350. prt,
  2351. "FireWave",
  2352. 1,
  2353. 30,
  2354. math.random(400, 600) / 100,
  2355. msh
  2356. })
  2357. end;
  2358. };
  2359.  
  2360. Lightning = {
  2361. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  2362. local magz = (p0 - p1).magnitude
  2363. local curpos = p0
  2364. local trz = {
  2365. -ofs,
  2366. ofs
  2367. }
  2368. for i = 1, tym do
  2369. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  2370. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  2371. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  2372. li.Material = "Neon"
  2373. if tym == i then
  2374. local magz2 = (curpos - p1).magnitude
  2375. li.Size = Vector3.new(th, th, magz2)
  2376. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  2377. table.insert(Effects, {
  2378. li,
  2379. "Disappear",
  2380. last
  2381. })
  2382. else
  2383. do
  2384. do
  2385. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  2386. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  2387. game.Debris:AddItem(li, 10)
  2388. table.insert(Effects, {
  2389. li,
  2390. "Disappear",
  2391. last
  2392. })
  2393. end
  2394. end
  2395. end
  2396. end
  2397. end
  2398. };
  2399.  
  2400. EffectTemplate = {
  2401.  
  2402. };
  2403. }
  2404. function hahahohoho(Part, Dmg)
  2405. sp = Part.Position
  2406. dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  2407. local hit, pos = rayCast(sp, dirr.lookVector, 500, Character)
  2408. local las = Instance.new("Part", Character)
  2409. las.Anchored = true
  2410. las.Locked = true
  2411. las.CanCollide = false
  2412. las.TopSurface = 0
  2413. las.BottomSurface = 0
  2414. las.BrickColor = BrickColor.new("Really black")
  2415. las.Size = Vector3.new(1, 1, 1)
  2416. las.CFrame = CFrame.new((Part.Position + pos) / 2, pos) * CFrame.Angles(math.rad(90), 0, 0)
  2417. local msh = Instance.new("SpecialMesh", las)
  2418. mag = (Part.Position - pos).magnitude
  2419. msh.Scale = Vector3.new(0.1, mag, 0.1)
  2420. coroutine.resume(coroutine.create(function(Part, Mesh)
  2421. for i = 0, 3, 0.1 do
  2422. wait()
  2423. Part.Transparency = Part.Transparency + 0.03
  2424. Mesh.Scale = Mesh.Scale + Vector3.new(0.5, 0.7, 0.5)
  2425. end
  2426. Part.Parent = nil
  2427. end), las, msh)
  2428. if pos ~= nil then
  2429. local las2 = Instance.new("Part", Character)
  2430. las2.Anchored = true
  2431. las2.Locked = true
  2432. las2.CanCollide = false
  2433. las2.TopSurface = 0
  2434. las2.BottomSurface = 0
  2435. las2.Transparency = 1
  2436. las2.BrickColor = BrickColor.new("Really black")
  2437. las2.Size = Vector3.new(1, 1, 1)
  2438. las2.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(90), 0, 0)
  2439. local msh = Instance.new("SpecialMesh", las2)
  2440. msh.MeshType = "Sphere"
  2441. mag = (Part.Position - pos).magnitude
  2442. msh.Scale = Vector3.new(0.1, 0.1, 0.1)
  2443. Effects.Ring.Create(BrickColor.new("Really black"), las2.CFrame * CFrame.Angles(math.random(-4,4),math.random(-4,4),math.random(-4,4)), 8, 8, 8, 2.5, 2.5, 2.5, 0.04)
  2444. Effects.Sphere.Create(BrickColor.new("Really black"), las2.CFrame, 6, 6, 6, 9, 9, 9, 0.04)
  2445. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=228343252", las2, 1.2, 0.9)
  2446. UltraMagnitudeDamage(las2, 20, 100, 100, math.random(1, 5), "Normal", "http://www.roblox.com/asset/?id=228343252", 1)
  2447. coroutine.resume(coroutine.create(function(Part, Mesh)
  2448. for i = 0, 3, 0.1 do
  2449. wait()
  2450. Part.Transparency = Part.Transparency + 1
  2451. Mesh.Scale = Mesh.Scale + Vector3.new(0, 0, 0)
  2452. end
  2453. Part.Parent = nil
  2454. end), las2, msh)
  2455. end
  2456. if hit ~= nil and pos ~= nil then
  2457. if hit.Parent.className == "Hat" then
  2458. hit:BreakJoints()
  2459. hit.Velocity = Vector3.new(math.random(-5, 5), 20, math.random(-5, 5))
  2460. end
  2461. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  2462. hit.Parent.Humanoid:TakeDamage(Dmg)
  2463. end
  2464. end
  2465. end
  2466. function attackone()
  2467. attack = true
  2468. local ref = New("Part",Character,"ref",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-63.7534943, 0.396845818, -9.92230225, -1, 0, 0, 0, 0.00350399944, -0.999993861, 0, -0.999993861, -0.00350399921),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  2469. mot = New("Weld",ref,"mot",{Part0 = ref,Part1 = RootPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.00350399944, -0.999993861, 0, -0.999993861, -0.00350399921),C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  2470.  
  2471. for i = 0, 1, 0.1 do
  2472. swait()
  2473. PlayAnimationFromTable({
  2474. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2475. CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2476. CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2477. CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2478. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2479. CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2480. }, .3, false)
  2481. end
  2482. hahahohoho(ref, 100)
  2483. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", Character, 1, .6)
  2484. attack = false
  2485. wait(1)
  2486. ref:Remove()
  2487. end
  2488. function spamrein()
  2489. attack = true
  2490. local ref1 = New("Part",EffectModel,"ref1",{Anchored = true,CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  2491. local ref2 = New("Part",EffectModel,"ref2",{Anchored = true,CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  2492. for i = 0, 1, 0.1 do
  2493. swait()
  2494. PlayAnimationFromTable({
  2495. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2496. CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2497. CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2498. CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2499. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2500. CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  2501. }, .3, false)
  2502. end
  2503. for i = 0, 8 do
  2504. swait(3)
  2505. ref1.CFrame = RootPart.CFrame * CFrame.new(math.random(-30,30),50,math.random(-30,30)) * CFrame.Angles(math.rad(math.random(-25,25)),0,math.rad(math.random(-25,25)))
  2506. hahahohoho(ref1, 100)
  2507. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", ref1, 1, .6)
  2508. wait(.05)
  2509. ref2.CFrame = RootPart.CFrame * CFrame.new(math.random(-30,30),50,math.random(-30,30)) * CFrame.Angles(math.rad(math.random(-25,25)),0,math.rad(math.random(-25,25)))
  2510. hahahohoho(ref2, 100)
  2511. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", ref2, 1, .6)
  2512. wait(.05)
  2513. end
  2514. attack = false
  2515. end
  2516. function spamspin()
  2517. attack = true
  2518. local ref3 = New("Part",EffectModel,"ref3",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  2519. local ref4 = New("Part",EffectModel,"ref4",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-55.9288712, 27.204155, -45.3742905, -1, 0, 0, 0, 1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  2520. moter1 = New("Motor",ref3,"mot",{Part0 = LeftArm,Part1 = ref3,})
  2521. moter2 = New("Motor",ref4,"mot",{Part0 = RightArm,Part1 = ref4,})
  2522. for i = 0, 1, 0.1 do
  2523. swait()
  2524. PlayAnimationFromTable({
  2525. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2526. CFrame.new(0, 1.49998045, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2527. CFrame.new(2.00000072, 0.500000775, 0, -6.33299351e-007, -1.00000048, 0, 1.00000048, -6.33299351e-007, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2528. CFrame.new(-1.99999726, 0.500000834, 0, -2.38418579e-007, 1.0000006, 0, -1.00000048, -3.7252903e-007, 0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2529. CFrame.new(0.5, -1.99999619, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2530. CFrame.new(-0.5, -1.99999619, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2531. }, .3, false)
  2532. end
  2533. coroutine.wrap(function()
  2534. for i = 0, 18 do
  2535. swait(2)
  2536. hahahohoho(ref3, 100)
  2537. hahahohoho(ref4, 100)
  2538. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=156572165", RootPart, 1, .6)
  2539. end
  2540. end)()
  2541. for i = 0, 7, 0.1 do
  2542. swait()
  2543. PlayAnimationFromTable({
  2544. CFrame.new(0, -0.500001013, 7.62939453e-006, 1, 0, 0, 0, 0, -1, 0, 1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(sine * 25), 0),
  2545. CFrame.new(0, 1.4999733, -9.00030136e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2546. CFrame.new(2, 0.499996185, -1.40070915e-005, 0, -1, 0, 1, 0, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2547. CFrame.new(-1.99999237, 0.499996185, -1.40070915e-005, 0, 1, 0, -1, 0, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2548. CFrame.new(0.5, -1.99998474, -2.02655792e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2549. CFrame.new(-0.5, -1.99998474, -2.02655792e-006, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2550. }, .3, false)
  2551. moter1.C0 = clerp(moter1.C0, CFrame.new(1.07955907e-006, -1.10001731, 0, 1.0000031, 3.13669534e-006, 0, -3.00258512e-006, 1.00000322, -0, 0, -0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  2552. moter2.C0 = clerp(moter2.C0, CFrame.new(-2.22906492e-005, -1.10000086, 1.03585517e-005, -1.00000048, 4.00841191e-006, -1.0410066e-011, 4.00840509e-006, 1.00000215, -2.61515493e-006, 1.75116303e-014, -2.48104334e-006, -1.00000179) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  2553. end
  2554. attack = false
  2555. end
  2556. function criufkinbastard()
  2557. Humanoid.WalkSpeed = 0
  2558. Humanoid.JumpPower = 0
  2559. coroutine.wrap(function()
  2560. attack = true
  2561. local txt = Instance.new("BillboardGui", Character)
  2562. txt.Adornee = game.Players.LocalPlayer.Character.Head
  2563. txt.Name = "_status"
  2564. txt.Size = UDim2.new(2, 0, 1.2, 0)
  2565. txt.StudsOffset = Vector3.new(-9, 8, 0)
  2566. local text = Instance.new("TextLabel", txt)
  2567. text.Size = UDim2.new(10, 0, 7, 0)
  2568. text.FontSize = "Size24"
  2569. text.TextScaled = true
  2570. text.TextTransparency = 1
  2571. text.BackgroundTransparency = 1
  2572. text.TextStrokeTransparency = 1
  2573. text.Font = "Garamond"
  2574. text.TextStrokeColor3 = Color3.new(1,0,0)
  2575. text.TextColor3 = Color3.new(0, 0, 0)
  2576. text.Text = "greetings...my friend..."
  2577.  
  2578. local text2 = Instance.new("TextLabel", txt)
  2579. text2.Size = UDim2.new(10, 0, 7, 0)
  2580. text2.FontSize = "Size24"
  2581. text2.TextScaled = true
  2582. text2.TextTransparency = 1
  2583. text2.BackgroundTransparency = 1
  2584. text2.TextStrokeTransparency = 1
  2585. text2.Font = "Garamond"
  2586. text2.TextStrokeColor3 = Color3.new(1,0,0)
  2587. text2.TextColor3 = Color3.new(0, 0, 0)
  2588. text2.Text = "I am the overlord!."
  2589.  
  2590. local text3 = Instance.new("TextLabel", txt)
  2591. text3.Size = UDim2.new(10, 0, 7, 0)
  2592. text3.FontSize = "Size24"
  2593. text3.TextScaled = true
  2594. text3.TextTransparency = 1
  2595. text3.BackgroundTransparency = 1
  2596. text3.TextStrokeTransparency = 1
  2597. text3.Font = "Garamond"
  2598. text3.TextStrokeColor3 = Color3.new(1,1,1)
  2599. text3.TextColor3 = Color3.new(1, 0, 0)
  2600. text3.Text = "and i...will kill you"
  2601.  
  2602. local text4 = Instance.new("TextLabel", txt)
  2603. text4.Size = UDim2.new(10, 0, 7, 0)
  2604. text4.FontSize = "Size24"
  2605. text4.TextScaled = true
  2606. text4.TextTransparency = 1
  2607. text4.BackgroundTransparency = 1
  2608. text4.TextStrokeTransparency = 1
  2609. text4.Font = "Garamond"
  2610. text4.TextStrokeColor3 = Color3.new(1,0,0)
  2611. text4.TextColor3 = Color3.new(0, 0, 0)
  2612. text4.Text = "If you have to run.....this is the moment."
  2613.  
  2614. local text5 = Instance.new("TextLabel", txt)
  2615. text5.Size = UDim2.new(10, 0, 7, 0)
  2616. text5.FontSize = "Size24"
  2617. text5.TextScaled = true
  2618. text5.TextTransparency = 1
  2619. text5.BackgroundTransparency = 1
  2620. text5.TextStrokeTransparency = 1
  2621. text5.Font = "Garamond"
  2622. text5.TextStrokeColor3 = Color3.new(1,0,0)
  2623. text5.TextColor3 = Color3.new(0, 0, 0)
  2624. text5.Text = "Run..."
  2625.  
  2626.  
  2627. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=191006402", RootPart, 3, 1)
  2628. while wait() and text and text.TextTransparency >= 0 do
  2629. text.TextStrokeTransparency = text.TextStrokeTransparency - .05
  2630. text.TextTransparency = text.TextTransparency - .05
  2631.  
  2632. end
  2633. wait(10)
  2634. while wait() and text and text.TextTransparency <= 1 do
  2635. text.TextStrokeTransparency = text.TextStrokeTransparency + .05
  2636. text.TextTransparency = text.TextTransparency + .05
  2637. text.Position = text.Position - UDim2.new(0,0,0,1)
  2638. text.Rotation = text.Rotation - 1
  2639. text2.TextStrokeTransparency = text2.TextStrokeTransparency - .05
  2640. text2.TextTransparency = text2.TextTransparency - .05
  2641. end
  2642. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=191006402", RootPart, 3, 1)
  2643. wait(5)
  2644. while wait() and text2 and text2.TextTransparency <= 1 do
  2645. text2.TextStrokeTransparency = text2.TextStrokeTransparency + .05
  2646. text2.TextTransparency = text2.TextTransparency + .05
  2647. text2.Position = text2.Position - UDim2.new(0,0,0,1)
  2648. text2.Rotation = text2.Rotation - 1
  2649. text3.TextStrokeTransparency = text3.TextStrokeTransparency - .05
  2650. text3.TextTransparency = text3.TextTransparency - .05
  2651. end
  2652. wait(5)
  2653. while wait() and text3 and text3.TextTransparency <= 1 do
  2654. text3.TextStrokeTransparency = text3.TextStrokeTransparency + .05
  2655. text3.TextTransparency = text3.TextTransparency + .05
  2656. text3.Position = text3.Position - UDim2.new(0,0,0,1)
  2657. text3.Rotation = text3.Rotation - 1
  2658. text4.TextStrokeTransparency = text4.TextStrokeTransparency - .05
  2659. text4.TextTransparency = text4.TextTransparency - .05
  2660. end
  2661. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=191006402", RootPart, 3, 1)
  2662. wait(3)
  2663. while wait() and text4 and text4.TextTransparency <= 1 do
  2664. text4.TextStrokeTransparency = text4.TextStrokeTransparency + .05
  2665. text4.TextTransparency = text4.TextTransparency + .05
  2666. text4.Position = text4.Position - UDim2.new(0,0,0,1)
  2667. text4.Rotation = text4.Rotation - 1
  2668. text5.TextStrokeTransparency = text5.TextStrokeTransparency - .05
  2669. text5.TextTransparency = text5.TextTransparency - .05
  2670. end
  2671. wait(3)
  2672. while wait() and text5 and text5.TextTransparency <= 1 do
  2673. text5.TextStrokeTransparency = text5.TextStrokeTransparency + .05
  2674. text5.TextTransparency = text5.TextTransparency + .05
  2675. text5.Position = text5.Position - UDim2.new(math.random(-0.3,0.3),math.random(-5,5),math.random(-0.3,0.3),math.random(-5,5))
  2676. text5.Rotation = text5.Rotation - 1
  2677. spooky2.Volume = spooky2.Volume - 0.05
  2678. end
  2679. spooky:Play()
  2680. text:Remove()
  2681. text2:Remove()
  2682. text3:Remove()
  2683. text4:Remove()
  2684. text5:Remove()
  2685. end)()
  2686. for i = 0, 51, 0.1 do
  2687. swait()
  2688. PlayAnimationFromTable({
  2689. CFrame.new(-0, -2.01999879, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2690. CFrame.new(-0.100006104, 1.64000487, -3.69548798e-006, 1, 0, 0, 0, 0.891016304, 0.453991741, 0, -0.453991264, 0.891006649) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2691. CFrame.new(0.950131536, 1.02000284, -0.609929323, 0.838677049, 0.544629633, 1.82800829e-006, 0.280503511, -0.431945533, -0.857170463, -0.466839492, 0.718889475, -0.515032887) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2692. CFrame.new(-1.01001573, 1.08999729, -0.649995506, 0.743156135, -0.669118106, 5.49372999e-006, -0.324383408, -0.360283762, -0.874626398, 0.585230291, 0.649981976, -0.484797955) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2693. CFrame.new(0.5, -0.169970214, -1.0898838, 1, 0, -0, 0, 0.681989849, -0.73136127, 0, 0.73136127, 0.681989849) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2694. CFrame.new(-0.549926758, -0.149971083, -1.56995773, 1, 0, -0, 0, 0.1736864, -0.984801233, 0, 0.984801233, 0.1736864) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2695. }, .1, false)
  2696. end
  2697. for i = 0, 5, 0.1 do
  2698. swait()
  2699. PlayAnimationFromTable({
  2700. CFrame.new(-0.0981965065, -1.31277657, -0.54871279, 0.808166862, -0.196366429, -0.555253625, 0.575620949, 0.0638884008, 0.815217137, -0.124606982, -0.97844708, 0.164665088) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2701. CFrame.new(0.0582410395, 1.44129539, 0.0734805763, 0.934516311, 2.10106373e-006, 0.355920374, 0.121625632, 0.939799547, -0.319349885, -0.334494382, 0.34172672, 0.878257751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2702. CFrame.new(0.759254932, 0.609628737, -1.37132394, 0.887519658, 0.460769922, 5.49852848e-006, 0.0474366248, -0.0913589746, -0.994687736, -0.458321631, 0.882805049, -0.102940291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2703. CFrame.new(-1.522138, 1.1763432, -0.233797818, 0.654816628, 0.623950124, -0.426499099, 0.0684916377, -0.610978603, -0.788678765, -0.752677917, 0.487228334, -0.44281441) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2704. CFrame.new(0.55273962, -1.8331666, -0.853646398, 0.994906187, -2.04518437e-006, 0.100805953, 0.0784842819, 0.627576351, -0.774589181, -0.0632617697, 0.778555214, 0.624379694) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2705. CFrame.new(-0.663739324, -1.72484899, -0.279409111, 0.936938882, 0.336636096, -0.0939244553, -0.32966578, 0.762038469, -0.557331204, -0.116043702, 0.553148985, 0.824960768) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2706. }, .05, false)
  2707. end
  2708. for i = 0, 5, 0.1 do
  2709. swait()
  2710. PlayAnimationFromTable({
  2711. CFrame.new(0, -0.0442145504, -0.205582842, 1, 0, 0, 0, 0.911569417, 0.411146224, 0, -0.411146194, 0.911569417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2712. CFrame.new(0, 1.446419, -0.149725705, 1, 0, 0, 0, 0.941553891, 0.336862653, 0, -0.336862624, 0.94155395) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2713. CFrame.new(1.62312984, 0.0405562371, -0.126877204, 0.987515867, -0.155472979, 0.0253103133, 0.157519713, 0.974684954, -0.158671856, -3.94880772e-007, 0.160677835, 0.987006903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2714. CFrame.new(-1.62933123, 0.039488472, -0.0764760524, 0.982997239, 0.18362084, -1.8598115e-008, -0.180242166, 0.964909732, -0.190950453, -0.0350624695, 0.187703788, 0.981599748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2715. CFrame.new(0.50331378, -2.03031564, -0.386381626, 0.994077384, -0.100885771, 0.0404032469, 0.108675495, 0.922825038, -0.369572222, -5.43892384e-007, 0.371774226, 0.92832315) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2716. CFrame.new(-0.610246539, -1.9785527, -0.533763826, 0.991280973, 0.13176541, 7.16808756e-007, -0.118788213, 0.893654883, -0.432747513, -0.057021793, 0.428974301, 0.901515245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2717. }, .05, false)
  2718. end
  2719. for i = 0, 2 do
  2720. for i = 0, 1, 0.1 do
  2721. swait()
  2722. PlayAnimationFromTable({
  2723. CFrame.new(0, -0.0442145504, -0.205582842, 1, 0, 0, 0, 0.911569417, 0.411146224, 0, -0.411146194, 0.911569417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2724. CFrame.new(5.51342964e-007, 1.44641995, -0.149724424, 0.782274365, -6.99407749e-008, -0.622934043, 0.209844083, 0.941553354, 0.263520032, 0.586525559, -0.336863965, 0.736553073) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2725. CFrame.new(1.62312984, 0.0405562371, -0.126877204, 0.987515867, -0.155472979, 0.0253103133, 0.157519713, 0.974684954, -0.158671856, -3.94880772e-007, 0.160677835, 0.987006903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2726. CFrame.new(-1.62933123, 0.039488472, -0.0764760524, 0.982997239, 0.18362084, -1.8598115e-008, -0.180242166, 0.964909732, -0.190950453, -0.0350624695, 0.187703788, 0.981599748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2727. CFrame.new(0.50331378, -2.03031564, -0.386381626, 0.994077384, -0.100885771, 0.0404032469, 0.108675495, 0.922825038, -0.369572222, -5.43892384e-007, 0.371774226, 0.92832315) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2728. CFrame.new(-0.610246539, -1.9785527, -0.533763826, 0.991280973, 0.13176541, 7.16808756e-007, -0.118788213, 0.893654883, -0.432747513, -0.057021793, 0.428974301, 0.901515245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2729. }, .3, false)
  2730. end
  2731. for i = 0, 1, 0.1 do
  2732. swait()
  2733. PlayAnimationFromTable({
  2734. CFrame.new(0, -0.0442145504, -0.205582842, 1, 0, 0, 0, 0.911569417, 0.411146224, 0, -0.411146194, 0.911569417) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2735. CFrame.new(1.78813934e-007, 1.4464184, -0.149724573, 0.864948869, -2.57774872e-007, 0.501860023, -0.169061571, 0.941551089, 0.291375846, -0.472526848, -0.336870432, 0.81439352) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2736. CFrame.new(1.62312984, 0.0405562371, -0.126877204, 0.987515867, -0.155472979, 0.0253103133, 0.157519713, 0.974684954, -0.158671856, -3.94880772e-007, 0.160677835, 0.987006903) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2737. CFrame.new(-1.62933123, 0.039488472, -0.0764760524, 0.982997239, 0.18362084, -1.8598115e-008, -0.180242166, 0.964909732, -0.190950453, -0.0350624695, 0.187703788, 0.981599748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2738. CFrame.new(0.50331378, -2.03031564, -0.386381626, 0.994077384, -0.100885771, 0.0404032469, 0.108675495, 0.922825038, -0.369572222, -5.43892384e-007, 0.371774226, 0.92832315) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2739. CFrame.new(-0.610246539, -1.9785527, -0.533763826, 0.991280973, 0.13176541, 7.16808756e-007, -0.118788213, 0.893654883, -0.432747513, -0.057021793, 0.428974301, 0.901515245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2740. }, .3, false)
  2741. end
  2742. end
  2743. local Anim = false
  2744.  
  2745. Humanoid.WalkSpeed = 16
  2746. Humanoid.JumpPower = 50
  2747. attack = false
  2748. end
  2749. criufkinbastard()
  2750. Mouse.Button1Down:connect(function()
  2751. if attack == false and attacktype == 1 then
  2752. attackone()
  2753. end
  2754. end)
  2755.  
  2756. Mouse.KeyDown:connect(function(k)
  2757. k = k:lower()
  2758. if attack == false and k == 'z' then
  2759. spamrein()
  2760. elseif attack == false and k == 'x' then
  2761. spamspin()
  2762. end
  2763. end)
  2764.  
  2765. while true do
  2766. swait()
  2767. for i, v in pairs(Character:GetChildren()) do
  2768. if v:IsA("Part") then
  2769. v.Material = "SmoothPlastic"
  2770. elseif v:IsA("Accessory") then
  2771. v:WaitForChild("Handle").Material = "SmoothPlastic"
  2772. end
  2773. end
  2774.  
  2775. player = game.Players.LocalPlayer
  2776. chara = player.Character
  2777. debby = game:GetService("Debris")
  2778.  
  2779. --Outfit--
  2780.  
  2781. New = function(Object, Parent, Name, Data)
  2782. local Object = Instance.new(Object)
  2783. for Index, Value in pairs(Data or {}) do
  2784. Object[Index] = Value
  2785. end
  2786. Object.Parent = Parent
  2787. Object.Name = Name
  2788. return Object
  2789. end
  2790.  
  2791. --Animations--
  2792. function LoadAnim(id)
  2793. local anim = New("Animation",chara,"Animation",{AnimationId = "rbxassetid://"..id})
  2794. local realanim = chara.Humanoid:LoadAnimation(anim)
  2795. return realanim
  2796. end
  2797. HoldA = LoadAnim(69427262)
  2798. Swing1A = LoadAnim(186934658)
  2799. Swing2A = LoadAnim(94160738)
  2800. Swing3A = LoadAnim(186934910)
  2801. Swing4A = LoadAnim(74909528)
  2802. RaiseA = LoadAnim(83994319)
  2803. RiseA = LoadAnim(169638954)
  2804. HoldA:Play()
  2805. wait(2)
  2806. --Fly--
  2807. local truflyposy = chara.Torso.Position.Y+7
  2808. local flyposy = truflyposy
  2809. local bodfly = Instance.new("BodyPosition", chara.Torso)
  2810. bodfly.Name = "Fly"
  2811. bodfly.maxForce = Vector3.new(0,10000,0)
  2812. bodfly.Position = Vector3.new(0,flyposy,0)
  2813. --------------------------------------------------
  2814.  
  2815. if 0 < #Effects then
  2816. for e = 1, #Effects do
  2817. if Effects[e] ~= nil then
  2818. local Thing = Effects[e]
  2819. if Thing ~= nil then
  2820. local Part = Thing[1]
  2821. local Mode = Thing[2]
  2822. local Delay = Thing[3]
  2823. local IncX = Thing[4]
  2824. local IncY = Thing[5]
  2825. local IncZ = Thing[6]
  2826. if Thing[2] == "Shoot" then
  2827. local Look = Thing[1]
  2828. local move = 30
  2829. if Thing[8] == 3 then
  2830. move = 10
  2831. end
  2832. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  2833. if Thing[10] ~= nil then
  2834. da = pos
  2835. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  2836. cfa = CFrame.new(Thing[4], pos)
  2837. tehCF = cfa:lerp(cf2, 0.2)
  2838. Thing[1] = tehCF.lookVector
  2839. end
  2840. local mag = (Thing[4] - pos).magnitude
  2841. Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  2842. if Thing[8] == 2 then
  2843. Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  2844. end
  2845. Thing[4] = Thing[4] + Look * move
  2846. Thing[3] = Thing[3] - 1
  2847. if 2 < Thing[5] then
  2848. Thing[5] = Thing[5] - 0.3
  2849. Thing[6] = Thing[6] - 0.3
  2850. end
  2851. if hit ~= nil then
  2852. Thing[3] = 0
  2853. if Thing[8] == 1 or Thing[8] == 3 then
  2854. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2855. else
  2856. if Thing[8] == 2 then
  2857. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2858. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  2859. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2860. ref.Anchored = true
  2861. ref.CFrame = CFrame.new(pos)
  2862. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  2863. game:GetService("Debris"):AddItem(ref, 0.2)
  2864. Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  2865. Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  2866. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  2867. end
  2868. end
  2869. end
  2870. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2871. ref.Anchored = true
  2872. ref.CFrame = CFrame.new(pos)
  2873. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  2874. game:GetService("Debris"):AddItem(ref, 1)
  2875. end
  2876. if Thing[3] <= 0 then
  2877. table.remove(Effects, e)
  2878. end
  2879. end
  2880. do
  2881. do
  2882. if Thing[2] == "FireWave" then
  2883. if Thing[3] <= Thing[4] then
  2884. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  2885. Thing[3] = Thing[3] + 1
  2886. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  2887. else
  2888. Part.Parent = nil
  2889. table.remove(Effects, e)
  2890. end
  2891. end
  2892. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  2893. if Thing[1].Transparency <= 1 then
  2894. if Thing[2] == "Block1" then
  2895. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2896. Mesh = Thing[7]
  2897. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2898. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2899. else
  2900. if Thing[2] == "Block2" then
  2901. Thing[1].CFrame = Thing[1].CFrame
  2902. Mesh = Thing[7]
  2903. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2904. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2905. else
  2906. if Thing[2] == "Fire" then
  2907. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  2908. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2909. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2910. else
  2911. if Thing[2] == "Cylinder" then
  2912. Mesh = Thing[7]
  2913. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2914. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2915. else
  2916. if Thing[2] == "Blood" then
  2917. Mesh = Thing[7]
  2918. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  2919. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2920. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2921. else
  2922. if Thing[2] == "Elec" then
  2923. Mesh = Thing[10]
  2924. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2925. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2926. else
  2927. if Thing[2] == "Disappear" then
  2928. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2929. end
  2930. end
  2931. end
  2932. end
  2933. end
  2934. end
  2935. end
  2936. else
  2937. Part.Parent = nil
  2938. table.remove(Effects, e)
  2939. end
  2940. end
  2941. end
  2942. end
  2943. end
  2944. end
  2945. end
  2946. end
  2947. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement