hecknes

titan

Jun 3rd, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 135.47 KB | None | 0 0
  1.  
  2.  
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  5. do
  6. print("FE Compatibility code by Mokiros")
  7. script.Parent = Player.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent and t.Function then
  33. t.Function(...)
  34. end
  35. end
  36. m.TrigEvent = te
  37. UIS.TrigEvent = te
  38.  
  39. Event.OnServerEvent:Connect(function(plr,io)
  40. if plr~=Player then return end
  41. if io.isMouse then
  42. m.Target = io.Target
  43. m.Hit = io.Hit
  44. else
  45. local b = io.UserInputState == Enum.UserInputState.Begin
  46. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  47. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  48. end
  49. for _,t in pairs(CAS.Actions) do
  50. for _,k in pairs(t.Keys) do
  51. if k==io.KeyCode then
  52. t.Function(t.Name,io.UserInputState,io)
  53. end
  54. end
  55. end
  56. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  57. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  58. end
  59. end)
  60. Event.Parent = NLS([==[
  61. local Player = game:GetService("Players").LocalPlayer
  62. local Event = script:WaitForChild("UserInput_Event")
  63.  
  64. local UIS = game:GetService("UserInputService")
  65. local input = function(io,a)
  66. if a then return end
  67. --Since InputObject is a client-side instance, we create and pass table instead
  68. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  69. end
  70. UIS.InputBegan:Connect(input)
  71. UIS.InputEnded:Connect(input)
  72.  
  73. local Mouse = Player:GetMouse()
  74. local h,t
  75. --Give the server mouse data 30 times every second, but only if the values changed
  76. --If player is not moving their mouse, client won't fire events
  77. while wait(1/30) do
  78. if h~=Mouse.Hit or t~=Mouse.Target then
  79. h,t=Mouse.Hit,Mouse.Target
  80. Event:FireServer({isMouse=true,Target=t,Hit=h})
  81. end
  82. end]==],Player.Character)
  83. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  84. end
  85.  
  86. --pharowo
  87. local p = owner
  88. local char = p.Character
  89. local larm = char["Left Arm"]
  90. local rarm = char["Right Arm"]
  91. local TitanBet = ";"
  92. local lleg = char["Left Leg"]
  93. local rleg = char["Right Leg"]
  94. local hed = char.Head
  95. local torso = char.Torso
  96. local hum = char.Humanoid
  97. local cam = game.Workspace.CurrentCamera
  98. local root = char.HumanoidRootPart
  99. local deb = false
  100. local shot = 0
  101. local l = game:GetService("Lighting")
  102. local rs = game:GetService("RunService").RenderStepped
  103. local stanceToggle = "Normal"
  104. local Mana = Instance.new("IntValue", char)
  105. Mana.Value = 5000
  106. Mana.Name = "Mana"
  107. math.randomseed(os.time())
  108. hum.WalkSpeed = 50
  109. char.Health:Destroy()
  110. hum.MaxHealth = math.huge
  111. wait(0.1)
  112. hum.Health = math.huge
  113. ----------------------------------------------------
  114. local G = Instance.new("ScreenGui")
  115. G.Parent = p.PlayerGui
  116. G.Name = "Mana"
  117. local T = Instance.new("TextLabel")
  118. T.Name = "Mana"
  119. T.Parent = G
  120. T.Text = "Mana: "..char.Mana.Value
  121. T.FontSize = "Size24"
  122. T.BackgroundTransparency = 1
  123. T.TextColor3 = Color3.new(255,255,255)
  124. T.TextStrokeTransparency = 0
  125. T.Position = UDim2.new(0,250,0,400)
  126. T.BorderSizePixel = 0
  127. --//
  128. for i = 1,30 do
  129. Instance.new('Fire',larm); Instance.new('Fire',rarm)
  130. end
  131. --//
  132. Debounces = {
  133. on = false;
  134. ks = false;
  135. CanAttack = true;
  136. CanJoke = true;
  137. NoIdl = false;
  138. Slashing = false;
  139. Slashed = false;
  140. Grabbing = false;
  141. Grabbed = false;
  142. }
  143. local Touche = {char.Name, }
  144. ----------------------------------------------------
  145. function lerp(a, b, t) -- Linear interpolation
  146. return a + (b - a)*t
  147. end
  148.  
  149. function slerp(a, b, t) --Spherical interpolation
  150. dot = a:Dot(b)
  151. if dot > 0.99999 or dot < -0.99999 then
  152. return t <= 0.5 and a or b
  153. else
  154. r = math.acos(dot)
  155. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  156. end
  157. end
  158.  
  159. function matrixInterpolate(a, b, t)
  160. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  161. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  162. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  163. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  164. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  165. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  166. local t = v1:Dot(v2)
  167. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  168. return CFrame.new()
  169. end
  170. return CFrame.new(
  171. v0.x, v0.y, v0.z,
  172. v1.x, v1.y, v1.z,
  173. v2.x, v2.y, v2.z,
  174. v3.x, v3.y, v3.z)
  175. end
  176. ----------------------------------------------------//Mesh setting
  177. local cmeshes = {}
  178. local ll,rl,la,ra,t = Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char)
  179. ll.BodyPart = 'LeftLeg'
  180. rl.BodyPart = 'RightLeg'
  181. la.BodyPart = 'LeftArm'
  182. ra.BodyPart = 'RightArm'
  183. t.BodyPart = 'Torso'
  184. ll.MeshId,ll.OverlayTextureId,rl.MeshId,rl.OverlayTextureId = 68241558,18051314,68241677,18051314
  185. ra.MeshId,ra.OverlayTextureId,la.MeshId,la.OverlayTextureId = 68241658,18051314,68241543,18051314
  186. t.MeshId,t.OverlayTextureId=68241695,18051314
  187.  
  188. ----------------------------------------------------
  189. function genWeld(a,b)
  190. local w = Instance.new("Weld",a)
  191. w.Part0 = a
  192. w.Part1 = b
  193. return w
  194. end
  195. function weld(a, b)
  196. local weld = Instance.new("Weld")
  197. weld.Name = "W"
  198. weld.Part0 = a
  199. weld.Part1 = b
  200. weld.C0 = a.CFrame:inverse() * b.CFrame
  201. weld.Parent = a
  202. return weld;
  203. end
  204. ----------------------------------------------------
  205. function Lerp(c1,c2,al)
  206. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  207. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  208. for i,v in pairs(com1) do
  209. com1[i] = v+(com2[i]-v)*al
  210. end
  211. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  212. end
  213. ----------------------------------------------------
  214. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  215. local wld = Instance.new("Weld", wp1)
  216. wld.Part0 = wp0
  217. wld.Part1 = wp1
  218. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  219. end
  220. ----------------------------------------------------
  221. for i,v in pairs(char:children()) do
  222. if v:IsA("Hat") then
  223. v:Destroy()
  224. end
  225. end
  226. for i,v in pairs(hed:children()) do
  227. if v:IsA("Sound") then
  228. v:Destroy()
  229. end
  230. end
  231. ----------------------------------------------------
  232. function HasntTouched(plrname)
  233. local ret = true
  234. for _, v in pairs(Touche) do
  235. if v == plrname then
  236. ret = false
  237. end
  238. end
  239. return ret
  240. end
  241. ----------------------------------------------------
  242. larm.Size = larm.Size * 2
  243. rarm.Size = rarm.Size * 2
  244. lleg.Size = lleg.Size * 2
  245. rleg.Size = rleg.Size * 2
  246. torso.Size = torso.Size * 2
  247. hed.Size = hed.Size * 2
  248. root.Size = root.Size * 2
  249. ----------------------------------------------------
  250. newWeld(torso, larm, -1.5, 1, 0)
  251. larm.Weld.C1 = CFrame.new(0, 1, 0)
  252. newWeld(torso, rarm, 1.5, 1, 0)
  253. rarm.Weld.C1 = CFrame.new(0, 1, 0)
  254. newWeld(torso, hed, 0, 3, 0)
  255. newWeld(torso, lleg, -1, -2, 0)
  256. lleg.Weld.C1 = CFrame.new(0, 1.5, 0)
  257. newWeld(torso, rleg, 1, -2, 0)
  258. rleg.Weld.C1 = CFrame.new(0, 1.5, 0)
  259. newWeld(root, torso, 0, -2, 0)
  260. torso.Weld.C1 = CFrame.new(0, -2, 0)
  261. ----------------------------------------------------
  262.  
  263. hed.face:Remove''
  264. hed.Transparency = 0
  265. local meshx9 = Instance.new('SpecialMesh',hed)
  266. meshx9.MeshType = 'FileMesh'
  267. meshx9.MeshId,meshx9.TextureId = 'rbxassetid://21057410','rbxassetid://122569107'
  268. meshx9.Scale = Vector3.new(2,2,2)
  269.  
  270.  
  271.  
  272. lite = Instance.new("PointLight", torso)
  273. lite.Brightness = 14
  274. lite.Range = 10
  275. lite.Color = Color3.new(1, 0, 0)
  276. local hed2 = hed:Clone()
  277. hed2.CanCollide = false
  278. hed2.Parent = char
  279. hed2:ClearAllChildren()
  280. hed2.Transparency = 1
  281. hed2.Name = "DARP"
  282. local w = Instance.new("Weld",hed2)
  283. w.Part0 = hed
  284. w.Part1 = hed2
  285. w.C0 = CFrame.new(0,0,-0.175)
  286. z=Instance.new("SurfaceGui",hed2)
  287. z.Enabled = true
  288. z.Face = "Front"
  289. z.Adornee = hed2
  290. z.CanvasSize = Vector2.new(100,100)
  291. local face = Instance.new("ImageLabel",z)
  292. face.Size = UDim2.new(1,-30,1,0)
  293. face.Position = UDim2.new(0,15,0,0)
  294. face.BackgroundTransparency = 1
  295. face.Image='rbxassetid://46282671'
  296. ----------------------------------------------------
  297. local m = Instance.new("Model")
  298. m.Name = "Absolution"
  299. p1 = Instance.new("Part", m)
  300. p1.BrickColor = BrickColor.new("Really black")
  301. p1.FormFactor = Enum.FormFactor.Custom
  302. p1.Size = Vector3.new(1, 0.600000024, 1.5)
  303. p1.CFrame = CFrame.new(67.4994888, 12.1560526, 73.0205841, 0.999972522, -3.59117985e-005, -8.00192356e-006, -1.39250187e-005, 0.358383715, -0.933530986, 5.28097153e-005, 0.933500648, 0.358406395)
  304. p1.CanCollide = false
  305. p1.Locked = true
  306. p1.Elasticity = 0
  307. p1.BottomSurface = Enum.SurfaceType.Smooth
  308. p1.TopSurface = Enum.SurfaceType.Smooth
  309. b1 = Instance.new("SpecialMesh", p1)
  310. b1.MeshType = Enum.MeshType.Wedge
  311. b1.Name = "Mesh"
  312. b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  313. p2 = Instance.new("Part", m)
  314. p2.BrickColor = BrickColor.new("Really black")
  315. p2.FormFactor = Enum.FormFactor.Custom
  316. p2.Size = Vector3.new(1, 2.9000001, 1)
  317. p2.CFrame = CFrame.new(67.4995728, 11.7633543, 74.2129135, -1.30959779e-005, 2.79811252e-006, 0.999972522, 0.961226642, 0.275612593, -7.50799518e-006, -0.275637805, 0.96119839, 1.01176247e-005)
  318. p2.CanCollide = false
  319. p2.Locked = true
  320. p2.Elasticity = 0
  321. p2.BottomSurface = Enum.SurfaceType.Smooth
  322. p2.TopSurface = Enum.SurfaceType.Smooth
  323. b2 = Instance.new("BlockMesh", p2)
  324. b2.Name = "Mesh"
  325. b2.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  326. p3 = Instance.new("Part", m)
  327. p3.BrickColor = BrickColor.new("Really black")
  328. p3.FormFactor = Enum.FormFactor.Custom
  329. p3.Size = Vector3.new(1, 1.20000005, 2.0999999)
  330. p3.CFrame = CFrame.new(67.4994965, 12.6401453, 73.9670334, 0.999972522, -3.52207899e-005, -8.10639358e-006, -1.61500211e-005, 0.309035271, -0.951007903, 5.24176576e-005, 0.950978875, 0.309059501)
  331. p3.CanCollide = false
  332. p3.Locked = true
  333. p3.Elasticity = 0
  334. p3.BottomSurface = Enum.SurfaceType.Smooth
  335. p3.TopSurface = Enum.SurfaceType.Smooth
  336. b3 = Instance.new("SpecialMesh", p3)
  337. b3.MeshType = Enum.MeshType.Wedge
  338. b3.Name = "Mesh"
  339. b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  340. p4 = Instance.new("Part", m)
  341. p4.BrickColor = BrickColor.new("Really black")
  342. p4.FormFactor = Enum.FormFactor.Custom
  343. p4.Size = Vector3.new(1, 1.43999994, 2.05000019)
  344. p4.CFrame = CFrame.new(67.4995575, 11.8683414, 76.1565704, 0.999972522, -2.5085672e-005, -1.53700166e-005, -4.86194367e-005, -0.800831437, -0.598821938, 1.9131101e-005, 0.598835468, -0.800796151)
  345. p4.CanCollide = false
  346. p4.Locked = true
  347. p4.Elasticity = 0
  348. p4.BottomSurface = Enum.SurfaceType.Smooth
  349. p4.TopSurface = Enum.SurfaceType.Smooth
  350. b4 = Instance.new("SpecialMesh", p4)
  351. b4.MeshType = Enum.MeshType.Wedge
  352. b4.Name = "Mesh"
  353. b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  354. p5 = Instance.new("Part", m)
  355. p5.BrickColor = BrickColor.new("Really black")
  356. p5.FormFactor = Enum.FormFactor.Custom
  357. p5.Size = Vector3.new(1, 1.20000005, 3.20000005)
  358. p5.CFrame = CFrame.new(67.4995193, 13.241991, 74.8357468, 0.999972522, -3.59118021e-005, -8.00191992e-006, -1.39250224e-005, 0.358383656, -0.933530807, 5.2809708e-005, 0.933500469, 0.358406246)
  359. p5.CanCollide = false
  360. p5.Locked = true
  361. p5.Elasticity = 0
  362. p5.BottomSurface = Enum.SurfaceType.Smooth
  363. p5.TopSurface = Enum.SurfaceType.Smooth
  364. b5 = Instance.new("SpecialMesh", p5)
  365. b5.MeshType = Enum.MeshType.Wedge
  366. b5.Name = "Mesh"
  367. b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  368. p6 = Instance.new("Part", m)
  369. p6.Name = "Handle"
  370. p6.BrickColor = BrickColor.new(192)
  371. p6.FormFactor = Enum.FormFactor.Custom
  372. p6.Size = Vector3.new(1.5999999, 13.6000004, 1)
  373. p6.CFrame = CFrame.new(67.5017471, 11.2780685, 66.1421967, -1.18190947e-005, 6.28741009e-006, 0.999972522, 0.99995929, -1.39772892e-005, -7.50630716e-006, -1.79708004e-005, 0.999939024, 1.01296728e-005)
  374. p6.CanCollide = false
  375. p6.Locked = true
  376. p6.Elasticity = 0
  377. p6.BottomSurface = Enum.SurfaceType.Smooth
  378. p6.TopSurface = Enum.SurfaceType.Smooth
  379. b6 = Instance.new("BlockMesh", p6)
  380. b6.Name = "Mesh"
  381. b6.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  382. p7 = Instance.new("Part", m)
  383. p7.BrickColor = BrickColor.new("Really black")
  384. p7.FormFactor = Enum.FormFactor.Custom
  385. p7.Size = Vector3.new(1, 1.00999999, 1.05000019)
  386. p7.CFrame = CFrame.new(67.5174179, 10.5228004, 76.3114471, 0.999972522, -2.76626724e-005, -6.72184569e-006, -4.7347472e-005, -0.91489929, -0.403581172, 2.14323372e-005, 0.403602213, -0.914867818)
  387. p7.CanCollide = false
  388. p7.Locked = true
  389. p7.Elasticity = 0
  390. p7.BottomSurface = Enum.SurfaceType.Smooth
  391. p7.TopSurface = Enum.SurfaceType.Smooth
  392. b7 = Instance.new("SpecialMesh", p7)
  393. b7.MeshType = Enum.MeshType.Wedge
  394. b7.Name = "Mesh"
  395. b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  396. p8 = Instance.new("Part", m)
  397. p8.BrickColor = BrickColor.new("Really black")
  398. p8.FormFactor = Enum.FormFactor.Custom
  399. p8.Size = Vector3.new(1, 1.00999999, 1.05000019)
  400. p8.CFrame = CFrame.new(67.5074387, 8.51285458, 76.8714371, 0.999972522, -2.76626724e-005, -6.72184387e-006, -4.73474684e-005, -0.91489917, -0.403581113, 2.14323354e-005, 0.403602153, -0.914867699)
  401. p8.CanCollide = false
  402. p8.Locked = true
  403. p8.Elasticity = 0
  404. p8.BottomSurface = Enum.SurfaceType.Smooth
  405. p8.TopSurface = Enum.SurfaceType.Smooth
  406. b8 = Instance.new("SpecialMesh", p8)
  407. b8.MeshType = Enum.MeshType.Wedge
  408. b8.Name = "Mesh"
  409. b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  410. p9 = Instance.new("Part", m)
  411. p9.BrickColor = BrickColor.new("Really black")
  412. p9.FormFactor = Enum.FormFactor.Custom
  413. p9.Size = Vector3.new(1, 1.07999957, 1)
  414. p9.CFrame = CFrame.new(67.5095749, 7.1092, 74.5051422, -2.60536999e-005, -5.21559741e-006, 0.999972522, 0.35323599, -0.935490847, -1.50012565e-005, 0.935460567, 0.353258699, 4.2632455e-005)
  415. p9.CanCollide = false
  416. p9.Locked = true
  417. p9.Elasticity = 0
  418. p9.BottomSurface = Enum.SurfaceType.Smooth
  419. p9.TopSurface = Enum.SurfaceType.Smooth
  420. b9 = Instance.new("BlockMesh", p9)
  421. b9.Name = "Mesh"
  422. b9.Scale = Vector3.new(0.550000012, 1, 0.550000012)
  423. p10 = Instance.new("Part", m)
  424. p10.BrickColor = BrickColor.new("Really black")
  425. p10.FormFactor = Enum.FormFactor.Custom
  426. p10.Size = Vector3.new(1, 1.41999948, 1)
  427. p10.CFrame = CFrame.new(67.489624, 8.67401791, 72.7929764, -9.47785156e-006, -9.42233055e-006, 0.999972522, 0.292371064, 0.956263304, -7.54374832e-006, -0.956253231, 0.292334616, 1.01081387e-005)
  428. p10.CanCollide = false
  429. p10.Locked = true
  430. p10.Elasticity = 0
  431. p10.BottomSurface = Enum.SurfaceType.Smooth
  432. p10.TopSurface = Enum.SurfaceType.Smooth
  433. b10 = Instance.new("BlockMesh", p10)
  434. b10.Name = "Mesh"
  435. b10.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  436. p11 = Instance.new("Part", m)
  437. p11.BrickColor = BrickColor.new("Really black")
  438. p11.FormFactor = Enum.FormFactor.Custom
  439. p11.Size = Vector3.new(1, 1.50999951, 1)
  440. p11.CFrame = CFrame.new(67.509552, 7.11887455, 70.3475952, -1.87569385e-005, 1.80455972e-005, 0.999972522, -0.36222899, -0.932047009, -9.30004444e-006, 0.932039678, -0.362191886, 4.04359016e-005)
  441. p11.CanCollide = false
  442. p11.Locked = true
  443. p11.Elasticity = 0
  444. p11.BottomSurface = Enum.SurfaceType.Smooth
  445. p11.TopSurface = Enum.SurfaceType.Smooth
  446. b11 = Instance.new("BlockMesh", p11)
  447. b11.Name = "Mesh"
  448. b11.Scale = Vector3.new(0.550000012, 1, 0.550000012)
  449. p12 = Instance.new("Part", m)
  450. p12.Name = "BladeCenter"
  451. p12.BrickColor = BrickColor.new("")
  452. p12.Material = Enum.Material.Neon
  453. p12.FormFactor = Enum.FormFactor.Symmetric
  454. p12.Size = Vector3.new(1, 2, 2)
  455. p12.CFrame = CFrame.new(67.4995346, 6.83217764, 72.2514038, -0.999972522, 2.42275873e-005, 0.000103325896, -8.39982677e-005, 4.44650614e-005, -0.999960959, -4.06451727e-005, -0.999940753, -1.25430051e-005)
  456. p12.CanCollide = false
  457. p12.Locked = true
  458. p12.BottomSurface = Enum.SurfaceType.Smooth
  459. p12.TopSurface = Enum.SurfaceType.Smooth
  460. b12 = Instance.new("SpecialMesh", p12)
  461. b12.MeshType = Enum.MeshType.Brick
  462. b12.Name = "Mesh"
  463. b12.Scale = Vector3.new(0.499999911, 1, 0.699999928)
  464. p13 = Instance.new("Part", m)
  465. p13.BrickColor = BrickColor.new("Really black")
  466. p13.FormFactor = Enum.FormFactor.Custom
  467. p13.Size = Vector3.new(2.91000009, 4.3300004, 1)
  468. p13.CFrame = CFrame.new(67.5096359, 9.31026554, 73.9751816, 7.60371313e-006, 1.0943455e-005, 0.999972522, -0.119072244, -0.99284631, -7.55448127e-006, 0.992830038, -0.119038157, 1.01703836e-005)
  469. p13.CanCollide = false
  470. p13.Locked = true
  471. p13.Elasticity = 0
  472. p13.BottomSurface = Enum.SurfaceType.Smooth
  473. p13.TopSurface = Enum.SurfaceType.Smooth
  474. b13 = Instance.new("BlockMesh", p13)
  475. b13.Name = "Mesh"
  476. b13.Scale = Vector3.new(1, 1, 0.400000006)
  477. p14 = Instance.new("Part", m)
  478. p14.BrickColor = BrickColor.new("Really black")
  479. p14.FormFactor = Enum.FormFactor.Custom
  480. p14.Size = Vector3.new(2.5, 2.17999935, 1)
  481. p14.CFrame = CFrame.new(67.4896011, 10.1621294, 72.6420059, -1.55498967e-007, -1.33476442e-005, 0.999972522, -0.462319613, 0.886669755, -7.56198779e-006, -0.886637092, -0.462338567, 1.01078904e-005)
  482. p14.CanCollide = false
  483. p14.Locked = true
  484. p14.Elasticity = 0
  485. p14.BottomSurface = Enum.SurfaceType.Smooth
  486. p14.TopSurface = Enum.SurfaceType.Smooth
  487. b14 = Instance.new("BlockMesh", p14)
  488. b14.Name = "Mesh"
  489. b14.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  490. p15 = Instance.new("Part", m)
  491. p15.BrickColor = BrickColor.new("Really black")
  492. p15.FormFactor = Enum.FormFactor.Custom
  493. p15.Size = Vector3.new(1.16999996, 4.2699995, 1)
  494. p15.CFrame = CFrame.new(67.5095901, 9.35303593, 70.6884613, -1.24399676e-005, -4.94209144e-006, 0.999972522, 0.645082474, 0.764063478, -7.52419282e-006, -0.764068604, 0.645045042, 1.0099785e-005)
  495. p15.CanCollide = false
  496. p15.Locked = true
  497. p15.Material = "Neon"
  498. p15.Elasticity = 0
  499. p15.BottomSurface = Enum.SurfaceType.Smooth
  500. p15.TopSurface = Enum.SurfaceType.Smooth
  501. b15 = Instance.new("BlockMesh", p15)
  502. b15.Name = "Mesh"
  503. b15.Scale = Vector3.new(1, 1, 0.400000006)
  504. p16 = Instance.new("Part", m)
  505. p16.BrickColor = BrickColor.new("Really black")
  506. p16.FormFactor = Enum.FormFactor.Custom
  507. p16.Size = Vector3.new(1.68999994, 4.76000023, 1)
  508. p16.CFrame = CFrame.new(67.4996033, 9.63990211, 75.3800278, 2.98175655e-006, 1.30014914e-005, 0.999972522, 0.258795738, -0.965893507, -7.53869244e-006, 0.965865672, 0.258821338, 1.01718706e-005)
  509. p16.CanCollide = false
  510. p16.Locked = true
  511. p16.Material = "Neon"
  512. p16.Elasticity = 0
  513. p16.BottomSurface = Enum.SurfaceType.Smooth
  514. p16.TopSurface = Enum.SurfaceType.Smooth
  515. b16 = Instance.new("BlockMesh", p16)
  516. b16.Name = "Mesh"
  517. b16.Scale = Vector3.new(1, 1, 0.400000006)
  518. p17 = Instance.new("Part", m)
  519. p17.BrickColor = BrickColor.new("Really black")
  520. p17.FormFactor = Enum.FormFactor.Custom
  521. p17.Size = Vector3.new(1.78999996, 4.21999979, 1)
  522. p17.CFrame = CFrame.new(67.499588, 9.28996372, 69.8789978, -9.50601952e-006, -9.41252802e-006, 0.999972522, 0.293352425, 0.955965877, -7.53842551e-006, -0.955955863, 0.293315947, 1.00904235e-005)
  523. p17.CanCollide = false
  524. p17.Material = "Neon"
  525. p17.Locked = true
  526. p17.Elasticity = 0
  527. p17.BottomSurface = Enum.SurfaceType.Smooth
  528. p17.TopSurface = Enum.SurfaceType.Smooth
  529. b17 = Instance.new("BlockMesh", p17)
  530. b17.Name = "Mesh"
  531. b17.Scale = Vector3.new(1, 1, 0.400000006)
  532. p18 = Instance.new("WedgePart", m)
  533. p18.BrickColor = BrickColor.new("Black")
  534. p18.Material = "Neon"
  535. p18.Name = "BladePart1"
  536. p18.Material = Enum.Material.Neon
  537. p18.Name = "Wedge"
  538. p18.FormFactor = Enum.FormFactor.Symmetric
  539. p18.Size = Vector3.new(1, 4, 2)
  540. p18.CFrame = CFrame.new(67.499321, 6.83199787, 69.4816895, 0.999972522, -3.68033288e-005, -4.22928351e-005, 2.29664256e-005, -1.65102574e-005, 0.999963701, -2.03872096e-005, -0.999943435, -4.84290831e-005)
  541. p18.CanCollide = false
  542. p18.Locked = true
  543. p18.BottomSurface = Enum.SurfaceType.Smooth
  544. p18.TopSurface = Enum.SurfaceType.Smooth
  545. b18 = Instance.new("SpecialMesh", p18)
  546. b18.MeshType = Enum.MeshType.Wedge
  547. b18.Name = "Mesh"
  548. b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  549. p19 = Instance.new("WedgePart", m)
  550. p19.BrickColor = BrickColor.new("Institutional white")
  551. p19.Name = "BladePart2"
  552. p19.Material = "Neon"
  553. p19.Material = Enum.Material.Neon
  554. p19.Name = "Wedge"
  555. p19.FormFactor = Enum.FormFactor.Symmetric
  556. p19.Size = Vector3.new(1, 4, 2)
  557. p19.CFrame = CFrame.new(67.4994736, 6.83213568, 75.0314102, -0.999972522, 3.68059118e-005, -0.000103325001, -8.40002976e-005, -4.4521752e-005, 0.999963701, 2.03864402e-005, 0.999943435, 1.26029336e-005)
  558. p19.CanCollide = false
  559. p19.Locked = true
  560. p19.BottomSurface = Enum.SurfaceType.Smooth
  561. p19.TopSurface = Enum.SurfaceType.Smooth
  562. b19 = Instance.new("SpecialMesh", p19)
  563. b19.MeshType = Enum.MeshType.Wedge
  564. b19.Name = "Mesh"
  565. b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  566. p20 = Instance.new("Part", m)
  567. p20.BrickColor = BrickColor.new("Really black")
  568. p20.FormFactor = Enum.FormFactor.Custom
  569. p20.Size = Vector3.new(2.53000021, 2.39999938, 1)
  570. p20.CFrame = CFrame.new(67.4996414, 7.91898966, 71.4148178, -1.09432585e-005, 7.6432425e-006, 0.999972522, 0.992849231, -0.119072601, -7.55000656e-006, 0.119038492, 0.992832959, 1.01311334e-005)
  571. p20.CanCollide = false
  572. p20.Material = "Neon"
  573. p20.Locked = true
  574. p20.Elasticity = 0
  575. p20.BottomSurface = Enum.SurfaceType.Smooth
  576. p20.TopSurface = Enum.SurfaceType.Smooth
  577. b20 = Instance.new("BlockMesh", p20)
  578. b20.Name = "Mesh"
  579. b20.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  580. p21 = Instance.new("Part", m)
  581. p21.BrickColor = BrickColor.new("Really black")
  582. p21.FormFactor = Enum.FormFactor.Custom
  583. p21.Size = Vector3.new(1, 1.43999994, 1.59000015)
  584. p21.CFrame = CFrame.new(67.509613, 9.57073689, 76.6228256, 0.999972522, -2.50856156e-005, -1.53699839e-005, -4.86196222e-005, -0.800835371, -0.598824739, 1.91311228e-005, 0.59883821, -0.800800025)
  585. p21.CanCollide = false
  586. p21.Locked = true
  587. p21.Elasticity = 0
  588. p21.BottomSurface = Enum.SurfaceType.Smooth
  589. p21.TopSurface = Enum.SurfaceType.Smooth
  590. b21 = Instance.new("SpecialMesh", p21)
  591. b21.MeshType = Enum.MeshType.Wedge
  592. b21.Name = "Mesh"
  593. b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  594. w1 = Instance.new("Weld", p1)
  595. w1.Name = "Part_Weld"
  596. w1.Part0 = p1
  597. w1.C0 = CFrame.new(-67.5030899, -72.5280457, -14.8209743, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  598. w1.Part1 = p2
  599. w1.C1 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008)
  600. w2 = Instance.new("Weld", p2)
  601. w2.Name = "Part_Weld"
  602. w2.Part0 = p2
  603. w2.C0 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008)
  604. w2.Part1 = p3
  605. w2.C1 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105)
  606. w3 = Instance.new("Weld", p3)
  607. w3.Name = "Part_Weld"
  608. w3.Part0 = p3
  609. w3.C0 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105)
  610. w3.Part1 = p4
  611. w3.C1 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
  612. w4 = Instance.new("Weld", p4)
  613. w4.Name = "Part_Weld"
  614. w4.Part0 = p4
  615. w4.C0 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
  616. w4.Part1 = p5
  617. w4.C1 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  618. w5 = Instance.new("Weld", p5)
  619. w5.Name = "Part_Weld"
  620. w5.Part0 = p5
  621. w5.C0 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  622. w5.Part1 = p6
  623. w5.C1 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015)
  624. w6 = Instance.new("Weld", p6)
  625. w6.Name = "Part_Weld"
  626. w6.Part0 = p6
  627. w6.C0 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015)
  628. w6.Part1 = p7
  629. w6.C1 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  630. w7 = Instance.new("Weld", p7)
  631. w7.Name = "Part_Weld"
  632. w7.Part0 = p7
  633. w7.C0 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  634. w7.Part1 = p8
  635. w7.C1 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  636. w8 = Instance.new("Weld", p8)
  637. w8.Name = "Part_Weld"
  638. w8.Part0 = p8
  639. w8.C0 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  640. w8.Part1 = p9
  641. w8.C1 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005)
  642. w9 = Instance.new("Weld", p9)
  643. w9.Name = "Part_Weld"
  644. w9.Part0 = p9
  645. w9.C0 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005)
  646. w9.Part1 = p10
  647. w9.C1 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008)
  648. w10 = Instance.new("Weld", p10)
  649. w10.Name = "Part_Weld"
  650. w10.Part0 = p10
  651. w10.C0 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008)
  652. w10.Part1 = p11
  653. w10.C1 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005)
  654. w11 = Instance.new("Weld", p11)
  655. w11.Name = "Part_Weld"
  656. w11.Part0 = p11
  657. w11.C0 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005)
  658. w11.Part1 = p12
  659. w11.C1 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005)
  660. w12 = Instance.new("Weld", p12)
  661. w12.Name = "Part_Weld"
  662. w12.Part0 = p12
  663. w12.C0 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005)
  664. w12.Part1 = p13
  665. w12.C1 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008)
  666. w13 = Instance.new("Weld", p13)
  667. w13.Name = "Part_Weld"
  668. w13.Part0 = p13
  669. w13.C0 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008)
  670. w13.Part1 = p14
  671. w13.C1 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008)
  672. w14 = Instance.new("Weld", p14)
  673. w14.Name = "Part_Weld"
  674. w14.Part0 = p14
  675. w14.C0 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008)
  676. w14.Part1 = p15
  677. w14.C1 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008)
  678. w15 = Instance.new("Weld", p15)
  679. w15.Name = "Part_Weld"
  680. w15.Part0 = p15
  681. w15.C0 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008)
  682. w15.Part1 = p16
  683. w15.C1 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008)
  684. w16 = Instance.new("Weld", p16)
  685. w16.Name = "Part_Weld"
  686. w16.Part0 = p16
  687. w16.C0 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008)
  688. w16.Part1 = p17
  689. w16.C1 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008)
  690. w17 = Instance.new("Weld", p17)
  691. w17.Name = "Wedge_Weld"
  692. w17.Part0 = p17
  693. w17.C0 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008)
  694. w17.Part1 = p18
  695. w17.C1 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005)
  696. w18 = Instance.new("Weld", p18)
  697. w18.Name = "Wedge_Weld"
  698. w18.Part0 = p18
  699. w18.C0 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005)
  700. w18.Part1 = p19
  701. w18.C1 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005)
  702. w19 = Instance.new("Weld", p19)
  703. w19.Name = "Part_Weld"
  704. w19.Part0 = p19
  705. w19.C0 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005)
  706. w19.Part1 = p20
  707. w19.C1 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009)
  708. w20 = Instance.new("Weld", p20)
  709. w20.Name = "Part_Weld"
  710. w20.Part0 = p20
  711. w20.C0 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009)
  712. w20.Part1 = p21
  713. w20.C1 = CFrame.new(-67.5104218, -38.2193756, 67.100563, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
  714. m.Parent = char
  715. m:MakeJoints()
  716. ----------------------------------------------------
  717. local cor = Instance.new("Part", char.Absolution)
  718. cor.Name = "Thingy"
  719. cor.Locked = true
  720. cor.BottomSurface = 0
  721. cor.CanCollide = false
  722. cor.Size = Vector3.new(1, 13, 1)
  723. cor.Transparency = 1
  724. cor.TopSurface = 0
  725. corw = Instance.new("Weld", cor)
  726. corw.Part0 = rarm
  727. corw.Part1 = cor
  728. corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  729. corw.C1 = CFrame.new(0, 0, 0)
  730. weld1 = Instance.new("Weld", char.Absolution)
  731. weld1.Part0 = cor
  732. weld1.Part1 = p6
  733. weld1.C0 = CFrame.new(0, 0, 0)
  734. ----------------------------------------------------
  735. hitb = Instance.new("Part", char.Absolution)
  736. hitb.Name = "Thingy2"
  737. hitb.Locked = true
  738. hitb.BottomSurface = 0
  739. hitb.CanCollide = false
  740. hitb.Size = Vector3.new(0, 8, 6)
  741. hitb.Transparency = 1
  742. hitb.TopSurface = 0
  743. weld2 = Instance.new("Weld", char.Absolution)
  744. weld2.Part0 = hitb
  745. weld2.Part1 = p12
  746. weld2.C0 = CFrame.new(0, .6, 1)
  747.  
  748.  
  749. ----------------------------------------------------
  750. function weld5(part0, part1, c0, c1)
  751. weeld=Instance.new("Weld", part0)
  752. weeld.Part0=part0
  753. weeld.Part1=part1
  754. weeld.C0=c0
  755. weeld.C1=c1
  756. return weeld
  757. end
  758. ----------------------------------------------------
  759. function newRay(start,face,range,wat)
  760. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  761. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  762. return rey,hit,pos
  763. end
  764. ----------------------------------------------------
  765. mod5 = Instance.new("Model",char)
  766.  
  767. function FindNearestTorso(Position,Distance,SinglePlayer)
  768. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  769. local List = {}
  770. for i,v in pairs(workspace:GetChildren())do
  771. if v:IsA("Model")then
  772. if v:findFirstChild("Torso")then
  773. if v ~= char then
  774. if(v.Torso.Position -Position).magnitude <= Distance then
  775. table.insert(List,v)
  776. end
  777. end
  778. end
  779. end
  780. end
  781. return List
  782. end
  783.  
  784. function Landing()
  785. part=Instance.new('Part',mod5)
  786. part.Anchored=true
  787. part.CanCollide=false
  788. part.FormFactor='Custom'
  789. part.Size=Vector3.new(.2,.2,.2)
  790. part.CFrame=root.CFrame*CFrame.new(0,-2,0)
  791. part.Transparency=.7
  792. part.BrickColor=BrickColor.new('Really black')
  793. mesh=Instance.new('SpecialMesh',part)
  794. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  795. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  796. mesh.Scale=Vector3.new(10,5,10)
  797.  
  798. for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
  799. if v:FindFirstChild('Humanoid') then
  800. v.Humanoid:TakeDamage(math.random(20,30))
  801. v.Humanoid.PlatformStand = true
  802. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  803. end
  804. end
  805.  
  806. coroutine.resume(coroutine.create(function()
  807. for i=0,3.8,0.05 do
  808. wait()
  809. part.CFrame=part.CFrame
  810. part.Transparency=i
  811. mesh.Scale=mesh.Scale+Vector3.new(3,3,3)
  812. end
  813. part.Parent = nil
  814. end))
  815. end
  816. ----------------------------------------------------
  817. mod4 = Instance.new("Model",char)
  818.  
  819. ptez = {0.7, 0.8, 0.9, 1}
  820.  
  821. function FindNearestTorso(Position,Distance,SinglePlayer)
  822. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  823. local List = {}
  824. for i,v in pairs(workspace:GetChildren())do
  825. if v:IsA("Model")then
  826. if v:findFirstChild("Torso")then
  827. if v ~= char then
  828. if(v.Torso.Position -Position).magnitude <= Distance then
  829. table.insert(List,v)
  830. end
  831. end
  832. end
  833. end
  834. end
  835. return List
  836. end
  837.  
  838. function GroundPound()
  839. part=Instance.new('Part',mod4)
  840. part.Anchored=true
  841. part.CanCollide=false
  842. part.FormFactor='Custom'
  843. part.Size=Vector3.new(.2,.2,.2)
  844. part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0)
  845. part.Transparency=.7
  846. part.BrickColor=BrickColor.new('Institutional white')
  847. mesh=Instance.new('SpecialMesh',part)
  848. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  849. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  850. mesh.Scale=Vector3.new(3,3,3)
  851. part2=Instance.new('Part',mod4)
  852. part2.Anchored=true
  853. part2.CanCollide=false
  854. part2.FormFactor='Custom'
  855. part2.Size=Vector3.new(.2,.2,.2)
  856. part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6)
  857. part2.Transparency=.7
  858. part2.BrickColor=BrickColor.new('Institutional white')
  859. mesh2=Instance.new('SpecialMesh',part2)
  860. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  861. mesh2.Scale=Vector3.new(3,1.5,3)
  862. x = Instance.new("Sound",char)
  863. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  864. x.Pitch = ptez[math.random(1,#ptez)]
  865. x.Volume = 1
  866. wait(.1)
  867. x:Play()
  868. for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do
  869. if v:FindFirstChild('Humanoid') then
  870. v.Humanoid:TakeDamage(math.random(8,15))
  871. end
  872. end
  873. coroutine.resume(coroutine.create(function()
  874. for i=0,0.62,0.13 do
  875. wait()
  876. part.CFrame=part.CFrame
  877. part.Transparency=i
  878. mesh.Scale=mesh.Scale+Vector3.new(5,5,5)
  879. part2.CFrame=part2.CFrame
  880. part2.Transparency=i
  881. mesh2.Scale=mesh2.Scale+Vector3.new(5,5,5)
  882. end
  883. part.Parent=nil
  884. part2.Parent=nil
  885. x:Destroy()
  886. end))
  887. end
  888. ----------------------------------------------------
  889. mod=Instance.new('Model',char)
  890.  
  891. function charge()
  892. hed.Velocity=hed.CFrame.lookVector*200
  893. part=Instance.new('Part',mod)
  894. part.Anchored=true
  895. part.CanCollide=false
  896. part.FormFactor='Custom'
  897. part.Size=Vector3.new(.2,.2,.2)
  898. part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0)
  899. part.Transparency=.7
  900. part.Name = "Wow"
  901. part.BrickColor=BrickColor.new('Black')
  902. mesh=Instance.new('SpecialMesh',part)
  903. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  904. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  905. mesh.Scale=Vector3.new(10,5,10)
  906. part2=part:clone()
  907. part2.Parent=mod
  908. part2.BrickColor=BrickColor.new('Institutional white')
  909. mesh2=mesh:clone()
  910. mesh2.Parent=part2
  911. mesh2.Scale=Vector3.new(20,10,20)
  912. part3=part2:clone()
  913. part3.Parent = mod
  914. part3.BrickColor=BrickColor.new('Cyan')
  915. mesh3=mesh2:clone()
  916. mesh2.Parent=part3
  917. mesh3.Scale=Vector3.new(30,15,30)
  918. coroutine.resume(coroutine.create(function()
  919. for i=0,1,0.1 do
  920. wait()
  921. part.CFrame=part.CFrame
  922. part.Transparency=i
  923. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  924. part2.CFrame=part2.CFrame
  925. part2.Transparency=i
  926. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  927. part3.CFrame=part3.CFrame
  928. part3.Transparency=i
  929. mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1)
  930. end
  931. part.Parent=nil
  932. part2.Parent=nil
  933. part3.Parent = nil
  934. part1:remove()
  935. part:remove()
  936. part2:remove()
  937. part3:remove()
  938. end))
  939. end
  940. ----------------------------------------------------
  941. function FindNearestTorso(Position,Distance,SinglePlayer)
  942. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  943. local List = {}
  944. for i,v in pairs(workspace:GetChildren())do
  945. if v:IsA("Model")then
  946. if v:findFirstChild("Torso")then
  947. if v ~= char then
  948. if(v.Torso.Position -Position).magnitude <= Distance then
  949. table.insert(List,v)
  950. end
  951. end
  952. end
  953. end
  954. end
  955. return List
  956. end
  957.  
  958. mod3 = Instance.new("Model",rleg)
  959.  
  960. function Stomp()
  961. part=Instance.new('Part',mod3)
  962. part.Anchored=true
  963. part.CanCollide=false
  964. part.FormFactor='Custom'
  965. part.Size=Vector3.new(.2,.2,.2)
  966. part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0)
  967. part.Transparency=0.7
  968. part.BrickColor=BrickColor.new('')
  969. mesh=Instance.new('SpecialMesh',part)
  970. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  971. mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
  972. mesh.Scale=Vector3.new(25,25,25)
  973. part2=part:clone()
  974. part2.Parent=mod3
  975. part2.BrickColor=BrickColor.new('Deep orange')
  976. mesh2=mesh:clone()
  977. mesh2.Parent=part2
  978. mesh2.Scale=Vector3.new(15,15,15)
  979. part3=part:clone()
  980. part3.Parent=mod3
  981. part3.TopSurface=0
  982. part3.BottomSurface=0
  983. part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0)
  984. mesh3=Instance.new('SpecialMesh',part3)
  985. mesh3.MeshType = 3
  986. mesh3.Scale=Vector3.new(12,12,12)
  987. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  988. if v:FindFirstChild('Humanoid') then
  989. v.Humanoid:TakeDamage(math.random(20,60))
  990. v.Humanoid.PlatformStand = true
  991. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  992. end
  993. end
  994. coroutine.resume(coroutine.create(function()
  995. for i=0,3.8,0.05 do
  996. wait()
  997. part.CFrame=part.CFrame
  998. part.Transparency=i
  999. mesh.Scale=mesh.Scale+Vector3.new(5,5,5)
  1000. part2.CFrame=part2.CFrame
  1001. part2.Transparency=i
  1002. mesh2.Scale=mesh2.Scale+Vector3.new(5,5,5)
  1003. part3.CFrame=part3.CFrame
  1004. part3.Transparency=i
  1005. mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5)
  1006. end
  1007. end))
  1008. end
  1009. ----------------------------------------------------
  1010.  
  1011. local acos = math.acos
  1012. local sqrt = math.sqrt
  1013. local Vec3 = Vector3.new
  1014. local fromAxisAngle = CFrame.fromAxisAngle
  1015.  
  1016. local function toAxisAngle(CFr)
  1017. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  1018. local Angle = math.acos((R00+R11+R22-1)/2)
  1019. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1020. A = A == 0 and 0.00001 or A
  1021. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1022. B = B == 0 and 0.00001 or B
  1023. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1024. C = C == 0 and 0.00001 or C
  1025. local x = (R21-R12)/sqrt(A)
  1026. local y = (R02-R20)/sqrt(B)
  1027. local z = (R10-R01)/sqrt(C)
  1028. return Vec3(x,y,z),Angle
  1029. end
  1030.  
  1031. function ApplyTrig(Num,Func)
  1032. local Min,Max = Func(0),Func(1)
  1033. local i = Func(Num)
  1034. return (i-Min)/(Max-Min)
  1035. end
  1036.  
  1037. function LerpCFrame(CFrame1,CFrame2,Num)
  1038. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  1039. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  1040. end
  1041.  
  1042. function Crater(Torso,Radius)
  1043. Spawn(function()
  1044. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  1045. local Ignore = {}
  1046. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1047. if v.Character ~= nil then
  1048. Ignore[#Ignore+1] = v.Character
  1049. end
  1050. end
  1051. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  1052. if Hit == nil then return end
  1053. local Parts = {}
  1054. for i = 1,360,10 do
  1055. local P = Instance.new("Part",Torso.Parent)
  1056. P.Anchored = true
  1057. P.FormFactor = "Custom"
  1058. P.BrickColor = Hit.BrickColor
  1059. P.Material = Hit.Material
  1060. P.TopSurface = "Smooth"
  1061. P.BottomSurface = "Smooth"
  1062. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  1063. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1064. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  1065. if math.random(0,5) == 0 then -- rubble
  1066. local P = Instance.new("Part",Torso.Parent)
  1067. P.Anchored = true
  1068. P.FormFactor = "Custom"
  1069. P.BrickColor = Hit.BrickColor
  1070. P.Material = Hit.Material
  1071. P.TopSurface = "Smooth"
  1072. P.BottomSurface = "Smooth"
  1073. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  1074. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1075. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  1076. end
  1077. end
  1078. for i = 0,1,0.05 do
  1079. for i2,v in pairs(Parts) do
  1080. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  1081. end
  1082. wait(0.02)
  1083. end
  1084. for i,v in pairs(Parts) do
  1085. if v[1].Size.X > 2.1 then
  1086. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  1087. end
  1088. v[1].Anchored = false
  1089. end
  1090. for i = 0,1,0.05 do
  1091. for i2,v in pairs(Parts) do
  1092. v[1].Transparency = i
  1093. if i == 1 then
  1094. v[1]:Destroy()
  1095. elseif i >= 0.25 then
  1096. v[1].CanCollide = false
  1097. end
  1098. end
  1099. wait(0.02)
  1100. end
  1101. Parts = nil
  1102. end)
  1103. end
  1104.  
  1105. ----------------------------------------------------
  1106. mouse.KeyDown:connect(function(key)
  1107. if key == "r" and char.Mana.Value>=50 then
  1108. char.Mana.Value = char.Mana.Value - 50
  1109. larm.BrickColor = BrickColor.new("Bright red")
  1110. rarm.BrickColor = BrickColor.new("Bright red")
  1111. if Debounces.CanAttack == true then
  1112. Debounces.CanAttack = false
  1113. Debounces.on = true
  1114. Debounces.NoIdl = true
  1115. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  1116. hit = ht.Parent
  1117. if ht and hit:IsA("Model") then
  1118. if hit:FindFirstChild("Humanoid") then
  1119. if hit.Name ~= p.Name then
  1120. hit:FindFirstChild("Humanoid"):TakeDamage(10)
  1121. wait(1)
  1122. end
  1123. end
  1124. elseif ht and hit:IsA("Hat") then
  1125. if hit.Parent.Name ~= p.Name then
  1126. if hit.Parent:FindFirstChild("Humanoid") then
  1127.  
  1128. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  1129. wait(1)
  1130. --Debounces.Slashed = false
  1131. end
  1132. end
  1133. end
  1134. end)
  1135. q = Instance.new("Sound",hed)
  1136. q.SoundId = "http://www.roblox.com/asset/?id=134012322"
  1137. q.Pitch = 0.85
  1138. q.Looped = false
  1139. q1 = Instance.new("Sound",hed)
  1140. q1.SoundId = "http://www.roblox.com/asset/?id=134012322"
  1141. q1.Pitch = 0.85
  1142. q1.Looped = false
  1143. q:Play()
  1144. q1:Play()
  1145. for i = 1,20 do
  1146. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4)
  1147. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4)
  1148. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4)
  1149. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  1150. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  1151. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  1152. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.2, -3) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(0)), 0.5)
  1153. if Debounces.on == false then break end
  1154. wait()
  1155. end
  1156. n = Instance.new("Sound",hed)
  1157. n.SoundId = "http://www.roblox.com/asset/?id=168514932"
  1158. n.Pitch = 0.94
  1159. n.Looped = false
  1160. n1 = Instance.new("Sound",hed)
  1161. n1.SoundId = "http://www.roblox.com/asset/?id=168514932"
  1162. n1.Pitch = 0.94
  1163. n1.Looped = false
  1164. n:Play()
  1165. n1:Play()
  1166. b = Instance.new("Sound",hed)
  1167. b.SoundId = "http://www.roblox.com/asset/?id=168586586"
  1168. b.Pitch = 0.94
  1169. b.Looped = false
  1170. b1 = Instance.new("Sound",hed)
  1171. b1.SoundId = "http://www.roblox.com/asset/?id=168586586"
  1172. b1.Pitch = 0.94
  1173. b1.Looped = false
  1174. b:Play()
  1175. b1:Play()
  1176. for i = 1,26 do
  1177. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.5)
  1178. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.5)
  1179. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),0.5)
  1180. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5)
  1181. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5)
  1182. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5)
  1183. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 0.5)
  1184. if Debounces.on == false then break end
  1185. wait()
  1186. end
  1187. wait(.5)
  1188. to:disconnect()
  1189. q:Destroy()
  1190. q1:Destroy()
  1191. n:Destroy()
  1192. n1:Destroy()
  1193. larm.BrickColor = BrickColor.new("Really black")
  1194. rarm.BrickColor = BrickColor.new("Really black")
  1195. if Debounces.CanAttack == false then
  1196. Debounces.CanAttack = true
  1197. Debounces.on = false
  1198. Debounces.NoIdl = false
  1199. end
  1200. end
  1201. end
  1202. end)
  1203. ----------------------------------------------------
  1204. mouse.KeyDown:connect(function(key)
  1205. if key == "q" and char.Mana.Value>=50 then
  1206. char.Mana.Value = char.Mana.Value - 50
  1207. larm.BrickColor = BrickColor.new("Bright red")
  1208. rarm.BrickColor = BrickColor.new("Bright red")
  1209. if Debounces.CanAttack == true then
  1210. Debounces.CanAttack = false
  1211. Debounces.on = true
  1212. Debounces.NoIdl = true
  1213. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  1214. hit = ht.Parent
  1215. if ht and hit:IsA("Model") then
  1216. if hit:FindFirstChild("Humanoid") then
  1217. if hit.Name ~= p.Name then
  1218. hit:FindFirstChild("Humanoid"):TakeDamage(4)
  1219. wait(1)
  1220. --Debounces.Slashed = false
  1221. --end
  1222. end
  1223. end
  1224. elseif ht and hit:IsA("Hat") then
  1225. if hit.Parent.Name ~= p.Name then
  1226. if hit.Parent:FindFirstChild("Humanoid") then
  1227. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
  1228. wait(1)
  1229. --Debounces.Slashed = false
  1230. end
  1231. end
  1232. end
  1233. end)
  1234. for i = 1, 20 do
  1235. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(21), math.rad(75), math.rad(50)), 0.2)
  1236. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-18)), 0.2)
  1237. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5)
  1238. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5)
  1239. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  1240. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  1241. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1242. if Debounces.on == false then break end
  1243. wait()
  1244. end
  1245. z = Instance.new("Sound",hed)
  1246. z.SoundId = "rbxassetid://160069154"
  1247. z.Looped = false
  1248. z.Pitch = .9
  1249. z1 = Instance.new("Sound",hed)
  1250. z1.SoundId = "rbxassetid://160069154"
  1251. z1.Looped = false
  1252. z1.Pitch = .9
  1253. wait(0.01)
  1254. z:Play()
  1255. z1:Play()
  1256. for i = 1, 12 do
  1257. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), 0.2)
  1258. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2,.9,-1) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(20)), 0.5)
  1259. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5)
  1260. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5)
  1261. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5)
  1262. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5)
  1263. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1264. if Debounces.on == false then break end
  1265. wait()
  1266. end
  1267. for i = 1, 12 do
  1268. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(140), math.rad(0), math.rad(50)), 0.4)
  1269. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.4)
  1270. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5)
  1271. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5)
  1272. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  1273. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  1274. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1275. if Debounces.on == false then break end
  1276. wait()
  1277. end
  1278. z = Instance.new("Sound",hed)
  1279. z.SoundId = "rbxassetid://168586621"
  1280. z.Looped = false
  1281. z.Pitch = 1
  1282. z1 = Instance.new("Sound",hed)
  1283. z1.SoundId = "rbxassetid://168586621"
  1284. z1.Looped = false
  1285. z1.Pitch = 1
  1286. wait(0.01)
  1287. z:Play()
  1288. z1:Play()
  1289. for i = 1, 12 do
  1290. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(10)), 0.5)
  1291. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-18)), 0.4)
  1292. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5)
  1293. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5)
  1294. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5)
  1295. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5)
  1296. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.8, -1.4) * CFrame.Angles(math.rad(-110), math.rad(-90), math.rad(20)), 1)
  1297. if Debounces.on == false then break end
  1298. wait()
  1299. end
  1300. to:disconnect()
  1301. larm.BrickColor = BrickColor.new("Really black")
  1302. rarm.BrickColor = BrickColor.new("Really black")
  1303. if Debounces.CanAttack == false then
  1304. Debounces.CanAttack = true
  1305. Debounces.on = false
  1306. Debounces.NoIdl = false
  1307. end
  1308. end
  1309. end
  1310. end)
  1311. ----------------------------------------------------
  1312. Sit = false
  1313. mouse.KeyDown:connect(function(key)
  1314. if key == "v" then
  1315. if Sit == false then
  1316. Sit = true
  1317. hum.WalkSpeed = 20
  1318. stanceToggle = "Sitting"
  1319. elseif Sit == true then
  1320. Sit = false
  1321. hum.WalkSpeed = 50
  1322. stanceToggle = "Normal"
  1323. end
  1324. end
  1325. end)
  1326. ----------------------------------------------------
  1327. mouse.KeyDown:connect(function(key)
  1328. if key == "t" and char.Mana.Value>=50 then
  1329. char.Mana.Value = char.Mana.Value - 50
  1330. if Debounces.CanAttack == true then
  1331. Debounces.CanAttack = false
  1332. Debounces.on = true
  1333. Debounces.NoIdl = true
  1334. for i = 1, 25 do
  1335. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4)
  1336. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4)
  1337. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4)
  1338. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  1339. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4)
  1340. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
  1341. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1)
  1342. if Debounces.on == false then break end
  1343. wait()
  1344. end
  1345. Spawn(function()
  1346. local Parts = {}
  1347. for Y = -5,5 do
  1348. local P = Instance.new("Part",char)
  1349. P.Anchored = true
  1350. P.FormFactor = "Custom"
  1351. P.CanCollide = false
  1352. P.Size = Vector3.new(1,1,1)
  1353. P.TopSurface = "SmoothNoOutlines"
  1354. P.BottomSurface = "SmoothNoOutlines"
  1355. P.BrickColor = BrickColor.new("Really black")
  1356. P.Material = "Neon"
  1357. P.Name = tostring(Y)
  1358. local i = (Y+5)/(10)
  1359. i = 1-math.cos(math.pi*i-(math.pi/2))
  1360. P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*6),0,0)
  1361. P.Touched:connect(function(ht)
  1362. local hit = ht.Parent
  1363. if hit:FindFirstChild("Humanoid") then
  1364. hit.Humanoid:TakeDamage(math.random(100,math.huge))
  1365. end
  1366. end)
  1367. s = Instance.new("Sound",P)
  1368. s.SoundId = "rbxassetid://228343271"
  1369. s.Volume = .7
  1370. s.Pitch = 0.9
  1371. s:Play()
  1372. P.Touched:connect(function(ht)
  1373. hit = ht.Parent
  1374. if ht and hit:IsA("Model") then
  1375. if hit:FindFirstChild("Humanoid") then
  1376. if hit.Name ~= p.Name then
  1377.  
  1378. hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
  1379. hit:FindFirstChild("Humanoid").PlatformStand = true
  1380. wait(1)
  1381. --Debounces.Slashed = false
  1382. --end
  1383. end
  1384. end
  1385. elseif ht and hit:IsA("Hat") then
  1386. if hit.Parent.Name ~= p.Name then
  1387. if hit.Parent:FindFirstChild("Humanoid") then
  1388.  
  1389. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
  1390. hit:FindFirstChild("Humanoid").PlatformStand = true
  1391. wait(1)
  1392. --Debounces.Slashed = false
  1393. --end
  1394. end
  1395. end
  1396. end
  1397. end)
  1398. Parts[#Parts+1] = P
  1399. end
  1400. local BREAKIT = false
  1401. local CParts = {}
  1402. local Rocks = {}
  1403. local LastPos = nil
  1404. for i = 1,70 do
  1405. for i2,v in pairs(Parts) do
  1406. v.CFrame = v.CFrame*CFrame.new(0,0,-4)
  1407. local cf = v.CFrame
  1408. v.Size = v.Size+Vector3.new(1,1,1)
  1409. v.CFrame = cf
  1410. v.Transparency = v.Transparency+0.02
  1411. if v.Transparency >= 0.975 then BREAKIT = true end
  1412. if v.Name == "0" then
  1413. local Ignore = {}
  1414. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1415. if v.Character ~= nil then
  1416. Ignore[#Ignore+1] = v.Character
  1417. end
  1418. end
  1419. local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0))
  1420. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
  1421. if Hit ~= nil then
  1422. if #Rocks == 0 then
  1423. for i = 1,5 do
  1424. local P = Instance.new("Part",char)
  1425. Rocks[#Rocks+1] = P
  1426. P.Anchored = true
  1427. P.FormFactor = "Custom"
  1428. P.BrickColor = Hit.BrickColor
  1429. P.Material = Hit.Material
  1430. P.TopSurface = "Smooth"
  1431. P.BottomSurface = "Smooth"
  1432. P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100)
  1433. end
  1434. end
  1435. for i,P in pairs(Rocks) do
  1436. P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  1437. end
  1438. local P = Instance.new("Part",char)
  1439. CParts[#CParts+1] = {P,tick()}
  1440. P.Anchored = true
  1441. P.FormFactor = "Custom"
  1442. P.BrickColor = Hit.BrickColor
  1443. P.Material = Hit.Material
  1444. P.TopSurface = "Smooth"
  1445. P.BottomSurface = "Smooth"
  1446. P.Size = Vector3.new(5,5,5)*(math.random(100,300)/100)
  1447. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1448. Pos = Pos.p
  1449. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  1450. local P = P:Clone()
  1451. CParts[#CParts+1] = {P,tick()}
  1452. P.Parent = char
  1453. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
  1454. Pos = Pos.p
  1455. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20)))
  1456. if LastPos ~= nil then
  1457. local P = P:Clone()
  1458. CParts[#CParts+1] = {P,tick()}
  1459. P.Parent = char
  1460. P.BrickColor = BrickColor.new("Really black")
  1461. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1462. Pos = Pos.p
  1463. local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1464. P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.30)
  1465. --P.Velocity = Vector3.new(0,-1000,0)
  1466. P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
  1467. end
  1468. LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1469. end
  1470. end
  1471. end
  1472. if BREAKIT then break end
  1473. wait(0.002)
  1474. end
  1475. for i,v in pairs(Rocks) do
  1476. CParts[#CParts+1] = {v,tick()}
  1477. end
  1478. for i,v in pairs(Parts) do
  1479. v:Destroy()
  1480. end
  1481. Parts = nil
  1482. while true do
  1483. local t = tick()
  1484. local p = nil
  1485. for i,v in pairs(CParts) do
  1486. if t-v[2] > 4 then
  1487. v[1].Transparency = v[1].Transparency+0.05
  1488. if v[1].Transparency >= 1 then
  1489. v[1]:Destroy()
  1490. CParts[i] = nil
  1491. end
  1492. end
  1493. p = v
  1494. end
  1495. if p == nil then break end
  1496. wait(0.002)
  1497. end
  1498. for i,v in pairs(CParts) do
  1499. v:Destroy()
  1500. end
  1501. CParts = {}
  1502. end)
  1503. for i = 1, 20 do
  1504. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.4)
  1505. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.4)
  1506. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.4)
  1507. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4)
  1508. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4)
  1509. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4)
  1510. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1)
  1511. if Debounces.on == false then break end
  1512. wait()
  1513. end
  1514. if Debounces.CanAttack == false then
  1515. Debounces.CanAttack = true
  1516. Debounces.on = false
  1517. Debounces.NoIdl = false
  1518. end
  1519. end
  1520. end
  1521. end)
  1522. ----------------------------------------------------
  1523. mouse.KeyDown:connect(function(key)
  1524. if key == "e" and char.Mana.Value>=50 then
  1525. char.Mana.Value = char.Mana.Value - 50
  1526. larm.BrickColor = BrickColor.new("Bright red")
  1527. rarm.BrickColor = BrickColor.new("Bright red")
  1528. if Debounces.CanAttack == true then
  1529. Debounces.CanAttack = false
  1530. Debounces.on = true
  1531. Debounces.NoIdl = true
  1532. for i = 1, 18 do
  1533. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.7, 0) * CFrame.Angles(math.rad(90),math.rad(50),math.rad(90)), 0.4)
  1534. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)
  1535. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1536. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
  1537. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
  1538. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  1539. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1540. if Debounces.on == false then break end
  1541. wait()
  1542. end
  1543. local HandCF = CFrame.new(char.Absolution.Handle.Position - Vector3.new(0,8.8,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1544. local rng = Instance.new("Part", char.Absolution.Handle)
  1545. rng.Anchored = true
  1546. rng.BrickColor = BrickColor.new("Really black")
  1547. rng.CanCollide = true
  1548. rng.FormFactor = 3
  1549. rng.Name = "Ring"
  1550. rng.Size = Vector3.new(1, 1, 1)
  1551. rng.CanCollide = false
  1552. rng.Transparency = 0.35
  1553. rng.TopSurface = 0
  1554. rng.BottomSurface = 0
  1555. rng.CFrame = HandCF
  1556. local rngm = Instance.new("SpecialMesh", rng)
  1557. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1558. rngm.Scale = Vector3.new(1, 1, 2)
  1559. x = Instance.new("Sound", hed)
  1560. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  1561. x.Looped = false
  1562. x.Pitch = .7
  1563. x.Volume = 1
  1564. x1 = Instance.new("Sound", hed)
  1565. x1.SoundId = "http://www.roblox.com/asset/?id=169445602"
  1566. x1.Looped = false
  1567. x1.Pitch = .7
  1568. x1.Volume = 1
  1569. x:Play()
  1570. x1:Play()
  1571. rngto = rng.Touched:connect(function(ht)
  1572. hit = ht.Parent
  1573. if ht and hit:IsA("Model") then
  1574. if hit:FindFirstChild("Humanoid") then
  1575. if hit.Name ~= p.Name then
  1576.  
  1577. hit:FindFirstChild("Humanoid"):TakeDamage(4)
  1578. hit:FindFirstChild("Humanoid").PlatformStand = true
  1579. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
  1580. --Debounces.Slashed = false
  1581. --end
  1582. end
  1583. end
  1584. elseif ht and hit:IsA("Hat") then
  1585. if hit.Parent.Name ~= p.Name then
  1586. if hit.Parent:FindFirstChild("Humanoid") then
  1587.  
  1588. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
  1589. hit:FindFirstChild("Humanoid").PlatformStand = true
  1590. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
  1591. --Debounces.Slashed = false
  1592. end
  1593. end
  1594. end
  1595. end)
  1596. coroutine.wrap(function()
  1597. for i = 1, 60, 2 do
  1598. rngm.Scale = Vector3.new(10 + i*10, 10 + i*10, 10)
  1599. rng.Size = rngm.Scale
  1600. rng.CFrame = HandCF
  1601. rng.Transparency = i/60
  1602. wait()
  1603. end
  1604. wait()
  1605. rng:Destroy()
  1606. end)()
  1607. for i = 1, 18 do
  1608. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, 0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.4)
  1609. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)
  1610. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1611. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
  1612. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
  1613. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  1614. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, 0.2) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1615. if Debounces.on == false then break end
  1616. wait()
  1617. end
  1618. larm.BrickColor = BrickColor.new("Really black")
  1619. rarm.BrickColor = BrickColor.new("Really black")
  1620. x:Destroy()
  1621. x1:Destroy()
  1622. if Debounces.CanAttack == false then
  1623. Debounces.CanAttack = true
  1624. Debounces.on = false
  1625. Debounces.NoIdl = false
  1626. end
  1627. end
  1628. end
  1629. end)
  1630. ----------------------------------------------------
  1631. mouse.KeyDown:connect(function(key)
  1632. if key == "y" then
  1633. if Debounces.CanAttack == true then
  1634. Debounces.CanAttack = false
  1635. Debounces.on = true
  1636. Debounces.NoIdl = true
  1637. for i = 1, 15 do
  1638. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2)
  1639. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.2)
  1640. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  1641. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2)
  1642. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  1643. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  1644. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  1645. if Debounces.on == false then break end
  1646. wait()
  1647. end
  1648. x = Instance.new("Sound",char)
  1649. x.SoundId = "rbxassetid://228343271"
  1650. x.Pitch = 1
  1651. x.Volume = .8
  1652. wait(.1)
  1653. x:Play()
  1654. Debounces.on = false
  1655. Debounces.Here = false
  1656. shot = shot + 1
  1657. local rng = Instance.new("Part", char)
  1658. rng.Anchored = true
  1659. rng.BrickColor = BrickColor.new("Really black")
  1660. rng.CanCollide = false
  1661. rng.FormFactor = 3
  1662. rng.Name = "Ring"
  1663. rng.Size = Vector3.new(1, 1, 1)
  1664. rng.Transparency = 0.35
  1665. rng.TopSurface = 0
  1666. rng.BottomSurface = 0
  1667. rng2 = rng:clone()
  1668. rng3 = rng2:clone()
  1669. rng4 = rng2:clone()
  1670. local rngm = Instance.new("SpecialMesh", rng)
  1671. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1672. rngm.TextureId = "http://www.roblox.com/asset/?id=122569107"
  1673. rngm.Scale = Vector3.new(10, 10, 1)
  1674. rngm2 = rngm:clone()
  1675. rngm2.Scale = Vector3.new(5, 5, 1)
  1676. rngm3=rngm2:clone()
  1677. rngm3.Parent = rng3
  1678. rngm3.Scale = Vector3.new(8, 8, 1)
  1679. rngm4 = rngm2:clone()
  1680. rngm4.Parent = rng4
  1681. rngm4.Scale = Vector3.new(6, 6, 1)
  1682. local bem = Instance.new("Part", char)
  1683. bem.Anchored = true
  1684. bem.BrickColor = BrickColor.new("Really black")
  1685. bem.CanCollide = false
  1686. bem.FormFactor = 3
  1687. bem.Name = "Beam" .. shot
  1688. bem.Size = Vector3.new(1, 1, 1)
  1689. bem.Transparency = 0.35
  1690. bem.TopSurface = 0
  1691. bem.BottomSurface = 0
  1692. local bemm = Instance.new("SpecialMesh", bem)
  1693. bemm.MeshType = 4
  1694. bemm.Scale = Vector3.new(1, 4, 4)
  1695. local out = Instance.new("Part", char)
  1696. out.Anchored = true
  1697. out.BrickColor = BrickColor.new("Really black")
  1698. out.CanCollide = false
  1699. out.FormFactor = 3
  1700. out.Name = "Out"
  1701. out.Size = Vector3.new(4, 4, 4)
  1702. out.Transparency = 0.35
  1703. out.TopSurface = 0
  1704. out.BottomSurface = 0
  1705. local outm = Instance.new("SpecialMesh", out)
  1706. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1707. outm.TextureId = "http://www.roblox.com/asset/?id=122569107"
  1708. outm.Scale = Vector3.new(4, 4, 4)
  1709. local bnd = Instance.new("Part", char)
  1710. bnd.Anchored = true
  1711. bnd.BrickColor = BrickColor.new("Really black")
  1712. bnd.CanCollide = false
  1713. bnd.FormFactor = 3
  1714. bnd.Material = "Neon"
  1715. bnd.Name = "Bend"
  1716. bnd.Size = Vector3.new(1, 1, 1)
  1717. bnd.Transparency = 1
  1718. bnd.TopSurface = 0
  1719. bnd.BottomSurface = 0
  1720. local bndm = Instance.new("SpecialMesh", bnd)
  1721. bndm.MeshType = 3
  1722. bndm.Scale = Vector3.new(8, 8, 8)
  1723. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  1724. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  1725. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  1726. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  1727. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  1728. rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0)
  1729. Debounces.Shewt = true
  1730. coroutine.wrap(function()
  1731. for i = 1, 50, 0.2 do
  1732. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  1733. rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
  1734. rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1)
  1735. rng.Transparency = i/20
  1736. rng3.Transparency = 1/16
  1737. rng4.Transparency = i/12
  1738. wait()
  1739. end
  1740. wait()
  1741. rng:Destroy()
  1742. end)()
  1743. if Debounces.Shewt == true then
  1744. char:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  1745. hit = ht.Parent
  1746. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  1747. if HasntTouched(hit.Name) == true and deb == false then
  1748. deb = true
  1749. coroutine.wrap(function()
  1750. hit:FindFirstChild("Humanoid").PlatformStand = true
  1751. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  1752. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  1753. end)()
  1754. table.insert(Touche, hit.Name)
  1755. deb = false
  1756. end
  1757. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  1758. if HasntTouched(hit.Parent.Name) == true and deb == false then
  1759. deb = true
  1760. coroutine.wrap(function()
  1761. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  1762. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  1763. wait(1)
  1764. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  1765. end)()
  1766. table.insert(Touche, hit.Parent.Name)
  1767. deb = false
  1768. for i, v in pairs(Touche) do
  1769. print(v)
  1770. end
  1771. end
  1772. end
  1773. end)
  1774. end
  1775. for i = 0, 260, 8 do
  1776. bem.Size = Vector3.new(i, 2, 2)
  1777. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  1778. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  1779. bnd.Size = Vector3.new(1,1,1)
  1780. bndm.Scale = Vector3.new(8,8,8)
  1781. if i % 10 == 0 then
  1782. local newRng = rng2:Clone()
  1783. newRng.Parent = char
  1784. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  1785. local newRngm = rngm2:clone()
  1786. newRngm.Parent=newRng
  1787. coroutine.wrap(function()
  1788. for i = 1, 10, 0.2 do
  1789. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
  1790. newRng.Transparency = i/10
  1791. wait()
  1792. end
  1793. wait()
  1794. newRng:Destroy()
  1795. end)()
  1796. end
  1797. wait()
  1798. end
  1799. wait()
  1800. Debounces.Shewt = false
  1801. bem:Destroy()
  1802. out:Destroy()
  1803. bnd:Destroy()
  1804. Debounces.Ready = false
  1805. for i, v in pairs(Touche) do
  1806. table.remove(Touche, i)
  1807. end
  1808. wait()
  1809. table.insert(Touche, char.Name)
  1810. Debounces.NoIdl = false
  1811. if Debounces.CanAttack == false then
  1812. Debounces.CanAttack = true
  1813. end
  1814. end
  1815. end
  1816. end)
  1817. ----------------------------------------------------
  1818. sidz = {"231917888", "231917845", "231917806"}
  1819. ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1}
  1820. mouse.KeyDown:connect(function(key)
  1821. if key == "f" and char.Mana.Value>=50 then
  1822. char.Mana.Value = char.Mana.Value - 50
  1823. larm.BrickColor = BrickColor.new("Really black")
  1824. rarm.BrickColor = BrickColor.new("Camo")
  1825. if Debounces.CanAttack == true then
  1826. Debounces.CanAttack = false
  1827. Debounces.on = true
  1828. Debounces.NoIdl = true
  1829. for i = 1, 10 do
  1830. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-34)), 0.4)
  1831. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(34)), 0.4)
  1832. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
  1833. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
  1834. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  1835. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  1836. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1837. if Debounces.on == false then break end
  1838. wait()
  1839. end
  1840. z = Instance.new("Sound",char)
  1841. z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)]
  1842. z.Pitch = ptz[math.random(1,#ptz)]
  1843. z.Volume = 1
  1844. z1 = Instance.new("Sound",char)
  1845. z1.SoundId = z.SoundId
  1846. z1.Pitch = z.Pitch
  1847. z1.Volume = 1
  1848. wait(1)
  1849. z:Play()
  1850. z1:Play()
  1851. Stomp()
  1852. for i = 1, 20 do
  1853. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(28)), 0.6)
  1854. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-28)), 0.6)
  1855. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
  1856. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6)
  1857. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6)
  1858. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, -1.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6)
  1859. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1860. if Debounces.on == false then break end
  1861. wait()
  1862. end
  1863. if Debounces.CanAttack == false then
  1864. Debounces.CanAttack = true
  1865. Debounces.on = false
  1866. Debounces.NoIdl = false
  1867. larm.BrickColor = BrickColor.new("Really black")
  1868. rarm.BrickColor = BrickColor.new("Really black")
  1869. end
  1870. end
  1871. end
  1872. end)
  1873. ----------------------------------------------------
  1874. mouse.KeyDown:connect(function(key)
  1875. if key == "g" and char.Mana.Value>5 then
  1876. char.Mana.Value = char.Mana.Value - 5
  1877. larm.BrickColor = BrickColor.new("Camo")
  1878. rarm.BrickColor = BrickColor.new("Really black")
  1879. if Debounces.CanAttack == true then
  1880. Debounces.CanAttack = false
  1881. Debounces.on = true
  1882. Debounces.NoIdl = true
  1883. chrg = lleg.Touched:connect(function(ht)
  1884. hit = ht.Parent
  1885. if ht and hit:IsA("Model") then
  1886. if hit:FindFirstChild("Humanoid") then
  1887. if hit.Name ~= p.Name then
  1888.  
  1889. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  1890. hit:FindFirstChild("Humanoid").PlatformStand = true
  1891. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  1892. --Debounces.Slashed = false
  1893. --end
  1894. end
  1895. end
  1896. elseif ht and hit:IsA("Hat") then
  1897. if hit.Parent.Name ~= p.Name then
  1898. if hit.Parent:FindFirstChild("Humanoid") then
  1899.  
  1900. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  1901. hit:FindFirstChild("Humanoid").PlatformStand = true
  1902. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  1903. --Debounces.Slashed = false
  1904. end
  1905. end
  1906. end
  1907. end)
  1908. for i = 1, 14 do
  1909. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.5)
  1910. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.5)
  1911. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.5)
  1912. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5)
  1913. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.8, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5)
  1914. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5)
  1915. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9)
  1916. if Debounces.on == false then break end
  1917. wait()
  1918. end
  1919. charge()
  1920. z = Instance.new("Sound",char)
  1921. z.SoundId = "rbxassetid://200632875"
  1922. z.Volume = 1
  1923. z.Pitch = .8
  1924. z1 = Instance.new("Sound",char)
  1925. z1.SoundId = "rbxassetid://200632875"
  1926. z1.Volume = 1
  1927. z1.Pitch = .9
  1928. z:Play()
  1929. z1:Play()
  1930. wait(1)
  1931. z:Destroy()
  1932. z1:Destroy()
  1933. chrg:disconnect()
  1934. if Debounces.CanAttack == false then
  1935. Debounces.CanAttack = true
  1936. Debounces.on = false
  1937. Debounces.NoIdl = false
  1938. larm.BrickColor = BrickColor.new("Really black")
  1939. rarm.BrickColor = BrickColor.new("Really black")
  1940. end
  1941. end
  1942. end
  1943. end)
  1944. ----------------------------------------------------
  1945. pt = {0.7, 0.8, 0.9}
  1946. mouse.KeyDown:connect(function(key)
  1947. if key == "h" and char.Mana.Value>50 then
  1948. char.Mana.Value = char.Mana.Value - 50
  1949. if Debounces.CanJoke == true then
  1950. Debounces.CanJoke = false
  1951. u = Instance.new("Sound")
  1952. u.SoundId = "http://www.roblox.com/asset/?id=138199573"
  1953. u.Parent = char
  1954. u.Looped = false
  1955. u.Pitch = pt[math.random(1,#pt)]
  1956. u.Volume = 1
  1957. u2 = Instance.new("Sound")
  1958. u2.SoundId = "http://www.roblox.com/asset/?id=138199573"
  1959. u2.Parent = char
  1960. u2.Looped = false
  1961. u2.Pitch = u.Pitch
  1962. u2.Volume = 1
  1963. wait(.01)
  1964. u:Play()
  1965. u2:Play()
  1966. wait(6)
  1967. u:Destroy()
  1968. u2:Destroy()
  1969. if Debounces.CanJoke == false then
  1970. Debounces.CanJoke = true
  1971. end
  1972. end
  1973. end
  1974. end)
  1975. ----------------------------------------------------
  1976. mouse.KeyDown:connect(function(key)
  1977. if key == "j" and char.Mana.Value> 30 then
  1978. char.Mana.Value = char.Mana.Value-30
  1979. if Debounces.CanJoke == true then
  1980. Debounces.CanJoke = false
  1981. z = Instance.new("Sound",char)
  1982. z.SoundId = "rbxassetid://135017755"
  1983. z.Pitch = .76
  1984. z.Volume = 1
  1985. wait()
  1986. z:Play()
  1987. wait(6)
  1988. z:Destroy()
  1989. if Debounces.CanJoke == false then
  1990. Debounces.CanJoke = true
  1991. end
  1992. end
  1993. end
  1994. end)
  1995. ----------------------------------------------------
  1996. mouse.KeyDown:connect(function(key)
  1997. if key == "k" and char.Mana.Value> 10 then
  1998. char.Mana.Value = char.Mana.Value -10
  1999. if Debounces.CanJoke == true then
  2000. Debounces.CanJoke = false
  2001. z = Instance.new("Sound",char)
  2002. z.SoundId = "rbxassetid://135017578"
  2003. z.Pitch = .76
  2004. z.Volume = 1
  2005. wait()
  2006. z:Play()
  2007. wait(4)
  2008. z:Destroy()
  2009. if Debounces.CanJoke == false then
  2010. Debounces.CanJoke = true
  2011. end
  2012. end
  2013. end
  2014. end)
  2015. ----------------------------------------------------
  2016. mouse.KeyDown:connect(function(key)
  2017. if key == "u" and char.Mana.Value>200 then
  2018. wait(1)
  2019. char.Mana.Value = char.Mana.Value-200
  2020. charge()
  2021. wait(0.6)
  2022. charge()
  2023. wait(0.6)
  2024. charge()
  2025. wait(2)
  2026. end
  2027. end)
  2028. ----------------------------------------------------
  2029. mouse.KeyDown:connect(function(key)
  2030. if key == "x" and char.Mana.Value>50 then
  2031. char.Mana.Value = char.Mana.Value-50
  2032. if Debounces.CanAttack == true then
  2033. Debounces.CanAttack = false
  2034. Debounces.NoIdl = true
  2035. Debounces.on = true
  2036. Debounces.ks = true
  2037. for i = 1, 10 do
  2038. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6)
  2039. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.7,.9,-.5)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(20)), 0.6)
  2040. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
  2041. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6)
  2042. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.6)
  2043. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.7, .6) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(0)), 0.6)
  2044. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2045. if Debounces.on == false then break end
  2046. wait()
  2047. end
  2048. z = Instance.new("Sound",hed)
  2049. z.SoundId = "rbxassetid://169445092"
  2050. z.Volume = 1
  2051. wait(0.1)
  2052. z:Play()
  2053. kik = rleg.Touched:connect(function(ht)
  2054. hit = ht.Parent
  2055. if ht and hit:IsA("Model") then
  2056. if hit:FindFirstChild("Humanoid") then
  2057. if hit.Name ~= p.Name then
  2058.  
  2059. if Debounces.ks==true then
  2060. z = Instance.new("Sound",hed)
  2061. z.SoundId = "rbxassetid://169380525"
  2062. z.Volume = 1
  2063. z:Play()
  2064. Debounces.ks=false
  2065. end
  2066. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2067. hit:FindFirstChild("Humanoid").PlatformStand = true
  2068. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  2069. --Debounces.Slashed = false
  2070. --end
  2071. end
  2072. end
  2073. elseif ht and hit:IsA("Hat") then
  2074. if hit.Parent.Name ~= p.Name then
  2075. if hit.Parent:FindFirstChild("Humanoid") then
  2076.  
  2077. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2078. hit:FindFirstChild("Humanoid").PlatformStand = true
  2079. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  2080. --Debounces.Slashed = false
  2081. --end
  2082. end
  2083. end
  2084. end
  2085. end)
  2086. for i = 1, 8 do
  2087. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2088. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.7)
  2089. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7)
  2090. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7)
  2091. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  2092. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.6, -1.4) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.7)
  2093. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2094. if Debounces.on == false then break end
  2095. wait()
  2096. end
  2097. kik:disconnect()
  2098. if Debounces.CanAttack == false then
  2099. Debounces.CanAttack = true
  2100. Debounces.on = false
  2101. Debounces.NoIdl = false
  2102. end
  2103. end
  2104. end
  2105. end)
  2106. ----------------------------------------------------
  2107. mouse.KeyDown:connect(function(key)
  2108. if key == "c" and char.Mana.Value>80 then
  2109. char.Mana.Value = char.Mana.Value -80
  2110. if Debounces.CanAttack == true then
  2111. Debounces.CanAttack = false
  2112. Debounces.NoIdl = true
  2113. Debounces.on = true
  2114. SIDZ = {"231917744", "231917742"}
  2115. PTZ = {0.7, 0.8, 0.9, 1}
  2116. for i = 1, 20 do
  2117. wait()
  2118. for i,v in pairs(char.Absolution:children()) do
  2119. if v:IsA("Part") or v:IsA("WedgePart") then
  2120. v.Transparency = v.Transparency + 0.05
  2121. end
  2122. end
  2123. end
  2124. function FindNearestTorso(Position,Distance,SinglePlayer)
  2125. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2126. local List = {}
  2127. for i,v in pairs(workspace:GetChildren())do
  2128. if v:IsA("Model")then
  2129. if v:findFirstChild("Torso")then
  2130. if v ~= char then
  2131. if(v.Torso.Position -Position).magnitude <= Distance then
  2132. table.insert(List,v)
  2133. end
  2134. end
  2135. end
  2136. end
  2137. end
  2138. return List
  2139. end
  2140. GroundPound()
  2141. for i = 1, 5 do
  2142. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2143. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2144. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2145. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2146. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2147. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2148. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2149. if Debounces.on == false then break end
  2150. wait()
  2151. end
  2152. GroundPound()
  2153. for i = 1, 5 do
  2154. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2155. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2156. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2157. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2158. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2159. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2160. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2161. if Debounces.on == false then break end
  2162. wait()
  2163. end
  2164. GroundPound()
  2165. for i = 1, 5 do
  2166. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2167. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2168. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2169. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2170. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2171. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2172. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2173. if Debounces.on == false then break end
  2174. wait()
  2175. end
  2176. GroundPound()
  2177. for i = 1, 5 do
  2178. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2179. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2180. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2181. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2182. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2183. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2184. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2185. if Debounces.on == false then break end
  2186. wait()
  2187. end
  2188. GroundPound()
  2189. for i = 1, 5 do
  2190. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2191. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2192. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2193. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2194. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2195. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2196. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2197. if Debounces.on == false then break end
  2198. wait()
  2199. end
  2200. GroundPound()
  2201. for i = 1, 5 do
  2202. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2203. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2204. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2205. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2206. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2207. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2208. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2209. if Debounces.on == false then break end
  2210. wait()
  2211. end
  2212. for i = 1, 18 do
  2213. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4)
  2214. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(10)), 0.4)
  2215. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
  2216. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
  2217. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  2218. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  2219. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2220. if Debounces.on == false then break end
  2221. wait()
  2222. end
  2223. for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do
  2224. if v:FindFirstChild('Humanoid') then
  2225. v.Humanoid:TakeDamage(math.random(20,60))
  2226. v.Humanoid.PlatformStand = true
  2227. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  2228. end
  2229. end
  2230. x = Instance.new("Sound",char)
  2231. x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)]
  2232. x.Pitch = PTZ[math.random(1,#PTZ)]
  2233. x.Volume = 1
  2234. wait(0.1)
  2235. x:Play()
  2236. Crater(hed,20)
  2237. for i = 1, 14 do
  2238. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(-10)), 0.6)
  2239. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), 0.6)
  2240. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6)
  2241. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6)
  2242. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6)
  2243. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6)
  2244. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2245. if Debounces.on == false then break end
  2246. wait()
  2247. end
  2248. if Debounces.CanAttack == false then
  2249. Debounces.CanAttack = true
  2250. Debounces.on = false
  2251. Debounces.NoIdl = false
  2252. for i = 1, 20 do
  2253. wait()
  2254. for i,v in pairs(char.Absolution:children()) do
  2255. if v:IsA("Part") or v:IsA("WedgePart") then
  2256. v.Transparency = v.Transparency - 0.05
  2257. end
  2258. end
  2259. end
  2260. end
  2261. end
  2262. end
  2263. end)
  2264. ----------------------------------------------------176349813
  2265. mouse.KeyDown:connect(function(key)
  2266. if key == "b" and char.Mana.Value>80 then
  2267. char.Mana.Value = char.Mana.Value -80
  2268. hum.WalkSpeed = 20
  2269. if Debounces.CanAttack == true then
  2270. Debounces.CanAttack = false
  2271. Debounces.NoIdl = true
  2272. Debounces.on = true
  2273. for i = 1,20 do
  2274. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1)
  2275. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1)
  2276. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1)
  2277. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1)
  2278. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1)
  2279. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1)
  2280. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2281. if Debounces.on == false then break end
  2282. wait()
  2283. end
  2284. wait(1)
  2285. v = Instance.new("Sound")
  2286. v.SoundId = "rbxassetid://181384451"
  2287. v.Parent = char
  2288. v.Looped = false
  2289. v.Pitch = 1.04
  2290. v.Volume = 1.5
  2291. wait(.01)
  2292. v:Play()
  2293.  
  2294. v = Instance.new("Sound")
  2295. v.SoundId = "rbxassetid://138252341"
  2296. v.Parent = char
  2297. v.Looped = false
  2298. v.Pitch = 1.04
  2299. v.Volume = 1.2
  2300. wait(.01)
  2301. v:Play()
  2302. if Daytime == true then
  2303. Daytime = false
  2304. l.TimeOfDay = 24
  2305. else
  2306. Daytime = true
  2307. l.TimeOfDay = 12
  2308. l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039)
  2309. end
  2310.  
  2311. local Shockwave = function()
  2312. local rng1 = Instance.new("Part", char)
  2313. rng1.Anchored = true
  2314. rng1.BrickColor = BrickColor.new("Institutional white")
  2315. rng1.CanCollide = false
  2316. rng1.FormFactor = 3
  2317. rng1.Name = "Ring"
  2318. rng1.Material = "Neon"
  2319. rng1.Size = Vector3.new(1, 1, 1)
  2320. rng1.Transparency = 0.35
  2321. rng1.TopSurface = 0
  2322. rng1.BottomSurface = 0
  2323. local rngm1 = Instance.new("SpecialMesh", rng)
  2324. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2325. rngm1.Scale = Vector3.new(10, 10, 1)
  2326. rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
  2327. local Wave = Instance.new("Part", game.Workspace)
  2328. Wave.Name = "Shockwave"
  2329. Wave.BrickColor = BrickColor.new("Really black")
  2330. Wave.Size = Vector3.new(1, 1, 1)
  2331. Wave.Shape = "Ball"
  2332. Wave.Name = "Wave"
  2333. Wave.Material = "Neon"
  2334. Wave.CanCollide = false
  2335. Wave.Anchored = true
  2336. Wave.TopSurface = 0
  2337. Wave.BottomSurface = 0
  2338. Wave.Touched:connect(function(hit)
  2339. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
  2340. local Occlude = true
  2341. local NotOccludes = {
  2342. char.Name;
  2343. "Wings";
  2344. "Scythe";
  2345. "Thingy";
  2346. "Thingy2"; -- put all of the names in a table pls
  2347. }
  2348. for i,v in pairs(NotOccludes) do
  2349. if hit.Parent.Name == v then
  2350. Occlude = false
  2351. end
  2352. end
  2353. --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then
  2354. if Occlude then
  2355. hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - math.huge
  2356. hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
  2357. end
  2358. end
  2359. end)
  2360.  
  2361. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  2362.  
  2363. coroutine.wrap(function()
  2364. for i = 1, 20, 0.2 do
  2365. rngm1.Scale = Vector3.new(30 + i*2, 30 + i*2, 1)
  2366. rng1.Transparency = i/20
  2367. local Wav2 = game.Workspace.Wave:Clone()
  2368. Wav2.Position = Vector3.new(math.random(0,200),2,math.random(0,200))
  2369. wait()
  2370. end
  2371. wait()
  2372. rng1:Destroy()
  2373. end)()
  2374.  
  2375. Delay(0, function()
  2376.  
  2377. if Daytime == false then
  2378. for i = 1, 50, 1 do
  2379. Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  2380. Wave.CFrame = char.Torso.CFrame
  2381. local t = i / 50
  2382. Wave.Transparency = t
  2383. wait()
  2384. end
  2385. else
  2386. for i = 1, 50, 1 do
  2387. Wave.Size = Vector3.new(20 + i, 20 + i, 20 + i)
  2388. Wave.CFrame = char.Torso.CFrame
  2389. local t = i / 50
  2390. Wave.Transparency = t
  2391. wait()
  2392. end
  2393. end
  2394. Wave:Destroy()
  2395. end)
  2396. Delay(0, function()
  2397. while wait() do
  2398. if Wave ~= nil then
  2399. Wave.CFrame = char.Torso.CFrame
  2400. else
  2401. break
  2402. end
  2403. end
  2404. end)
  2405. end
  2406. Shockwave()
  2407. for i = 1, 15 do
  2408. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  2409. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  2410. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  2411. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  2412. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  2413. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2414. if Debounces.on == false then break end
  2415. wait()
  2416. end
  2417. for i = 1, 15 do
  2418. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  2419. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  2420. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  2421. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  2422. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2423. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  2424. if Debounces.on == false then break end
  2425. wait()
  2426. end
  2427. for i = 1, 15 do
  2428. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  2429. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  2430. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  2431. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  2432. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  2433. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2434. if Debounces.on == false then break end
  2435. wait()
  2436. end
  2437. for i = 1, 15 do
  2438. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  2439. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  2440. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  2441. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  2442. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2443. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  2444. if Debounces.on == false then break end
  2445. wait()
  2446. end
  2447. for i = 1, 15 do
  2448. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  2449. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  2450. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  2451. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  2452. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  2453. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2454. if Debounces.on == false then break end
  2455. wait()
  2456. end
  2457. for i = 1, 15 do
  2458. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  2459. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  2460. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  2461. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  2462. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2463. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  2464. if Debounces.on == false then break end
  2465. wait()
  2466. end
  2467. wait(1.4)
  2468. Debounces.NoIdl = false
  2469. hum.WalkSpeed = 50
  2470. Debounces.on = false
  2471. wait()
  2472. if Debounces.CanAttack == false then
  2473. Debounces.CanAttack = true
  2474. v:Destroy()
  2475. end
  2476. char.Mana.Value = char.Mana.Value + 1000
  2477. wait(4)
  2478. end
  2479. end
  2480. end)
  2481. ----------------------------------------------------
  2482. mouse.KeyDown:connect(function(key)
  2483. if key == "m" and char.Mana.Value> 60 then
  2484. char.Mana.Value = char.Mana.Value-60
  2485. hum.WalkSpeed = 0
  2486. if Debounces.CanAttack == true then
  2487. Debounces.CanAttack = false
  2488. Debounces.on = true
  2489. Debounces.NoIdl = true
  2490. x = Instance.new("Sound",char)
  2491. x.SoundId = "http://www.roblox.com/asset/?id=169445572"
  2492. x.Looped = false
  2493. x.Pitch = 1.1
  2494. x.Volume = 1
  2495. x:Play()
  2496. x2 = Instance.new("Sound",char)
  2497. x2.SoundId = "http://www.roblox.com/asset/?id=169380495"
  2498. x2.Looped = false
  2499. x2.Pitch = .7
  2500. x2.Volume = 1
  2501. wait(.1)
  2502. x:Play()
  2503. x2:Play()
  2504. for i = 1, 20 do
  2505. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2)
  2506. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2)
  2507. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2)
  2508. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3.2, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2)
  2509. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2)
  2510. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.6, -2, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2)
  2511. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.4)
  2512. if Debounces.on == false then break end
  2513. wait()
  2514. x:Destroy()
  2515. x2:Destroy()
  2516. end
  2517. wait(1)
  2518. local rng = Instance.new("Part", char)
  2519. rng.Anchored = true
  2520. rng.BrickColor = BrickColor.new("Really black")
  2521. rng.CanCollide = false
  2522. rng.FormFactor = 3
  2523. rng.Name = "Ring"
  2524. rng.Size = Vector3.new(1, 1, 1)
  2525. rng.Transparency = 0.35
  2526. rng.TopSurface = 0
  2527. rng.BottomSurface = 0
  2528. rng.Position = torso.Position - Vector3.new(0,2,0)
  2529. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2530. local rngm = Instance.new("SpecialMesh", rng)
  2531. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2532. rngm.Scale = Vector3.new(1, 1, 2)
  2533. x = Instance.new("Sound",char)
  2534. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  2535. x.Looped = false
  2536. x.Pitch = .7
  2537. x.Volume = 1
  2538. x:Play()
  2539. coroutine.wrap(function()
  2540. for i = 1, 60, 2 do
  2541. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  2542. rng.Transparency = i/60
  2543. wait()
  2544. end
  2545. wait()
  2546. rng:Destroy()
  2547. end)()
  2548. hum.WalkSpeed = 50
  2549. BV = Instance.new("BodyVelocity", torso)
  2550. BV.maxForce = Vector3.new(0,200000,0)
  2551. BV.P = 100000
  2552. BV.velocity = Vector3.new(0,800,0)
  2553. for i = 1, 20 do
  2554. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7)
  2555. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  2556. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7)
  2557. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7)
  2558. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  2559. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
  2560. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2561. if Debounces.on == false then break end
  2562. wait()
  2563. end
  2564. x:Destroy()
  2565. BV:Destroy()
  2566. for i = 1, 30 do
  2567. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  2568. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3)
  2569. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  2570. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  2571. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  2572. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  2573. if Debounces.on == false then break end
  2574. wait()
  2575. end
  2576. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  2577. for i = 1, 30 do
  2578. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  2579. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2580. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  2581. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  2582. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2583. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2584. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2585. if Debounces.on == false then break end
  2586. wait()
  2587. end
  2588. end
  2589. Debounces.on = false
  2590. Debounces.NoIdl = false
  2591. local ry,ht,ps=nil,nil,nil
  2592. while ht==nil do
  2593. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  2594. wait()
  2595. end
  2596. z = Instance.new("Sound",char)
  2597. z.SoundId = "rbxassetid://142070127"
  2598. z.Volume = 1
  2599. wait(.1)
  2600. z:Play()
  2601. Landing()
  2602. hum.WalkSpeed = 50
  2603. if Debounces.CanAttack == false then
  2604. Debounces.CanAttack = true
  2605. end
  2606. end
  2607. end
  2608. end)
  2609. ----------------------------------------------------
  2610. Grab = false
  2611. mouse.KeyDown:connect(function(key)
  2612. if key == "z" then
  2613. larm.BrickColor = BrickColor.new("Bright red")
  2614. rarm.BrickColor = BrickColor.new("Bright red")
  2615. Debounces.on = true
  2616. Debounces.NoIdl = true
  2617. if Grab == false then
  2618. gp = nil
  2619. con1=larm.Touched:connect(function(hit) -- this is grab
  2620. ht = hit.Parent
  2621. hum1=ht:FindFirstChild('Humanoid')
  2622. if hum1 ~= nil then
  2623. hum1.PlatformStand=true
  2624. gp = ht
  2625. Grab = true
  2626. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0))
  2627. asd.Parent = larm
  2628. asd.Name = "asd"
  2629. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  2630. elseif hum1 == nil then
  2631. con1:disconnect()
  2632. wait() return
  2633. end
  2634. end)
  2635. for i = 1, 18 do
  2636. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(36)), 0.2)
  2637. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.65,.9,-.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  2638. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  2639. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2)
  2640. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
  2641. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
  2642. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9)
  2643. if Debounces.on == false then break end
  2644. wait()
  2645. end
  2646. con1:disconnect()
  2647. Debounces.on = false
  2648. Debounces.NoIdl = false
  2649. elseif Grab == true then
  2650. Grab = false
  2651. for i = 1, 20 do
  2652. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.2)
  2653. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-20)), 0.1)
  2654. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  2655. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2656. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2657. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2658. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2659. if Debounces.on == false then end
  2660. wait()
  2661. end
  2662. if gp ~= nil then
  2663. for i,v in pairs(larm:GetChildren()) do
  2664. if v.Name == "asd" and v:IsA("Weld") then
  2665. v:Remove()
  2666. end
  2667. end
  2668. bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  2669. bv.maxForce = Vector3.new(400000, 400000, 400000)
  2670. bv.P = 125000
  2671. bv.velocity = char.Head.CFrame.lookVector * 200
  2672. for i = 1, 12 do
  2673. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.75)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.5)
  2674. if Debounces.on == false then end
  2675. wait()
  2676. end
  2677. ht=nil
  2678. Spawn(function()
  2679. wait(0.5)
  2680. bv:Destroy()
  2681. end)
  2682. Debounces.on = false
  2683. Debounces.NoIdl = false
  2684. elseif ht == nil then wait()
  2685. Grab = false
  2686. Debounces.on = false
  2687. Debounces.NoIdl = false
  2688. end
  2689. end
  2690. end
  2691. end)
  2692. ----------------------------------------------------
  2693. mouse.KeyDown:connect(function(key)
  2694. if string.byte(key) == 52 then
  2695. char.Humanoid.WalkSpeed = 21
  2696. end
  2697. end)
  2698. mouse.KeyUp:connect(function(key)
  2699. if string.byte(key) == 52 then
  2700. char.Humanoid.WalkSpeed = 50
  2701. end
  2702. end)
  2703. ----------------------------------------------------
  2704. local animpose = "Idle"
  2705. local lastanimpose = "Idle"
  2706. local sine = 0
  2707. local change = 1
  2708. local val = 0
  2709. local ffing = false
  2710. ----------------------------------------------------
  2711. x = Instance.new("Sound", char)
  2712. x.SoundId = "http://www.roblox.com/asset/?id=187922823"
  2713. x.Looped = true
  2714. x.Volume = 1
  2715. x.Pitch = 1
  2716. local footsteps = false
  2717. -------------------------------
  2718. game:GetService("RunService").RenderStepped:connect(function()
  2719. if char.Humanoid.Jump == true then
  2720. jump = true
  2721. else
  2722. jump = false
  2723. end
  2724. char.Humanoid.FreeFalling:connect(function(f)
  2725. if f then
  2726. ffing = true
  2727. else
  2728. ffing = false
  2729. end
  2730. end)
  2731. sine = sine + change
  2732. if jumpn == true then
  2733. animpose = "Jumping"
  2734. elseif ffing == true then
  2735. animpose = "Freefalling"
  2736. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  2737. animpose = "Idle"
  2738. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  2739. animpose = "Walking"
  2740. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  2741. animpose = "Running"
  2742. end
  2743. if animpose ~= lastanimpose then
  2744. sine = 0
  2745. if Debounces.NoIdl == false then
  2746. if animpose == "Idle" then
  2747. for i = 1, 2 do
  2748. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2)
  2749. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
  2750. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  2751. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  2752. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2753. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2754. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2755. end
  2756. elseif animpose == "Walking" then
  2757. for i = 1, 2 do
  2758. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2)
  2759. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2)
  2760. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2)
  2761. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2)
  2762. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  2763. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  2764. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2765. end
  2766. elseif animpose == "Running" then
  2767. for i = 1, 2 do
  2768. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2)
  2769. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2)
  2770. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  2771. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  2772. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
  2773. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
  2774. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2775. end
  2776. wait()
  2777. end
  2778. else
  2779. end
  2780. end
  2781. lastanimpose = animpose
  2782. if Debounces.NoIdl == false then
  2783. if animpose == "Idle" then
  2784. if stanceToggle == "Normal" then
  2785. change = 0.5
  2786. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(88+2*math.cos(sine/14)),math.rad(0),math.rad(20)), 0.2)
  2787. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(-30),math.rad(-40-2*math.cos(sine/14))), 0.2)
  2788. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2)
  2789. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2)
  2790. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  2791. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  2792. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2793. elseif stanceToggle == "Sitting" then
  2794. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2)
  2795. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2)
  2796. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2)
  2797. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2)
  2798. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2)
  2799. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2)
  2800. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2801. end
  2802. elseif animpose == "Walking" then
  2803. if stanceToggle == "Normal" then
  2804. change = 1
  2805. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9+.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(90+2*math.cos(sine/7)), math.rad(0), math.rad(20)), 0.04)
  2806. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9+.1*math.cos(sine/7), -math.sin(sine/14)/2)*CFrame.Angles(math.sin(sine/14)/4, math.rad(1) + -math.sin(sine/14)/2, math.rad(-30)), 0.04)
  2807. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/7)), math.rad(0), math.rad(0)),0.03)
  2808. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/7)), 0, math.rad(0)), 0.04)
  2809. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), 0.04)
  2810. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .04)
  2811. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 0.04)
  2812. end
  2813. elseif animpose == "Running" then
  2814. change = 1
  2815. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10-20*math.cos(sine/4)/2), math.rad(-40+10*math.cos(sine/4)/2), math.rad(50-10*math.cos(sine/4)/2)), 0.2)
  2816. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .5)*CFrame.Angles(math.rad(10+20*math.cos(sine/4)/2), math.rad(40-10*math.cos(sine/4)/2), math.rad(-50+10*math.cos(sine/4)/2)), 0.2)
  2817. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  2818. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  2819. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
  2820. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
  2821. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2822. end
  2823. end
  2824. if animpose == "Walking" then
  2825. if footsteps == false then
  2826. x:Play()
  2827. footsteps = true
  2828. end
  2829. x.Pitch = 1.1
  2830. elseif animpose == "Idle" then
  2831. x:Stop()
  2832. footsteps = false
  2833. elseif animpose == "Running" then
  2834. x.Pitch = 1.2
  2835. if footsteps == false then
  2836. x:Play()
  2837. footsteps = true
  2838. end
  2839. end
  2840. end)
  2841. p.Chatted:connect(function(msg)
  2842. if msg == TitanBet.."loadsong" then
  2843. z = Instance.new("Sound", char)
  2844. z.SoundId = "rbxassetid://306826153"--242463565
  2845. z.Name = "Music"
  2846. z.Looped = true
  2847. z.Volume = 1
  2848. z.Pitch = 1
  2849. wait()
  2850. if p.Name == "kash5" or "nguyenjimbo" then
  2851. z:Play()
  2852. else
  2853. print("Not Point Coded = no music")
  2854. end
  2855. end
  2856.  
  2857. end)
  2858.  
  2859. p.Chatted:connect(function(msg)
  2860. if msg == TitanBet.."stopsong" then
  2861. char.Music:remove()
  2862. end
  2863.  
  2864. end)
  2865.  
  2866. while true do
  2867. local pe = char:GetChildren()
  2868. pe.Locked = true
  2869. p.PlayerGui.Mana.Mana.Text = "Mana: "..char.Mana.Value
  2870. if char.Mana.Value>4999 then
  2871. char.Mana.Value = 4999
  2872. end
  2873. char.Mana.Value = char.Mana.Value + 1
  2874. local pe = char:GetChildren()
  2875. hum.MaxHealth = 50000
  2876. hum.Health = 50000
  2877. pe.Locked = true
  2878. wait(0.000000000000000000000000001)
  2879. end
Add Comment
Please, Sign In to add comment