Advertisement
Guest User

undertale gui

a guest
Sep 28th, 2018
5,668
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 249.62 KB | None | 0 0
  1. print(Gui was made by TheRealHabahabalos.);
  2. -- Farewell Infortality.
  3. -- Version: 2.82
  4. -- Instances:
  5. local UndertaleGUI = Instance.new("ScreenGui")
  6. local Frame = Instance.new("Frame")
  7. local TextLabel = Instance.new("TextLabel")
  8. local Asriel = Instance.new("TextButton")
  9. local sANNes = Instance.new("TextButton")
  10. local Sans = Instance.new("TextButton")
  11. local Gaster = Instance.new("TextButton")
  12. local SRY = Instance.new("TextButton")
  13. --Properties:
  14. UndertaleGUI.Name = "Undertale GUI"
  15. UndertaleGUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  16.  
  17. Frame.Parent = UndertaleGUI
  18. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  19. Frame.BorderColor3 = Color3.new(1, 0, 0)
  20. Frame.BorderSizePixel = 5
  21. Frame.Position = UDim2.new(0.445240527, 0, 0.586735964, 0)
  22. Frame.Size = UDim2.new(0, 502, 0, 223)
  23.  
  24. TextLabel.Parent = Frame
  25. TextLabel.BackgroundColor3 = Color3.new(0.0901961, 0.101961, 1)
  26. TextLabel.BorderColor3 = Color3.new(1, 0, 0)
  27. TextLabel.BorderSizePixel = 5
  28. TextLabel.Size = UDim2.new(0, 502, 0, 29)
  29. TextLabel.Font = Enum.Font.Fantasy
  30. TextLabel.Text = "Undertale GUI"
  31. TextLabel.TextColor3 = Color3.new(0.443137, 1, 0.403922)
  32. TextLabel.TextScaled = true
  33. TextLabel.TextSize = 14
  34. TextLabel.TextWrapped = true
  35.  
  36. Asriel.Name = "Asriel"
  37. Asriel.Parent = Frame
  38. Asriel.BackgroundColor3 = Color3.new(1, 1, 1)
  39. Asriel.Position = UDim2.new(0, 0, 0.775784731, 0)
  40. Asriel.Size = UDim2.new(0, 55, 0, 50)
  41. Asriel.Font = Enum.Font.SourceSans
  42. Asriel.Text = "Asriel"
  43. Asriel.TextColor3 = Color3.new(0, 0, 0)
  44. Asriel.TextSize = 14
  45. Asriel.MouseButton1Down:connect(function()
  46. Player=game:GetService("Players").LocalPlayer
  47. Character=Player.Character
  48. PlayerGui=Player.PlayerGui
  49. Backpack=Player.Backpack
  50. Torso=Character.Torso
  51. Head=Character.Head
  52. Humanoid=Character.Humanoid
  53. LeftArm=Character["Left Arm"]
  54. LeftLeg=Character["Left Leg"]
  55. RightArm=Character["Right Arm"]
  56. RightLeg=Character["Right Leg"]
  57. cam=game.Workspace.CurrentCamera
  58. LS=Torso["Left Shoulder"]
  59. LH=Torso["Left Hip"]
  60. RS=Torso["Right Shoulder"]
  61. RH=Torso["Right Hip"]
  62. Face = Head.face
  63. Neck=Torso.Neck
  64. it=Instance.new
  65. attacktype=1
  66. vt=Vector3.new
  67. cf=CFrame.new
  68. euler=CFrame.fromEulerAnglesXYZ
  69. angles=CFrame.Angles
  70. cloaked=false
  71. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  72. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  73. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  74. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  75. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  76. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  77. RootPart=Character.HumanoidRootPart
  78. RootJoint=RootPart.RootJoint
  79. RootCF=euler(-1.57,0,3.14)
  80. attack = false
  81. bounce=false
  82. cooldown=false
  83. deeznuts=false
  84. attackdebounce = false
  85. deb=false
  86. equipped=true
  87. hand=false
  88. MMouse=nil
  89. combo=0
  90. mana=0
  91. trispeed=.2
  92. attackmode='none'
  93. local idle=0
  94. local Anim="Idle"
  95. local Effects={}
  96. local gun=false
  97. local shoot=false
  98. player=nil
  99. mana=0
  100. game:service("Chat"):Chat(Head, "The last form of my asriel transformation!", Enum.ChatColor.Blue)
  101. wait(1)
  102. game:service("Chat"):Chat(Head, "A world that will rip to shreds.", Enum.ChatColor.Blue)
  103. wait(1)
  104. game:service("Chat"):Chat(Head, "Obey your new founding fathers and america!", Enum.ChatColor.Green)
  105. wait(1)
  106. game:service("Chat"):Chat(Head, "A NATION REBORN!!", Enum.ChatColor.Red)
  107. wait(1)
  108. game:service("Chat"):Chat(Head, "My soul isnt proud, and i wont be either!", Enum.ChatColor.Green)
  109. wait(1)
  110. game:service("Chat"):Chat(Head, "You've defeated me once...", Enum.ChatColor.Green)
  111. wait(1)
  112. game:service("Chat"):Chat(Head, "AND IM NOT GONNA LET IT HAPPEN AGAIN!", Enum.ChatColor.Red)
  113. wait(1)
  114. cam = workspace.CurrentCamera
  115. ZTarget = nil
  116. RocketTarget = nil
  117. local m = Instance.new("Model",Character)
  118. m.Name = "WeaponModel"
  119.  
  120. mouse=Player:GetMouse()
  121. --save shoulders
  122. RSH, LSH=nil, nil
  123. --welds
  124. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  125. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  126. LH=Torso["Left Hip"]
  127. RH=Torso["Right Hip"]
  128. function NoOutline(Part)
  129. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  130. end
  131. player=Player
  132. ch=Character
  133. RSH=ch.Torso["Right Shoulder"]
  134. LSH=ch.Torso["Left Shoulder"]
  135. --
  136. RSH.Parent=nil
  137. LSH.Parent=nil
  138. --
  139. RW.Name="Right Shoulder"
  140. RW.Part0=ch.Torso
  141. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  142. RW.C1=cf(0, 0.5, 0)
  143. RW.Part1=ch["Right Arm"]
  144. RW.Parent=ch.Torso
  145. --
  146. LW.Name="Left Shoulder"
  147. LW.Part0=ch.Torso
  148. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  149. LW.C1=cf(0, 0.5, 0)
  150. LW.Part1=ch["Left Arm"]
  151. LW.Parent=ch.Torso
  152.  
  153. function swait(num)
  154. if num==0 or num==nil then
  155. game:service'RunService'.Heartbeat:wait(0)
  156. else
  157. for i=0,num do
  158. game:service'RunService'.Heartbeat:wait(0)
  159. end
  160. end
  161. end
  162.  
  163. function nooutline(part)
  164. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  165. end
  166.  
  167. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  168. local fp=it("Part")
  169. fp.formFactor=formfactor
  170. fp.Parent=parent
  171. fp.Reflectance=reflectance
  172. fp.Transparency=transparency
  173. fp.CanCollide=false
  174. fp.Locked=true
  175. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  176. fp.Name=name
  177. fp.Size=size
  178. fp.Position=Character.Torso.Position
  179. nooutline(fp)
  180. fp.Material=material
  181. fp:BreakJoints()
  182. return fp
  183. end
  184.  
  185. function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  186. local fp = it("Part")
  187. fp.formFactor = formfactor
  188. fp.Parent = parent
  189. fp.Reflectance = reflectance
  190. fp.Transparency = transparency
  191. fp.CanCollide = false
  192. fp.Locked=true
  193. fp.BrickColor = brickcolor
  194. fp.Name = name
  195. fp.Size = size
  196. fp.Position = EffectPart.Position
  197. NoOutline(fp)
  198. fp.Material="Neon"
  199. fp:BreakJoints()
  200. return fp
  201. end
  202.  
  203. function wweld(parent,part0,part1,c0)
  204. local weld=it("Weld")
  205. weld.Parent=parent
  206. weld.Part0=part0
  207. weld.Part1=part1
  208. weld.C0=c0
  209. return weld
  210. end
  211.  
  212. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  213. local mesh=it(Mesh)
  214. mesh.Parent=part
  215. if Mesh=="SpecialMesh" then
  216. mesh.MeshType=meshtype
  217. mesh.MeshId=meshid
  218. end
  219. mesh.Offset=offset
  220. mesh.Scale=scale
  221. return mesh
  222. end
  223.  
  224. function decal(part,face,texture,transparency,shiny,specular,name)
  225. local d=it("Decal",part)
  226. d.Shiny=shiny
  227. d.Face=face
  228. d.Specular=specular
  229. d.Transparency=transparency
  230. d.Texture=texture
  231. d.Name=name
  232. return d
  233. end
  234.  
  235. function weld(parent,part0,part1,c0,c1)
  236. local weld=it("Weld")
  237. weld.Parent=parent
  238. weld.Part0=part0
  239. weld.Part1=part1
  240. weld.C0=c0
  241. weld.C1=c1
  242. return weld
  243. end
  244.  
  245.  
  246. local function CFrameFromTopBack(at, top, back)
  247. local right = top:Cross(back)
  248. return CFrame.new(at.x, at.y, at.z,
  249. right.x, top.x, back.x,
  250. right.y, top.y, back.y,
  251. right.z, top.z, back.z)
  252. end
  253.  
  254. function Triangle(a, b, c)
  255. local edg1 = (c-a):Dot((b-a).unit)
  256. local edg2 = (a-b):Dot((c-b).unit)
  257. local edg3 = (b-c):Dot((a-c).unit)
  258. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  259. a, b, c = a, b, c
  260. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  261. a, b, c = b, c, a
  262. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  263. a, b, c = c, a, b
  264. else
  265. assert(false, "unreachable")
  266. end
  267.  
  268. local len1 = (c-a):Dot((b-a).unit)
  269. local len2 = (b-a).magnitude - len1
  270. local width = (a + (b-a).unit*len1 - c).magnitude
  271.  
  272. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  273.  
  274. local list = {}
  275.  
  276. local TrailColor = ("Institutional white")
  277.  
  278. if len1 > 0.01 then
  279. local w1 = Instance.new('WedgePart', m)
  280. game:GetService("Debris"):AddItem(w1,5)
  281. w1.Material = "Neon"
  282. w1.FormFactor = 'Custom'
  283. w1.BrickColor = BrickColor.new(TrailColor)
  284. w1.Transparency = 0
  285. w1.Reflectance = 0
  286. w1.Material = "Neon"
  287. w1.CanCollide = false
  288. NoOutline(w1)
  289. local sz = Vector3.new(0.2, width, len1)
  290. w1.Size = sz
  291. local sp = Instance.new("SpecialMesh",w1)
  292. sp.MeshType = "Wedge"
  293. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  294. w1:BreakJoints()
  295. w1.Anchored = true
  296. w1.Parent = workspace
  297. w1.Transparency = 0.7
  298. table.insert(Effects,{w1,"Disappear",.01})
  299. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  300. table.insert(list,w1)
  301. end
  302.  
  303. if len2 > 0.01 then
  304. local w2 = Instance.new('WedgePart', m)
  305. game:GetService("Debris"):AddItem(w2,5)
  306. w2.Material = "Neon"
  307. w2.FormFactor = 'Custom'
  308. w2.BrickColor = BrickColor.new(TrailColor)
  309. w2.Transparency = 0
  310. w2.Reflectance = 0
  311. w2.Material = "Neon"
  312. w2.CanCollide = false
  313. NoOutline(w2)
  314. local sz = Vector3.new(0.2, width, len2)
  315. w2.Size = sz
  316. local sp = Instance.new("SpecialMesh",w2)
  317. sp.MeshType = "Wedge"
  318. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  319. w2:BreakJoints()
  320. w2.Anchored = true
  321. w2.Parent = workspace
  322. w2.Transparency = 0.7
  323. table.insert(Effects,{w2,"Disappear",.01})
  324. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  325. table.insert(list,w2)
  326. end
  327. return unpack(list)
  328. end
  329.  
  330.  
  331. so = function(id,par,vol,pit)
  332. coroutine.resume(coroutine.create(function()
  333. local sou = Instance.new("Sound",par or workspace)
  334. sou.Volume=vol
  335. sou.Pitch=pit or 1
  336. sou.SoundId=id
  337. swait()
  338. sou:play()
  339. game:GetService("Debris"):AddItem(sou,6)
  340. end))
  341. end
  342.  
  343. function clerp(a,b,t)
  344. local qa = {QuaternionFromCFrame(a)}
  345. local qb = {QuaternionFromCFrame(b)}
  346. local ax, ay, az = a.x, a.y, a.z
  347. local bx, by, bz = b.x, b.y, b.z
  348. local _t = 1-t
  349. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  350. end
  351.  
  352. function QuaternionFromCFrame(cf)
  353. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  354. local trace = m00 + m11 + m22
  355. if trace > 0 then
  356. local s = math.sqrt(1 + trace)
  357. local recip = 0.5/s
  358. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  359. else
  360. local i = 0
  361. if m11 > m00 then
  362. i = 1
  363. end
  364. if m22 > (i == 0 and m00 or m11) then
  365. i = 2
  366. end
  367. if i == 0 then
  368. local s = math.sqrt(m00-m11-m22+1)
  369. local recip = 0.5/s
  370. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  371. elseif i == 1 then
  372. local s = math.sqrt(m11-m22-m00+1)
  373. local recip = 0.5/s
  374. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  375. elseif i == 2 then
  376. local s = math.sqrt(m22-m00-m11+1)
  377. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  378. end
  379. end
  380. end
  381.  
  382. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  383. local xs, ys, zs = x + x, y + y, z + z
  384. local wx, wy, wz = w*xs, w*ys, w*zs
  385. local xx = x*xs
  386. local xy = x*ys
  387. local xz = x*zs
  388. local yy = y*ys
  389. local yz = y*zs
  390. local zz = z*zs
  391. 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))
  392. end
  393.  
  394. function QuaternionSlerp(a, b, t)
  395. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  396. local startInterp, finishInterp;
  397. if cosTheta >= 0.0001 then
  398. if (1 - cosTheta) > 0.0001 then
  399. local theta = math.acos(cosTheta)
  400. local invSinTheta = 1/math.sin(theta)
  401. startInterp = math.sin((1-t)*theta)*invSinTheta
  402. finishInterp = math.sin(t*theta)*invSinTheta
  403. else
  404. startInterp = 1-t
  405. finishInterp = t
  406. end
  407. else
  408. if (1+cosTheta) > 0.0001 then
  409. local theta = math.acos(-cosTheta)
  410. local invSinTheta = 1/math.sin(theta)
  411. startInterp = math.sin((t-1)*theta)*invSinTheta
  412. finishInterp = math.sin(t*theta)*invSinTheta
  413. else
  414. startInterp = t-1
  415. finishInterp = t
  416. end
  417. end
  418. 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
  419. end
  420.  
  421. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  422. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  423. end
  424.  
  425. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  426. if hit.Parent==nil then
  427. return
  428. end
  429. local h=hit.Parent:FindFirstChild("Humanoid")
  430. for _,v in pairs(hit.Parent:children()) do
  431. if v:IsA("Humanoid") then
  432. h=v
  433. end
  434. end
  435. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  436. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  437. end
  438. if hit.Parent.className=="Hat" then
  439. hit=hit.Parent.Parent:findFirstChild("Head")
  440. end
  441. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  442. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  443. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  444. return
  445. end]]
  446. -- hs(hit,1.2)
  447. local c=Instance.new("ObjectValue")
  448. c.Name="creator"
  449. c.Value=game:service("Players").LocalPlayer
  450. c.Parent=h
  451. game:GetService("Debris"):AddItem(c,.5)
  452. local Damage=math.rad(minim,maxim)
  453. -- h:TakeDamage(Damage)
  454. local blocked=false
  455. local block=hit.Parent:findFirstChild("Block")
  456. if block~=nil then
  457. print(block.className)
  458. if block.className=="NumberValue" then
  459. if block.Value>0 then
  460. blocked=true
  461. if decreaseblock==nil then
  462. block.Value=block.Value-1
  463. end
  464. end
  465. end
  466. if block.className=="IntValue" then
  467. if block.Value>0 then
  468. blocked=true
  469. if decreaseblock~=nil then
  470. block.Value=block.Value-1
  471. end
  472. end
  473. end
  474. end
  475. if blocked==false then
  476. -- h:TakeDamage(Damage)
  477. h.Health=h.Health-Damage
  478. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  479. else
  480. h.Health=h.Health-(Damage/2)
  481. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  482. end
  483. if Type=="Knockdown" then
  484. local hum=hit.Parent.Humanoid
  485. hum.PlatformStand=true
  486. coroutine.resume(coroutine.create(function(HHumanoid)
  487. swait(1)
  488. HHumanoid.PlatformStand=false
  489. end),hum)
  490. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  491. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  492. local bodvol=Instance.new("BodyVelocity")
  493. bodvol.velocity=angle*knockback
  494. bodvol.P=5000
  495. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  496. bodvol.Parent=hit
  497. local rl=Instance.new("BodyAngularVelocity")
  498. rl.P=3000
  499. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  500. rl.angularvelocity=Vector3.new(math.rad(-10,10),math.rad(-10,10),math.rad(-10,10))
  501. rl.Parent=hit
  502. game:GetService("Debris"):AddItem(bodvol,.5)
  503. game:GetService("Debris"):AddItem(rl,.5)
  504. elseif Type=="Normal" then
  505. local vp=Instance.new("BodyVelocity")
  506. vp.P=500
  507. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  508. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  509. if KnockbackType==1 then
  510. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  511. elseif KnockbackType==2 then
  512. vp.velocity=Property.CFrame.lookVector*knockback
  513. end
  514. if knockback>0 then
  515. vp.Parent=hit.Parent.Torso
  516. end
  517. game:GetService("Debris"):AddItem(vp,.5)
  518. elseif Type=="Up" then
  519. local bodyVelocity=Instance.new("BodyVelocity")
  520. bodyVelocity.velocity=vt(0,60,0)
  521. bodyVelocity.P=5000
  522. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  523. bodyVelocity.Parent=hit
  524. game:GetService("Debris"):AddItem(bodyVelocity,1)
  525. local rl=Instance.new("BodyAngularVelocity")
  526. rl.P=3000
  527. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  528. rl.angularvelocity=Vector3.new(math.rad(-30,30),math.rad(-30,30),math.rad(-30,30))
  529. rl.Parent=hit
  530. game:GetService("Debris"):AddItem(rl,.5)
  531. elseif Type=="Snare" then
  532. local bp=Instance.new("BodyPosition")
  533. bp.P=2000
  534. bp.D=100
  535. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  536. bp.position=hit.Parent.Torso.Position
  537. bp.Parent=hit.Parent.Torso
  538. game:GetService("Debris"):AddItem(bp,1)
  539. elseif Type=="Target" then
  540. local Targetting = false
  541. if Targetting==false then
  542. ZTarget=hit.Parent.Torso
  543. coroutine.resume(coroutine.create(function(Part)
  544. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  545. swait(5)
  546. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  547. end),ZTarget)
  548. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  549. local targetgui=Instance.new("BillboardGui")
  550. targetgui.Parent=ZTarget
  551. targetgui.Size=UDim2.new(10,100,10,100)
  552. local targ=Instance.new("ImageLabel")
  553. targ.Parent=targetgui
  554. targ.BackgroundTransparency=1
  555. targ.Image="rbxassetid://4834067"
  556. targ.Size=UDim2.new(1,0,1,0)
  557. cam.CameraType="Scriptable"
  558. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  559. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  560. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  561. Targetting=true
  562. RocketTarget=ZTarget
  563. for i=1,Property do
  564. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  565. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  566. swait()
  567. end
  568. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  569. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  570. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  571. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  572. end
  573. Targetting=false
  574. RocketTarget=nil
  575. targetgui.Parent=nil
  576. cam.CameraType="Custom"
  577. end
  578. end
  579. local debounce=Instance.new("BoolValue")
  580. debounce.Name="DebounceHit"
  581. debounce.Parent=hit.Parent
  582. debounce.Value=true
  583. game:GetService("Debris"):AddItem(debounce,Delay)
  584. c=Instance.new("ObjectValue")
  585. c.Name="creator"
  586. c.Value=Player
  587. c.Parent=h
  588. game:GetService("Debris"):AddItem(c,.5)
  589. end
  590. end
  591.  
  592.  
  593. function ShowDamage(Pos, Text, Time, Color)
  594. local Rate = (1 / 30)
  595. local Pos = (Pos or Vector3.new(0, 0, 0))
  596. local Text = (Text or "")
  597. local Time = (Time or 2)
  598. local Color = (Color or Color3.new(1, 0, 0))
  599. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  600. EffectPart.Anchored = true
  601. local BillboardGui = Instance.new("BillboardGui")
  602. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  603. BillboardGui.Adornee = EffectPart
  604. local TextLabel = Instance.new("TextLabel")
  605. TextLabel.BackgroundTransparency = 1
  606. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  607. TextLabel.Text = Text
  608. TextLabel.TextColor3 = Color
  609. TextLabel.TextScaled = true
  610. TextLabel.Font = Enum.Font.ArialBold
  611. TextLabel.Parent = BillboardGui
  612. BillboardGui.Parent = EffectPart
  613. game.Debris:AddItem(EffectPart, (Time + 0.1))
  614. EffectPart.Parent = game:GetService("Workspace")
  615. Delay(0, function()
  616. local Frames = (Time / Rate)
  617. for Frame = 1, Frames do
  618. wait(Rate)
  619. local Percent = (Frame / Frames)
  620. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  621. TextLabel.TextTransparency = Percent
  622. end
  623. if EffectPart and EffectPart.Parent then
  624. EffectPart:Destroy()
  625. end
  626. end)
  627. end
  628.  
  629. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  630. local fp=it("Part")
  631. fp.formFactor=formfactor
  632. fp.Parent=parent
  633. fp.Reflectance=reflectance
  634. fp.Transparency=transparency
  635. fp.CanCollide=false
  636. fp.Locked=true
  637. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  638. fp.Name=name
  639. fp.Size=size
  640. fp.Position=Character.Torso.Position
  641. nooutline(fp)
  642. fp.Material=material
  643. fp:BreakJoints()
  644. return fp
  645. end
  646.  
  647. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  648. local mesh=it(Mesh)
  649. mesh.Parent=part
  650. if Mesh=="SpecialMesh" then
  651. mesh.MeshType=meshtype
  652. mesh.MeshId=meshid
  653. end
  654. mesh.Offset=offset
  655. mesh.Scale=scale
  656. return mesh
  657. end
  658.  
  659. function weld(parent,part0,part1,c0,c1)
  660. local weld=it("Weld")
  661. weld.Parent=parent
  662. weld.Part0=part0
  663. weld.Part1=part1
  664. weld.C0=c0
  665. weld.C1=c1
  666. return weld
  667. end
  668.  
  669. -----Asriel {R} Arm-----
  670. p=Instance.new('Part',Character)
  671. p.BrickColor=BrickColor.new('Institutional white')
  672. p.Material=("Neon")
  673. p.Name="P1"
  674. p.Size=Vector3.new(1.2,2.2,1.2)
  675. w=Instance.new('Weld',Character.P1)
  676. w.Part0=Character.P1
  677. w.Part1=RightArm
  678. ------------------------------
  679. p=Instance.new('Part',Character)
  680. p.BrickColor=BrickColor.new('Really black')
  681. p.Material=("Neon")
  682. p.Name="P2"
  683. p.Size=Vector3.new(1.3, 0.2, 1.3)
  684. w=Instance.new('Weld',Character.P2)
  685. w.Part0=Character.P2
  686. w.Part1=RightArm
  687. w.C0=CFrame.new(0,0.8,0)
  688. ------------------------------
  689. p=Instance.new('Part',Character)
  690. p.BrickColor=BrickColor.new('Really black')
  691. p.Material=("Neon")
  692. p.Name="Diamond1"
  693. p.Size=Vector3.new(1.3, 0.2, 1.3)
  694. m=Instance.new('SpecialMesh',Character.Diamond1)
  695. m.MeshId="http://www.roblox.com/asset/?id=9756362"
  696. m.Scale=Vector3.new(1.3, 1.4, 1.3)
  697. w=Instance.new('Weld',Character.Diamond1)
  698. w.Part0=Character.Diamond1
  699. w.Part1=RightArm
  700. w.C0=CFrame.new(0,0,0)
  701. ----------------------------------
  702. p=Instance.new('Part',Character)
  703. p.BrickColor=BrickColor.new('Really black')
  704. p.Material=("Neon")
  705. p.Name="P3"
  706. p.Size=Vector3.new(1.3, 0.2, 1.3)
  707. w=Instance.new('Weld',Character.P3)
  708. w.Part0=Character.P3
  709. w.Part1=RightArm
  710. w.C0=CFrame.new(0,0.4,0)
  711. ------------------------------------------
  712. p=Instance.new('Part',Character)
  713. p.BrickColor=BrickColor.new('Really black')
  714. p.Material=("Neon")
  715. p.Name="P5"
  716. p.Size=Vector3.new(1.3, 0.2, 1.3)
  717. w=Instance.new('Weld',Character.P5)
  718. w.Part0=Character.P5
  719. w.Part1=RightArm
  720. w.C0=CFrame.new(0,-0.8,0)
  721. -----------------------------------------------------
  722. p=Instance.new('Part',Character)
  723. p.BrickColor=BrickColor.new('Really black')
  724. p.Material=("Neon")
  725. p.Name="P4"
  726. p.Size=Vector3.new(1.3, 0.2, 1.3)
  727. w=Instance.new('Weld',Character.P4)
  728. w.Part0=Character.P4
  729. w.Part1=RightArm
  730. w.C0=CFrame.new(0,-0.4,0)
  731. -----Left Asriel {R} Arm Two----------------------
  732. p=Instance.new('Part',Character)
  733. p.BrickColor=BrickColor.new('Institutional white')
  734. p.Material=("Neon")
  735. p.Name="P6"
  736. p.Size=Vector3.new(1.2,2.2,1.2)
  737. w=Instance.new('Weld',Character.P6)
  738. w.Part0=Character.P6
  739. w.Part1=LeftArm
  740. ------------------------------
  741. p=Instance.new('Part',Character)
  742. p.BrickColor=BrickColor.new('Really black')
  743. p.Material=("Neon")
  744. p.Name="P7"
  745. p.Size=Vector3.new(1.3, 0.2, 1.3)
  746. w=Instance.new('Weld',Character.P7)
  747. w.Part0=Character.P7
  748. w.Part1=LeftArm
  749. w.C0=CFrame.new(0,0.8,0)
  750. ------------------------------
  751. p=Instance.new('Part',Character)
  752. p.BrickColor=BrickColor.new('Really black')
  753. p.Material=("Neon")
  754. p.Name="Diamond2"
  755. p.Size=Vector3.new(1.3, 0.2, 1.3)
  756. m=Instance.new('SpecialMesh',Character.Diamond2)
  757. m.MeshId="http://www.roblox.com/asset/?id=9756362"
  758. m.Scale=Vector3.new(1.3, 1.4, 1.3)
  759. w=Instance.new('Weld',Character.Diamond2)
  760. w.Part0=Character.Diamond2
  761. w.Part1=LeftArm
  762. w.C0=CFrame.new(0,0,0)
  763. ----------------------------------
  764. p=Instance.new('Part',Character)
  765. p.BrickColor=BrickColor.new('Really black')
  766. p.Material=("Neon")
  767. p.Name="P8"
  768. p.Size=Vector3.new(1.3, 0.2, 1.3)
  769. w=Instance.new('Weld',Character.P8)
  770. w.Part0=Character.P8
  771. w.Part1=LeftArm
  772. w.C0=CFrame.new(0,0.4,0)
  773. ------------------------------------------
  774. p=Instance.new('Part',Character)
  775. p.BrickColor=BrickColor.new('Really black')
  776. p.Material=("Neon")
  777. p.Name="P9"
  778. p.Size=Vector3.new(1.3, 0.2, 1.3)
  779. w=Instance.new('Weld',Character.P9)
  780. w.Part0=Character.P9
  781. w.Part1=LeftArm
  782. w.C0=CFrame.new(0,-0.8,0)
  783. -----------------------------------------------------
  784. p=Instance.new('Part',Character)
  785. p.BrickColor=BrickColor.new('Really black')
  786. p.Material=("Neon")
  787. p.Name="P10"
  788. p.Size=Vector3.new(1.3, 0.2, 1.3)
  789. w=Instance.new('Weld',Character.P10)
  790. w.Part0=Character.P10
  791. w.Part1=LeftArm
  792. w.C0=CFrame.new(0,-0.4,0)
  793. ------- Asriel {R} Leg-------
  794. p=Instance.new('Part',Character)
  795. p.BrickColor=BrickColor.new('Institutional white')
  796. p.Material=("Neon")
  797. p.Name="R1"
  798. p.Size=Vector3.new(1.2,2,1.2)
  799. w=Instance.new('Weld',Character.R1)
  800. w.Part0=Character.R1
  801. w.Part1=RightLeg
  802. ------------------------------
  803. p=Instance.new('Part',Character)
  804. p.BrickColor=BrickColor.new('Really black')
  805. p.Material=("Neon")
  806. p.Name="R2"
  807. p.Size=Vector3.new(1.3, 0.2, 1.3)
  808. w=Instance.new('Weld',Character.R2)
  809. w.Part0=Character.R2
  810. w.Part1=RightLeg
  811. w.C0=CFrame.new(0,0.7,0)
  812. ------------------------------
  813. p=Instance.new('Part',Character)
  814. p.BrickColor=BrickColor.new('Really black')
  815. p.Material=("Neon")
  816. p.Name="Diamond3"
  817. p.Size=Vector3.new(1.3, 0.2, 1.3)
  818. m=Instance.new('SpecialMesh',Character.Diamond3)
  819. m.MeshId="http://www.roblox.com/asset/?id=9756362"
  820. m.Scale=Vector3.new(1, 1, 1)
  821. w=Instance.new('Weld',Character.Diamond3)
  822. w.Part0=Character.Diamond3
  823. w.Part1=RightLeg
  824. w.C0=CFrame.new(0,0,0)
  825. ----------------------------------
  826. p=Instance.new('Part',Character)
  827. p.BrickColor=BrickColor.new('Really black')
  828. p.Material=("Neon")
  829. p.Name="Bash1"
  830. p.Size=Vector3.new(1.3, 0.2, 1.3)
  831. m=Instance.new('SpecialMesh',Character.Bash1)
  832. m.Scale=Vector3.new(5, 0, 1)
  833. w=Instance.new('Weld',Character.Bash1)
  834. w.Part0=Character.Bash1
  835. w.Part1=RightLeg
  836. w.C0=CFrame.new(0,0,0)
  837. ----------------------------------
  838. p=Instance.new('Part',Character)
  839. p.BrickColor=BrickColor.new('Really black')
  840. p.Material=("Neon")
  841. p.Name="R3"
  842. p.Size=Vector3.new(1.3, 0.2, 1.3)
  843. w=Instance.new('Weld',Character.R3)
  844. w.Part0=Character.R3
  845. w.Part1=RightLeg
  846. w.C0=CFrame.new(0,-0.7,0)
  847. ------------------------------
  848. p=Instance.new('Part',Character)
  849. p.BrickColor=BrickColor.new('Institutional white')
  850. p.Material=("Neon")
  851. p.Name="R4"
  852. p.Size=Vector3.new(1.2,2,1.2)
  853. w=Instance.new('Weld',Character.R4)
  854. w.Part0=Character.R4
  855. w.Part1=LeftLeg
  856. ------------------------------
  857. p=Instance.new('Part',Character)
  858. p.BrickColor=BrickColor.new('Really black')
  859. p.Material=("Neon")
  860. p.Name="R5"
  861. p.Size=Vector3.new(1.3, 0.2, 1.3)
  862. w=Instance.new('Weld',Character.R5)
  863. w.Part0=Character.R5
  864. w.Part1=LeftLeg
  865. w.C0=CFrame.new(0,0.7,0)
  866. ------------------------------
  867. p=Instance.new('Part',Character)
  868. p.BrickColor=BrickColor.new('Really black')
  869. p.Material=("Neon")
  870. p.Name="Diamond4"
  871. p.Size=Vector3.new(1.3, 0.2, 1.3)
  872. m=Instance.new('SpecialMesh',Character.Diamond4)
  873. m.MeshId="http://www.roblox.com/asset/?id=9756362"
  874. m.Scale=Vector3.new(1, 1, 1)
  875. w=Instance.new('Weld',Character.Diamond4)
  876. w.Part0=Character.Diamond4
  877. w.Part1=LeftLeg
  878. w.C0=CFrame.new(0,0,0)
  879. ----------------------------------
  880. p=Instance.new('Part',Character)
  881. p.BrickColor=BrickColor.new('Really black')
  882. p.Material=("Neon")
  883. p.Name="Bash2"
  884. p.Size=Vector3.new(1.3, 0.2, 1.3)
  885. m=Instance.new('SpecialMesh',Character.Bash2)
  886. m.Scale=Vector3.new(5, 0, 1)
  887. w=Instance.new('Weld',Character.Bash2)
  888. w.Part0=Character.Bash2
  889. w.Part1=LeftLeg
  890. w.C0=CFrame.new(0,0,0)
  891. ----------------------------------
  892. p=Instance.new('Part',Character)
  893. p.BrickColor=BrickColor.new('Really black')
  894. p.Material=("Neon")
  895. p.Name="R6"
  896. p.Size=Vector3.new(1.3, 0.2, 1.3)
  897. w=Instance.new('Weld',Character.R6)
  898. w.Part0=Character.R6
  899. w.Part1=LeftLeg
  900. w.C0=CFrame.new(0,-0.7,0)
  901. ------- Death {A} Ray --------
  902. p=Instance.new('Part',Character)
  903. p.Name="DeathRay"
  904. p.Size=Vector3.new(0.2, 5.22, 2.13)
  905. p.BrickColor=BrickColor.new('White')
  906. p.Transparency=1
  907. d=Instance.new('Decal',Character.DeathRay)
  908. d.Face="Left"
  909. d.Texture="http://www.roblox.com/asset/?id=340395528"
  910. d=Instance.new('Decal',Character.DeathRay)
  911. d.Face="Right"
  912. d.Texture="http://www.roblox.com/asset/?id=340395528"
  913. w=Instance.new('Weld',Character.DeathRay)
  914. w.Part0=Character.DeathRay
  915. w.Part1=LeftArm
  916. w.C0=CFrame.new(0.7,0,0)
  917. ------- Left Death {A} Ray --------
  918. p=Instance.new('Part',Character)
  919. p.Name="DeathRay2"
  920. p.Size=Vector3.new(0.2, 5.22, 2.13)
  921. p.BrickColor=BrickColor.new('White')
  922. p.Transparency=1
  923. d=Instance.new('Decal',Character.DeathRay2)
  924. d.Face="Left"
  925. d.Texture="http://www.roblox.com/asset/?id=340395528"
  926. d=Instance.new('Decal',Character.DeathRay2)
  927. d.Face="Right"
  928. d.Texture="http://www.roblox.com/asset/?id=340395528"
  929. w=Instance.new('Weld',Character.DeathRay2)
  930. w.Part0=Character.DeathRay2
  931. w.Part1=RightArm
  932. w.C0=CFrame.new(-0.7,0,0)
  933. ---Asrielovania {R} Music---
  934. s=Instance.new('Sound',Character)
  935. s.SoundId="rbxassetid://306154368"
  936. s.Volume=1
  937. s.Pitch=1
  938. s.Looped=true
  939. s:Play()
  940. -------Sorcer {A} Sword-------
  941. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","Handle",Vector3.new(0.200000003, 1.61857152, 0.200000003))
  942. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.995889783, -0.101109691, 0.0468789339, -5.23798153e-005, 0.99999994, -0.000210702419, -6.36925748e-008, -0.000210702419, -0.99999994, -1, -5.23798008e-005, 7.47295417e-008))
  943. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 1, 0.857142746))
  944. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.257142872, 0.911428571))
  945. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00982296467, -0.128642559, 5.57254982, -1.21753502e-007, -2.87620594e-010, 1, -1, -1.04306673e-006, -1.2175461e-007, 1.04306673e-006, -1, -2.87123214e-010))
  946. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  947. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.571428657))
  948. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100114346, 3.24283266, 2.64644623e-005, -2.98713599e-006, -1.63886575e-008, -1, -1.18017197e-005, -0.99999994, 1.64265153e-008, -0.99999994, 1.18017197e-005, 2.98713007e-006))
  949. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  950. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.514285743))
  951. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00896048546, 3.24313331, -6.2584877e-006, -2.62832918e-006, -1.58840017e-008, -1, -1.16825104e-005, -0.99999994, 1.59122848e-008, -0.99999994, 1.16825104e-005, 2.62831986e-006))
  952. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  953. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.914285779, 0.254285723))
  954. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0080575943, -5.57459974, 0.127099097, -7.20826961e-007, -1.18548371e-009, 1, 6.25863322e-007, 1, 1.18891563e-009, -1, 6.25863322e-007, -7.20827984e-007))
  955. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  956. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.942857206, 0.28285715))
  957. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00858414173, -5.58866072, 0.142816901, -5.41048905e-007, -8.99582631e-010, 1, -5.96046448e-007, 0.99999994, 9.00953978e-010, -0.99999994, -5.96046448e-007, -5.41057148e-007))
  958. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  959. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.285714328, 0.940000057))
  960. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.011053443, -0.142930448, 5.58944941, 2.97432763e-007, 3.64387631e-010, 1, -1, 6.25863322e-007, 2.9743137e-007, -6.25863322e-007, -1, 3.63804986e-010))
  961. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  962. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1, 1.20000005, 1))
  963. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.57627869e-007, -0.809324801, 1.96695328e-006, 6.20105922e-008, 2.27451835e-010, -1, 1.81795622e-006, 1, 2.27856845e-010, 1, -1.81795622e-006, 6.2011928e-008))
  964. mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 0.142857134, 0.285714298))
  965. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  966. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00226664543, 0.69951874, 1.00827909, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  967. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  968. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  969. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487548, -0.00217807293, 3.74913216e-005, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  970. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.857145786, 1))
  971. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  972. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487882, -0.00217807293, 4.00543213e-005, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  973. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.571431458, 1.10000002))
  974. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.483492851, 0.539954185, 0.539909601))
  975. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00595891476, -1.00750566, 1.00747085, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  976. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  977. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  978. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00534570217, -1.00757694, -0.698815584, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  979. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  980. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.493492872, 0.539954185, 0.539909601))
  981. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000260472298, 0.6988675, -0.698937058, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  982. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  983. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  984. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00927072763, -0.0121991634, 1.19311547, 0.999999881, -2.08614802e-006, 1.9306286e-007, -1.93059051e-007, -1.09411957e-007, 1, -2.08616257e-006, -0.999999881, -1.09408283e-007))
  985. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  986. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  987. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604586363, -0.0121991634, 1.02863288, 0.866026282, 0.499998033, 2.28958157e-007, -1.93872992e-007, -1.22099237e-007, 1, 0.499998033, -0.866026282, -8.79730777e-009))
  988. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  989. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  990. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.03790355, -0.0121991634, 0.588528812, 0.500001669, 0.866024196, 1.74744486e-007, -1.6279435e-007, -1.0777579e-007, 1, 0.866024196, -0.500001669, 8.71042545e-008))
  991. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  992. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.662679553, 0.200000003, 0.200000003))
  993. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39311564, -0.0121991634, -0.00927072763, 2.08616257e-006, 0.999999881, 7.82298955e-008, -1.51383063e-007, -7.82268899e-008, 1, 0.999999881, -2.08614802e-006, 1.51386175e-007))
  994. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  995. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.46267951, 0.200000003, 0.200000003))
  996. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02863288, -0.0121997595, -0.604586482, -0.499998093, 0.866026223, -6.44970513e-008, -1.45620604e-007, -9.60127267e-009, 1, 0.866026223, 0.499998093, 1.30918266e-007))
  997. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  998. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  999. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.588528991, -0.0121992826, -1.03790355, -0.866024137, 0.500001729, -9.11133142e-008, -1.16737233e-007, -1.99774206e-008, 1, 0.500001729, 0.866024137, 7.56750538e-008))
  1000. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1001. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.372464359, 0.762464345, 0.762464285))
  1002. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00338602066, -0.736121356, -0.540583551, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  1003. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542364))
  1004. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.382464379, 0.762464345, 0.762464285))
  1005. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00803625584, -0.737174749, 0.736498654, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  1006. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.913885474, 0.128561974, 0.128542408))
  1007. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  1008. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00594449043, 0.540397167, 0.737201214, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  1009. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542408))
  1010. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  1011. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00681877136, 0.540436149, -0.541088939, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  1012. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366669, 0.128561974, 0.128542364))
  1013. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  1014. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910848916, -0.00147974491, 0.000465214252, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  1015. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.385687381, 0.642712057))
  1016. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  1017. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910846829, -0.00147974491, 0.000467300415, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  1018. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.257125348, 0.706983268))
  1019. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1020. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.98755074e-005, -0.86527884, -0.00526940823, 0.99999994, -3.33786011e-006, -1.61662047e-006, 3.33786011e-006, 0.99999994, -1.75251103e-009, 1.61662604e-006, 1.74897963e-009, 1))
  1021. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 0.857145548, 0.857142746))
  1022. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Institutional white","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
  1023. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0107657909, -3.95914412, 0.00325751305, 0.999999821, -0.000211339415, 2.39198562e-006, 0.000211339124, 0.999997795, -6.21902582e-005, -2.38056168e-006, 6.20116552e-005, 0.999992907))
  1024. EffectPart=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Institutional white","EffectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1025. EffectPartweld=weld(m,handle,EffectPart,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  1026. mesh("BlockMesh",EffectPart,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1027. EffectPart2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Institutional white","EffectPart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1028. EffectPart2weld=weld(m,Character["Left Arm"],EffectPart2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  1029.  
  1030. DarkRiftF=function(par)
  1031. while lol == true do
  1032. wait()
  1033. local PWN={}
  1034. for _,v in pairs(game.Workspace:children()) do
  1035. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  1036. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  1037. table.insert(PWN,v.Torso)
  1038. end
  1039. end
  1040. end
  1041. for _,t in pairs(PWN) do
  1042. local targ=par.Position-t.Position
  1043. local Mag=targ.magnitude
  1044. if not t:IsDescendantOf(Character) and t~=nil and Mag<=50 then
  1045. if Mag<=30 then
  1046. t.Parent.Humanoid:TakeDamage(.5)
  1047. local rl=Instance.new("BodyAngularVelocity")
  1048. rl.P=3000
  1049. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  1050. rl.angularvelocity=Vector3.new(math.rad(-20,20),math.rad(-20,20),math.rad(-20,20))/10
  1051. rl.Parent=t
  1052. game:GetService("Debris"):AddItem(rl,.1)
  1053. end
  1054. if Mag<=20 then
  1055. t.Parent.Humanoid:TakeDamage(.1)
  1056. else
  1057. local vl=Instance.new("BodyVelocity")
  1058. vl.P=3000
  1059. vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
  1060. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  1061. vl.Parent=t
  1062. game:GetService("Debris"):AddItem(vl,.1)
  1063. end
  1064. end
  1065. end
  1066. wait(.08)
  1067. end
  1068. end
  1069.  
  1070. function DerpMagic(part,x1,y1,z1,x2,y2,z2,color)
  1071. local msh1 = Instance.new("BlockMesh")
  1072. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1073. local S=Instance.new("Part")
  1074. S.Name="Effect"
  1075. S.Material="Neon"
  1076. S.formFactor=0
  1077. S.Size=Vector3.new(x1,y1,z1)
  1078. S.BrickColor=color
  1079. S.Reflectance = 0
  1080. S.TopSurface=0
  1081. S.BottomSurface=0
  1082. S.Transparency=0
  1083. S.Anchored=false
  1084. S.CanCollide=false
  1085. S.CFrame=part.CFrame
  1086. S.Parent=game.Workspace
  1087. msh1.Parent = S
  1088. local W=Instance.new("Weld")
  1089. W.Parent=S
  1090. W.Part0=S
  1091. W.Part1=part
  1092. W.C0=CFrame.new(x2,y2,z2) * CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  1093. W.Parent=nil
  1094. S.Anchored=true
  1095. coroutine.resume(coroutine.create(function(Part,Weld) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) --[[Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))]] Part.Transparency=i*.1 wait() end Part.Parent=nil Weld.Parent=nil end),S,W)
  1096. end
  1097.  
  1098. local function BlackHole(parent,cframe)
  1099. local effectsmsh = Instance.new("SpecialMesh")
  1100. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  1101. --effectsmsh.Scale = Vector3.new(1,1,2.5)
  1102. effectsmsh.Scale = Vector3.new(3,3,3)
  1103. local effectsg = Instance.new("Part")
  1104. effectsg.formFactor = 3
  1105. effectsg.CanCollide = false
  1106. effectsg.Name = "Effect"
  1107. effectsg.Locked = true
  1108. effectsg.Transparency = 1
  1109. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  1110. effectsg.Parent = parent
  1111. effectsg.BrickColor = BrickColor.random()
  1112. effectsg.Material="Neon"
  1113. coroutine.resume(coroutine.create(function(Part,Mesh)
  1114. local Mesh = Instance.new("SpecialMesh")
  1115. Mesh.Scale = Vector3.new(0.5,0.5,0.5)
  1116. Mesh.MeshType = "Sphere"
  1117. -- Mesh.TextureId="http://www.roblox.com/asset/?id=1529460"
  1118. Part=Instance.new("Part")
  1119. Part.Name="Effect"
  1120. Part.formFactor=0
  1121. Part.Size=Vector3.new(1,1,1)
  1122. Part.BrickColor=BrickColor.random()
  1123. Part.Material="Neon"
  1124. Part.Reflectance = 0
  1125. Part.TopSurface=0
  1126. Part.BottomSurface=0
  1127. Part.Transparency=0
  1128. Part.Anchored=true
  1129. NoOutline(Part)
  1130. Part.CanCollide=false
  1131. Part.CFrame=cframe
  1132. Part.Parent=parent
  1133. Mesh.Parent = Part
  1134. lol=true
  1135. coroutine.resume(coroutine.create(function()
  1136. DarkRiftF(Part)
  1137. end))
  1138. for i=0,200 do
  1139. wait()
  1140. DerpMagic(Part,1,i/3,1,0,i/3,0,BrickColor.random())
  1141. Mesh.Scale=Mesh.Scale-Vector3.new(0.2,0.2,0.2)
  1142. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  1143. end
  1144. local fff=200
  1145. for i=0,100 do
  1146. wait()
  1147. DerpMagic(Part,1,fff/3,1,0,fff/3,0,BrickColor.random())
  1148. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  1149. end
  1150. for i=0,1,0.05 do
  1151. wait()
  1152. Part.Transparency=Part.Transparency+0.05
  1153. Mesh.Scale=Mesh.Scale+Vector3.new(1.5,1.5,1.5)
  1154. end
  1155. lol=false
  1156. Part.Parent=nil
  1157. end),nil,nil)
  1158. end
  1159.  
  1160. function makeShockwave(height,color,speed,range,pulse)
  1161. local range = range or 2000
  1162. local p = Instance.new("Part")
  1163. p.Anchored = true
  1164. p.CanCollide = false
  1165. p.FormFactor = "Custom"
  1166. p.BrickColor = color
  1167. p.Parent = workspace
  1168. local m = Instance.new("SpecialMesh",p)
  1169. m.MeshId = "rbxassetid://3270017"
  1170. local estimateSurvival = math.floor(range/speed) * 0.03
  1171. game:GetService("Debris"):AddItem(p,estimateSurvival)
  1172. Spawn(function ()
  1173. for i = 1,range,speed do
  1174. p.Transparency = 1-math.min(0.5,3-(i/500))
  1175. m.Scale = Vector3.new(i,i,i*height)
  1176. p.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(90),0,0)
  1177. wait()
  1178. end
  1179. p:Destroy()
  1180. end)
  1181. end
  1182.  
  1183. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1184. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1185. prt.Anchored=true
  1186. prt.CFrame=cframe
  1187. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.1,.1,.1))
  1188. game:GetService("Debris"):AddItem(prt,2)
  1189. coroutine.resume(coroutine.create(function(Part,Mesh)
  1190. for i=0,2,delay do
  1191. wait()
  1192. Part.CFrame=Part.CFrame
  1193. Part.Transparency=i
  1194. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1195. end
  1196. Part.Parent=nil
  1197. end),prt,msh)
  1198. end
  1199.  
  1200. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1201. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1202. prt.Anchored=true
  1203. prt.CFrame=cframe
  1204. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1205. game:GetService("Debris"):AddItem(prt,5)
  1206. coroutine.resume(coroutine.create(function(Part,Mesh)
  1207. for i=0,1,delay do
  1208. wait()
  1209. Part.CFrame=Part.CFrame*euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  1210. Part.Transparency=i
  1211. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1212. end
  1213. Part.Parent=nil
  1214. end),prt,msh)
  1215. end
  1216.  
  1217. local function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  1218. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt())
  1219. if Type~=2 then
  1220. prt.Anchored=true
  1221. end
  1222. prt.CFrame=cframe
  1223. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1224. game:GetService("Debris"):AddItem(prt,5)
  1225. coroutine.resume(coroutine.create(function(Part,Mesh,dur)
  1226. local wld=nil
  1227. if dur==2 then
  1228. wld=weld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
  1229. end
  1230. for i=0,1,delay do
  1231. swait()
  1232. if dur==1 then
  1233. Part.CFrame=Part.CFrame
  1234. elseif dur==2 then
  1235. wld.C0=cframe
  1236. end
  1237. Part.Transparency=i
  1238. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1239. end
  1240. Part.Parent=nil
  1241. end),prt,msh,Type)
  1242. end
  1243.  
  1244. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1245. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1246. prt.Anchored=true
  1247. prt.CFrame=cframe
  1248. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1249. game:GetService("Debris"):AddItem(prt,5)
  1250. coroutine.resume(coroutine.create(function(Part,Mesh)
  1251. for i=0,1,delay do
  1252. swait()
  1253. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1254. Part.Transparency=i
  1255. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1256. end
  1257. Part.Parent=nil
  1258. end),prt,msh)
  1259. end
  1260.  
  1261. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1262. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1263. prt.Anchored=true
  1264. prt.CFrame=cframe
  1265. local msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1266. game:GetService("Debris"):AddItem(prt,5)
  1267. coroutine.resume(coroutine.create(function(Part,Mesh)
  1268. for i=0,1,delay do
  1269. wait()
  1270. Part.CFrame=Part.CFrame
  1271. Part.Transparency=i
  1272. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1273. end
  1274. Part.Parent=nil
  1275. end),prt,msh)
  1276. end
  1277.  
  1278. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1279. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt())
  1280. prt.Anchored=true
  1281. prt.CFrame=cframe
  1282. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1283. game:GetService("Debris"):AddItem(prt,5)
  1284. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  1285. end
  1286.  
  1287. function Blast(parent)
  1288. MagicBlock(BrickColor.random(),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1289. MagicWaveThing(BrickColor.random(),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1290. end
  1291.  
  1292. function ChargeBall(parent,t)
  1293. local counter=0
  1294. local size=1
  1295. for i=0,t,1 do
  1296. swait()
  1297. counter=counter+1
  1298. if counter%10==0 then
  1299. if size==3 then
  1300. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1301. elseif size==2 then
  1302. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1303. end
  1304. end
  1305. if counter%5==0 then
  1306. if size==1 then
  1307. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1308. elseif size==2 then
  1309. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1310. elseif size==3 then
  1311. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1312. end
  1313. end
  1314. end
  1315. end
  1316.  
  1317. function ChargeBall2(parent,t)
  1318. local counter=0
  1319. local size=1
  1320. for i=0,t,1 do
  1321. swait()
  1322. counter=counter+1
  1323. if counter%10==0 then
  1324. if size==3 then
  1325. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1326. elseif size==2 then
  1327. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1328. end
  1329. end
  1330. if counter%5==0 then
  1331. if size==1 then
  1332. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1333. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),1,1,1,1,.5,1,0.05)
  1334. elseif size==2 then
  1335. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1336. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),1,1,1,1,.5,1,0.05)
  1337. elseif size==3 then
  1338. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1339. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),1,1,1,1,.5,1,0.05)
  1340. end
  1341. end
  1342. end
  1343. end
  1344.  
  1345. function MagniDamage(Part,dis,mind,maxd,force,knock)
  1346. for _,c in pairs(workspace:children()) do
  1347. local hum=c:findFirstChild("Humanoid")
  1348. if hum~=nil then
  1349. local head=c:findFirstChild("Torso")
  1350. if head~=nil then
  1351. local targ=head.Position-Part.Position
  1352. local mag=targ.magnitude
  1353. if mag<=dis and c.Name~=Character.Name then
  1354. Damagefunc(Part,hum.Parent.Torso,mind,maxd,force,knock,RootPart,.2,1)
  1355. end
  1356. end
  1357. end
  1358. end
  1359. end
  1360.  
  1361. function computeDirection(vec)
  1362. local lenSquared = vec.magnitude * vec.magnitude
  1363. local invSqrt = 1 / math.sqrt(lenSquared)
  1364. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  1365. end
  1366.  
  1367. function attackone()
  1368. attack = true
  1369.  
  1370. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1371. local fx=Hitbox.Touched:connect(function(part)
  1372. local human=part.Parent:findFirstChild("Humanoid")
  1373. if human~=nil and bounce==false then
  1374. bounce=true
  1375.  
  1376.  
  1377.  
  1378. end
  1379. end)
  1380. for i = 0,1,0.1 do
  1381. swait()
  1382. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1383. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1384. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1385. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1386. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1387. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1388. end
  1389. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1390. for i = 0,1,0.1 do
  1391. swait()
  1392. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1393. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1394. local h = 5
  1395. 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)
  1396. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1397. 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)
  1398. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1399. scfr = blcf
  1400. elseif not scfr then
  1401. scfr = blcf
  1402. end
  1403. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1404. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1405. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1406. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1407. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1408. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1409. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1410. end
  1411. attack = false
  1412. bounce=false
  1413. scfr=nil
  1414. fx:disconnect()
  1415. con:disconnect()
  1416. end
  1417.  
  1418. function attacktwo()
  1419. attack=true
  1420.  
  1421. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1422. local fx=Hitbox.Touched:connect(function(part)
  1423. local human=part.Parent:findFirstChild("Humanoid")
  1424. if human~=nil and bounce==false then
  1425. bounce=true
  1426.  
  1427.  
  1428.  
  1429. end
  1430. end)
  1431. for i=0,1,.1 do
  1432. swait()
  1433. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1434. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1435. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1436. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1437. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1438. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1439. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1440. end
  1441. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1442. for i = 0,1,0.1 do
  1443. swait()
  1444. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1445. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1446. local h = 5
  1447. 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)
  1448. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1449. 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)
  1450. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1451. scfr = blcf
  1452. elseif not scfr then
  1453. scfr = blcf
  1454. end
  1455. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1456. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1457. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1458. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1459. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1460. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1461. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1462. end
  1463. scfr=nil
  1464. attack=false
  1465. bounce=false
  1466. con:disconnect()
  1467. fx:disconnect()
  1468. end
  1469.  
  1470. function attackthree()
  1471. attack=true
  1472.  
  1473. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1474. local fx=Hitbox.Touched:connect(function(part)
  1475. local human=part.Parent:findFirstChild("Humanoid")
  1476. if human~=nil and bounce==false then
  1477. bounce=true
  1478.  
  1479.  
  1480.  
  1481. end
  1482. end)
  1483. for i=0,1,.1 do
  1484. swait()
  1485. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
  1486. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1487. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  1488. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
  1489. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
  1490. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
  1491. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1492. end
  1493. so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
  1494. for i = 0,1,0.1 do
  1495. swait()
  1496. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1497. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1498. local h = 5
  1499. 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)
  1500. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1501. 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)
  1502. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1503. scfr = blcf
  1504. elseif not scfr then
  1505. scfr = blcf
  1506. end
  1507. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1508. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1509. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
  1510. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
  1511. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
  1512. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
  1513. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
  1514. end
  1515. attack=false
  1516. bounce=false
  1517. scfr=nil
  1518. con:disconnect()
  1519. fx:disconnect()
  1520. end
  1521.  
  1522. function attackfour()
  1523. attack = true
  1524.  
  1525. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(20,30),"Normal",RootPart,.2,1) end)
  1526. local fx=Hitbox.Touched:connect(function(part)
  1527. local human=part.Parent:findFirstChild("Humanoid")
  1528. if human~=nil and bounce==false then
  1529. bounce=true
  1530.  
  1531.  
  1532.  
  1533. end
  1534. end)
  1535. for i = 0,1,0.1 do
  1536. swait()
  1537. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.3)
  1538. Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
  1539. RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.3)
  1540. LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.3)
  1541. RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.3)
  1542. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.3)
  1543. handleweld.C0=clerp(handleweld.C0,cf(0,-.2,.5)*angles(math.rad(50),math.rad(-15),math.rad(0)),.3)
  1544. end
  1545. so("http://www.roblox.com/asset/?id=199145433",Hitbox,1,1.1)
  1546. local v=it("BodyVelocity",Torso)
  1547. v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
  1548. v.velocity=RootPart.CFrame.lookVector*50
  1549. for i = 0,1,0.1 do
  1550. swait()
  1551. local blcf = Hitbox.CFrame*cf(0,0,0)
  1552. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1553. local h = 5
  1554. 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)
  1555. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1556. 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)
  1557. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1558. scfr = blcf
  1559. elseif not scfr then
  1560. scfr = blcf
  1561. end
  1562. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.3)
  1563. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1564. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.3)
  1565. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.3)
  1566. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1567. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1568. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-100),math.rad(0),math.rad(0)),.3)
  1569. end
  1570. v.Parent=nil
  1571. scfr=nil
  1572. attack = false
  1573. bounce=false
  1574. con:disconnect()
  1575. fx:disconnect()
  1576. end
  1577.  
  1578. function Slash()
  1579. attack=true
  1580.  
  1581. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1582. local fx=Hitbox.Touched:connect(function(part)
  1583. local human=part.Parent:findFirstChild("Humanoid")
  1584. if human~=nil and bounce==false then
  1585. bounce=true
  1586.  
  1587.  
  1588.  
  1589. end
  1590. end)
  1591. for i=0,1,.1 do
  1592. swait()
  1593. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
  1594. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1595. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  1596. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
  1597. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
  1598. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
  1599. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1600. end
  1601. so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
  1602. for i = 0,1,0.1 do
  1603. swait()
  1604. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1605. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1606. local h = 5
  1607. 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)
  1608. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1609. 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)
  1610. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1611. scfr = blcf
  1612. elseif not scfr then
  1613. scfr = blcf
  1614. end
  1615. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1616. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1617. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
  1618. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
  1619. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
  1620. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
  1621. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
  1622. end
  1623. for i = 0,1,0.1 do ----------------------------------- second attack
  1624. swait()
  1625. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1626. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1627. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1628. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1629. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1630. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1631. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1632. end
  1633. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1634. for i = 0,1,0.1 do
  1635. swait()
  1636. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1637. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1638. local h = 5
  1639. 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)
  1640. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1641. 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)
  1642. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1643. scfr = blcf
  1644. elseif not scfr then
  1645. scfr = blcf
  1646. end
  1647. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1648. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1649. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1650. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1651. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1652. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1653. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1654. end
  1655. attack=false
  1656. bounce=false
  1657. scfr=nil
  1658. con:disconnect()
  1659. fx:disconnect()
  1660. end
  1661. function Combo()
  1662. attack = true
  1663.  
  1664. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1665. local fx=Hitbox.Touched:connect(function(part)
  1666. local human=part.Parent:findFirstChild("Humanoid")
  1667. if human~=nil and bounce==false then
  1668. bounce=true
  1669.  
  1670.  
  1671.  
  1672. end
  1673. end)
  1674. for i = 0,1,0.1 do ----------------------------------- first attack
  1675. swait()
  1676. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1677. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1678. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1679. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1680. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1681. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1682. end
  1683. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1684. for i = 0,1,0.1 do
  1685. swait()
  1686. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1687. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1688. local h = 5
  1689. 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)
  1690. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1691. 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)
  1692. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1693. scfr = blcf
  1694. elseif not scfr then
  1695. scfr = blcf
  1696. end
  1697. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1698. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1699. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1700. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1701. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1702. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1703. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1704. end
  1705. for i = 0,1,0.1 do ----------------------------------- second attack
  1706. swait()
  1707. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1708. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1709. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1710. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1711. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1712. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1713. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1714. end
  1715. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1716. for i = 0,1,0.1 do
  1717. swait()
  1718. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1719. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1720. local h = 5
  1721. 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)
  1722. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1723. 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)
  1724. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1725. scfr = blcf
  1726. elseif not scfr then
  1727. scfr = blcf
  1728. end
  1729. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1730. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1731. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1732. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1733. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1734. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1735. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1736. end
  1737. for i = 0,1,0.1 do
  1738. swait()
  1739. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1740. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1741. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1742. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1743. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1744. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1745. end
  1746. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1747. for i = 0,1,0.1 do
  1748. swait()
  1749. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1750. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1751. local h = 5
  1752. 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)
  1753. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1754. 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)
  1755. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1756. scfr = blcf
  1757. elseif not scfr then
  1758. scfr = blcf
  1759. end
  1760. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1761. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1762. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1763. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1764. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1765. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1766. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1767. end
  1768. for i = 0,1,0.1 do ----------------------------------- second attack
  1769. swait()
  1770. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1771. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1772. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1773. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1774. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1775. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1776. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1777. end
  1778. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1779. for i = 0,1,0.1 do
  1780. swait()
  1781. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1782. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1783. local h = 5
  1784. 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)
  1785. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1786. 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)
  1787. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1788. scfr = blcf
  1789. elseif not scfr then
  1790. scfr = blcf
  1791. end
  1792. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1793. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1794. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1795. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1796. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1797. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1798. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1799. end
  1800. for i = 0,1,0.1 do ----------------------------------- first attack
  1801. swait()
  1802. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1803. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1804. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1805. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1806. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1807. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1808. end
  1809. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1810. for i = 0,1,0.1 do
  1811. swait()
  1812. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1813. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1814. local h = 5
  1815. 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)
  1816. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1817. 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)
  1818. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1819. scfr = blcf
  1820. elseif not scfr then
  1821. scfr = blcf
  1822. end
  1823. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1824. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1825. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1826. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1827. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1828. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1829. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1830. end
  1831. for i = 0,1,0.1 do ----------------------------------- second attack
  1832. swait()
  1833. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1834. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1835. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1836. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1837. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1838. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1839. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1840. end
  1841. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1842. for i = 0,1,0.1 do
  1843. swait()
  1844. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1845. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1846. local h = 5
  1847. 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)
  1848. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1849. 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)
  1850. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1851. scfr = blcf
  1852. elseif not scfr then
  1853. scfr = blcf
  1854. end
  1855. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1856. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1857. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1858. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1859. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1860. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1861. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1862. end
  1863. attack = false
  1864. bounce=false
  1865. scfr=nil
  1866. fx:disconnect()
  1867. con:disconnect()
  1868. end
  1869. function LustrisFulgo()
  1870. attack=true
  1871. Humanoid.WalkSpeed=0
  1872. for i=0,1,0.1 do
  1873. swait()
  1874. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-15),math.rad(0),math.rad(10)),.3)
  1875. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(-10)),.3)
  1876. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(145), math.rad(0), math.rad(7)), 0.3)
  1877. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(4), math.rad(-15)), 0.3)
  1878. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-15),math.rad(90),math.rad(0)),.3)
  1879. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-25),math.rad(-90),math.rad(0)),.3)
  1880. handleweld.C0=clerp(handleweld.C0,cf(0,0,-.5)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  1881. end
  1882. local function boom()
  1883. local pprt=ppart(3,game.Workspace,0,1,BrickColor.random(),"Effect",vt(1,1,1))
  1884. pprt.Anchored=true
  1885. pprt.CFrame=EffectPart.CFrame
  1886. game:GetService("Debris"):AddItem(pprt,2)
  1887. MagicCircle(BrickColor.random(),EffectPart.CFrame,20,20,20,-0.01,-0.01,-0.01,0.01)
  1888. so("http://roblox.com/asset/?id=228343412",EffectPart,1,0.6)
  1889. so("http://roblox.com/asset/?id=228343408",EffectPart,1,1.4)
  1890. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.random(),"Effect",vt(1,1,1))
  1891. local waveweld=weld(game.Workspace,handle,wave,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  1892. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  1893. MagniDamage(wave,20,15,25,math.rad(20,30),"Knockdown",RootPart)
  1894. for i=0,80 do
  1895. swait()
  1896. MagicBlock(BrickColor.random(),EffectPart.CFrame,7,7,7,-0.5,-0.5,-0.5,0.05)
  1897. MagicCircle(BrickColor.random(),EffectPart.CFrame*euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))*cf(0,5,0),0.5,1,0.5,0.02,1,0.02,0.05)
  1898. wave.Size=vt(1+i,1+i,1+i)
  1899. wavemesh.Scale=vt(1+i,1+i,1+i)
  1900. wave.CFrame=EffectPart.CFrame
  1901. Humanoid.Health=Humanoid.Health+.15
  1902. end
  1903. wave:Destroy()
  1904. end
  1905. boom()
  1906. attack=false
  1907. Humanoid.WalkSpeed=16
  1908. end
  1909.  
  1910. function LeviterGlomus()
  1911. attack=true
  1912. for i=0,1,.1 do
  1913. swait()
  1914. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1915. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1916. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  1917. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  1918. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
  1919. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(-25),math.rad(-110),math.rad(0))*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1920. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(-35),math.rad(-15),math.rad(0)),.3)
  1921. end
  1922. so("http://www.roblox.com/asset/?id=199145659",EffectPart2,1,1)
  1923. efprt=part(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"Institutional white","BallEffect",Vector3.new(2, 2, 2))
  1924. weld(m,Character["Left Arm"],efprt,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  1925. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  1926. ChargeBall(EffectPart2,35)
  1927. for i=0,1,.1 do
  1928. swait()
  1929. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1930. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1931. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  1932. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  1933. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  1934. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1935. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(0),math.rad(-15),math.rad(0)),.3)
  1936. end
  1937. so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
  1938. efprt:BreakJoints()
  1939. local Target=mouse.Hit.p
  1940. local direction = Target - handle.Position
  1941. direction = computeDirection(direction)
  1942. local pos = handle.Position + (direction * 10.0)
  1943. efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
  1944. local floatForce = Instance.new("BodyForce")
  1945. floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
  1946. floatForce.Parent = efprt
  1947. efprt.Velocity = direction * 160
  1948. efprt.Touched:connect(function(hit)
  1949. if not hit:IsDescendantOf(Character) then
  1950. if hit.Name~="Effect" then
  1951. MagniDamage(efprt,15,70,100,math.rad(20,30),"Knockdown",RootPart)
  1952. floatForce.Parent=nil
  1953. efprt.Anchored=true
  1954. so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
  1955. Blast(efprt)
  1956. efprt:Destroy()
  1957. end
  1958. end
  1959. end)
  1960. game:GetService("Debris"):AddItem(efprt,6)
  1961. attack=false
  1962. end
  1963.  
  1964. function PortalStorm()
  1965. Humanoid.WalkSpeed=0
  1966. attack=true
  1967. for i=0,1,.1 do
  1968. swait()
  1969. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1970. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1971. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-40)), 0.3)
  1972. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(40)), 0.3)
  1973. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(5),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1974. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1975. handleweld.C0=clerp(handleweld.C0,cf(-1,-2.3,-.4)*angles(math.rad(-165),math.rad(-15),math.rad(50)),.3)
  1976. end
  1977. so("http://www.roblox.com/asset/?id=199145446",handle,1,1)
  1978. ChargeBall2(handle,100)
  1979. makeShockwave(0.5,BrickColor.random(),30,1000,0)
  1980. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),2,2,2,.5,.3,.5,0.01)
  1981. so("http://www.roblox.com/asset/?id=280247455",game.Workspace,1,1)
  1982. wait(2)
  1983. so("http://www.roblox.com/asset/?id=110284742",game.Workspace,1,0)
  1984. delay(0.5,function ()
  1985. MagniDamage(Torso,20,70,100,math.rad(50,70),"Knockdown",RootPart)
  1986. end)
  1987. Humanoid.Health=Humanoid.Health-0
  1988. makeShockwave(4,BrickColor.new("Teal"),10,2000,1)
  1989. attack=false
  1990. Humanoid.WalkSpeed=9
  1991. wait(4)
  1992. Humanoid.WalkSpeed=16
  1993. end
  1994. function SolSiderea()
  1995. Humanoid.WalkSpeed=0
  1996. attack=true
  1997. so("http://www.roblox.com/asset/?id=280758833",Workspace,1,1.3)
  1998. for i=0,1,.1 do
  1999. swait()
  2000. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2001. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2002. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(-10), math.rad(-17)), 0.3)
  2003. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(95), math.rad(10), math.rad(17)), 0.3)
  2004. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2005. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2006. handleweld.C0=clerp(handleweld.C0,cf(0,-2,-.5)*angles(math.rad(0),math.rad(7.5),math.rad(-75)),.3)
  2007. end
  2008. for i=0,1,.1 do
  2009. swait()
  2010. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2011. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  2012. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(-5), math.rad(8)), 0.3)
  2013. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(5), math.rad(-8)), 0.3)
  2014. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2015. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2016. handleweld.C0=clerp(handleweld.C0,cf(-1.1,-4,-2)*angles(math.rad(-72),math.rad(8.5),math.rad(-92)),.3)
  2017. end
  2018. coroutine.resume(coroutine.create(function() ChargeBall(EffectPart,120) end))
  2019. local n=2
  2020. local orb=ppart(3,Character,0,1,BrickColor.random(),"Orb",vt())
  2021. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  2022. local owld=wweld(orb,orb,Torso,cf(-10,-150,0))
  2023. for i=1,0.3,-0.01 do
  2024. wait()
  2025. orb.Transparency=i
  2026. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  2027. MagicBlock(BrickColor.random(),orb.CFrame,15,15,15,2,2,2,0.1)
  2028. local ef=ppart(3,workspace,0,0,BrickColor.random(),"Effect",vt())
  2029. ef.Anchored=true
  2030. local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.rad(1000,1500)/100,2))
  2031. local ceef=euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))*cf(0,math.rad(10,20),0)
  2032. ef.CFrame=orb.CFrame*ceef
  2033. game:GetService("Debris"):AddItem(ef,2)
  2034. coroutine.resume(coroutine.create(function(Part,Mesh)
  2035. for i=0,1,0.1 do
  2036. wait()
  2037. Part.Transparency=i
  2038. Part.CFrame=Part.CFrame*cf(0,-1,0)
  2039. end
  2040. Part.Parent=nil
  2041. end),ef,emsh)
  2042. end
  2043. local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  2044. wait(.5)
  2045. orb.Parent=nil
  2046. wait(1)
  2047. local hit,pos = rayCast(orb.Position,Pos,1000,Character)
  2048. local mag=(orb.Position-pos).magnitude
  2049. BlackHole(game.Workspace,cf(pos))
  2050. coroutine.resume(coroutine.create(function()
  2051. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.random(),"Effect",vt(1,1,1))
  2052. wweld(game.Workspace,wave,orb,Torso.CFrame)
  2053. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  2054. for i=1,100 do
  2055. swait()
  2056. wave.Size=vt(1+i,1+i,1+i)
  2057. wavemesh.Scale=vt(1+i,1+i,1+i)
  2058. wave.CFrame=cf(pos)
  2059. end
  2060. end))
  2061. coroutine.resume(coroutine.create(function()
  2062. for i=0,20 do
  2063. swait(15)
  2064. local range = 1500
  2065. local p = Instance.new("Part")
  2066. p.Anchored = true
  2067. p.CanCollide = false
  2068. p.FormFactor = "Custom"
  2069. p.BrickColor = BrickColor.random()
  2070. p.Parent = workspace
  2071. p.Name="Effect"
  2072. p.CFrame=cf(pos)
  2073. local m = Instance.new("SpecialMesh",p)
  2074. m.MeshId = "rbxassetid://3270017"
  2075. local estimateSurvival = math.floor(range/30) * 0.03
  2076. game:GetService("Debris"):AddItem(p,estimateSurvival)
  2077. Spawn(function ()
  2078. for i = 1,range,30 do
  2079. p.Transparency = 1-math.min(0.5,3-(i/500))
  2080. m.Scale = Vector3.new(i,i,i*0.5)
  2081. p.CFrame = cf(pos) * CFrame.Angles(math.rad(90),0,0)
  2082. wait()
  2083. end
  2084. p:Destroy()
  2085. end)
  2086. end
  2087. end))
  2088. MagicCylinder(BrickColor.random(),CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01)
  2089. for i=1,2 do
  2090. end
  2091. for i=1,5 do
  2092. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  2093. end
  2094. for i=0,5 do
  2095. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  2096. end
  2097. local ref=ppart(3,workspace,0,1,BrickColor.random(),"Effect",vt())
  2098. ref.CFrame=cf(pos)
  2099. coroutine.resume(coroutine.create(function(Part)
  2100. wait(1)
  2101. Part.Parent=nil
  2102. end),ref)
  2103. MagniDamage(ref,25,70,100,35,"Knockdown",ref)
  2104. if hit~=nil then
  2105. Damagefunc(ref,hit,40,50,35,"Knockdown",RootPart,0)
  2106. end
  2107. local n=2
  2108. MagicWave(BrickColor.random(),cf(pos)*euler(0,math.rad(-50,50),0),2,2,2,.5,.3,.5,0.01)
  2109. swait(75)
  2110. Humanoid.WalkSpeed=16
  2111. attack=false
  2112. end
  2113.  
  2114. attacktype=1
  2115. mouse.Button1Down:connect(function()
  2116. if attacktype==1 and attack==false then
  2117. attacktype=2
  2118. attackone()
  2119. elseif attacktype==2 and attack==false then
  2120. attacktype=3
  2121. attacktwo()
  2122. elseif attacktype==3 and attack==false then
  2123. attacktype=4
  2124. attackthree()
  2125. elseif attacktype==4 and attack==false then
  2126. attacktype=1
  2127. attackfour()
  2128. end
  2129. end)
  2130.  
  2131. mouse.KeyDown:connect(function(k)
  2132. k=k:lower()
  2133. if attack == false and k == 'e' then
  2134. LeviterGlomus()
  2135. ChargeBall(efprt,100)
  2136. end
  2137. if attack == false and k == 'q' then
  2138. LustrisFulgo()
  2139. end
  2140. if attack == false and k == 'f' and deeznuts==false then
  2141. deeznuts=true
  2142. SolSiderea()
  2143. deeznuts=false
  2144. end
  2145. if attack == false and k == 'r' and cooldown==false then
  2146. cooldown=true
  2147. PortalStorm()
  2148. cooldown=false
  2149. end
  2150. end)
  2151.  
  2152. mouse.KeyDown:connect(function(k)
  2153. if attack == false and k == 't' then
  2154. Combo()
  2155. end
  2156. end)
  2157. mouse.KeyDown:connect(function(k)
  2158. if attack == false and k == 'y' then
  2159. Slash()
  2160. end
  2161. end)
  2162.  
  2163.  
  2164. local sine = 0
  2165. local change = 1
  2166. local val = 0
  2167.  
  2168. while true do
  2169. swait()
  2170. sine = sine + change
  2171. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2172. local velderp=RootPart.Velocity.y
  2173. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2174. if equipped==true or equipped==false then
  2175. if attack==false then
  2176. idle=idle+1
  2177. else
  2178. idle=0
  2179. end
  2180. if idle>=500 then
  2181. if attack==false then
  2182. end
  2183. end
  2184. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2185. Anim="Jump"
  2186. if attack==false then
  2187. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2188. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2189. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3)
  2190. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  2191. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-30),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2192. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-30),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2193. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2194. end
  2195. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2196. Anim="Fall"
  2197. if attack==false then
  2198. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2199. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.3)
  2200. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  2201. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  2202. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2203. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2204. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  2205. end
  2206. elseif torvel<1 and hitfloor~=nil then
  2207. Anim="Idle"
  2208. if attack==false then
  2209. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2),math.rad(0),math.rad(15)),.3)
  2210. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2),math.rad(0),math.rad(-15)),.3)
  2211. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3)
  2212. LW.C0 = clerp(LW.C0, CFrame.new(-0.3, 0.5, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  2213. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2),math.rad(85),math.rad(0)),.3)
  2214. LH.C0=clerp(LH.C0,cf(-1,-1,0.3)*angles(math.rad(-36),math.rad(-95),math.rad(0)),.3)
  2215. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(-2),math.rad(0)),.2)
  2216. end
  2217. elseif torvel>2 and hitfloor~=nil then
  2218. Anim="Walk"
  2219. if attack==false then
  2220. change=3
  2221. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  2222. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(25)),.3)
  2223. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(-25), math.rad(5)), 0.3)
  2224. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30)*math.cos(sine/10), math.rad(5), math.rad(0)), 0.3)
  2225. RH.C0=clerp(RH.C0,cf(1.1,-.9,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  2226. LH.C0=clerp(LH.C0,cf(-1.1,-.9,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  2227. handleweld.C0=clerp(handleweld.C0,cf(0,0,.3)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2228. end
  2229. end
  2230. end
  2231. if #Effects>0 then
  2232. for e=1,#Effects do
  2233. if Effects[e]~=nil then
  2234. local Thing=Effects[e]
  2235. if Thing~=nil then
  2236. local Part=Thing[1]
  2237. local Mode=Thing[2]
  2238. local Delay=Thing[3]
  2239. local IncX=Thing[4]
  2240. local IncY=Thing[5]
  2241. local IncZ=Thing[6]
  2242. if Thing[1].Transparency<=1 then
  2243. if Thing[2]=="Block1" then
  2244. Thing[1].CFrame=Thing[1].CFrame*euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  2245. Mesh=Thing[1].Mesh
  2246. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2247. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2248. elseif Thing[2]=="Cylinder" then
  2249. Mesh=Thing[1].Mesh
  2250. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2251. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2252. elseif Thing[2]=="Blood" then
  2253. Mesh=Thing[7]
  2254. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2255. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2256. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2257. elseif Thing[2]=="Elec" then
  2258. Mesh=Thing[1].Mesh
  2259. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2260. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2261. elseif Thing[2]=="Disappear" then
  2262. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2263. end
  2264. else
  2265. Part.Parent=nil
  2266. table.remove(Effects,e)
  2267. end
  2268. end
  2269. end
  2270. end
  2271. end
  2272. end
  2273. end)
  2274.  
  2275. sANNes.Name = "sANNes"
  2276. sANNes.Parent = Frame
  2277. sANNes.BackgroundColor3 = Color3.new(1, 1, 1)
  2278. sANNes.Position = UDim2.new(0.143426299, 0, 0.775784731, 0)
  2279. sANNes.Size = UDim2.new(0, 55, 0, 50)
  2280. sANNes.Font = Enum.Font.SourceSans
  2281. sANNes.Text = "sANNes"
  2282. sANNes.TextColor3 = Color3.new(0, 0, 0)
  2283. sANNes.TextSize = 14
  2284. sANNes.MouseButton1Down:connect(function()
  2285. pls=game:GetService'Players';
  2286. rs=game:GetService'RunService';
  2287. uinps=game:GetService'UserInputService';
  2288. lp=pls.LocalPlayer;
  2289. mouse=lp:GetMouse();
  2290. c=lp.Character;
  2291. rayModel=Instance.new('Model',c);
  2292. human=c.Humanoid;
  2293. Cone=nil;
  2294. human.MaxHealth=5000;
  2295. wait();
  2296. human.Health=5000;
  2297. c.Health:Destroy();
  2298. Debounces={
  2299. FPS=0;
  2300. isAttacking=false;
  2301. isMoving=false;
  2302. isSprinting=false;
  2303. Debounce=false;
  2304. isTyping=false;
  2305. isJumping=false;
  2306. isFlash=false;
  2307. };
  2308. numLerp=function(start,goal,alpha)
  2309. return(((goal-start)*alpha)+start);
  2310. end;
  2311. CFrameZero=function()
  2312. return CFrame.new(Vector3.new());
  2313. end;
  2314. local function a()
  2315. local t=tick();
  2316. local l=t%1*3;
  2317. local t=.5*math.pi*(l%1);
  2318. if l<1 then
  2319. return Color3.new(1,1-math.cos(t),1-math.sin(t));
  2320. elseif l<2 then
  2321. return Color3.new(1-math.sin(t),1,1-math.cos(t));
  2322. else
  2323. return Color3.new(1-math.cos(t),1-math.sin(t),1);
  2324. end;
  2325. end;
  2326. rad=function(value)
  2327. return math.rad(value);
  2328. end;
  2329. CFAngles=function(Vector)
  2330. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z));
  2331. end;
  2332. AnimStat={
  2333. lerpSpeed=.2;
  2334. lerpSpeed2=.35;
  2335. lerpTween=0;
  2336. };
  2337. Joints={
  2338. c.HumanoidRootPart.RootJoint;
  2339. c.Torso.Neck;
  2340. c.Torso['Left Shoulder'];
  2341. c.Torso['Right Shoulder'];
  2342. c.Torso['Left Hip'];
  2343. c.Torso['Right Hip'];
  2344. };
  2345. JointTargets={
  2346. CFrameZero();
  2347. CFrameZero();
  2348. CFrameZero();
  2349. CFrameZero();
  2350. CFrameZero();
  2351. CFrameZero();
  2352. };
  2353. prepareCharacter=function()
  2354. music=Instance.new('Sound',c.HumanoidRootPart);
  2355. music.SoundId='rbxassetid://394144904';
  2356. music.Looped=true;
  2357. music.Volume=.6;
  2358. music2=Instance.new('Sound',c);
  2359. music2.SoundId='rbxassetid://259613634';
  2360. music2.Looped=true;
  2361. music2.Volume=1;
  2362. music3=Instance.new('Sound',c.HumanoidRootPart);
  2363. music3.SoundId='rbxassetid://266530326';
  2364. music3.Looped=true;
  2365. music3.Volume=1;
  2366. music4=Instance.new('Sound',c.HumanoidRootPart);
  2367. music4.SoundId='rbxassetid://155738252';
  2368. music4.Looped=true;
  2369. music4.Volume=1;
  2370. music5=Instance.new('Sound',c.HumanoidRootPart);
  2371. music5.SoundId='rbxassetid://215391212';
  2372. music5.Looped=true;
  2373. music5.Volume=1;
  2374. human.WalkSpeed=0;
  2375. human.JumpPower=0;
  2376. for i,v in pairs(c:children())do
  2377. if v:isA'Hat'then v:Destroy();end;
  2378. if v:FindFirstChild'roblox'then v.roblox:Destroy();end;
  2379. if v.Name=='Head'then v.Transparency=1 for _,x in pairs(v:children())do if x.ClassName=='Sound'then x:Destroy();end;end;end;
  2380. if v:FindFirstChild'face'then v.face:Destroy();end;
  2381. if v:isA'Part'then v.BrickColor=BrickColor.new'White';end;
  2382. end
  2383. local shirt=c:FindFirstChild'Shirt'or Instance.new('Shirt',c);
  2384. local pants=c:FindFirstChild'Pants'or Instance.new('Pants',c);
  2385. shirt.ShirtTemplate='rbxassetid://334755544';
  2386. pants.PantsTemplate='rbxassetid://315964941';
  2387. local Head=Instance.new('Part',c);
  2388. Head.Size=Vector3.new(2.5,2.5,1);
  2389. Head.Transparency=1;
  2390. Head:BreakJoints();
  2391. local hw=Instance.new('Weld',c.Head);
  2392. hw.Part0=c.Head;
  2393. hw.Part1=Head;
  2394. hw.C0=CFrame.new(0,.3,0);
  2395. faceDecal=Instance.new('Decal',Head);
  2396. faceDecal.Face=Enum.NormalId.Front;
  2397. faceDecal.Texture='rbxassetid://400387868';
  2398. local backDecal=Instance.new('Decal',Head);
  2399. backDecal.Face=Enum.NormalId.Back;
  2400. backDecal.Texture='rbxassetid://400377807';
  2401. local mes=Instance.new('BlockMesh',Head);
  2402. mes.Scale=Vector3.new(1,1,.4);
  2403. local Anim=human:FindFirstChild'Animator'
  2404. if Anim then Anim:Destroy();end;
  2405. end;
  2406. setJointCFrames=function(table)
  2407. for i=1,#table do
  2408. JointTargets[i]=table[i];
  2409. end;
  2410. end;
  2411. triWave=function(x)
  2412. local pi2=math.pi/2;
  2413. return math.abs((x/pi2)%4-2)-1;
  2414. end;
  2415. setLerp=function(speed)
  2416. AnimStat.lerpSpeed=speed;
  2417. end;
  2418. setTween=function(tween)
  2419. AnimStat.lerpTween=tween;
  2420. end;
  2421. playSound=function(id,part,vol,pitch)
  2422. local vol=vol or 1;
  2423. local pitch=pitch or 1;
  2424. local x=Instance.new('Sound',part);
  2425. x.Volume=vol;
  2426. x.Pitch=pitch;
  2427. x.SoundId='rbxassetid://'..id;
  2428. spawn(function()
  2429. wait();
  2430. x:Play();
  2431. wait(x.TimeLength+.2);
  2432. x:Destroy();
  2433. end);
  2434. end;
  2435. lerpBoom=function()
  2436. if Cone then
  2437. Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0);
  2438. cMesh.Scale=Vector3.new(20,20+c.HumanoidRootPart.Velocity.magnitude/10,20);
  2439. Cone.Transparency=1-c.HumanoidRootPart.Velocity.magnitude/1000;
  2440. else
  2441. Cone=Instance.new('Part',c);
  2442. Cone.Anchored=true;
  2443. Cone.CanCollide=false;
  2444. Cone.Transparency=math.random(50,70)/100;
  2445. Cone.Size=Vector3.new(1,1,1);
  2446. Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0);
  2447. cMesh=Instance.new('SpecialMesh',Cone);
  2448. cMesh.MeshId='rbxassetid://1033714';
  2449. cMesh.Scale=Vector3.new(20,50,20);
  2450. end;
  2451. end;
  2452. noBoom=function()
  2453. if Cone then local x=Cone Cone=nil;
  2454. for i=1,20 do
  2455. wait();
  2456. x.Mesh.Scale=x.Mesh.Scale+Vector3.new(-.5,1,-.5);
  2457. x.Transparency=x.Transparency+1/30;
  2458. end;
  2459. end;
  2460. end;
  2461. gasterBlast=function(tCFrame,aimPos,charge)
  2462. local aimTarget;
  2463. if aimPos then
  2464. aimTarget=CFrame.new(tCFrame,aimPos);
  2465. else
  2466. aimTarget=tCFrame;
  2467. end;
  2468. local gast=Instance.new('Part',c);
  2469. gast.Size=Vector3.new(12,.2,12);
  2470. gast.CanCollide=false;
  2471. gast.Anchored=true;
  2472. gast.Transparency=1;
  2473. if charge then
  2474. playSound(400523331,gast,math.random(90,110)/100);
  2475. end;
  2476. wait();
  2477. for i=1,2 do
  2478. local decal=Instance.new('Decal',gast);
  2479. decal.Texture='rbxassetid://323497117';
  2480. if i==1 then
  2481. decal.Face=Enum.NormalId.Top;
  2482. else
  2483. decal.Face=Enum.NormalId.Bottom;
  2484. end;
  2485. end;
  2486. gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10));
  2487. spawn(function()
  2488. local tarCFrame=gast.CFrame;
  2489. local isLooping=true;
  2490. spawn(function()
  2491. while rs.RenderStepped:wait()and isLooping do
  2492. gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60));
  2493. end;
  2494. end);
  2495. for i=1,30 do
  2496. wait();
  2497. tarCFrame=gast.CFrame:lerp(aimTarget,.24);
  2498. end;
  2499. playSound(340722848,gast,math.random(90,110)/100);
  2500. isLooping=false;
  2501. wait(.08);
  2502. local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999);
  2503. local _,pos=workspace:FindPartOnRay(ray,c);
  2504. local dis=(aimTarget.p-pos).magnitude;
  2505. local rayCFrame=CFrame.new(gast.CFrame.p+(pos-gast.CFrame.p).unit*(dis/2+200),gast.CFrame.p+(pos-gast.CFrame.p).unit*dis*2)*CFrame.Angles(0,math.pi/2,0);
  2506. local rayPart=Instance.new('Part',rayModel);
  2507. rayPart.Material='Neon';
  2508. rayPart.FormFactor='Custom';
  2509. rayPart.Color=a();
  2510. rayPart.Anchored=true;
  2511. rayPart.CanCollide=false;
  2512. rayPart.Shape='Cylinder';
  2513. rayPart.Size=Vector3.new(dis+400,8,8);
  2514. rayPart.CFrame=rayCFrame;
  2515. gast:Destroy();
  2516. end);
  2517. end;
  2518. largegasterBlast=function(tCFrame,aimPos)
  2519. local aimTarget;
  2520. if aimPos then
  2521. aimTarget=CFrame.new(tCFrame,aimPos);
  2522. else
  2523. aimTarget=tCFrame;
  2524. end;
  2525. local gast=Instance.new('Part',c);
  2526. gast.Size=Vector3.new(25,.2,25);
  2527. gast.CanCollide=false;
  2528. gast.Anchored=true;
  2529. gast.Transparency=1;
  2530. playSound(400523331,gast,math.random(85,97)/100);
  2531. wait();
  2532. for i=1,2 do
  2533. local decal=Instance.new('Decal',gast);
  2534. decal.Texture='rbxassetid://323497117';
  2535. if i==1 then
  2536. decal.Face=Enum.NormalId.Top;
  2537. else
  2538. decal.Face=Enum.NormalId.Bottom;
  2539. end;
  2540. end;
  2541. gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10));
  2542. spawn(function()
  2543. local tarCFrame=gast.CFrame;
  2544. local isLooping=true;
  2545. spawn(function()
  2546. while rs.RenderStepped:wait()and isLooping do
  2547. gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60));
  2548. end;
  2549. end);
  2550. for i=1,40 do
  2551. wait();
  2552. tarCFrame=gast.CFrame:lerp(aimTarget,.18);
  2553. end;
  2554. playSound(340722848,gast,math.random(80,95)/100);
  2555. isLooping=false;
  2556. wait(.08);
  2557. local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999);
  2558. local _,pos=workspace:FindPartOnRay(ray,c);
  2559. local dis=(aimTarget.p-pos).magnitude;
  2560. local rayCFrame=CFrame.new(gast.CFrame.p+(pos-gast.CFrame.p).unit*(dis/2+200),gast.CFrame.p+(pos-gast.CFrame.p).unit*dis*2)*CFrame.Angles(0,math.pi/2,0);
  2561. local rayPart=Instance.new('Part',rayModel);
  2562. rayPart.Material='Neon';
  2563. rayPart.FormFactor='Custom';
  2564. rayPart.Color=a();
  2565. rayPart.Anchored=true;
  2566. rayPart.CanCollide=false;
  2567. rayPart.Shape='Cylinder';
  2568. rayPart.Size=Vector3.new(dis+400,17,17);
  2569. rayPart.CFrame=rayCFrame;
  2570. gast:Destroy();
  2571. end);
  2572. end;
  2573. prepareCharacter();
  2574. spawn(function()
  2575. local sine=0;
  2576. while wait()do
  2577. if Debounces.isFlash then
  2578. if(tick()*8)%2>1 then
  2579. faceDecal.Texture='rbxassetid://400377503';
  2580. else
  2581. faceDecal.Texture='rbxassetid://400387868';
  2582. end;
  2583. else
  2584. faceDecal.Texture='rbxassetid://400387868';
  2585. end;
  2586. if Debounces.isAttacking==false and Debounces.isMoving==false and Debounces.Debounce==false and Debounces.isJumping==false then
  2587. setLerp(.8);
  2588. local spasm=math.abs(math.sin(tick()*20))*1.1;
  2589. local spasm2=math.abs(math.sin(tick()*20-2))*1.1;
  2590. local spasm3=math.abs(math.sin(tick()*20-2.3))*1.1;
  2591. setJointCFrames({
  2592. CFrame.new(Vector3.new(0,0-spasm,0))*CFAngles(Vector3.new(0,0,0));
  2593. CFrame.new(Vector3.new(0,1.5,0))*CFAngles(Vector3.new(-0.011,-0.502,-1.177));
  2594. CFrame.new(Vector3.new(-1.5-spasm2^2/3,-0.001,0))*CFAngles(Vector3.new(-2.344,7.899,-2.82+spasm3^2*-60));
  2595. CFrame.new(Vector3.new(1.569+spasm2^2/3,0,-0.1))*CFAngles(Vector3.new(4.822,1.123,6.383+spasm3^2*60));
  2596. CFrame.new(Vector3.new(-0.61,-2+spasm/1.01,-.15))*CFAngles(Vector3.new(-2.206,0.767,-0.582));
  2597. CFrame.new(Vector3.new(0.55,-2+spasm/1.01,-.1))*CFAngles(Vector3.new(-0.026,0.463,3.184));
  2598. });
  2599. elseif Debounces.isAttacking==false and Debounces.isMoving==true and Debounces.Debounce==false and Debounces.isSprinting==false and Debounces.isJumping==false then
  2600. sine=tick()*18;
  2601. human.WalkSpeed=120;
  2602. setLerp(.35);
  2603. setJointCFrames({
  2604. CFrame.new(Vector3.new(0,math.sin(sine)/50-.3,0))*CFAngles(Vector3.new(-30-math.sin(sine*2)*3,math.sin(sine*2)*15,0));
  2605. CFrame.new(Vector3.new(0,1.48,0.099))*CFAngles(Vector3.new(14.999,-0.001,0));
  2606. CFrame.new(Vector3.new(-1.5,-0.001,0.2+math.sin(sine*2+math.pi)*1.2))*CFAngles(Vector3.new(-25.001+math.sin(sine*2+math.pi)*-90,0,-15));
  2607. CFrame.new(Vector3.new(1.5,-0.001,0.2+math.sin(sine*2)*1.2))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-90,-0.001,14.999));
  2608. CFrame.new(Vector3.new(-0.501,-2+math.cos(sine*2+math.pi)/3,.3+math.sin(sine*2)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-70,0,-0.001));
  2609. CFrame.new(Vector3.new(0.499,-2+math.cos(sine*2)/3,.3+math.sin(sine*2+math.pi)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*70,0,0));
  2610. });
  2611. elseif Debounces.isAttacking==false and Debounces.isMoving==true and Debounces.Debounce==false and Debounces.isSprinting==true and Debounces.isJumping==false then
  2612. sine=tick()*28;
  2613. human.WalkSpeed=400;
  2614. lerpBoom();
  2615. setLerp(.65);
  2616. setJointCFrames({
  2617. CFrame.new(Vector3.new(0,math.sin(sine)/50-.3,0))*CFAngles(Vector3.new(-30-math.sin(sine*2)*3,math.sin(sine*2)*15,0));
  2618. CFrame.new(Vector3.new(0,1.48,0.099))*CFAngles(Vector3.new(14.999,-0.001,0));
  2619. CFrame.new(Vector3.new(-1.5,-0.001,0.2+math.sin(sine*2+math.pi)*1.2))*CFAngles(Vector3.new(-25.001+math.sin(sine*2+math.pi)*-90,0,-15));
  2620. CFrame.new(Vector3.new(1.5,-0.001,0.2+math.sin(sine*2)*1.2))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-90,-0.001,14.999));
  2621. CFrame.new(Vector3.new(-0.501,-2+math.cos(sine*2+math.pi)/3,.3+math.sin(sine*2)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*-70,0,-0.001));
  2622. CFrame.new(Vector3.new(0.499,-2+math.cos(sine*2)/3,.3+math.sin(sine*2+math.pi)))*CFAngles(Vector3.new(-25+math.sin(sine*2)*70,0,0));
  2623. });
  2624. elseif Debounces.isJumping==true and Debounces.Debounce==false then
  2625. setLerp(.14);
  2626. human.WalkSpeed=45;
  2627. setJointCFrames({
  2628. CFrame.new(Vector3.new(0,0,0))*CFAngles(Vector3.new(-8,0,0));
  2629. CFrame.new(Vector3.new(0,1.5,-0.15))*CFAngles(Vector3.new(-10.138,3.687,0.306));
  2630. CFrame.new(Vector3.new(-1.23,0.069,-0.56))*CFAngles(Vector3.new(50.809,0.672,18.704));
  2631. CFrame.new(Vector3.new(0.929,-0.031,-1.0912))*CFAngles(Vector3.new(63.00,13.85,-36.416));
  2632. CFrame.new(Vector3.new(-0.63,-1.82,-0.74))*CFAngles(Vector3.new(31.324,3.424,-1.249));
  2633. CFrame.new(Vector3.new(0.619,-1.331,0.82))*CFAngles(Vector3.new(-59.644,0.998,9.776));
  2634. });
  2635. end;
  2636. end;
  2637. end);
  2638. human.Changed:connect(function(prop)
  2639. if prop=='MoveDirection'then
  2640. if human.MoveDirection.magnitude>.02 then
  2641. Debounces.isMoving=true;
  2642. else
  2643. Debounces.isMoving=false;
  2644. end;
  2645. end;
  2646. end);
  2647. uinps.InputBegan:connect(function(InputObj)
  2648. if InputObj.KeyCode==Enum.KeyCode.Slash then
  2649. local finishEvent=nil;
  2650. Debounces.isTyping=true
  2651. finishEvent=uinps.InputBegan:connect(function(InputObj)
  2652. if InputObj.KeyCode==Enum.KeyCode.Return or InputObj.UserInputType==Enum.UserInputType.MouseButton1 then
  2653. Debounces.isTyping=false;
  2654. finishEvent:disconnect();
  2655. end;
  2656. end);
  2657. end;
  2658. end);
  2659. mouse.KeyDown:connect(function(key)
  2660. if key=='0'then
  2661. Debounces.isSprinting=true;
  2662. playSound(160248522,c.Torso);
  2663. for i=1,3 do
  2664. spawn(function()
  2665. local e=Instance.new('Part',c);
  2666. e.Size=Vector3.new(1,1,1);
  2667. e.Material='Neon';
  2668. e.Color=a();
  2669. e.Anchored=true;
  2670. e.CFrame=c.HumanoidRootPart.CFrame*CFrame.Angles(0,0,-math.pi/2);
  2671. e.CanCollide=false;
  2672. local rm=Instance.new('SpecialMesh',e);
  2673. rm.MeshType='FileMesh';
  2674. rm.MeshId='rbxassetid://3270017';
  2675. rm.Scale=Vector3.new(3.2,3.2,10);
  2676. for x=1,30 do
  2677. wait();
  2678. rm.Scale=rm.Scale:lerp(Vector3.new(i*30,i*30,(4-i)*450),.1);
  2679. e.Transparency=x/30+.5;
  2680. end;
  2681. end);
  2682. end;
  2683. c.HumanoidRootPart.Velocity=c.HumanoidRootPart.CFrame.lookVector*200;
  2684. end;
  2685. end);
  2686. mouse.KeyUp:connect(function(key)
  2687. if key=='0'then
  2688. Debounces.isSprinting=false;
  2689. end;
  2690. end);
  2691. mouse.KeyDown:connect(function(key)
  2692. if key=='v'then
  2693. playSound(201858087,c.Torso,math.random(90,120)/100);
  2694. local oldPos=c.HumanoidRootPart.CFrame.p;
  2695. local mHit=mouse.Hit.p;
  2696. for i=1,2 do
  2697. spawn(function()
  2698. local pos
  2699. if i==1 then pos=oldPos else pos=mHit end
  2700. local p=Instance.new('Part',workspace);
  2701. p.Anchored=true;
  2702. p.CanCollide=false;
  2703. p.Color=a();
  2704. p.FormFactor='Custom';
  2705. p.CFrame=CFrame.new(pos+Vector3.new(0,500,0));
  2706. p.Transparency=.4;
  2707. p.Size=Vector3.new(20,1000,20);
  2708. for i=1,20 do
  2709. wait();
  2710. p.Transparency=.4+(i/10)*.6;
  2711. p.Size=Vector3.new(20-i*1.5,1000,20-i*1.5);
  2712. p.CFrame=CFrame.new(pos+Vector3.new(0,500,0));
  2713. end;
  2714. p:Destroy();
  2715. end);
  2716. end;
  2717. if Debounces.isMoving then
  2718. c.HumanoidRootPart.CFrame=CFrame.new(mouse.Hit.p+Vector3.new(0,4,0),Vector3.new(c.HumanoidRootPart.Velocity.x,mouse.Hit.p.y+4,c.HumanoidRootPart.Velocity.z));
  2719. else
  2720. c.HumanoidRootPart.CFrame=CFrame.new(mouse.Hit.p+Vector3.new(0,4,0),Vector3.new(oldPos.x,mouse.Hit.p.y+4,oldPos.z));
  2721. end;
  2722. end;
  2723. end);
  2724. mouse.KeyDown:connect(function(key)
  2725. if key=='r'then
  2726. local pointTarget=mouse.Hit.p;
  2727. for i=1,20 do
  2728. wait();
  2729. gasterBlast(CFrame.new(pointTarget+Vector3.new(math.sin(tick()*10)*20,5+math.abs(math.sin(tick()*5)*10),math.cos(tick()*10)*20),pointTarget));
  2730. end;
  2731. wait();
  2732. largegasterBlast(CFrame.new(pointTarget+Vector3.new(0,35,0),pointTarget));
  2733. end;
  2734. end);
  2735. mouse.KeyDown:connect(function(key)
  2736. if key=='f'then
  2737. local pointTarget=mouse.Hit.p;
  2738. for i=1,20 do
  2739. wait();
  2740. gasterBlast(CFrame.new(c.HumanoidRootPart.CFrame.p+Vector3.new(0,50,0),pointTarget):toWorldSpace(CFrame.new(math.sin(i/2)*(20-i),math.cos(i/2)*(20-i),-i)));
  2741. end;
  2742. largegasterBlast(CFrame.new(c.HumanoidRootPart.CFrame.p+Vector3.new(0,50,0),pointTarget):toWorldSpace(CFrame.new(0,0,-25)));
  2743. end;
  2744. end);
  2745. mouse.Button1Down:connect(function()
  2746. Debounces.isFlash=true;
  2747. end);
  2748. mouse.Button1Up:connect(function()
  2749. Debounces.isFlash=false;
  2750. end);
  2751. mouse.KeyDown:connect(function(key)
  2752. if key=='k'then
  2753. if music.isPlaying then music:Stop();else music:Play();end;
  2754. end;
  2755. end);
  2756. mouse.KeyDown:connect(function(key)
  2757. if key=='j'then
  2758. if music2.isPlaying then music2:Stop();else music2:Play();end;
  2759. end;
  2760. end);
  2761. mouse.KeyDown:connect(function(key)
  2762. if key=='l'then
  2763. if music3.isPlaying then music3:Stop();else music3:Play();end;
  2764. end;
  2765. end);
  2766. mouse.KeyDown:connect(function(key)
  2767. if key=='p'then
  2768. if music4.isPlaying then music4:Stop();else music4:Play();end;
  2769. end;
  2770. end);
  2771. mouse.KeyDown:connect(function(key)
  2772. if key=='o'then
  2773. if music5.isPlaying then music4:Stop();else music5:Play();end;
  2774. end;
  2775. end);
  2776. mouse.KeyDown:connect(function(key)
  2777. if key=='e'then
  2778. gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p,true);
  2779. end;
  2780. end);
  2781. mouse.KeyDown:connect(function(key)
  2782. if key=='c'then
  2783. largegasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p);
  2784. end;
  2785. end);
  2786. mouse.KeyDown:connect(function(key)
  2787. if key=='q'then
  2788. for i=1,5 do
  2789. wait();
  2790. gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p);
  2791. end;
  2792. largegasterBlast(c.Torso.CFrame.p+Vector3.new(0,25,0),mouse.Hit.p);
  2793. end;
  2794. end);
  2795. mouse.KeyDown:connect(function(key)
  2796. if key=='t'then
  2797. local pointTarget=mouse.Hit.p;
  2798. for i=1,20 do
  2799. gasterBlast(pointTarget+Vector3.new(math.sin(math.deg((360/40)*i))*(20-i),5+i,math.cos(math.deg((360/40)*i))*(20-i)),pointTarget);
  2800. end;
  2801. wait(.2);
  2802. for i=1,10 do
  2803. largegasterBlast(pointTarget+Vector3.new(math.sin(math.deg((360/20)*i))*25,20,math.cos(math.deg((360/20)*i))*25),pointTarget);
  2804. end;
  2805. end;
  2806. end);
  2807. human.StateChanged:connect(function(os,ns)
  2808. if c.HumanoidRootPart.Velocity.Y<.1 and Debounces.isJumping==true and ns==Enum.HumanoidStateType.Landed then
  2809. Debounces.isJumping=false;
  2810. end;
  2811. end);
  2812. for i=1,#Joints do
  2813. Joints[i].C1=CFrameZero();
  2814. end;
  2815. rs.RenderStepped:connect(function()
  2816. Debounces.FPS=1/rs.RenderStepped:wait();
  2817. if Debounces.FPS<30 then
  2818. Debounces.FPS=30;
  2819. end;
  2820. if Debounces.isSprinting then
  2821. lerpBoom();
  2822. else
  2823. noBoom();
  2824. end;
  2825. for _,v in pairs(rayModel:children())do
  2826. v.Transparency=v.Transparency+.06/(Debounces.FPS/60);
  2827. if v.Transparency>.99 then v:Destroy();return;end;
  2828. v.CanCollide=true;
  2829. local tParts=v:GetTouchingParts();
  2830. v.CanCollide=false;
  2831. local vCFrame=v.CFrame;
  2832. v.Size=v.Size+Vector3.new(0,1,1)/(Debounces.FPS/60);
  2833. v.CFrame=vCFrame;
  2834. for _,x in pairs(tParts)do
  2835. if x and x.Parent and x.Parent:FindFirstChild'Humanoid'and x.Parent.Humanoid:isA'Humanoid'and x.Parent~=c then
  2836. x.Parent.Humanoid:TakeDamage(1,2);
  2837. end;
  2838. end;
  2839. end;
  2840. local FPSLerp=AnimStat.lerpSpeed/(Debounces.FPS/60);
  2841. for i=1,#Joints do
  2842. Joints[i].C0=Joints[i].C0:lerp(JointTargets[i],FPSLerp);
  2843. end;
  2844. end);
  2845. end)
  2846.  
  2847. Sans.Name = "Sans"
  2848. Sans.Parent = Frame
  2849. Sans.BackgroundColor3 = Color3.new(1, 1, 1)
  2850. Sans.Position = UDim2.new(0, 0, 0.470851988, 0)
  2851. Sans.Size = UDim2.new(0, 55, 0, 50)
  2852. Sans.Font = Enum.Font.SourceSans
  2853. Sans.Text = "Sans"
  2854. Sans.TextColor3 = Color3.new(0, 0, 0)
  2855. Sans.TextSize = 14
  2856. BUTTONNAMEHERE!.MouseButton1Down:connect(function()
  2857. -- BurnLegion strikes again!
  2858. -- wongxd, this is why you DON'T goto Voidacity's
  2859. -- SLPM has been absent, so I've taken it upon myself to make something
  2860.  
  2861. --------------------------------------------------------
  2862.  
  2863. pls = game:GetService'Players'
  2864. rs = game:GetService'RunService'
  2865. uinps = game:GetService'UserInputService'
  2866. lp = pls.LocalPlayer
  2867. mouse = lp:GetMouse()
  2868. c = lp.Character
  2869. human = c.Humanoid
  2870. human.MaxHealth = 50
  2871. wait()
  2872. human.Health = 50
  2873. c.Health:Destroy()
  2874.  
  2875. --------------------------------------------------------
  2876.  
  2877. Debounces = {
  2878. AnimationCycles = 0;
  2879. FPS = 0;
  2880. scalingDamage = false;
  2881. damageLevel = 0;
  2882. attackNumber = 0;
  2883. isAttacking = false;
  2884. isMoving = false;
  2885. isSprinting = false;
  2886. isBoosting = false;
  2887. isPassive = false;
  2888. isTyping = false;
  2889. }
  2890.  
  2891. --------------------------------------------------------
  2892.  
  2893. numLerp = function(start, goal, alpha)
  2894. return(((goal - start) * alpha) + start)
  2895. end
  2896.  
  2897. CFrameZero = function()
  2898. return CFrame.new(Vector3.new())
  2899. end
  2900.  
  2901. rad = function(value)
  2902. return math.rad(value)
  2903. end
  2904.  
  2905. CFAngles = function(Vector)
  2906. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  2907. end
  2908.  
  2909. --------------------------------------------------------
  2910.  
  2911. AnimStat = {
  2912. lerpSpeed = .2;
  2913. lerpSpeed2 = .35;
  2914. lerpTween = 0;
  2915. }
  2916.  
  2917. Joints = {
  2918. c.HumanoidRootPart.RootJoint;
  2919. c.Torso.Neck;
  2920. c.Torso['Left Shoulder'];
  2921. c.Torso['Right Shoulder'];
  2922. c.Torso['Left Hip'];
  2923. c.Torso['Right Hip'];
  2924. }
  2925.  
  2926. JointTargets = {
  2927. CFrameZero();
  2928. CFrameZero();
  2929. CFrameZero();
  2930. CFrameZero();
  2931. CFrameZero();
  2932. CFrameZero();
  2933. }
  2934.  
  2935. --------------------------------------------------------
  2936.  
  2937. BodyColors = {
  2938. HeadColor = BrickColor.new("Institutional white");
  2939. LeftArmColor = BrickColor.new("Institutional white");
  2940. RightArmColor = BrickColor.new("Institutional white");
  2941. LeftLegColor = BrickColor.new("Institutional white");
  2942. RightLegColor = BrickColor.new("Institutional white");
  2943. TorsoColor = BrickColor.new("Mid gray");
  2944. }
  2945.  
  2946. Customs = {
  2947. Face = "http://www.roblox.com/asset/?id=8560915";
  2948. Shirt = "http://www.roblox.com/asset/?id=334781688";
  2949. Pants = "http://www.roblox.com/asset/?id=335237283";
  2950. }
  2951.  
  2952. --------------------------------------------------------
  2953.  
  2954. prepareCharacter = function()
  2955. local transPoints = {
  2956. NumberSequenceKeypoint.new(0,.819,.0375),
  2957. NumberSequenceKeypoint.new(.207,.594,.0187),
  2958. NumberSequenceKeypoint.new(.4,.55,.031),
  2959. NumberSequenceKeypoint.new(.57,.619,.05),
  2960. NumberSequenceKeypoint.new(.76,.8,.0375),
  2961. NumberSequenceKeypoint.new(1,1,0),
  2962. }
  2963. local sizePoints = {
  2964. NumberSequenceKeypoint.new(0,.687,0),
  2965. NumberSequenceKeypoint.new(.111,.875,0),
  2966. NumberSequenceKeypoint.new(.327,1.19,0),
  2967. NumberSequenceKeypoint.new(.646,1.56,0),
  2968. NumberSequenceKeypoint.new(.805,1.37,0),
  2969. NumberSequenceKeypoint.new(.905,1.06,0),
  2970. NumberSequenceKeypoint.new(.968,.938,0),
  2971. NumberSequenceKeypoint.new(.984,1.13,0),
  2972. NumberSequenceKeypoint.new(1,1.62,0),
  2973. }
  2974. local Size = NumberSequence.new(sizePoints)
  2975. local Transparency = NumberSequence.new(transPoints)
  2976. rayModel = Instance.new("Model",c)
  2977. efxBlock = Instance.new("Part",c)
  2978. efxBlock.BrickColor = BrickColor.new("Cyan")
  2979. efxBlock.Material = "Neon"
  2980. efxBlock.FormFactor = "Custom"
  2981. efxBlock.Transparency = .3
  2982. efxBlock.Size = Vector3.new(.3,.3,.3)
  2983. local mesh = Instance.new("SpecialMesh",efxBlock)
  2984. mesh.MeshType = Enum.MeshType.Sphere
  2985. mesh.Scale = Vector3.new(1,1,1)
  2986. light = Instance.new("PointLight",c.Head)
  2987. light.Range = 10
  2988. light.Color = Color3.new(0,200/255,1)
  2989. light.Shadows = false
  2990. local particles = Instance.new("ParticleEmitter",efxBlock)
  2991. particles.Color = ColorSequence.new(Color3.new(0,0,225/255),Color3.new(20/255,190/255,205/255))
  2992. particles.LightEmission = .95
  2993. particles.Size = Size
  2994. particles.Name = "Fire"
  2995. particles.Transparency = Transparency
  2996. particles.LockedToPart = true
  2997. particles.VelocityInheritance = .5
  2998. particles.LockedToPart = true
  2999. particles.Rate = 70
  3000. particles.Texture = "rbxassetid://56561915"
  3001. particles.Lifetime = NumberRange.new(2,2)
  3002. particles.RotSpeed = NumberRange.new(100,100)
  3003. particles.Speed = NumberRange.new(7,7)
  3004. script.Parent = efxBlock
  3005. fire = particles
  3006. local offset = Vector3.new(-0.11, .23, -0.5)
  3007. local weld = Instance.new("Weld",c.Head)
  3008. weld.Part0 = c.Head
  3009. weld.Part1 = efxBlock
  3010. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40))
  3011. efxBlock.Parent = c
  3012. local music = Instance.new("Sound",c)
  3013. music.SoundId = "rbxassetid://316012176"
  3014. music.Looped = true
  3015. music.Volume = 0
  3016. fight = music
  3017. local music2 = Instance.new("Sound",c)
  3018. music2.SoundId = "rbxassetid://316014309"
  3019. music2.Looped = true
  3020. music2.Volume = 0
  3021. sans = music2
  3022. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  3023. pointGyro.P = 1e7
  3024. pointGyro.D = 1e3
  3025. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  3026. animator = c.Humanoid:FindFirstChild("Animator")
  3027. if animator then
  3028. animator:Destroy()
  3029. end
  3030. c.Torso.roblox:Destroy()
  3031. for i,v in pairs (c.Head:children()) do
  3032. if v.ClassName == "Sound" then
  3033. v:Destroy()
  3034. end
  3035. end
  3036. for i = 1,#Joints do
  3037. Joints[i].C1 = CFrame.new(Vector3.new())
  3038. end
  3039. human.WalkSpeed = 0
  3040. human.JumpPower = 0
  3041. end
  3042.  
  3043. uinps.InputBegan:connect(function(InputObject)
  3044. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  3045. Debounces.isPassive = not Debounces.isPassive
  3046. end
  3047. end)
  3048.  
  3049. setJointCFrames = function(table)
  3050. for i = 1,#table do
  3051. JointTargets[i] = table[i]
  3052. end
  3053. AnimationCycles = 0
  3054. end
  3055.  
  3056. setLerp = function(speed)
  3057. AnimStat.lerpSpeed = speed
  3058. end
  3059.  
  3060. setTween = function(tween)
  3061. AnimStat.lerpTween = tween
  3062. end
  3063.  
  3064. takeDamage = function(position,damage,distance,platformStand)
  3065. for i,v in pairs (pls:children()) do
  3066. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  3067. local torso = v.Character:FindFirstChild("Torso")
  3068. if torso and (torso.Position - position).magnitude < distance then
  3069. v.Character.Humanoid:TakeDamage(damage)
  3070. if platformStand == true then
  3071. v.Character.PlatformStand = platformStand
  3072. end
  3073. end
  3074. end
  3075. end
  3076. end
  3077.  
  3078. --------------------------------------------------------
  3079.  
  3080. prepareCharacter()
  3081.  
  3082. --------------------------------------------------------
  3083.  
  3084. spawn(function()
  3085. local sine = 0
  3086. while wait() do
  3087. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  3088. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  3089. setLerp(.1)
  3090. if Debounces.isPassive == true then
  3091. setJointCFrames({
  3092. CFrame.new(Vector3.new(0, -0.901 + math.sin(tick() * 1.5)/45, 0)) * CFAngles(Vector3.new(-22.001, 0, 0));
  3093. CFrame.new(Vector3.new(-0.001, 1.52 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(-10.861 + math.sin((-tick() + 2) * 1.5) * 5, 13.765, -1.658));
  3094. CFrame.new(Vector3.new(-1.5, -0.1 + math.sin(tick() * 1.5)/15, -0.801)) * CFAngles(Vector3.new(44.999, 0, 0));
  3095. CFrame.new(Vector3.new(1.7, 0.2 + math.sin(tick() * 1.5)/15, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 15));
  3096. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.511, 3.84, 0.489));
  3097. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, -0.001));
  3098. })
  3099. else
  3100. setJointCFrames({
  3101. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  3102. CFrame.new(Vector3.new(0, 1.5 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(1.554 + math.sin((-tick() + 2) * 1.5) * 5, -0.001, -0.001));
  3103. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  3104. CFrame.new(Vector3.new(1.059, -0.031 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, -3.842, -29.511));
  3105. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  3106. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  3107. })
  3108. end
  3109. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  3110. sine = sine + math.rad(12)
  3111. human.WalkSpeed = 15
  3112. setLerp(.15)
  3113. setJointCFrames({
  3114. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  3115. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  3116. CFrame.new(Vector3.new(-1.97, 0 + math.sin(sine + .5)/20, 0.1 + math.sin(-sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(sine) * 23, 0, 0));
  3117. CFrame.new(Vector3.new(1.97, 0 - math.sin(sine + .5)/20, 0.1 + math.sin(sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(-sine) * 23, 0, 0));
  3118. CFrame.new(Vector3.new(-0.5, -1.93 - math.cos(sine)/8.7, 0.2 + math.sin(sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(-sine) * 30, 0, 0));
  3119. CFrame.new(Vector3.new(0.5, -1.93 + math.cos(sine)/8.7, 0.2 + math.sin(-sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(sine) * 30, 0, 0));
  3120. })
  3121. end
  3122. if Debounces.scalingDamage == true then
  3123. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  3124. end
  3125. end
  3126. end)
  3127.  
  3128. human.Changed:connect(function(prop)
  3129. if prop == "MoveDirection" then
  3130. if human.MoveDirection.magnitude > .02 then
  3131. Debounces.isMoving = true
  3132. else
  3133. Debounces.isMoving = false
  3134. end
  3135. end
  3136. end)
  3137.  
  3138. uinps.InputBegan:connect(function(InputObject)
  3139. if InputObject.KeyCode == Enum.KeyCode.A and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  3140. Debounces.isBoosting = true
  3141. Debounces.damageLevel = 10
  3142. Debounces.scalingDamage = true
  3143. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  3144. setLerp(.15)
  3145. setJointCFrames({
  3146. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  3147. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  3148. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  3149. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  3150. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  3151. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  3152. })
  3153. local boostSpeed = 250
  3154. local efx = Instance.new("Sound",c.Head)
  3155. efx.SoundId = "rbxassetid://200632875"
  3156. efx.Pitch = math.random(1100,1300)/1000
  3157. efx.Volume = .5
  3158. efx:Play()
  3159. spawn(function()
  3160. wait(5)
  3161. efx:Destroy()
  3162. end)
  3163. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  3164. vel.P = 1e3
  3165. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  3166. wait(.15)
  3167. vel.P = 1000
  3168. vel.MaxForce = Vector3.new(3000,0,3000)
  3169. vel.Velocity = Vector3.new()
  3170. wait(.3)
  3171. setLerp(.3)
  3172. setJointCFrames({
  3173. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  3174. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  3175. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  3176. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  3177. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  3178. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  3179. })
  3180. wait(.2)
  3181. vel:Destroy()
  3182. Debounces.damageLevel = 0
  3183. Debounces.scalingDamage = false
  3184. Debounces.isBoosting = false
  3185. end
  3186. end)
  3187.  
  3188. uinps.InputBegan:connect(function(InputObject)
  3189. if InputObject.KeyCode == Enum.KeyCode.D and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  3190. Debounces.isBoosting = true
  3191. Debounces.damageLevel = 10
  3192. Debounces.scalingDamage = true
  3193. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  3194. setLerp(.15)
  3195. setJointCFrames({
  3196. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  3197. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  3198. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  3199. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  3200. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  3201. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  3202. })
  3203. local boostSpeed = 250
  3204. local efx = Instance.new("Sound",c.Head)
  3205. efx.SoundId = "rbxassetid://200632875"
  3206. efx.Pitch = math.random(1100,1300)/1000
  3207. efx.Volume = .5
  3208. efx:Play()
  3209. spawn(function()
  3210. wait(5)
  3211. efx:Destroy()
  3212. end)
  3213. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  3214. vel.P = 1e3
  3215. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  3216. wait(.15)
  3217. vel.P = 1000
  3218. vel.MaxForce = Vector3.new(3000,0,3000)
  3219. vel.Velocity = Vector3.new()
  3220. wait(.3)
  3221. setLerp(.3)
  3222. setJointCFrames({
  3223. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  3224. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  3225. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  3226. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  3227. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  3228. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  3229. })
  3230. wait(.2)
  3231. vel:Destroy()
  3232. Debounces.damageLevel = 0
  3233. Debounces.scalingDamage = false
  3234. Debounces.isBoosting = false
  3235. end
  3236. end)
  3237.  
  3238. uinps.InputBegan:connect(function(InputObject)
  3239. if InputObject.KeyCode == Enum.KeyCode.W and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  3240. Debounces.isBoosting = true
  3241. Debounces.damageLevel = 10
  3242. Debounces.scalingDamage = true
  3243. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  3244. setLerp(.15)
  3245. setJointCFrames({
  3246. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  3247. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  3248. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  3249. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  3250. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  3251. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  3252. })
  3253. local boostSpeed = 250
  3254. local efx = Instance.new("Sound",c.Head)
  3255. efx.SoundId = "rbxassetid://200632875"
  3256. efx.Pitch = math.random(1100,1300)/1000
  3257. efx.Volume = .5
  3258. efx:Play()
  3259. spawn(function()
  3260. wait(5)
  3261. efx:Destroy()
  3262. end)
  3263. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  3264. vel.P = 1e3
  3265. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  3266. wait(.15)
  3267. vel.P = 1000
  3268. vel.MaxForce = Vector3.new(3000,0,3000)
  3269. vel.Velocity = Vector3.new()
  3270. wait(.3)
  3271. setLerp(.3)
  3272. setJointCFrames({
  3273. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  3274. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  3275. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  3276. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  3277. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  3278. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  3279. })
  3280. wait(.2)
  3281. vel:Destroy()
  3282. Debounces.damageLevel = 0
  3283. Debounces.scalingDamage = false
  3284. Debounces.isBoosting = false
  3285. end
  3286. end)
  3287.  
  3288. uinps.InputBegan:connect(function(InputObject)
  3289. if InputObject.KeyCode == Enum.KeyCode.S and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  3290. Debounces.isBoosting = true
  3291. Debounces.damageLevel = 10
  3292. Debounces.scalingDamage = true
  3293. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  3294. setLerp(.15)
  3295. setJointCFrames({
  3296. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  3297. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  3298. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  3299. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  3300. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  3301. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  3302. })
  3303. local boostSpeed = 150
  3304. local boostSpeed = 250
  3305. local efx = Instance.new("Sound",c.Head)
  3306. efx.SoundId = "rbxassetid://200632875"
  3307. efx.Pitch = math.random(1100,1300)/1000
  3308. efx.Volume = .5
  3309. efx:Play()
  3310. spawn(function()
  3311. wait(5)
  3312. efx:Destroy()
  3313. end)
  3314. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  3315. vel.P = 1e3
  3316. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  3317. wait(.15)
  3318. vel.P = 1000
  3319. vel.MaxForce = Vector3.new(3000,0,3000)
  3320. vel.Velocity = Vector3.new()
  3321. wait(.3)
  3322. setLerp(.3)
  3323. setJointCFrames({
  3324. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  3325. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  3326. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  3327. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  3328. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  3329. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  3330. })
  3331. wait(.2)
  3332. vel:Destroy()
  3333. Debounces.damageLevel = 0
  3334. Debounces.scalingDamage = false
  3335. Debounces.isBoosting = false
  3336. end
  3337. end)
  3338.  
  3339. uinps.InputBegan:connect(function(InputObject)
  3340. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  3341. local isLooping = true
  3342. uinps.InputEnded:connect(function(InputObject2)
  3343. if InputObject2.KeyCode == Enum.KeyCode.Q then
  3344. isLooping = false
  3345. end
  3346. end)
  3347. while true do
  3348. if isLooping == false then
  3349. break
  3350. end
  3351. Debounces.attackNumber = Debounces.attackNumber + 1
  3352. local aimPos = mouse.Hit.p
  3353. local head = Instance.new("Part",c)
  3354. head.Size = Vector3.new(12,.2,12)
  3355. head.CanCollide = false
  3356. head.Anchored = true
  3357. head.Transparency = 1
  3358. for i = 1,2 do
  3359. local decal = Instance.new("Decal",head)
  3360. decal.Texture = "rbxassetid://323497117"
  3361. if i == 1 then
  3362. decal.Face = Enum.NormalId.Top
  3363. else
  3364. decal.Face = Enum.NormalId.Bottom
  3365. end
  3366. end
  3367. if Debounces.attackNumber%2 == 1 then
  3368. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  3369. else
  3370. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  3371. end
  3372. spawn(function()
  3373. local timer = 0
  3374. while rs.RenderStepped:wait() do
  3375. if timer >= 1.55 then
  3376. break
  3377. end
  3378. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  3379. timer = timer + 1/30/(Debounces.FPS/60)
  3380. end
  3381. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  3382. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  3383. local hit, pos = workspace:FindPartOnRay(ray,c)
  3384. local dis = (head.CFrame.p - pos).magnitude
  3385. local rayPart = Instance.new("Part",rayModel)
  3386. rayPart.Material = "Neon"
  3387. rayPart.FormFactor = "Custom"
  3388. rayPart.BrickColor = BrickColor.new(1,1,1)
  3389. rayPart.Anchored = true
  3390. rayPart.CanCollide = false
  3391. rayPart.Size = Vector3.new(7,7,dis + 400)
  3392. local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2)
  3393. rayPart.CFrame = rayCFrame
  3394. head:Destroy()
  3395. end)
  3396. wait()
  3397. local s = Instance.new("Sound",head)
  3398. s.Volume = 1
  3399. s.SoundId = "rbxassetid://332223043"
  3400. s:Play()
  3401. wait(.04)
  3402. end
  3403. end
  3404. end)
  3405.  
  3406. uinps.InputBegan:connect(function(InputObj)
  3407. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  3408. Debounces.isAttacking = true
  3409. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  3410. local head = Instance.new("Part",c)
  3411. head.Size = Vector3.new(18,.2,18)
  3412. head.CanCollide = false
  3413. head.Anchored = true
  3414. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  3415. head.Transparency = 1
  3416. for i = 1,2 do
  3417. local decal = Instance.new("Decal",head)
  3418. decal.Texture = "rbxassetid://323497117"
  3419. if i == 1 then
  3420. decal.Face = Enum.NormalId.Top
  3421. else
  3422. decal.Face = Enum.NormalId.Bottom
  3423. end
  3424. end
  3425. setLerp(.1)
  3426. setJointCFrames({
  3427. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  3428. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  3429. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  3430. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  3431. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  3432. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  3433. })
  3434. spawn(function()
  3435. local timer = 0
  3436. while rs.RenderStepped:wait() do
  3437. if timer >= 1.55/.8 then
  3438. break
  3439. end
  3440. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  3441. timer = timer + 1/30/(Debounces.FPS/60)
  3442. end
  3443. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  3444. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  3445. local hit, pos = workspace:FindPartOnRay(ray,c)
  3446. local dis = (head.CFrame.p - pos).magnitude
  3447. local rayPart = Instance.new("Part",rayModel)
  3448. rayPart.Material = "Neon"
  3449. rayPart.FormFactor = "Custom"
  3450. rayPart.Name = "Punch"
  3451. rayPart.BrickColor = BrickColor.new(1,1,1)
  3452. rayPart.Anchored = true
  3453. rayPart.CanCollide = false
  3454. rayPart.Size = Vector3.new(28,28,dis + 400)
  3455. local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2)
  3456. rayPart.CFrame = rayCFrame
  3457. head:Destroy()
  3458. end)
  3459. wait()
  3460. local s = Instance.new("Sound",head)
  3461. s.Volume = 1
  3462. s.SoundId = "rbxassetid://332223043"
  3463. s.Pitch = .8
  3464. s:Play()
  3465. wait(.75)
  3466. setLerp(.17)
  3467. setJointCFrames({
  3468. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  3469. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  3470. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  3471. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  3472. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  3473. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  3474. })
  3475. wait(.5)
  3476. Debounces.isAttacking = false
  3477. end
  3478. end)
  3479.  
  3480. reflect = function(d,n)
  3481. local i, n = -1 * d.unit, n.unit
  3482. local dot = n:Dot(i)
  3483. return 2*dot*n - i
  3484. end
  3485.  
  3486. makeReflectionBeam = function(pos,look,isCrit)
  3487. local ray = Ray.new(pos,look)
  3488. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  3489. local e = Instance.new("Part",rayModel)
  3490. e.Anchored = true
  3491. e.CanCollide = false
  3492. e.BrickColor = BrickColor.new("White")
  3493. e.Material = "Neon"
  3494. e.FormFactor = "Custom"
  3495. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  3496. if isCrit == true then
  3497. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  3498. e.Name = "Punch"
  3499. end
  3500. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  3501. local e = Instance.new("Sound",c)
  3502. if isCrit == true then
  3503. e.Volume = .5
  3504. else
  3505. e.Volume = .3
  3506. e.Pitch = 1.5
  3507. end
  3508. e.SoundId = "rbxassetid://200632875"
  3509. e:Play()
  3510. spawn(function()
  3511. wait(6)
  3512. e:Destroy()
  3513. end)
  3514. wait(.05)
  3515. if hit ~= nil then
  3516. newDir = reflect(look.unit,norm,isCrit)
  3517. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  3518. end
  3519. end
  3520.  
  3521. uinps.InputBegan:connect(function(InputObject)
  3522. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  3523. local isLooping = true
  3524. uinps.InputEnded:connect(function(InputObject2)
  3525. if InputObject2.KeyCode == Enum.KeyCode.Q then
  3526. isLooping = false
  3527. end
  3528. end)
  3529. while true do
  3530. if isLooping == false then
  3531. break
  3532. end
  3533. Debounces.attackNumber = Debounces.attackNumber + 1
  3534. local aimPos = mouse.Hit.p
  3535. local head = Instance.new("Part",c)
  3536. head.Size = Vector3.new(12,.2,12)
  3537. head.CanCollide = false
  3538. head.Anchored = true
  3539. head.Transparency = 1
  3540. for i = 1,2 do
  3541. local decal = Instance.new("Decal",head)
  3542. decal.Texture = "rbxassetid://323497117"
  3543. if i == 1 then
  3544. decal.Face = Enum.NormalId.Top
  3545. else
  3546. decal.Face = Enum.NormalId.Bottom
  3547. end
  3548. end
  3549. if Debounces.attackNumber%2 == 1 then
  3550. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  3551. else
  3552. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  3553. end
  3554. spawn(function()
  3555. local timer = 0
  3556. while rs.RenderStepped:wait() do
  3557. if timer >= 1.55 then
  3558. break
  3559. end
  3560. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  3561. timer = timer + 1/30/(Debounces.FPS/60)
  3562. end
  3563. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  3564. head:Destroy()
  3565. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  3566. end)
  3567.  
  3568. wait()
  3569. local s = Instance.new("Sound",head)
  3570. s.Volume = 1
  3571. s.SoundId = "rbxassetid://332223043"
  3572. s.Pitch = 1.02
  3573. s:Play()
  3574. wait(.2)
  3575. end
  3576. end
  3577. end)
  3578.  
  3579. uinps.InputBegan:connect(function(InputObj)
  3580. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  3581. Debounces.isAttacking = true
  3582. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  3583. local head = Instance.new("Part",c)
  3584. head.Size = Vector3.new(18,.2,18)
  3585. head.CanCollide = false
  3586. head.Anchored = true
  3587. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  3588. head.Transparency = 1
  3589. for i = 1,2 do
  3590. local decal = Instance.new("Decal",head)
  3591. decal.Texture = "rbxassetid://323497117"
  3592. if i == 1 then
  3593. decal.Face = Enum.NormalId.Top
  3594. else
  3595. decal.Face = Enum.NormalId.Bottom
  3596. end
  3597. end
  3598. setLerp(.1)
  3599. setJointCFrames({
  3600. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  3601. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  3602. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  3603. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  3604. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  3605. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  3606. })
  3607. spawn(function()
  3608. local timer = 0
  3609. while rs.RenderStepped:wait() do
  3610. if timer >= 1.55/.8 then
  3611. break
  3612. end
  3613. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  3614. timer = timer + 1/30/(Debounces.FPS/60)
  3615. end
  3616. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  3617. head:Destroy()
  3618. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  3619. end)
  3620. wait()
  3621. local s = Instance.new("Sound",head)
  3622. s.Volume = 2
  3623. s.SoundId = "rbxassetid://332223043"
  3624. s.Pitch = .8
  3625. s:Play()
  3626. wait(.75)
  3627. setLerp(.17)
  3628. setJointCFrames({
  3629. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  3630. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  3631. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  3632. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  3633. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  3634. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  3635. })
  3636. wait(.5)
  3637. Debounces.isAttacking = false
  3638. end
  3639. end)
  3640.  
  3641. uinps.InputBegan:connect(function(InputObj)
  3642. if InputObj.KeyCode == Enum.KeyCode.Slash then
  3643. local finishEvent = nil
  3644. Debounces.isTyping = true
  3645. finishEvent = uinps.InputBegan:connect(function(InputObj)
  3646. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  3647. Debounces.isTyping = false
  3648. finishEvent:disconnect()
  3649. end
  3650. end)
  3651. end
  3652. end)
  3653.  
  3654. uinps.InputBegan:connect(function(InputObj)
  3655. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  3656. Debounces.isSprinting = true
  3657. end
  3658. end)
  3659.  
  3660. uinps.InputEnded:connect(function(InputObj)
  3661. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  3662. Debounces.isSprinting = false
  3663. end
  3664. end)
  3665.  
  3666. rs.RenderStepped:connect(function()
  3667. Debounces.FPS = 1/rs.RenderStepped:wait()
  3668. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  3669. if Debounces.isPassive == false then
  3670. fire.Enabled = false
  3671. light.Range = 0
  3672. fight:Pause()
  3673. sans:Resume()
  3674. efxBlock.Transparency = 1
  3675. else
  3676. fire.Enabled = true
  3677. light.Range = 10
  3678. fight:Resume()
  3679. sans:Pause()
  3680. efxBlock.Transparency = 0
  3681. end
  3682. for i,v in pairs (rayModel:children()) do
  3683. if v.Transparency >= 1 then
  3684. v:Destroy()
  3685. else
  3686. v.CanCollide = true
  3687. local parts = v:GetTouchingParts()
  3688. v.CanCollide = false
  3689. for i = 1,#parts do
  3690. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  3691. parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
  3692. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  3693. parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
  3694. end
  3695. end
  3696. v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
  3697. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  3698. end
  3699. end
  3700. for i = 1,#Joints do
  3701. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  3702. end
  3703. local sineval = math.sin(tick() * 2) * 3
  3704. fire.Acceleration = Vector3.new(sineval,1,sineval)
  3705. light.Brightness = math.sin(math.cos(tick() * 2) * 1.5)
  3706. end)
  3707. print(NOTE: I did this print, If the buttons wont work, add me! If the "Toriel" button will not work, there will be one that will work until i will add.)
  3708. end)
  3709.  
  3710. Gaster.Name = "Gaster"
  3711. Gaster.Parent = Frame
  3712. Gaster.BackgroundColor3 = Color3.new(1, 1, 1)
  3713. Gaster.Position = UDim2.new(0.143426299, 0, 0.470851988, 0)
  3714. Gaster.Size = UDim2.new(0, 55, 0, 50)
  3715. Gaster.Font = Enum.Font.SourceSans
  3716. Gaster.Text = "GaStEr"
  3717. Gaster.TextColor3 = Color3.new(0, 0, 0)
  3718. Gaster.TextSize = 14
  3719. BUTTONNAMEHERE!.MouseButton1Down:connect(function()
  3720. function clerp(c1,c2,al)
  3721. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  3722. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  3723. for i,v in pairs(com1) do
  3724. com1[i] = v+(com2[i]-v)*al
  3725. end
  3726. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  3727. end
  3728.  
  3729. function weld(p0,p1,c0,c1,par)
  3730. local w = Instance.new("Weld", par)
  3731. w.Part0 = p0
  3732. w.Part1 = p1
  3733. w.C0 = c0 or CFrame.new()
  3734. w.C1 = c1 or CFrame.new()
  3735. return w
  3736. end
  3737.  
  3738. xmathrandom = math.random(-10,10)
  3739. ymathrandom = math.random(2,10)
  3740. zmathrandom = math.random(-10,10)
  3741.  
  3742.  
  3743. player = game:service("Players").LocalPlayer
  3744. char = player.Character
  3745. local beat = true
  3746. local beattime = 0.6
  3747. suit = Instance.new("Model", char)
  3748. suit.Name = "Gaster"
  3749. local vDebounce = false
  3750. Torso = char.Torso
  3751. cf=CFrame.new
  3752. euler=CFrame.fromEulerAnglesXYZ
  3753. local SHOT_SPEED = 100
  3754. local SHOT_TIME = 1
  3755. local NOZZLE_OFFSET = Vector3.new(0, 0, 0)
  3756. mouse = player:GetMouse()
  3757.  
  3758. shieldparent1 = nil
  3759. shieldparent2 = nil
  3760. shieldparent3 = nil
  3761. shieldparent4 = nil
  3762. shieldparent5 = nil
  3763. shieldparent6 = nil
  3764.  
  3765. switchvalue = 0
  3766. RandomGasterRotaion = 0
  3767. RandomPerseverance = 0
  3768.  
  3769. ShieldValueToGaster = false
  3770. ShieldValueToGasterDebounce = false
  3771.  
  3772. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  3773.  
  3774. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  3775.  
  3776.  
  3777. RSH, LSH = nil, nil
  3778.  
  3779. LS = Torso["Left Shoulder"]
  3780.  
  3781. LH = Torso["Left Hip"]
  3782.  
  3783. RS = Torso["Right Shoulder"]
  3784.  
  3785. RH = Torso["Right Hip"]
  3786. RSH = char.Torso["Right Shoulder"]
  3787.  
  3788. LSH = char.Torso["Left Shoulder"]
  3789.  
  3790.  
  3791.  
  3792. function startup()
  3793.  
  3794. RW.Part0 = char.Torso
  3795.  
  3796. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  3797.  
  3798. RW.C1 = CFrame.new(0, 0.5, 0)
  3799.  
  3800. RW.Part1 = char["Right Arm"]
  3801.  
  3802. RW.Parent = char.Torso
  3803.  
  3804.  
  3805.  
  3806. LW.Part0 = char.Torso
  3807.  
  3808. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  3809.  
  3810. LW.C1 = CFrame.new(0, 0.5, 0)
  3811.  
  3812. LW.Part1 = char["Left Arm"]
  3813.  
  3814. LW.Parent = char.Torso
  3815.  
  3816. for i = 1,5 do wait()
  3817. RW.C1= clerp(RW.C1*CFrame.new(-.1, -0, .1)*CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-8),0),RW.C0,0.1)
  3818. LW.C1= clerp(LW.C1*CFrame.new(.1, -0, .1)*CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(8),0),LW.C0,0.1)
  3819.  
  3820.  
  3821. end
  3822. coroutine.resume(coroutine.create(function()
  3823. wait(1)
  3824. for i = 1,20 do wait()
  3825. RW.C1= clerp(RW.C1*CFrame.new(-.15, -.05, 0.01)*CFrame.fromEulerAnglesXYZ(-math.rad(-.1),-math.rad(-.1),-math.rad(3)),RW.C0,0.1)
  3826. LW.C1= clerp(LW.C1*CFrame.new(.15, -.05, 0.01)*CFrame.fromEulerAnglesXYZ(math.rad(.1),math.rad(.1),-math.rad(-3)),LW.C0,0.1)
  3827.  
  3828.  
  3829. end
  3830.  
  3831. for i = 1,20 do wait()
  3832. RW.C1= clerp(RW.C1*CFrame.new(-.12, .05, -0.1)*CFrame.fromEulerAnglesXYZ(-math.rad(-4),-math.rad(-4),-math.rad(-4)),RW.C0,0.1)
  3833. LW.C1= clerp(LW.C1*CFrame.new(.12, .05, -0.1)*CFrame.fromEulerAnglesXYZ(math.rad(4),math.rad(-4),-math.rad(4)),LW.C0,0.1)
  3834.  
  3835.  
  3836. end
  3837.  
  3838.  
  3839. end))
  3840. end
  3841.  
  3842.  
  3843.  
  3844. local Sounds = {
  3845. Gaster = Instance.new("Sound"),
  3846. Gun = Instance.new("Sound"),
  3847. Switch = Instance.new("Sound"),
  3848. Explode = Instance.new("Sound"),
  3849. GasterTheme = Instance.new("Sound")
  3850. }
  3851.  
  3852. Sounds["Gaster"].SoundId = "rbxassetid://345052019"
  3853. Sounds["Gaster"].Volume = 1
  3854. Sounds["Gun"].SoundId = "http://www.roblox.com/asset?id=406913243"
  3855. Sounds["Gun"].Volume = 1
  3856. Sounds["Switch"].SoundId = "http://www.roblox.com/asset?id=388205678"
  3857. Sounds["Switch"].Volume = 1
  3858. Sounds["Explode"].SoundId = "rbxasset://sounds/collide.wav"
  3859. Sounds["Explode"].Volume = .1
  3860. Sounds["GasterTheme"].SoundId = "rbxassetid://323177357"
  3861. Sounds["GasterTheme"].Volume = 99
  3862.  
  3863. function PlaySound(soundname, pitch, where, looped)
  3864. Sounds[soundname].Parent = where
  3865. Sounds[soundname].Pitch = pitch
  3866. Sounds[soundname].Looped= looped
  3867. Sounds[soundname]:Play()
  3868. local oldsound = Sounds[soundname]
  3869. coroutine.resume(coroutine.create(function()
  3870.  
  3871. wait(4)
  3872. for i = 1,1 do
  3873. if oldsound.Looped == true then return end
  3874. oldsound:Destroy()
  3875. end
  3876. end))
  3877. Sounds[soundname] = Sounds[soundname]:clone()
  3878. end
  3879.  
  3880. firstuse = true
  3881. InUse = false
  3882.  
  3883. JusticeAttack = false
  3884. JusticeAttackDebounce = false
  3885.  
  3886. IntegrityAttack = false
  3887. IntegrityAttackDebounce = false
  3888.  
  3889. PerseveranceAttack = false
  3890. PerseveranceAttackDebounce = false
  3891.  
  3892. KindnessAttack = false
  3893. KindnessAttackDebounce = false
  3894.  
  3895. DeterminationAttack = false
  3896. DetermiantionAttackDebounce = false
  3897.  
  3898. PatienceAttack = false
  3899. PatienceAttackDebounce = false
  3900.  
  3901. BraveryAttack = false
  3902. BraveryAttackDebounce = false
  3903.  
  3904.  
  3905. hand1DeterminationhealthDown = false
  3906. hand2PerseverancehealthDown = false
  3907. hand3PatiencehealthDown = false
  3908. hand4IntegrityhealthDown = false
  3909. hand5BraveryhealthDown = false
  3910. hand6JusticehealthDown = false
  3911. hand7KindnesshealthDown = false
  3912.  
  3913. hand1Determination = Instance.new("Model", char)
  3914. hand1Determination.Name ="Red"
  3915. hand2Perseverance = Instance.new("Model", char)
  3916. hand2Perseverance.Name ="Purple"
  3917. hand3Patience = Instance.new("Model", char)
  3918. hand3Patience.Name = "Cyan"
  3919. hand4Integrity = Instance.new("Model", char)
  3920. hand4Integrity.Name = "Blue"
  3921. hand5Bravery = Instance.new("Model", char)
  3922. hand5Bravery.Name = "Orange"
  3923. hand6Justice = Instance.new("Model", char)
  3924. hand6Justice.Name = "Yellow"
  3925. hand7Kindness = Instance.new("Model", char)
  3926. hand7Kindness.Name = "Green"
  3927.  
  3928. function teleportPlayer(pos)
  3929.  
  3930. if player == nil or player.Character == nil then return end
  3931.  
  3932. char["Left Leg"].CFrame = CFrame.new(Vector3.new(pos.x, pos.y , pos.z))
  3933. coroutine.resume(coroutine.create(function()
  3934.  
  3935. TeleportPart = Instance.new("Part",workspace)
  3936.  
  3937. TeleportPart.FormFactor="Custom"
  3938.  
  3939. TeleportPart.Size=Vector3.new(0.8,0.8,0.8)
  3940.  
  3941. TeleportPart.TopSurface = 0
  3942.  
  3943. TeleportPart.BottomSurface = 0
  3944.  
  3945. local colorc = {"Black"}
  3946.  
  3947. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  3948.  
  3949. TeleportPart.BrickColor = Fire
  3950.  
  3951. TeleportPart.CanCollide=false
  3952.  
  3953. TeleportPart.Anchored=true
  3954.  
  3955. TeleportPart.CFrame =(Torso.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  3956.  
  3957. TeleportPartmesh = Instance.new("BlockMesh",TeleportPart)
  3958.  
  3959.  
  3960. game.Debris:AddItem(TeleportPart,1.5)
  3961.  
  3962. for i = 1,5 do wait()
  3963. Torso.Transparency = Torso.Transparency - 0.2
  3964. char["Left Arm"].Transparency = char["Left Arm"].Transparency - 0.2
  3965. char["Left Leg"].Transparency = char["Left Leg"].Transparency - 0.2
  3966. char["Right Arm"].Transparency = char["Right Arm"].Transparency - 0.2
  3967. char["Right Leg"].Transparency = char["Right Leg"].Transparency - 0.2
  3968. char.Head.Transparency = char.Head.Transparency - 0.2
  3969. Crack1.Transparency = Crack1.Transparency - 0.2
  3970. Crack2.Transparency = Crack2.Transparency - 0.2
  3971. mouth.Transparency = mouth.Transparency - 0.2
  3972. Eye1.Transparency = Eye1.Transparency - 0.2
  3973. Eye2.Transparency = Eye2.Transparency - 0.2
  3974. MEye1.Transparency = MEye1.Transparency - 0.2
  3975. MEye2.Transparency = MEye2.Transparency - 0.2
  3976. end
  3977.  
  3978.  
  3979. Torso.Transparency = 0
  3980. char["Left Arm"].Transparency = 0
  3981. char["Left Leg"].Transparency = 0
  3982. char["Right Arm"].Transparency = 0
  3983. char["Right Leg"].Transparency = 0
  3984. char.Head.Transparency = 0
  3985. Crack1.Transparency = 0
  3986. Crack2.Transparency = 0
  3987. mouth.Transparency = 0
  3988. Eye1.Transparency = 0
  3989. Eye2.Transparency = 0
  3990. MEye1.Transparency = 0
  3991. MEye2.Transparency = 0
  3992.  
  3993. end))
  3994.  
  3995. for i = 1,7 do
  3996. local parti = Instance.new("Part",Torso)
  3997. parti.Anchored = true
  3998. parti.TopSurface = 0
  3999. parti.BottomSurface = 0
  4000. parti.CanCollide = false
  4001. parti.Size = Vector3.new(math.random(1,1),math.random(1,1),math.random(1,1))
  4002. parti.CFrame = Torso.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4003. parti.Transparency = 0
  4004. parti.BrickColor = BrickColor.new("Black")
  4005. game.Debris:AddItem(parti,1.5)
  4006.  
  4007.  
  4008.  
  4009.  
  4010.  
  4011.  
  4012.  
  4013. local pad = Vector3.new(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  4014. game:service("RunService").Stepped:connect(function()
  4015. parti.Transparency = parti.Transparency + 0.05
  4016. parti.CFrame = (parti.CFrame*CFrame.Angles(math.rad(20),math.rad(20),math.rad(20)))+pad
  4017. end)
  4018.  
  4019.  
  4020.  
  4021. end
  4022. for i = 1,10 do wait()
  4023.  
  4024. TeleportPartmesh.Scale=Vector3.new(2*i,2*i,2*i)
  4025. TeleportPart.CFrame = clerp(TeleportPart.CFrame*CFrame.Angles(math.rad(10),math.rad(10),math.rad(10)),TeleportPart.CFrame,0.1)
  4026. TeleportPart.Transparency = TeleportPart.Transparency + 0.1
  4027. end
  4028. end
  4029.  
  4030. for _,v in pairs(char.Head:GetChildren()) do if v.ClassName=="Decal" then v:remove() end end
  4031. for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end
  4032. for _,v in pairs(char:GetChildren()) do if v.ClassName=="Shirt" or v.ClassName=="Pants" or v.ClassName=="T-Shirt" or v.ClassName=="ShirtGraphic" or v.ClassName=="CharacterMesh" then v:remove() end end
  4033. shirt=Instance.new("Shirt", char)
  4034. pants=Instance.new("Pants", char)
  4035. char.Head.BrickColor = BrickColor.new("Institutional white")
  4036.  
  4037.  
  4038. shirt.ShirtTemplate="rbxassetid://535199088"
  4039. pants.PantsTemplate="rbxassetid://532840011"
  4040.  
  4041. --------Gaster's head
  4042.  
  4043.  
  4044.  
  4045. mouth = Instance.new("Part",suit)
  4046. mouth.Size = Vector3.new(0.2,.7,0.4)
  4047. mouth.Transparency = 0
  4048. mouth.BrickColor = BrickColor.new("Really black")
  4049. mouth.CanCollide = false
  4050. mouthMesh = Instance.new("SpecialMesh",mouth)
  4051. mouthMesh.MeshType = "Sphere"
  4052. mouthMesh.Scale = Vector3.new(2.5,0.1,0.8)
  4053.  
  4054. weld(char.Head,mouth,CFrame.new(0,0,0),CFrame.new(0, .3, 0.45)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4055.  
  4056.  
  4057. Crack2 = Instance.new("Part",suit)
  4058. Crack2.Size = Vector3.new(0.2,.7,0.4)
  4059. Crack2.Transparency = 0
  4060. Crack2.BrickColor = BrickColor.new("Really black")
  4061. Crack2.CanCollide = false
  4062. Crack2Mesh = Instance.new("SpecialMesh",Crack2)
  4063. Crack2Mesh.MeshType = "Sphere"
  4064. Crack2Mesh.Scale = Vector3.new(0.3,0.7,0.8)
  4065.  
  4066. weld(char.Head,Crack2,CFrame.new(0,0,0),CFrame.new(.2, .15, 0.45)*CFrame.fromEulerAnglesXYZ(0, 0, -.2),char)
  4067.  
  4068.  
  4069. Crack1 = Instance.new("Part",suit)
  4070. Crack1.Size = Vector3.new(0.2,.7,0.4)
  4071. Crack1.Transparency = 0
  4072. Crack1.BrickColor = BrickColor.new("Really black")
  4073. Crack1.CanCollide = false
  4074. Crack1Mesh = Instance.new("SpecialMesh",Crack1)
  4075. Crack1Mesh.MeshType = "Sphere"
  4076. Crack1Mesh.Scale = Vector3.new(0.3,0.7,0.65)
  4077.  
  4078. weld(char.Head,Crack1,CFrame.new(0,0,0),CFrame.new(-.2, -.3, 0.45)*CFrame.fromEulerAnglesXYZ(0, 0, .2),char)
  4079.  
  4080.  
  4081. Eye1 = Instance.new("Part",suit)
  4082. Eye1.Size = Vector3.new(0.4,0.4,0.4)
  4083. Eye1.Transparency = 0
  4084. Eye1.BrickColor = BrickColor.new("Really black")
  4085. Eye1.CanCollide = false
  4086. Eye1Mesh = Instance.new("SpecialMesh",Eye1)
  4087. Eye1Mesh.MeshType = "Sphere"
  4088. Eye1Mesh.Scale = Vector3.new(1,1,0.6)
  4089.  
  4090. weld(char.Head,Eye1,CFrame.new(0,0,0),CFrame.new(-.2, -.1, 0.5)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4091.  
  4092.  
  4093. Eye2 = Instance.new("Part",suit)
  4094. Eye2.Size = Vector3.new(0.4,0.4,0.4)
  4095. Eye2.Transparency = 0
  4096. Eye2.CanCollide = false
  4097. Eye2.BrickColor = BrickColor.new("Really black")
  4098. Eye2Mesh = Instance.new("SpecialMesh",Eye2)
  4099. Eye2Mesh.MeshType = "Sphere"
  4100. Eye2Mesh.Scale = Vector3.new(1,1,0.6)
  4101.  
  4102. weld(char.Head,Eye2,CFrame.new(0,0,0),CFrame.new(.2, -.1, 0.5)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4103.  
  4104. MEye1 = Instance.new("Part",suit)
  4105. MEye1.Size = Vector3.new(0.3,0.3,0.3)
  4106. MEye1.Transparency = 0
  4107. MEye1.Material= "Neon"
  4108. MEye1.BrickColor = BrickColor.new("Institutional white")
  4109. MEye1.CanCollide = false
  4110. MEye1Mesh = Instance.new("SpecialMesh",MEye1)
  4111. MEye1Mesh.MeshType = "Sphere"
  4112. MEye1Mesh.Scale = Vector3.new(.2,.5,.2)
  4113.  
  4114. weld(Eye1,MEye1,CFrame.new(0,0,0),CFrame.new(-.02,0,0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4115.  
  4116. MEye2 = Instance.new("Part",suit)
  4117. MEye2.Size = Vector3.new(0.3,0.3,0.3)
  4118. MEye2.Transparency = 0
  4119. MEye2.Material= "Neon"
  4120. MEye2.BrickColor = BrickColor.new("Institutional white")
  4121. MEye2.CanCollide = false
  4122. MEye2Mesh = Instance.new("SpecialMesh",MEye2)
  4123. MEye2Mesh.MeshType = "Sphere"
  4124. MEye2Mesh.Scale = Vector3.new(.2,.5,.2)
  4125.  
  4126. weld(Eye2,MEye2,CFrame.new(0,0,0),CFrame.new(.02,0,0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4127.  
  4128.  
  4129. --------Gaster's hand
  4130.  
  4131. startup()
  4132.  
  4133. hand1DeterminationPosition = Instance.new("Part",suit)
  4134. hand1DeterminationPosition.Size = Vector3.new(1,1,1)
  4135. hand1DeterminationPosition.Transparency = 1
  4136. hand1DeterminationPosition.CanCollide = false
  4137.  
  4138. weld(Torso,hand1DeterminationPosition,CFrame.new(0,0,0),CFrame.new(-2, -5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4139.  
  4140. hand2PerseverancePosition = Instance.new("Part",suit)
  4141. hand2PerseverancePosition.Size = Vector3.new(1,1,1)
  4142. hand2PerseverancePosition.Transparency = 1
  4143. hand2PerseverancePosition.CanCollide = false
  4144.  
  4145. weld(Torso,hand2PerseverancePosition,CFrame.new(0,0,0),CFrame.new(2, -5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4146.  
  4147. hand3PatiencePosition = Instance.new("Part",suit)
  4148. hand3PatiencePosition.Size = Vector3.new(1,1,1)
  4149. hand3PatiencePosition.Transparency = 1
  4150. hand3PatiencePosition.CanCollide = false
  4151.  
  4152. weld(Torso,hand3PatiencePosition,CFrame.new(0,0,0),CFrame.new(-4, -5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4153.  
  4154. hand4IntegrityPosition = Instance.new("Part",suit)
  4155. hand4IntegrityPosition.Size = Vector3.new(1,1,1)
  4156. hand4IntegrityPosition.Transparency = 1
  4157. hand4IntegrityPosition.CanCollide = false
  4158.  
  4159. weld(Torso,hand4IntegrityPosition,CFrame.new(0,0,0),CFrame.new(4, -5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4160.  
  4161. hand5BraveryPosition = Instance.new("Part",suit)
  4162. hand5BraveryPosition.Size = Vector3.new(1,1,1)
  4163. hand5BraveryPosition.Transparency = 1
  4164. hand5BraveryPosition.CanCollide = false
  4165.  
  4166. weld(Torso,hand5BraveryPosition,CFrame.new(0,0,0),CFrame.new(-6, -7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4167.  
  4168. hand6JusticePosition = Instance.new("Part",suit)
  4169. hand6JusticePosition.Size = Vector3.new(1,1,1)
  4170. hand6JusticePosition.Transparency = 1
  4171. hand6JusticePosition.CanCollide = false
  4172.  
  4173. weld(Torso,hand6JusticePosition,CFrame.new(0,0,0),CFrame.new(6, -7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4174.  
  4175. hand7KindnessPosition = Instance.new("Part",suit)
  4176. hand7KindnessPosition.Size = Vector3.new(1,1,1)
  4177. hand7KindnessPosition.Transparency = 1
  4178. hand7KindnessPosition.CanCollide = false
  4179.  
  4180. weld(Torso,hand7KindnessPosition,CFrame.new(0,0,0),CFrame.new(0, -7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4181.  
  4182.  
  4183. AttackPosition = Instance.new("Part",suit)
  4184. AttackPosition.Size = Vector3.new(1,1,1)
  4185. AttackPosition.Transparency = 1
  4186. AttackPosition.CanCollide = false
  4187.  
  4188. weld(Torso,AttackPosition,CFrame.new(0,0,0),CFrame.new(0, 0, 4)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4189.  
  4190.  
  4191.  
  4192. --------Gaster's Health of hands and hands
  4193.  
  4194. hand1Determinationhealth = Instance.new("Humanoid",hand1Determination)
  4195. hand1Determinationhealth.DisplayDistanceType = "None"
  4196. hand1Determinationhealth.Health = 100
  4197. hand1Determinationhealth.MaxHealth = 100
  4198.  
  4199. Determination = Instance.new("Part",hand1Determination)
  4200. Determination.Size = Vector3.new(1,1.5,0.2)
  4201. Determination.Name = "Head"
  4202. Determination.Position = hand1DeterminationPosition.Position
  4203. DeterminationMesh = Instance.new("SpecialMesh",Determination)
  4204. DeterminationMesh.MeshId = "rbxassetid://430045961"
  4205. DeterminationMesh.Offset = Vector3.new(0.09,0.1,0)
  4206. Determination.BrickColor = BrickColor.new("Institutional white")
  4207.  
  4208. DeterminationOrb = Instance.new("Part",Determination)
  4209. DeterminationOrb.Size = Vector3.new(0.3,0.3,0.2)
  4210. DeterminationOrb.BrickColor = BrickColor.new("Really red")
  4211. weld(Determination,DeterminationOrb,CFrame.new(0,0,0),CFrame.new(0, 0.2, 0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4212.  
  4213.  
  4214. weld(hand1DeterminationPosition,Determination,CFrame.new(0,0,0),CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4215.  
  4216. local p = Instance.new("Part",workspace)
  4217.  
  4218. p.FormFactor="Custom"
  4219.  
  4220. p.Size=Vector3.new(0.8,0.8,0.8)
  4221.  
  4222. p.TopSurface = 0
  4223.  
  4224. p.BottomSurface = 0
  4225.  
  4226. local colorc = {"Really red"}
  4227.  
  4228. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4229.  
  4230. p.BrickColor = Fire
  4231.  
  4232. p.CanCollide=false
  4233.  
  4234. p.Anchored=true
  4235.  
  4236. p.CFrame =(Determination.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  4237.  
  4238.  
  4239. for i = 1,8 do wait()
  4240.  
  4241. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  4242. p.CFrame =(Determination.CFrame*CFrame.new(0,0,0))
  4243. end
  4244. p:remove()
  4245.  
  4246.  
  4247.  
  4248. --2--
  4249.  
  4250.  
  4251. hand2Perseverancehealth = Instance.new("Humanoid",hand2Perseverance)
  4252. hand2Perseverancehealth.DisplayDistanceType = "None"
  4253. hand2Perseverancehealth.Health = 100
  4254. hand2Perseverancehealth.MaxHealth = 100
  4255.  
  4256. Perseverance = Instance.new("Part",hand2Perseverance)
  4257. Perseverance.Size = Vector3.new(1,1.5,0.2)
  4258. Perseverance.Name = "Head"
  4259. Perseverance.Position = hand2PerseverancePosition.Position
  4260. PerseveranceMesh = Instance.new("SpecialMesh",Perseverance)
  4261. PerseveranceMesh.MeshId = "rbxassetid://430045961"
  4262. PerseveranceMesh.Offset = Vector3.new(0.09,0.1,0)
  4263. Perseverance.BrickColor = BrickColor.new("Institutional white")
  4264.  
  4265. PerseveranceOrb = Instance.new("Part",Perseverance)
  4266. PerseveranceOrb.Size = Vector3.new(0.3,0.3,0.2)
  4267. PerseveranceOrb.BrickColor = BrickColor.new("Magenta")
  4268. weld(Perseverance,PerseveranceOrb,CFrame.new(0,0,0),CFrame.new(0, 0.2, 0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4269.  
  4270.  
  4271. weld(hand2PerseverancePosition,Perseverance,CFrame.new(0,0,0),CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4272.  
  4273. local p = Instance.new("Part",workspace)
  4274.  
  4275. p.FormFactor="Custom"
  4276.  
  4277. p.Size=Vector3.new(0.8,0.8,0.8)
  4278.  
  4279. p.TopSurface = 0
  4280.  
  4281. p.BottomSurface = 0
  4282.  
  4283. local colorc = {"Magenta"}
  4284.  
  4285. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4286.  
  4287. p.BrickColor = Fire
  4288.  
  4289. p.CanCollide=false
  4290.  
  4291. p.Anchored=true
  4292.  
  4293. p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  4294.  
  4295.  
  4296. for i = 1,8 do wait()
  4297.  
  4298. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  4299. p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))
  4300. end
  4301. p:remove()
  4302.  
  4303. --3--
  4304.  
  4305. hand3Patiencehealth = Instance.new("Humanoid",hand3Patience)
  4306. hand3Patiencehealth.DisplayDistanceType = "None"
  4307. hand3Patiencehealth.Health = 100
  4308. hand3Patiencehealth.MaxHealth = 100
  4309.  
  4310. Patience = Instance.new("Part",hand3Patience)
  4311. Patience.Size = Vector3.new(1,1.5,0.2)
  4312. Patience.Name = "Head"
  4313. PatienceMesh = Instance.new("SpecialMesh",Patience)
  4314. PatienceMesh.MeshId = "rbxassetid://430045961"
  4315. PatienceMesh.Offset = Vector3.new(0.09,0.1,0)
  4316. Patience.BrickColor = BrickColor.new("Institutional white")
  4317.  
  4318.  
  4319. PatienceOrb = Instance.new("Part",Patience)
  4320. PatienceOrb.Size = Vector3.new(0.3,0.3,0.2)
  4321. PatienceOrb.BrickColor = BrickColor.new("Cyan")
  4322. weld(Patience,PatienceOrb,CFrame.new(0,0,0),CFrame.new(0, 0.2, 0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4323.  
  4324.  
  4325. weld(hand3PatiencePosition,Patience,CFrame.new(0,0,0),CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4326.  
  4327. local p = Instance.new("Part",workspace)
  4328.  
  4329. p.FormFactor="Custom"
  4330.  
  4331. p.Size=Vector3.new(0.8,0.8,0.8)
  4332.  
  4333. p.TopSurface = 0
  4334.  
  4335. p.BottomSurface = 0
  4336.  
  4337. local colorc = {"Cyan"}
  4338.  
  4339. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4340.  
  4341. p.BrickColor = Fire
  4342.  
  4343. p.CanCollide=false
  4344.  
  4345. p.Anchored=true
  4346.  
  4347. p.CFrame =(Patience.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  4348.  
  4349.  
  4350. for i = 1,8 do wait()
  4351.  
  4352. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  4353. p.CFrame =(Patience.CFrame*CFrame.new(0,0,0))
  4354. end
  4355. p:remove()
  4356.  
  4357. --4--
  4358.  
  4359. hand4Integrityhealth = Instance.new("Humanoid",hand4Integrity)
  4360. hand4Integrityhealth.DisplayDistanceType = "None"
  4361. hand4Integrityhealth.Health = 100
  4362. hand4Integrityhealth.MaxHealth = 100
  4363.  
  4364. Integrity = Instance.new("Part",hand4Integrity)
  4365. Integrity.Size = Vector3.new(1,1.5,0.2)
  4366. Integrity.Name = "Head"
  4367. Integrity.Position = hand1DeterminationPosition.Position
  4368. IntegrityMesh = Instance.new("SpecialMesh",Integrity)
  4369. IntegrityMesh.MeshId = "rbxassetid://430045961"
  4370. IntegrityMesh.Offset = Vector3.new(0.09,0.1,0)
  4371. Integrity.BrickColor = BrickColor.new("Institutional white")
  4372.  
  4373.  
  4374. IntegrityOrb = Instance.new("Part",Integrity)
  4375. IntegrityOrb.Size = Vector3.new(0.3,0.3,0.2)
  4376. IntegrityOrb.BrickColor = BrickColor.new("Deep blue")
  4377. weld(Integrity,IntegrityOrb,CFrame.new(0,0,0),CFrame.new(0, 0.2, 0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4378.  
  4379.  
  4380. weld(hand4IntegrityPosition,Integrity,CFrame.new(0,0,0),CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4381.  
  4382.  
  4383. local p = Instance.new("Part",workspace)
  4384.  
  4385. p.FormFactor="Custom"
  4386.  
  4387. p.Size=Vector3.new(0.8,0.8,0.8)
  4388.  
  4389. p.TopSurface = 0
  4390.  
  4391. p.BottomSurface = 0
  4392.  
  4393. local colorc = {"Deep blue"}
  4394.  
  4395. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4396.  
  4397. p.BrickColor = Fire
  4398.  
  4399. p.CanCollide=false
  4400.  
  4401. p.Anchored=true
  4402.  
  4403. p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  4404.  
  4405.  
  4406. for i = 1,8 do wait()
  4407.  
  4408. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  4409. p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))
  4410. end
  4411. p:remove()
  4412.  
  4413. --5--
  4414.  
  4415.  
  4416. hand5Braveryhealth = Instance.new("Humanoid",hand5Bravery)
  4417. hand5Braveryhealth.DisplayDistanceType = "None"
  4418. hand5Braveryhealth.Health = 100
  4419. hand5Braveryhealth.MaxHealth = 100
  4420.  
  4421.  
  4422. Bravery = Instance.new("Part",hand5Bravery)
  4423. Bravery .Size = Vector3.new(1,1.5,0.2)
  4424. Bravery .Name = "Head"
  4425. Bravery.Position = hand1DeterminationPosition.Position
  4426. BraveryMesh = Instance.new("SpecialMesh",Bravery)
  4427. BraveryMesh.MeshId = "rbxassetid://430045961"
  4428. BraveryMesh.Offset = Vector3.new(0.09,0.1,0)
  4429. Bravery.BrickColor = BrickColor.new("Institutional white")
  4430.  
  4431. BraveryOrb = Instance.new("Part",Bravery)
  4432. BraveryOrb.Size = Vector3.new(0.3,0.3,0.2)
  4433. BraveryOrb.BrickColor = BrickColor.new("Deep orange")
  4434. weld(Bravery,BraveryOrb,CFrame.new(0,0,0),CFrame.new(0, 0.2, 0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4435.  
  4436.  
  4437. weld(hand5BraveryPosition,Bravery,CFrame.new(0,0,0),CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4438.  
  4439.  
  4440.  
  4441. local p = Instance.new("Part",workspace)
  4442.  
  4443. p.FormFactor="Custom"
  4444.  
  4445. p.Size=Vector3.new(0.8,0.8,0.8)
  4446.  
  4447. p.TopSurface = 0
  4448.  
  4449. p.BottomSurface = 0
  4450.  
  4451. local colorc = {"Deep orange"}
  4452.  
  4453. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4454.  
  4455. p.BrickColor = Fire
  4456.  
  4457. p.CanCollide=false
  4458.  
  4459. p.Anchored=true
  4460.  
  4461. p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  4462.  
  4463.  
  4464. for i = 1,8 do wait()
  4465.  
  4466. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  4467. p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))
  4468. end
  4469. p:remove()
  4470. --6--
  4471.  
  4472. hand6Justicehealth = Instance.new("Humanoid",hand6Justice)
  4473. hand6Justicehealth.DisplayDistanceType = "None"
  4474. hand6Justicehealth.Health = 100
  4475. hand6Justicehealth.MaxHealth = 100
  4476.  
  4477. Justice = Instance.new("Part",hand6Justice)
  4478. Justice .Size = Vector3.new(1,1.5,0.2)
  4479. Justice.Name = "Head"
  4480. Justice.Position = hand1DeterminationPosition.Position
  4481. JusticeMesh = Instance.new("SpecialMesh",Justice)
  4482. JusticeMesh.MeshId = "rbxassetid://430045961"
  4483. JusticeMesh.Offset = Vector3.new(0.09,0.1,0)
  4484. Justice.BrickColor = BrickColor.new("Institutional white")
  4485.  
  4486. JusticeOrb = Instance.new("Part",Justice)
  4487. JusticeOrb.Size = Vector3.new(0.3,0.3,0.2)
  4488. JusticeOrb.BrickColor = BrickColor.new("New Yeller")
  4489. weld(Justice,JusticeOrb,CFrame.new(0,0,0),CFrame.new(0, 0.2, 0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4490.  
  4491.  
  4492. weld(hand6JusticePosition,Justice,CFrame.new(0,0,0),CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4493.  
  4494.  
  4495.  
  4496. local p = Instance.new("Part",workspace)
  4497.  
  4498. p.FormFactor="Custom"
  4499.  
  4500. p.Size=Vector3.new(0.8,0.8,0.8)
  4501.  
  4502. p.TopSurface = 0
  4503.  
  4504. p.BottomSurface = 0
  4505.  
  4506. local colorc = {"New Yeller"}
  4507.  
  4508. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4509.  
  4510. p.BrickColor = Fire
  4511.  
  4512. p.CanCollide=false
  4513.  
  4514. p.Anchored=true
  4515.  
  4516. p.CFrame =(Justice.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  4517.  
  4518.  
  4519. for i = 1,8 do wait()
  4520.  
  4521. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  4522. p.CFrame =(Justice.CFrame*CFrame.new(0,0,0))
  4523. end
  4524. p:remove()
  4525. --7--
  4526.  
  4527. hand7Kindnesshealth = Instance.new("Humanoid",hand7Kindness)
  4528. hand7Kindnesshealth.DisplayDistanceType = "None"
  4529. hand7Kindnesshealth.Health = 100
  4530. hand7Kindnesshealth.MaxHealth = 100
  4531.  
  4532. Kindness = Instance.new("Part",hand7Kindness)
  4533. Kindness .Size = Vector3.new(1,1.5,0.2)
  4534. Kindness.Name = "Head"
  4535. Kindness.Position = hand1DeterminationPosition.Position
  4536. KindnessMesh = Instance.new("SpecialMesh",Kindness)
  4537. KindnessMesh.MeshId = "rbxassetid://430045961"
  4538. KindnessMesh.Offset = Vector3.new(0.09,0.1,0)
  4539. Kindness.BrickColor = BrickColor.new("Institutional white")
  4540.  
  4541. KindnessOrb = Instance.new("Part",Kindness)
  4542. KindnessOrb.Size = Vector3.new(0.3,0.3,0.2)
  4543. KindnessOrb.BrickColor = BrickColor.new("Lime green")
  4544. weld(Kindness,KindnessOrb,CFrame.new(0,0,0),CFrame.new(0, 0.2, 0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4545.  
  4546.  
  4547. weld(hand7KindnessPosition,Kindness,CFrame.new(0,0,0),CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
  4548. local p = Instance.new("Part",workspace)
  4549.  
  4550. p.FormFactor="Custom"
  4551.  
  4552. p.Size=Vector3.new(0.8,0.8,0.8)
  4553.  
  4554. p.TopSurface = 0
  4555.  
  4556. p.BottomSurface = 0
  4557.  
  4558. local colorc = {"Lime green"}
  4559.  
  4560. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4561.  
  4562. p.BrickColor = Fire
  4563.  
  4564. p.CanCollide=false
  4565.  
  4566. p.Anchored=true
  4567.  
  4568. p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  4569.  
  4570.  
  4571. for i = 1,8 do wait()
  4572.  
  4573. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  4574. p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))
  4575. end
  4576. p:remove()
  4577.  
  4578. PlaySound("GasterTheme", 1, char.Torso, true)
  4579.  
  4580. ---functions and attacks
  4581.  
  4582. function BravAttack()
  4583. if hand5BraveryhealthDown == true then return end
  4584. if switchvalue == 7 then
  4585.  
  4586. BraveryAttack = true
  4587.  
  4588. WeldBravery = Instance.new("Weld",Bravery)
  4589. WeldBravery.Part0 = AttackPosition
  4590. WeldBravery.Part1 = Bravery
  4591. WeldBravery.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  4592.  
  4593. local p = Instance.new("Part",workspace)
  4594.  
  4595. p.FormFactor="Custom"
  4596.  
  4597. p.Size=Vector3.new(0.8,0.8,0.8)
  4598.  
  4599. p.TopSurface = 0
  4600.  
  4601. p.BottomSurface = 0
  4602.  
  4603. local colorc = {"Deep orange"}
  4604.  
  4605. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4606.  
  4607. p.BrickColor = Fire
  4608.  
  4609. p.CanCollide=false
  4610.  
  4611. p.Anchored=true
  4612.  
  4613. p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  4614.  
  4615. coroutine.resume(coroutine.create(function()
  4616. for i = 1,8 do wait()
  4617.  
  4618. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  4619. p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))
  4620. end
  4621. p:remove()
  4622. end))
  4623.  
  4624.  
  4625.  
  4626. end
  4627.  
  4628. end
  4629.  
  4630.  
  4631.  
  4632. function BravRest()
  4633. if hand5BraveryhealthDown == true then return end
  4634. if switchvalue == 6 then
  4635.  
  4636. if BraveryAttack == true then
  4637. WeldBravery:remove()
  4638.  
  4639.  
  4640. local p = Instance.new("Part",workspace)
  4641.  
  4642. p.FormFactor="Custom"
  4643.  
  4644. p.Size=Vector3.new(0.8,0.8,0.8)
  4645.  
  4646. p.TopSurface = 0
  4647.  
  4648. p.BottomSurface = 0
  4649.  
  4650. local colorc = {"Deep orange"}
  4651.  
  4652. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4653.  
  4654. p.BrickColor = Fire
  4655.  
  4656. p.CanCollide=false
  4657.  
  4658. p.Anchored=true
  4659.  
  4660. p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  4661. coroutine.resume(coroutine.create(function()
  4662. for i = 1,8 do wait()
  4663.  
  4664. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  4665. p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))
  4666. end
  4667. p:remove()
  4668. end))
  4669.  
  4670. BraveryAttack = false
  4671.  
  4672.  
  4673. end
  4674. end
  4675. end
  4676.  
  4677. function PatAttack()
  4678. if hand3PatiencehealthDown == true then return end
  4679. if switchvalue == 6 then
  4680.  
  4681. PatienceAttack = true
  4682.  
  4683. WeldPatience = Instance.new("Weld",Patience)
  4684. WeldPatience.Part0 = AttackPosition
  4685. WeldPatience.Part1 = Patience
  4686. WeldPatience.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  4687.  
  4688. local p = Instance.new("Part",workspace)
  4689.  
  4690. p.FormFactor="Custom"
  4691.  
  4692. p.Size=Vector3.new(0.8,0.8,0.8)
  4693.  
  4694. p.TopSurface = 0
  4695.  
  4696. p.BottomSurface = 0
  4697.  
  4698. local colorc = {"Cyan"}
  4699.  
  4700. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4701.  
  4702. p.BrickColor = Fire
  4703.  
  4704. p.CanCollide=false
  4705.  
  4706. p.Anchored=true
  4707.  
  4708. p.CFrame =(Patience.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  4709.  
  4710. coroutine.resume(coroutine.create(function()
  4711. for i = 1,8 do wait()
  4712.  
  4713. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  4714. p.CFrame =(Patience.CFrame*CFrame.new(0,0,0))
  4715. end
  4716. p:remove()
  4717. end))
  4718.  
  4719.  
  4720.  
  4721. end
  4722.  
  4723. end
  4724.  
  4725.  
  4726.  
  4727. function PatRest()
  4728. if hand3PatiencehealthDown == true then return end
  4729. if switchvalue == 7 or switchvalue == 5 then
  4730.  
  4731. if PatienceAttack == true then
  4732. WeldPatience:remove()
  4733.  
  4734.  
  4735. local p = Instance.new("Part",workspace)
  4736.  
  4737. p.FormFactor="Custom"
  4738.  
  4739. p.Size=Vector3.new(0.8,0.8,0.8)
  4740.  
  4741. p.TopSurface = 0
  4742.  
  4743. p.BottomSurface = 0
  4744.  
  4745. local colorc = {"Cyan"}
  4746.  
  4747. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4748.  
  4749. p.BrickColor = Fire
  4750.  
  4751. p.CanCollide=false
  4752.  
  4753. p.Anchored=true
  4754.  
  4755. p.CFrame =(Patience.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  4756. coroutine.resume(coroutine.create(function()
  4757. for i = 1,8 do wait()
  4758.  
  4759. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  4760. p.CFrame =(Patience.CFrame*CFrame.new(0,0,0))
  4761. end
  4762. p:remove()
  4763. end))
  4764.  
  4765. PatienceAttack = false
  4766.  
  4767.  
  4768. end
  4769. end
  4770. end
  4771.  
  4772.  
  4773. function DetAttack()
  4774. if hand1DeterminationhealthDown == true then return end
  4775. if switchvalue == 5 then
  4776.  
  4777. DeterminationAttack = true
  4778.  
  4779. WeldDet = Instance.new("Weld",Determination)
  4780. WeldDet.Part0 = AttackPosition
  4781. WeldDet.Part1 = Determination
  4782. WeldDet.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  4783.  
  4784. local p = Instance.new("Part",workspace)
  4785.  
  4786. p.FormFactor="Custom"
  4787.  
  4788. p.Size=Vector3.new(0.8,0.8,0.8)
  4789.  
  4790. p.TopSurface = 0
  4791.  
  4792. p.BottomSurface = 0
  4793.  
  4794. local colorc = {"Really red"}
  4795.  
  4796. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4797.  
  4798. p.BrickColor = Fire
  4799.  
  4800. p.CanCollide=false
  4801.  
  4802. p.Anchored=true
  4803.  
  4804. p.CFrame =(Determination.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  4805.  
  4806. coroutine.resume(coroutine.create(function()
  4807. for i = 1,8 do wait()
  4808.  
  4809. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  4810. p.CFrame =(Determination.CFrame*CFrame.new(0,0,0))
  4811. end
  4812. p:remove()
  4813. end))
  4814.  
  4815.  
  4816.  
  4817. end
  4818.  
  4819. end
  4820.  
  4821.  
  4822.  
  4823. function DetRest()
  4824. if hand1DeterminationhealthDown == true then return end
  4825. if switchvalue == 6 or switchvalue == 4 then
  4826.  
  4827. if DeterminationAttack == true then
  4828. WeldDet:remove()
  4829.  
  4830.  
  4831. local p = Instance.new("Part",workspace)
  4832.  
  4833. p.FormFactor="Custom"
  4834.  
  4835. p.Size=Vector3.new(0.8,0.8,0.8)
  4836.  
  4837. p.TopSurface = 0
  4838.  
  4839. p.BottomSurface = 0
  4840.  
  4841. local colorc = {"Really red"}
  4842.  
  4843. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4844.  
  4845. p.BrickColor = Fire
  4846.  
  4847. p.CanCollide=false
  4848.  
  4849. p.Anchored=true
  4850.  
  4851. p.CFrame =(Determination.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  4852. coroutine.resume(coroutine.create(function()
  4853. for i = 1,8 do wait()
  4854.  
  4855. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  4856. p.CFrame =(Determination.CFrame*CFrame.new(0,0,0))
  4857. end
  4858. p:remove()
  4859. end))
  4860.  
  4861. DeterminationAttack = false
  4862.  
  4863.  
  4864. end
  4865. end
  4866. end
  4867.  
  4868.  
  4869.  
  4870. function KinAttack()
  4871. if hand7KindnesshealthDown == true then return end
  4872. if switchvalue == 4 then
  4873.  
  4874. KindAttack = true
  4875.  
  4876. WeldKind = Instance.new("Weld",Kindness)
  4877. WeldKind.Part0 = AttackPosition
  4878. WeldKind.Part1 = Kindness
  4879. WeldKind.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  4880.  
  4881. local p = Instance.new("Part",workspace)
  4882.  
  4883. p.FormFactor="Custom"
  4884.  
  4885. p.Size=Vector3.new(0.8,0.8,0.8)
  4886.  
  4887. p.TopSurface = 0
  4888.  
  4889. p.BottomSurface = 0
  4890.  
  4891. local colorc = {"Lime green"}
  4892.  
  4893. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4894.  
  4895. p.BrickColor = Fire
  4896.  
  4897. p.CanCollide=false
  4898.  
  4899. p.Anchored=true
  4900.  
  4901. p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  4902.  
  4903. coroutine.resume(coroutine.create(function()
  4904. for i = 1,8 do wait()
  4905.  
  4906. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  4907. p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))
  4908. end
  4909. p:remove()
  4910. end))
  4911.  
  4912.  
  4913.  
  4914. end
  4915.  
  4916. end
  4917.  
  4918.  
  4919.  
  4920. function KinRest()
  4921. if hand7KindnesshealthDown == true then return end
  4922. if switchvalue == 5 or switchvalue == 3 then
  4923.  
  4924. if KindAttack == true then
  4925. WeldKind:remove()
  4926.  
  4927.  
  4928. local p = Instance.new("Part",workspace)
  4929.  
  4930. p.FormFactor="Custom"
  4931.  
  4932. p.Size=Vector3.new(0.8,0.8,0.8)
  4933.  
  4934. p.TopSurface = 0
  4935.  
  4936. p.BottomSurface = 0
  4937.  
  4938. local colorc = {"Lime green"}
  4939.  
  4940. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4941.  
  4942. p.BrickColor = Fire
  4943.  
  4944. p.CanCollide=false
  4945.  
  4946. p.Anchored=true
  4947.  
  4948. p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  4949. coroutine.resume(coroutine.create(function()
  4950. for i = 1,8 do wait()
  4951.  
  4952. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  4953. p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))
  4954. end
  4955. p:remove()
  4956. end))
  4957.  
  4958. KindAttack = false
  4959.  
  4960.  
  4961. end
  4962. end
  4963. end
  4964.  
  4965.  
  4966.  
  4967.  
  4968. function PerAttack()
  4969. if hand2PerseverancehealthDown == true then return end
  4970. if switchvalue == 3 then
  4971.  
  4972. PerseveranceAttack = true
  4973.  
  4974. WeldPer = Instance.new("Weld",Perseverance)
  4975. WeldPer.Part0 = AttackPosition
  4976. WeldPer.Part1 = Perseverance
  4977. WeldPer.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  4978.  
  4979. local p = Instance.new("Part",workspace)
  4980.  
  4981. p.FormFactor="Custom"
  4982.  
  4983. p.Size=Vector3.new(0.8,0.8,0.8)
  4984.  
  4985. p.TopSurface = 0
  4986.  
  4987. p.BottomSurface = 0
  4988.  
  4989. local colorc = {"Magenta"}
  4990.  
  4991. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  4992.  
  4993. p.BrickColor = Fire
  4994.  
  4995. p.CanCollide=false
  4996.  
  4997. p.Anchored=true
  4998.  
  4999. p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  5000.  
  5001. coroutine.resume(coroutine.create(function()
  5002. for i = 1,8 do wait()
  5003.  
  5004. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  5005. p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))
  5006. end
  5007. p:remove()
  5008. end))
  5009.  
  5010.  
  5011.  
  5012. end
  5013.  
  5014. end
  5015.  
  5016.  
  5017.  
  5018. function PerRest()
  5019. if hand2PerseverancehealthDown == true then return end
  5020. if switchvalue == 4 or switchvalue == 2 then
  5021.  
  5022. if PerseveranceAttack == true then
  5023. WeldPer:remove()
  5024.  
  5025.  
  5026. local p = Instance.new("Part",workspace)
  5027.  
  5028. p.FormFactor="Custom"
  5029.  
  5030. p.Size=Vector3.new(0.8,0.8,0.8)
  5031.  
  5032. p.TopSurface = 0
  5033.  
  5034. p.BottomSurface = 0
  5035.  
  5036. local colorc = {"Magenta"}
  5037.  
  5038. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  5039.  
  5040. p.BrickColor = Fire
  5041.  
  5042. p.CanCollide=false
  5043.  
  5044. p.Anchored=true
  5045.  
  5046. p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  5047. coroutine.resume(coroutine.create(function()
  5048. for i = 1,8 do wait()
  5049.  
  5050. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  5051. p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))
  5052. end
  5053. p:remove()
  5054. end))
  5055.  
  5056. PerseveranceAttack = false
  5057.  
  5058.  
  5059. end
  5060. end
  5061. end
  5062.  
  5063.  
  5064. function IntAttack()
  5065. if hand4IntegrityhealthDown == true then return end
  5066. if switchvalue == 2 then
  5067.  
  5068. IntegrityAttack = true
  5069.  
  5070. WeldInt = Instance.new("Weld",Integrity)
  5071. WeldInt.Part0 = AttackPosition
  5072. WeldInt.Part1 = Integrity
  5073. WeldInt.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  5074.  
  5075. local p = Instance.new("Part",workspace)
  5076.  
  5077. p.FormFactor="Custom"
  5078.  
  5079. p.Size=Vector3.new(0.8,0.8,0.8)
  5080.  
  5081. p.TopSurface = 0
  5082.  
  5083. p.BottomSurface = 0
  5084.  
  5085. local colorc = {"Dark blue"}
  5086.  
  5087. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  5088.  
  5089. p.BrickColor = Fire
  5090.  
  5091. p.CanCollide=false
  5092.  
  5093. p.Anchored=true
  5094.  
  5095. p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  5096.  
  5097. coroutine.resume(coroutine.create(function()
  5098. for i = 1,8 do wait()
  5099.  
  5100. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  5101. p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))
  5102. end
  5103. p:remove()
  5104. end))
  5105.  
  5106.  
  5107.  
  5108. end
  5109.  
  5110. end
  5111.  
  5112.  
  5113.  
  5114. function IntRest()
  5115. if hand4IntegrityhealthDown == true then return end
  5116. if switchvalue == 3 or switchvalue == 1 then
  5117.  
  5118. if IntegrityAttack == true then
  5119. WeldInt:remove()
  5120.  
  5121.  
  5122. local p = Instance.new("Part",workspace)
  5123.  
  5124. p.FormFactor="Custom"
  5125.  
  5126. p.Size=Vector3.new(0.8,0.8,0.8)
  5127.  
  5128. p.TopSurface = 0
  5129.  
  5130. p.BottomSurface = 0
  5131.  
  5132. local colorc = {"Dark blue"}
  5133.  
  5134. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  5135.  
  5136. p.BrickColor = Fire
  5137.  
  5138. p.CanCollide=false
  5139.  
  5140. p.Anchored=true
  5141.  
  5142. p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  5143. coroutine.resume(coroutine.create(function()
  5144. for i = 1,8 do wait()
  5145.  
  5146. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  5147. p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))
  5148. end
  5149. p:remove()
  5150. end))
  5151.  
  5152. IntegrityAttack = false
  5153.  
  5154.  
  5155. end
  5156. end
  5157. end
  5158.  
  5159.  
  5160.  
  5161.  
  5162. function JusAttack()
  5163.  
  5164. if switchvalue == 1 then
  5165. if hand6JusticehealthDown == true then return end
  5166. JusticeAttack = true
  5167.  
  5168. Weldjus = Instance.new("Weld",Justice)
  5169. Weldjus.Part0 = AttackPosition
  5170. Weldjus.Part1 = Justice
  5171. Weldjus.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  5172.  
  5173. local p = Instance.new("Part",workspace)
  5174.  
  5175. p.FormFactor="Custom"
  5176.  
  5177. p.Size=Vector3.new(0.8,0.8,0.8)
  5178.  
  5179. p.TopSurface = 0
  5180.  
  5181. p.BottomSurface = 0
  5182.  
  5183. local colorc = {"New Yeller"}
  5184.  
  5185. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  5186.  
  5187. p.BrickColor = Fire
  5188.  
  5189. p.CanCollide=false
  5190.  
  5191. p.Anchored=true
  5192.  
  5193. p.CFrame =(Justice.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  5194.  
  5195. coroutine.resume(coroutine.create(function()
  5196. for i = 1,8 do wait()
  5197.  
  5198. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  5199. p.CFrame =(Justice.CFrame*CFrame.new(0,0,0))
  5200. end
  5201. p:remove()
  5202. end))
  5203.  
  5204.  
  5205.  
  5206. end
  5207.  
  5208. end
  5209.  
  5210.  
  5211.  
  5212.  
  5213. function JusRest()
  5214. if hand6JusticehealthDown == true then return end
  5215. if switchvalue == 2 then
  5216.  
  5217. if JusticeAttack == true then
  5218. Weldjus:remove()
  5219.  
  5220.  
  5221. local p = Instance.new("Part",workspace)
  5222.  
  5223. p.FormFactor="Custom"
  5224.  
  5225. p.Size=Vector3.new(0.8,0.8,0.8)
  5226.  
  5227. p.TopSurface = 0
  5228.  
  5229. p.BottomSurface = 0
  5230.  
  5231. local colorc = {"New Yeller"}
  5232.  
  5233. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  5234.  
  5235. p.BrickColor = Fire
  5236.  
  5237. p.CanCollide=false
  5238.  
  5239. p.Anchored=true
  5240.  
  5241. p.CFrame =(Justice.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  5242. coroutine.resume(coroutine.create(function()
  5243. for i = 1,8 do wait()
  5244.  
  5245. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  5246. p.CFrame =(Justice.CFrame*CFrame.new(0,0,0))
  5247. end
  5248. p:remove()
  5249. end))
  5250.  
  5251. JusticeAttack = false
  5252.  
  5253.  
  5254. end
  5255. end
  5256. end
  5257.  
  5258.  
  5259.  
  5260.  
  5261.  
  5262.  
  5263.  
  5264.  
  5265.  
  5266.  
  5267.  
  5268.  
  5269. --Key Presses
  5270.  
  5271. mouse.Button1Up:connect(function()
  5272.  
  5273. InUse = false
  5274.  
  5275.  
  5276. end)
  5277.  
  5278. mouse.Button1Down:connect(function()
  5279.  
  5280. InUse = true
  5281.  
  5282.  
  5283. end)
  5284.  
  5285. mouse.KeyDown:connect(function(key)
  5286.  
  5287. if key =="r" then
  5288. if hand7KindnesshealthDown == true then return end
  5289. if ShieldValueToGasterDebounce == true then return end
  5290.  
  5291. if ShieldValueToGaster == false then
  5292. ShieldValueToGaster = true
  5293. if ShieldValueToGasterDebounce == false then
  5294. ShieldValueToGasterDebounce = true
  5295.  
  5296.  
  5297. local ShieldOfGaster6= Instance.new("Part",hand7Kindness)
  5298. ShieldOfGaster6.TopSurface = "Smooth"
  5299. ShieldOfGaster6.BottomSurface = "Smooth"
  5300. ShieldOfGaster6.Size = Vector3.new(18, 3, 18)
  5301. ShieldOfGaster6.CanCollide = true
  5302. ShieldOfGaster6.Anchored =true
  5303. ShieldOfGaster6.BrickColor = BrickColor.new("Lime green")
  5304. ShieldOfGaster6 .FormFactor = "Custom"
  5305. ShieldOfGaster6.Transparency = 0.7
  5306. ShieldOfGaster6.CFrame= Torso.CFrame*CFrame.new(0,10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  5307. shieldparent6 = ShieldOfGaster6
  5308.  
  5309. local ShieldOfGaster5= Instance.new("Part",hand7Kindness)
  5310. ShieldOfGaster5.TopSurface = "Smooth"
  5311. ShieldOfGaster5.BottomSurface = "Smooth"
  5312. ShieldOfGaster5.Size = Vector3.new(18, 3, 18)
  5313. ShieldOfGaster5.CanCollide = true
  5314. ShieldOfGaster5.Anchored =true
  5315. ShieldOfGaster5.BrickColor = BrickColor.new("Lime green")
  5316. ShieldOfGaster5 .FormFactor = "Custom"
  5317. ShieldOfGaster5.Transparency = 0.7
  5318. ShieldOfGaster5.CFrame= Torso.CFrame*CFrame.new(0,-10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  5319. shieldparent5 = ShieldOfGaster5
  5320.  
  5321. local ShieldOfGaster4= Instance.new("Part",hand7Kindness)
  5322. ShieldOfGaster4.TopSurface = "Smooth"
  5323. ShieldOfGaster4.BottomSurface = "Smooth"
  5324. ShieldOfGaster4.Size = Vector3.new(3, 18, 18)
  5325. ShieldOfGaster4.CanCollide = true
  5326. ShieldOfGaster4.Anchored =true
  5327. ShieldOfGaster4.BrickColor = BrickColor.new("Lime green")
  5328. ShieldOfGaster4 .FormFactor = "Custom"
  5329. ShieldOfGaster4.Transparency = 0.7
  5330. ShieldOfGaster4.CFrame= Torso.CFrame*CFrame.new(-10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  5331. shieldparent4 = ShieldOfGaster4
  5332.  
  5333. local ShieldOfGaster3= Instance.new("Part",hand7Kindness)
  5334. ShieldOfGaster3.TopSurface = "Smooth"
  5335. ShieldOfGaster3.BottomSurface = "Smooth"
  5336. ShieldOfGaster3.Size = Vector3.new(3, 18, 18)
  5337. ShieldOfGaster3.CanCollide = true
  5338. ShieldOfGaster3.Anchored =true
  5339. ShieldOfGaster3.BrickColor = BrickColor.new("Lime green")
  5340. ShieldOfGaster3 .FormFactor = "Custom"
  5341. ShieldOfGaster3.Transparency = 0.7
  5342. ShieldOfGaster3.CFrame= Torso.CFrame*CFrame.new(10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  5343. shieldparent3 = ShieldOfGaster3
  5344.  
  5345. local ShieldOfGaster2= Instance.new("Part",hand7Kindness)
  5346. ShieldOfGaster2.TopSurface = "Smooth"
  5347. ShieldOfGaster2.BottomSurface = "Smooth"
  5348. ShieldOfGaster2.Size = Vector3.new(18, 18, 3)
  5349. ShieldOfGaster2.CanCollide = true
  5350. ShieldOfGaster2.Anchored =true
  5351. ShieldOfGaster2.BrickColor = BrickColor.new("Lime green")
  5352. ShieldOfGaster2 .FormFactor = "Custom"
  5353. ShieldOfGaster2.Transparency = 0.7
  5354. ShieldOfGaster2.CFrame= Torso.CFrame*CFrame.new(0,0,-10)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  5355. shieldparent2 = ShieldOfGaster2
  5356.  
  5357. local ShieldOfGaster1= Instance.new("Part",hand7Kindness)
  5358. ShieldOfGaster1.TopSurface = "Smooth"
  5359. ShieldOfGaster1.BottomSurface = "Smooth"
  5360. ShieldOfGaster1.Size = Vector3.new(18, 18, 3)
  5361. ShieldOfGaster1.CanCollide = true
  5362. ShieldOfGaster1.Anchored =true
  5363. ShieldOfGaster1.BrickColor = BrickColor.new("Lime green")
  5364. ShieldOfGaster1 .FormFactor = "Custom"
  5365. ShieldOfGaster1.Transparency = 0.7
  5366. ShieldOfGaster1.CFrame= Torso.CFrame*CFrame.new(0,0,10)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  5367. shieldparent1 = ShieldOfGaster1
  5368.  
  5369. for i = 1,7 do
  5370. local parti = Instance.new("Part",Torso)
  5371. parti.Anchored = true
  5372. parti.TopSurface = 0
  5373. parti.BottomSurface = 0
  5374. parti.CanCollide = false
  5375. parti.Size = Vector3.new(math.random(1,1),math.random(1,1),math.random(1,1))
  5376. parti.CFrame = Torso.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  5377. parti.Transparency = 0
  5378. parti.BrickColor = BrickColor.new("Lime green")
  5379. game.Debris:AddItem(parti,1.5)
  5380.  
  5381.  
  5382.  
  5383.  
  5384.  
  5385.  
  5386.  
  5387. local pad = Vector3.new(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5388. game:service("RunService").Stepped:connect(function()
  5389. parti.Transparency = parti.Transparency + 0.05
  5390. parti.CFrame = (parti.CFrame*CFrame.Angles(math.rad(20),math.rad(20),math.rad(20)))+pad
  5391. end)
  5392. end
  5393.  
  5394. ShieldValueToGasterDebounce = false
  5395. ShieldValueToGaster = true
  5396. end
  5397.  
  5398.  
  5399. elseif ShieldValueToGaster == true then
  5400. ShieldValueToGaster = false
  5401. if ShieldValueToGasterDebounce == false then
  5402. ShieldValueToGasterDebounce = true
  5403.  
  5404.  
  5405. for i = 1,3 do wait()
  5406. shieldparent6.Transparency =shieldparent6.Transparency + 0.1
  5407. shieldparent5.Transparency =shieldparent5.Transparency + 0.1
  5408. shieldparent4.Transparency =shieldparent4.Transparency + 0.1
  5409. shieldparent3.Transparency =shieldparent3.Transparency + 0.1
  5410. shieldparent2.Transparency =shieldparent2.Transparency + 0.1
  5411. shieldparent1.Transparency =shieldparent1.Transparency + 0.1
  5412. end
  5413. shieldparent6:remove()
  5414. shieldparent5:remove()
  5415. shieldparent4:remove()
  5416. shieldparent3:remove()
  5417. shieldparent2:remove()
  5418. shieldparent1:remove()
  5419.  
  5420. shieldparent1=nil
  5421. shieldparent2=nil
  5422. shieldparent3=nil
  5423. shieldparent4=nil
  5424. shieldparent5=nil
  5425. shieldparent6=nil
  5426.  
  5427.  
  5428. ShieldValueToGasterDebounce = false
  5429. ShieldValueToGaster = false
  5430. end
  5431. end
  5432.  
  5433.  
  5434. end
  5435.  
  5436.  
  5437. if key =="x" then
  5438. if (not vDebounce) then
  5439. vDebounce = true
  5440. for i = 1,5 do wait()
  5441. Torso.Transparency = Torso.Transparency + 0.2
  5442. char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.2
  5443. char["Left Leg"].Transparency = char["Left Leg"].Transparency + 0.2
  5444. char["Right Arm"].Transparency = char["Right Arm"].Transparency + 0.2
  5445. char["Right Leg"].Transparency = char["Right Leg"].Transparency + 0.2
  5446. char.Head.Transparency = char.Head.Transparency + 0.2
  5447. Crack1.Transparency = Crack1.Transparency + 0.2
  5448. Crack2.Transparency = Crack2.Transparency + 0.2
  5449. mouth.Transparency = mouth.Transparency + 0.2
  5450. Eye1.Transparency = Eye1.Transparency + 0.2
  5451. Eye2.Transparency = Eye2.Transparency + 0.2
  5452. MEye1.Transparency = MEye1.Transparency + 0.2
  5453. MEye2.Transparency = MEye2.Transparency + 0.2
  5454. end
  5455.  
  5456. teleportPlayer(mouse.hit.p)
  5457. char.Humanoid.PlatformStand = false
  5458. vDebounce = false
  5459. end
  5460. end
  5461.  
  5462.  
  5463.  
  5464. if key == "q" then
  5465.  
  5466. if switchvalue == 1 then return end
  5467.  
  5468. switchvalue = switchvalue - 1
  5469.  
  5470. print (switchvalue)
  5471.  
  5472. JusAttack()
  5473. JusRest()
  5474. IntAttack()
  5475. IntRest()
  5476. PerAttack()
  5477. PerRest()
  5478. KinAttack()
  5479. KinRest()
  5480. DetAttack()
  5481. DetRest()
  5482. PatAttack()
  5483. PatRest()
  5484. BravAttack()
  5485. BravRest()
  5486. end
  5487.  
  5488. if key == "e" then
  5489.  
  5490. if switchvalue == 7 then return end
  5491.  
  5492. switchvalue = switchvalue + 1
  5493.  
  5494. print (switchvalue)
  5495.  
  5496. JusAttack()
  5497. JusRest()
  5498. IntAttack()
  5499. IntRest()
  5500. PerAttack()
  5501. PerRest()
  5502. KinAttack()
  5503. KinRest()
  5504. DetAttack()
  5505. DetRest()
  5506. PatAttack()
  5507. PatRest()
  5508. BravAttack()
  5509. BravRest()
  5510. end
  5511.  
  5512.  
  5513.  
  5514. end)
  5515.  
  5516.  
  5517.  
  5518.  
  5519.  
  5520.  
  5521.  
  5522.  
  5523.  
  5524. ---runservices
  5525.  
  5526.  
  5527.  
  5528.  
  5529.  
  5530.  
  5531.  
  5532.  
  5533. game:service("RunService").Stepped:connect(function() wait(.5)
  5534.  
  5535.  
  5536. if hand1DeterminationhealthDown == true and hand2PerseverancehealthDown == true and hand3PatiencehealthDown == true and hand4IntegrityhealthDown == true and hand5BraveryhealthDown == true and hand6JusticehealthDown == true and hand7KindnesshealthDown == true then
  5537.  
  5538. char.Humanoid.Health = 0
  5539.  
  5540.  
  5541. end
  5542.  
  5543.  
  5544. if InUse == false then return end
  5545.  
  5546. if JusticeAttack == true then
  5547.  
  5548. if InUse == false then return end
  5549. if InUse == true then
  5550. if JusticeAttackDebounce == true then return end
  5551. if JusticeAttackDebounce == false then
  5552.  
  5553.  
  5554. JusticeAttackDebounce = true
  5555.  
  5556. wait(.2)
  5557.  
  5558.  
  5559. local PewJustice = Instance.new("Part",suit)
  5560. PewJustice.Size = Vector3.new(2,1,4)
  5561. PewJustice.BrickColor = BrickColor.new("New Yeller")
  5562. PewJustice.Position = Justice.Position
  5563. PewJustice.CanCollide = false
  5564.  
  5565. for i = 1,7 do
  5566. local parti = Instance.new("Part",Torso)
  5567. parti.Anchored = true
  5568. parti.TopSurface = 0
  5569. parti.BottomSurface = 0
  5570. parti.CanCollide = false
  5571. parti.Size = Vector3.new(math.random(.5,.5),math.random(.5,.5),math.random(.5,.5))
  5572. parti.CFrame = Justice.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
  5573. parti.Transparency = 0
  5574. parti.BrickColor = BrickColor.new("New Yeller")
  5575. game.Debris:AddItem(parti,1.5)
  5576.  
  5577.  
  5578.  
  5579.  
  5580.  
  5581.  
  5582.  
  5583. local pad = Vector3.new(math.random(-2,2)/100,math.random(-2,2)/100,math.random(-2,2)/100)
  5584. game:service("RunService").Stepped:connect(function()
  5585. parti.Transparency = parti.Transparency + 0.05
  5586. parti.CFrame = (parti.CFrame*CFrame.Angles(math.rad(20),math.rad(20),math.rad(20)))+pad
  5587. end)
  5588.  
  5589.  
  5590.  
  5591. end
  5592.  
  5593. coroutine.resume(coroutine.create(function()
  5594. for i = 1,8 do wait()
  5595.  
  5596. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  5597. p.CFrame =(Justice.CFrame*CFrame.new(0,0,0))
  5598. end
  5599. p:remove()
  5600. end))
  5601.  
  5602. local handleCFrame = PewJustice.CFrame
  5603. local firingPoint = handleCFrame.p + handleCFrame:vectorToWorldSpace(NOZZLE_OFFSET)
  5604. local shotCFrame = CFrame.new(firingPoint, mouse.Hit.p)
  5605. local laserShotClone = PewJustice:Clone()
  5606. PewJustice:remove()
  5607. laserShotClone.CFrame = shotCFrame + (shotCFrame.lookVector * (PewJustice.Size.Z / 2))
  5608. local bodyVelocity = Instance.new('BodyVelocity')
  5609. bodyVelocity.velocity = shotCFrame.lookVector * SHOT_SPEED
  5610. bodyVelocity.Parent = laserShotClone
  5611. bodyVelocity.Name = "Magic"
  5612. bodyVelocity.MaxForce = Vector3.new(1000000,1000000,1000000)
  5613.  
  5614.  
  5615. laserShotClone.Parent = suit
  5616.  
  5617.  
  5618. function touch(hit)
  5619.  
  5620.  
  5621. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  5622.  
  5623. if hit.Parent.Name == char.Name then return end
  5624. if hit.Parent.Name == hand1Determination.Name then return end
  5625. if hit.Parent.Name == hand2Perseverance.Name then return end
  5626. if hit.Parent.Name == hand3Patience.Name then return end
  5627. if hit.Parent.Name == hand4Integrity.Name then return end
  5628. if hit.Parent.Name == hand5Bravery.Name then return end
  5629. if hit.Parent.Name == hand6Justice.Name then return end
  5630. if hit.Parent.Name == hand7Kindness.Name then return end
  5631.  
  5632. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-3
  5633.  
  5634. local HitSounds = {
  5635. Hurt = Instance.new("Sound")
  5636.  
  5637. }
  5638.  
  5639. HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
  5640. HitSounds["Hurt"].Volume = 1
  5641.  
  5642. function PlayHitSound(soundname, pitch)
  5643. HitSounds[soundname].Parent = hit.Parent.Torso
  5644. HitSounds[soundname].Pitch = pitch
  5645. HitSounds[soundname]:Play()
  5646. local oldsound = HitSounds[soundname]
  5647. coroutine.resume(coroutine.create(function()
  5648. wait(4)
  5649. oldsound:Destroy()
  5650. end))
  5651. HitSounds[soundname] = HitSounds[soundname]:clone()
  5652. end
  5653.  
  5654. PlayHitSound("Hurt", 1)
  5655.  
  5656. coroutine.resume(coroutine.create(function()
  5657. laserShotClone.Magic:remove()
  5658.  
  5659. wait(3)
  5660. laserShotClone:remove()
  5661. end))
  5662.  
  5663. end end laserShotClone.Touched:connect(touch)
  5664.  
  5665. game.Debris:AddItem(laserShotClone,10)
  5666.  
  5667.  
  5668. JusticeAttackDebounce = false
  5669. end
  5670. end
  5671. end
  5672.  
  5673.  
  5674. ----2nd Attack
  5675.  
  5676.  
  5677.  
  5678.  
  5679.  
  5680.  
  5681.  
  5682.  
  5683. if IntegrityAttack == true then
  5684.  
  5685. if InUse == false then return end
  5686. if InUse == true then
  5687. if IntegrityAttackDebounce == true then return end
  5688. if IntegrityAttackDebounce == false then
  5689.  
  5690.  
  5691. IntegrityAttackDebounce = true
  5692.  
  5693. wait(.5)
  5694.  
  5695. for i = 1,2 do wait(1)
  5696. local PewIntegrity = Instance.new("Part",suit)
  5697. PewIntegrity.Size = Vector3.new(5,1,5)
  5698. PewIntegrity.BrickColor = BrickColor.new("Dark blue")
  5699. PewIntegrity.Position = Integrity.Position
  5700. PewIntegrity.CanCollide = false
  5701. PewIntegrity.Transparency = 0.4
  5702.  
  5703. local p = Instance.new("Part",workspace)
  5704.  
  5705. p.FormFactor="Custom"
  5706.  
  5707. p.Size=Vector3.new(0.8,0.8,0.8)
  5708.  
  5709. p.TopSurface = 0
  5710.  
  5711. p.BottomSurface = 0
  5712.  
  5713. local colorc = {"Dark blue"}
  5714.  
  5715. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  5716.  
  5717. p.BrickColor = Fire
  5718.  
  5719. p.CanCollide=false
  5720.  
  5721. p.Anchored=true
  5722.  
  5723. p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  5724. coroutine.resume(coroutine.create(function()
  5725. for i = 1,8 do wait()
  5726.  
  5727. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  5728. p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))
  5729. end
  5730. p:remove()
  5731. end))
  5732.  
  5733. local handleCFrame = PewIntegrity.CFrame
  5734. local firingPoint = handleCFrame.p + handleCFrame:vectorToWorldSpace(NOZZLE_OFFSET)
  5735. local shotCFrame = CFrame.new(firingPoint, mouse.Hit.p)
  5736. local laserShotClone = PewIntegrity:Clone()
  5737. PewIntegrity:remove()
  5738. laserShotClone.CFrame = shotCFrame + (shotCFrame.lookVector * (PewIntegrity.Size.Z / 2))
  5739. local bodyVelocity = Instance.new('BodyVelocity')
  5740. bodyVelocity.velocity = shotCFrame.lookVector * SHOT_SPEED
  5741. negativevelocity = bodyVelocity.velocity*-1
  5742. bodyVelocity.Parent = laserShotClone
  5743. bodyVelocity.Name = "Magic"
  5744. bodyVelocity.MaxForce = Vector3.new(1000000,1000000,1000000)
  5745.  
  5746.  
  5747. laserShotClone.Parent = suit
  5748.  
  5749.  
  5750. function touch(hit)
  5751.  
  5752.  
  5753. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  5754.  
  5755. if hit.Parent.Name == char.Name then return end
  5756. if hit.Parent.Name == hand1Determination.Name then return end
  5757. if hit.Parent.Name == hand2Perseverance.Name then return end
  5758. if hit.Parent.Name == hand3Patience.Name then return end
  5759. if hit.Parent.Name == hand4Integrity.Name then return end
  5760. if hit.Parent.Name == hand5Bravery.Name then return end
  5761. if hit.Parent.Name == hand6Justice.Name then return end
  5762. if hit.Parent.Name == hand7Kindness.Name then return end
  5763.  
  5764. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-7
  5765.  
  5766. local HitSounds = {
  5767. Hurt = Instance.new("Sound")
  5768.  
  5769. }
  5770.  
  5771. HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
  5772. HitSounds["Hurt"].Volume = 1
  5773.  
  5774. function PlayHitSound(soundname, pitch)
  5775. HitSounds[soundname].Parent = hit.Parent.Torso
  5776. HitSounds[soundname].Pitch = pitch
  5777. HitSounds[soundname]:Play()
  5778. local oldsound = HitSounds[soundname]
  5779. coroutine.resume(coroutine.create(function()
  5780. wait(4)
  5781. oldsound:Destroy()
  5782. end))
  5783. HitSounds[soundname] = HitSounds[soundname]:clone()
  5784. end
  5785.  
  5786. PlayHitSound("Hurt", 1)
  5787.  
  5788.  
  5789.  
  5790. end end laserShotClone.Touched:connect(touch)
  5791.  
  5792. game.Debris:AddItem(laserShotClone,10)
  5793. coroutine.resume(coroutine.create(function()
  5794. for i = 1,25 do wait()
  5795.  
  5796. local p = Instance.new("Part",workspace)
  5797.  
  5798. p.FormFactor="Custom"
  5799.  
  5800. p.Size=Vector3.new(5,1,5)
  5801.  
  5802. p.TopSurface = 0
  5803.  
  5804. p.BottomSurface = 0
  5805.  
  5806. local colorc = {"Dark blue"}
  5807.  
  5808. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  5809.  
  5810. p.BrickColor = Fire
  5811.  
  5812. p.CanCollide=false
  5813.  
  5814. p.Anchored=true
  5815.  
  5816. p.Transparency = 0.7
  5817.  
  5818. p.CFrame =(laserShotClone.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0.3*i,0))
  5819.  
  5820. game.Debris:AddItem(p,.2)
  5821.  
  5822. end
  5823.  
  5824. bodyVelocity.velocity = negativevelocity
  5825.  
  5826. for i = 1,25 do wait()
  5827.  
  5828. local p = Instance.new("Part",workspace)
  5829.  
  5830. p.FormFactor="Custom"
  5831.  
  5832. p.Size=Vector3.new(5,1,5)
  5833.  
  5834. p.TopSurface = 0
  5835.  
  5836. p.BottomSurface = 0
  5837.  
  5838. local colorc = {"Dark blue"}
  5839.  
  5840. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  5841.  
  5842. p.BrickColor = Fire
  5843.  
  5844. p.CanCollide=false
  5845.  
  5846. p.Anchored=true
  5847.  
  5848. p.Transparency = 0.7
  5849.  
  5850. game.Debris:AddItem(p,.2)
  5851. p.CFrame =(laserShotClone.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0.3*i,0))
  5852.  
  5853. end
  5854. end))
  5855. end
  5856. wait(1)
  5857. IntegrityAttackDebounce = false
  5858. end
  5859. end
  5860. end
  5861.  
  5862.  
  5863. --3rd AttackPosition
  5864. if PerseveranceAttack == true then
  5865.  
  5866. if InUse == false then return end
  5867. if InUse == true then
  5868. if PerseveranceAttackDebounce == true then return end
  5869. if PerseveranceAttackDebounce == false then
  5870. PerseveranceAttackDebounce = true
  5871. RandomPerseverance = math.random(1,2)
  5872.  
  5873. if RandomPerseverance == 2 then
  5874. local randomnumber = math.random(1,2)
  5875.  
  5876.  
  5877.  
  5878. wait(.3)
  5879.  
  5880.  
  5881.  
  5882. local p = Instance.new("Part",workspace)
  5883.  
  5884. p.FormFactor="Custom"
  5885.  
  5886. p.Size=Vector3.new(0.8,0.8,0.8)
  5887.  
  5888. p.TopSurface = 0
  5889.  
  5890. p.BottomSurface = 0
  5891.  
  5892. local colorc = {"Magenta"}
  5893.  
  5894. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  5895.  
  5896. p.BrickColor = Fire
  5897.  
  5898. p.CanCollide=false
  5899.  
  5900. p.Anchored=true
  5901.  
  5902. p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  5903. coroutine.resume(coroutine.create(function()
  5904. for i = 1,5 do wait()
  5905.  
  5906. p.Size=Vector3.new(0.5*i,0.5*i,0.5*i)
  5907. p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))
  5908. end
  5909. p:remove()
  5910. end))
  5911.  
  5912. local throwbone1 = Instance.new("Part",suit)
  5913. throwbone1.TopSurface = "Smooth"
  5914. throwbone1.BottomSurface = "Smooth"
  5915. throwbone1.Size = Vector3.new(0.2, 0.2, 3)
  5916. throwbone1.CanCollide = true
  5917. throwbone1.BrickColor = BrickColor.new("Magenta")
  5918. throwbone1 .FormFactor = "Custom"
  5919. local Weldbonepart2 = Instance.new("Weld",throwbone1)
  5920. Weldbonepart2.Part0 = throwbone1
  5921. Weldbonepart2.Part1 = Perseverance
  5922. Weldbonepart2.Name = "WBP22"
  5923.  
  5924. local throwbone1weld2 = Instance.new("Part",throwbone1)
  5925. throwbone1weld2.TopSurface = "Smooth"
  5926. throwbone1weld2.BottomSurface = "Smooth"
  5927. throwbone1weld2.Size = Vector3.new(0.4, 0.4, 0.4)
  5928. throwbone1weld2.CanCollide = true
  5929. throwbone1weld2.BrickColor = BrickColor.new("Magenta")
  5930. throwbone1weld2 .FormFactor = "Custom"
  5931. local Weldbonepart2weld2 = Instance.new("Weld",throwbone1)
  5932. Weldbonepart2weld2.Part0 = throwbone1weld2
  5933. Weldbonepart2weld2.Part1 = throwbone1
  5934. Weldbonepart2weld2.Name = "WBP2W2"
  5935. Weldbonepart2weld2.C1 = CFrame.new(0, 0, -1.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  5936.  
  5937.  
  5938. local throwbone1weld1 = Instance.new("Part",throwbone1)
  5939. throwbone1weld1.TopSurface = "Smooth"
  5940. throwbone1weld1.BottomSurface = "Smooth"
  5941. throwbone1weld1.Size = Vector3.new(0.4, 0.4, 0.4)
  5942. throwbone1weld1.CanCollide = true
  5943. throwbone1weld1.BrickColor = BrickColor.new("Magenta")
  5944. throwbone1weld1 .FormFactor = "Custom"
  5945. local Weldbonepart2weld1 = Instance.new("Weld",throwbone1)
  5946. Weldbonepart2weld1.Part0 = throwbone1weld1
  5947. Weldbonepart2weld1.Part1 = throwbone1
  5948. Weldbonepart2weld1.Name = "WBP2W1"
  5949. Weldbonepart2weld1.C1 = CFrame.new(0, 0, 1.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  5950.  
  5951.  
  5952. if randomnumber == 1 then
  5953. for i = 1,10 do wait()
  5954.  
  5955. Weldbonepart2.C1 = CFrame.new(-3, 0, 0)*CFrame.fromEulerAnglesXYZ(0.7*i, 0, 0)
  5956.  
  5957.  
  5958. end
  5959. end
  5960.  
  5961. if randomnumber == 2 then
  5962. for i = 1,10 do wait()
  5963.  
  5964. Weldbonepart2.C1 = CFrame.new(3, 0, 0)*CFrame.fromEulerAnglesXYZ(0.7*i, 0, 0)
  5965.  
  5966.  
  5967. end
  5968. end
  5969.  
  5970.  
  5971. local handleCFrame = throwbone1.CFrame
  5972. local firingPoint = handleCFrame.p + handleCFrame:vectorToWorldSpace(NOZZLE_OFFSET)
  5973. local shotCFrame = CFrame.new(firingPoint, mouse.Hit.p)
  5974. local laserShotClone = throwbone1:Clone()
  5975. laserShotClone.WBP22:remove()
  5976. laserShotClone.CFrame = shotCFrame + (shotCFrame.lookVector * (throwbone1.Size.Z / 2))
  5977. local bodyVelocity = Instance.new('BodyVelocity')
  5978. bodyVelocity.velocity = shotCFrame.lookVector * SHOT_SPEED
  5979. bodyVelocity.Parent = laserShotClone
  5980. bodyVelocity.Name = "Magic"
  5981. bodyVelocity.MaxForce = Vector3.new(1000000,1000000,1000000)
  5982.  
  5983.  
  5984. laserShotClone.Parent = suit
  5985.  
  5986. throwbone1:remove()
  5987.  
  5988.  
  5989.  
  5990. function touch(hit)
  5991.  
  5992.  
  5993. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  5994.  
  5995. if hit.Parent.Name == char.Name then return end
  5996. if hit.Parent.Name == hand1Determination.Name then return end
  5997. if hit.Parent.Name == hand2Perseverance.Name then return end
  5998. if hit.Parent.Name == hand3Patience.Name then return end
  5999. if hit.Parent.Name == hand4Integrity.Name then return end
  6000. if hit.Parent.Name == hand5Bravery.Name then return end
  6001. if hit.Parent.Name == hand6Justice.Name then return end
  6002. if hit.Parent.Name == hand7Kindness.Name then return end
  6003.  
  6004. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-5
  6005.  
  6006. local HitSounds = {
  6007. Hurt = Instance.new("Sound")
  6008.  
  6009. }
  6010.  
  6011. HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
  6012. HitSounds["Hurt"].Volume = 1
  6013.  
  6014. function PlayHitSound(soundname, pitch)
  6015. HitSounds[soundname].Parent = hit.Parent.Torso
  6016. HitSounds[soundname].Pitch = pitch
  6017. HitSounds[soundname]:Play()
  6018. local oldsound = HitSounds[soundname]
  6019. coroutine.resume(coroutine.create(function()
  6020. wait(4)
  6021. oldsound:Destroy()
  6022. end))
  6023. HitSounds[soundname] = HitSounds[soundname]:clone()
  6024. end
  6025.  
  6026. PlayHitSound("Hurt", 1)
  6027.  
  6028. coroutine.resume(coroutine.create(function()
  6029. laserShotClone.Magic:remove()
  6030.  
  6031. wait(3)
  6032. laserShotClone:remove()
  6033. end))
  6034.  
  6035. end end laserShotClone.Touched:connect(touch)
  6036.  
  6037. game.Debris:AddItem(laserShotClone,10)
  6038.  
  6039.  
  6040. elseif RandomPerseverance == 1 then
  6041.  
  6042. PlaySound("Gaster", 1, PerseveranceOrb,false)
  6043. wait(1)
  6044. local ray = Ray.new(PerseveranceOrb.CFrame.p, (mouse.Hit.p - PerseveranceOrb.CFrame.p).unit*1000)
  6045. local hit, position = game.Workspace:FindPartOnRay(ray, char)
  6046.  
  6047.  
  6048.  
  6049.  
  6050.  
  6051. local ray = Ray.new(PerseveranceOrb.CFrame.p, (mouse.Hit.p -PerseveranceOrb.CFrame.p).unit*300)
  6052. local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
  6053. local distance = (position - PerseveranceOrb.CFrame.p).magnitude
  6054. local rp=Instance.new("Part",workspace)
  6055. rp.Anchored=true
  6056. rp.TopSurface="Smooth"
  6057. rp.BottomSurface="Smooth"
  6058. rp.Transparency=0
  6059. rp.BrickColor=BrickColor.new("Bright purple")
  6060. rp.FormFactor="Custom"
  6061. rp.CanCollide=false
  6062. rp.Size=Vector3.new(0.8,0.1,distance)
  6063. rp.Material = "Neon"
  6064. rp.CFrame=CFrame.new(position, PerseveranceOrb.CFrame.p) * CFrame.new(0, 0, -distance/2)
  6065. local cy=Instance.new("BlockMesh",rp)
  6066.  
  6067.  
  6068.  
  6069. coroutine.resume(coroutine.create(function()
  6070. wait(1)
  6071. for i=1,10 do
  6072. wait()
  6073. rp.Transparency=rp.Transparency + 0.1
  6074.  
  6075. end
  6076. rp:remove()
  6077. end))
  6078.  
  6079. function touch(hit)
  6080.  
  6081.  
  6082. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  6083.  
  6084. if hit.Parent.Name == char.Name then return end
  6085. if hit.Parent.Name == hand1Determination.Name then return end
  6086. if hit.Parent.Name == hand2Perseverance.Name then return end
  6087. if hit.Parent.Name == hand3Patience.Name then return end
  6088. if hit.Parent.Name == hand4Integrity.Name then return end
  6089. if hit.Parent.Name == hand5Bravery.Name then return end
  6090. if hit.Parent.Name == hand6Justice.Name then return end
  6091. if hit.Parent.Name == hand7Kindness.Name then return end
  6092.  
  6093. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-20
  6094.  
  6095. local HitSounds = {
  6096. Hurt = Instance.new("Sound")
  6097.  
  6098. }
  6099.  
  6100. HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
  6101. HitSounds["Hurt"].Volume = 1
  6102.  
  6103. function PlayHitSound(soundname, pitch)
  6104. HitSounds[soundname].Parent = hit.Parent.Torso
  6105. HitSounds[soundname].Pitch = pitch
  6106. HitSounds[soundname]:Play()
  6107. local oldsound = HitSounds[soundname]
  6108. coroutine.resume(coroutine.create(function()
  6109. wait(4)
  6110. oldsound:Destroy()
  6111. end))
  6112. HitSounds[soundname] = HitSounds[soundname]:clone()
  6113. end
  6114.  
  6115. PlayHitSound("Hurt", 1)
  6116.  
  6117. end end rp.Touched:connect(touch)
  6118.  
  6119.  
  6120.  
  6121.  
  6122.  
  6123.  
  6124.  
  6125. end
  6126. RandomPerseverance = 0
  6127.  
  6128. PerseveranceAttackDebounce = false
  6129. end
  6130. end
  6131. end
  6132.  
  6133. if KindAttack == true then
  6134.  
  6135. if InUse == false then return end
  6136. if InUse == true then
  6137. if KindnessAttackDebounce == true then return end
  6138. if KindnessAttackDebounce == false then
  6139. KindnessAttackDebounce = true
  6140. local ray = Ray.new(Kindness.CFrame.p, (mouse.Hit.p -Kindness.CFrame.p).unit*300)
  6141. local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
  6142. local distance = (position - Kindness.CFrame.p).magnitude
  6143. local rp=Instance.new("Part",workspace)
  6144. rp.Anchored=true
  6145. rp.TopSurface="Smooth"
  6146. rp.BottomSurface="Smooth"
  6147. rp.Transparency=1
  6148. rp.BrickColor=BrickColor.new("Deep orange")
  6149. rp.FormFactor="Custom"
  6150. rp.CanCollide=false
  6151. rp.Size=Vector3.new(0.6,0.6,distance)
  6152. rp.Material = "Neon"
  6153. rp.CFrame=CFrame.new(position, Kindness.CFrame.p) * CFrame.new(0, 0, -distance/2)
  6154. local cy=Instance.new("BlockMesh",rp)
  6155. rp:Destroy()
  6156.  
  6157.  
  6158.  
  6159. local ps = Instance.new("Part", suit)
  6160. ps.Name = "MagicPart"
  6161. ps.TopSurface = "Smooth"
  6162. ps.BottomSurface = "Smooth"
  6163. ps.BrickColor = BrickColor.new("Toothpaste")
  6164. ps.FormFactor = "Custom"
  6165. ps.Transparency = 1
  6166. ps.Size = Vector3.new(.2, 3, 3)
  6167. ps.Anchored = true
  6168. ps.CanCollide = false
  6169. ps.CFrame = CFrame.new(position)*CFrame.new(0,3,0)
  6170. local cy=Instance.new("SpecialMesh",ps)
  6171. cy.MeshType = "Cylinder"
  6172.  
  6173. coroutine.resume(coroutine.create(function()
  6174.  
  6175.  
  6176.  
  6177. local SpawnSounds = {
  6178. Spike = Instance.new("Sound")
  6179.  
  6180. }
  6181.  
  6182. SpawnSounds["Spike"].SoundId = "http://www.roblox.com/asset?id=486286230"
  6183. SpawnSounds["Spike"].Volume = 0.5
  6184.  
  6185. function PlaySpawnSound(soundname, pitch)
  6186. SpawnSounds[soundname].Parent = ps
  6187. SpawnSounds[soundname].Pitch = pitch
  6188. SpawnSounds[soundname]:Play()
  6189. local oldsound = SpawnSounds[soundname]
  6190. coroutine.resume(coroutine.create(function()
  6191. wait(4)
  6192. oldsound:Destroy()
  6193. end))
  6194. SpawnSounds[soundname] = SpawnSounds[soundname]:clone()
  6195. end
  6196.  
  6197.  
  6198.  
  6199. local p = Instance.new("Part",workspace)
  6200.  
  6201. p.FormFactor="Custom"
  6202.  
  6203. p.Size=Vector3.new(0.8,0.8,0.8)
  6204.  
  6205. p.TopSurface = 0
  6206.  
  6207. p.BottomSurface = 0
  6208.  
  6209. local colorc = {"Lime green"}
  6210.  
  6211. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  6212.  
  6213. p.BrickColor = Fire
  6214.  
  6215. p.CanCollide=false
  6216.  
  6217. p.Anchored=true
  6218.  
  6219. p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  6220. coroutine.resume(coroutine.create(function()
  6221. for i = 1,8 do wait()
  6222.  
  6223. p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
  6224. p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))
  6225. end
  6226. p:remove()
  6227. end))
  6228.  
  6229. PlaySpawnSound("Spike", 1)
  6230.  
  6231.  
  6232.  
  6233.  
  6234. wait(0.5)
  6235.  
  6236.  
  6237.  
  6238. end))
  6239.  
  6240.  
  6241.  
  6242. local Shield6= Instance.new("Part",hand7Kindness)
  6243. Shield6.TopSurface = "Smooth"
  6244. Shield6.BottomSurface = "Smooth"
  6245. Shield6.Size = Vector3.new(18, 3, 18)
  6246. Shield6.CanCollide = true
  6247. Shield6.Anchored =true
  6248. Shield6.BrickColor = BrickColor.new("Lime green")
  6249. Shield6 .FormFactor = "Custom"
  6250. Shield6.Transparency = 0.7
  6251. Shield6.CFrame= ps.CFrame*CFrame.new(0,10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  6252.  
  6253.  
  6254. local Shield5= Instance.new("Part",hand7Kindness)
  6255. Shield5.TopSurface = "Smooth"
  6256. Shield5.BottomSurface = "Smooth"
  6257. Shield5.Size = Vector3.new(18, 3, 18)
  6258. Shield5.CanCollide = true
  6259. Shield5.Anchored =true
  6260. Shield5.BrickColor = BrickColor.new("Lime green")
  6261. Shield5 .FormFactor = "Custom"
  6262. Shield5.Transparency = 0.7
  6263. Shield5.CFrame= ps.CFrame*CFrame.new(0,-10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  6264.  
  6265.  
  6266. local Shield4= Instance.new("Part",hand7Kindness)
  6267. Shield4.TopSurface = "Smooth"
  6268. Shield4.BottomSurface = "Smooth"
  6269. Shield4.Size = Vector3.new(3, 18, 18)
  6270. Shield4.CanCollide = true
  6271. Shield4.Anchored =true
  6272. Shield4.BrickColor = BrickColor.new("Lime green")
  6273. Shield4 .FormFactor = "Custom"
  6274. Shield4.Transparency = 0.7
  6275. Shield4.CFrame= ps.CFrame*CFrame.new(-10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  6276.  
  6277.  
  6278. local Shield3= Instance.new("Part",hand7Kindness)
  6279. Shield3.TopSurface = "Smooth"
  6280. Shield3.BottomSurface = "Smooth"
  6281. Shield3.Size = Vector3.new(3, 18, 18)
  6282. Shield3.CanCollide = true
  6283. Shield3.Anchored =true
  6284. Shield3.BrickColor = BrickColor.new("Lime green")
  6285. Shield3 .FormFactor = "Custom"
  6286. Shield3.Transparency = 0.7
  6287. Shield3.CFrame= ps.CFrame*CFrame.new(10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  6288.  
  6289.  
  6290. local Shield2= Instance.new("Part",hand7Kindness)
  6291. Shield2.TopSurface = "Smooth"
  6292. Shield2.BottomSurface = "Smooth"
  6293. Shield2.Size = Vector3.new(18, 18, 3)
  6294. Shield2.CanCollide = true
  6295. Shield2.Anchored =true
  6296. Shield2.BrickColor = BrickColor.new("Lime green")
  6297. Shield2 .FormFactor = "Custom"
  6298. Shield2.Transparency = 0.7
  6299. Shield2.CFrame= ps.CFrame*CFrame.new(0,0,-10)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  6300.  
  6301.  
  6302. local Shield1= Instance.new("Part",hand7Kindness)
  6303. Shield1.TopSurface = "Smooth"
  6304. Shield1.BottomSurface = "Smooth"
  6305. Shield1.Size = Vector3.new(18, 18, 3)
  6306. Shield1.CanCollide = true
  6307. Shield1.Anchored =true
  6308. Shield1.BrickColor = BrickColor.new("Lime green")
  6309. Shield1 .FormFactor = "Custom"
  6310. Shield1.Transparency = 0.7
  6311. Shield1.CFrame= ps.CFrame*CFrame.new(0,0,10)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  6312.  
  6313. for i = 1,7 do
  6314. local parti = Instance.new("Part",Torso)
  6315. parti.Anchored = true
  6316. parti.TopSurface = 0
  6317. parti.BottomSurface = 0
  6318. parti.CanCollide = false
  6319. parti.Size = Vector3.new(math.random(1,1),math.random(1,1),math.random(1,1))
  6320. parti.CFrame = ps.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  6321. parti.Transparency = 0
  6322. parti.BrickColor = BrickColor.new("Lime green")
  6323. game.Debris:AddItem(parti,1.5)
  6324.  
  6325.  
  6326.  
  6327.  
  6328.  
  6329.  
  6330.  
  6331. local pad = Vector3.new(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6332. game:service("RunService").Stepped:connect(function()
  6333. parti.Transparency = parti.Transparency + 0.05
  6334. parti.CFrame = (parti.CFrame*CFrame.Angles(math.rad(20),math.rad(20),math.rad(20)))+pad
  6335. end)
  6336. end
  6337.  
  6338. wait(3)
  6339.  
  6340. function squeeze(hit)
  6341.  
  6342.  
  6343. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  6344.  
  6345. if hit.Parent.Name == char.Name then return end
  6346. if hit.Parent.Name == hand1Determination.Name then return end
  6347. if hit.Parent.Name == hand2Perseverance.Name then return end
  6348. if hit.Parent.Name == hand3Patience.Name then return end
  6349. if hit.Parent.Name == hand4Integrity.Name then return end
  6350. if hit.Parent.Name == hand5Bravery.Name then return end
  6351. if hit.Parent.Name == hand6Justice.Name then return end
  6352. if hit.Parent.Name == hand7Kindness.Name then return end
  6353.  
  6354. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-50
  6355.  
  6356. local HitSounds = {
  6357. Hurt = Instance.new("Sound")
  6358.  
  6359. }
  6360.  
  6361. HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
  6362. HitSounds["Hurt"].Volume = 1
  6363.  
  6364. function PlayHitSound(soundname, pitch)
  6365. HitSounds[soundname].Parent = hit.Parent.Torso
  6366. HitSounds[soundname].Pitch = pitch
  6367. HitSounds[soundname]:Play()
  6368. local oldsound = HitSounds[soundname]
  6369. coroutine.resume(coroutine.create(function()
  6370. wait(4)
  6371. oldsound:Destroy()
  6372. end))
  6373. HitSounds[soundname] = HitSounds[soundname]:clone()
  6374. end
  6375.  
  6376. PlayHitSound("Hurt", 1)
  6377.  
  6378. end end
  6379.  
  6380. Shield6.Touched:connect(squeeze)
  6381. Shield5.Touched:connect(squeeze)
  6382. Shield4.Touched:connect(squeeze)
  6383. Shield3.Touched:connect(squeeze)
  6384. Shield2.Touched:connect(squeeze)
  6385. Shield1.Touched:connect(squeeze)
  6386.  
  6387.  
  6388. for i = 1,30 do wait()
  6389.  
  6390. Shield6.CFrame= clerp(Shield6.CFrame*CFrame.new(0,-.01*i,0),ps.CFrame,.1)
  6391. Shield5.CFrame= clerp(Shield5.CFrame*CFrame.new(0,.01*i,0),ps.CFrame,.1)
  6392. Shield4.CFrame= clerp(Shield4.CFrame*CFrame.new(.01*i,0,0),ps.CFrame,.1)
  6393. Shield3.CFrame= clerp(Shield3.CFrame*CFrame.new(-.01*i,0,0),ps.CFrame,.1)
  6394. Shield2.CFrame= clerp(Shield2.CFrame*CFrame.new(0,0,.01*i),ps.CFrame,.1)
  6395. Shield1.CFrame= clerp(Shield1.CFrame*CFrame.new(0,0,-.01*i),ps.CFrame,.1)
  6396.  
  6397.  
  6398. end
  6399.  
  6400.  
  6401. for i = 1,30 do wait()
  6402.  
  6403. Shield6.CFrame= clerp(Shield6.CFrame*CFrame.new(0,-.01*i,0),ps.CFrame,.1)
  6404. Shield5.CFrame= clerp(Shield5.CFrame*CFrame.new(0,.01*i,0),ps.CFrame,.1)
  6405. Shield4.CFrame= clerp(Shield4.CFrame*CFrame.new(.01*i,0,0),ps.CFrame,.1)
  6406. Shield3.CFrame= clerp(Shield3.CFrame*CFrame.new(-.01*i,0,0),ps.CFrame,.1)
  6407. Shield2.CFrame= clerp(Shield2.CFrame*CFrame.new(0,0,.01*i),ps.CFrame,.1)
  6408. Shield1.CFrame= clerp(Shield1.CFrame*CFrame.new(0,0,-.01*i),ps.CFrame,.1)
  6409.  
  6410.  
  6411. end
  6412.  
  6413.  
  6414. ps:remove()
  6415.  
  6416.  
  6417. wait(3)
  6418. Shield1:Remove()
  6419. Shield2:Remove()
  6420. Shield3:Remove()
  6421. Shield4:Remove()
  6422. Shield5:Remove()
  6423. Shield6:Remove()
  6424.  
  6425. KindnessAttackDebounce = false
  6426. end
  6427. end
  6428. end
  6429.  
  6430.  
  6431.  
  6432.  
  6433.  
  6434. ---5th attack---
  6435.  
  6436.  
  6437. if DeterminationAttack == true then
  6438.  
  6439. if InUse == false then return end
  6440. if InUse == true then
  6441. if DetermiantionAttackDebounce == true then return end
  6442. if DetermiantionAttackDebounce == false then
  6443.  
  6444.  
  6445. DetermiantionAttackDebounce = true
  6446.  
  6447.  
  6448. for i = 1,3 do
  6449. local head = Instance.new("Part",char)
  6450. head.Size = Vector3.new(18,.2,18)
  6451. head.CanCollide = false
  6452. head.Anchored = true
  6453. head.CFrame = CFrame.new(char.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,0)).p,mouse.hit.p)
  6454. head.Transparency = 1
  6455. for i = 1,2 do
  6456. decal = Instance.new("Decal",head)
  6457. decal.Texture = "rbxassetid://333659534"
  6458. if i == 1 then
  6459. decal.Face = Enum.NormalId.Top
  6460. else
  6461. decal.Face = Enum.NormalId.Bottom
  6462. end
  6463. end
  6464.  
  6465. local bg = Instance.new("BodyGyro")
  6466. bg.Parent = head
  6467. bg.maxTorque = Vector3.new(0,0,0)
  6468. bg.maxTorque = Vector3.new(0,0,0)
  6469.  
  6470. RandomGasterRotaion = math.random(-10,10)
  6471.  
  6472. for i = 1,5 do wait()
  6473. print ' test'
  6474. head.CFrame = clerp(head.CFrame*CFrame.new(RandomGasterRotaion,1*i,1*i),head.CFrame,.1)
  6475.  
  6476.  
  6477. end
  6478. RandomGasterRotaion = 0
  6479.  
  6480.  
  6481. local ray = Ray.new(head.CFrame.p, (mouse.Hit.p - head.CFrame.p).unit*1000)
  6482. local hit, position = game.Workspace:FindPartOnRay(ray, char)
  6483.  
  6484.  
  6485.  
  6486.  
  6487.  
  6488. local ray = Ray.new(head.CFrame.p, (mouse.Hit.p -head.CFrame.p).unit*300)
  6489. local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
  6490. local distance = (position - head.CFrame.p).magnitude
  6491. local rp=Instance.new("Part",workspace)
  6492. rp.Anchored=true
  6493. rp.TopSurface="Smooth"
  6494. rp.BottomSurface="Smooth"
  6495. rp.Transparency=0
  6496. rp.BrickColor=BrickColor.new("Institutional white")
  6497. rp.FormFactor="Custom"
  6498. rp.CanCollide=false
  6499. rp.Size=Vector3.new(10,0,distance)
  6500. rp.Material = "Neon"
  6501. rp.CFrame=CFrame.new(position, head.CFrame.p) * CFrame.new(0, 0, -distance/2)
  6502. local cy=Instance.new("BlockMesh",rp)
  6503. head.CFrame = CFrame.new(head.CFrame:toWorldSpace(CFrame.new(0,0,0)).p,mouse.hit.p)
  6504. function touch(hit)
  6505.  
  6506.  
  6507. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  6508.  
  6509. if hit.Parent.Name == char.Name then return end
  6510. if hit.Parent.Name == hand1Determination.Name then return end
  6511. if hit.Parent.Name == hand2Perseverance.Name then return end
  6512. if hit.Parent.Name == hand3Patience.Name then return end
  6513. if hit.Parent.Name == hand4Integrity.Name then return end
  6514. if hit.Parent.Name == hand5Bravery.Name then return end
  6515. if hit.Parent.Name == hand6Justice.Name then return end
  6516. if hit.Parent.Name == hand7Kindness.Name then return end
  6517.  
  6518. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-7
  6519.  
  6520. local HitSounds = {
  6521. Hurt = Instance.new("Sound")
  6522.  
  6523. }
  6524.  
  6525. HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
  6526. HitSounds["Hurt"].Volume = 1
  6527.  
  6528. function PlayHitSound(soundname, pitch)
  6529. HitSounds[soundname].Parent = hit.Parent.Torso
  6530. HitSounds[soundname].Pitch = pitch
  6531. HitSounds[soundname]:Play()
  6532. local oldsound = HitSounds[soundname]
  6533. coroutine.resume(coroutine.create(function()
  6534. wait(4)
  6535. oldsound:Destroy()
  6536. end))
  6537. HitSounds[soundname] = HitSounds[soundname]:clone()
  6538. end
  6539.  
  6540. PlayHitSound("Hurt", 1)
  6541.  
  6542. end end rp.Touched:connect(touch)
  6543.  
  6544. coroutine.resume(coroutine.create(function()
  6545.  
  6546. PlaySound("Gaster", 1, head,false)
  6547. for i=1,10 do
  6548. wait()
  6549. cy.Scale=cy.Scale+Vector3.new(0,0,.01*i)
  6550. head.CFrame = head.CFrame*CFrame.new(0,0,1*i)*CFrame.Angles(0,0,0)
  6551. end
  6552. for i=1,10 do wait()
  6553.  
  6554. decal.Transparency = decal.Transparency + 0.1
  6555. rp.Transparency = rp.Transparency + 0.1
  6556.  
  6557. end
  6558. wait(1)
  6559. head:Destroy()
  6560. rp:Destroy()
  6561. end))
  6562. end
  6563.  
  6564.  
  6565. wait(0.1)
  6566. DetermiantionAttackDebounce = false
  6567.  
  6568. end
  6569.  
  6570. end
  6571. end
  6572.  
  6573.  
  6574.  
  6575.  
  6576. if PatienceAttack == true then
  6577.  
  6578. if InUse == false then return end
  6579. if InUse == true then
  6580. if PatienceAttackDebounce == true then return end
  6581. if PatienceAttackDebounce == false then
  6582.  
  6583.  
  6584. PatienceAttackDebounce = true
  6585.  
  6586.  
  6587.  
  6588.  
  6589. local ray = Ray.new(PatienceOrb.CFrame.p, (mouse.Hit.p - PatienceOrb.CFrame.p).unit*1000)
  6590. local hit, position = game.Workspace:FindPartOnRay(ray, char)
  6591.  
  6592.  
  6593.  
  6594.  
  6595.  
  6596. local ray = Ray.new(PatienceOrb.CFrame.p, (mouse.Hit.p -PatienceOrb.CFrame.p).unit*300)
  6597. local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
  6598. local distance = (position - PatienceOrb.CFrame.p).magnitude
  6599. local rp=Instance.new("Part",workspace)
  6600. rp.Anchored=true
  6601. rp.TopSurface="Smooth"
  6602. rp.BottomSurface="Smooth"
  6603. rp.Transparency=0
  6604. rp.BrickColor=BrickColor.new("Cyan")
  6605. rp.FormFactor="Custom"
  6606. rp.CanCollide=false
  6607. rp.Size=Vector3.new(0.5,0.5,distance)
  6608. rp.Material = "Neon"
  6609. rp.CFrame=CFrame.new(position, PatienceOrb.CFrame.p) * CFrame.new(0, 0, -distance/2)
  6610. local cy=Instance.new("BlockMesh",rp)
  6611. coroutine.resume(coroutine.create(function()
  6612. for i=1,13 do
  6613. wait()
  6614. cy.Scale=cy.Scale-Vector3.new(.01*i,.01*i,0)
  6615.  
  6616. end
  6617. end))
  6618. function touch(hit)
  6619.  
  6620.  
  6621. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  6622.  
  6623. if hit.Parent.Name == char.Name then return end
  6624. if hit.Parent.Name == hand1Determination.Name then return end
  6625. if hit.Parent.Name == hand2Perseverance.Name then return end
  6626. if hit.Parent.Name == hand3Patience.Name then return end
  6627. if hit.Parent.Name == hand4Integrity.Name then return end
  6628. if hit.Parent.Name == hand5Bravery.Name then return end
  6629. if hit.Parent.Name == hand6Justice.Name then return end
  6630. if hit.Parent.Name == hand7Kindness.Name then return end
  6631.  
  6632. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-7
  6633. local hittorso = hit.Parent.Torso
  6634. local HitSounds = {
  6635. Hurt = Instance.new("Sound")
  6636.  
  6637. }
  6638.  
  6639. HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
  6640. HitSounds["Hurt"].Volume = 1
  6641.  
  6642. function PlayHitSound(soundname, pitch)
  6643. HitSounds[soundname].Parent = hit.Parent.Torso
  6644. HitSounds[soundname].Pitch = pitch
  6645. HitSounds[soundname]:Play()
  6646. local oldsound = HitSounds[soundname]
  6647. coroutine.resume(coroutine.create(function()
  6648. wait(4)
  6649. oldsound:Destroy()
  6650. end))
  6651. HitSounds[soundname] = HitSounds[soundname]:clone()
  6652. end
  6653.  
  6654. PlayHitSound("Hurt", 1)
  6655.  
  6656. local Tied = Instance.new("Part",hittorso)
  6657. Tied.Size = Vector3.new(4,2,1.5)
  6658. Tied.Name = "Rope"
  6659. Tied.CanCollide = false
  6660. Tied.Transparency = 0.1
  6661. Tied.BrickColor = BrickColor.new("Cyan")
  6662. Tied.CFrame = hittorso.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  6663.  
  6664. local Weld = Instance.new("Weld",hittorso)
  6665. Weld.Part0 = hittorso
  6666. Weld.Part1 = Tied
  6667. Weld.C1 = hittorso.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  6668.  
  6669.  
  6670. hit.Parent.Torso.Anchored = true
  6671. hit.Parent["Left Arm"].Anchored = true
  6672. hit.Parent["Right Arm"].Anchored = true
  6673.  
  6674. wait(3)
  6675.  
  6676. for i = 1,10 do wait(.1)
  6677.  
  6678. Tied.Transparency = Tied.Transparency + 0.1
  6679.  
  6680.  
  6681. end
  6682.  
  6683.  
  6684. hit.Parent.Torso.Anchored = false
  6685. hit.Parent["Left Arm"].Anchored = false
  6686. hit.Parent["Right Arm"].Anchored = false
  6687.  
  6688.  
  6689. end end rp.Touched:connect(touch)
  6690.  
  6691. coroutine.resume(coroutine.create(function()
  6692.  
  6693.  
  6694. wait(1)
  6695.  
  6696. rp:Destroy()
  6697. end))
  6698. end
  6699.  
  6700.  
  6701. wait(1)
  6702. PatienceAttackDebounce = false
  6703.  
  6704. end
  6705.  
  6706. end
  6707.  
  6708. if BraveryAttack == true then
  6709.  
  6710. if InUse == false then return end
  6711. if InUse == true then
  6712. if BraveryAttackDebounce == true then return end
  6713. if BraveryAttackDebounce == false then
  6714. BraveryAttackDebounce = true
  6715. local ray = Ray.new(Bravery.CFrame.p, (mouse.Hit.p -Bravery.CFrame.p).unit*300)
  6716. local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
  6717. local distance = (position - Bravery.CFrame.p).magnitude
  6718. local rp=Instance.new("Part",workspace)
  6719. rp.Anchored=true
  6720. rp.TopSurface="Smooth"
  6721. rp.BottomSurface="Smooth"
  6722. rp.Transparency=1
  6723. rp.BrickColor=BrickColor.new("Deep orange")
  6724. rp.FormFactor="Custom"
  6725. rp.CanCollide=false
  6726. rp.Size=Vector3.new(0.6,0.6,distance)
  6727. rp.Material = "Neon"
  6728. rp.CFrame=CFrame.new(position, Kindness.CFrame.p) * CFrame.new(0, 0, -distance/2)
  6729. local cy=Instance.new("BlockMesh",rp)
  6730. rp:Destroy()
  6731.  
  6732.  
  6733.  
  6734. local ps = Instance.new("Part", suit)
  6735. ps.Name = "MagicPart"
  6736. ps.TopSurface = "Smooth"
  6737. ps.BottomSurface = "Smooth"
  6738. ps.BrickColor = BrickColor.new("Toothpaste")
  6739. ps.FormFactor = "Custom"
  6740. ps.Transparency = 1
  6741. ps.Size = Vector3.new(.5, .5, .5)
  6742. ps.Anchored = true
  6743. ps.CanCollide = false
  6744. ps.CFrame = CFrame.new(position)*CFrame.new(0,3,0)
  6745. local cy=Instance.new("SpecialMesh",ps)
  6746. cy.MeshType = "Cylinder"
  6747. for i =1,5 do
  6748.  
  6749. coroutine.resume(coroutine.create(function()
  6750. coroutine.resume(coroutine.create(function()
  6751.  
  6752.  
  6753.  
  6754. local SpawnSounds = {
  6755. Spike = Instance.new("Sound")
  6756.  
  6757. }
  6758.  
  6759. SpawnSounds["Spike"].SoundId = "http://www.roblox.com/asset?id=486286230"
  6760. SpawnSounds["Spike"].Volume = 0.1
  6761.  
  6762. function PlaySpawnSound(soundname, pitch)
  6763. SpawnSounds[soundname].Parent = ps
  6764. SpawnSounds[soundname].Pitch = pitch
  6765. SpawnSounds[soundname]:Play()
  6766. local oldsound = SpawnSounds[soundname]
  6767. coroutine.resume(coroutine.create(function()
  6768. wait(4)
  6769. oldsound:Destroy()
  6770. end))
  6771. SpawnSounds[soundname] = SpawnSounds[soundname]:clone()
  6772. end
  6773.  
  6774.  
  6775.  
  6776. local p = Instance.new("Part",workspace)
  6777.  
  6778. p.FormFactor="Custom"
  6779.  
  6780. p.Size=Vector3.new(0.3,0.3,0.3)
  6781.  
  6782. p.TopSurface = 0
  6783.  
  6784. p.BottomSurface = 0
  6785.  
  6786. local colorc = {"Deep orange"}
  6787.  
  6788. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  6789.  
  6790. p.BrickColor = Fire
  6791.  
  6792. p.CanCollide=false
  6793.  
  6794. p.Anchored=true
  6795.  
  6796. p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  6797. coroutine.resume(coroutine.create(function()
  6798. for i = 1,8 do wait()
  6799.  
  6800. p.Size=Vector3.new(0.3*i,0.3*i,0.3*i)
  6801. p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))
  6802. end
  6803. p:remove()
  6804. end))
  6805.  
  6806. PlaySpawnSound("Spike", 1)
  6807.  
  6808.  
  6809.  
  6810. wait(0.5)
  6811.  
  6812.  
  6813.  
  6814. end))
  6815.  
  6816.  
  6817.  
  6818.  
  6819.  
  6820.  
  6821.  
  6822. xmathrandom = math.random(-10,10)
  6823. ymathrandom = math.random(2,10)
  6824. zmathrandom = math.random(-10,10)
  6825.  
  6826. local Bomb= Instance.new("Part",hand5Bravery)
  6827. Bomb.TopSurface = "Smooth"
  6828. Bomb.BottomSurface = "Smooth"
  6829. Bomb.Size = Vector3.new(0.1,0.1,0.1)
  6830. Bomb.CanCollide = true
  6831. Bomb.Anchored =true
  6832. Bomb.BrickColor = BrickColor.new("Mid gray")
  6833. Bomb .Shape = "Ball"
  6834. Bomb .Material= "Neon"
  6835. Bomb.Transparency = 0
  6836. Bomb.CFrame= ps.CFrame*CFrame.new(xmathrandom,ymathrandom ,zmathrandom )*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  6837.  
  6838.  
  6839. xmathrandom = 0
  6840. ymathrandom = 0
  6841. zmathrandom = 0
  6842.  
  6843. wait(1)
  6844.  
  6845.  
  6846. Bomb.BrickColor = BrickColor.new("Deep orange")
  6847. local p = Instance.new("Part",workspace)
  6848.  
  6849. p.FormFactor="Custom"
  6850.  
  6851. p.Size=Vector3.new(0.1,0.1,0.1)
  6852.  
  6853. p.TopSurface = 0
  6854.  
  6855. p.BottomSurface = 0
  6856.  
  6857. local colorc = {"Deep orange"}
  6858.  
  6859. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  6860.  
  6861. p.BrickColor = Fire
  6862.  
  6863. p.CanCollide=false
  6864.  
  6865. p.Anchored=true
  6866.  
  6867. p.CFrame =(Bomb.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  6868. coroutine.resume(coroutine.create(function()
  6869. for i = 1,2 do wait()
  6870.  
  6871. p.Size=Vector3.new(0.1*i,0.1*i,0.1*i)
  6872. p.CFrame =(Bomb.CFrame*CFrame.new(0,0,0))
  6873. end
  6874. p:remove()
  6875. end))
  6876. wait(1)
  6877.  
  6878.  
  6879. local explosion = Instance.new("Part",workspace)
  6880.  
  6881. explosion.FormFactor="Custom"
  6882.  
  6883. explosion.Size=Vector3.new(0.8,0.8,0.8)
  6884.  
  6885. explosion.TopSurface = 0
  6886.  
  6887. explosion.BottomSurface = 0
  6888.  
  6889. local colorc = {"Deep orange"}
  6890.  
  6891. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  6892.  
  6893. explosion.BrickColor = Fire
  6894.  
  6895. explosion.CanCollide=false
  6896.  
  6897. explosion.Anchored=true
  6898.  
  6899. explosion.CFrame =(Bomb.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  6900.  
  6901. PlaySound("Explode", 1, explosion, false)
  6902.  
  6903. function touch(hit)
  6904.  
  6905.  
  6906. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  6907.  
  6908. if hit.Parent.Name == char.Name then return end
  6909. if hit.Parent.Name == hand1Determination.Name then return end
  6910. if hit.Parent.Name == hand2Perseverance.Name then return end
  6911. if hit.Parent.Name == hand3Patience.Name then return end
  6912. if hit.Parent.Name == hand4Integrity.Name then return end
  6913. if hit.Parent.Name == hand5Bravery.Name then return end
  6914. if hit.Parent.Name == hand6Justice.Name then return end
  6915. if hit.Parent.Name == hand7Kindness.Name then return end
  6916.  
  6917. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-50
  6918.  
  6919. local HitSounds = {
  6920. Hurt = Instance.new("Sound")
  6921.  
  6922. }
  6923.  
  6924. HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
  6925. HitSounds["Hurt"].Volume = 1
  6926.  
  6927. function PlayHitSound(soundname, pitch)
  6928. HitSounds[soundname].Parent = hit.Parent.Torso
  6929. HitSounds[soundname].Pitch = pitch
  6930. HitSounds[soundname]:Play()
  6931. local oldsound = HitSounds[soundname]
  6932. coroutine.resume(coroutine.create(function()
  6933. wait(4)
  6934. oldsound:Destroy()
  6935. end))
  6936. HitSounds[soundname] = HitSounds[soundname]:clone()
  6937. end
  6938.  
  6939. PlayHitSound("Hurt", 1)
  6940.  
  6941. end end
  6942.  
  6943. explosion.Touched:connect(touch)
  6944.  
  6945. coroutine.resume(coroutine.create(function()
  6946. for i = 1,10 do wait()
  6947. explosion.Position =Bomb.Position
  6948. explosion.CFrame =Bomb.CFrame
  6949. explosion.Size=Vector3.new(3*i,3*i,3*i)
  6950. explosion.Position =Bomb.Position
  6951. explosion.CFrame =Bomb.CFrame
  6952. explosion.Transparency=explosion.Transparency + 0.1
  6953. explosion.Position =Bomb.Position
  6954. explosion.CFrame =Bomb.CFrame
  6955. end
  6956. explosion:remove()
  6957. Bomb:remove()
  6958. end))
  6959.  
  6960.  
  6961.  
  6962.  
  6963.  
  6964.  
  6965. ps:remove()
  6966. end))
  6967. end
  6968. wait(2)
  6969.  
  6970.  
  6971. BraveryAttackDebounce = false
  6972. end
  6973. end
  6974. end
  6975.  
  6976.  
  6977.  
  6978.  
  6979.  
  6980.  
  6981.  
  6982.  
  6983.  
  6984.  
  6985.  
  6986.  
  6987.  
  6988.  
  6989.  
  6990.  
  6991.  
  6992.  
  6993.  
  6994.  
  6995.  
  6996.  
  6997. end)
  6998.  
  6999.  
  7000. game:service("RunService").Stepped:connect(function()
  7001.  
  7002.  
  7003. if hand1Determinationhealth.Health == 0 then
  7004.  
  7005. if hand1DeterminationhealthDown == false then
  7006. hand1DeterminationhealthDown = true
  7007.  
  7008. Determination:remove()
  7009. DeterminationAttack = false
  7010. DetermiantionAttackDebounce = false
  7011.  
  7012.  
  7013.  
  7014. end
  7015.  
  7016.  
  7017. end
  7018.  
  7019. end)
  7020.  
  7021. game:service("RunService").Stepped:connect(function()
  7022.  
  7023.  
  7024. if hand2Perseverancehealth.Health == 0 then
  7025.  
  7026. if hand2PerseverancehealthDown == false then
  7027. hand2PerseverancehealthDown = true
  7028.  
  7029. Perseverance:remove()
  7030. PerseveranceAttack = false
  7031. PerseveranceAttackDebounce = false
  7032.  
  7033.  
  7034.  
  7035. end
  7036.  
  7037.  
  7038. end
  7039.  
  7040. end)
  7041. game:service("RunService").Stepped:connect(function()
  7042.  
  7043.  
  7044. if hand3Patiencehealth.Health == 0 then
  7045.  
  7046. if hand3PatiencehealthDown == false then
  7047. hand3PatiencehealthDown = true
  7048.  
  7049. Patience:remove()
  7050. PatienceAttack = false
  7051. PatienceAttackDebounce = false
  7052.  
  7053.  
  7054.  
  7055. end
  7056.  
  7057.  
  7058. end
  7059.  
  7060.  
  7061. end)
  7062. game:service("RunService").Stepped:connect(function()
  7063.  
  7064.  
  7065. if hand4Integrityhealth.Health == 0 then
  7066.  
  7067. if hand4IntegrityhealthDown == false then
  7068. hand4IntegrityhealthDown = true
  7069.  
  7070. Integrity:remove()
  7071. IntegrityAttack = false
  7072. IntegrityAttackDebounce = false
  7073.  
  7074.  
  7075.  
  7076. end
  7077.  
  7078.  
  7079. end
  7080.  
  7081. end)
  7082. game:service("RunService").Stepped:connect(function()
  7083.  
  7084.  
  7085. if hand5Braveryhealth.Health == 0 then
  7086.  
  7087. if hand5BraveryhealthDown == false then
  7088. hand5BraveryhealthDown = true
  7089.  
  7090. Bravery:remove()
  7091. BraveryAttack = false
  7092. BraveryAttackDebounce = false
  7093.  
  7094.  
  7095.  
  7096. end
  7097.  
  7098.  
  7099. end
  7100.  
  7101. end)
  7102. game:service("RunService").Stepped:connect(function()
  7103.  
  7104.  
  7105. if hand6Justicehealth.Health == 0 then
  7106.  
  7107. if hand6JusticehealthDown == false then
  7108. hand6JusticehealthDown = true
  7109.  
  7110. Justice:remove()
  7111. JusticeAttack = false
  7112. JusticeAttackDebounce = false
  7113.  
  7114.  
  7115.  
  7116. end
  7117.  
  7118.  
  7119. end
  7120.  
  7121. end)
  7122. game:service("RunService").Stepped:connect(function()
  7123.  
  7124.  
  7125. if hand7Kindnesshealth.Health == 0 then
  7126.  
  7127. if hand7KindnesshealthDown == false then
  7128. hand7KindnesshealthDown = true
  7129.  
  7130. Kindness:remove()
  7131. KindnessAttack = false
  7132. KindnessAttackDebounce = false
  7133.  
  7134. if ShieldValueToGasterDebounce == false then
  7135. ShieldValueToGasterDebounce = true
  7136. for i = 1,3 do wait()
  7137. shieldparent6.Transparency =shieldparent6.Transparency + 0.1
  7138. shieldparent5.Transparency =shieldparent5.Transparency + 0.1
  7139. shieldparent4.Transparency =shieldparent4.Transparency + 0.1
  7140. shieldparent3.Transparency =shieldparent3.Transparency + 0.1
  7141. shieldparent2.Transparency =shieldparent2.Transparency + 0.1
  7142. shieldparent1.Transparency =shieldparent1.Transparency + 0.1
  7143. end
  7144. shieldparent6:remove()
  7145. shieldparent5:remove()
  7146. shieldparent4:remove()
  7147. shieldparent3:remove()
  7148. shieldparent2:remove()
  7149. shieldparent1:remove()
  7150.  
  7151. shieldparent1=nil
  7152. shieldparent2=nil
  7153. shieldparent3=nil
  7154. shieldparent4=nil
  7155. shieldparent5=nil
  7156. shieldparent6=nil
  7157.  
  7158.  
  7159.  
  7160.  
  7161. end
  7162.  
  7163. end
  7164.  
  7165.  
  7166. end
  7167.  
  7168. end)
  7169.  
  7170. char.Humanoid.MaxHealth = 666666666
  7171. wait()
  7172. char.Humanoid.Health = 666666666
  7173. end)
  7174.  
  7175. SRY.Name = "SRY"
  7176. SRY.Parent = Frame
  7177. SRY.BackgroundColor3 = Color3.new(1, 1, 1)
  7178. SRY.Position = UDim2.new(0.444223106, 0, 0.470852017, 0)
  7179. SRY.Size = UDim2.new(0, 203, 0, 50)
  7180. SRY.Font = Enum.Font.SourceSans
  7181. SRY.Text = "Sorry, gonna continue soon."
  7182. SRY.TextColor3 = Color3.new(0, 0, 0)
  7183. SRY.TextSize = 14
  7184. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement