Advertisement
yabagaba

Untitled

Jul 13th, 2019
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 148.87 KB | None | 0 0
  1. ---------------------------
  2. --/ \--
  3. -- Script By: 123jl123 --
  4. --\ /--
  5. ---------------------------
  6.  
  7.  
  8. ArtificialHB = Instance.new("BindableEvent", script)
  9. ArtificialHB.Name = "Heartbeat"
  10. script:WaitForChild("Heartbeat")
  11. Player = game:GetService("Players").LocalPlayer
  12. local MHIT=Vector3.new()
  13. local MTARGET=nil
  14. local CamCoord = Vector3.new()
  15. Cam = workspace.CurrentCamera
  16. local mouse = Player:GetMouse()
  17. Character = Player.Character
  18. PlayerGui = Player.PlayerGui
  19. Backpack = Player.Backpack
  20. Torso = Character.Torso
  21. Head = Character.Head
  22. Humanoid = Character.Humanoid
  23. LeftArm = Character["Left Arm"]
  24. LeftLeg = Character["Left Leg"]
  25. RightArm = Character["Right Arm"]
  26. RightLeg = Character["Right Leg"]
  27. ch = Character
  28. RootPart = Character.HumanoidRootPart
  29. RootJoint = RootPart.RootJoint
  30. local Anim="Idle"
  31. local FlyA = true
  32. local inAir = false
  33. local inAir2 = false
  34. local attack = false
  35. local effectmodel = Instance.new("Model",Character)
  36. effectmodel.Name = "Effects"
  37. it=Instance.new
  38. vt=Vector3.new
  39. cf=CFrame.new
  40. euler=CFrame.fromEulerAnglesXYZ
  41. angles=CFrame.Angles
  42. IT = Instance.new
  43. local cn = CFrame.new
  44. mr=math.rad
  45. local sprintmode=false
  46. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  47. local NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  48. local Anim="Idle"
  49. local RJ = Character.HumanoidRootPart:FindFirstChild("RootJoint")
  50. local Neck = Character.Torso:FindFirstChild("Neck")
  51. local lastvolume = 0
  52. local lastsongpos = 0
  53. local lastid= "http://www.roblox.com/asset/?id=1216140425"
  54. local CurId = 1
  55. local s2=Instance.new("Sound",Torso)
  56. local Tuanting = false
  57. local HClip = true
  58. s2.EmitterSize = 40
  59. local s2c=s2:Clone()
  60. local ShowTag = true
  61. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  62. WEAPONGUI.Name = "Weapon GUI"
  63. Humanoid.DisplayDistanceType = "None"
  64. local naeeym2 = Instance.new("BillboardGui",Character)
  65. naeeym2.AlwaysOnTop = true
  66. naeeym2.Size = UDim2.new(5,35,2,15)
  67. naeeym2.StudsOffset = Vector3.new(0,2,0)
  68. naeeym2.MaxDistance = 75
  69. naeeym2.Adornee = Character.Head
  70. naeeym2.Name = "Name"
  71. naeeym2.PlayerToHideFrom = Player
  72. local tecks2 = Instance.new("TextLabel",naeeym2)
  73. tecks2.BackgroundTransparency = 1
  74. tecks2.TextScaled = true
  75. tecks2.BorderSizePixel = 0
  76. tecks2.Text = "Hollow Light"
  77. tecks2.Font = "Garamond"
  78. tecks2.TextSize = 20
  79. tecks2.TextStrokeTransparency = 0
  80. tecks2.TextTransparency=.2
  81. tecks2.TextColor3 = Color3.new(0,0,0)
  82. tecks2.TextStrokeColor3 = Color3.new(.8,.8,.8)
  83. tecks2.Size = UDim2.new(1,0,0.5,0)
  84. tecks2.Parent = naeeym2
  85.  
  86. function weld(parent,part0,part1,c0)
  87. local weld=it("Weld")
  88. weld.Parent=parent
  89. weld.Part0=part0
  90. weld.Part1=part1
  91. weld.C0=c0
  92. return weld
  93. end
  94.  
  95. local sine = 0
  96. local change = 1
  97. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  98. local frame = IT("Frame")
  99. frame.BackgroundTransparency = TRANSPARENCY
  100. frame.BorderSizePixel = BORDERSIZEPIXEL
  101. frame.Position = POSITION
  102. frame.Size = SIZE
  103. frame.BackgroundColor3 = COLOR
  104. frame.BorderColor3 = BORDERCOLOR
  105. frame.Name = NAME
  106. frame.Parent = PARENT
  107. return frame
  108. end
  109. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  110. local label = IT("TextLabel")
  111. label.BackgroundTransparency = 1
  112. label.Size = UDim2.new(1, 0, 1, 0)
  113. label.Position = UDim2.new(0, 0, 0, 0)
  114. label.TextColor3 = TEXTCOLOR
  115. label.TextStrokeTransparency = STROKETRANSPARENCY
  116. label.TextTransparency = TRANSPARENCY
  117. label.FontSize = TEXTFONTSIZE
  118. label.Font = TEXTFONT
  119. label.BorderSizePixel = BORDERSIZEPIXEL
  120. label.TextStrokeColor3 = Color3.new(1,1,1)
  121. label.TextScaled = false
  122. label.Text = TEXT
  123. label.Name = NAME
  124. label.Parent = PARENT
  125. return label
  126. end
  127.  
  128. function Acthing(Part00,Mid,MScale,MBC,MMT,WCF,MCL)
  129. local RoHead = Instance.new("Part")
  130. RoHead.Parent = Character
  131. RoHead.Size = Vector3.new(0.05, 0.05, 0.05)
  132. RoHead.Transparency = 0
  133. RoHead.Shape = "Ball"
  134. RoHead.BrickColor = MBC
  135. RoHead.Material = MMT
  136. RoHead.CanCollide = false
  137. local mesh = Instance.new("SpecialMesh",RoHead)
  138. mesh.MeshId = "rbxassetid://"..Mid
  139. mesh.Scale = MScale
  140. local weld2en = Instance.new("Weld")
  141. weld2en.Parent = Part00
  142. weld2en.Part0 = Part00
  143. weld2en.Part1 = RoHead
  144. weld2en.C1 = WCF
  145. if MCL ~= nil then
  146. RoHead.Color = MCL
  147. end
  148. RoHead.Archivable = false
  149. end
  150. -- Hood
  151. Acthing(Head,"16952952",Vector3.new(1,1,1),BrickColor.new("Really black"),"Fabric",cn(0,-0.31,0)*angles(math.rad(0), math.rad(0), math.rad(-0)))
  152. -- Head Mesh
  153. Acthing(Head,"1174600651",Vector3.new(.04,.04,.04),BrickColor.new("Really black"),"Fabric",cn(0,0,-.02)*angles(math.rad(90), math.rad(0), math.rad(-180)),Color3.new(0, 0, 0))
  154. -- Arm
  155. for i = 1,3,1 do
  156.  
  157. for i2 = 0,1,1 do
  158. Acthing(RightArm,"20637493",Vector3.new(.7-i2*.1, 0.4+(i*.5)-(i2*.1), .6-i2*.0),BrickColor.new("Really black"),"Fabric",cn(0,0.85-i*.05,0.3+i*.05)*angles(math.rad(-180+(i*20)+(i2*.1)), math.rad(90), math.rad(-0)),Color3.new(.05+i2*.9, .05+i2*.9, .05+i2*.9))
  159. end
  160.  
  161. end
  162. Acthing(Head,"71494804",Vector3.new(1, 0.8, .4),BrickColor.new("Really black"),"Fabric",cn(0,-0.8,-.22)*angles(math.rad(45), math.rad(0), math.rad(0)),Color3.new(0, 0, 0))
  163.  
  164.  
  165. for i,clothes in pairs(Character:GetChildren()) do
  166. if clothes.ClassName == "Shirt" or clothes.ClassName == "Pants" or clothes.ClassName == "Accessory" or clothes.ClassName == "Hat" then
  167. clothes:Destroy()
  168. end
  169. end
  170. local shirt = Instance.new("Shirt", Character)
  171. shirt.Name = "Shirt"
  172. local pants = Instance.new("Pants", Character)
  173. pants.Name = "Pants"
  174. Character.Shirt.ShirtTemplate = "rbxassetid://128445060"
  175. Character.Pants.PantsTemplate = "rbxassetid://128445101"
  176.  
  177. local BC = Character:WaitForChild("Body Colors")
  178. BC.HeadColor3 = Color3.new(0, 0, 0)
  179. BC.LeftArmColor3 = Color3.new(0, 0, 0)
  180. BC.LeftLegColor3 = Color3.new(0, 0, 0)
  181. BC.RightArmColor3 = Color3.new(0, 0, 0)
  182. BC.RightLegColor3 = Color3.new(0, 0, 0)
  183. BC.TorsoColor3 = Color3.new(0, 0, 0)
  184.  
  185.  
  186. local RoHead = Instance.new("Part")
  187. RoHead.Parent = Character
  188. RoHead.Size = Vector3.new(0.1, 0.1, 0.1)
  189. RoHead.Transparency = 0
  190. RoHead.Shape = "Ball"
  191. RoHead.Material = "Neon"
  192. RoHead.CanCollide = false
  193. RoHead.Name = "Neon"
  194. local mesh = Instance.new("SpecialMesh",RoHead)
  195. mesh.MeshType = "Sphere"
  196. mesh.Scale = Vector3.new(10.2,10,4.2)
  197. local weld2en = Instance.new("Weld")
  198. weld2en.Parent = Character.Head
  199. weld2en.Part0 = Character.Head
  200. weld2en.Part1 = RoHead
  201. weld2en.C1 = cn(0,0,.35)
  202.  
  203. RoHead.Color = Color3.new(1, 1, 1)
  204.  
  205. RoHead.Archivable = false
  206.  
  207.  
  208. coroutine.resume(coroutine.create(function()
  209.  
  210. Head.Transparency = 1
  211. while true do wait(1)
  212. for _,v in pairs(Character:GetChildren()) do
  213. if (v:IsA("Accessory")) then
  214. coroutine.resume(coroutine.create(function()
  215. v.Handle.Transparency = 1
  216. end))
  217. end end
  218. Head.Transparency = 1
  219. end
  220.  
  221.  
  222. end))
  223. coroutine.resume(coroutine.create(function()
  224.  
  225.  
  226.  
  227. wait(.5)
  228. Head.face:Destroy()
  229. wait(1.5)
  230. for i,clothes in pairs(Character:GetChildren()) do
  231. if clothes.ClassName == "Shirt" or clothes.ClassName == "Pants" or clothes.ClassName == "Accessory" or clothes.ClassName == "Hat" then
  232. clothes:Destroy()
  233. end
  234. end
  235. local shirt = Instance.new("Shirt", Character)
  236. shirt.Name = "Shirt"
  237. local pants = Instance.new("Pants", Character)
  238. pants.Name = "Pants"
  239. Character.Shirt.ShirtTemplate = "rbxassetid://128445060"
  240. Character.Pants.PantsTemplate = "rbxassetid://128445101"
  241. Head.face:Destroy()
  242. end))
  243.  
  244.  
  245.  
  246. function stopAnimations()
  247. coroutine.resume(coroutine.create(function()
  248. Character.Animate:Destroy()
  249. end))
  250. coroutine.resume(coroutine.create(function()
  251. for _,v in pairs(Humanoid:GetPlayingAnimationTracks()) do
  252. v:Stop()
  253.  
  254. end
  255. end))
  256. end
  257.  
  258.  
  259.  
  260. stopAnimations()
  261.  
  262. --Amulet
  263. m7 = Instance.new("Model")
  264. m7.Name = "Amulet"
  265. p1 = Instance.new("Part", m7)
  266. p1.BrickColor = BrickColor.new("White")
  267. p1.Material = Enum.Material.Neon
  268. p1.Name = "Center"
  269. p1.CFrame = CFrame.new(-1.0658141e-014, 14.4125643, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  270. p1.CanCollide = false
  271. p1.Locked = true
  272. p1.FormFactor = Enum.FormFactor.Custom
  273. p1.Shape = Enum.PartType.Cylinder
  274. p1.Size = Vector3.new(0.5, 0.5, 0.5)
  275. p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  276. p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  277. p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  278. p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  279. p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  280. p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  281. p2 = Instance.new("Part", m7)
  282. p2.BrickColor = BrickColor.new("Really black")
  283. p2.Material = Enum.Material.Metal
  284. p2.Name = "Bottom"
  285. p2.CFrame = CFrame.new(1.19209318e-007, 14.1625719, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  286. p2.CanCollide = false
  287. p2.Locked = true
  288. p2.FormFactor = Enum.FormFactor.Custom
  289. p2.Size = Vector3.new(0.200000003, 0.649999976, 0.649999976)
  290. p2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  291. p2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  292. p2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  293. p2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  294. p2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  295. p2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  296. b1 = Instance.new("SpecialMesh", p2)
  297. b1.MeshType = Enum.MeshType.Cylinder
  298. b1.Name = "Mesh"
  299. p3 = Instance.new("Part", m7)
  300. p3.BrickColor = BrickColor.new("Really black")
  301. p3.Material = Enum.Material.Metal
  302. p3.CFrame = CFrame.new(1.23580463e-007, 14.4625673, -0.280000001, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  303. p3.CanCollide = false
  304. p3.Locked = true
  305. p3.FormFactor = Enum.FormFactor.Custom
  306. p3.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
  307. p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  308. p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  309. p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  310. p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  311. p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  312. p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  313. b2 = Instance.new("SpecialMesh", p3)
  314. b2.MeshType = Enum.MeshType.Brick
  315. b2.Name = "Mesh"
  316. b2.Scale = Vector3.new(1, 0.300000012, 0.200000003)
  317. p4 = Instance.new("Part", m7)
  318. p4.BrickColor = BrickColor.new("Really black")
  319. p4.Material = Enum.Material.Metal
  320. p4.CFrame = CFrame.new(1.19209318e-007, 14.4625673, 0.280000001, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  321. p4.CanCollide = false
  322. p4.Locked = true
  323. p4.FormFactor = Enum.FormFactor.Custom
  324. p4.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
  325. p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  326. p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  327. p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  328. p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  329. p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  330. p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  331. b3 = Instance.new("SpecialMesh", p4)
  332. b3.MeshType = Enum.MeshType.Brick
  333. b3.Name = "Mesh"
  334. b3.Scale = Vector3.new(1, 0.300000012, 0.200000003)
  335. p5 = Instance.new("Part", m7)
  336. p5.BrickColor = BrickColor.new("Really black")
  337. p5.Material = Enum.Material.Metal
  338. p5.CFrame = CFrame.new(0.14000012, 14.4625673, -0.242487118, -3.78551732e-008, -0.866025388, -0.5, 1, -4.37113883e-008, 0, -2.18556941e-008, -0.5, 0.866025388)
  339. p5.CanCollide = false
  340. p5.Locked = true
  341. p5.FormFactor = Enum.FormFactor.Custom
  342. p5.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
  343. p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  344. p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  345. p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  346. p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  347. p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  348. p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  349. b4 = Instance.new("SpecialMesh", p5)
  350. b4.MeshType = Enum.MeshType.Brick
  351. b4.Name = "Mesh"
  352. b4.Scale = Vector3.new(1, 0.300000012, 0.200000003)
  353. p6 = Instance.new("Part", m7)
  354. p6.BrickColor = BrickColor.new("Really black")
  355. p6.Material = Enum.Material.Metal
  356. p6.CFrame = CFrame.new(-0.139999881, 14.4625673, 0.242487103, -3.78551732e-008, -0.866025388, -0.5, 1, -4.37113883e-008, 0, -2.18556941e-008, -0.5, 0.866025388)
  357. p6.CanCollide = false
  358. p6.Locked = true
  359. p6.FormFactor = Enum.FormFactor.Custom
  360. p6.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
  361. p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  362. p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  363. p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  364. p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  365. p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  366. p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  367. b5 = Instance.new("SpecialMesh", p6)
  368. b5.MeshType = Enum.MeshType.Brick
  369. b5.Name = "Mesh"
  370. b5.Scale = Vector3.new(1, 0.300000012, 0.200000003)
  371. p7 = Instance.new("Part", m7)
  372. p7.BrickColor = BrickColor.new("Really black")
  373. p7.Material = Enum.Material.Metal
  374. p7.CFrame = CFrame.new(-0.242486984, 14.4625673, 0.139999986, -2.18556924e-008, -0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551732e-008, -0.866025388, 0.5)
  375. p7.CanCollide = false
  376. p7.Locked = true
  377. p7.FormFactor = Enum.FormFactor.Custom
  378. p7.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
  379. p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  380. p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  381. p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  382. p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  383. p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  384. p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  385. b6 = Instance.new("SpecialMesh", p7)
  386. b6.MeshType = Enum.MeshType.Brick
  387. b6.Name = "Mesh"
  388. b6.Scale = Vector3.new(1, 0.300000012, 0.200000003)
  389. p8 = Instance.new("Part", m7)
  390. p8.BrickColor = BrickColor.new("Really black")
  391. p8.Material = Enum.Material.Metal
  392. p8.CFrame = CFrame.new(0.242487192, 14.4625673, -0.139999971, -2.18556924e-008, -0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551732e-008, -0.866025388, 0.5)
  393. p8.CanCollide = false
  394. p8.Locked = true
  395. p8.FormFactor = Enum.FormFactor.Custom
  396. p8.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
  397. p8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  398. p8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  399. p8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  400. p8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  401. p8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  402. p8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  403. b7 = Instance.new("SpecialMesh", p8)
  404. b7.MeshType = Enum.MeshType.Brick
  405. b7.Name = "Mesh"
  406. b7.Scale = Vector3.new(1, 0.300000012, 0.200000003)
  407. p9 = Instance.new("Part", m7)
  408. p9.BrickColor = BrickColor.new("Really black")
  409. p9.Material = Enum.Material.Metal
  410. p9.CFrame = CFrame.new(0.280000091, 14.4625673, -1.64313008e-014, 0, 0, -1, 1, -4.37113847e-008, 0, -4.37113847e-008, -1, 0)
  411. p9.CanCollide = false
  412. p9.Locked = true
  413. p9.FormFactor = Enum.FormFactor.Custom
  414. p9.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
  415. p9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  416. p9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  417. p9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  418. p9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  419. p9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  420. p9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  421. b8 = Instance.new("SpecialMesh", p9)
  422. b8.MeshType = Enum.MeshType.Brick
  423. b8.Name = "Mesh"
  424. b8.Scale = Vector3.new(1, 0.300000012, 0.200000003)
  425. p10 = Instance.new("Part", m7)
  426. p10.BrickColor = BrickColor.new("Really black")
  427. p10.Material = Enum.Material.Metal
  428. p10.CFrame = CFrame.new(-0.279999852, 14.4625673, -1.49011772e-008, 0, 0, -1, 1, -4.37113847e-008, 0, -4.37113847e-008, -1, 0)
  429. p10.CanCollide = false
  430. p10.Locked = true
  431. p10.FormFactor = Enum.FormFactor.Custom
  432. p10.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
  433. p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  434. p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  435. p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  436. p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  437. p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  438. p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  439. b9 = Instance.new("SpecialMesh", p10)
  440. b9.MeshType = Enum.MeshType.Brick
  441. b9.Name = "Mesh"
  442. b9.Scale = Vector3.new(1, 0.300000012, 0.200000003)
  443. p11 = Instance.new("Part", m7)
  444. p11.BrickColor = BrickColor.new("Really black")
  445. p11.Material = Enum.Material.Metal
  446. p11.CFrame = CFrame.new(-0.242486984, 14.4625673, -0.139999986, 2.18556906e-008, 0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551697e-008, -0.866025388, -0.5)
  447. p11.CanCollide = false
  448. p11.Locked = true
  449. p11.FormFactor = Enum.FormFactor.Custom
  450. p11.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
  451. p11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  452. p11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  453. p11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  454. p11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  455. p11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  456. p11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  457. b10 = Instance.new("SpecialMesh", p11)
  458. b10.MeshType = Enum.MeshType.Brick
  459. b10.Name = "Mesh"
  460. b10.Scale = Vector3.new(1, 0.300000012, 0.200000003)
  461. p12 = Instance.new("Part", m7)
  462. p12.BrickColor = BrickColor.new("Really black")
  463. p12.Material = Enum.Material.Metal
  464. p12.CFrame = CFrame.new(0.242487192, 14.4625673, 0.139999971, 2.18556906e-008, 0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551697e-008, -0.866025388, -0.5)
  465. p12.CanCollide = false
  466. p12.Locked = true
  467. p12.FormFactor = Enum.FormFactor.Custom
  468. p12.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
  469. p12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  470. p12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  471. p12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  472. p12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  473. p12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  474. p12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  475. b11 = Instance.new("SpecialMesh", p12)
  476. b11.MeshType = Enum.MeshType.Brick
  477. b11.Name = "Mesh"
  478. b11.Scale = Vector3.new(1, 0.300000012, 0.200000003)
  479. p13 = Instance.new("Part", m7)
  480. p13.BrickColor = BrickColor.new("Really black")
  481. p13.Material = Enum.Material.Metal
  482. p13.CFrame = CFrame.new(-0.139999866, 14.4625673, -0.242487073, 3.78551732e-008, 0.866025388, -0.5, 1, -4.37113812e-008, 1.77635684e-015, -2.18556924e-008, -0.5, -0.866025388)
  483. p13.CanCollide = false
  484. p13.Locked = true
  485. p13.FormFactor = Enum.FormFactor.Custom
  486. p13.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
  487. p13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  488. p13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  489. p13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  490. p13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  491. p13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  492. p13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  493. b12 = Instance.new("SpecialMesh", p13)
  494. b12.MeshType = Enum.MeshType.Brick
  495. b12.Name = "Mesh"
  496. b12.Scale = Vector3.new(1, 0.300000012, 0.200000003)
  497. p14 = Instance.new("Part", m7)
  498. p14.BrickColor = BrickColor.new("Really black")
  499. p14.Material = Enum.Material.Metal
  500. p14.CFrame = CFrame.new(0.14000012, 14.4625673, 0.242487073, 3.78551732e-008, 0.866025388, -0.5, 1, -4.37113812e-008, 1.77635684e-015, -2.18556924e-008, -0.5, -0.866025388)
  501. p14.CanCollide = false
  502. p14.Locked = true
  503. p14.FormFactor = Enum.FormFactor.Custom
  504. p14.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
  505. p14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  506. p14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  507. p14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  508. p14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  509. p14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  510. p14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  511. b13 = Instance.new("SpecialMesh", p14)
  512. b13.MeshType = Enum.MeshType.Brick
  513. b13.Name = "Mesh"
  514. b13.Scale = Vector3.new(1, 0.300000012, 0.200000003)
  515. p15 = Instance.new("Part", m7)
  516. p15.BrickColor = BrickColor.new("Really black")
  517. p15.Material = Enum.Material.Metal
  518. p15.Name = "Top"
  519. p15.CFrame = CFrame.new(0, 14.7125645, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
  520. p15.CanCollide = false
  521. p15.Locked = true
  522. p15.FormFactor = Enum.FormFactor.Custom
  523. p15.Size = Vector3.new(0.200000003, 0.649999976, 0.649999976)
  524. p15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  525. p15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  526. p15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  527. p15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  528. p15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  529. p15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  530. b14 = Instance.new("SpecialMesh", p15)
  531. b14.MeshType = Enum.MeshType.Cylinder
  532. b14.Name = "Mesh"
  533. w1 = Instance.new("Weld", p1)
  534. w1.Name = "Joint"
  535. w1.Part0 = p1
  536. w1.C0 = CFrame.new(0.300000191, -1.31134357e-008, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  537. w1.Part1 = p15
  538. w1.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  539. w2 = Instance.new("Weld", p2)
  540. w2.Name = "Joint"
  541. w2.Part0 = p2
  542. w2.C0 = CFrame.new(0.249992371, 1.08281824e-007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  543. w2.Part1 = p1
  544. w2.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  545. w3 = Instance.new("Weld", p3)
  546. w3.Name = "Joint"
  547. w3.Part0 = p3
  548. w3.C0 = CFrame.new(-0.0500030518, 1.25766178e-007, 0.280000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  549. w3.Part1 = p1
  550. w3.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  551. w4 = Instance.new("Weld", p4)
  552. w4.Name = "Joint"
  553. w4.Part0 = p4
  554. w4.C0 = CFrame.new(-0.0500030518, 1.21395033e-007, -0.280000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  555. w4.Part1 = p1
  556. w4.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  557. w5 = Instance.new("Weld", p5)
  558. w5.Name = "Joint"
  559. w5.Part0 = p5
  560. w5.C0 = CFrame.new(-0.0500030518, 1.00163732e-007, 0.280000061, 1, -5.85621507e-009, -2.18556941e-008, -5.85621507e-009, 0.866025388, -0.5, 2.18556941e-008, 0.5, 0.866025388)
  561. w5.Part1 = p1
  562. w5.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  563. w6 = Instance.new("Weld", p6)
  564. w6.Name = "Joint"
  565. w6.Part0 = p6
  566. w6.C0 = CFrame.new(-0.0500030518, 1.00163732e-007, -0.279999942, 1, -5.85621507e-009, -2.18556941e-008, -5.85621507e-009, 0.866025388, -0.5, 2.18556941e-008, 0.5, 0.866025388)
  567. w6.Part1 = p1
  568. w6.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  569. w7 = Instance.new("Weld", p7)
  570. w7.Name = "Joint"
  571. w7.Part0 = p7
  572. w7.C0 = CFrame.new(-0.0500030518, 5.54602479e-008, -0.279999882, 1, -2.18556959e-008, -3.78551732e-008, -2.18556906e-008, 0.5, -0.866025388, 3.78551732e-008, 0.866025388, 0.5)
  573. w7.Part1 = p1
  574. w7.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  575. w8 = Instance.new("Weld", p8)
  576. w8.Name = "Joint"
  577. w8.Part0 = p8
  578. w8.C0 = CFrame.new(-0.0500030518, 7.03614091e-008, 0.280000061, 1, -2.18556959e-008, -3.78551732e-008, -2.18556906e-008, 0.5, -0.866025388, 3.78551732e-008, 0.866025388, 0.5)
  579. w8.Part1 = p1
  580. w8.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  581. w9 = Instance.new("Weld", p9)
  582. w9.Name = "Joint"
  583. w9.Part0 = p9
  584. w9.C0 = CFrame.new(-0.0500030518, 2.1856863e-009, 0.280000091, 1, -4.37113883e-008, -4.37113847e-008, -4.37113847e-008, 1.91068525e-015, -1, 4.37113883e-008, 1, 0)
  585. w9.Part1 = p1
  586. w9.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  587. w10 = Instance.new("Weld", p10)
  588. w10.Name = "Joint"
  589. w10.Part0 = p10
  590. w10.C0 = CFrame.new(-0.0500030518, -1.27154749e-008, -0.279999852, 1, -4.37113883e-008, -4.37113847e-008, -4.37113847e-008, 1.91068525e-015, -1, 4.37113883e-008, 1, 0)
  591. w10.Part1 = p1
  592. w10.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  593. w11 = Instance.new("Weld", p11)
  594. w11.Name = "Joint"
  595. w11.Part0 = p11
  596. w11.C0 = CFrame.new(-0.0500030518, -5.6298461e-008, -0.279999882, 1, -6.55670789e-008, -3.78551697e-008, -6.55670789e-008, -0.5, -0.866025388, 3.78551732e-008, 0.866025388, -0.5)
  597. w11.Part1 = p1
  598. w11.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  599. w12 = Instance.new("Weld", p12)
  600. w12.Name = "Joint"
  601. w12.Part0 = p12
  602. w12.C0 = CFrame.new(-0.0500030518, -6.37490416e-008, 0.280000061, 1, -6.55670789e-008, -3.78551697e-008, -6.55670789e-008, -0.5, -0.866025388, 3.78551732e-008, 0.866025388, -0.5)
  603. w12.Part1 = p1
  604. w12.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  605. w13 = Instance.new("Weld", p13)
  606. w13.Name = "Joint"
  607. w13.Part0 = p13
  608. w13.C0 = CFrame.new(-0.0500030518, -1.01001945e-007, -0.279999912, 1, -8.15665615e-008, -2.18556924e-008, -8.15665544e-008, -0.866025388, -0.5, 2.18556959e-008, 0.5, -0.866025388)
  609. w13.Part1 = p1
  610. w13.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  611. w14 = Instance.new("Weld", p14)
  612. w14.Name = "Joint"
  613. w14.Part0 = p14
  614. w14.C0 = CFrame.new(-0.0500030518, -1.08452525e-007, 0.280000031, 1, -8.15665615e-008, -2.18556924e-008, -8.15665544e-008, -0.866025388, -0.5, 2.18556959e-008, 0.5, -0.866025388)
  615. w14.Part1 = p1
  616. w14.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  617. m7.Parent = Torso
  618. m7:MakeJoints()
  619.  
  620. local HandleJ = Instance.new("Weld")
  621. HandleJ.Parent = p1
  622. HandleJ.Part0 = p1
  623. HandleJ.Part1 = RightArm
  624. HandleJ.C1 = cn(0,-0.75,0)*angles(math.rad(0), math.rad(0), math.rad(-90))
  625. Acthing(p1,"3270017",Vector3.new(.5,.5,.1),BrickColor.new("Really black"),"Fabric",cn(.55,0,0)*angles(math.rad(90), math.rad(0), math.rad(0)))
  626. local Handle = p1
  627. ----------------------------------------------------
  628.  
  629. local Light =Instance.new("PointLight",Handle)
  630. Light.Color = Color3.new(1, 1, 1)
  631. Light.Brightness = 2
  632. Light.Range = 10
  633. Light.Shadows = true
  634. local Light2 =Instance.new("SpotLight",RoHead)
  635. Light2.Color = Color3.new(1, 1, 1)
  636. Light2.Brightness = 1
  637. Light2.Range = 10
  638. Light2.Shadows = true
  639.  
  640. local RbxUtility = LoadLibrary("RbxUtility")
  641. local Create = RbxUtility.Create
  642. local Ang=Instance.new("Model")
  643. Ang.Name="Angles"
  644. Ang.Parent=Character
  645.  
  646. local rrx=Instance.new("NumberValue")
  647. rrx.Name="X"
  648. rrx.Parent=Ang
  649. rrx.Value=0
  650. local rry=Instance.new("NumberValue")
  651. rry.Name="Y"
  652. rry.Parent=Ang
  653. rry.Value=0
  654. local rrz=Instance.new("NumberValue")
  655. rrz.Name="Z"
  656. rrz.Parent=Ang
  657. rrz.Value=0
  658.  
  659. local SKILLTEXTCOLOR = Color3.new(0,0,0)
  660. local SKILLFONT = "Fantasy"
  661. local SKILLTEXTSIZE = 7.15
  662.  
  663.  
  664.  
  665. --[[
  666.  
  667. local SKILL1FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*1+.0125, 0, 0.825, 0), UDim2.new(0.23, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 1 Frame")
  668. local SKILL2FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*1+.0125, 0, 0.90, 0), UDim2.new(0.23, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 2 Frame")
  669. local SKILL3FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*2+.0075, 0, 0.90, 0), UDim2.new(0.23, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 3 Frame")
  670. local SKILL4FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*2+.0075, 0, 0.825, 0), UDim2.new(0.23, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 4 Frame")
  671. local SKILL5FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*1.5, 0, 0.75, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 5 Frame")
  672. ----------------------------------------------
  673. local SKILL1FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*1-.0015, 0, 0.825, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 1 Frame")
  674. local SKILL2FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*1-.0015, 0, 0.90, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 2 Frame")
  675. local SKILL3FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*2+.0015, 0, 0.90, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 3 Frame")
  676. local SKILL4FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*2+.0015, 0, 0.825, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 4 Frame")
  677. local SKILL5FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*1-.0015, 0, 0.75, 0), UDim2.new(0.15, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 5 Frame")
  678. local SKILL6FRAME = CreateFrame(WEAPONGUI, .5, 2, UDim2.new((1/4)*3-.1485, 0, 0.75, 0), UDim2.new(0.15, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 6 Frame")
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688. --]]
  689.  
  690.  
  691. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UDim2.new((1/4)*3+.0015, 0, 0.675, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 1 Frame")
  692. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UDim2.new((1/4)*3+.0015, 0, 0.75, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 2 Frame")
  693. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UDim2.new((1/4)*3+.0015, 0, 0.825, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 3 Frame")
  694. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UDim2.new((1/4)*3+.0015, 0, 0.90, 0), UDim2.new(0.25, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 4 Frame")
  695.  
  696. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UDim2.new((1/4)*3+.0015, 0, 0.6, 0), UDim2.new(0.125, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 5 Frame")
  697.  
  698. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UDim2.new((1/4)*3+.1285, 0, 0.6, 0), UDim2.new(0.125, 0, 0.07, 0), Color3.new(0,0,0), Color3.new(0, 0, 0), "Skill 6 Frame")
  699.  
  700.  
  701. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[V] Hollow Dream", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 1, 0, "Text 1")
  702. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[C] Meteor Rain", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 1, 0, "Text 2")
  703. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[X] Hollow Fire", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 1, 0, "Text 3")
  704. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[Z] Light Wave", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 1, 0, "Text 4")
  705. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[B] Hollow Shade", SKILLTEXTCOLOR, SKILLTEXTSIZE/1.18, SKILLFONT, 0, 1, 0, "Text 5")
  706. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[F] Shadow Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE/1.18, SKILLFONT, 0, 1, 0, "Text 6")
  707.  
  708. function RemoveOutlines(part)
  709. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  710. end
  711.  
  712.  
  713.  
  714.  
  715. CFuncs = {
  716. Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  717.  
  718. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  719. RemoveOutlines(Part)
  720. return Part
  721. end
  722. }
  723. ,
  724. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  725.  
  726. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  727. if Mesh == "SpecialMesh" then
  728. Msh.MeshType = MeshType
  729. Msh.MeshId = MeshId
  730. end
  731. return Msh
  732. end
  733. }
  734. ,
  735. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  736.  
  737. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  738. if Mesh == "SpecialMesh" then
  739. Msh.MeshType = MeshType
  740. Msh.MeshId = MeshId
  741. end
  742. return Msh
  743. end
  744. }
  745. ,
  746. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  747.  
  748. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  749. return Weld
  750. end
  751. }
  752. ,
  753. Sound = {Create = function(id, par, vol, pit)
  754.  
  755. coroutine.resume(coroutine.create(function()
  756.  
  757. local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = "http://www.roblox.com/asset/?id="..id, Parent = par or workspace})
  758. wait()
  759. S:play()
  760. game:GetService("Debris"):AddItem(S, 6)
  761. end
  762. ))
  763. end
  764. }
  765. ,
  766. ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  767.  
  768. local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
  769. return fp
  770. end
  771. }
  772. }
  773. Effects = {
  774. Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  775.  
  776. local prt = CFuncs.Part.Create(effectmodel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  777. prt.Anchored = true
  778. prt.CFrame = cframe
  779. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  780. game:GetService("Debris"):AddItem(prt, 10)
  781. if Type == 1 or Type == nil then
  782. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  783. else
  784. if Type == 2 then
  785. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  786. else
  787. table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh})
  788. end
  789. end
  790. end
  791. }
  792. ,
  793. Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  794.  
  795. local prt = CFuncs.Part.Create(effectmodel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  796. prt.Anchored = true
  797. prt.CFrame = cframe
  798. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  799. game:GetService("Debris"):AddItem(prt, 10)
  800. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  801. end
  802. }
  803. ,
  804. Cylinder = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  805.  
  806. local prt = CFuncs.Part.Create(effectmodel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  807. prt.Anchored = true
  808. prt.CFrame = cframe
  809. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  810. game:GetService("Debris"):AddItem(prt, 10)
  811. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  812. end
  813. }
  814. ,
  815. Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  816.  
  817. local prt = CFuncs.Part.Create(effectmodel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  818. prt.Anchored = true
  819. prt.CFrame = cframe
  820. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1/60, y1/60, z1/60))
  821. game:GetService("Debris"):AddItem(prt, 10)
  822. table.insert(Effects, {prt, "Cylinder", delay, x3/60, y3/60, z3/60, msh})
  823. end
  824. }
  825. ,
  826. Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  827.  
  828. local prt = CFuncs.Part.Create(effectmodel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  829. prt.Anchored = true
  830. prt.CFrame = cframe
  831. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  832. game:GetService("Debris"):AddItem(prt, 10)
  833. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  834. end
  835. }
  836. ,
  837. Break = {Create = function(brickcolor, cframe, x1, y1, z1)
  838.  
  839. local prt = CFuncs.Part.Create(effectmodel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  840. prt.Anchored = true
  841. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  842. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  843. local num = math.random(10, 50) / 1000
  844. game:GetService("Debris"):AddItem(prt, 10)
  845. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  846. end
  847. }
  848. }
  849.  
  850.  
  851. local Particle1 = Create("ParticleEmitter"){
  852. Color = ColorSequence.new(Color3.new (1,1,1), Color3.new (0, 0, 0)),
  853. Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.1,.8),NumberSequenceKeypoint.new(0.3,.6),NumberSequenceKeypoint.new(0.5,.2),NumberSequenceKeypoint.new(1,.8)}),
  854. Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.65),NumberSequenceKeypoint.new(0.25,.20),NumberSequenceKeypoint.new(0.7,.18),NumberSequenceKeypoint.new(1,0)}),
  855. Texture = "rbxassetid://118641183",
  856. Lifetime = NumberRange.new(0.95),
  857. Rate = 100,
  858. VelocitySpread = 60,
  859. Rotation = NumberRange.new(0),
  860. RotSpeed = NumberRange.new(-200,200),
  861. Speed = NumberRange.new(8.0),
  862. LightEmission = .6,
  863. LockedToPart = false,
  864. Acceleration = Vector3.new(0, 4, 0),
  865. EmissionDirection = "Top",
  866. Drag = 4,
  867. Enabled = false
  868. }
  869.  
  870. so = function(id, par, vol, pit)
  871.  
  872. CFuncs.Sound.Create(id, par, vol, pit)
  873.  
  874.  
  875. end
  876.  
  877. rayCast = function(Pos, Dir, Max, Ignore)
  878.  
  879. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  880. end
  881.  
  882. function swait(num)
  883. if num==0 or num==nil then
  884. --if Stagger.Value==false or Stun.Value<=100 then
  885. --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  886. script.Heartbeat.Event:wait()
  887. --end
  888. else
  889. for i=0,num do
  890. --Player.PlayerGui.Pacemaker.Heartbeat.Event:wait()
  891. script.Heartbeat.Event:wait()
  892. --[[if Stagger.Value==true or Stun.Value>=StunT.Value then
  893. break
  894. end]]
  895. end
  896. end
  897. end
  898. script:WaitForChild("Heartbeat")
  899.  
  900. frame = 1/60
  901. tf = 0
  902. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame2 or greater.
  903. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  904. lastframe = tick()
  905. script.Heartbeat:Fire() --ayy lmao
  906.  
  907. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  908. tf = tf + s
  909. if tf >= frame then
  910. if allowframeloss then
  911. script.Heartbeat:Fire()
  912. lastframe=tick()
  913. else
  914. ----print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame(math.floor(t/frame))))
  915. for i=1, math.floor(tf/frame) do
  916. script.Heartbeat:Fire()
  917. end
  918. lastframe=tick()
  919. end
  920. if tossremainder then
  921. tf = 0
  922. else
  923. tf = tf - frame * math.floor(tf/frame)
  924. end
  925. end
  926. end)
  927.  
  928. function clerp(a,b,t)
  929. local qa = {QuaternionFromCFrame(a)}
  930. local qb = {QuaternionFromCFrame(b)}
  931. local ax, ay, az = a.x, a.y, a.z
  932. local bx, by, bz = b.x, b.y, b.z
  933. local _t = 1-t
  934. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  935. end
  936.  
  937. function QuaternionFromCFrame(cf)
  938. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  939. local trace = m00 + m11 + m22
  940. if trace > 0 then
  941. local s = math.sqrt(1 + trace)
  942. local recip = 0.5/s
  943. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  944. else
  945. local i = 0
  946. if m11 > m00 then
  947. i = 1
  948. end
  949. if m22 > (i == 0 and m00 or m11) then
  950. i = 2
  951. end
  952. if i == 0 then
  953. local s = math.sqrt(m00-m11-m22+1)
  954. local recip = 0.5/s
  955. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  956. elseif i == 1 then
  957. local s = math.sqrt(m11-m22-m00+1)
  958. local recip = 0.5/s
  959. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  960. elseif i == 2 then
  961. local s = math.sqrt(m22-m00-m11+1)
  962. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  963. end
  964. end
  965. end
  966. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  967. local xs, ys, zs = x + x, y + y, z + z
  968. local wx, wy, wz = w*xs, w*ys, w*zs
  969. local xx = x*xs
  970. local xy = x*ys
  971. local xz = x*zs
  972. local yy = y*ys
  973. local yz = y*zs
  974. local zz = z*zs
  975. 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))
  976. end
  977. function QuaternionSlerp(a, b, t)
  978. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  979. local startInterp, finishInterp;
  980. if cosTheta >= 0.0001 then
  981. if (1 - cosTheta) > 0.0001 then
  982. local theta = math.acos(cosTheta)
  983. local invSinTheta = 1/math.sin(theta)
  984. startInterp = math.sin((1-t)*theta)*invSinTheta
  985. finishInterp = math.sin(t*theta)*invSinTheta
  986. else
  987. startInterp = 1-t
  988. finishInterp = t
  989. end
  990. else
  991. if (1+cosTheta) > 0.0001 then
  992. local theta = math.acos(-cosTheta)
  993. local invSinTheta = 1/math.sin(theta)
  994. startInterp = math.sin((t-1)*theta)*invSinTheta
  995. finishInterp = math.sin(t*theta)*invSinTheta
  996. else
  997. startInterp = t-1
  998. finishInterp = t
  999. end
  1000. end
  1001. 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
  1002. end
  1003. AirEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay,AirFollowPart,speed,AirEffectMode,Extra)
  1004.  
  1005. local prt = CreatePart(effectmodel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1006. prt.Anchored = true
  1007. prt.CFrame = cframe
  1008. prt.Material = "Neon"
  1009. if AirEffectMode == "3" then
  1010. prt.Material = "Neon"
  1011.  
  1012.  
  1013.  
  1014.  
  1015. --prt.Transparency = .01
  1016. end
  1017.  
  1018. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1019. game:GetService("Debris"):AddItem(prt, 10)
  1020. coroutine.resume(coroutine.create(function(Part, Mesh)
  1021. local SnowTiltX = math.random(-1, 1)
  1022. local SnowTiltY = math.random(-1, 1)
  1023. local SnowTiltZ = math.random(-1, 1)
  1024. local EGoto = AirFollowPart.CFrame.lookVector*speed
  1025. for i = 0, 6, delay do
  1026. swait()
  1027.  
  1028. Part.Transparency = i
  1029. if Part.Transparency > .9999 then
  1030. coroutine.resume(coroutine.create(function()
  1031.  
  1032. wait(.4) Part.Parent = nil
  1033. end))
  1034. end
  1035.  
  1036.  
  1037. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1038. if AirEffectMode == "1" then
  1039. Part.CFrame = Part.CFrame * angles(math.rad(SnowTiltX),math.rad(SnowTiltY),math.rad(SnowTiltZ))+EGoto
  1040. elseif AirEffectMode == "2" then
  1041. Part.CFrame = Part.CFrame+EGoto
  1042. elseif AirEffectMode == "3" then
  1043. if Extra ~= nil then
  1044. Part.CFrame = Part.CFrame * angles(math.rad(SnowTiltX*5),math.rad(SnowTiltY*5),math.rad(SnowTiltZ*5))+EGoto -Extra
  1045.  
  1046. else
  1047. Part.CFrame = Part.CFrame * angles(math.rad(SnowTiltX*5),math.rad(SnowTiltY*5),math.rad(SnowTiltZ*5))+EGoto
  1048.  
  1049.  
  1050. end
  1051. end
  1052. ---RootPart.Position+Vector3.new(0, math.random(-5, -4), 0)+RootPart.CFrame.lookVector*20
  1053. end
  1054. Part.Parent = nil
  1055. end
  1056. ), prt, msh)
  1057. end
  1058.  
  1059.  
  1060. ----------------------------------------------------------------------------------------------------------------------------------------
  1061.  
  1062. partF = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  1063. local fp = Instance.new("Part")
  1064. fp.formFactor = formfactor
  1065. fp.Parent = parent
  1066. fp.Reflectance = reflectance
  1067. fp.Transparency = transparency
  1068. fp.CanCollide = false
  1069. fp.Locked = true
  1070. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  1071. fp.Name = name
  1072. fp.Size = size
  1073. fp.Position = Character.Torso.Position
  1074. RemoveOutlines(fp)
  1075. fp.Material = material
  1076. fp:BreakJoints()
  1077. return fp
  1078. end
  1079.  
  1080. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1081. local prt = CreatePart( workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1082. prt.Anchored = true
  1083. prt.CFrame = cframe
  1084. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1085. game:GetService("Debris"):AddItem(prt, 10)
  1086. if Type == 1 or Type == nil then
  1087. table.insert(Effects, {
  1088. prt,
  1089. "Block1",
  1090. delay,
  1091. x3,
  1092. y3,
  1093. z3,
  1094. msh
  1095. })
  1096. elseif Type == 2 then
  1097. table.insert(Effects, {
  1098. prt,
  1099. "Block2",
  1100. delay,
  1101. x3,
  1102. y3,
  1103. z3,
  1104. msh
  1105. })
  1106. elseif Type == 3 then
  1107. table.insert(Effects, {
  1108. prt,
  1109. "Block3",
  1110. delay,
  1111. x3,
  1112. y3,
  1113. z3,
  1114. msh
  1115. })
  1116. end
  1117. end
  1118.  
  1119. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1120. local prt = CreatePart( workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1121. prt.Anchored = true
  1122. prt.CFrame = cframe
  1123. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1124. game:GetService("Debris"):AddItem(prt, 10)
  1125. table.insert(Effects, {
  1126. prt,
  1127. "Cylinder",
  1128. delay,
  1129. x3,
  1130. y3,
  1131. z3,
  1132. msh
  1133. })
  1134. end
  1135.  
  1136. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1137. local prt = CreatePart( workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1138. prt.Anchored = true
  1139. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  1140. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1141. game:GetService("Debris"):AddItem(prt, 10)
  1142. table.insert(Effects, {
  1143. prt,
  1144. "Cylinder",
  1145. delay,
  1146. x3,
  1147. y3,
  1148. z3,
  1149. msh
  1150. })
  1151. end
  1152.  
  1153. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1154. local prt = CreatePart( workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1155. prt.Anchored = true
  1156. prt.CFrame = cframe
  1157. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1158. game:GetService("Debris"):AddItem(prt, 10)
  1159. table.insert(Effects, {
  1160. prt,
  1161. "Cylinder",
  1162. delay,
  1163. x3,
  1164. y3,
  1165. z3,
  1166. msh
  1167. })
  1168. end
  1169.  
  1170. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1171. local prt = CreatePart( workspace,"Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1172. prt.Anchored = true
  1173. prt.CFrame = cframe
  1174. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1175. game:GetService("Debris"):AddItem(prt, 10)
  1176. table.insert(Effects, {
  1177. prt,
  1178. "Cylinder",
  1179. delay,
  1180. x3,
  1181. y3,
  1182. z3,
  1183. msh
  1184. })
  1185. end
  1186.  
  1187. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1188. local prt = CreatePart( workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1189. prt.Anchored = true
  1190. prt.CFrame = cframe
  1191. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1192. game:GetService("Debris"):AddItem(prt, 10)
  1193. table.insert(Effects, {
  1194. prt,
  1195. "Cylinder",
  1196. delay,
  1197. x3,
  1198. y3,
  1199. z3,
  1200. msh
  1201. })
  1202. end
  1203.  
  1204.  
  1205.  
  1206.  
  1207. function CreatePart( Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1208. local Part = Create("Part"){
  1209.  
  1210. Parent = Parent,
  1211. Reflectance = Reflectance,
  1212. Transparency = Transparency,
  1213. CanCollide = false,
  1214. Locked = true,
  1215. BrickColor = BrickColor.new(tostring(BColor)),
  1216. Name = Name,
  1217. Size = Size,
  1218. Material = Material,
  1219. }
  1220. RemoveOutlines(Part)
  1221. return Part
  1222. end
  1223.  
  1224. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1225. local Msh = Create(Mesh){
  1226. Parent = Part,
  1227. Offset = OffSet,
  1228. Scale = Scale,
  1229. }
  1230. if Mesh == "SpecialMesh" then
  1231. Msh.MeshType = MeshType
  1232. Msh.MeshId = MeshId
  1233. end
  1234. return Msh
  1235. end
  1236.  
  1237. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1238. local Weld = Create("Weld"){
  1239. Parent = Parent,
  1240. Part0 = Part0,
  1241. Part1 = Part1,
  1242. C0 = C0,
  1243. C1 = C1,
  1244. }
  1245. return Weld
  1246. end
  1247. function Tpfade(StartPart,TheTime)
  1248. naeeym2.Enabled = false
  1249. coroutine.resume(coroutine.create(function()
  1250. for _,v in pairs(StartPart:GetChildren()) do
  1251. coroutine.resume(coroutine.create(function()
  1252. if v:isA("BasePart") then
  1253. local OldTrans = v.Transparency
  1254. v.Transparency = 1
  1255. if TheTime ~= nil then
  1256. v.Transparency = .8
  1257. if v.Name == "Center" or v.Name == "Neon" or v.Name == "HumanoidRootPart" then
  1258. v.Transparency = 1
  1259. end
  1260. wait(TheTime) end
  1261. if v.Name == "Center" or v.Name == "Neon" then
  1262.  
  1263. wait(1)
  1264.  
  1265. v.Transparency = 0
  1266.  
  1267. swait(2)
  1268. v.Transparency = 1
  1269.  
  1270. wait()
  1271. v.Transparency = 0
  1272.  
  1273. swait(5)
  1274. v.Transparency = 1
  1275.  
  1276. wait()
  1277.  
  1278. v.Transparency = 0
  1279. if ShowTag == false then
  1280.  
  1281.  
  1282. naeeym2.Enabled = false
  1283.  
  1284.  
  1285.  
  1286. else
  1287.  
  1288.  
  1289.  
  1290. naeeym2.Enabled = true
  1291.  
  1292. end
  1293.  
  1294. else
  1295. if v.Name ~= "HumanoidRootPart" then
  1296. for i = 1,OldTrans,-.05 do swait()
  1297.  
  1298. v.Transparency = i-.05
  1299.  
  1300. end
  1301. end
  1302. end
  1303.  
  1304. end
  1305. end))
  1306. Tpfade(v,TheTime)
  1307.  
  1308. end
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314. end))
  1315. end
  1316. function Glitch1(StartPart,VF1,VF2,VF3,Mode)
  1317.  
  1318.  
  1319. if Mode == nil or Mode == "M1" then
  1320. coroutine.resume(coroutine.create(function()
  1321. for _,v in pairs(StartPart:GetChildren()) do
  1322. if v:isA("BasePart") then
  1323.  
  1324.  
  1325.  
  1326. local GlitchPart = Instance.new("Part",nil)
  1327. GlitchPart.Transparency = v.Transparency +.0
  1328. if v.Name == "Center" or v.Name == "Neon" then
  1329. GlitchPart.Transparency = 1
  1330.  
  1331. end
  1332. local OldTrans = GlitchPart.Transparency
  1333. local CF1 = v.CFrame
  1334. RemoveOutlines(GlitchPart)
  1335. GlitchPart.CanCollide = false
  1336. GlitchPart.Anchored = true
  1337. GlitchPart:BreakJoints()
  1338. GlitchPart.CFrame = v.CFrame
  1339. GlitchPart:BreakJoints()
  1340. GlitchPart.Size = v.Size
  1341.  
  1342. GlitchPart:BreakJoints()
  1343. GlitchPart.Color = Color3.new(0, 0, 0)
  1344. RemoveOutlines(GlitchPart)
  1345. --GlitchPart.Material = v.Material
  1346. GlitchPart.Material = "Neon"
  1347. for _,v2 in pairs(v:GetChildren()) do
  1348. if v2:isA("SpecialMesh") then
  1349. v2:Clone().Parent=GlitchPart
  1350. end
  1351. end
  1352.  
  1353.  
  1354. local LifeTime = math.random(300,300)
  1355. LifeTime=LifeTime/100
  1356.  
  1357. coroutine.resume(coroutine.create(function()
  1358.  
  1359. for T = OldTrans,2,.01 do swait()
  1360. GlitchPart.Transparency = OldTrans +T
  1361. end
  1362.  
  1363. end))
  1364. coroutine.resume(coroutine.create(function()
  1365. local loopnum1 = 0
  1366. local loopnum2 = VF2
  1367. local loopnum3 = VF3
  1368. wait()
  1369. GlitchPart.Parent = workspace
  1370. while GlitchPart.Parent ~= nil do swait()
  1371.  
  1372.  
  1373. -- loopnum2
  1374. -- loopnum3
  1375. -- coroutine.resume(coroutine.create(function()
  1376. GlitchPart.CFrame = GlitchPart.CFrame+Vector3.new(VF1*loopnum1,VF2*loopnum1,VF3*loopnum1)
  1377. loopnum1 = loopnum1 + .01
  1378.  
  1379. --end))
  1380. end
  1381. end))
  1382. game:GetService("Debris"):AddItem(GlitchPart, LifeTime)
  1383.  
  1384.  
  1385. end
  1386.  
  1387. Glitch1(v,VF1,VF2,VF3)
  1388. end
  1389.  
  1390. end))
  1391.  
  1392.  
  1393.  
  1394.  
  1395. elseif Mode == "M2" then
  1396. coroutine.resume(coroutine.create(function()
  1397. for _,v in pairs(StartPart:GetChildren()) do
  1398. if v:isA("BasePart") then
  1399.  
  1400.  
  1401.  
  1402. local GlitchPart = Instance.new("Part",nil)
  1403. GlitchPart.Transparency = 0
  1404. if v.Name == "Center" or v.Name == "Neon" or v.Name == "HumanoidRootPart" then
  1405. GlitchPart.Transparency = 1
  1406.  
  1407. end
  1408. local OldTrans = GlitchPart.Transparency
  1409. local CF1 = v.CFrame
  1410. RemoveOutlines(GlitchPart)
  1411. GlitchPart.CanCollide = false
  1412. GlitchPart.Anchored = true
  1413. GlitchPart:BreakJoints()
  1414. GlitchPart.CFrame = v.CFrame
  1415. GlitchPart:BreakJoints()
  1416. GlitchPart.Size = v.Size
  1417.  
  1418. GlitchPart:BreakJoints()
  1419. GlitchPart.Color = Color3.new(0, 0, 0)
  1420. RemoveOutlines(GlitchPart)
  1421. --GlitchPart.Material = v.Material
  1422. GlitchPart.Material = "Neon"
  1423. for _,v2 in pairs(v:GetChildren()) do
  1424. if v2:isA("SpecialMesh") then
  1425. v2:Clone().Parent=GlitchPart
  1426. end
  1427. end
  1428.  
  1429.  
  1430. local LifeTime = math.random(300,300)
  1431. LifeTime=LifeTime/100
  1432.  
  1433. coroutine.resume(coroutine.create(function()
  1434.  
  1435. for T = OldTrans,2,.01 do swait()
  1436. GlitchPart.Transparency = OldTrans +T
  1437. end
  1438.  
  1439. end))
  1440. coroutine.resume(coroutine.create(function()
  1441. local loopnum1 = 0
  1442. local loopnum2 = VF2
  1443. local loopnum3 = VF3
  1444. wait()
  1445. GlitchPart.Parent = workspace
  1446. while GlitchPart.Parent ~= nil do swait()
  1447.  
  1448.  
  1449. -- loopnum2
  1450. -- loopnum3
  1451. -- coroutine.resume(coroutine.create(function()
  1452. GlitchPart.CFrame = GlitchPart.CFrame+Vector3.new(VF1*loopnum1,VF2*loopnum1,VF3*loopnum1)
  1453. loopnum1 = loopnum1 + .01
  1454.  
  1455. --end))
  1456. end
  1457. end))
  1458. game:GetService("Debris"):AddItem(GlitchPart, LifeTime)
  1459.  
  1460.  
  1461. end
  1462.  
  1463. Glitch1(v,VF1,VF2,VF3,Mode)
  1464. end
  1465.  
  1466. end))
  1467.  
  1468.  
  1469.  
  1470. end
  1471. end
  1472. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1473.  
  1474. if hit.Parent == nil then
  1475. return
  1476. end
  1477. local h = hit.Parent:FindFirstChild("Humanoid")
  1478. for _,v in pairs(hit.Parent:children()) do
  1479. if v:IsA("Humanoid") then
  1480. h = v
  1481. end
  1482. end
  1483.  
  1484.  
  1485.  
  1486.  
  1487.  
  1488. --local FoundTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1489.  
  1490.  
  1491.  
  1492. if h ~= nil and hit.Parent ~= Character and hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1493. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1494. return
  1495. end
  1496. local c = Create("ObjectValue")({Name = "creator", Value = Player, Parent = h})
  1497. game:GetService("Debris"):AddItem(c, 0.5)
  1498. if HitSound ~= nil and HitPitch ~= nil then
  1499. so(HitSound, hit, 1, HitPitch)
  1500. end
  1501. local Damage = math.random(minim, maxim)
  1502. local blocked = false
  1503. local block = hit.Parent:findFirstChild("Block")
  1504. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1505. blocked = true
  1506. block.Value = block.Value - 1
  1507. print(block.Value)
  1508. end
  1509. if blocked == false then
  1510. h.Health = h.Health - Damage
  1511. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1512. else
  1513. h.Health = h.Health - Damage / 2
  1514. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1515. end
  1516.  
  1517. if Type == "Knockdown" then
  1518. local hum = hit.Parent.Humanoid
  1519. hum.PlatformStand = true
  1520. coroutine.resume(coroutine.create(function(HHumanoid)
  1521.  
  1522. swait(.2)
  1523. HHumanoid.PlatformStand = false
  1524. end
  1525. ), hum)
  1526. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1527. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 50, maxForce = Vector3.new(80000, 80000, 80000), Parent = hit})
  1528. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  1529. game:GetService("Debris"):AddItem(bodvol, 0.2)
  1530. game:GetService("Debris"):AddItem(rl, 0.2)
  1531. elseif Type == "Normal" then
  1532. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback})
  1533. if knockback > 0 then
  1534.  
  1535. local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1536. vp.Parent = HTorso
  1537. end
  1538. game:GetService("Debris"):AddItem(vp, 0.5)
  1539. elseif Type == "Normal2" then
  1540.  
  1541.  
  1542. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback})
  1543. if knockback > 0 then
  1544. local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1545. vp.Parent = HTorso
  1546. coroutine.resume(coroutine.create(function()
  1547.  
  1548. end))
  1549.  
  1550. local SValue = 1.5
  1551.  
  1552. local randomcf = cn(math.random(-1, 1)/7,math.random(-1, 1)/7,0)
  1553.  
  1554. end
  1555. game:GetService("Debris"):AddItem(vp, 0.5)
  1556. elseif Type == "Impale" then
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, .8, 2)
  1566. hit.Parent.Humanoid.PlatformStand = true
  1567.  
  1568.  
  1569. swait(1)
  1570. hit.Parent.Humanoid.PlatformStand = false
  1571.  
  1572. elseif Type == "Stone" then
  1573. local hashum=false
  1574. local HitModel = nil
  1575.  
  1576. HitModel = hit.Parent
  1577.  
  1578. if hit.Parent:isA("Accessory") or hit.Parent:isA("Hat") then
  1579. HitModel = hit.Parent.Parent
  1580. end
  1581.  
  1582. coroutine.resume(coroutine.create(function()
  1583.  
  1584. for _,v in pairs(HitModel:GetChildren()) do
  1585.  
  1586. if v:isA("Humanoid") then
  1587. hashum=true
  1588. local FoundTorso = HitModel:FindFirstChild("Torso") or HitModel:FindFirstChild("UpperTorso")
  1589.  
  1590.  
  1591. --RootPart.Anchored = true
  1592.  
  1593. so("331666014 ",Handle,.5,1.2)
  1594.  
  1595.  
  1596. so("588706798 ",Handle,1,0.8)
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603. local ST = Create("Model"){
  1604. Parent = workspace,
  1605. Name = "Statue of "..HitModel.Name
  1606. }
  1607.  
  1608. for _,v2 in pairs(HitModel:GetChildren()) do
  1609. if v2:isA("BasePart") and v2.Name == "HumanoidRootPart" then
  1610. -- v2.Anchored = true
  1611.  
  1612. end
  1613.  
  1614. --v.Parent:BreakJoints()
  1615.  
  1616. if v2:isA("BasePart") and v2.Name ~= "HumanoidRootPart" then
  1617.  
  1618. --w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  1619. local StonePart = Create("Part"){
  1620. Parent = ST,
  1621. Material = "Concrete",
  1622. Reflectance = 0,
  1623. Transparency = 0,
  1624. Name = v2.Name,
  1625. Size = v2.Size,
  1626. Locked = true,
  1627. CanCollide = true,
  1628. CFrame = v2.CFrame,
  1629. Anchored = true
  1630. }
  1631.  
  1632.  
  1633.  
  1634.  
  1635. for _,v3 in pairs(v2:GetChildren()) do
  1636. if v3:isA("SpecialMesh") then
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644. v3:Clone().Parent=StonePart
  1645.  
  1646.  
  1647. end
  1648. end
  1649.  
  1650.  
  1651.  
  1652. end
  1653.  
  1654. if v2:isA("Accessory") then
  1655. for _,v4 in pairs(v2:GetChildren()) do
  1656. if v4:isA("BasePart") then
  1657.  
  1658.  
  1659. local StonePart = Create("Part"){
  1660. Parent = ST,
  1661. Material = "Concrete",
  1662. Reflectance = 0,
  1663. Transparency = 0,
  1664. Name = v4.Name,
  1665. Size = v4.Size,
  1666. Locked = true,
  1667. CanCollide = true,
  1668. CFrame = v4.CFrame,
  1669. Anchored = true
  1670. }
  1671.  
  1672.  
  1673. for _,v3 in pairs(v4:GetChildren()) do
  1674. if v3:isA("SpecialMesh") then
  1675.  
  1676.  
  1677.  
  1678. coroutine.resume(coroutine.create(function()
  1679. v3.TextureId = "http://www.roblox.com/asset/?id=1693385655"
  1680.  
  1681. v3.VertexColor = Vector3.new(163/255, 162/255, 165/255)
  1682.  
  1683. end))
  1684.  
  1685. v3:Clone().Parent=StonePart
  1686.  
  1687.  
  1688. end
  1689. end
  1690. end
  1691. end
  1692. end
  1693.  
  1694.  
  1695.  
  1696. end
  1697.  
  1698. local STFoundTorso = ST:FindFirstChild("Torso") or ST:FindFirstChild("UpperTorso")
  1699. for _,v3 in pairs(ST:GetChildren()) do
  1700.  
  1701. local STW=weld(v3,v3,STFoundTorso,STFoundTorso.CFrame:toObjectSpace(v3.CFrame):inverse() )
  1702. v3.Anchored = false
  1703.  
  1704.  
  1705. end
  1706.  
  1707.  
  1708.  
  1709.  
  1710. v.Parent:BreakJoints()
  1711. v.Parent.Parent = nil
  1712.  
  1713. for _,v2 in pairs(game:GetService("Players"):GetChildren()) do
  1714. if v2:isA("Player") then
  1715. if v2.Character == HitModel then
  1716.  
  1717. end
  1718. end
  1719. end
  1720.  
  1721.  
  1722.  
  1723. wait(1)
  1724.  
  1725.  
  1726.  
  1727.  
  1728. end
  1729.  
  1730. end
  1731.  
  1732. end))
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738.  
  1739. elseif Type == "Up" then
  1740. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1741. game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
  1742. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1743. game:GetService("Debris"):AddItem(bodyVelocity, .1)
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751. elseif Type == "Snare" then
  1752. local bp = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  1753. game:GetService("Debris"):AddItem(bp, 1)
  1754.  
  1755.  
  1756.  
  1757. elseif Type == "Freeze2" then
  1758. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  1759. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  1760. hit.Parent.Torso.Anchored = true
  1761. coroutine.resume(coroutine.create(function(Part)
  1762.  
  1763. swait(1.5)
  1764. Part.Anchored = false
  1765. end
  1766. ), hit.Parent.Torso)
  1767. game:GetService("Debris"):AddItem(BodPos, 3)
  1768. game:GetService("Debris"):AddItem(BodGy, 3)
  1769. end
  1770. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  1771. game:GetService("Debris"):AddItem(debounce, Delay)
  1772. c = Instance.new("ObjectValue")
  1773. c.Name = "creator"
  1774. c.Value = Player
  1775. c.Parent = h
  1776. game:GetService("Debris"):AddItem(c, 0.5)
  1777. end
  1778. end
  1779.  
  1780. ShowDamage = function(Pos, Text, Time, Color)
  1781.  
  1782. local Rate = 0.033333333333333
  1783. if not Pos then
  1784. local Pos = Vector3.new(0, 0, 0)
  1785. end
  1786. local Text = Text or ""
  1787. local Time = Time or 2
  1788. if not Color then
  1789. local Color = Color3.new(1, 0, 1)
  1790. end
  1791. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1792. EffectPart.Anchored = true
  1793. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  1794. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  1795. game.Debris:AddItem(EffectPart, Time + 0.1)
  1796. EffectPart.Parent = game:GetService("Workspace")
  1797. delay(0, function()
  1798.  
  1799. local Frames = Time / Rate
  1800. for Frame = 1, Frames do
  1801. wait(Rate)
  1802. local Percent = Frame / Frames
  1803. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1804. TextLabel.TextTransparency = Percent
  1805. end
  1806. if EffectPart and EffectPart.Parent then
  1807. EffectPart:Destroy()
  1808. end
  1809. end
  1810. )
  1811. end
  1812.  
  1813. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  1814.  
  1815. for _,c in pairs(workspace:children()) do
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821. local hum = c:FindFirstChild("Humanoid")
  1822. for _,v in pairs(c:children()) do
  1823. if v:IsA("Humanoid") then
  1824. hum = v
  1825. end
  1826. end
  1827.  
  1828.  
  1829.  
  1830.  
  1831. if hum ~= nil then
  1832. local head = c:findFirstChild("Head")
  1833. if head ~= nil then
  1834. local targ = head.Position - Part.Position
  1835. local mag = targ.magnitude
  1836. if mag <= magni and c.Name ~= Player.Name then
  1837. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "851453784", 1.2)
  1838. end
  1839. end
  1840. end
  1841. end
  1842. end
  1843. HitboxFunction = function(Pose,lifetime,siz1,siz2,siz3,Radie,Min,Max,kb,atype)
  1844.  
  1845. Hitboxpart = Instance.new("Part",effectmodel)
  1846. RemoveOutlines(Hitboxpart)
  1847. Hitboxpart.Size = Vector3.new(siz1,siz2,siz3)
  1848. Hitboxpart.CanCollide = false
  1849. Hitboxpart.Transparency = 1
  1850. Hitboxpart.Anchored = true
  1851. Hitboxpart.CFrame = Pose
  1852. game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1853. MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1854.  
  1855. end
  1856.  
  1857.  
  1858. ----------------------------------------------------------------------------------------------------------------------------------------
  1859. local RW=weld(Torso,Torso,RightArm,cf(0,0,0))
  1860.  
  1861. local LW=weld(Torso,Torso,LeftArm,cf(0,0,0))
  1862.  
  1863. local RH=weld(Torso,Torso,RightLeg,cf(0,0,0))
  1864.  
  1865. local LH=weld(Torso,Torso,LeftLeg,cf(0,0,0))
  1866.  
  1867.  
  1868.  
  1869. RW.C1 = cn(0, 0.5, 0)
  1870. LW.C1 = cn(0, 0.5, 0)
  1871. RH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1872. LH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  1873.  
  1874.  
  1875. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1876. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886. function JumpAfterEffect()
  1887. if attack == false then
  1888. attack = true
  1889.  
  1890.  
  1891.  
  1892. if sprintmode == true then
  1893. Humanoid.WalkSpeed= 10
  1894. else
  1895. Humanoid.WalkSpeed= 3
  1896. end
  1897. Humanoid.JumpPower= 0
  1898. for i = 1,2.4,.1 do
  1899. swait()
  1900. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(10)),.1)
  1901. Neck.C0 = Neck.C0:lerp(NeckCF*CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(25-3 * math.cos(sine / 15)),math.rad(0),math.rad(0)),.1)
  1902. RJ.C0 = RJ.C0:lerp(RootCF*CFrame.new(0, .3, -.6 +-.05 * math.cos(sine / 15.5)) * CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1903. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(15 + 0 * math.cos(sine / 8))), 0.1)
  1904. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-15 - 2 * math.cos(sine / 8))), 0.1)
  1905. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1906. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.65+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1907. end
  1908.  
  1909.  
  1910. attack = false
  1911. end
  1912. end
  1913. s2.SoundId = lastid
  1914. s2:play()
  1915. ----------------------------------------------------------------------------------------------------------------------------------
  1916. shoottraildd2 = function(AttackGotoValue,AttackGoto,AttackSize,ATime)
  1917. -- local AttackGotoValue = RootPart.CFrame.lookVector*3
  1918. --local AttackGoto = RootPart.CFrame * cn(0,4,-3)
  1919. coroutine.resume(coroutine.create(function()
  1920. --local AttackSize = 30
  1921. local AttackSize2 = AttackSize/10
  1922. for i = 0,AttackSize do
  1923. AttackGoto = AttackGoto + AttackGotoValue
  1924.  
  1925.  
  1926. local AttackHitpart = Instance.new("Part")
  1927. AttackHitpart.CFrame = AttackGoto
  1928. game:GetService("Debris"):AddItem(AttackHitpart, 0.2)
  1929.  
  1930. local AttackHitpart2 = Instance.new("Part")
  1931. AttackHitpart2.CFrame = AttackHitpart.CFrame*angles(math.rad(-45),math.rad(0),math.rad(0))
  1932. game:GetService("Debris"):AddItem(AttackHitpart2, .5)
  1933. local orenx = AttackHitpart2.Orientation.x
  1934. local oreny = AttackHitpart2.Orientation.y
  1935. local orenz = AttackHitpart2.Orientation.z
  1936. local orenxyz = AttackHitpart2.Orientation
  1937.  
  1938.  
  1939.  
  1940. local hit, pos = rayCast(AttackHitpart.Position, (CFrame.new(AttackHitpart.Position, AttackHitpart.Position - Vector3.new(0, 1, 0))).lookVector, 40, Character)
  1941. if hit ~= nil then
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954. local Color = hit.BrickColor
  1955. local refpart = partF(3, workspace, "SmoothPlastic", 1, 1, "Really black", "Effect", Vector3.new())
  1956. refpart.Anchored = true
  1957. refpart.CFrame = cn(pos)
  1958. game:GetService("Debris"):AddItem(refpart, 1)
  1959.  
  1960. --[[
  1961. for i = 1, math.random(0,1) do
  1962.  
  1963. local Color = hit.BrickColor
  1964. local Materials = hit.Material
  1965. local groundpart = partF(3, workspace, "SmoothPlastic", 0, 0, Color, "Ground", Vector3.new(math.random(25, 50) / 120, math.random(25, 50) / 120, math.random(25, 50) / 120))
  1966. groundpart.Anchored = false
  1967. groundpart.Material = Materials
  1968. groundpart.CanCollide = false
  1969. groundpart.Friction = 0.1
  1970. groundpart.Velocity = Vector3.new(math.random(-10, 10), math.random((10-i/AttackSize2)*2.5, (10-i/AttackSize2)*5), math.random(-10, 10))
  1971. groundpart.CFrame = cn(pos) * cn(math.random(-250, 250) / 100, 0.5, math.random(-250, 250) / 100) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1972. game:GetService("Debris"):AddItem(groundpart, 1.5)
  1973.  
  1974. end
  1975. --]]
  1976.  
  1977. -------------------------------------------------
  1978. AttackHitpart.CFrame = CFrame.new(pos)
  1979. AttackHitpart2.CFrame = AttackHitpart.CFrame
  1980. AttackHitpart2.Orientation=orenxyz
  1981. --HitboxFunction(AttackHitpart.CFrame,.3,.1,.1,.1,0,0,0,10,"Normal")
  1982. CFuncs.Sound.Create("331888892", refpart,.2, 1.8)
  1983. BlockEffect(BrickColor.new("Really black"), AttackHitpart.CFrame*cn(0,-.0,0), 1, 1, 1, 12-i/AttackSize2, 12-i/AttackSize2, 12-i/AttackSize2, 0.05,1)
  1984. --print(i)
  1985. --BlockEffect(BrickColor.new("Really black"), AttackHitpart2.CFrame, 1, (AttackSize*20/1.5)-(i*20/1.5), 10, 0, -((AttackSize*10/1.5)-(i*10/1.5)), 0, 0.3,2)
  1986.  
  1987.  
  1988. Effects.Break.Create (BrickColor.new("White"), AttackHitpart.CFrame, 5-i/AttackSize2/2, .2, .2)
  1989. Effects.Sphere.Create(BrickColor.new("White"),AttackHitpart2.CFrame, (10-i/AttackSize2)*10,(10-i/AttackSize2)*100/2, (10-i/AttackSize2)*100/2, -(10-i/AttackSize2)*0.55,(10-i/AttackSize2)*20.5,-(10-i/AttackSize2)*5.5/2, 0.05)
  1990. MagniDamage(AttackHitpart, 12-i/AttackSize2,(AttackSize-AttackSize2*i/AttackSize2)*1.4,(AttackSize-AttackSize2*i/AttackSize2)*1.4, 0, "Knockdown")
  1991. end
  1992. swait(ATime)
  1993. end
  1994. end))
  1995. end
  1996.  
  1997.  
  1998. Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1999.  
  2000. local prt = CreatePart(effectmodel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2001. prt.Anchored = true
  2002. prt.CFrame = cframe
  2003. prt.Material = "Neon"
  2004. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2005. game:GetService("Debris"):AddItem(prt, 10)
  2006. coroutine.resume(coroutine.create(function(Part, Mesh)
  2007.  
  2008. for i = 0, 6, delay do
  2009. swait()
  2010. Part.Transparency = i
  2011. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  2012. end
  2013. Part.Parent = nil
  2014. end
  2015. ), prt, msh)
  2016. end
  2017.  
  2018. Metior = function(mouse, partt, SpreadAmount)
  2019.  
  2020. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount/10, SpreadAmount/10), math.random(-SpreadAmount, SpreadAmount))
  2021. local MainPos = partt
  2022. local MainPos2 = mouse + SpreadVectors
  2023. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  2024. local speed = 5
  2025. local num = 200
  2026. coroutine.resume(coroutine.create(function()
  2027.  
  2028. repeat
  2029. swait()
  2030. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  2031. local mag = (MainPos - pos).magnitude
  2032. --Laser(BrickColor.new("White"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1*4, mag * (speed / (speed / 2)), 1*4, -0.4*4, 0, -0.4*4, .4)
  2033. local refpart2 = CreatePart(effectmodel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2034. refpart2.Anchored = true
  2035. refpart2.CFrame = CFrame.new(pos,MainPos)
  2036. coroutine.resume(coroutine.create(function()
  2037. BlockEffect(BrickColor.new("Really black"), CFrame.new(MainPos), 1, 1, 1, 12, 12, 12, 0.08,1)
  2038.  
  2039. AirEffect(BrickColor.new("White"), CFrame.new(MainPos),1, mag * (speed / (speed / 2)),1, -.7, 1, -.7, 0.08,refpart2,-2.8,"2")
  2040.  
  2041. refpart2:Destroy()
  2042. end))
  2043. MainPos = MainPos + MouseLook.lookVector * speed
  2044. num = num - 1
  2045. MouseLook = MouseLook * angles(math.rad(-0), 0, 0)
  2046. if hit ~= nil then
  2047. num = 0
  2048. local refpart = CreatePart(effectmodel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2049. refpart.Anchored = true
  2050. refpart.CFrame = CFrame.new(pos)
  2051. game:GetService("Debris"):AddItem(refpart, 2)
  2052. end
  2053. do
  2054. if num <= 0 then
  2055. local refpart = CreatePart(effectmodel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2056. refpart.Anchored = true
  2057. refpart.CFrame = CFrame.new(pos)
  2058. if hit ~= nil then
  2059.  
  2060.  
  2061.  
  2062.  
  2063. -- Effects.Sphere.Create( BrickColor.new("Really black"), refpart.CFrame * cn(0, 0, 0), 60, 0.05, 60, -10,-0,-10, 0.15)
  2064. Effects.Sphere.Create( BrickColor.new("White"), refpart.CFrame * cn(0, 0, 0), 200, 200, 200, 10,10,10, 0.01)
  2065. Effects.Sphere.Create( BrickColor.new("White"), refpart.CFrame * cn(0, 0, 0), 200, 1, 200, 20,0,20, 0.01)
  2066. local SValue = 2.5
  2067. local SValue2 = 7.5
  2068. local STime = 0.035
  2069. local STime2 = 0.028
  2070. coroutine.resume(coroutine.create(function()
  2071. for i = 0,8 do
  2072. AirEffect(BrickColor.new("White"), refpart.CFrame * cn(math.random(-10,10)*0,math.random(-10,10)*0,math.random(-10,10)*0)* CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),.5*SValue,.5*SValue,5*SValue, 0,0, SValue2*2, STime,RootPart,.0,"1")
  2073. end end))
  2074. coroutine.resume(coroutine.create(function()
  2075.  
  2076. for i = 0,math.random(30,35)/6.8 do swait(15)
  2077. Effects.Sphere.Create( BrickColor.new("White"), refpart.CFrame * cn(math.random(-5, 5)*1*i, math.random(-5, 5)*1*i, math.random(-5, 5)*1*i), 60, 60, 60, -30,-30,-30, 0.08)
  2078. MagniDamage(refpart, i*8, 10, 15, 0, "Knockdown")
  2079. end end))
  2080. CFuncs.Sound.Create("476476933", refpart,2, 0.8)
  2081. end
  2082. game:GetService("Debris"):AddItem(refpart, 5)
  2083. end
  2084. end
  2085. until num <= 0
  2086. end
  2087. ))
  2088. end
  2089.  
  2090.  
  2091.  
  2092. shoottraildd = function(mouse, partt, SpreadAmount)
  2093.  
  2094. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount/10, SpreadAmount/10), math.random(-SpreadAmount, SpreadAmount))
  2095. local MainPos = partt.Position
  2096. local MainPos2 = mouse + SpreadVectors
  2097. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  2098. local speed = 10
  2099. local num = 100
  2100. coroutine.resume(coroutine.create(function()
  2101.  
  2102. repeat
  2103. swait()
  2104. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  2105. local mag = (MainPos - pos).magnitude
  2106. Laser(BrickColor.new("White"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.4, 0, -0.4, .4)
  2107. MainPos = MainPos + MouseLook.lookVector * speed
  2108. num = num - 1
  2109. MouseLook = MouseLook * angles(math.rad(-0), 0, 0)
  2110. if hit ~= nil then
  2111. num = 0
  2112. local refpart = CreatePart(effectmodel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2113. refpart.Anchored = true
  2114. refpart.CFrame = CFrame.new(pos)
  2115. game:GetService("Debris"):AddItem(refpart, 2)
  2116. end
  2117. do
  2118. if num <= 0 then
  2119. local refpart = CreatePart(effectmodel, "Neon", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  2120. refpart.Anchored = true
  2121. refpart.CFrame = CFrame.new(pos)
  2122. if hit ~= nil then
  2123.  
  2124.  
  2125.  
  2126.  
  2127. -- Effects.Sphere.Create( BrickColor.new("Really black"), refpart.CFrame * cn(0, 0, 0), 60, 0.05, 60, -10,-0,-10, 0.15)
  2128. Effects.Sphere.Create( BrickColor.new("Really black"), refpart.CFrame * cn(0, 0, 0), 1, 1, 1, 30,30,30, 0.06)
  2129. local SValue = .5
  2130. local SValue2 = 2
  2131. local STime = 0.055
  2132. local STime2 = 0.028
  2133. coroutine.resume(coroutine.create(function()
  2134. for i = 0,math.random(1,4) do
  2135. AirEffect(BrickColor.new("White"), refpart.CFrame * cn(math.random(-10,10)*0,math.random(-10,10)*0,math.random(-10,10)*0),.1*SValue,.1*SValue,1*SValue, 0,0, SValue2*2, STime,RootPart,.0,"3")
  2136. end end))
  2137. coroutine.resume(coroutine.create(function()
  2138. MagniDamage(refpart, 10, 15, 20, 10, "Normal")
  2139. for i = 0,math.random(1,3) do swait(1)
  2140. Effects.Sphere.Create( BrickColor.new("White"), refpart.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 60, 60, 60, -10,-10,-10, 0.05)
  2141. --MagniDamage(refpart, 6, 10, 15, 0, "Slice")
  2142. end end))
  2143. --MagniDamage(refpart, 6, 30, 45, 0, "Slice")
  2144. end
  2145. game:GetService("Debris"):AddItem(refpart, 0)
  2146. end
  2147. end
  2148. until num <= 0
  2149. end
  2150. ))
  2151. end
  2152. --------------------------------------------[ Attacks ]---------------------------------------------------------------------------
  2153. Attack1 = function()
  2154. change = 0.5
  2155. attack = true
  2156.  
  2157.  
  2158. local FlyN1 = -0.1
  2159. local FlyN2 = 0.0395
  2160. local FlyN3 = 12
  2161. if FlyA == true then
  2162. FlyN1 = 2.1
  2163. FlyN2 = 0.2
  2164. FlyN3 = 8*2
  2165. change = 0.6
  2166. end RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2167. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2168.  
  2169.  
  2170.  
  2171. -- shoottraildd2(RootPart.CFrame.lookVector*10, RootPart.CFrame * cn(0,4,-3), 20,0)
  2172. for i = 0,1.0,.1 do
  2173. swait()
  2174. Humanoid.WalkSpeed = .01
  2175. Humanoid.JumpPower = 0
  2176. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(30)), .15)
  2177. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-30)), .25)
  2178. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(20 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
  2179. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-0 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
  2180. if FlyA == false then
  2181. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  2182. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  2183. else
  2184. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2185. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2186. end
  2187. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(20 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
  2188.  
  2189. end
  2190. for i = 0,1.0,.1 do
  2191. swait()
  2192. Humanoid.WalkSpeed = .01
  2193. Humanoid.JumpPower = 0
  2194. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
  2195. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
  2196. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
  2197. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
  2198. if FlyA == false then
  2199. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  2200. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  2201. else
  2202. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2203. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2204. end
  2205. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(80 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
  2206.  
  2207. end
  2208. local SValue = .5
  2209. local SValue2 = 0.5
  2210. local STime = 0.055
  2211. local STime2 = 0.028
  2212. coroutine.resume(coroutine.create(function()
  2213. --CFuncs.Sound.Create("233856115", Handle,2, 0.8)
  2214. CFuncs.Sound.Create("331888892", Handle,2, 0.7)
  2215. for i = 0,3 do
  2216. AirEffect(BrickColor.new("White"), Handle.CFrame * cn(math.random(-10,10)*.05,math.random(-10,10)*.05,math.random(-10,10)*.05),.1*SValue,.1*SValue,.1*SValue, SValue2*2,SValue2*2, SValue2*2, STime,RootPart,.2,"3")
  2217. end
  2218. end))
  2219. for i = 0,0.5,.1 do
  2220. swait()
  2221. Humanoid.WalkSpeed = .01
  2222. Humanoid.JumpPower = 0
  2223. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
  2224. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
  2225. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
  2226. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
  2227. if FlyA == false then
  2228. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  2229. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  2230. else
  2231. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2232. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2233. end
  2234. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(90 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
  2235.  
  2236. end
  2237. shoottraildd2(RootPart.CFrame.lookVector*5, RootPart.CFrame * cn(0,4,-3), 30,2)
  2238.  
  2239. for i = 0,5,.1 do
  2240. swait()
  2241. Humanoid.WalkSpeed = .01
  2242. Humanoid.JumpPower = 0
  2243. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
  2244. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
  2245. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
  2246. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
  2247. if FlyA == false then
  2248. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  2249. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  2250. else
  2251. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2252. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2253. end
  2254. HandleJ.C0= HandleJ.C0:lerp( cn(-0.85,0,.0)*angles(math.rad(0), math.rad(90 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.2)
  2255.  
  2256. end
  2257. attack = false
  2258. end
  2259. ---------------------------------------------------------------------------------------------
  2260. Attack2 = function()
  2261. change = 0.5
  2262. attack = true
  2263.  
  2264.  
  2265.  
  2266. CFuncs.Sound.Create("416200578", Handle,2, 1.1)
  2267. for i = 0,1.0,.1 do
  2268. swait()
  2269. Humanoid.WalkSpeed = .01
  2270. Humanoid.JumpPower = 0
  2271. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 12)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
  2272. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
  2273. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
  2274. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
  2275. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  2276. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  2277. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(80 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
  2278.  
  2279. end
  2280.  
  2281. for i = 0,1.0,.1 do
  2282. swait()
  2283. Humanoid.WalkSpeed = .01
  2284. Humanoid.JumpPower = 0
  2285. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 12)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
  2286. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
  2287. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
  2288. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
  2289. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  2290. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  2291. HandleJ.C0= HandleJ.C0:lerp( cn(10.75,0,0)*angles(math.rad(0), math.rad(80 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.2)
  2292.  
  2293. end
  2294.  
  2295. coroutine.resume(coroutine.create(function()
  2296. for i = 0,5 do
  2297.  
  2298. for i = 0,0.5,.1 do
  2299. swait()
  2300. Humanoid.WalkSpeed = 0
  2301. Humanoid.JumpPower = 0
  2302. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 12)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
  2303. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-3.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
  2304. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
  2305. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
  2306. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  2307. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  2308. HandleJ.C0= HandleJ.C0:lerp( cn(10.75,0,0)*angles(math.rad(0), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
  2309.  
  2310. end
  2311.  
  2312.  
  2313. Effects.Sphere.Create( BrickColor.new("White"), Handle.CFrame * cn(math.random(-5, 5)*0, math.random(-5, 5)*0, math.random(-5, 5)*0), 60, 60, 60, -10,-10,-10, 0.05)
  2314. CFuncs.Sound.Create("331666014", Handle,2, 1.5)
  2315. shoottraildd(MHIT.p, Handle, 1)
  2316. for i = 0,2.0,.1 do
  2317. swait()
  2318. Humanoid.WalkSpeed = 0
  2319. Humanoid.JumpPower = 0
  2320. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 12)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
  2321. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-3.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
  2322. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
  2323. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
  2324. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  2325. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  2326. HandleJ.C0= HandleJ.C0:lerp( cn(10.75,0,0)*angles(math.rad(i*250), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(0)),.3)
  2327.  
  2328. end end
  2329. for i = 0,0.5,.1 do
  2330. swait()
  2331. Humanoid.WalkSpeed = .01
  2332. Humanoid.JumpPower = 0
  2333. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 12)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
  2334. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
  2335. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.2)
  2336. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
  2337. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  2338. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  2339. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(80 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
  2340.  
  2341. end
  2342. attack = false
  2343. end))
  2344.  
  2345.  
  2346. end
  2347. ---------------------------------------------------------------------------------------------
  2348. Attack3 = function()
  2349. attack = true
  2350. local ThisAT = true
  2351. CFuncs.Sound.Create("160740121", Handle,2, 1)
  2352.  
  2353. local hitfloor2,pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2354.  
  2355.  
  2356. Effects.Sphere.Create( BrickColor.new("Really black"), cn(pos), 0, 1.5, 0, 65,0,65, 0.015)
  2357. Effects.Sphere.Create( BrickColor.new("White"), cn(pos), 0, 1, 0, 65,0,65, 0.02)
  2358.  
  2359. for i = 0,5.0,.1 do
  2360. swait()
  2361. Humanoid.WalkSpeed = .01
  2362. Humanoid.JumpPower = 0
  2363. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(-90), math.rad(20 - 2 * math.cos(sine / 8/1.5)), math.rad(10 - 2 * math.cos(sine / 4))),.1)
  2364.  
  2365. change = 0.6
  2366. Humanoid.WalkSpeed = 12
  2367. Humanoid.JumpPower = 80
  2368. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
  2369. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
  2370. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(170 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
  2371. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
  2372. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2373. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2374.  
  2375.  
  2376. end
  2377.  
  2378.  
  2379. coroutine.resume(coroutine.create(function()
  2380. for i = 0,math.random(8,15) do
  2381.  
  2382.  
  2383. Metior(RootPart.Position, RootPart.Position+Vector3.new(0,400,0), 65)
  2384. Effects.Sphere.Create( BrickColor.new("White"), Handle.CFrame * cn(math.random(-5, 5)*0, math.random(-5, 5)*0, math.random(-5, 5)*0), 10, 10, 10, -10,-10,-10, 0.08)
  2385.  
  2386. wait(math.random(3,10)/10)
  2387.  
  2388. end
  2389. ThisAT = false
  2390. end))
  2391. while ThisAT == true do
  2392. swait()
  2393. Humanoid.WalkSpeed = .01
  2394. Humanoid.JumpPower = 0
  2395. HandleJ.C0= HandleJ.C0:lerp( cn(2 - 1 * math.cos(sine / 8),0,6.0 - 1 * math.cos(sine / 16))*angles(math.rad(sine), math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(10 - 2 * math.cos(sine / 4))),.1)
  2396.  
  2397. change = 0.6
  2398. Humanoid.WalkSpeed = 12
  2399. Humanoid.JumpPower = 80
  2400. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
  2401. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
  2402. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(10 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(45 - 2 * math.cos(sine / 8/2))), 0.1)
  2403. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(10 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-45 + 2 * math.cos(sine / 8/2))), 0.1)
  2404. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2405. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2406.  
  2407.  
  2408. end
  2409.  
  2410.  
  2411. for i = 0,4.0,.1 do
  2412. swait()
  2413.  
  2414.  
  2415. Humanoid.WalkSpeed = .01
  2416. Humanoid.JumpPower = 0
  2417. HandleJ.C0= HandleJ.C0:lerp( cn(0 - 1 * math.cos(sine / 8),0,3.0 - 1 * math.cos(sine / 16))*angles(math.rad(0), math.rad(0 - 2 * math.cos(sine/8)), math.rad(10)),.1)
  2418.  
  2419. change = 0.6
  2420.  
  2421. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
  2422. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
  2423. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
  2424. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
  2425. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2426. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2427.  
  2428.  
  2429. end
  2430.  
  2431. for i = 0,4.0,.1 do
  2432. swait()
  2433. Humanoid.WalkSpeed = .01
  2434. Humanoid.JumpPower = 0
  2435. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.0395 * math.cos(sine / 12)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(60)), .15)
  2436. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-60)), .25)
  2437. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(30 + 2 * math.cos(sine / 12))), 0.05)
  2438. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-10 - 2 * math.cos(sine / 12))), 0.1)
  2439. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2440. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2441. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(80 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.05)
  2442.  
  2443. end
  2444.  
  2445.  
  2446. attack = false
  2447. end
  2448. ---------------------------------------------------------------------------------------------
  2449. Attack4 = function()
  2450. attack = true
  2451. local ThisAT = true
  2452. so("331888777", Handle,1.5, 1.4)
  2453. Effects.Sphere.Create( BrickColor.new("White"), RootPart.CFrame * cn(math.random(-5, 5)*0, math.random(-5, 5)*0, math.random(-5, 5)*0), 10, 20, 10, -10,-20,-10, 0.02)
  2454.  
  2455. for i = 0,1.0,.1 do
  2456. swait()
  2457. Humanoid.WalkSpeed = .01
  2458. Humanoid.JumpPower = 0
  2459. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(-90), math.rad(20 - 2 * math.cos(sine / 8/1.5)), math.rad(10 - 2 * math.cos(sine / 4))),.1)
  2460.  
  2461. change = 0.6
  2462. Humanoid.WalkSpeed = 12
  2463. Humanoid.JumpPower = 80
  2464. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
  2465. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
  2466. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(170 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
  2467. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
  2468. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2469. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2470.  
  2471.  
  2472. end
  2473. for i = 0,1.0,.1 do
  2474. swait()
  2475. Humanoid.WalkSpeed = .01
  2476. Humanoid.JumpPower = 0
  2477. HandleJ.C0= HandleJ.C0:lerp( cn(0.75,0,.0)*angles(math.rad(-0), math.rad(180), math.rad(0)),.1)
  2478.  
  2479. change = 0.6
  2480. Humanoid.WalkSpeed = 12
  2481. Humanoid.JumpPower = 80
  2482. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
  2483. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-30.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
  2484. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(180 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
  2485. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(180 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
  2486. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2487. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2488.  
  2489.  
  2490. end
  2491.  
  2492. for i = 0,3.0,.1 do
  2493. swait()
  2494. Humanoid.WalkSpeed = .01
  2495. Humanoid.JumpPower = 0
  2496. change= 0.6 Humanoid.JumpPower = 80
  2497. HandleJ.C0= HandleJ.C0:lerp( cn(2,1.75,.0)*angles(math.rad(-0), math.rad(180), math.rad(15)),.1)
  2498.  
  2499.  
  2500. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .15)
  2501. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-30.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-0)), .15)
  2502. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(180), math.rad(0), math.rad(15 )), 0.1)
  2503. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(180), math.rad(0), math.rad(-15)), 0.1)
  2504. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2505. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2506. end
  2507. so("341301373", Handle,2.5, 0.7)
  2508. local GN = 0
  2509. local GrowingNumberAdd = 1
  2510. local White = false
  2511. coroutine.resume(coroutine.create(function()
  2512. while ThisAT == true do wait(.06)
  2513. GN = GN + GrowingNumberAdd
  2514. local SValue = GN*10
  2515. local SValue2 = 2
  2516. local STime = 0.08
  2517. local STime2 = 0.028
  2518. coroutine.resume(coroutine.create(function()
  2519. for i = 0,4 do
  2520. AirEffect(BrickColor.new("White"), Handle.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,.5*SValue, 0,0, SValue2*2, STime,RootPart,.0,"3")
  2521. end end))
  2522. coroutine.resume(coroutine.create(function()
  2523. MagniDamage(Torso, GN, 9999, 9999, 0, "Stone")
  2524. end))
  2525. if White == false then
  2526. Effects.Sphere.Create( BrickColor.new("White"), Handle.CFrame * cn(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)), 40+GN*40, 40+GN*40, 40+GN*40, 4.1,4.1,4.1, 0.04)
  2527.  
  2528. White = true
  2529.  
  2530.  
  2531. --Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * cn(0, -3, 0)*angles(math.rad(0),math.rad(math.random(0,180)),math.rad(0)), GN*50, 0, GN*50, 100,10,100, 0.05)
  2532.  
  2533.  
  2534.  
  2535.  
  2536. else
  2537. Effects.Sphere.Create( BrickColor.new("Really black"), Handle.CFrame * cn(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)), GN*40, GN*40, GN*40, -GN*2,-GN*2,-GN*2, 0.04)
  2538. Effects.Wave.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0)*angles(math.rad(0),math.rad(math.random(0,180)),math.rad(0)), GN*50, 0, GN*50, 100,10,100, 0.05)
  2539.  
  2540.  
  2541. White = false
  2542. end
  2543. end
  2544. end))
  2545.  
  2546.  
  2547. for i = 0,15.0,.1 do
  2548. swait()
  2549. Humanoid.WalkSpeed = .01
  2550. Humanoid.JumpPower = 0
  2551. change= 0.6 Humanoid.JumpPower = 0
  2552. HandleJ.C0= HandleJ.C0:lerp( cn(2,1.75,.0)*angles(math.rad(-0), math.rad(180), math.rad(15)),.1)
  2553.  
  2554.  
  2555. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .15)
  2556. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-30.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-0)), .07)
  2557. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(180), math.rad(0), math.rad(15 )), 0.1)
  2558. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(180), math.rad(0), math.rad(-15)), 0.1)
  2559. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2560. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2561. end
  2562.  
  2563. ThisAT = false
  2564. for i = 0,4.0,.1 do
  2565. swait()
  2566. Humanoid.WalkSpeed = .01
  2567. Humanoid.JumpPower = 0
  2568. change= 0.6 Humanoid.JumpPower = 80
  2569. HandleJ.C0= HandleJ.C0:lerp( cn(2,1.75,.0)*angles(math.rad(-0), math.rad(180), math.rad(15)),.1)
  2570.  
  2571.  
  2572. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .15)
  2573. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(20.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-0)), .08)
  2574. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(180), math.rad(0), math.rad(15 )), 0.1)
  2575. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(180), math.rad(0), math.rad(-15)), 0.1)
  2576. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2577. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2578. end
  2579.  
  2580. for i = 0,0.5,.1 do
  2581. swait()
  2582. Humanoid.WalkSpeed = .01
  2583. Humanoid.JumpPower = 0
  2584. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(-90), math.rad(20 - 2 * math.cos(sine / 8/1.5)), math.rad(10 - 2 * math.cos(sine / 4))),.1)
  2585.  
  2586. change = 0.6
  2587. Humanoid.WalkSpeed = 12
  2588. Humanoid.JumpPower = 80
  2589. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
  2590. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
  2591. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(170 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
  2592. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
  2593. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2594. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2595.  
  2596.  
  2597. end
  2598.  
  2599.  
  2600. attack = false
  2601. end
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615. ---------------------------------------------------------------------------------------------
  2616. Attack5 = function()
  2617. attack = true
  2618. TPwt = true
  2619. Effects.Sphere.Create( BrickColor.new("Really black"), Torso.CFrame * cn(math.random(-5, 5)*0, math.random(-5, 5)*0, math.random(-5, 5)*0), 40, 80, 40, 15,15,15, 0.02)
  2620.  
  2621. Humanoid.WalkSpeed = 8
  2622. Humanoid.JumpPower = 20
  2623. local MHitPost=MHIT.p
  2624. so("428800263", RootPart, 2, 0.6,10)
  2625. wait(.1)
  2626. local TPN1 = math.random(-10,10)/500
  2627. local TPN2 = math.random(-10,10)/500
  2628. Glitch1(Character,TPN1,.01,TPN2)
  2629. Glitch1(Character,TPN1*2,.01,TPN2*2)
  2630.  
  2631.  
  2632. coroutine.resume(coroutine.create(function()
  2633.  
  2634.  
  2635. RootPart.Anchored = true
  2636. Tpfade(Character,5)
  2637. HClip = false
  2638. coroutine.resume(coroutine.create(function()
  2639. Light.Brightness = 0 Light2.Brightness = 0
  2640. wait(5)
  2641.  
  2642.  
  2643. Light.Brightness = 2 Light2.Brightness = 1
  2644. swait(2)
  2645.  
  2646. Light.Brightness = 0 Light2.Brightness = 0
  2647. wait()
  2648.  
  2649. Light.Brightness = 2 Light2.Brightness = 1
  2650. swait(5)
  2651.  
  2652. Light.Brightness = 0 Light2.Brightness = 0
  2653. wait()
  2654. Light.Brightness = 2 Light2.Brightness = 1
  2655.  
  2656. end))
  2657.  
  2658. for i = 0,2,0.1 do
  2659. swait()
  2660.  
  2661. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(15 - 2 * math.cos(sine / 8/2))),.1)
  2662.  
  2663. change = 0.6
  2664. Humanoid.WalkSpeed = 12
  2665. Humanoid.JumpPower = 80
  2666. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
  2667. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
  2668. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
  2669. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
  2670. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2671. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2672.  
  2673.  
  2674. end
  2675. while HClip == false do
  2676. swait()
  2677. RootPart.Anchored = true
  2678. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(15 - 2 * math.cos(sine / 8/2))),.1)
  2679.  
  2680. change = 0.6
  2681. Humanoid.WalkSpeed = 0
  2682. Humanoid.JumpPower = 80
  2683. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0,0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .1)
  2684. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
  2685. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
  2686. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
  2687. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2688. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2689.  
  2690. local HMD = Humanoid.MoveDirection*5
  2691. local Orsave = RootPart.Orientation
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697. RootPart.CFrame=clerp(RootPart.CFrame,cn(RootPart.Position ,Vector3.new(CamCoord.p.x,RootPart.Position.y,CamCoord.p.z)) * CFrame.Angles(0,math.rad(180),0)+HMD,.05)
  2698. RootPart.Velocity = HMD
  2699.  
  2700. --bg2.CFrame = cn(RootPart.Position ,Vector3.new(CamCoord.p.x,RootPart.Position.y,CamCoord.p.z)) * CFrame.Angles(0,math.rad(180),0)
  2701.  
  2702. --swait()
  2703. --RootPart.Anchored = false
  2704. end
  2705.  
  2706. end))
  2707. for i = 2,15,1 do
  2708. wait(.35)
  2709. TPN1 = math.random(-5,5)/200
  2710. TPN2 = math.random(-5,5)/200
  2711.  
  2712. local RV1 = RootPart.Velocity.x/30
  2713. local RV2 = RootPart.Velocity.y/30
  2714. local RV3 = RootPart.Velocity.z/30
  2715.  
  2716.  
  2717.  
  2718. Glitch1(Character,TPN1+RV1,.01+RV2,TPN2+RV3,"M2")
  2719. --Effects.Wave.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0)*angles(math.rad(0),math.rad(math.random(0,180)),math.rad(0)), 0, 1, 0, 30,0,30, 0.05)
  2720. coroutine.resume(coroutine.create(function()
  2721. MagniDamage(Torso, 10, 5, 10, 0, "Normal")
  2722. local Esize = math.random(30,32)
  2723. Effects.Wave.Create(BrickColor.new("Really black"), RootPart.CFrame * cn(0, -3, 0)*angles(math.rad(0),math.rad(math.random(-360,360)),math.rad(0)), 0, 100*2, 0, Esize,-5*2,Esize, 0.05)
  2724.  
  2725. end))
  2726.  
  2727.  
  2728.  
  2729.  
  2730.  
  2731.  
  2732.  
  2733. end
  2734.  
  2735. HClip = true
  2736. so("233856115", RootPart, 2, 0.7,10)
  2737. for i = 0,.2,.1 do
  2738. swait()
  2739. Humanoid.WalkSpeed = 0.1
  2740. Humanoid.JumpPower = 50
  2741. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(15 - 2 * math.cos(sine / 8/2))),.1)
  2742.  
  2743. change = 0.6
  2744.  
  2745. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), 1)
  2746. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
  2747. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
  2748. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
  2749. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2750. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2751.  
  2752.  
  2753. end
  2754.  
  2755. RootPart.Anchored = false
  2756. for i = 0,4,.1 do
  2757. swait()
  2758. Humanoid.WalkSpeed = 0.1
  2759. Humanoid.JumpPower = 50
  2760. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(15 - 2 * math.cos(sine / 8/2))),.1)
  2761.  
  2762. change = 0.6
  2763.  
  2764. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
  2765. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
  2766. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
  2767. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
  2768. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2769. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2770.  
  2771.  
  2772. end
  2773.  
  2774.  
  2775. attack = false
  2776.  
  2777.  
  2778. wait(2)
  2779. TPwt = false
  2780. end
  2781.  
  2782.  
  2783. ---------------------------------------------------------------------------------------------
  2784. TPwt = false
  2785. Teleport = function()
  2786. attack = true
  2787. TPwt = true
  2788.  
  2789. local MHitPost=MHIT.p
  2790. so("189781125", RootPart, 2, 1.1,10)
  2791. wait(.1)
  2792. local TPN1 = math.random(-10,10)/500
  2793. local TPN2 = math.random(-10,10)/500
  2794. Glitch1(Character,TPN1,.01,TPN2)
  2795. Glitch1(Character,TPN1*2,.01,TPN2*2)
  2796.  
  2797. local Orsave = RootPart.Orientation
  2798. RootPart.CFrame=angles(math.rad(Orsave.x),math.rad(Orsave.y),math.rad(Orsave.z))*cn(0,2,0)+MHitPost
  2799. coroutine.resume(coroutine.create(function()
  2800.  
  2801.  
  2802. Tpfade(Character)
  2803. Light.Brightness = 0 Light2.Brightness = 0
  2804. wait(1)
  2805.  
  2806.  
  2807. Light.Brightness = 2 Light2.Brightness = 1
  2808. swait(2)
  2809.  
  2810. Light.Brightness = 0 Light2.Brightness = 0
  2811. wait()
  2812.  
  2813. Light.Brightness = 2 Light2.Brightness = 1
  2814. swait(5)
  2815.  
  2816. Light.Brightness = 0 Light2.Brightness = 0
  2817. wait()
  2818. Light.Brightness = 2 Light2.Brightness = 1
  2819.  
  2820.  
  2821. end))
  2822.  
  2823. attack = false
  2824.  
  2825.  
  2826. wait(4)
  2827. TPwt = false
  2828. end
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836. Tuant1 = function()
  2837.  
  2838.  
  2839. attack = true
  2840.  
  2841. local FlyN1 = -0.1
  2842. local FlyN2 = 0.0395
  2843. local FlyN3 = 12
  2844. if FlyA == true then
  2845. FlyN1 = 2.1
  2846. FlyN2 = 0.2
  2847. FlyN3 = 8*2
  2848. end
  2849.  
  2850.  
  2851. so("1276618408", Handle,3, 2.0,10)
  2852. change = 0.6
  2853. for i = 0,3.0,.1 do
  2854. swait()
  2855. Humanoid.WalkSpeed = .01
  2856. Humanoid.JumpPower = 0
  2857.  
  2858. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(0)), .15)
  2859. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-0)), .05)
  2860. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
  2861. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(10 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-15 - 2 * math.cos(sine / 12))), 0.07)
  2862. if FlyA == false then
  2863. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  2864. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  2865. else
  2866. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2867. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2868. end
  2869. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
  2870.  
  2871. end
  2872. for i = 0,6.0,.1 do
  2873. swait()
  2874. Humanoid.WalkSpeed = .01
  2875. Humanoid.JumpPower = 0
  2876. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(0)), .15)
  2877. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 0.5 * math.cos(sine / 12)), math.rad(0), math.rad(20)), .07)
  2878. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
  2879. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.4) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(20), math.rad(35 - .2 * math.cos(sine / 12))), 0.07)
  2880. if FlyA == false then
  2881. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  2882. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  2883. else
  2884. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2885. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2886. end
  2887. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
  2888.  
  2889. end
  2890. for i = 0,1.5,.1 do
  2891. swait()
  2892. Humanoid.WalkSpeed = .01
  2893. Humanoid.JumpPower = 0
  2894. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(0)), .15)
  2895. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 0.5 * math.cos(sine / 12)), math.rad(0), math.rad(5)), .05)
  2896. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
  2897. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.4) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(20), math.rad(35 - .2 * math.cos(sine / 12))), 0.07)
  2898. if FlyA == false then
  2899. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  2900. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  2901. else
  2902. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2903. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2904. end
  2905. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
  2906.  
  2907. end
  2908. for i = 0,1.5,.1 do
  2909. swait()
  2910. Humanoid.WalkSpeed = .01
  2911. Humanoid.JumpPower = 0
  2912. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(0)), .15)
  2913. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 0.5 * math.cos(sine / 12)), math.rad(0), math.rad(35)), .05)
  2914. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
  2915. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.4) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(20), math.rad(35 - .2 * math.cos(sine / 12))), 0.07)
  2916. if FlyA == false then
  2917. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  2918. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  2919. else
  2920. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2921. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2922. end
  2923. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
  2924.  
  2925. end
  2926. for i = 0,5.0,.1 do
  2927. swait()
  2928. Humanoid.WalkSpeed = .01
  2929. Humanoid.JumpPower = 0
  2930. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(0)), .15)
  2931. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 0.5 * math.cos(sine / 12)), math.rad(0), math.rad(20)), .07)
  2932. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
  2933. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -.4) * angles(math.rad(130 - 2 * math.cos(sine / 12)), math.rad(20), math.rad(35 - .2 * math.cos(sine / 12))), 0.07)
  2934. if FlyA == false then
  2935. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  2936. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  2937. else
  2938. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2939. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2940. end
  2941. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
  2942.  
  2943. end
  2944.  
  2945. RootPart.Anchored = false
  2946.  
  2947. attack = false
  2948.  
  2949.  
  2950.  
  2951. end
  2952.  
  2953.  
  2954.  
  2955.  
  2956. Tuant2 = function()
  2957.  
  2958.  
  2959. attack = true
  2960.  
  2961. local FlyN1 = -0.1
  2962. local FlyN2 = 0.0395
  2963. local FlyN3 = 12
  2964. if FlyA == true then
  2965. FlyN1 = 2.1
  2966. FlyN2 = 0.2
  2967. FlyN3 = 8*2
  2968. end
  2969.  
  2970.  
  2971.  
  2972. change = 0.6
  2973. for i = 0,3.0,.1 do
  2974. swait()
  2975. Humanoid.WalkSpeed = .01
  2976. Humanoid.JumpPower = 0
  2977.  
  2978. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(0)), .15)
  2979. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-0)), .05)
  2980. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
  2981. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(10 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-15 - 2 * math.cos(sine / 12))), 0.07)
  2982. if FlyA == false then
  2983. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  2984. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  2985. else
  2986. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  2987. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  2988. end
  2989. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 - 2 * math.cos(sine / 12)), math.rad(5 + 2 * math.cos(sine / 12))),.1)
  2990.  
  2991. end
  2992. for i = 0,6.0,.1 do
  2993. swait()
  2994. Humanoid.WalkSpeed = .01
  2995. Humanoid.JumpPower = 0
  2996.  
  2997. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(10)), .15)
  2998. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(1.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(-10)), .05)
  2999. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
  3000. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(90 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-15 - 2 * math.cos(sine / 12))), 0.07)
  3001. if FlyA == false then
  3002. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  3003. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  3004. else
  3005. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  3006. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  3007. end
  3008. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 - 2 * math.cos(sine / 12)), math.rad(5 + 2 * math.cos(sine / 12))),.1)
  3009.  
  3010. end
  3011.  
  3012.  
  3013.  
  3014.  
  3015.  
  3016. for i = 0,4.0,.1 do
  3017. swait()
  3018. Humanoid.WalkSpeed = .01
  3019. Humanoid.JumpPower = 0
  3020.  
  3021. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(-40)), .07)
  3022. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(40)), .05)
  3023. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
  3024. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.6, -.2) * angles(math.rad(90 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(15 - 2 * math.cos(sine / 12))), 0.07)
  3025. if FlyA == false then
  3026. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  3027. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  3028. else
  3029. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  3030. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  3031. end
  3032. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 - 2 * math.cos(sine / 12)), math.rad(5 + 2 * math.cos(sine / 12))),.1)
  3033.  
  3034. end
  3035.  
  3036. local SValue = .2
  3037. local SValue2 = 0.1
  3038. local STime = 0.025
  3039. local STime2 = 0.028
  3040. coroutine.resume(coroutine.create(function()
  3041. CFuncs.Sound.Create("233856115", Handle,3, 1.2)
  3042. for i = 0,5 do
  3043. AirEffect(BrickColor.new("White"), LeftArm.CFrame * cn(math.random(-10,10)*.0,-1,math.random(-10,10)*.0),.1,.1,1*SValue, 0,0, SValue2*1, STime,LeftArm,.025,"3")
  3044. end
  3045. end))
  3046.  
  3047.  
  3048. for i = 0,2.0,.1 do
  3049. swait()
  3050. Humanoid.WalkSpeed = .01
  3051. Humanoid.JumpPower = 0
  3052.  
  3053. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(-40)), .07)
  3054. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(40)), .05)
  3055. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
  3056. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.6, -.2) * angles(math.rad(90 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(15 - 2 * math.cos(sine / 12))), 0.07)
  3057. if FlyA == false then
  3058. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  3059. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  3060. else
  3061. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  3062. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  3063. end
  3064. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 - 2 * math.cos(sine / 12)), math.rad(5 + 2 * math.cos(sine / 12))),.1)
  3065.  
  3066. end
  3067. for i = 0,6.0,.1 do
  3068. swait()
  3069. Humanoid.WalkSpeed = .01
  3070. Humanoid.JumpPower = 0
  3071.  
  3072. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(-40)), .07)
  3073. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 1.5 * math.cos(sine / 12)), math.rad(0), math.rad(40)), .07)
  3074. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.07)
  3075. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.6, 0) * angles(math.rad(10 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-15 - 2 * math.cos(sine / 12))), 0.07)
  3076. if FlyA == false then
  3077. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  3078. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  3079. else
  3080. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  3081. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  3082. end
  3083. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 - 2 * math.cos(sine / 12)), math.rad(5 + 2 * math.cos(sine / 12))),.1)
  3084.  
  3085. end
  3086. for i = 0,5.0,.1 do
  3087. swait()
  3088. Humanoid.WalkSpeed = .01
  3089. Humanoid.JumpPower = 0
  3090.  
  3091. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(-40)), .07)
  3092. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 1.5 * math.cos(sine / 12)), math.rad(10), math.rad(40)), .07)
  3093. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(20 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(15 + 2 * math.cos(sine / 12))), 0.07)
  3094. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.6, -.2) * angles(math.rad(100 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-25 - 2 * math.cos(sine / 12))), 0.07)
  3095. if FlyA == false then
  3096. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  3097. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  3098. else
  3099. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  3100. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  3101. end
  3102. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(20 - 2 * math.cos(sine / 12)), math.rad(15 + 2 * math.cos(sine / 12))),.1)
  3103.  
  3104. end
  3105.  
  3106. for i = 0,4.0,.1 do
  3107. swait()
  3108. Humanoid.WalkSpeed = .01
  3109. Humanoid.JumpPower = 0
  3110.  
  3111. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, FlyN1 + FlyN2 * math.cos(sine / FlyN3)) * angles(math.rad(0 - 0 * math.cos(sine / 12)), math.rad((0 + 0* math.cos(sine / 12)/20)), math.rad(0)), .07)
  3112. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(20.5 - 1.5 * math.cos(sine / 12)), math.rad(-4), math.rad(-0)), .05)
  3113. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 12)), math.rad(2), math.rad(5 + 2 * math.cos(sine / 12))), 0.05)
  3114. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(00 - 2 * math.cos(sine / 12)), math.rad(-2), math.rad(-15 - 2 * math.cos(sine / 12))), 0.05)
  3115. if FlyA == false then
  3116. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 12))),.15)
  3117. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 12), 0) * CFrame.Angles(math.rad(1.5 - 0 * math.cos(sine / 12)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 12))),.15)
  3118. else
  3119. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  3120. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  3121. end
  3122. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(0 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.05)
  3123.  
  3124. end
  3125.  
  3126. RootPart.Anchored = false
  3127.  
  3128. attack = false
  3129.  
  3130.  
  3131.  
  3132. end
  3133.  
  3134.  
  3135.  
  3136.  
  3137.  
  3138. ----------------------------------------------------------------------------------------------------------------------------------
  3139. KeyDown=function(key)
  3140. if key == "z" and attack == false then
  3141. Attack1()
  3142. end
  3143. if key == "x" and attack == false then
  3144. Attack2()
  3145. end
  3146. if key == "c" and attack == false then
  3147. Attack3()
  3148. end
  3149. if key == "v" and attack == false then
  3150. Attack4()
  3151. end
  3152. if key == "b" and attack == false and TPwt == false then
  3153. Attack5()
  3154. end
  3155. if key == "f" and attack == false and TPwt == false then
  3156. Teleport()
  3157. end
  3158.  
  3159. if key == "t" and attack == false and Tuanting == false then
  3160. Tuant1()
  3161. end
  3162.  
  3163.  
  3164.  
  3165.  
  3166.  
  3167. if key == "r" and attack == false then
  3168. so("135436302", Handle,3, .9)
  3169. Tuant2()
  3170. end
  3171.  
  3172. if key == "p" and attack == false then
  3173. if FlyA == false then
  3174. FlyA = true
  3175. else
  3176. FlyA = false
  3177. end
  3178. end
  3179.  
  3180. if key == "l" and attack == false then
  3181.  
  3182. if WEAPONGUI.Enabled == false then
  3183.  
  3184.  
  3185. WEAPONGUI.Enabled = true
  3186.  
  3187.  
  3188. print("Gui [on]")
  3189. else
  3190.  
  3191. WEAPONGUI.Enabled = false
  3192.  
  3193.  
  3194. print("Gui [off]")
  3195. end
  3196.  
  3197. end
  3198.  
  3199.  
  3200.  
  3201. if key == "n" and attack == false then
  3202.  
  3203. if ShowTag == false then
  3204.  
  3205.  
  3206. naeeym2.Enabled = true
  3207.  
  3208. ShowTag = true
  3209. warn("Name tag is now true")
  3210. else
  3211.  
  3212. naeeym2.Enabled = false
  3213.  
  3214. ShowTag = false
  3215. warn("Name tag is now false")
  3216. end
  3217.  
  3218. end
  3219. if key == "m" then
  3220.  
  3221.  
  3222.  
  3223.  
  3224. if CurId == 7 then
  3225. lastid= "http://www.roblox.com/asset/?id=1216140425"
  3226. s2:play()
  3227. CurId = 1
  3228. elseif CurId == 1 then
  3229. lastid= "http://www.roblox.com/asset/?id=257372951"
  3230. s2:play()
  3231. CurId = 2
  3232. elseif CurId == 2 then
  3233. lastid= "http://www.roblox.com/asset/?id=700037500"
  3234. s2:play()
  3235. CurId = 3
  3236. elseif CurId == 3 then
  3237. lastid= "http://www.roblox.com/asset/?id=700037991"
  3238. s2:play()
  3239. CurId = 4
  3240. elseif CurId == 4 then
  3241. lastid= "http://www.roblox.com/asset/?id=709100631"
  3242. s2:play()
  3243. CurId = 5
  3244. elseif CurId == 5 then
  3245. lastid= "http://www.roblox.com/asset/?id=688200173"
  3246. s2:play()
  3247. CurId = 6
  3248. elseif CurId == 6 then
  3249. lastid= "http://www.roblox.com/asset/?id=1473806210"
  3250. s2:play()
  3251. CurId = 7
  3252. end --]]
  3253. lastsongpos = 0
  3254. s2.TimePosition = lastsongpos
  3255. end
  3256.  
  3257. if key == "h" then
  3258. print("[L] to hide/show Gui")
  3259. print("[P] to Walk/Hover")
  3260. print("[R],[T] to Tuant")
  3261. print("[N] to Hide NameTag")
  3262. print("[M] to Change Music")
  3263. end
  3264. end
  3265.  
  3266.  
  3267.  
  3268.  
  3269. Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  3270. ff = Instance.new("ForceField", Player.Character)
  3271. ff.Visible = false
  3272. Humanoid.Name = "Final Soul"
  3273. Humanoid.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999
  3274. Humanoid.Health = 999999999999999999999999999999999999999999999999999999999999999999999999
  3275.  
  3276. Animate = function()
  3277. while Humanoid.Health>0 do
  3278. swait()
  3279. if Humanoid.Health > 0.1 and Humanoid.Health < 999999999999999999999999999999999999999999999999999999999999999999999999 then
  3280. Humanoid.MaxHealth = 999999999999999999999999999999999999999999999999999999999999999999999999
  3281.  
  3282. Humanoid.Health = 999999999999999999999999999999999999999999999999999999999999999999999999
  3283. end
  3284. sine = sine + change
  3285. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  3286.  
  3287. if s2.Parent == nil or s2 == nil then
  3288. s2 = s2c:Clone()
  3289. s2.Parent = Torso
  3290. s2.Name = "BGMusic"
  3291. -- s2.SoundId = lastid
  3292. s2.Pitch = 1
  3293. s2.Volume = 2
  3294. s2.Looped = true
  3295. s2.archivable = false
  3296. s2.TimePosition = lastsongpos
  3297. s2:play()
  3298.  
  3299. else
  3300. lastsongpos=s2.TimePosition
  3301. s2.Pitch = 1
  3302. s2.Volume = 2
  3303. s2.Looped = true
  3304. s2.SoundId = lastid
  3305. s2.EmitterSize = 40
  3306. end
  3307.  
  3308.  
  3309. if hitfloor ~= nil then
  3310. inAir = true
  3311. else
  3312. inAir = false
  3313. end
  3314.  
  3315. if inAir == true then
  3316. if inAir2 == false then
  3317.  
  3318.  
  3319. JumpAfterEffect()
  3320.  
  3321. end
  3322. end
  3323.  
  3324. if hitfloor ~= nil then
  3325. inAir2 = true
  3326. else
  3327. inAir2 = false
  3328. end
  3329.  
  3330.  
  3331.  
  3332.  
  3333. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  3334. local velderp = RootPart.Velocity.y
  3335.  
  3336.  
  3337.  
  3338.  
  3339.  
  3340.  
  3341.  
  3342.  
  3343.  
  3344.  
  3345.  
  3346.  
  3347.  
  3348. if RootPart.Velocity.y > 1 and hitfloor == nil then
  3349. Anim = "Jump"
  3350. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  3351. Anim = "Fall"
  3352. elseif Humanoid.Sit == true then
  3353. Anim = "Sit"
  3354. elseif torvel < 1 and hitfloor ~= nil then
  3355. Anim = "Idle"
  3356. elseif torvel > 2 and hitfloor ~= nil then
  3357. if sprintmode == true then
  3358. Anim = "Run"
  3359. else
  3360. Anim = "Walk"
  3361. end
  3362. else
  3363. Anim = ""
  3364.  
  3365. end
  3366. if attack == false then
  3367. if Anim == "Jump" then
  3368. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(-20 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
  3369.  
  3370. --Humanoid.WalkSpeed = 34
  3371.  
  3372. change = 0.5
  3373. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(-2.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10)
  3374. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  3375. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8))), 0.1)
  3376. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
  3377. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.85+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.08)
  3378. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.35+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  3379. elseif Anim == "Fall" then
  3380. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(-40 + 0 * math.cos(sine / 8/1.5)), math.rad(-0)),.1)
  3381.  
  3382. change = 0.5
  3383. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(5.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), .10)
  3384. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0)), .1)
  3385. RW.C0 = clerp(RW.C0, CFrame.new(1.2 , 0.50, .20) * angles(math.rad(140 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(45 + 0 * math.cos(sine / 8))), 0.1)
  3386. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, .20) * angles(math.rad(140 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-45 - 2 * math.cos(sine / 8))), 0.1)
  3387. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.15+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  3388. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.55+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-0 +1* math.cos(sine / 10)),math.rad(0),math.rad(0)),.1)
  3389.  
  3390. elseif Anim == "Idle" then
  3391. if FlyA == false then
  3392. change = 0.4
  3393. Humanoid.WalkSpeed = 12
  3394. Humanoid.JumpPower = 60
  3395. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad((0 + 0* math.cos(sine / 8)/20)), math.rad(10)), .15)
  3396. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 1.5 * math.cos(sine / 8)), math.rad(0), math.rad(-10)), .15)
  3397. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(10 - 2 * math.cos(sine / 8)), math.rad(7), math.rad(10 + 2 * math.cos(sine / 8))), 0.1)
  3398. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(1 - 2 * math.cos(sine / 8)), math.rad(-7), math.rad(-10 - 2 * math.cos(sine / 8))), 0.1)
  3399. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(0.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  3400. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.95- .04 * math.cos(sine / 8), 0) * CFrame.Angles(math.rad(0.5 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  3401. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(-0), math.rad(10 - 2 * math.cos(sine / 8)), math.rad(10 + 2 * math.cos(sine / 8))),.1)
  3402.  
  3403.  
  3404.  
  3405.  
  3406. else
  3407. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(20 - 2 * math.cos(sine / 8/1.5)), math.rad(15 - 2 * math.cos(sine / 8/2))),.1)
  3408.  
  3409. change = 0.6
  3410. Humanoid.WalkSpeed = 12
  3411. Humanoid.JumpPower = 80
  3412. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(0 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(10)), .15)
  3413. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(10.5 - 3.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/3.5)), math.rad(-10 + 3* math.cos(sine / 8/2.5))), .15)
  3414. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(20 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
  3415. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(0 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
  3416. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.65+ .04 * math.cos(sine / 8/1.5), -.3) * CFrame.Angles(math.rad(-20.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8))),.15)
  3417. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.1) * CFrame.Angles(math.rad(-5.5 - 1.5 * math.cos(sine / 8/1.5)),math.rad(0),math.rad(-2.5- 0.0 * math.cos(sine / 8))),.15)
  3418.  
  3419.  
  3420. end
  3421.  
  3422. elseif Anim == "Walk" then
  3423. if FlyA == false then
  3424.  
  3425. change = 1.0
  3426. Humanoid.WalkSpeed = 10
  3427. Humanoid.JumpPower = 60
  3428. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.185 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(5 - 3 * math.cos(sine / 3.5)), math.rad(0) + RootPart.RotVelocity.Y / 50, math.rad(8 * math.cos(sine / 7))), 0.2)
  3429. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.new(0, 0, 0 + 0.025 * math.cos(sine / 3.5)) * angles(math.rad(5 + 2.5 * math.cos(sine / 3.5)), math.rad(-3 - 0 * math.cos(sine / 3.5)), math.rad(-8 * math.cos(sine / 7)) + RootPart.RotVelocity.Y / 16), 0.2)
  3430. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.6, 0) * angles(math.rad(60+10 * math.cos(sine / 7)), math.rad(0), math.rad(10)), 0.1)
  3431. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, 0) * angles(math.rad(-15 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(0), math.rad(-10)), 0.2)
  3432. RH.C0 = RH.C0:lerp( cf(.5, -0.825 - 0.55 * math.cos(sine / 7) / 2,-0.1+ 0.5 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-7.5 - 35 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 7)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.15)
  3433. LH.C0 = LH.C0:lerp( cf(-.5, -0.825 + 0.55 * math.cos(sine / 7) / 2,-0.1+ -0.5 * math.cos(sine / 7) / 2) * CFrame.Angles(math.rad(-7.5 + 35 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(-90 - 10 * math.cos(sine / 7)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 7)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 7))), 0.15)
  3434. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(60+10 * math.cos(sine / 7)), math.rad(10)),.1)
  3435.  
  3436.  
  3437. else
  3438. HandleJ.C0= HandleJ.C0:lerp( cn(-0.75,0,.0)*angles(math.rad(0), math.rad(45 + 4 * math.cos(sine / 8/1.5)), math.rad(15 - 2 * math.cos(sine / 8/2))),.1)
  3439.  
  3440. change = 1.2
  3441. Humanoid.WalkSpeed = 38
  3442. Humanoid.JumpPower = 80
  3443. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0 + 0.01* math.cos(sine / 8), 2.1 + 0.2* math.cos(sine / 8/2)) * angles(math.rad(40 - 0 * math.cos(sine / 8)), math.rad(0), math.rad(-3* math.cos(sine / 8/2.5)) - RootPart.RotVelocity.Y / 26), .15)
  3444. Neck.C0 = clerp(Neck.C0, NeckCF * angles(math.rad(-30.5 - 1.5 * math.cos(sine / 8/2)), math.rad(0 - 1 * math.cos(sine / 8/2.5)), math.rad(3* math.cos(sine / 8/2.5)) + RootPart.RotVelocity.Y / 16), .15)
  3445. RW.C0 = clerp(RW.C0, CFrame.new(1.5 , 0.6, -.0) * angles(math.rad(50 - 2 * math.cos(sine / 8/1.5)), math.rad(7), math.rad(15 - 2 * math.cos(sine / 8/2))), 0.1)
  3446. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8/1.5)), math.rad(-7), math.rad(-15 + 2 * math.cos(sine / 8/2))), 0.1)
  3447. RH.C0 = RH.C0:lerp(CFrame.new(.5, -0.75+ .04 * math.cos(sine / 8/1.5), -.4) * CFrame.Angles(math.rad(-40.5 - 2 * math.cos(sine / 8/1.5)),math.rad(-10),math.rad(2.5- 0.0 * math.cos(sine / 8)) - RootPart.RotVelocity.Y / 50),.15)
  3448. LH.C0 = LH.C0:lerp(CFrame.new(-.5, -0.85+ .04 * math.cos(sine / 8/1.5), -.2) * CFrame.Angles(math.rad(-25.5 - 2 * math.cos(sine / 8/1.5)),math.rad(10),math.rad(-2.5- 0.0 * math.cos(sine / 8)) - RootPart.RotVelocity.Y / 50),.15)
  3449.  
  3450.  
  3451. end
  3452. end
  3453. end
  3454. if #Effects > 0 then
  3455. for e = 1, #Effects do
  3456. if Effects[e] ~= nil then
  3457. local Thing = Effects[e]
  3458. if Thing ~= nil then
  3459. local Part = Thing[1]
  3460. local Mode = Thing[2]
  3461. local Delay = Thing[3]
  3462. local IncX = Thing[4]
  3463. local IncY = Thing[5]
  3464. local IncZ = Thing[6]
  3465. if Thing[1].Transparency <= 1 then
  3466. if Thing[2] == "Block1" then
  3467. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3468. coroutine.resume(coroutine.create(function()
  3469. local Mesh = Thing[1].Mesh
  3470. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) end))
  3471. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3472. elseif Thing[2] == "Block2" then
  3473. Thing[1].CFrame = Thing[1].CFrame+Vector3.new(0,-.0,0) coroutine.resume(coroutine.create(function()
  3474. local Mesh = Thing[7]
  3475. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) end))
  3476. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3477. elseif Thing[2] == "Block3" then
  3478. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))+Vector3.new(0,.15,0) coroutine.resume(coroutine.create(function()
  3479. local Mesh = Thing[7]
  3480. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) end))
  3481. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3482. elseif Thing[2] == "Cylinder" then coroutine.resume(coroutine.create(function()
  3483. local Mesh = Thing[1].Mesh
  3484. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) end))
  3485. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3486. elseif Thing[2] == "Blood" then coroutine.resume(coroutine.create(function()
  3487. local Mesh = Thing[7]
  3488. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  3489. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) end))
  3490. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3491. elseif Thing[2] == "Elec" then coroutine.resume(coroutine.create(function()
  3492. local Mesh = Thing[1].Mesh
  3493. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) end))
  3494. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3495. elseif Thing[2] == "Disappear" then
  3496. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3497. elseif Thing[2] == "Shatter" then
  3498. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3499. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3500. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3501. Thing[6] = Thing[6] + Thing[5]
  3502. end
  3503. else
  3504. Part.Parent = nil
  3505. table.remove(Effects, e)
  3506. end
  3507. end
  3508. end
  3509. end
  3510. end
  3511. end
  3512.  
  3513.  
  3514. wait()
  3515. Animate()
  3516. end
  3517.  
  3518. print("Script by: 123jl123")
  3519. print("[H] Key Help ")
  3520.  
  3521. coroutine.resume(coroutine.create(function()
  3522. Animate()
  3523. end))
  3524.  
  3525.  
  3526.  
  3527.  
  3528. coroutine.resume(coroutine.create(function()
  3529. NoClipCons = {}
  3530. if #NoClipCons == 0 then
  3531. local con = game:service("RunService").Stepped:connect(function()
  3532. if HClip == false then
  3533. pcall(function() Player.Character.Torso.CanCollide = false end)
  3534. pcall(function() Player.Character.Head.CanCollide = false end)
  3535. end
  3536. end)
  3537. table.insert(NoClipCons, con)
  3538. else
  3539. for i, v in pairs(NoClipCons) do
  3540. v:disconnect()
  3541. table.remove(NoClipCons, i)
  3542. end
  3543. end
  3544.  
  3545. end))
  3546.  
  3547. remote = Instance.new 'RemoteFunction';
  3548. remote.Parent = Character;
  3549. remote.OnServerInvoke = function (player, request, ...)
  3550. if (player ~= Player) then
  3551. return error ('You cannot invoke this remote', 0);
  3552. end;
  3553.  
  3554.  
  3555.  
  3556. if (request == 1) then
  3557. local k = ...;
  3558.  
  3559. KeyDown(k)
  3560.  
  3561.  
  3562.  
  3563. end;
  3564. if (request == 2) then
  3565. local k = ...;
  3566.  
  3567. --KeyUp(k)
  3568.  
  3569.  
  3570.  
  3571. end;
  3572. if (request == 3) then
  3573. local k = ...;
  3574. if k == "Down" then
  3575. --MouseDown(k)
  3576. elseif k == "Up" then
  3577. --MouseUp(k)
  3578. end
  3579. end;
  3580.  
  3581.  
  3582. if (request == 4) then
  3583. local k=...;
  3584. MTARGET=k
  3585. end
  3586. if (request == 5) then
  3587. local k=...;
  3588. MHIT=k
  3589.  
  3590. end
  3591.  
  3592. if (request == 6) then
  3593. local k=...;
  3594. CamCoord=k
  3595.  
  3596. end
  3597.  
  3598.  
  3599.  
  3600. end;
  3601.  
  3602.  
  3603.  
  3604.  
  3605.  
  3606.  
  3607.  
  3608.  
  3609.  
  3610.  
  3611.  
  3612.  
  3613.  
  3614. remote.Name = 'ServerRemote';
  3615. --local remote = NLS ([=[
  3616. localscript = script.Keys
  3617. localscript.Name = Player.Name
  3618. localscript.Parent = Character
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement