Advertisement
Guest User

Untitled

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