Advertisement
zombieslayerwtf

SCP unknown [Leaked]

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