Advertisement
xx_g

scp

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