Advertisement
Guest User

Untitled

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