I_M_Epic

God Of Hell (Ryorn edited version)

May 11th, 2017
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.21 KB | None | 0 0
  1. ---Presets------------------------
  2. ---Presets------------------------
  3. iz = (game.Players.LocalPlayer.Name)
  4.  
  5.  
  6.  
  7. is = (game.Players.LocalPlayer.Character)
  8.  
  9.  
  10. local Player = game.Players.LocalPlayer
  11. local Character = Player.Character
  12. local PlayerGui = Player.PlayerGui
  13. local Backpack = Player.Backpack
  14. local Torso = Character.HumanoidRootPart
  15. local Humanoid = Character.Humanoid
  16. local hum = Character.Humanoid
  17. local LeftArm = Character["Left Arm"]
  18. local LeftLeg = Character["Left Leg"]
  19. local RightArm = Character["Right Arm"]
  20. local RightLeg = Character["Right Leg"]
  21. local Backpack = Player.Backpack
  22. local TorsA = Character.Torso
  23. local Head = Character.Head
  24. local LS = TorsA["Left Shoulder"]
  25. local LH = TorsA["Left Hip"]
  26. local RS = TorsA["Right Shoulder"]
  27. local RH = TorsA["Right Hip"]
  28. local Neck = TorsA.Neck
  29. local rs = game:GetService("RunService").RenderStepped
  30. local Mouse = Player:GetMouse()
  31. attacktype = 1
  32. vt = Vector3.new
  33. ColorDebounce = false
  34. cf = CFrame.new
  35. euler = CFrame.fromEulerAnglesXYZ
  36. angles = CFrame.Angles
  37. necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  38. necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  39. LHC0 = cf(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  40. LHC1 = cf(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  41. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  42. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  43. RootPart = Character.HumanoidRootPart
  44. RootJoint = RootPart.RootJoint
  45. RootCF = euler(-1.57, 0, 3.14)
  46. attack = false
  47. equipped = true
  48. local RbxUtility = LoadLibrary("RbxUtility")
  49. local Create = RbxUtility.Create
  50. local Root = Character.HumanoidRootPart
  51. math.randomseed(os.time())
  52.  
  53. fat = Instance.new("BindableEvent",script)
  54. fat.Name = "Heartbeat"
  55.  
  56. script:WaitForChild("Heartbeat")
  57.  
  58. frame = 1/30
  59. tf = 0
  60. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
  61. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  62. lastframe = tick()
  63. script.Heartbeat:Fire() --ayy lmao
  64.  
  65. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  66. tf = tf + s
  67. if tf >= frame then
  68. if allowframeloss then
  69. script.Heartbeat:Fire()
  70. lastframe=tick()
  71. else
  72. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  73. for i=1, math.floor(tf/frame) do
  74. script.Heartbeat:Fire()
  75. end
  76. lastframe=tick()
  77. end
  78. if tossremainder then
  79. tf = 0
  80. else
  81. tf = tf - frame * math.floor(tf/frame)
  82. end
  83. end
  84. end)
  85.  
  86. Debounces = {
  87. CanAttack = true;
  88. NoIdl = false;
  89. Slashing = false;
  90. Slashed = false;
  91. RPunch = false;
  92. RPunched = false;
  93. LPunch = false;
  94. LPunched = false;
  95. }
  96. local Touche = {Character.Name, }
  97.  
  98. local acos = math.acos
  99. local sqrt = math.sqrt
  100. local Vec3 = Vector3.new
  101. local fromAxisAngle = CFrame.fromAxisAngle
  102.  
  103. local function toAxisAngle(CFr)
  104. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  105. local Angle = math.acos((R00+R11+R22-1)/2)
  106. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  107. A = A == 0 and 0.00001 or A
  108. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  109. B = B == 0 and 0.00001 or B
  110. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  111. C = C == 0 and 0.00001 or C
  112. local x = (R21-R12)/sqrt(A)
  113. local y = (R02-R20)/sqrt(B)
  114. local z = (R10-R01)/sqrt(C)
  115. return Vec3(x,y,z),Angle
  116. end
  117.  
  118. local acos = math.acos
  119. local sqrt = math.sqrt
  120. local Vec3 = Vector3.new
  121. local fromAxisAngle = CFrame.fromAxisAngle
  122.  
  123. local function toAxisAngle(CFr)
  124. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  125. local Angle = math.acos((R00+R11+R22-1)/2)
  126. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  127. A = A == 0 and 0.00001 or A
  128. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  129. B = B == 0 and 0.00001 or B
  130. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  131. C = C == 0 and 0.00001 or C
  132. local x = (R21-R12)/sqrt(A)
  133. local y = (R02-R20)/sqrt(B)
  134. local z = (R10-R01)/sqrt(C)
  135. return Vec3(x,y,z),Angle
  136. end
  137.  
  138. function ApplyTrig(Num,Func)
  139. local Min,Max = Func(0),Func(1)
  140. local i = Func(Num)
  141. return (i-Min)/(Max-Min)
  142. --[[if Func == "sin" then
  143. return (math.sin((1-Num)*math.pi)+1)/2
  144. elseif Func == "cos" then
  145. return (math.cos((1-Num)*math.pi)+1)/2
  146. end]]
  147. end
  148.  
  149. function LerpCFrame(CFrame1,CFrame2,Num)
  150. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  151. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  152. end
  153.  
  154. function Crater(Torso,Radius)
  155. Spawn(function()
  156. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  157. local Ignore = {}
  158. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  159. if v.Character ~= nil then
  160. Ignore[#Ignore+1] = v.Character
  161. end
  162. end
  163. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  164. if Hit == nil then return end
  165. local Parts = {}
  166. for i = 1,360,10 do
  167. local P = Instance.new("Part",Torso.Parent)
  168. P.Anchored = true
  169. P.FormFactor = "Custom"
  170. P.BrickColor = BrickColor.new("Really red")
  171. P.Material = "Granite"
  172. P.TopSurface = "Smooth"
  173. P.BottomSurface = "Smooth"
  174. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  175. 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)))
  176. 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}
  177. if math.random(0,5) == 0 then -- rubble
  178. local P = Instance.new("Part",Torso.Parent)
  179. P.Anchored = true
  180. P.FormFactor = "Custom"
  181. P.BrickColor = BrickColor.new("Royal purple")
  182. P.Material = Hit.Material
  183. P.TopSurface = "Smooth"
  184. P.BottomSurface = "Smooth"
  185. P.Size = Vector3.new(5,5,5)*(math.random(80,100)/100)
  186. 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)))
  187. 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}
  188. end
  189. end
  190. for i = 0,1,0.05 do
  191. for i2,v in pairs(Parts) do
  192. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  193. end
  194. wait(0.02)
  195. end
  196. for i,v in pairs(Parts) do
  197. if v[1].Size.X > 2.1 then
  198. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  199. end
  200. v[1].Anchored = false
  201. end
  202. for i = 0,1,0.05 do
  203. for i2,v in pairs(Parts) do
  204. v[1].Transparency = i
  205. if i == 1 then
  206. v[1]:Destroy()
  207. elseif i >= 0.25 then
  208. v[1].CanCollide = false
  209. end
  210. end
  211. wait(0.02)
  212. end
  213. Parts = nil
  214. end)
  215. end
  216.  
  217. local sound = Instance.new("Sound")
  218. sound.SoundId = "http://www.roblox.com/asset/?id=233774928"
  219. sound.Parent = Character
  220. sound.Volume = 0
  221. sound:Play()
  222. sound.Looped=false
  223. wait(0.1)
  224.  
  225. local sound = Instance.new("Sound")
  226. sound.SoundId = "http://www.roblox.com/asset/?id=844627563"
  227. sound.Parent = Character
  228. sound.Volume = 100
  229. sound.Pitch = 0.8
  230. sound:Play()
  231. sound.Looped=true
  232. local runServ = game:GetService("RunService").RenderStepped
  233.  
  234.  
  235. local TBlast, TBMesh = Instance.new("Part"), Instance.new("SpecialMesh")
  236. TBlast.BrickColor = BrickColor.new("Really black")
  237. TBlast.Transparency = 1
  238. TBlast.Anchored = true
  239. TBlast.CanCollide = false
  240. TBlast.CFrame = Root.CFrame
  241. TBlast.Size = Vector3.new(2,2,2)
  242. TBMesh.Parent = TBlast
  243. TBMesh.MeshType = "Sphere"
  244.  
  245. local TB, TM = Instance.new("Part"), Instance.new("SpecialMesh")
  246. TB.BrickColor = BrickColor.new("Really red")
  247. TB.Transparency = 1
  248. TB.Anchored = true
  249. TB.CanCollide = false
  250. TB.CFrame = Root.CFrame
  251. TB.Size = Vector3.new(2,2,2)
  252. TB.Parent = TBlast
  253. TM.MeshType = "Sphere"
  254.  
  255. game.Lighting.Brightness = 0
  256. game.Lighting.OutdoorAmbient = TBlast.BrickColor.Color
  257. game.Lighting.TimeOfDay = 0.1
  258. game.Lighting.FogEnd = 1000
  259. game.Lighting.FogColor = TBlast.BrickColor.Color
  260. game.Lighting.TimeOfDay = "00:00:00"
  261. game.Lighting.Ambient = Color3.new(0,0,0)
  262. game.Lighting.FogColor = Color3.new(0,0,0)
  263. game.Lighting.FogEnd = 500
  264. game.Lighting.FogStart = 0
  265. game.Lighting.GlobalShadows = true
  266.  
  267. wait(16)
  268.  
  269.  
  270.  
  271. local p = game.Players.localPlayer
  272. local char = p.Character
  273. local mouse=p:GetMouse()
  274. local larm = char["Left Arm"]
  275. local rarm = char["Right Arm"]
  276. local lleg = char["Left Leg"]
  277. local rleg = char["Right Leg"]
  278. local torso = char.Torso
  279. local root = char.HumanoidRootPart
  280. local hed = char.Head
  281.  
  282. ----------------------------------------------------
  283. local PE1 = Instance.new("ParticleEmitter",rarm)
  284. PE1.Color = ColorSequence.new(Color3.new (255, 0, 0), Color3.new (255, 0, 0))
  285. PE1.LightEmission = NumberSequence.new(0.2)
  286. PE1.Size = NumberSequence.new(1.2)
  287. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  288. PE1.Lifetime = NumberRange.new(.5)
  289. PE1.Rate = 10
  290. PE1.Transparency = NumberSequence.new(0.2)
  291. PE1.LightEmission = NumberSequence.new(0.2)
  292. PE1.Rotation = NumberRange.new(260)
  293. PE1.Speed = NumberRange.new(0)
  294. PE1.RotSpeed = NumberRange.new(100)
  295. bc=char['Body Colors']
  296. coloras=BrickColor.new('Really black')
  297. bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras
  298. -----------------------------------------------------------------------------
  299. local PE1 = Instance.new("ParticleEmitter",larm)
  300. PE1.Color = ColorSequence.new(Color3.new (255, 0, 0), Color3.new (255, 0, 0))
  301. PE1.LightEmission = NumberSequence.new(0.2)
  302. PE1.Size = NumberSequence.new(1.2)
  303. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  304. PE1.Lifetime = NumberRange.new(.5)
  305. PE1.Rate = 10
  306. PE1.Transparency = NumberSequence.new(0.2)
  307. PE1.LightEmission = NumberSequence.new(0.2)
  308. PE1.Rotation = NumberRange.new(360)
  309. PE1.Speed = NumberRange.new(0)
  310. PE1.RotSpeed = NumberRange.new(100)
  311. bc=char['Body Colors']
  312. coloras=BrickColor.new('Really black')
  313. bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras
  314. ----------------------------------------------------------
  315. local PE1 = Instance.new("ParticleEmitter",rleg)
  316. PE1.Color = ColorSequence.new(Color3.new (255, 0, 0), Color3.new (255, 0, 0))
  317. PE1.LightEmission = NumberSequence.new(0.2)
  318. PE1.Size = NumberSequence.new(1.2)
  319. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  320. PE1.Lifetime = NumberRange.new(.5)
  321. PE1.Rate = 10
  322. PE1.Transparency = NumberSequence.new(0.2)
  323. PE1.LightEmission = NumberSequence.new(0.2)
  324. PE1.Rotation = NumberRange.new(260)
  325. PE1.Speed = NumberRange.new(0)
  326. PE1.RotSpeed = NumberRange.new(100)
  327. bc=char['Body Colors']
  328. coloras=BrickColor.new('Really black')
  329. bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras
  330. ----------------------------------------------------
  331. local PE1 = Instance.new("ParticleEmitter",larm)
  332. PE1.Color = ColorSequence.new(Color3.new (255, 0, 0), Color3.new (255, 0, 0))
  333. PE1.LightEmission = NumberSequence.new(0.2)
  334. PE1.Size = NumberSequence.new(1.2)
  335. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  336. PE1.Lifetime = NumberRange.new(.5)
  337. PE1.Rate = 10
  338. PE1.Transparency = NumberSequence.new(0.2)
  339. PE1.LightEmission = NumberSequence.new(0.2)
  340. PE1.Rotation = NumberRange.new(260)
  341. PE1.Speed = NumberRange.new(0)
  342. PE1.RotSpeed = NumberRange.new(100)
  343. bc=char['Body Colors']
  344. coloras=BrickColor.new('Really black')
  345. bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras
  346. ----------------------------------------------------------
  347. local fart = Instance.new("Animation", char)
  348. fart.AnimationId = "rbxassetid://456316205"
  349. fart.Name = "fart"
  350. ----------------------------------------------------
  351. local PE1 = Instance.new("ParticleEmitter",lleg)
  352. PE1.Color = ColorSequence.new(Color3.new (255, 0, 0), Color3.new (255, 0, 0))
  353. PE1.LightEmission = NumberSequence.new(0.2)
  354. PE1.Size = NumberSequence.new(1.2)
  355. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  356. PE1.Lifetime = NumberRange.new(.5)
  357. PE1.Rate = 10
  358. PE1.Transparency = NumberSequence.new(0.2)
  359. PE1.LightEmission = NumberSequence.new(0.2)
  360. PE1.Rotation = NumberRange.new(260)
  361. PE1.Speed = NumberRange.new(0)
  362. PE1.RotSpeed = NumberRange.new(100)
  363. bc=char['Body Colors']
  364. coloras=BrickColor.new('Really black')
  365. bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras
  366. ----------------------------------------------------------
  367. local PE1 = Instance.new("ParticleEmitter",hed)
  368. PE1.Color = ColorSequence.new(Color3.new (255, 0, 0), Color3.new (255, 0, 0))
  369. PE1.LightEmission = NumberSequence.new(0.2)
  370. PE1.Size = NumberSequence.new(1.2)
  371. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  372. PE1.Lifetime = NumberRange.new(.5)
  373. PE1.Rate = 10
  374. PE1.Transparency = NumberSequence.new(0.2)
  375. PE1.LightEmission = NumberSequence.new(0.2)
  376. PE1.Rotation = NumberRange.new(260)
  377. PE1.Speed = NumberRange.new(0)
  378. PE1.RotSpeed = NumberRange.new(100)
  379. bc=char['Body Colors']
  380. coloras=BrickColor.new('Really black')
  381. bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras
  382. ----------------------------------------------------
  383. local PE1 = Instance.new("ParticleEmitter",torso)
  384. PE1.Color = ColorSequence.new(Color3.new (255, 0, 0), Color3.new (255, 0, 0))
  385. PE1.LightEmission = NumberSequence.new(0.2)
  386. PE1.Size = NumberSequence.new(1.2)
  387. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  388. PE1.Lifetime = NumberRange.new(.5)
  389. PE1.Rate = 10
  390. PE1.Transparency = NumberSequence.new(0.2)
  391. PE1.LightEmission = NumberSequence.new(0.2)
  392. PE1.Rotation = NumberRange.new(260)
  393. PE1.Speed = NumberRange.new(0)
  394. PE1.RotSpeed = NumberRange.new(100)
  395. bc=char['Body Colors']
  396. coloras=BrickColor.new('Really black')
  397. bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras
  398. ----------------------------------------------------------
  399. SIDZ = {"231917744", "231917742"}
  400. PTZ = {0.7, 0.8, 0.9, 1}
  401.  
  402. x = Instance.new("Sound",char)
  403. x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)]
  404. x.Pitch = PTZ[math.random(1,#PTZ)]
  405. x.Volume = 10
  406. wait(0.1)
  407. x:Play()
  408. Crater(Torso,95)
  409. Crater(Torso,20)
  410.  
  411.  
  412. x = Instance.new("Sound",char)
  413. x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)]
  414. x.Pitch = PTZ[math.random(1,#PTZ)]
  415. x.Volume = 10
  416. wait(0.1)
  417. x:Play()
  418. Crater(Torso,95)
  419. Crater(Torso,20)
  420.  
  421. game.Lighting.Brightness = 0
  422. game.Lighting.OutdoorAmbient = TB.BrickColor.Color
  423. game.Lighting.TimeOfDay = 0.1
  424. game.Lighting.FogEnd = 1000
  425. game.Lighting.FogColor = TB.BrickColor.Color
  426. game.Lighting.TimeOfDay = "00:00:00"
  427. game.Lighting.Ambient = Color3.new(0,0,0)
  428. game.Lighting.FogColor = Color3.new(0,0,0)
  429. game.Lighting.FogEnd = 500
  430. game.Lighting.FogStart = 0
  431. game.Lighting.GlobalShadows = true
  432. local HBill = Instance.new("BillboardGui",game.Players.LocalPlayer.Character.Head)
  433. local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame")
  434. local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel")
  435. HBill.Size = UDim2.new(15,0,2.2,0)
  436. HBill.Name = "Health Display"
  437. HBill.StudsOffset = Vector3.new(0,4,0)
  438. HBill.AlwaysOnTop = true
  439. HBill.Enabled = true
  440. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  441. HMain.BackgroundTransparency = 1
  442. HMain.Size = UDim2.new(1,0,1,0)
  443. HBarBack.Parent = HMain
  444. HBarBack.BackgroundColor3 = Color3.new(0,0,0)
  445. HBarBack.BorderColor3 = Color3.new(0,0,0)
  446. HBarBack.BorderSizePixel = 2
  447. HBarBack.Position = UDim2.new(.025, 0, .55, 0)
  448. HBarBack.Size = UDim2.new(.95, 0, .3, 0)
  449. HBar.Parent = HBarBack
  450. HBar.BackgroundColor3 = Color3.new(225, 0, 0)
  451. HBar.BorderColor3 = Color3.new(0,0,0)
  452. HBar.Size = UDim2.new(.5,0,1,0)
  453. HHealth.BackgroundTransparency = 1
  454. HHealth.Size = UDim2.new(1,1,1,1)
  455. HHealth.Font = "SourceSans"
  456. HHealth.Text = " "
  457. HHealth.TextScaled = true
  458. HHealth.TextColor3 = Color3.new(255,0,0)
  459. HHealth.TextStrokeColor3 = BrickColor.new("Really red").Color
  460. HHealth.TextStrokeTransparency = 1
  461. HName.Parent = HMain
  462. HName.BackgroundTransparency = 1
  463. HName.Size = UDim2.new(1,0,.5,0)
  464. HName.Font = "Antique"
  465. HName.Text = "SATAN"
  466. HName.TextScaled = true
  467. HName.TextColor3 = BrickColor.new("Really red").Color
  468. HName.TextStrokeColor3 = Color3.new(0,0,0)
  469. HName.FontSize = "Size48"
  470. HName.TextStrokeTransparency = 0
  471. HName.TextYAlignment = "Top"
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478. Player:ClearCharacterAppearance()
  479. wait(0.1)
  480. Player.Character.Head.BrickColor = BrickColor.new("Really black")
  481. Player.Character.Torso.BrickColor = BrickColor.new("Really black")
  482. Player.Character["Right Arm"].BrickColor = BrickColor.new("Really black")
  483. Player.Character["Right Leg"].BrickColor = BrickColor.new("Really black")
  484. Player.Character["Left Leg"].BrickColor = BrickColor.new("Really black")
  485. Player.Character["Left Arm"].BrickColor = BrickColor.new("Really black")
  486. Player.Character.Head.face:Destroy()
  487.  
  488.  
  489.  
  490. local selectionBoxOfTorso = Instance.new("SelectionBox",TorsA)
  491. selectionBoxOfTorso.Adornee = TorsA
  492. selectionBoxOfTorso.Color = BrickColor.new("Really red")
  493. selectionBoxOfTorso.LineThickness = 0.01
  494. selectionBoxOfTorso.Transparency = 0
  495.  
  496. local selectionBoxOfRightArm = Instance.new("SelectionBox",Character["Right Arm"])
  497. selectionBoxOfRightArm.Adornee = Character["Right Arm"]
  498. selectionBoxOfRightArm.Color = BrickColor.new("Really red")
  499. selectionBoxOfRightArm.LineThickness = 0.01
  500. selectionBoxOfRightArm.Transparency = 0
  501.  
  502. local selectionBoxOfRightLeg = Instance.new("SelectionBox",Character["Right Leg"])
  503. selectionBoxOfRightLeg.Adornee = Character["Right Leg"]
  504. selectionBoxOfRightLeg.Color = BrickColor.new("Really red")
  505. selectionBoxOfRightLeg.LineThickness = 0.01
  506. selectionBoxOfRightLeg.Transparency = 0
  507.  
  508. local selectionBoxOfLeftArm = Instance.new("SelectionBox",Character["Left Arm"])
  509. selectionBoxOfLeftArm.Adornee = Character["Left Arm"]
  510. selectionBoxOfLeftArm.Color = BrickColor.new("Really red")
  511. selectionBoxOfLeftArm.LineThickness = 0.01
  512. selectionBoxOfLeftArm.Transparency = 0
  513.  
  514. local selectionBoxOfLeftLeg = Instance.new("SelectionBox",Character["Left Leg"])
  515. selectionBoxOfLeftLeg.Adornee = Character["Left Leg"]
  516. selectionBoxOfLeftLeg.Color = BrickColor.new("Really red")
  517. selectionBoxOfLeftLeg.LineThickness = 0.01
  518. selectionBoxOfLeftLeg.Transparency = 0
  519.  
  520.  
  521. LightOnBody = Instance.new("PointLight", Head)
  522. LightOnBody.Brightness = 3000
  523. LightOnBody.Range = 20
  524. LightOnBody.Color = Color3.new(225, 0, 0)
  525.  
  526. NsKeypoint = function(a, b, c)
  527.  
  528. return NumberSequenceKeypoint.new(a, b, c)
  529. end
  530.  
  531. ColorsNew = function(a, b, c)
  532.  
  533. return Color3.new(a / 255, b / 255, c / 255)
  534. end
  535.  
  536. local Plasma = Instance.new("ParticleEmitter", torso)
  537. Plasma.Enabled = true
  538. local color1 = ColorsNew(0, 0, 0)
  539. local color2 = ColorsNew(0, 0, 0)
  540. local COLOR = ColorSequence.new(color1, color2)
  541. Plasma.Size = NumberSequence.new({NsKeypoint(0, 2, 0), NsKeypoint(0.23067332804203, 6.875, 0), NsKeypoint(0.29800498485565, 0.9375, 0), NsKeypoint(0.58478802442551, 6.9375, 0), NsKeypoint(1, 2, 0)})
  542. Plasma.Transparency = NumberSequence.new({NsKeypoint(0, 0, 0), NsKeypoint(0.70947635173798, 0, 0), NsKeypoint(0.74438905715942, 0.51249998807907, 0), NsKeypoint(0.78179556131363, 0, 0), NsKeypoint(0.82169580459595, 0.018750011920929, 0), NsKeypoint(1, 0.48750001192093, 0)})
  543. Plasma.Lifetime = NumberRange.new(0.1, 1)
  544. Plasma.RotSpeed = NumberRange.new(1000)
  545. Plasma.Color = COLOR
  546. Plasma.LightEmission = 1000
  547. Plasma.Texture = "rbxassetid://335222248"
  548. Plasma.Name = "Plasma"
  549. Plasma.Speed = NumberRange.new(20)
  550. Plasma.Rate = 1000
  551. Plasma.VelocitySpread = 360
  552. Plasma.Acceleration = Vector3.new(0, 0, 0)
  553.  
  554.  
  555.  
  556. Charging = true
  557. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  558. function FDebris()
  559. repeat
  560. local p = Instance.new('Part',Torso)
  561. p.formFactor = 'Custom'
  562. p.Size = Vector3.new(1,1,1)
  563. p.BrickColor = workspace.Base.BrickColor
  564. p.CanCollide = false
  565. p.Transparency = 0
  566. p.Anchored = true
  567. p.Locked=true
  568. p.Material = workspace.Base.Material
  569. s = math.random(1,40)/10
  570. local m = Instance.new("BlockMesh",p)
  571. m.Scale = Vector3.new(s,s,s)
  572. p.CFrame = Torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  573. --[[coroutine.wrap(function()
  574. wait(2)
  575. while Charging == true do
  576. wait(2)
  577. GroundWave1()
  578. wait(2)
  579. end
  580. end)()]]--
  581.  
  582. spawn(function()
  583. while rs:wait() do
  584. if p.Transparency >= 1 then p:Destroy() break end
  585. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  586. p.Transparency = p.Transparency+0.01
  587. end
  588. end)
  589. wait(.3)
  590. until Charging == false
  591. end
  592.  
  593.  
  594. spawn(function()
  595. while wait(.01)
  596. do
  597. FDebris()
  598. end
  599. end)
  600.  
  601.  
  602.  
  603. FloatPart = function()
  604. local Part = Instance.new('Part',Torso)
  605. Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  606. Part.Anchored = true
  607. Part.Material = 'Neon'
  608. Part.CanCollide = false
  609. Part.BrickColor = BrickColor.new(PrimaryColor)
  610. local Mesh = Instance.new('SpecialMesh',Part)
  611. Mesh.Scale = Vector3.new(4,4,.2)
  612. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  613. Mesh.VertexColor = Vector3.new(0,170,255)
  614. spawn(function()
  615. for i = 1,30 do
  616. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  617. Part.Transparency = Part.Transparency + .035
  618. game["Run Service"].RenderStepped:wait()
  619. end
  620. Part:Destroy()
  621. end)
  622. end;
  623.  
  624. DubPart = function()
  625. local Part = Instance.new('Part',Torso)
  626. Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
  627. Part.Anchored = true
  628. Part.CanCollide = false
  629. Part.Material = 'Neon'
  630. Part.BrickColor = BrickColor.new(SecondaryColor)
  631. local Mesh = Instance.new('SpecialMesh',Part)
  632. Mesh.Scale = Vector3.new(7,7,.2)
  633. Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
  634. Mesh.VertexColor = Vector3.new(0,170,255)
  635. spawn(function()
  636. for i = 1,30 do
  637. Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
  638. Part.Transparency = Part.Transparency + .035
  639. game["Run Service"].RenderStepped:wait()
  640. end
  641. Part:Destroy()
  642. end)
  643. end;
  644.  
  645. Fade = function(Item,t)
  646. spawn(function()
  647. for i = 1,20 do
  648. Item.Transparency = Item.Transparency + .05
  649. if t then
  650. wait(t)
  651. else
  652. wait()
  653. end
  654. end
  655. Item:Destroy()
  656. end)
  657. end
  658.  
  659. Particle = function(PrimaryColor)
  660. local Part = Instance.new('Part',Torso)
  661. Part.BrickColor = BrickColor.new(PrimaryColor)
  662. Part.Anchored = true
  663. Part.Transparency = .3
  664. Part.CanCollide = false
  665. Part.CFrame = Torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random())
  666. local Mesh = Instance.new('BlockMesh',Part)
  667. Mesh.Scale = Vector3.new(.05,.1,.1)
  668. spawn(function()
  669. for i = 1,40 do
  670. Part.Transparency = Part.Transparency + .0125
  671. Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0)
  672. game["Run Service"].RenderStepped:wait()
  673. end
  674. Part:Destroy()
  675. end)
  676. end;
  677.  
  678. --[[spawn(function()
  679. while wait() do
  680. wait(.05)
  681. FloatPart()
  682. wait(.08)
  683. FloatPart()
  684. wait(.05)
  685. DubPart()
  686. wait(.08)
  687. end
  688. end)]]
  689.  
  690. game["Run Service"].RenderStepped:connect(function(_)
  691. Particle("Really red")
  692. Particle("Really red")
  693. Particle("Really red")
  694. --Character['HumanoidRootPart'].C1 = Character['HumanoidRootPart'].C1 * CFrame.new(0,Height+math.sin(tick())/150,0)
  695. end)
  696.  
  697.  
  698.  
  699. function createblack(part)
  700. local pt1 = NumberSequenceKeypoint.new(0,1,0)
  701. local pt2 = NumberSequenceKeypoint.new(1,0,0)
  702. local effecto = Instance.new("ParticleEmitter",part)
  703. effecto.Texture = "rbxasset://textures/particles/smoke_main.dds"
  704. effecto.Color = ColorSequence.new(Color3.new(0,0,0))
  705. effecto.Rate = 10000
  706. effecto.Lifetime = NumberRange.new(1,1)
  707. effecto.Size = NumberSequence.new({pt1,pt2})
  708. effecto.Speed = NumberRange.new(0,0)
  709. effecto.RotSpeed = NumberRange.new(100,100)
  710. end
  711.  
  712. local orbuu = Instance.new("Part", chara)
  713. orbuu.Size = Vector3.new(1,1,1)
  714. orbuu.Name = "Diamond"
  715. orbuu.Anchored = true
  716. orbuu.CanCollide = false
  717. orbuu.BrickColor = BrickColor.new("Really black")
  718. local meshooo = Instance.new("SpecialMesh", orbuu)
  719. meshooo.MeshType = "FileMesh"
  720. meshooo.MeshId = "http://www.roblox.com/asset/?id=9756362"
  721. local RotationSpeed = 6
  722. local BobSpeed = 1
  723. local RotationDist = Vector3.new(5, 0, 0)
  724. local dt = 0
  725. local currentTime = 0
  726.  
  727. chara = Player.Character
  728. hitdude = nil
  729. debby = game:GetService("Debris")
  730. chara.Humanoid.MaxHealth = math.huge
  731. chara.Humanoid.Health = math.huge
  732. chara.Humanoid.JumpPower = 100
  733. local moosek = 0
  734. local prevthing = 0
  735. local timeofday = "Day"
  736. taip = 1
  737. createblack(orbuu)
  738. orbuu.ParticleEmitter.Color = ColorSequence.new(Color3.new(1,0,1))
  739. orbuu.ParticleEmitter.LightEmission = 1
  740. --Spell Circle--
  741.  
  742. Void = nil
  743. VoidParts = {}
  744. Equipped = false
  745.  
  746. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  747. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  748. end
  749.  
  750. Player = Player
  751. Character = chara
  752.  
  753. Humanoid = Character:FindFirstChild("Humanoid")
  754. Torso = Character:FindFirstChild("Torso")
  755. if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
  756. return
  757. end
  758. Equipped = true
  759. Void = Instance.new("Model")
  760. Void.Name = "Void"
  761. Angle = 0
  762. for i = 1, 1 do
  763. local VoidPart = Instance.new("Part")
  764. VoidPart.Name = "VoidPart"
  765. VoidPart.Transparency = 1
  766. VoidPart.BrickColor = BrickColor.new("Really black")
  767. VoidPart.Material = Enum.Material.Plastic
  768. VoidPart.Shape = Enum.PartType.Block
  769. VoidPart.FormFactor = Enum.FormFactor.Custom
  770. VoidPart.TopSurface = Enum.SurfaceType.Smooth
  771. VoidPart.BottomSurface = Enum.SurfaceType.Smooth
  772. VoidPart.Anchored = true
  773. VoidPart.CanCollide = false
  774. VoidPart.Locked = true
  775. VoidPart.Size = Vector3.new(10, 0.2, 10)
  776. local BlockMesh = Instance.new("BlockMesh")
  777. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  778. BlockMesh.Parent = VoidPart
  779. VoidPart.Parent = Void
  780. local Star = Instance.new("Decal", VoidPart)
  781. Star.Texture = "rbxassetid://359972668"
  782. Star.Face = "Top"
  783. local Light = Instance.new("PointLight", VoidPart)
  784. Light.Color = Color3.new(0,225,225)
  785. Light.Brightness = 100
  786. Light.Range = 10
  787. table.insert(VoidParts, VoidPart)
  788. end
  789. Spawn(function()
  790. while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do
  791. if Angle == 360 then
  792. Angle = 0
  793. end
  794. Angle = Angle + 0.05
  795. chara.Humanoid.MaxHealth = math.huge
  796. chara.Humanoid.Health = math.huge
  797. local parentPos = chara.Torso.CFrame
  798. --Rotate Fluffy around the player's head
  799. local rotation = CFrame.Angles(0 , RotationSpeed * currentTime, 0)
  800. local bob = Vector3.new(0, BobSpeed * math.sin(currentTime), 0)
  801. orbuu.CFrame = ((parentPos + bob) + (rotation * RotationDist))
  802. --Wait some time so we aren't going plaid
  803. dt, currentTime = wait(1/40)
  804. local cheeed = chara:GetChildren()
  805. for i = 1, #cheeed do
  806. if cheeed[i].ClassName == "Part" then
  807. if cheeed[i].Name ~= "Right Arm" and cheeed[i].Name ~= "Left Arm" and cheeed[i].Name ~= "Right Leg" and cheeed[i].Name ~= "Left Leg" and cheeed[i].Name ~= "Torso" and cheeed[i].Name ~= "HumanoidRootPart" and cheeed[i].Name ~= "Head" and cheeed[i].Name ~= "FakeHandle" and cheeed[i].Name ~= "FakeHandle2" and cheeed[i].Name ~= "FakeHandle3" and cheeed[i].Name ~= "Diamond" then
  808. cheeed[i]:Destroy()
  809. else end
  810. end
  811. end
  812. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  813. if Hit then
  814. if not Void.Parent then
  815. Void.Parent = Character
  816. end
  817. for i, v in pairs(VoidParts) do
  818. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  819. end
  820. else
  821. Void.Parent = nil
  822. end
  823. wait()
  824. end
  825. end)
  826.  
  827.  
  828.  
  829.  
  830. ----------------------------------------------------
  831. function genWeld(a,b)
  832. local w = Instance.new("Weld",a)
  833. w.Part0 = a
  834. w.Part1 = b
  835. return w
  836. end
  837. function weld(a, b)
  838. local weld = Instance.new("Weld")
  839. weld.Name = "W"
  840. weld.Part0 = a
  841. weld.Part1 = b
  842. weld.C0 = a.CFrame:inverse() * b.CFrame
  843. weld.Parent = a
  844. return weld;
  845. end
  846. ----------------------------------------------------
  847. function Lerp(c1,c2,al)
  848. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  849. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  850. for i,v in pairs(com1) do
  851. com1[i] = v+(com2[i]-v)*al
  852. end
  853. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  854. end
  855. ----------------------------------------------------
  856. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  857. local wld = Instance.new("Weld", wp1)
  858. wld.Part0 = wp0
  859. wld.Part1 = wp1
  860. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  861. end
  862. ----------------------------------------------------
  863. newWeld(torso, larm, -1.5, 0.5, 0)
  864. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  865. newWeld(torso, rarm, 1.5, 0.5, 0)
  866. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  867. newWeld(torso, hed, 0, 1.5, 0)
  868. newWeld(torso, lleg, -0.5, -1, 0)
  869. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  870. newWeld(torso, rleg, 0.5, -1, 0)
  871. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  872. newWeld(root, torso, 0, -1, 0)
  873. torso.Weld.C1 = CFrame.new(0, -1, 0)
  874. ----------------------------------------------------
  875.  
  876.  
  877. m8 = Instance.new("Model")
  878. m8.Name = "Zyrodoxa"
  879.  
  880.  
  881. p16 = Instance.new("Part", m8)
  882. p16.BrickColor = BrickColor.new("Instutional white")
  883. p16.Material = Enum.Material.Metal
  884. p16.Name = "Handle"
  885. p16.CFrame = CFrame.new(2.7e-005, -11.8500671, -1.1215378, 1, -4.08902174e-008, -5.95266769e-008, -5.95264673e-008, 4.47054163e-008, -1.00000322, 4.08900469e-008, 1.00000393, 3.27827877e-007)
  886. p16.CanCollide = false
  887. p16.Locked = true
  888. p16.FormFactor = Enum.FormFactor.Custom
  889. p16.Size = Vector3.new(0, 0, 0)
  890. p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  891. p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  892. p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  893. p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  894. p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  895. p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  896. b16 = Instance.new("BlockMesh", p16)
  897. b16.Name = "Mesh"
  898. b16.Scale = Vector3.new(0, 0, 0)
  899.  
  900. w16 = Instance.new("Weld", p16)
  901. w16.Name = "Block_Weld"
  902. w16.Part0 = p16
  903. w16.C0 = CFrame.new(-2.69356715e-005, 1.12153399, 0.310250998, 1, -5.9526446e-008, 4.08900576e-008, -4.08900576e-008, 0, 1, -5.95264495e-008, -1, -2.43403981e-015)
  904. w16.Part1 = p17
  905. w16.C1 = CFrame.new(-2.69897973e-005, 0.238820702, 1.16951191, 1, -3.32849588e-008, -1.92696081e-009, -3.32849588e-008, -1, -5.96046448e-007, -1.92694105e-009, 5.96046448e-007, -1)
  906.  
  907.  
  908.  
  909. m8.Parent = rarm
  910. m8:MakeJoints()
  911.  
  912. local cor8 = Instance.new("Part", rarm.Zyrodoxa)
  913. cor8.Name = "Thingy"
  914. cor8.Locked = true
  915. cor8.BottomSurface = 0
  916. cor8.CanCollide = false
  917. cor8.Size = Vector3.new(1, 1, 1)
  918. cor8.Transparency = 1
  919. cor8.TopSurface = 0
  920. corw8 = Instance.new("Weld", cor8)
  921. corw8.Part0 = rarm
  922. corw8.Part1 = cor8
  923. corw8.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180))
  924. corw8.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  925. weld8 = Instance.new("Weld", rarm.Zyrodoxa)
  926. weld8.Part0 = cor8
  927. weld8.Part1 = rarm.Zyrodoxa.Handle
  928. weld8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  929.  
  930.  
  931.  
  932.  
  933.  
  934. Debounces = {CanAttack = true, NoIdl = false, Slashing = false, Slashed = false, RPunch = false, RPunched = false, LPunch = false, LPunched = false, Reaping = false, Reaped = false}
  935. local Touche = {Character.Name}
  936.  
  937.  
  938.  
  939.  
  940. Reap = function()
  941.  
  942. rarm.Touched:connect(function(ht1)
  943.  
  944. hit1 = ht1.Parent
  945. if ht1 and hit1:IsA("Model") and hit1:FindFirstChild("Humanoid") and hit1.Name ~= p.Name and Debounces.Reaping == true and Debounces.Reaped == false then
  946. Debounces.Reaped = true
  947. h = hit1:FindFirstChild("Humanoid")
  948. if h ~= nil then
  949. hum.MaxHealth = hum.MaxHealth + h.MaxHealth
  950. hum.Health = hum.MaxHealth
  951. e = Instance.new("Part")
  952. e.TopSurface = 0
  953. e.BottomSurface = 0
  954. e.Reflectance = 0.05
  955. e.formFactor = "Symmetric"
  956. e.Size = Vector3.new(1, 1, 1)
  957. e.Anchored = true
  958. e.CanCollide = false
  959. e.BrickColor = BrickColor.new("Really blue")
  960. e.CFrame = CFrame.new(ht1.Position)
  961. e.Parent = hit1
  962. Instance.new("BlockMesh", e)
  963. coroutine.resume(coroutine.create(function(par)
  964.  
  965. for i = 1, 13 do
  966. par.CFrame = par.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-20, 20) / 50, math.random(-20, 20) / 50, math.random(-20, 20) / 50)
  967. par.Transparency = i / 13
  968. par.Mesh.Scale = par.Mesh.Scale + Vector3.new(0.4, 0.4, 0.4)
  969. wait()
  970. end
  971. par.Parent = nil
  972. end
  973. ), e)
  974. for _,v in pairs(hit1:children()) do
  975. if v.className == "Part" then
  976. v.BrickColor = BrickColor.new("Really black")
  977. v.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3
  978. v:BreakJoints()
  979. f = Instance.new("BodyVelocity")
  980. f.P = 3000
  981. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  982. f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10)
  983. f.Parent = v
  984. v.CanCollide = false
  985. coroutine.resume(coroutine.create(function(par)
  986.  
  987. for i = 1, 30 do
  988. par.Transparency = i / 30
  989. wait()
  990. end
  991. par.Parent = nil
  992. end
  993. ), v)
  994. else
  995. if v.className == "Hat" then
  996. v.Handle.BrickColor = BrickColor.new("Really black")
  997. v.Handle.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3
  998. v.Handle:BreakJoints()
  999. f = Instance.new("BodyVelocity")
  1000. f.P = 3000
  1001. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1002. f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10)
  1003. f.Parent = v.Handle
  1004. v.Handle.CanCollide = false
  1005. coroutine.resume(coroutine.create(function(par)
  1006.  
  1007. for i = 1, 30 do
  1008. par.Transparency = i / 30
  1009. wait()
  1010. end
  1011. par.Parent = nil
  1012. end
  1013. ), v.Handle)
  1014. if h == nil then
  1015. wait()
  1016. end
  1017. end
  1018. end
  1019. end
  1020. end
  1021. end
  1022. end
  1023. )
  1024. Debounces.Reaped = false
  1025. end
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033. mouse.KeyDown:connect(function(key)------------------------------------------------------------------------Darkness Punch
  1034.  
  1035. if key == "q" and Debounces.CanAttack == true then
  1036. Debounces.CanAttack = false
  1037. Debounces.NoIdl = true
  1038. Debounces.on = true
  1039. Debounces.Reaping = true
  1040. for i = 1, 10 do
  1041. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.4) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  1042. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-30)), 0.4)
  1043. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(70), 0), 0.4)
  1044. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.4)
  1045. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-10)), 0.4)
  1046. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(7), math.rad(-20), math.rad(10)), 0.4)
  1047. if Debounces.on == false then
  1048. break
  1049. end
  1050. fat.Event:wait()
  1051. end
  1052. do
  1053. wait(1)
  1054. Reap()
  1055. for i = 1, 10 do
  1056. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, -0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(70)), 0.7)
  1057. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0.2) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.7)
  1058. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(-70), 0), 0.7)
  1059. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.7)
  1060. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(-10)), 0.7)
  1061. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.7)
  1062. if Debounces.on == false then
  1063. break
  1064. end
  1065. fat.Event:wait()
  1066. end
  1067. do
  1068. if Debounces.CanAttack == false then
  1069. Debounces.CanAttack = true
  1070. Debounces.NoIdl = false
  1071. Debounces.on = false
  1072. Debounces.Reaping = false
  1073. end
  1074. end
  1075. end
  1076. end
  1077. end
  1078. )
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090. local Player = game:GetService("Players").LocalPlayer
  1091. local Character = Player.Character
  1092. local Head = Character.Head
  1093. local Torso = Character.Torso
  1094. local Right_Arm = Character["Right Arm"]
  1095. local Right_Leg = Character["Right Leg"]
  1096. local Left_Arm = Character["Left Arm"]
  1097. local Left_Leg = Character["Left Leg"]
  1098. local Humanoid = Character.Humanoid
  1099. local Animation = "Idle"
  1100. local Mouse = Player:GetMouse()
  1101. local LeftShoulder = Torso["Left Shoulder"]
  1102. local Left_Hip = Torso["Left Hip"]
  1103. local RightShoulder = Torso["Right Shoulder"]
  1104. local Right_Hip = Torso["Right Hip"]
  1105. local Root = Character.HumanoidRootPart
  1106. local RootJoint = Root.RootJoint
  1107. local Attacking = false
  1108. local CanAttack = true
  1109. local Anim = "Idle"
  1110. local Combo = 1
  1111. local Blocking = false
  1112. local MaxDestruction = 1000
  1113. local Destruction = 0
  1114. local MaxBlock = 100
  1115. local Effects = {}
  1116. local Color = "Bright yellow"
  1117. local Invert = false
  1118. local Idle = 0
  1119. local Equipped = false
  1120. local Running = false
  1121. local Unseathed = false
  1122. local Shard = "None"
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129. function clerp(a,b,t)
  1130. local qa = {QuaternionFromCFrame(a)}
  1131. local qb = {QuaternionFromCFrame(b)}
  1132. local ax, ay, az = a.x, a.y, a.z
  1133. local bx, by, bz = b.x, b.y, b.z
  1134. local _t = 1-t
  1135. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1136. end
  1137.  
  1138. function QuaternionFromCFrame(cf) -- dis one
  1139. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1140. local trace = m00 + m11 + m22
  1141. if trace > 0 then
  1142. local s = math.sqrt(1 + trace)
  1143. local recip = 0.5/s
  1144. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1145. else
  1146. local i = 0
  1147. if m11 > m00 then
  1148. i = 1
  1149. end
  1150. if m22 > (i == 0 and m00 or m11) then
  1151. i = 2
  1152. end
  1153. if i == 0 then
  1154. local s = math.sqrt(m00-m11-m22+1)
  1155. local recip = 0.5/s
  1156. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1157. elseif i == 1 then
  1158. local s = math.sqrt(m11-m22-m00+1)
  1159. local recip = 0.5/s
  1160. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1161. elseif i == 2 then
  1162. local s = math.sqrt(m22-m00-m11+1)
  1163. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1164. end
  1165. end
  1166. end
  1167.  
  1168. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1169. local xs, ys, zs = x + x, y + y, z + z
  1170. local wx, wy, wz = w*xs, w*ys, w*zs
  1171. local xx = x*xs
  1172. local xy = x*ys
  1173. local xz = x*zs
  1174. local yy = y*ys
  1175. local yz = y*zs
  1176. local zz = z*zs
  1177. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1178. end
  1179.  
  1180. function QuaternionSlerp(a, b, t)
  1181. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1182. local startInterp, finishInterp;
  1183. if cosTheta >= 0.0001 then
  1184. if (1 - cosTheta) > 0.0001 then
  1185. local theta = math.acos(cosTheta)
  1186. local invSinTheta = 1/math.sin(theta)
  1187. startInterp = math.sin((1-t)*theta)*invSinTheta
  1188. finishInterp = math.sin(t*theta)*invSinTheta
  1189. else
  1190. startInterp = 1-t
  1191. finishInterp = t
  1192. end
  1193. else
  1194. if (1+cosTheta) > 0.0001 then
  1195. local theta = math.acos(-cosTheta)
  1196. local invSinTheta = 1/math.sin(theta)
  1197. startInterp = math.sin((t-1)*theta)*invSinTheta
  1198. finishInterp = math.sin(t*theta)*invSinTheta
  1199. else
  1200. startInterp = t-1
  1201. finishInterp = t
  1202. end
  1203. end
  1204. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1205. end
  1206.  
  1207. Movemment = 1
  1208. Walk = 0
  1209.  
  1210. Animator = Humanoid.Animator
  1211. --Animate = Character.Animate
  1212.  
  1213. Animator.Parent = nil
  1214. --Animate.Parent = nil
  1215.  
  1216. local Services = {
  1217.  
  1218. SoundService = game:GetService("SoundService");
  1219. Players = game:GetService("Players");
  1220. Debris = game:GetService("Debris");
  1221. Workspace = game:GetService("Workspace");
  1222. Lighting = game:GetService("Lighting");
  1223. HttpService = game:GetService("HttpService");
  1224. InsertService = game:GetService("InsertService");
  1225.  
  1226. }
  1227.  
  1228. SpikeMeshId = 1033714
  1229. SpikeBallId = 9982590
  1230. StarMeshId = 45428961
  1231. CrystalMeshId = 9756362
  1232.  
  1233. --[[ Essential Functions ]]--
  1234. function NoOutlines(Part)
  1235. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1236. end
  1237.  
  1238.  
  1239. local CreatePart = function(Parent, Name, Color, Size, Material, Transparency, Shape)
  1240.  
  1241. local Part = Instance.new("Part", Parent)
  1242. Part.Name = Name
  1243. Part.BrickColor = BrickColor.new(Color)
  1244. Part.Size = Size
  1245. Part.Material = Material
  1246. Part.Transparency = Transparency
  1247. Part.Shape = Shape
  1248. Part.CanCollide = false
  1249. NoOutlines(Part)
  1250.  
  1251. return Part
  1252.  
  1253. end
  1254.  
  1255. local CreateMesh = function(Parent, Scale, Shape)
  1256.  
  1257.  
  1258. local Mesh = Instance.new("BlockMesh", Parent)
  1259. Mesh.Scale = Scale
  1260.  
  1261. return Mesh
  1262.  
  1263. end
  1264.  
  1265. local CreateWedge = function(Parent, Name, Color, Size, Material, Transparency)
  1266.  
  1267. local WedgePart = Instance.new("WedgePart", Parent)
  1268. WedgePart.Name = Name
  1269. WedgePart.BrickColor = BrickColor.new(Color)
  1270. WedgePart.Size = Size
  1271. WedgePart.Material = Material
  1272. WedgePart.Transparency = Transparency
  1273. WedgePart.CanCollide = false
  1274. NoOutlines(WedgePart)
  1275.  
  1276. return WedgePart
  1277.  
  1278. end
  1279.  
  1280. local CreateWeld = function(Parent, Cframe, P1 , P0)
  1281.  
  1282. local Weld = Instance.new("Weld", Parent)
  1283. Weld.Part0 = P0
  1284. Weld.Part1 = P1
  1285. Weld.Name = P0.Name .. "To" .. P1.Name
  1286. Weld.C0 = Cframe
  1287.  
  1288. return Weld
  1289.  
  1290. end
  1291.  
  1292. local CreateVelocity = function(Parent,Velocity,Force)
  1293.  
  1294. local BodyVelocity = Instance.new("BodyVelocity", Parent)
  1295. BodyVelocity.Velocity = Velocity
  1296. BodyVelocity.MaxForce = Force
  1297.  
  1298.  
  1299.  
  1300. return BodyVelocity
  1301.  
  1302. end
  1303.  
  1304.  
  1305. local CreateCrystal = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  1306.  
  1307.  
  1308. local Part = Instance.new("Part", Parent)
  1309. Part.Name = Name
  1310. Part.BrickColor = BrickColor.new(Color)
  1311. Part.Size = Size
  1312. Part.Material = Material
  1313. Part.Transparency = Transparency
  1314. Part.CanCollide = false
  1315. NoOutlines(Part)
  1316.  
  1317. local Mesh = Instance.new("SpecialMesh", Part)
  1318. Mesh.MeshId = "http://www.roblox.com/asset?id=" .. CrystalMeshId
  1319. Mesh.Scale = Scale
  1320.  
  1321. return Mesh and Part
  1322.  
  1323. end
  1324.  
  1325. local MakeSFX = function(Parent, Id, Volume, Pitch, Type)
  1326.  
  1327. local SFX = Instance.new("Sound", Parent)
  1328. SFX.SoundId = "http://www.roblox.com/asset?id=" .. Id
  1329. SFX.Name = "SFX"
  1330. SFX:Play()
  1331. SFX.Volume = Volume
  1332. SFX.Pitch = Pitch
  1333. SFX.PlayOnRemove = true
  1334. SFX:Remove()
  1335.  
  1336. if Type == "Echo" then
  1337.  
  1338. Instance.new("EchoSoundEffect", SFX)
  1339.  
  1340. end
  1341.  
  1342. end
  1343.  
  1344. local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale)
  1345.  
  1346.  
  1347. local Part = Instance.new("Part", Parent)
  1348. Part.Name = Name
  1349. Part.BrickColor = BrickColor.new(Color)
  1350. Part.Size = Size
  1351. Part.Material = Material
  1352. Part.Transparency = Transparency
  1353. Part.CanCollide = false
  1354. NoOutlines(Part)
  1355.  
  1356. local Mesh = Instance.new("SpecialMesh", Part)
  1357. Mesh.MeshId = "http://www.roblox.com/asset?id=" .. SpikeMeshId
  1358. Mesh.Scale = Scale
  1359.  
  1360. return Mesh and Part
  1361.  
  1362. end
  1363.  
  1364. CircleEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  1365.  
  1366. local Part = Instance.new("Part", Parent)
  1367. Part.Transparency = Transparency
  1368. Part.Name = "CircleEffect"
  1369. Part.Size = Vector3.new()
  1370. Part.Anchored = true
  1371. Part.CanCollide = false
  1372. Part.Position = Position
  1373. Part.BrickColor = BrickColor.new(Brickcolor)
  1374. Part.Material = Material
  1375. NoOutlines(Part)
  1376.  
  1377. local Mesh = Instance.new("SpecialMesh", Part)
  1378. Mesh.MeshType = "Sphere"
  1379. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  1380.  
  1381. Services.Debris:AddItem(Part, Time)
  1382.  
  1383.  
  1384. table.insert(Effects, {Part, "Circle", Time, SX, SY, SZ})
  1385.  
  1386.  
  1387. end
  1388.  
  1389. BlockEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
  1390.  
  1391. local Part = Instance.new("Part", Parent)
  1392. Part.Transparency = Transparency
  1393. Part.Name = "BlockEffect"
  1394. Part.Size = Vector3.new()
  1395. Part.Anchored = true
  1396. Part.Position = Position
  1397. Part.CanCollide = false
  1398. Part.BrickColor = BrickColor.new(Brickcolor)
  1399. Part.Material = Material
  1400. NoOutlines(Part)
  1401.  
  1402. local Mesh = Instance.new("BlockMesh", Part)
  1403. Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
  1404.  
  1405. Services.Debris:AddItem(Part, Time)
  1406.  
  1407. table.insert(Effects, {Part, "Block", Time, SX, SY, SZ})
  1408.  
  1409.  
  1410. end
  1411.  
  1412.  
  1413.  
  1414.  
  1415. function DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  1416.  
  1417. local HitHumanoid = Hit.Parent.Humanoid
  1418.  
  1419.  
  1420. local Damage = math.random(Min, Max)
  1421.  
  1422.  
  1423. coroutine.resume(coroutine.create(function()
  1424. HitHumanoid:TakeDamage(Damage)
  1425. end))
  1426.  
  1427. if Type == "Shrink" then
  1428. MakeSFX(Hit.Parent.Torso, 209527235, 1, 1)
  1429. for i,v in pairs(Hit.Parent:children()) do
  1430. if v:IsA("Part") then
  1431. coroutine.resume(coroutine.create(function()
  1432. for i = 1,100 do
  1433. wait()
  1434. v.Size = v.Size - Vector3.new(0.05,0.05,0.05)
  1435. v.Transparency = v.Transparency + 0.05
  1436.  
  1437. end
  1438. end))
  1439. end
  1440. end
  1441.  
  1442. end
  1443.  
  1444.  
  1445.  
  1446. if Type == "Normal" then
  1447.  
  1448. local Push = CreateVelocity(Hit.Parent.Torso, Torso.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  1449. Services.Debris:AddItem(Push, 0)
  1450. DamageLabel(Hit.Parent, Damage, Hit)
  1451.  
  1452. elseif Type == "Ranged" then
  1453. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  1454. Services.Debris:AddItem(Push, 0)
  1455. DamageLabel(Hit.Parent, Damage, Hit)
  1456.  
  1457. elseif Type == "Impale" then
  1458.  
  1459. local Spike = CreateSpike(Services.Workspace, "D e a t h", "Black", Vector3.new(), "SmoothPlastic", 0, Vector3.new(1,20,1))
  1460. Spike.Anchored = true
  1461. Spike.Rotation = Vector3.new(math.random(-50,50), 0 , math.random(-50,50))
  1462. Spike.Position = Hit.Parent.Torso.Position
  1463.  
  1464.  
  1465. Services.Debris:AddItem(Spike, 30)
  1466.  
  1467. Hit.Parent:BreakJoints()
  1468. Hit.Parent.Torso.Position = Spike.Position + Vector3.new(0,5,0)
  1469. Hit.Parent.Torso.Anchored = true
  1470.  
  1471. MakeSFX(Spike, 306247724, 1,1)
  1472. MakeSFX(Hit.Parent.Torso, 209527175, 10,1)
  1473. elseif Type == "Knockdown" then
  1474.  
  1475.  
  1476. local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
  1477. DamageLabel(Hit.Parent, Damage, Hit)
  1478. Services.Debris:AddItem(Push, 0.3)
  1479.  
  1480. coroutine.resume(coroutine.create(function()
  1481.  
  1482. HitHumanoid.PlatformStand = true
  1483. wait(1)
  1484. HitHumanoid.PlatformStand = false
  1485.  
  1486.  
  1487. end))
  1488. end
  1489.  
  1490. if HitSFX == "Penetration" then
  1491.  
  1492. MakeSFX(Hit, 199149269, 1 , 1)
  1493.  
  1494. elseif HitSFX == "Punch" then
  1495.  
  1496. MakeSFX(Hit, 278062209, 1 , 1)
  1497.  
  1498.  
  1499.  
  1500.  
  1501. end
  1502. end
  1503.  
  1504.  
  1505.  
  1506. function DamageLabel(HitCharacter, DamageDealt, Hit)
  1507.  
  1508. local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Bright yellow", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
  1509. DamageShowingPart.Position = HitCharacter.Head.Position
  1510.  
  1511. local DamageGui = Instance.new("BillboardGui", DamageShowingPart)
  1512. DamageGui.Name = "Damage"
  1513. DamageGui.AlwaysOnTop = true
  1514. DamageGui.Size = UDim2.new(5, 0, 5, 0)
  1515.  
  1516. local DamageNumber = Instance.new("TextLabel", DamageGui)
  1517. DamageNumber.Size = UDim2.new(1,0,1,0)
  1518. if Hit.Parent:FindFirstChild("Head") then
  1519. DamageNumber.TextStrokeColor3 = Hit.Parent.Head.BrickColor.Color
  1520. DamageNumber.TextColor3 = Hit.BrickColor.Color
  1521. end
  1522. DamageNumber.TextStrokeTransparency = 0
  1523. DamageNumber.BackgroundTransparency = 1
  1524. DamageNumber.Font = "SourceSansBold"
  1525. DamageNumber.TextScaled = true
  1526. DamageNumber.Text = DamageDealt
  1527.  
  1528. local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
  1529. BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1530. BodyVelocity.Velocity = Vector3.new(0,2,0)
  1531.  
  1532. Services.Debris:AddItem(DamageShowingPart, 3)
  1533.  
  1534.  
  1535. end
  1536.  
  1537.  
  1538.  
  1539.  
  1540. function ValidateDamage(Part, Distance ,Min , Max, Type, HitSFX, Knockback)
  1541. for _,WorkspaceChildren in pairs(workspace:children()) do
  1542.  
  1543. local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
  1544.  
  1545. if HitHumanoid ~= nil then
  1546. local Hit = WorkspaceChildren:findFirstChild("Torso")
  1547.  
  1548. if Hit ~= nil then
  1549.  
  1550. local Target = Hit.Position - Part.Position
  1551.  
  1552. local Magnitude = Target.magnitude
  1553.  
  1554. if Magnitude <= Distance and WorkspaceChildren.Name ~= Player.Name then
  1555.  
  1556. local HitBlock = Hit.Parent:FindFirstChild("Block")
  1557.  
  1558. if HitBlock ~= nil and HitBlock:FindFirstChild("BlockDurability") and HitBlock.Value == true then
  1559.  
  1560. local HitBlock2 = Hit.Parent.Block.BlockDurability
  1561.  
  1562. if HitBlock2.Value > 15 then
  1563.  
  1564. local HitN = math.random(1,5)
  1565.  
  1566. HitBlock2.Value = HitBlock2.Value - 15
  1567.  
  1568.  
  1569. if HitN == 1 then
  1570. MakeSFX(Hit ,199148971, 0.5, 1)
  1571. end
  1572.  
  1573. if HitN == 2 then
  1574. MakeSFX(Hit ,199149025, 0.5, 1)
  1575. end
  1576.  
  1577. if HitN == 3 then
  1578. MakeSFX(Hit ,199149072, 0.5, 1)
  1579. end
  1580.  
  1581. if HitN == 4 then
  1582. MakeSFX(Hit ,199149109, 0.5, 1)
  1583. end
  1584.  
  1585. if HitN == 5 then
  1586. MakeSFX(Hit ,199149119, 0.5, 1)
  1587. end
  1588. return
  1589. end
  1590. end
  1591.  
  1592. DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
  1593.  
  1594.  
  1595.  
  1596. end
  1597. end
  1598. end
  1599. end
  1600. end
  1601.  
  1602.  
  1603.  
  1604. function Attack1()
  1605. Attacking = true
  1606. MakeSFX(EyeReference, 341336274, 1,1)
  1607. wait(0.3)
  1608. local Reference = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1609. local ReferenceWeld = CreateWeld(Reference, CFrame.new(0,0.5,-5), Reference, Root)
  1610.  
  1611. local Reference2 = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
  1612. local Reference2Weld = CreateWeld(Reference2, CFrame.new(0,0.5,-2), Reference2, Root)
  1613.  
  1614.  
  1615. for i = 1,10 do
  1616.  
  1617. wait()
  1618.  
  1619. end
  1620.  
  1621. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, "Bright red", "Neon", 0.5)
  1622. wait(0.5)
  1623. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, "Bright red", "Neon", 0.5)
  1624. wait(0.5)
  1625. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, "Bright red", "Neon", 0.5)
  1626. wait(0.5)
  1627. CircleEffect(Reference2.Position, Services.Workspace, 50, 50, 50, -5, -5, -5, 5, "Bright red", "Neon", 0.5)
  1628. wait(0.5)
  1629. MakeSFX(Reference, 306247724, 1,1)
  1630. CircleEffect(Reference.Position, Services.Workspace, 1, 1, 1, 5, 5, 5, 5, "Bright red", "Neon", 0.5)
  1631. ValidateDamage(Reference, 10 ,10 , 14, "Shrink", "Penetration", 5)
  1632. Attacking = false
  1633. end
  1634.  
  1635.  
  1636.  
  1637. function Attack3()
  1638. Humanoid.WalkSpeed = 50
  1639. Humanoid.JumpPower = 50
  1640. Attacking = true
  1641. wait(1)
  1642. MakeSFX(Torso, 341336274, 1, 1.2)
  1643. CircleEffect(Torso.Position, Services.Workspace, 1, 1, 1, 20, 20, 20, 5, "Black", "Neon", 0.5)
  1644. wait(1)
  1645. MakeSFX(Torso, 341336274, 1, 1.2)
  1646. CircleEffect(Torso.Position, Services.Workspace, 1, 1, 1, 20, 20, 20, 5, "Black", "Neon", 0.5)
  1647. wait(1)
  1648. MakeSFX(Torso, 341336274, 1, 1.2)
  1649. CircleEffect(Torso.Position, Services.Workspace, 1, 1, 1, 20, 20, 20, 5, "Black", "Neon", 0.5)
  1650. ValidateDamage(Torso, 60 ,0, 0, "Impale", "Penetration", 15)
  1651. Humanoid.WalkSpeed = 50
  1652. Humanoid.JumpPower = 50
  1653. Attacking = false
  1654. end
  1655.  
  1656.  
  1657.  
  1658. mouse.KeyDown:connect(function(key)---------------------------------------------------------------------------------------------------Erasing Hand
  1659.  
  1660. if key == "e" and Debounces.CanAttack == true then
  1661.  
  1662. Attack1()
  1663.  
  1664. end
  1665. end)
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673. mouse.KeyDown:connect(function(key)-----------------------------------------------------------------------------------------------Underworld Spikes
  1674.  
  1675. if key == "r" and Debounces.CanAttack == true then
  1676.  
  1677. Attack3()
  1678.  
  1679. end
  1680. end)
  1681.  
  1682.  
  1683.  
  1684.  
  1685. x = Instance.new("Sound", char)
  1686. x.SoundId = "http://www.roblox.com/asset/?id=198360408"
  1687. x.Looped = true
  1688. x.Volume = 9
  1689. local footsteps = false
  1690.  
  1691. local animpose = "Idle1"
  1692. local lastanimpose = "Idle1"
  1693. local grab = false
  1694. local Smooth = 1
  1695. local sine = 0
  1696. local change = 1
  1697. local val = 0
  1698. local ffing = false
  1699.  
  1700. jump = false
  1701. rs:connect(function()
  1702. if char.Humanoid.Jump == true then
  1703. jump = true
  1704. else
  1705. jump = false
  1706. end
  1707. char.Humanoid.FreeFalling:connect(function(f)
  1708. if f then
  1709. ffing = true
  1710. else
  1711. ffing = false
  1712. end
  1713. end)
  1714. sine = sine + change
  1715. if jump == true then
  1716. animpose = "Jumping"
  1717. elseif ffing == true then
  1718. animpose = "Freefalling"
  1719. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1720. animpose = "Idle"
  1721. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1722. animpose = "Walking"
  1723. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1724. animpose = "Running"
  1725. end
  1726. RightLeg = CFrame.new(0.5,-1,0)
  1727. LeftLeg = CFrame.new(-0.5,-1,0)
  1728.  
  1729. lefth = (torso.CFrame*LeftLeg)
  1730. righth = (torso.CFrame*RightLeg)
  1731.  
  1732. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  1733.  
  1734. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  1735.  
  1736. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  1737. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  1738. if animpose ~= lastanimpose then
  1739. sine = 0
  1740. if Debounces.NoIdl == false then
  1741. if stanceToggle == "Idle1" then
  1742. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3)
  1743. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3)
  1744. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2)
  1745. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2+2*math.cos(sine/22)), math.rad(0), 0), 0.2)
  1746. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(5), math.rad(-5)), 0.2)
  1747. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(-5), math.rad(5)), 0.2)
  1748. elseif stanceToggle == "Idle2" then
  1749. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-22-4*math.cos(sine/12)),math.rad(-40-2*math.cos(sine/12)),math.rad(24+2*math.cos(sine/12))), 0.3)
  1750. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.6,-0.6)*CFrame.Angles(math.rad(90+4*math.cos(sine/12)),math.rad(0),math.rad(50-2*math.cos(sine/12))), 0.3)
  1751. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-6+2.5*math.cos(sine/12)),math.rad(0),math.rad(0)), 0.2)
  1752. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20+2*math.cos(sine/12)), math.rad(0), 0), 0.2)
  1753. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.4, -1) * CFrame.Angles(math.rad(-7-2*math.cos(sine/12)), math.rad(7), math.rad(-5)), 0.2)
  1754. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8, -0.2) * CFrame.Angles(math.rad(-30-2*math.cos(sine/12)), math.rad(-9), math.rad(5)), 0.2)
  1755. end
  1756. fat.Event:wait()
  1757. end
  1758. else
  1759. end
  1760. lastanimpose = animpose
  1761. if Debounces.NoIdl == false then
  1762. if animpose == "Idle" then
  1763. change = 0.5
  1764. if stanceToggle == "Idle1" then
  1765. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05+0.03*math.cos(sine/5), 0-0.1*math.cos(sine/10)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1766. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0+8*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.3)
  1767.  
  1768. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.6+0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),-0.2-0.1*math.cos(sine/10))*CFrame.Angles(math.rad(8+2.5*math.cos(sine/10)),math.rad(22+7*math.cos(sine/10)),math.rad(15+2*math.cos(sine/10))), 0.8)
  1769. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1770. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6-0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),0.2+0.1*math.cos(sine/10))*CFrame.Angles(math.rad(-8-2.5*math.cos(sine/10)),math.rad(12+5*math.cos(sine/10)),math.rad(-12-3*math.cos(sine/10))), 0.8)
  1771. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1772. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.05*math.cos(sine/10))*CFrame.Angles(math.rad(-15+3*math.cos(sine/10)),math.rad(0),math.rad(0)), 0.5)
  1773. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20-3*math.cos(sine/10)),math.rad(0)), 0.5)
  1774. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6+3*math.cos(sine/10)), math.rad(0), 0), 0.1)
  1775. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0-0.08*math.cos(sine/10), -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20+3*math.cos(sine/10)), 0), 0.1)
  1776. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.14+0.06*math.cos(sine/10)) * CFrame.Angles(math.rad(-3-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  1777. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10-3*math.cos(sine/10)), math.rad(5+3*math.cos(sine/10))), 0.1)
  1778. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(8-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  1779. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10-3*math.cos(sine/10)), math.rad(-5+3*math.cos(sine/10))), 0.1)
  1780. elseif stanceToggle == "Idle2" then
  1781.  
  1782. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1783. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65-0.1*math.cos(sine/3),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20-2*math.cos(sine/3))), 0.1)
  1784. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  1785. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.23, 0.5, -.56) * CFrame.Angles(math.rad(88+4*math.cos(sine/3)), 0, math.rad(45)), 0.6)
  1786. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  1787. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(-10+2*math.cos(sine/6)), 0, 0), 0.8)
  1788. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1789. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1790. --hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-5-10*math.cos(sine/18)), math.sin(sine/36)/3, 0), 0.3)
  1791. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1792. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.15) * CFrame.Angles(math.rad(-9-2*math.cos(sine/6)), 0, 0), 0.8)
  1793. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1-0.1*math.cos(sine/3), 0+0.04*math.cos(sine/6)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.8)
  1794. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56-2*math.cos(sine/6)), 0, 0), 0.8)
  1795. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.8)
  1796. elseif stanceToggle == "Grabbed" then
  1797. grab = true
  1798. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1799. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1800. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
  1801. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
  1802. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(90+4*math.cos(sine/14)),math.rad(0),math.rad(-80+4*math.cos(sine/14))), 0.3)
  1803. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
  1804. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3)
  1805. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1806. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  1807. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1808. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
  1809. lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1810. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  1811. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1812. end
  1813. elseif animpose == "Walking" then
  1814. if stanceToggle == "Grabbed" then
  1815. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1816. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1817. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
  1818. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1819. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120+4*math.cos(sine/2)),math.rad(0),math.rad(-30+4*math.cos(sine/4))), 0.3)
  1820. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
  1821. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4)
  1822. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7)
  1823. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4)
  1824. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  1825. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  1826. lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8)
  1827. lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1828. rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8)
  1829. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1830. elseif stanceToggle ~= "Grabbed" then
  1831. change = 0.4
  1832. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1833. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1834.  
  1835. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
  1836. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1837. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/2), -math.sin(sine/4)/4)*CFrame.Angles(math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(-10-7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
  1838. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1839. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4)
  1840. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7)
  1841. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4)
  1842. --rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
  1843. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  1844. --lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.9-0.24*math.cos(sine/4)/2.8, -0.05 + math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)-math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4)
  1845. lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8)
  1846. lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1847. --rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.9+0.24*math.cos(sine/4)/2.8, -0.05 + -math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)+math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4)
  1848. rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8)
  1849. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1850. end
  1851. elseif animpose == "Running" then
  1852. change = 0.4
  1853. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1854. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1855.  
  1856. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.24+.6*math.cos(sine/4)/1.4, 0.54, 0+0.8*math.cos(sine/4)) * CFrame.Angles(math.rad(6-140*math.cos(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.cos(sine/4))), 0.2)
  1857. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
  1858. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.24+.6*math.cos(sine/4)/1.4, 0.54, 0-0.8*math.cos(sine/4))*CFrame.Angles(math.rad(6+140*math.cos(sine/4)/1.2), math.rad(0), math.rad(20+70*math.cos(sine/4))), 0.2)
  1859. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1860. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-8+12*math.cos(sine/2)/1.5), math.rad(0+12*math.cos(sine/4)), math.rad(0)),0.2)
  1861. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.5)
  1862. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.2*math.cos(sine/2)/1.7, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/2)/1.5), math.rad(0-12*math.cos(sine/4))-root.RotVelocity.Y/10, math.rad(0)+root.RotVelocity.Y/20), 0.2)
  1863. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1864. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.8-0.4*math.cos(sine/4)/2, math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + -math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
  1865. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1866. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8+0.4*math.cos(sine/4)/2, -math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
  1867. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1868. elseif animpose == "Jumping" then
  1869.  
  1870. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1871. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1872. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(20)), 0.2)
  1873. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
  1874. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.2)
  1875. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1876. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
  1877. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  1878. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1879. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1880. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1881. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1882. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1883. elseif animpose == "Freefalling" then
  1884.  
  1885. corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
  1886. corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1887. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-40),math.rad(20),math.rad(50)), 0.2)
  1888. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
  1889. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(110),math.rad(-20),math.rad(-30)), 0.2)
  1890. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1891. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2)
  1892. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
  1893. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1894. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, 0.2) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.2)
  1895. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1896. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.6) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), 0.2)
  1897. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1898. end
  1899. end
  1900. if animpose == "Walking" then
  1901. if footsteps == false then
  1902. x:Play()
  1903. footsteps = true
  1904. end
  1905. x.Pitch = 1.1
  1906. elseif animpose == "Idle" then
  1907. x:Stop()
  1908. footsteps = false
  1909. elseif animpose == "Running" then
  1910. x.Pitch = 1.2
  1911. if footsteps == false then
  1912. x:Play()
  1913. footsteps = true
  1914. end
  1915. end
  1916. end)
Advertisement
Add Comment
Please, Sign In to add comment