Advertisement
DontAskme

The god

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