Advertisement
nicopow

Untitled

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